1 2014-07-03 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4 AC_EGREP_CPP for kernel header checks, so they only succeed if
5 including <linux/version.h> actually works right.
6 * sysdeps/unix/sysv/linux/configure: Regenerated.
8 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9 value so it's not diagnosed as unused.
11 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12 thing) with "ifeq ($(subdir),rt)".
14 2014-07-03 Richard Henderson <rth@redhat.com>
16 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
18 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
20 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21 (math_force_eval): New.
23 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26 * sysdeps/alpha/fpu/s_round.c: Remove file.
27 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
33 (_dl_start, print_statistics): Likewise.
34 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
35 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42 (HP_SMALL_TIMING_AVAIL): Define.
43 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45 (HP_SMALL_TIMING_AVAIL): Define.
46 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
49 * sysdeps/aarch64/hp-timing.h: New file.
51 * sysdeps/generic/hp-timing.h: Remove dead comment.
52 * sysdeps/generic/hp-timing-common.h: New file.
53 * sysdeps/alpha/hp-timing.h: Include it.
54 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
55 * sysdeps/i386/i686/hp-timing.h: Likewise.
56 * sysdeps/ia64/hp-timing.h: Likewise.
57 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
60 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
62 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
65 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
66 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
67 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
68 * elf/rtld.c (_dl_start_final): Likewise.
69 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
70 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
71 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
72 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
73 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
74 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
75 (HP_TIMING_DIFF_INIT): Remove.
76 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
77 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
78 (HP_TIMING_DIFF_INIT): Remove.
79 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
80 * sysdeps/i386/i686/hp-timing.c: Remove file.
81 * sysdeps/x86_64/hp-timing.c: Remove file.
82 * sysdeps/ia64/hp-timing.c: Remove file.
83 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
84 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
85 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
86 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
88 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
89 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
90 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
91 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
92 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
93 (HP_TIMING_ACCUM): Remove.
94 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
95 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
96 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
98 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
99 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
100 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
101 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
102 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
103 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
104 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
105 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
107 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
109 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
111 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
113 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
115 Sync up with gettext.
116 * intl/loadmsgcat.c: Define O_BINARY if not defined.
117 [_MSC_VER]: Include malloc.h
118 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
119 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
120 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
121 TEMP_FAILURE_RETRY. Cast return of alloca.
122 [!_LIBC] Call gl_rwlock_init.
123 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
125 2014-07-02 Roland McGrath <roland@hack.frob.com>
127 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
128 before checking its value.
130 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
132 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
134 * debug/memcpy_chk.c: Don't include pagecopy.h.
135 * debug/mempcpy_chk.c: Likewise.
136 * string/memcpy.c: Likewise.
137 * string/memmove.c: Likewise.
138 * sysdeps/powerpc/memmove.c: Likewise.
139 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
140 definition of PAGE_COPY_FWD_MAYBE here...
141 * sysdeps/generic/pagecopy.h: ... from here.
142 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
144 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
145 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
147 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
151 (__libc_ifunc_impl_list): Likewise.
152 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
153 multiarch strcat for PPC64.
154 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
155 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
157 2014-07-02 Roland McGrath <roland@hack.frob.com>
159 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
161 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
163 * intl/loadmsgcat.c: Remove declaration of
164 get_sysdep_segment_value.
165 (get_sysdep_segment_value): Use ISO C style.
166 (_nl_load_domain): Use ISO C style. Get rid of redundant
167 semicolon. Fix typo and formatting in comment.
168 (_nl_unload_domain): Use ISO C style.
170 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
172 2014-07-02 Will Newton <will.newton@linaro.org>
174 * malloc/obstack.c: Merge from gnulib master.
175 [HAVE_CONFIG_H]: Remove conditional code.
176 [!_LIBC]: Include config.h.
177 [!ELIDE_CODE]: Don't include inttypes.h, include
178 stdint.h unconditionally.
179 (print_and_abort): Mark as _Noreturn.
180 (_obstack_allocated_p): Mark as __attribute_pure__.
181 (obstack_free): Rename to __obstack_free.
182 [!__attribute__]: Remove conditional code.
183 * malloc/obstack.h: Merge from gnulib master.
184 [__cplusplus]: Move conditional down.
185 [!__attribute_pure__]: Define __attribute_pure__ here
186 if it is not already defined.
187 (_obstack_memory_used): Mark as __attribute_pure__.
188 [!__obstack_free]: Define as obstack_free.
189 [__GNUC__]: Remove check for ancient NeXT gcc.
191 2014-07-02 Will Newton <will.newton@linaro.org>
192 Paul Eggert <eggert@cs.ucla.edu>
194 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
196 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
198 * resolv/gethnamaddr.c: Add comment warning that the file is
201 2014-07-01 Carlos O'Donell <carlos@redhat.com>
203 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
206 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
207 entry for aio_cancel and aio_cancel64.
208 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
209 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
210 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
211 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
212 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
213 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
214 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
215 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
216 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
217 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
218 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
219 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
220 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
222 2014-07-01 Roland McGrath <roland@hack.frob.com>
224 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
225 * nptl/pthread_mutex_lock.c: Likewise.
226 * nptl/pthread_mutex_timedlock.c: Likewise.
227 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
229 2014-07-01 Richard henderson <rth@redhat.com>
231 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
232 (__isnan, __isnanl): Remove.
233 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
235 * sysdeps/alpha/fpu/libm-test-ulps: Update.
237 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
239 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
241 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
243 * resolv/nss_dns/dns-host.c (getanswer_r)
244 [MULTI_PTRS_ARE_ALIASES]: Remove code.
246 2014-07-01 Joseph Myers <joseph@codesourcery.com>
248 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
249 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
251 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
252 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
254 2014-07-01 Roland McGrath <roland@hack.frob.com>
256 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
257 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
259 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
260 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
262 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
263 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
265 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
266 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
268 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
269 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
270 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
271 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
273 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
274 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
275 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
276 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
277 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
279 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
281 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
282 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
283 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
284 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
285 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
286 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
287 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
288 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
289 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
290 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
291 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
292 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
293 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
295 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
297 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
298 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
299 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
300 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
302 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
303 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
304 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
305 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
306 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
307 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
308 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
309 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
311 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
313 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
314 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
315 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
318 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
322 2014-06-30 Joseph Myers <joseph@codesourcery.com>
324 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
325 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
327 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
329 * sysdeps/arm/libm-test-ulps: Regenerated.
331 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
332 Roland McGrath <roland@hack.frob.com>
334 * test-skeleton.c (signal_handler): Kill the whole process group
335 before killing the child individually.
336 (main): Report any failure on `setpgid'.
338 2014-06-30 Roland McGrath <roland@hack.frob.com>
340 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
341 from _TLS_H to _ARM_NPTL_TLS_H.
342 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
343 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
345 2014-06-30 Joseph Myers <joseph@codesourcery.com>
348 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
349 (__expm1l): Return argument unchanged when small but not
352 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
354 (_FP_UNPACK_RAW_1_P): Likewise.
355 (_FP_PACK_RAW_1): Likewise.
356 (_FP_PACK_RAW_1_P): Likewise.
357 (_FP_MUL_MEAT_1_wide): Likewise.
358 (_FP_MUL_MEAT_DW_1_hard): Likewise.
359 (_FP_MUL_MEAT_1_hard): Likewise.
360 (_FP_DIV_MEAT_1_imm): Likewise.
361 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
362 (_FP_DIV_MEAT_1_udiv): Likewise.
363 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
364 (_FP_UNPACK_RAW_2): Likewise.
365 (_FP_UNPACK_RAW_2_P): Likewise.
366 (_FP_PACK_RAW_2): Likewise.
367 (_FP_PACK_RAW_2_P): Likewise.
368 (_FP_MUL_MEAT_DW_2_wide): Likewise.
369 (_FP_MUL_MEAT_2_wide): Likewise.
370 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
371 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
372 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
373 (_FP_MUL_MEAT_2_gmp): Likewise.
374 (_FP_DIV_MEAT_2_udiv): Likewise.
375 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
376 (_FP_FRAC_SRL_4): Likewise.
377 (_FP_FRAC_SRST_4): Likewise.
378 (_FP_FRAC_SRS_4): Likewise.
379 (_FP_UNPACK_RAW_4): Likewise.
380 (_FP_UNPACK_RAW_4_P): Likewise.
381 (_FP_PACK_RAW_4): Likewise.
382 (_FP_PACK_RAW_4_P): Likewise.
383 (_FP_MUL_MEAT_DW_4_wide): Likewise.
384 (_FP_MUL_MEAT_4_wide): Likewise.
385 (_FP_MUL_MEAT_4_gmp): Likewise.
386 (umul_ppppmnnn): Likewise.
387 (_FP_DIV_MEAT_4_udiv): Likewise.
388 (__FP_FRAC_ADD_4): Likewise.
389 (__FP_FRAC_SUB_3): Likewise.
390 (__FP_FRAC_SUB_4): Likewise.
391 (__FP_FRAC_DEC_3): Likewise.
392 (__FP_FRAC_DEC_4): Likewise.
393 (__FP_FRAC_ADDI_4): Likewise.
394 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
395 (_FP_FRAC_SRL_8): Likewise.
396 (_FP_FRAC_SRS_8): Likewise.
398 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
400 (FP_UNPACK_RAW_EP): Likewise.
401 (FP_PACK_RAW_E): Likewise.
402 (FP_PACK_RAW_EP): Likewise.
403 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
404 (_FP_ISSIGNAN): Likewise.
405 (_FP_ADD_INTERNAL): Likewise.
408 (_FP_SQRT): Likewise.
409 (_FP_TO_INT): Likewise.
410 (_FP_FROM_INT): Likewise.
411 (FP_EXTEND): Likewise.
412 (_FP_DIV_MEAT_N_loop): Likewise.
414 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
416 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
419 2014-06-29 Joseph Myers <joseph@codesourcery.com>
422 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
423 result with correct sign in case of exponents that produce
424 overflow except for X very close to 1.
426 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
428 mktime: merge #if/#ifdef usage from glibc
429 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
430 as that works with both Glibc's and Gnulib's style.
431 See thread starting at Siddhesh Poyarekar's bug report at:
432 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
434 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
436 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
437 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
438 * sysdeps/tile/tilegx/memmove.c: Remove file.
440 2014-06-27 Joseph Myers <joseph@codesourcery.com>
442 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
444 * scripts/soversions.awk: Do not handle or generate ABI lines.
445 * shlib-versions: Remove ABI entries.
446 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
447 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
449 2014-06-27 Roland McGrath <roland@hack.frob.com>
451 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
452 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
453 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
454 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
455 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
456 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
459 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
462 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
464 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
466 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
468 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
469 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
470 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
472 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
475 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
479 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
482 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
485 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
487 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
490 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
491 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
492 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
494 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
496 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
497 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
499 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
501 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
502 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
504 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
505 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
507 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
508 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
509 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
510 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
512 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
514 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
515 Identical file removed.
516 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
518 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
519 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
520 Identical file removed.
521 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
522 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
525 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
526 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
527 Identical file removed.
528 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
529 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
530 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
531 Identical file removed.
532 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
533 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
534 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
535 Identical file removed.
536 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
537 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
538 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
539 Identical file removed.
540 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
542 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
543 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
544 Identical file removed.
545 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
547 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
548 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
549 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
550 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
551 Identical file removed.
552 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
554 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
556 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
557 Identical file removed.
558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
560 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
561 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
562 Identical file removed.
563 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
565 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
566 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
567 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
568 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
569 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
570 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
572 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
573 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
574 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
576 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
577 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
578 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
579 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
580 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
582 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
585 * nscd/nscd.c (monitor_child): Return exit status of child
586 instead of return value from wait syscall.
588 2014-06-27 Joseph Myers <joseph@codesourcery.com>
590 * configure.ac (libc_commonpagesize): Remove variable.
591 (libc_relro_required): Likewise.
592 (libc_cv_z_relro): Remove configure test.
593 * configure: Regenerated.
594 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
596 (libc_relro_required): Likewise.
597 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
598 (libc_relro_required): Likewise.
599 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
600 (libc_relro_required): Likewise.
601 * sysdeps/arm/preconfigure: Regenerated.
602 * sysdeps/ia64/preconfigure: Remove file.
603 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
605 (libc_relro_required): Likewise.
609 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
610 (__ieee754_yn): Set FE_TONEAREST mode internally and then
611 recompute overflowing results in original rounding mode.
612 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
613 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
614 recompute overflowing results in original rounding mode.
615 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
616 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
617 recompute overflowing results in original rounding mode.
618 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
619 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
620 recompute overflowing results in original rounding mode.
621 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
622 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
623 recompute overflowing results in original rounding mode.
624 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
625 (libc_feholdsetround_ctx): New macro.
626 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
627 * sysdeps/i386/fpu/libm-test-ulps: Update.
628 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
630 2014-06-26 Joseph Myers <joseph@codesourcery.com>
632 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
633 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
634 corresponding .cpsetup call.
636 2014-06-26 Roland McGrath <roland@hack.frob.com>
638 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
639 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
640 * sysdeps/arm/Makefile [$(subdir) = csu]
641 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
642 (static-only-routines): Add aeabi_read_tp here.
643 (shared-only-routines): Add libc-aeabi_read_tp here.
644 (CFLAGS-libc-start.c): Add -fexceptions here.
645 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
646 (sysdep_routines, static-only-routines, shared-only-routines):
647 Don't add to these here.
648 (CFLAGS-libc-start.c): Likewise.
650 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
651 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
652 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
653 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
654 * sysdeps/arm/Makefile [$(subdir) = rt]
655 (librt-sysdep_routines, librt-shared-only-routines):
656 Append rt-aeabi_unwind_cpp_pr1 here.
657 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
658 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
659 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
660 (libpthread-sysdep_routines, libpthread-shared-only-routines):
661 Append nptl-aeabi_unwind_cpp_pr1 here.
662 (tests): Filter out tst-cleanupx4 here.
663 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
664 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
667 2014-06-26 Joseph Myers <joseph@codesourcery.com>
669 * scripts/list-sources.sh: Do not handle ports specially.
671 2014-06-26 Roland McGrath <roland@hack.frob.com>
673 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
674 * sysdeps/arm/feupdateenv.c: Likewise.
676 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
678 2014-06-26 Joseph Myers <joseph@codesourcery.com>
680 * manual/texinfo.tex: Update to version 2014-05-05.10 with
681 trailing whitespace removed.
682 * scripts/config.guess: Update to version 2014-03-23.
683 * scripts/config.sub: Update to version 2014-05-01
684 * scripts/install-sh: Update to version 2013-12-25.23.
685 * scripts/move-if-change: Update from gnulib.
687 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
689 * debug/memmove_chk.c: Remove pagecopy.h include.
691 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
693 * time/mktime.c (leapyear): Remove inline keyword. The code is now
694 identical to gnulib mktime.
696 2014-06-26 Joseph Myers <joseph@codesourcery.com>
698 * configure.ac: Do not test for machine being rs6000. Do not test
700 * configure: Regenerated.
702 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
704 * configure: Regenerated.
705 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
706 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
707 Remove configure test.
708 * sysdeps/arm/configure: Regenerated.
709 * sysdeps/nptl/configure.ac: Do not check
710 libc_cv_asm_cfi_directives.
711 * sysdeps/nptl/configure: Regenerated.
712 * sysdeps/x86_64/nptl/configure.ac: Remove file.
713 * sysdeps/x86_64/nptl/configure: Remove generated file.
714 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
716 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
718 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
720 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
721 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
722 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
725 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
726 instead of whether it is defined.
727 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
728 * sysdeps/hppa/dl-machine.h: Likewise.
729 * sysdeps/ia64/dl-machine.h: Likewise.
730 * sysdeps/m68k/dl-machine.h: Likewise.
731 * sysdeps/microblaze/dl-machine.h: Likewise.
732 * sysdeps/mips/dl-machine.: Likewise.
733 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
734 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
735 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
736 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
737 * sysdeps/sh/dl-machine.h: Likewise.
738 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
739 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
740 * sysdeps/tile/dl-machine.h: Likewise.
741 * sysdeps/x86_64/dl-machine.h: Likewise.
743 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
745 (verify_persistent_db): Likewise.
747 2014-06-26 Roland McGrath <roland@hack.frob.com>
749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
750 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
752 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
755 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
758 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
760 Identical file removed.
761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
762 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
764 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
766 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
768 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
770 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
773 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
775 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
777 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
780 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
782 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
784 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
786 Identical file removed.
787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
788 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
790 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
793 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
796 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
798 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
800 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
802 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
804 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
807 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
810 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
812 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
815 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
817 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
819 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
821 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
822 * sysdeps/unix/sysv/linux/s390/Versions
823 (libpthread: GLIBC_2.19): New version set.
824 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
825 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
826 (librt: GLIBC_2.3.3): New version set.
827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
828 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
829 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
830 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
831 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
832 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
833 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
834 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
835 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
836 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
837 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
838 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
839 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
840 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
841 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
842 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
843 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
844 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
845 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
846 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
847 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
848 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
849 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
850 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
851 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
852 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
853 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
854 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
855 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
856 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
857 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
858 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
859 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
860 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
863 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
865 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
867 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
869 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
870 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
871 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
873 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
874 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
875 (__libc_vfork): Define the function under this name.
876 [!NOT_IN_libc] (__vfork): Make this an alias.
877 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
878 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
879 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
880 (__libc_vfork): Define the function under this name.
881 [!NOT_IN_libc] (__vfork): Make this an alias.
882 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
883 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
884 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
886 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
887 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
889 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
890 code that was previously under [RESET_PID].
891 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
892 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
895 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
896 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
897 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
898 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
899 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
900 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
901 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
902 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
903 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
904 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
905 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
907 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
908 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
909 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
910 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
911 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
912 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
913 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
914 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
915 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
916 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
917 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
918 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
919 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
920 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
921 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
922 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
923 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
924 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
925 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
926 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
927 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
928 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
929 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
930 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
931 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
932 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
933 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
934 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
935 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
937 2014-06-25 Roland McGrath <roland@hack.frob.com>
939 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
940 that was previously under [RESET_PID].
941 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
943 2014-06-25 Joseph Myers <joseph@codesourcery.com>
945 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
946 not undefine and redefine.
947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
948 [O_CLOEXEC]: Make code unconditional.
949 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
950 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
952 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
953 conditional variable definition.
954 (shm_open) [O_CLOEXEC]: Make code unconditional.
955 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
958 * configure.ac (USE_REGPARMS): Don't define here.
959 * configure: Regenerated.
960 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
961 * sysdeps/i386/configure: Regenerated.
963 * nptl/createthread.c: Don't include kernel-features.h.
964 * nptl/pthread_cancel.c: Likewise.
965 * nptl/pthread_condattr_setclock.c: Likewise.
966 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
967 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
968 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
969 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
970 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
971 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
972 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
973 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
974 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
975 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
976 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
977 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
978 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
979 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
980 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
981 * nscd/gai.c: Likewise.
982 * nss/nss_db/db-open.c: Likewise.
983 * sysdeps/generic/ldsodefs.h: Likewise.
984 * sysdeps/sh/nptl/tls.h: Likewise.
985 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
986 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
987 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
988 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
989 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
990 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
991 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
992 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
993 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
994 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
995 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
996 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
997 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
998 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
999 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1000 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1001 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1002 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1003 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1004 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1005 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1006 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1007 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1008 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1009 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1010 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1011 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1012 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1013 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1014 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1015 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1016 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1017 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1018 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1019 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1020 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1021 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1022 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1023 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1024 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1025 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1026 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1027 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1028 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1029 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1030 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1031 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1032 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1033 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1034 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1035 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1036 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1037 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1038 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1039 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1040 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1041 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1042 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1065 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1066 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1067 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1068 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1069 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1070 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1071 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1072 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1073 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1074 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1075 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1076 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1077 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1078 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1079 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1080 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1081 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1082 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1083 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1084 * sysdeps/unix/sysv/linux/system.c: Likewise.
1085 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1086 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1087 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1088 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1089 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1090 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1091 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1093 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1094 * configure: Regenerated.
1095 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1097 * configure.ac (base_machine): Do not set specially for particular
1099 * configure: Regenerated.
1100 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1101 settings from configure.ac.
1102 * sysdeps/i386/preconfigure: New file.
1103 * sysdeps/s390/preconfigure: Likewise.
1104 * sysdeps/sh/preconfigure: Likewise.
1105 * sysdeps/sparc/preconfigure: Likewise.
1107 2014-06-25 Roland McGrath <roland@hack.frob.com>
1109 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1110 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1111 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1112 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1113 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1114 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1115 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1116 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1117 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1118 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1119 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1120 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1121 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1122 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1123 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1124 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1125 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1126 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1127 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1129 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1130 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1131 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1132 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1133 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1134 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1135 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1136 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1137 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1138 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1139 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1140 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1141 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1142 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1143 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1144 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1145 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1146 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1147 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1148 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1149 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1150 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1152 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1153 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1154 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1155 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1156 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1157 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1158 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1159 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1160 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1161 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1162 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1164 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1165 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1166 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1169 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1174 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1182 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1184 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1186 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1191 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1194 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1196 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1199 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1201 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1203 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1205 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1207 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1210 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1213 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1215 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1218 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1220 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1222 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1224 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1227 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1230 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1232 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1235 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1237 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1239 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1241 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1243 * timezone/checktab.awk: Update from tzcode 2014e.
1244 * timezone/private.h: Likewise.
1245 * timezone/tzfile.h: Likewise.
1246 * timezone/zdump.c: Likewise.
1247 * timezone/zic.c: Likewise.
1249 * sysdeps/unix/sysv/linux/kernel-features.h
1250 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1251 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1252 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1253 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1254 Remove conditional code.
1256 2014-06-25 Will Newton <will.newton@linaro.org>
1258 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1259 (_dl_arm_cap_flags): Add HWCAP2 values.
1260 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1261 (_DL_HWCAP_COUNT): Increase to 37.
1262 (_DL_HWCAP_LAST): New define.
1263 (_DL_HWCAP2_LAST): New define.
1264 (_dl_procinfo): Add support for printing
1266 (_dl_string_hwcap): Use _dl_hwcap_string.
1268 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1272 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1274 * README: Do not mention ports directory.
1276 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1278 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1279 <kernel-features.h>.
1280 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1281 conditional variable definition.
1282 (__futimes): Update comment.
1283 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1284 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1287 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1288 arguments close to 0.
1289 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1291 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1293 * math/auto-libm-test-in: Add more tests of exp10.
1294 * math/auto-libm-test-out: Regenerated.
1295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1297 * sysdeps/unix/sysv/linux/kernel-features.h
1298 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1299 * sysdeps/unix/sysv/linux/readv.c: Do not include
1300 <kernel-features.h>.
1301 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1302 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1303 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1305 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1307 * sysdeps/unix/sysv/linux/writev.c: Do not include
1308 <kernel-features.h>.
1309 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1310 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1311 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1313 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1316 2014-06-25 Will Newton <will.newton@linaro.org>
1318 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1319 comment changes throughout the file. Remove checks
1320 for HAVE_*_H definitions that are not required.
1321 (__gen_tempname): Call abort if an unknown kind value is
1324 2014-06-25 Andreas Schwab <schwab@suse.de>
1327 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1328 scalbln, scalblnf, scalblnl in libc.
1330 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1333 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1334 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1335 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1337 2014-06-24 Roland McGrath <roland@hack.frob.com>
1339 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1340 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1341 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1342 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1344 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1345 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1347 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1348 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1349 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1350 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1351 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1352 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1353 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1354 * sysdeps/x86/bits/semaphore.h: ... here.
1355 * sysdeps/x86/nptl/elide.h: Moved ...
1356 * sysdeps/x86/elide.h: ... here.
1357 * sysdeps/x86_64/nptl/Implies: File removed.
1358 * sysdeps/i386/nptl/Implies: File removed.
1360 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1363 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1364 return the argument for normal arguments with exponent below -64.
1365 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1367 * math/auto-libm-test-in: Add another test of expm1.
1368 * math/auto-libm-test-out: Regenerated.
1371 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1372 calling __erfcl for arguments at least 16.
1373 * math/auto-libm-test-in: Add more tests of erf.
1374 * math/auto-libm-test-out: Regenerated.
1376 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1377 individual architectures.
1378 * sysdeps/unix/sysv/linux/configure: Regenerated.
1379 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1380 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1381 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1382 (ldd_rewrite_script): Define variable.
1383 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1388 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1389 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1390 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1391 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1392 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1393 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1394 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1395 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1397 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1400 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1401 Rename member __data.d to __data.__elision_data.
1403 2014-06-24 Wilco <wdijkstr@arm.com>
1405 * NEWS: Add 16918 to fixed bug list.
1407 2014-06-24 Wilco <wdijkstr@arm.com>
1409 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1411 2014-06-24 Wilco <wdijkstr@arm.com>
1413 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1414 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1415 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1416 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1417 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1418 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1419 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1422 2014-06-24 Wilco <wdijkstr@arm.com>
1424 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1426 2014-06-24 Wilco <wdijkstr@arm.com>
1428 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1429 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1430 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1431 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1433 2014-06-24 Wilco <wdijkstr@arm.com>
1436 * sysdeps/arm/feupdateenv.c (feupdateenv):
1437 Rewrite to reduce FPSCR accesses and fix return value.
1439 2014-06-24 Wilco <wdijkstr@arm.com>
1441 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1442 Optimize to avoid unnecessary FPSCR writes.
1443 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1444 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1445 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1446 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1448 2014-06-24 Wilco <wdijkstr@arm.com>
1450 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1451 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1452 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1453 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1454 Call libc_fetestexcept_vfp.
1455 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1456 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1457 __SOFTFP__ ifdef so that they can be built for softfp.
1459 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1461 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1462 argument type signed char.
1464 * Makerules (check-abi): Dump diff of symlist if the test
1467 2014-06-23 Roland McGrath <roland@hack.frob.com>
1469 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1472 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1473 Remove unused variable ST.
1475 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1479 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1480 small arguments before calling __expm1.
1481 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1482 small arguments before calling __expm1f.
1483 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1484 small arguments before calling __expm1l.
1485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1487 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1488 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1489 spurious underflow for some cosh tests.
1490 * math/auto-libm-test-out: Regenerated.
1491 * sysdeps/i386/fpu/libm-test-ulps: Update.
1494 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1495 (__ieee754_y1): Set errno if return value overflows.
1496 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1497 (__ieee754_y1f): Set errno if return value overflows.
1498 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1499 (__ieee754_y1l): Set errno if return value overflows.
1500 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1501 (__ieee754_y1l): Set errno if return value overflows.
1502 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1503 * math/auto-libm-test-out: Regenerated.
1505 * math/gen-auto-libm-tests.c: Document use of
1506 ignore-zero-inf-sign.
1507 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1508 (input_flags): Add ignore-zero-inf-sign.
1509 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1510 * math/gen-libm-test.pl (generate_testfile): Handle
1511 ignore-zero-inf-sign.
1512 * math/auto-libm-test-in: Mark some cpow tests with
1513 ignore-zero-inf-sign and some with xfail-rounding.
1514 * math/auto-libm-test-out: Regenerated.
1515 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1516 * sysdeps/i386/fpu/libm-test-ulps: Update.
1517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1520 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1521 overflowing or underflowing operations take place with sign of
1523 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1524 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1525 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1526 (__ieee754_pow): Recompute overflowing and underflowing results in
1527 original rounding mode.
1528 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1529 (__powl_helper): Allow negative argument X and scale negated value
1530 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1531 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1532 overflowing or underflowing operations take place with sign of
1534 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1536 * math/auto-libm-test-in: Add more tests of pow.
1537 * math/auto-libm-test-out: Regenerated.
1538 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1539 (pow_tonearest_test_data): Remove.
1540 (pow_test_tonearest): Likewise.
1541 (pow_towardzero_test_data): Likewise.
1542 (pow_test_towardzero): Likewise.
1543 (pow_downward_test_data): Likewise.
1544 (pow_test_downward): Likewise.
1545 (pow_upward_test_data): Likewise.
1546 (pow_test_upward): Likewise.
1547 (main): Don't call removed functions.
1548 * sysdeps/i386/fpu/libm-test-ulps: Update.
1549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1551 2014-06-23 Roland McGrath <roland@hack.frob.com>
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1727 2014-06-23 Will Newton <will.newton@linaro.org>
1728 Wilco <wdijkstr@arm.com>
1730 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1731 implementation. Include get-rounding-mode.h.
1732 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1733 [!libc_feholdsetround_noex_ctx]: Define
1734 libc_feholdsetround_noex_ctx.
1735 [!libc_feholdsetround_noexf_ctx]: Define
1736 libc_feholdsetround_noexf_ctx.
1737 [!libc_feholdsetround_noexl_ctx]: Define
1738 libc_feholdsetround_noexl_ctx.
1739 (libc_feholdsetround_ctx): New function.
1740 (libc_feresetround_ctx): New function.
1741 (libc_feholdsetround_noex_ctx): New function.
1742 (libc_feresetround_noex_ctx): New function.
1744 2014-06-23 Roland McGrath <roland@hack.frob.com>
1746 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1747 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1748 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1749 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1750 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1751 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1753 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1754 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1755 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1756 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1757 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1758 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1759 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1760 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1762 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1765 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1767 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1768 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1773 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1774 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1775 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1777 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1779 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1782 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1783 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1785 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1787 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1790 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1792 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1794 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1795 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1796 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1797 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1798 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1799 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1801 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1803 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1804 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1806 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1808 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1810 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1812 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1814 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1815 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1817 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1818 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1819 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1821 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1824 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1825 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1826 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1827 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1828 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1830 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1831 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1832 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1833 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1834 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1835 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1836 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1837 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1839 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1840 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1841 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1842 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1843 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1844 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1845 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1846 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1847 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1848 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1849 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1850 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1851 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1852 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1853 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1855 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1856 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1857 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1859 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1861 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1862 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1863 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1864 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1865 (IPV6_PMTUDISC_INTERFACE): Likewise.
1866 (IPV6_PMTUDISC_OMIT): Likewise.
1868 2014-06-23 Andreas Schwab <schwab@suse.de>
1870 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1871 Remove unused errout label.
1873 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1875 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1876 macro: hardware supports Vector Crypto instructions.
1878 2014-06-23 Will Newton <will.newton@linaro.org>
1880 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1881 rather than __builtin_expect.
1883 * elf/dl-lookup.c (undefined_msg): Remove variable.
1884 (_dl_lookup_symbol_x): Replace undefined_msg with string
1887 * elf/dl-lookup.c (do_lookup_unique): New function.
1888 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1889 to a separate function.
1891 2014-06-23 Andreas Schwab <schwab@suse.de>
1894 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1895 before reading the next line.
1897 2014-06-23 Will Newton <will.newton@linaro.org>
1899 * test-skeleton.c (signal_handler): Use printf and %m
1900 rather than perror. Use printf rather than fprintf to
1901 stderr. Use puts rather than fputs to stderr.
1904 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1906 * nscd/nscd.c (thread_info_t): Remove typedef.
1907 (thread_info): Remove variable.
1909 2014-06-21 Allan McRae <allan@archlinux.org>
1911 * NEWS: Mention CVE-2014-4043.
1913 2014-06-20 Roland McGrath <roland@hack.frob.com>
1915 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1916 * nptl/smp.h: ... here.
1918 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1920 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1921 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1922 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1923 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1925 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1926 * nptl/stack-aliasing.h: New file.
1927 * sysdeps/i386/i686/stack-aliasing.h: New file.
1928 * sysdeps/i386/i686/nptl/Makefile: File removed.
1929 * sysdeps/x86_64/stack-aliasing.h: New file.
1930 * sysdeps/x86_64/nptl/Makefile
1931 (CFLAGS-pthread_create.c): Variable removed.
1933 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1934 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1936 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1937 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1940 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1942 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1943 (__ASSUME_SIGFRAME_V2): Remove macro.
1944 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1945 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1946 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1947 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1948 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1949 Declare as function. Remove conditional macro definitions.
1950 (__default_rt_sa_restorer): Likewise.
1951 (__default_sa_restorer_v1): Remove declaration.
1952 (__default_sa_restorer_v2): Likewise.
1953 (__default_rt_sa_restorer_v1): Likewise.
1954 (__default_rt_sa_restorer_v2): Likewise.
1955 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1956 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1957 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1959 2014-06-20 Roland McGrath <roland@hack.frob.com>
1961 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1962 (libpthread-routines): Add sysdep.
1963 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1964 * sysdeps/unix/sysv/linux/sparc/Versions
1965 (libpthread: GLIBC_2.3.3): New version set.
1966 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1967 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1968 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1969 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1970 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1971 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1973 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1974 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1975 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1977 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1978 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1979 * sysdeps/sparc/nptl/sem_init.c: ... here.
1980 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1981 * sysdeps/sparc/nptl/sem_post.c: ... here.
1982 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1983 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1984 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1985 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1986 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1987 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1988 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1989 (libpthread-routines): Add cpu_relax.
1990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1992 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1993 (librt: GLIBC_2.3.3): New version set.
1994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1995 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1996 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1997 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2000 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2003 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2005 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2007 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2009 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2011 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2014 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2018 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2022 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2026 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2030 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2034 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2037 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2039 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2041 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2043 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2045 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2048 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2050 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2052 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2054 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2056 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2057 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2058 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2059 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2060 * nscd/nscd.c: Likewise.
2061 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2062 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2063 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2064 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2066 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2067 <kernel-features.h>.
2068 (init_mq_netlink): Remove conditional have_sock_cloexec
2069 definitions. Remove code conditional on have_sock_cloexec < 0.
2070 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2071 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2072 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2073 <kernel-features.h>.
2074 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2075 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2077 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2079 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2080 Add tests for memset_chk and memset.
2082 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2085 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2088 * elf/tst-dl-iter-static.c: New file.
2089 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2091 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2094 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2096 * sysdeps/unix/sysv/linux/kernel-features.h
2097 (__ASSUME_F_GETOWN_EX): Remove macro.
2098 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2099 <kernel-features.h>.
2100 (miss_F_GETOWN_EX): Remove variable or macro.
2101 (do_fcntl): Do not check miss_F_GETOWN_EX.
2102 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2104 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2107 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2108 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2110 * sysdeps/unix/sysv/linux/kernel-features.h
2111 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2112 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2113 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2114 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2116 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2119 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2120 Fix calculation of the symbol's value.
2121 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2122 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2123 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2124 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2125 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2126 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2127 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2128 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2129 (modules-names): Add `tst-armtlsdescmod',
2130 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2131 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2132 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2133 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2134 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2135 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2136 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2137 ($(objpfx)tst-armtlsdescloc): New dependency.
2138 ($(objpfx)tst-armtlsdescextnow): Likewise.
2139 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2140 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2142 * sysdeps/arm/configure: Regenerate.
2144 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2146 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2147 (__atfct_seterrno_2): Likewise.
2148 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2149 <kernel-features.h>.
2150 (__ASSUME_ATFCTS): Do not undefine and redefine.
2151 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2152 (__have_atfcts): Remove conditional definition.
2153 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2154 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2155 unreachable if [__ASSUME_ATFCTS].
2156 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2157 not undefine and redefine.
2158 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2159 <kernel-features.h>.
2160 (faccessat) [__NR_faccessat]: Make code unconditional.
2161 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2162 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2163 <kernel-features.h>.
2164 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2165 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2166 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2167 <kernel-features.h>.
2168 (fchownat) [__NR_fchownat]: Make code unconditional.
2169 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2170 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2171 <kernel-features.h>.
2172 (futimesat) [__NR_futimesat]: Make code unconditional.
2173 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2174 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2175 <kernel-features.h>.
2176 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2177 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2178 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2179 <kernel-features.h>.
2180 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2181 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2182 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2183 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2184 <kernel-features.h>.
2185 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2186 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2187 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2188 <kernel-features.h>.
2189 (linkat) [__NR_linkat]: Make code unconditional.
2190 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2191 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2192 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2193 <kernel-features.h>.
2194 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2195 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2196 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2197 <kernel-features.h>.
2198 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2199 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2200 * sysdeps/unix/sysv/linux/openat.c: Do not include
2201 <kernel-features.h>.
2202 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2203 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2204 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2205 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2206 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2207 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2208 <kernel-features.h>.
2209 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2210 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2211 result of INLINE_SYSCALL directly, not via int variable.
2212 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2213 <kernel-features.h>.
2214 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2215 (renameat) [__NR_renameat]: Make code unconditional.
2216 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2217 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2218 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2219 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2220 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2221 (__ASSUME_ATFCTS): Do not undefine and redefine.
2222 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2223 <kernel-features.h>.
2224 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2225 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2226 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2227 <kernel-features.h>.
2228 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2229 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2230 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2231 (__ASSUME_ATFCTS): Do not undefine and redefine.
2232 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2233 <kernel-features.h>.
2234 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2235 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2236 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2237 <kernel-features.h>.
2238 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2239 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2241 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2243 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2245 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2248 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2249 constructed tree before returning error.
2250 * posix/bug-regexp36.c: Expand test case.
2252 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2255 * math/libm-test.inc (scalbln_test_date):
2256 Add errno expectations.
2257 * math/w_scalblnf.c: New File.
2258 Add wrapper which checks for setting errno to ERANGE.
2259 Add weak_alias for corresponding scalbln function.
2260 * math/w_scalbln.c: Likewise.
2261 * math/w_scalblnl.c: Likewise.
2262 * math/Makefile (libm-calls): Add w_scalbln.
2263 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2264 Remove weak_alias for corresponding scalbln function.
2265 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2266 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2267 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2269 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2270 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2271 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2272 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2273 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2274 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2275 Remove long_double_symbol for scalblnl function in libm, libc.
2276 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2277 Add wrapper which checks for setting errno to ERANGE.
2278 Add long_double_symbol for scalblnl function in libm, libc.
2279 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2280 Remove long_double_symbol for scalblnl in libm.
2281 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2282 Add wrapper which checks for setting errno to ERANGE.
2283 Add long_double_symbol for scalblnl function in libm.
2284 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2285 Do not use wrapper because of own implementation.
2287 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2289 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2290 3 bytes for __pad1 for x32.
2291 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2293 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2294 H.J. Lu <hongjiu.lu@intel.com>
2296 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2297 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2298 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2299 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2300 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2302 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2305 * posix/regcomp.c (parse_expression): Deallocate partially
2306 constructed tree before returning error.
2307 * posix/Makefile.c (tests): Add bug-regex36.
2308 (generated): Add bug-regex36.mtrace.
2309 (tests-special): Add $(objpfx)bug-regex36-mem.out
2310 (bug-regex36-ENV): New variable.
2311 ($(objpfx)bug-regex36-mem.out): New rule.
2312 * posix/bug-regex36.c: New file.
2314 2014-06-19 Will Newton <will.newton@linaro.org>
2316 * malloc/malloc.c (systrim): If extra is zero then return
2319 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2321 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2323 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2325 * sysdeps/aarch64/strchr.S: New file.
2327 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2330 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2331 from arguments -2 or below.
2332 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2333 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2335 2014-06-18 Andreas Schwab <schwab@suse.de>
2338 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2339 of a bracket expr not to run off the end of the string.
2340 * posix/Makefile (tests): Add tst-fnmatch3.
2341 * posix/tst-fnmatch3.c: New file.
2343 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2345 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2346 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2347 [$(cross-compiling) = no]: Likewise.
2348 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2349 [$(cross-compiling) = no]: Likewise.
2351 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2354 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2355 double, adjusted for any remainder from the high double.
2356 * math/libm-test.inc (nearbyint): Add tests.
2359 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2361 * nptl/sysdeps/powerpc/Makefile: Moved ...
2362 * sysdeps/powerpc/nptl/Makefile: ... here.
2363 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2364 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2365 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2366 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2367 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2368 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2369 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2370 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2371 * nptl/sysdeps/powerpc/tls.h: Moved ...
2372 * sysdeps/powerpc/nptl/tls.h: ... here.
2374 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2377 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2378 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2379 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2380 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2381 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2382 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2383 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2384 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2385 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2387 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2389 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2391 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2393 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2396 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2399 2014-06-16 Florian Weimer <fweimer@redhat.com>
2402 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2403 non-executed part of the test.
2405 2014-06-16 Andreas Schwab <schwab@suse.de>
2407 * string/bits/string2.h (strdup, strndup): Update feature guard.
2409 2014-06-14 David S. Miller <davem@davemloft.net>
2411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2413 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2415 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2416 that was previously under [RESET_PID].
2417 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2419 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2420 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2421 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2422 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2423 (__libc_vfork): New strong alias.
2424 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2426 2014-06-14 Andi Kleen <ak@linux.intel.com>
2428 * sysdeps/generic/elide.h: New file.
2430 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2432 * Makefile (installed-headers): Adjust path of pthread.h header.
2434 2014-06-13 Roland McGrath <roland@hack.frob.com>
2436 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2437 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2439 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2441 * nptl/sysdeps/s390/Makefile: Moved ...
2442 * sysdeps/s390/nptl/Makefile: ... here.
2443 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2444 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2445 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2446 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2447 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2448 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2449 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2450 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2451 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2452 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2453 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2454 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2455 * nptl/sysdeps/s390/tls.h: Moved ...
2456 * sysdeps/s390/nptl/tls.h: ... here.
2458 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2459 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2461 2014-06-13 David S. Miller <davem@davemloft.net>
2463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2466 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2470 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2471 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2472 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2473 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2474 Remove RESET_PID cpp guards.
2475 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2476 Remove RESET_PID cpp guards.
2477 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2479 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2481 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2484 2014-06-13 Andi Kleen <ak@linux.intel.com>
2486 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2487 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2488 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2489 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2490 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2491 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2492 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2495 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2496 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2497 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2498 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2499 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2501 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2502 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2503 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2505 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2507 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2508 (pthread_rwlock_rdlock): Add elision.
2509 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2510 (pthread_rwlock_wrlock): Add elision.
2511 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2512 (pthread_rwlock_trywrlock): Add elision.
2513 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2514 (pthread_rwlock_tryrdlock): Add elision.
2515 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2516 (pthread_rwlock_tryrdlock): Add elision unlock.
2517 * nptl/sysdeps/pthread/pthread.h:
2518 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2519 (PTHREAD_RWLOCK_INITIALIZER,
2520 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2521 Handle new elision field.
2522 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2523 * sysdeps/arm/nptl/bits/pthreadtypes.h
2524 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2525 * sysdeps/sh/nptl/bits/pthreadtypes.h
2526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2527 * sysdeps/tile/nptl/bits/pthreadtypes.h
2528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2529 * sysdeps/a/nptl/bits/pthreadtypes.h
2530 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2531 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2533 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2535 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2537 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2539 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2541 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2543 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2545 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2547 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2548 (elision_init): Set try_xbegin to zero when no RTM.
2549 * sysdeps/x86/nptl/bits/pthreadtypes.h
2550 (pthread_rwlock_t): Change __pad1 to __rwelision.
2551 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2553 2014-06-13 Andi Kleen <ak@linux.intel.com>
2555 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2556 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2557 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2558 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2560 2014-06-13 Meador Inge <meadori@codesourcery.com>
2563 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2564 that the cached result has been set before returning it.
2566 2014-06-12 Roland McGrath <roland@hack.frob.com>
2568 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2569 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2570 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2571 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2572 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2573 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2575 * nptl/sysdeps/sparc/Makefile: Moved ...
2576 * sysdeps/sparc/nptl/Makefile: ... here.
2577 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2578 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2579 * nptl/sysdeps/sparc/tls.h: Moved ...
2580 * sysdeps/sparc/nptl/tls.h: ... here.
2581 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2582 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2583 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2584 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2585 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2586 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2587 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2588 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2589 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2590 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2591 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2592 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2593 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2594 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2595 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2596 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2597 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2598 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2600 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2601 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2603 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2604 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2606 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2607 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2610 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2612 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2613 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2615 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2616 (struct list_links): Type removed.
2617 (struct thread_node, struct timer_node): Replace struct list_links
2618 with struct list_head.
2619 (list_unlink_ip): Likewise.
2620 * sysdeps/pthread/timer_routines.c
2621 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2622 (list_append, list_insbefore): Likewise.
2623 (list_init): Function removed.
2624 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2625 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2626 * sysdeps/pthread/Makefile: ... here, new file.
2628 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2629 * sysdeps/nptl/Implies: ... here.
2630 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2631 * nptl/sysdeps/pthread/list.h: Moved ...
2632 * include/list.h: ... here.
2633 * nptl/sysdeps/pthread/createthread.c: Moved ...
2634 * nptl/createthread.c: ... here.
2635 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2636 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2637 * nptl/pt-longjmp.c: ... here.
2638 * nptl/sysdeps/pthread/Makefile: Moved ...
2639 * sysdeps/nptl/Makefile: ... here.
2640 * nptl/sysdeps/pthread/Subdirs: Moved ...
2641 * sysdeps/nptl/Subdirs: ... here.
2642 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2643 * sysdeps/nptl/aio_misc.h: ... here.
2644 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2645 * sysdeps/nptl/bits/libc-lock.h: ... here.
2646 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2647 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2648 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2649 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2650 * nptl/sysdeps/pthread/configure: Moved ...
2651 * sysdeps/nptl/configure: ... here.
2652 * nptl/sysdeps/pthread/configure.ac: Moved ...
2653 * sysdeps/nptl/configure.ac: ... here.
2654 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2655 * sysdeps/nptl/gai_misc.h: ... here.
2656 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2657 * sysdeps/nptl/librt-cancellation.c: ... here.
2658 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2659 * sysdeps/nptl/malloc-machine.h: ... here.
2660 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2661 * sysdeps/nptl/pthread-functions.h: ... here.
2662 * nptl/sysdeps/pthread/pthread.h: Moved ...
2663 * sysdeps/nptl/pthread.h: ... here.
2664 * nptl/sysdeps/pthread/setxid.h: Moved ...
2665 * sysdeps/nptl/setxid.h: ... here.
2666 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2667 * sysdeps/nptl/sigfillset.c: ... here.
2668 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2669 * sysdeps/nptl/tcb-offsets.h: ... here.
2670 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2671 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2672 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2673 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2674 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2675 * sysdeps/pthread/allocalim.h: ... here.
2676 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2677 * sysdeps/pthread/bits/sigthread.h: ... here.
2678 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2679 * sysdeps/pthread/flockfile.c: ... here.
2680 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2681 * sysdeps/pthread/ftrylockfile.c: ... here.
2682 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2683 * sysdeps/pthread/funlockfile.c: ... here.
2684 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2685 * sysdeps/pthread/posix-timer.h: ... here.
2686 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2687 * sysdeps/pthread/timer_create.c: ... here.
2688 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2689 * sysdeps/pthread/timer_delete.c: ... here.
2690 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2691 * sysdeps/pthread/timer_getoverr.c: ... here.
2692 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2693 * sysdeps/pthread/timer_gettime.c: ... here.
2694 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2695 * sysdeps/pthread/timer_routines.c: ... here.
2696 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2697 * sysdeps/pthread/timer_settime.c: ... here.
2698 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2699 * sysdeps/pthread/tst-timer.c: ... here.
2700 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2701 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2703 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2704 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2706 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2707 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2708 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2709 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2710 Update #include target.
2711 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2712 * sysdeps/i386/i686/nptl/Makefile: ... here.
2713 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2714 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2715 Update #include target.
2716 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2717 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2718 * nptl/sysdeps/i386/Makefile: Moved ...
2719 * sysdeps/i386/nptl/Makefile: ... here.
2720 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2721 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2722 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2723 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2724 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2725 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2726 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2727 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2728 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2729 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2730 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2731 * nptl/sysdeps/i386/tls.h: Moved ...
2732 * sysdeps/i386/nptl/tls.h: ... here.
2734 * sysdeps/sh/Makefile [$(subdir) = csu]
2735 (gen-as-const-headers): Add tcb-offsets.sym.
2736 * nptl/sysdeps/sh/Makefile: File removed.
2737 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2738 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2739 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2740 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2741 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2742 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2743 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2744 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2745 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2746 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2747 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2748 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2749 * nptl/sysdeps/sh/tls.h: Moved ...
2750 * sysdeps/sh/nptl/tls.h: ... here.
2751 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2752 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2753 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2754 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2755 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2756 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2757 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2758 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2759 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2760 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2762 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2764 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2766 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2768 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2769 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2770 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2771 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2772 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2774 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2777 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2778 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2780 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2781 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2782 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2784 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2785 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2786 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2787 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2788 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2789 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2790 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2791 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2792 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2793 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2794 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2795 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2796 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2797 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2798 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2800 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2802 * posix/spawn_faction_addopen.c: Include string.h.
2804 2014-06-11 Roland McGrath <roland@hack.frob.com>
2806 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2807 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2808 * nptl/sysdeps/x86_64/Makefile: Moved ...
2809 * sysdeps/x86_64/nptl/Makefile: ... here.
2810 * nptl/sysdeps/x86_64/configure: Moved ...
2811 * sysdeps/x86_64/nptl/configure: ... here.
2812 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2813 * sysdeps/x86_64/nptl/configure.ac: ... here.
2814 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2815 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2816 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2817 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2818 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2819 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2820 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2821 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2822 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2823 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2824 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2825 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2826 * nptl/sysdeps/x86_64/tls.h: Moved ...
2827 * sysdeps/x86_64/nptl/tls.h: ... here.
2828 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2829 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2830 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2831 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2833 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2835 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2839 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2841 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2843 [POSIX] (off_t): Likewise.
2844 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2845 [POSIX] (S_ISBLK): Require macro.
2846 [POSIX] (S_ISCHR): Likewise.
2847 [POSIX] (S_ISDIR): Likewise.
2848 [POSIX] (S_ISFIFO): Likewise.
2849 [POSIX] (S_ISREG): Likewise.
2850 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2852 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2854 [POSIX] (time_t): Likewise.
2855 [POSIX] (timer_t): Likewise.
2857 2014-06-11 Florian Weimer <fweimer@redhat.com>
2860 * posix/spawn_int.h (struct __spawn_action): Make the path string
2861 non-const to support deallocation.
2862 * posix/spawn_faction_addopen.c
2863 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2864 * posix/spawn_faction_destroy.c
2865 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2866 path in all spawn_do_open actions.
2867 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2868 posix_spawn_file_actions_addopen.
2870 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2872 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2873 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2874 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2875 conditional code always true.
2876 (__libc_vfork): New alias.
2878 2014-06-11 Roland McGrath <roland@hack.frob.com>
2880 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2881 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2883 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2885 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2886 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2888 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2889 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2891 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2892 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2894 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2896 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2897 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2898 multiarch strcmp for PPC64.
2899 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2900 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2902 multiarch optimizations.
2903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2904 (__libc_ifunc_impl_list): Likewise.
2906 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2908 * benchtests/scripts/validate_benchout.py: New script.
2909 * benchtests/Makefile (bench-func): Call it.
2910 * benchtests/scripts/benchout.schema.json: New file.
2912 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2914 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2915 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2916 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2917 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2918 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2919 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2920 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2921 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2922 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2923 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2924 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2925 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2926 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2927 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2928 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2929 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3033 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3034 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3035 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3036 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3037 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3039 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3041 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3042 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3044 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3046 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3048 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3050 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3052 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3055 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3056 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3058 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3059 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3060 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3063 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3064 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3065 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3066 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3067 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3068 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3069 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3071 2014-06-10 Wilco <wdijkstr@arm.com>
3073 * math/test-fenv-return.c: New file.
3074 * math/Makefile: Add new test test-fenv-return.
3076 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3079 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3081 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3082 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3083 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3084 0.0L for an argument of 1.0L.
3085 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3087 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3088 value when x - 1 is zero.
3089 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3090 * sysdeps/i386/fpu/libm-test-ulps: Update.
3091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3093 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3096 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3098 2014-06-09 Roland McGrath <roland@hack.frob.com>
3100 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3101 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3103 2014-06-09 Roland McGrath <roland@hack.frob.com>
3105 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3106 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3108 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3109 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3111 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3112 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3114 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3115 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3117 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3118 if not already defined.
3119 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3120 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3121 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3122 (TLS_INIT_TP): Use it.
3123 (TLS_DEFINE_INIT_TP): New macro.
3124 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3126 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3128 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3130 [POSIX] (IXANY): Likewise.
3131 [POSIX] (OLCUC): Likewise.
3132 [POSIX || POSIX2008] (CBAUD): Do not allow.
3133 [POSIX || POSIX2008] (DEFECHO): Likewise.
3134 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3135 [POSIX || POSIX2008] (ECHOKE): Likewise.
3136 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3137 [POSIX || POSIX2008] (EXTA): Likewise.
3138 [POSIX || POSIX2008] (EXTB): Likewise.
3139 [POSIX || POSIX2008] (FLUSHO): Likewise.
3140 [POSIX || POSIX2008] (LOBLK): Likewise.
3141 [POSIX || POSIX2008] (PENDIN): Likewise.
3142 [POSIX || POSIX2008] (SWTCH): Likewise.
3143 [POSIX || POSIX2008] (VDISCARD): Likewise.
3144 [POSIX || POSIX2008] (VDSUSP): Likewise.
3145 [POSIX || POSIX2008] (VLNEXT): Likewise.
3146 [POSIX || POSIX2008] (VREPRINT): Likewise.
3147 [POSIX || POSIX2008] (VSTATUS): Likewise.
3148 [POSIX || POSIX2008] (VWERASE): Likewise.
3149 (B*): Change to B[0123456789]*.
3150 * conform/data/time.h-data [POSIX || UNIX98]
3151 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3152 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3153 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3154 [POSIX] (tm_*): Do not allow.
3156 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3158 * Makefile (install): Don't set LANGUAGE.
3159 * Makefile.in (install): Likewise.
3160 * assert/Makefile (test-assert-ENV): Remove variable.
3161 (test-assert-perr-ENV): Likewise.
3162 * elf/Makefile (neededtest4-ENV): Likewise.
3163 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3164 [$(cross-compiling) = no]: Don't set LANGUAGE.
3165 * io/ftwtest-sh (LANG): Remove variable.
3166 * libio/Makefile (tst-widetext-ENV): Likewise.
3167 * manual/install.texi (Running make install): Don't refer to
3168 environment settings for make install.
3169 * INSTALL: Regenerated.
3170 * nptl/tst-tls6.sh: Don't set LANG.
3171 * posix/globtest.sh (LANG): Remove variable.
3172 * string/Makefile (tester-ENV): Likewise.
3173 (inl-tester-ENV): Likewise.
3174 (noinl-tester-ENV): Likewise.
3175 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3176 [$(cross-compiling) = no]: Don't set LANGUAGE.
3177 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3178 without explicit environment settings.
3180 2014-06-06 Roland McGrath <roland@hack.frob.com>
3182 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3183 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3184 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3185 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3187 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3189 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3190 other files in the crypt directory.
3191 * crypt/crypt.c: Remove duplicate includes.
3192 * crypt/crypt-entry.c: Likewise.
3193 * crypt/crypt_util.c: Likewise.
3195 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3197 * Makeconfig (run-program-env): New variable.
3198 (run-program-prefix-before-env): Likewise.
3199 (run-program-prefix-after-env): Likewise.
3200 (run-program-prefix): Define in terms of new variables.
3201 (built-program-cmd-before-env): New variable.
3202 (built-program-cmd-after-env): Likewise.
3203 (built-program-cmd): Define in terms of new variables.
3204 (test-program-prefix-before-env): New variable.
3205 (test-program-prefix-after-env): Likewise.
3206 (test-program-prefix): Define in terms of new variables.
3207 (test-program-cmd-before-env): New variable.
3208 (test-program-cmd-after-env): Likewise.
3209 (test-program-cmd): Define in terms of new variables.
3210 * Rules (make-test-out): Use $(run-program-env).
3211 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3212 (help): Do not mention environment variables. Mention
3213 --timeoutfactor option.
3214 (timeoutfactor): New variable.
3215 (blacklist_exports): Remove function.
3216 (exports): Remove variable.
3217 (command): Do not include ${exports}.
3218 * manual/install.texi (Configuring and compiling): Do not mention
3219 test wrappers preserving environment variables. Mention that last
3220 assignment to a variable must take precedence.
3221 * INSTALL: Regenerated.
3222 * benchtests/Makefile (run-bench): Use $(run-program-env).
3223 * catgets/Makefile ($(objpfx)test1.cat): Use
3224 $(built-program-cmd-before-env), $(run-program-env) and
3225 $(built-program-cmd-after-env).
3226 ($(objpfx)test2.cat): Do not specify environment variables
3228 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3229 $(run-program-env) and $(built-program-cmd-after-env).
3230 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3231 $(run-program-env) and $(test-program-cmd-after-env).
3232 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3234 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3235 run_program_env and test_program_cmd_after_env arguments.
3236 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3237 * elf/tst-pathopt.sh: Use run_program_env argument.
3238 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3239 $(test-wrapper-env) and $(run-program-env).
3240 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3241 run_program_env arguments.
3242 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3243 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3244 $(test-program-prefix-before-env), $(run-program-env) and
3245 $(test-program-prefix-after-env).
3246 ($(objpfx)tst-gettext2.out): Likewise.
3247 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3248 run_program_env and test_program_prefix_after_env arguments.
3249 * intl/tst-gettext2.sh: Likewise.
3250 * intl/tst-gettext4.sh: Do not set environment variables
3252 * intl/tst-gettext6.sh: Likewise.
3253 * intl/tst-translit.sh: Likewise.
3254 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3255 $(test-program-prefix-before-env), $(run-program-env) and
3256 $(test-program-prefix-after-env).
3257 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3258 run_program_env and test_program_prefix_after_env arguments.
3259 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3260 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3261 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3262 explicitly with each use of ${test_wrapper_env}.
3263 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3264 $(test-program-prefix-before-env), $(run-program-env) and
3265 $(test-program-prefix-after-env).
3266 * posix/tst-getconf.sh: Do not set environment variables
3268 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3269 run_program_env and test_program_prefix_after_env arguments.
3270 * stdio-common/tst-printf.sh: Do not set environment variables
3272 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3273 $(test-program-prefix-before-env), $(run-program-env) and
3274 $(test-program-prefix-after-env).
3275 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3276 run_program_env and test_program_prefix_after_env arguments.
3277 Split $test calls into $test_pre and $test.
3278 * timezone/Makefile (build-testdata): Use
3279 $(built-program-cmd-before-env), $(run-program-env) and
3280 $(built-program-cmd-after-env).
3282 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3284 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3285 strlen for non SHARED builds.
3287 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3289 * nptl/allocatestack.c (check_list): Inlined function...
3290 (__reclaim_stacks): ... here.
3292 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3295 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3298 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3300 * Rules (make-test-out): Include
3301 LOCPATH=$(common-objpfx)localedata in default environment.
3302 * debug/Makefile (tst-chk1-ENV): Remove variable.
3303 (tst-chk2-ENV): Likewise.
3304 (tst-chk3-ENV): Likewise.
3305 (tst-chk4-ENV): Likewise.
3306 (tst-chk5-ENV): Likewise.
3307 (tst-chk6-ENV): Likewise.
3308 (tst-lfschk1-ENV): Likewise.
3309 (tst-lfschk2-ENV): Likewise.
3310 (tst-lfschk3-ENV): Likewise.
3311 (tst-lfschk4-ENV): Likewise.
3312 (tst-lfschk5-ENV): Likewise.
3313 (tst-lfschk6-ENV): Likewise.
3314 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3315 (tst-iconv7-ENV): Likewise.
3316 * intl/Makefile (LOCPATH-ENV): Likewise.
3317 (tst-codeset-ENV): Likewise.
3318 (tst-gettext3-ENV): Likewise.
3319 (tst-gettext5-ENV): Likewise.
3320 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3321 (tst-fopenloc-ENV): Likewise.
3322 (tst-fgetws-ENV): Remove variable.
3323 (tst-ungetwc1-ENV): Likewise.
3324 (tst-ungetwc2-ENV): Likewise.
3325 (bug-ungetwc2-ENV): Likewise.
3326 (tst-swscanf-ENV): Likewise.
3327 (bug-ftell-ENV): Likewise.
3328 (tst-fgetwc-ENV): Likewise.
3329 (tst-fseek-ENV): Likewise.
3330 (tst-ftell-partial-wide-ENV): Likewise.
3331 (tst-ftell-active-handler-ENV): Likewise.
3332 (tst-ftell-append-ENV): Likewise.
3333 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3334 (tst-regexloc-ENV): Likewise.
3335 (bug-regex1-ENV): Likewise.
3336 (tst-regex-ENV): Likewise.
3337 (tst-regex2-ENV): Likewise.
3338 (bug-regex5-ENV): Likewise.
3339 (bug-regex6-ENV): Likewise.
3340 (bug-regex17-ENV): Likewise.
3341 (bug-regex18-ENV): Likewise.
3342 (bug-regex19-ENV): Likewise.
3343 (bug-regex20-ENV): Likewise.
3344 (bug-regex22-ENV): Likewise.
3345 (bug-regex23-ENV): Likewise.
3346 (bug-regex25-ENV): Likewise.
3347 (bug-regex26-ENV): Likewise.
3348 (bug-regex30-ENV): Likewise.
3349 (bug-regex32-ENV): Likewise.
3350 (bug-regex33-ENV): Likewise.
3351 (bug-regex34-ENV): Likewise.
3352 (bug-regex35-ENV): Likewise.
3353 (tst-rxspencer-ENV): Likewise.
3354 (tst-rxspencer-no-utf8-ENV): Likewise.
3355 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3356 (tst-sscanf-ENV): Likewise.
3357 (tst-swprintf-ENV): Likewise.
3358 (tst-swscanf-ENV): Likewise.
3359 (test-vfprintf-ENV): Likewise.
3360 (scanf13-ENV): Likewise.
3361 (bug14-ENV): Likewise.
3362 (tst-grouping-ENV): Likewise.
3363 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3364 (tst-strtod3-ENV): Likewise.
3365 (tst-strtod4-ENV): Likewise.
3366 (tst-strtod5-ENV): Likewise.
3367 (testmb2-ENV): Likewise./
3368 * string/Makefile (tst-strxfrm-ENV): Likewise.
3369 (tst-strxfrm2-ENV): Likewise.
3370 (bug-strcoll1-ENV): Likewise.
3371 (test-strcasecmp-ENV): Likewise.
3372 (test-strncasecmp-ENV): Likewise.
3373 * time/Makefile (tst-strptime-ENV): Likewise.
3374 (tst-ftime_l-ENV): Likewise.
3375 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3376 (tst-mbrtowc-ENV): Likewise.
3377 (tst-wcrtomb-ENV): Likewise.
3378 (tst-mbrtowc2-ENV): Likewise.
3379 (tst-c16c32-1-ENV): Likewise.
3380 (tst-mbsnrtowcs-ENV): Likewise.
3382 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3384 * manual/resource.texi (How to get information about the memory
3385 subsystem?): Fix typo.
3386 Reported by Peon de la Parra Ivan <peon@keba.com>
3388 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3391 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3392 (pthread_spin_lock): Branch out of spin loop to proper location.
3393 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3394 (pthread_spin_lock): Likewise.
3396 * nptl/tst-spin4.c: New test.
3397 * nptl/Makefile (tests): Add tst-spin4.
3399 2014-06-03 Andreas Schwab <schwab@suse.de>
3402 * resolv/res_send.c (send_dg): Reload file descriptor after
3405 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3407 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3409 2014-06-03 Richard Henderson <rth@redhat.com>
3411 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3412 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3413 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3414 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3415 in the SAVE_PID block.
3416 (__libc_vfork): New alias.
3417 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3419 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3420 child in registers, not on the stack. Remove RESET_PID conditionals.
3421 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3423 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3425 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3427 2014-06-03 Wilco <wdijkstr@arm.com>
3429 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3430 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3431 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3432 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3433 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3436 2014-06-03 Wilco <wdijkstr@arm.com>
3438 * sysdeps/aarch64/fpu/math_private.h
3439 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3440 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3441 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3442 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3445 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3447 * crypt/crypt-private.h: Include ufc-crypt.h.
3448 (__b64_from_24bit): Declare extern.
3449 * crypt/crypt_util.c(__b64_from_24bit): New function.
3450 (b64t): New static const variable.
3451 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3452 (b64t): Remove variable.
3453 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3454 * crypt/sha256-crypt.c: Include crypt-private.h.
3455 (b64t): Remove variable.
3456 (__sha256_crypt_r): Remove b64_from_24bit and replace
3457 with __b64_from_24bit.
3458 * crypt/sha512-crypt.c: Likewise.
3460 2014-06-02 Roland McGrath <roland@hack.frob.com>
3462 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3463 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3464 Label the code __libc_vfork rather than __vfork.
3465 [!NOT_IN_libc] (vfork): Define as weak alias.
3466 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3467 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3468 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3470 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3472 * malloc/malloc.c (malloc_info): Fix format specifier for
3475 2014-06-02 Wilco <wdijkstr@arm.com>
3477 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3480 2014-06-02 Wilco <wdijkstr@arm.com>
3483 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3484 Rewrite to reduce FPCR/FPSR accesses.
3486 2014-06-01 David S. Miller <davem@davemloft.net>
3488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3490 2014-05-31 David S. Miller <davem@davemloft.net>
3492 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3493 to occur in round to nearest mode when |x| >= 2.0
3495 2014-05-30 Richard Henderson <rth@twiddle.net>
3497 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3498 (PSEUDO_RET_NOERRNO): Remove.
3499 (ret): Don't redefine.
3500 (ret_NOERRNO): Define in terms of ret.
3501 (ret_ERRVAL): Likewise.
3503 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3504 use of PSEUDO_RET; perform the error check directly.
3506 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3508 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3511 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3513 * malloc/malloc (malloc_info): Fix formatting.
3515 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3516 Roland McGrath <roland@hack.frob.com>
3518 * malloc/malloc (malloc_info): Also print mmapped statistics.
3520 2014-05-30 Roland McGrath <roland@hack.frob.com>
3522 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3523 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3525 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3527 * malloc/malloc.c (malloc_info): Inline mi_arena.
3529 2014-05-29 Richard Henderson <rth@twiddle.net>
3531 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3532 Remove comma before expanding ASM_ARGS_##nr.
3533 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3534 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3536 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3537 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3538 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3539 (ASM_ARGS_1): Add leading comma.
3541 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3542 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3543 to __errno_location.
3544 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3545 Remove the expected plt for __errno_location.
3547 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3548 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3551 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3552 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3553 it and break it down.
3554 (DOCARGS_0, DOCARGS_1): Do nothing.
3555 (DOCARGS_2): Update to store into the new stack frame.
3556 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3557 (UNDOCARGS_1): Update to restore from the new stack frame.
3558 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3559 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3561 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3562 (SINGLE_THREAD_P): New parameter for result regno.
3563 (PSEUDO): Update to match; use cbz instead of beq.
3565 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3566 Use ENTRY to define the _nocancel entry point. Share the syscall
3567 and syscall error check paths with the cancel path.
3570 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3571 whitespace; tabs before and after asm mnemonics.
3573 2014-05-29 Eric Wong <normalperson@yhbt.net>
3576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3577 Call fstat64 or stat64 internally, depending on arguments passed.
3578 Replace stat buffer argument with file descriptor argument.
3579 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3580 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3581 Pass fd to __internal_statvfs instead of calling fstat64.
3582 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3583 Pass fd to __internal_statvfs64 instead of calling fstat64.
3584 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3585 Pass -1 to __internal_statvfs instead of calling stat64.
3586 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3587 Pass -1 to __internal_statvfs64 instead of calling stat64.
3589 2014-05-28 Roland McGrath <roland@hack.frob.com>
3591 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3592 that was previously under [RESET_PID].
3593 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3595 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3596 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3598 2014-05-27 Roland McGrath <roland@hack.frob.com>
3600 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3602 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3603 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3605 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3607 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3609 2014-05-27 Andreas Schwab <schwab@suse.de>
3611 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3613 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3614 * elf/rtld.c (init_tls, dl_main): Likewise.
3615 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3616 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3617 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3618 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3619 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3620 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3621 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3622 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3623 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3624 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3625 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3626 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3627 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3628 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3629 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3630 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3631 * sysdeps/generic/tls.h: Update description.
3633 2014-05-27 Will Newton <will.newton@linaro.org>
3636 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3637 and restore r2 rather than just restoring.
3639 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3642 * libio/tst-ftell-append.c: New test case.
3643 * libio/Makefile (tests): Add test case.
3644 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3646 * libio/wfileops.c (do_ftell_wide): Likewise.
3648 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3652 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3656 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3657 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3658 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3659 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3660 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3661 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3662 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3665 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3669 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3670 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3671 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3672 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3674 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3675 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3677 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3679 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3681 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3682 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3683 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3685 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3686 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3687 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3688 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3693 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3696 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3699 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3711 conditional [RESET_PID].
3712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3720 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3721 (__libc_vfork): New strong alias.
3722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3729 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3730 (__libc_vfork): New strong alias.
3731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3733 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3736 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3738 * malloc/malloc.c (mi_arena): New function.
3739 (malloc_info): Remove nested function mi_arena. Call non-nosted
3742 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3744 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3746 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3747 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3748 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3749 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3750 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3751 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3752 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3754 2014-05-26 Andreas Schwab <schwab@suse.de>
3757 * locale/programs/repertoire.c (repertoire_read): Add slash
3758 between I18NPATH element and file name.
3759 * locale/programs/locfile.c (locfile_read): Likewise.
3761 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3763 * nptl/pthread_mutexattr_settype.c
3764 (__pthread_mutexattr_settype):
3765 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3767 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3769 * nptl/tst-mutex5 (do_test):
3770 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3772 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3774 * benchtests/README: Document 'init' directive.
3775 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3777 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3778 (parse_file): Recognize 'init' directive.
3780 2014-05-26 Kyle McMartin <kyle@redhat.com>
3783 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3784 alignment of struct pthread.
3786 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3789 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3790 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3791 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3792 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3794 2014-05-25 Richard Henderson <rth@twiddle.net>
3796 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3797 (SINGLE_THREAD_P_PIC): Remove.
3798 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3799 (SINGLE_THREAD_P_PIC): Remove.
3801 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3802 branch to syscall error ...
3804 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3805 from __local_syscall_error to .Lsyscall_error.
3806 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3807 (SYSCALL_ERROR): Update label name.
3809 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3810 Do not use DOARGS/UNDOARGS.
3811 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3812 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3813 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3814 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3815 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3817 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3820 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3821 define if !NOT_IN_libc.
3822 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3823 define with non-default symbol versions.
3825 2014-05-23 Richard Henderson <rth@twiddle.net>
3827 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3828 (vfork, __vfork): Define via compat_symbol.
3830 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3831 [!HAVE_IFUNC] (vfork_compat): Remove.
3832 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3834 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3837 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3838 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3841 2014-05-23 Richard Henderson <rth@twiddle.net>
3843 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3844 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3845 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3846 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3848 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3849 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3850 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3851 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3852 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3853 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3854 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3855 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3856 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3857 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3858 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3859 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3860 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3861 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3862 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3863 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3865 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3866 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3867 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3869 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3870 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3871 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3872 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3873 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3874 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3875 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3876 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3877 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3878 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3879 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3880 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3881 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3882 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3883 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3884 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3885 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3886 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3887 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3888 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3889 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3890 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3891 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3892 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3893 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3894 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3895 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3896 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3897 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3898 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3899 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3900 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3901 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3902 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3903 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3905 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3906 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3907 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3908 before exiting on error.
3909 (__libc_vfork): New strong alias.
3910 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3911 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3913 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3914 that was previously under [RESET_PID].
3915 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3917 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3919 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3922 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3923 value when x - 1 is zero.
3924 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3925 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3926 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3927 0.0L for an argument of 1.0L.
3928 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3930 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3931 value when x - 1 is zero.
3932 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3933 * sysdeps/i386/fpu/libm-test-ulps: Update.
3934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3936 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3938 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3939 alphasort and versionsort.
3941 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3943 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3945 [copysignf]: Likewise.
3947 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3949 * crypt/md5-crypt.c: Fix formatting.
3951 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3953 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3954 (b64_from_24bit): New function.
3956 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3958 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3959 libc_hidden_builtin_def to ifunc.
3960 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3961 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3963 2014-05-21 Roland McGrath <roland@hack.frob.com>
3965 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3966 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3968 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3970 * nscd/Depend (linuxthreads): Remove.
3972 * resolv/Depend (linuxthreads): Remove.
3973 * rt/Depend (linuxthreads): Remove.
3975 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3976 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3977 $(common-objpfx)elf/.
3978 (link-libc-before-gnulib): Likewise.
3979 (elfobjdir): Remove variable.
3980 * Makefile (install): Use $(elf-objpfx) instead of
3981 $(common-objpfx)elf/.
3982 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3984 (link-libc-deps): Likewise.
3985 ($(common-objpfx)libc.so): Likewise.
3986 ($(common-objpfx)linkobj/libc.so): Likewise.
3987 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3988 instead of $(common-objpfx)elf/.
3989 (symbolic-link-list): Likewise.
3990 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3991 [$(cross-compiling) = no]: Likewise.
3992 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3994 (static-gnulib-arch): Likewise.
3995 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3996 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3997 $(common-objpfx)elf/.
3999 2014-05-21 Richard Henderson <rth@redhat.com>
4001 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4002 (SINGLE_THREAD_P): Use the correct width load. Fold
4003 into the ldr offset.
4005 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4006 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4008 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4010 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4011 (libgcc_s_resume): Use __attribute_used__.
4012 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4015 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4017 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4018 optimization when used with float constants.
4020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4022 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4025 * locale/nl_langinfo_l.c: Make direct reference to every
4026 _nl_current_CATEGORY symbol.
4027 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4028 (tests-static): Add tst-langinfo-static.
4029 (tests-special): Add tst-langinfo-static.out.
4030 ($(objpfx)tst-langinfo.out): Redirect output.
4031 ($(objpfx)tst-langinfo-static.out): New.
4032 * localedata/tst-langinfo.sh: Send output to stdout.
4033 * localedata/tst-langinfo-static.c: New file.
4036 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4037 when the shift amount is modulo the limb size.
4039 2014-05-20 Richard Henderson <rth@redhat.com>
4042 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4043 Change type of sa_flags from unsigned int to int.
4046 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4048 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4050 2014-05-20 Will Newton <will.newton@linaro.org>
4052 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4053 Test the return value of the system call in the nocancel case.
4055 2014-05-20 Will Newton <will.newton@linaro.org>
4056 Yvan Roux <yvan.roux@linaro.org>
4058 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4059 #include of asm/ptrace.h.
4060 (PTRACE_GET_THREAD_AREA): Remove #undef.
4061 (PTRACE_GETHBPREGS): Likewise.
4062 (PTRACE_SETHBPREGS): Likewise.
4063 (struct user_regs_struct): New structure.
4064 (struct user_fpsimd_struct): New structure.
4065 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4066 #include of asm/ptrace.h and second #include of sys/user.h.
4067 (PTRACE_GET_THREAD_AREA): Remove #undef.
4068 (PTRACE_GETHBPREGS): Likewise.
4069 (PTRACE_SETHBPREGS): Likewise.
4070 (ELF_NGREG): Use new struct user_regs_struct.
4071 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4073 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4076 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4078 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4082 membar to avoid block loads/stores to overlap previous stores.
4084 2014-05-17 Richard Henderson <rth@redhat.com>
4086 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4087 Create the __##syscall_name##_nocancel entry point.
4088 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4089 Remove; let the sysdep-cancel.h code create it.
4091 2014-05-17 David S. Miller <davem@davemloft.net>
4093 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4094 Protect with __USE_GNU.
4095 (TIOCSET_TEMPT): Likewise.
4096 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4097 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4098 these are already provided in bits/ioctl-types.h
4100 2014-05-16 Roland McGrath <roland@hack.frob.com>
4102 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4103 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4105 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4106 Use wait4 regardless of [__NR_waitpid].
4108 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4111 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4112 (_FP_NANSIGN_Q): Set the quiet bit.
4114 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4116 * benchtests/Makefile
4117 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4118 not $(common-objpfx)math/libm.so.
4119 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4120 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4121 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4122 $(common-objpfx)dlfcn/libdl.so.
4123 ($(objpfx)tst-audit8): Depend on $(libm), not
4124 $(common-objpfx)math/libm.so.
4125 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4126 not $(common-objpfx)dlfcn/libdl.so.
4128 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4129 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4130 [$(build-shared) = yes].
4131 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4132 $(common-objpfx)nptl/libpthread.so.
4133 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4134 $(common-objpfx)math/libm.so$(libm.so-version) or
4135 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4136 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4137 $(common-objpfx)dlfcn/libdl.so.
4138 * setjmp/Makefile (link-libm): Remove variable.
4139 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4140 * stdio-common/Makefile (link-libm): Remove variable.
4141 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4142 * stdlib/Makefile (link-libm): Remove variable.
4143 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4144 ($(objpfx)tst-strtod-round): Likewise.
4145 ($(objpfx)tst-tininess): Likewise.
4146 ($(objpfx)tst-strtod-underflow): Likewise.
4147 ($(objpfx)tst-strtod6): Likewise.
4148 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4149 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4150 $(common-objpfx)dlfcn/libdl.so.
4152 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4154 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4155 BSD terminal modes definitions.
4157 2014-05-16 Roland McGrath <roland@hack.frob.com>
4159 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4160 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4162 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4163 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4164 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4165 Don't do #include_next.
4166 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4167 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4168 Don't do #include_next.
4169 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4170 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4171 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4172 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4174 2014-05-16 Allan McRae <allan@archlinux.org>
4176 * po/sv.po: Update Swedish translation from translation project.
4178 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4181 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4184 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4185 errno if the TIOCGPTN ioctl fails with an error different than
4187 * login/tst-ptsname.c: New file.
4188 * login/Makefile (tests): Add tst-ptsname.
4191 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4194 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4198 herrno to return EAI_AGAIN.
4200 2014-05-14 Roland McGrath <roland@hack.frob.com>
4202 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4203 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4204 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4205 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4206 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4207 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4208 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4209 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4210 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4211 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4212 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4213 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4214 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4215 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4216 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4217 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4218 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4219 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4220 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4221 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4222 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4223 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4224 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4225 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4226 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4227 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4228 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4229 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4230 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4231 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4233 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4235 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4238 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4240 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4242 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4244 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4246 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4248 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4250 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4252 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4254 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4258 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4260 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4262 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4264 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4267 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4269 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4271 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4273 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4275 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4277 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4279 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4281 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4283 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4285 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4288 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4290 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4292 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4293 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4294 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4295 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4296 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4297 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4298 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4299 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4300 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4301 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4302 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4303 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4304 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4305 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4306 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4307 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4308 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4309 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4310 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4312 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4314 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4315 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4316 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4318 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4319 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4320 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4321 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4322 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4324 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4325 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4327 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4328 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4329 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4330 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4331 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4332 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4334 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4335 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4337 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4338 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4340 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4341 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4343 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4344 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4345 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4346 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4348 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4349 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4350 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4351 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4352 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4353 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4354 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4355 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4357 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4358 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4360 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4362 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4363 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4364 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4365 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4366 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4370 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4372 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4373 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4374 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4375 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4376 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4377 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4379 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4380 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4382 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4383 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4385 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4386 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4388 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4389 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4390 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4391 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4393 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4394 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4395 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4396 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4397 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4398 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4399 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4400 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4402 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4403 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4405 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4407 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4408 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4409 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4410 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4411 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4413 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4415 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4417 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4418 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4419 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4420 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4421 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4422 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4423 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4424 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4425 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4426 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4428 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4429 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4431 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4432 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4434 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4435 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4437 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4438 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4439 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4440 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4441 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4442 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4444 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4445 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4446 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4447 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4448 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4449 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4450 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4451 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4453 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4456 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4458 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4459 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4460 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4461 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4462 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4464 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4466 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4468 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4469 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4470 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4471 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4472 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4473 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4474 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4475 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4476 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4477 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4478 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4480 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4481 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4483 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4484 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4486 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4487 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4488 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4489 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4490 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4491 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4492 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4493 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4494 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4495 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4496 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4497 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4498 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4499 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4500 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4501 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4502 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4505 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4506 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4507 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4510 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4511 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4512 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4514 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4516 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4517 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4519 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4520 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4522 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4523 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4524 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4528 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4529 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4530 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4531 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4532 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4533 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4534 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4535 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4536 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4537 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4538 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4540 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4541 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4542 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4543 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4544 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4546 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4547 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4548 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4549 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4550 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4551 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4552 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4553 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4554 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4555 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4557 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4558 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4560 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4561 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4562 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4563 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4564 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4565 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4566 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4567 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4568 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4569 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4570 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4571 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4572 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4573 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4574 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4580 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4594 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4595 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4598 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4599 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4600 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4601 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4602 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4603 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4604 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4605 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4606 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4607 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4608 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4610 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4611 that was previously under [RESET_PID].
4612 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4613 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4614 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4616 * sysdeps/i386/nptl/Implies: New file.
4617 * sysdeps/x86_64/nptl/Implies: New file.
4618 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4619 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4620 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4621 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4623 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4624 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4625 (__libc_vfork): New strong alias.
4626 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4627 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4629 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4630 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4631 (__libc_vfork): New strong alias.
4632 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4633 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4635 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4636 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4637 (__libc_vfork): New strong alias.
4638 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4639 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4640 * nptl/pt-vfork.c: New file.
4641 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4642 (libpthread: GLIBC_2.20): New version set (empty).
4644 2014-05-14 Will Newton <will.newton@linaro.org>
4646 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4649 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4652 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4653 arguments with exponent 65 or above.
4654 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4655 arguments 0x1p113L or above.
4656 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4657 to arguments 0x1p107L or above.
4658 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4659 positive arguments with exponent 65 or above.
4660 * math/auto-libm-test-in: Add more tests of log1p.
4661 * math/auto-libm-test-out: Regenerated.
4664 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4665 non-finite arguments is +0.
4666 * math/s_cacosf.c (__cacosf): Likewise.
4667 * math/s_cacosl.c (__cacosl): Likewise.
4668 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4669 * sysdeps/i386/fpu/libm-test-ulps: Update.
4670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4673 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4675 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4676 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4677 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4678 for explicit high bit of mantissa when testing for argument equal
4680 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4681 * sysdeps/i386/fpu/libm-test-ulps: Update.
4682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4685 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4686 (__erf): Scale by 16 instead of 8 in potentially underflowing
4687 case. Ensure exception if result actually underflows.
4688 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4689 (__erff): Scale by 16 instead of 8 in potentially underflowing
4690 case. Ensure exception if result actually underflows.
4691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4692 (efx8): Remove variable.
4693 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4694 case. Ensure exception if result actually underflows.
4695 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4696 (efx8): Remove variable.
4697 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4698 case. Ensure exception if result actually underflows.
4699 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4700 (efx8): Remove variable.
4701 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4702 case. Ensure exception if result actually underflows.
4703 * math/auto-libm-test-in: Add more tests of erf.
4704 * math/auto-libm-test-out: Regenerated.
4706 2014-05-14 Andreas Schwab <schwab@suse.de>
4708 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4709 Remove code conditionalized on USE___THREAD.
4711 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4712 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4715 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4717 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4718 Define unconditionally.
4719 (__ASSUME_O_CLOEXEC): Likewise.
4720 (__ASSUME_SOCK_CLOEXEC): Likewise.
4721 (__ASSUME_IN_NONBLOCK): Likewise.
4722 (__ASSUME_PIPE2): Likewise.
4723 (__ASSUME_EVENTFD2): Likewise.
4724 (__ASSUME_SIGNALFD4): Likewise.
4725 (__ASSUME_DUP3): Likewise.
4726 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4727 (__ASSUME_DUP3): Do not define.
4728 (__ASSUME_EVENTFD2): Likewise.
4729 (__ASSUME_IN_NONBLOCK): Likewise.
4730 (__ASSUME_O_CLOEXEC): Likewise.
4731 (__ASSUME_PIPE2): Likewise.
4732 (__ASSUME_SIGNALFD4): Likewise.
4733 (__ASSUME_SOCK_CLOEXEC): Likewise.
4734 (__ASSUME_UTIMES): Undefine.
4735 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4736 (__ASSUME_UTIMES): Do not define.
4737 (__ASSUME_O_CLOEXEC): Likewise.
4738 (__ASSUME_SOCK_CLOEXEC): Likewise.
4739 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4740 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4742 (__ASSUME_PIPE2): Likewise.
4743 (__ASSUME_EVENTFD2): Likewise.
4744 (__ASSUME_SIGNALFD4): Likewise.
4745 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4746 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4748 (__ASSUME_EVENTFD2): Likewise.
4749 (__ASSUME_SIGNALFD4): Likewise.
4750 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4751 (__ASSUME_32BITUIDS): Likewise.
4752 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4753 (__ASSUME_IPC64): Likewise.
4754 (__ASSUME_ST_INO_64_BIT): Likewise.
4755 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4756 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4757 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4758 (__ASSUME_UTIMES): Do not define.
4759 (__ASSUME_PSELECT): Likewise.
4760 (__ASSUME_PPOLL): Likewise.
4761 (__ASSUME_O_CLOEXEC): Likewise.
4762 (__ASSUME_SOCK_CLOEXEC): Likewise.
4763 (__ASSUME_IN_NONBLOCK): Likewise.
4764 (__ASSUME_PIPE2): Likewise.
4765 (__ASSUME_EVENTFD2): Likewise.
4766 (__ASSUME_SIGNALFD4): Likewise.
4767 (__ASSUME_DUP3): Likewise.
4768 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4769 (__ASSUME_UTIMES): Likewise.
4770 (__ASSUME_O_CLOEXEC): Likewise.
4771 (__ASSUME_SOCK_CLOEXEC): Likewise.
4772 (__ASSUME_IN_NONBLOCK): Likewise.
4773 (__ASSUME_PIPE2): Likewise.
4774 (__ASSUME_EVENTFD2): Likewise.
4775 (__ASSUME_SIGNALFD4): Likewise.
4776 (__ASSUME_DUP3): Likewise.
4777 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4778 (__ASSUME_UTIMES): Likewise.
4779 (__ASSUME_O_CLOEXEC): Likewise.
4780 (__ASSUME_SOCK_CLOEXEC): Likewise.
4781 (__ASSUME_IN_NONBLOCK): Likewise.
4782 (__ASSUME_PIPE2): Likewise.
4783 (__ASSUME_EVENTFD2): Likewise.
4784 (__ASSUME_SIGNALFD4): Likewise.
4785 (__ASSUME_DUP3): Likewise.
4786 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4788 (__ASSUME_UTIMES): Likewise.
4789 (__ASSUME_EVENTFD2): Likewise.
4790 (__ASSUME_SIGNALFD4): Likewise.
4791 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4792 (__ASSUME_O_CLOEXEC): Likewise.
4793 (__ASSUME_SOCK_CLOEXEC): Likewise.
4794 (__ASSUME_IN_NONBLOCK): Likewise.
4795 (__ASSUME_PIPE2): Likewise.
4796 (__ASSUME_EVENTFD2): Likewise.
4797 (__ASSUME_SIGNALFD4): Likewise.
4798 (__ASSUME_DUP3): Likewise.
4799 (__ASSUME_UTIMES): Undefine.
4801 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4802 feclearexcept. Remove symbol versioning code.
4803 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4804 symbol versioning code.
4805 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4806 symbol versioning code.
4807 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4808 feupdateenv. Remove symbol versioning code.
4809 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4810 fegetexceptflag. Remove symbol versioning code.
4811 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4812 fesetexceptflag. Remove symbol versioning code.
4813 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4814 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4815 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4816 (__posix_fadvise64_l32): Remove prototype.
4817 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4820 2014-05-13 Roland McGrath <roland@hack.frob.com>
4822 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4823 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4824 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4825 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4827 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4829 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4830 current working directory
4832 2014-05-13 Roland McGrath <roland@hack.frob.com>
4834 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4835 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4836 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4837 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4838 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4839 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4840 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4841 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4842 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4843 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4844 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4845 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4846 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4847 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4848 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4849 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4850 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4851 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4852 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4853 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4854 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4855 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4856 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4857 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4858 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4859 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4860 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4861 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4862 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4863 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4864 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4865 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4866 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4867 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4868 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4869 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4870 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4871 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4872 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4873 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4874 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4875 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4877 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4878 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4880 * sysdeps/unix/sysv/linux/arm/Makefile
4881 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4882 Add rt-aeabi_unwind_cpp_pr1.
4883 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4884 Add nptl-aeabi_unwind_cpp_pr1.
4885 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4886 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4887 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4888 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4889 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4890 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4892 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4893 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4894 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4895 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4897 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4898 Deconditionalize the code that was previously under [RESET_PID].
4899 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4901 * sysdeps/generic/exit-thread.h: New file.
4902 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4903 * include/unistd.h (__exit_thread): Remove declaration.
4904 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4905 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4906 * csu/libc-start.c: Include <exit-thread.h>.
4907 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4908 * nptl/pthread_create.c: Include <exit-thread.h>.
4909 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4910 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4911 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4912 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4913 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4914 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4915 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4916 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4917 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4918 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4919 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4920 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4921 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4922 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4923 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4924 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4925 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4927 2014-05-13 Andreas Schwab <schwab@suse.de>
4929 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4931 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4933 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4934 (__ASSUME_UTIMES): Do not condition on kernel version.
4935 (__ASSUME_PSELECT): Define unconditionally.
4936 (__ASSUME_PPOLL): Likewise.
4937 (__ASSUME_ATFCTS): Likewise.
4938 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4939 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4940 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4941 (__ASSUME_UTIMENSAT): Define unconditionally.
4942 (__ASSUME_PRIVATE_FUTEX): Likewise.
4943 (__ASSUME_FALLOCATE): Likewise.
4944 (__ASSUME_O_CLOEXEC): Likewise.
4945 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4946 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4947 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4948 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4949 (__ASSUME_IN_NONBLOCK): Likewise.
4950 (__ASSUME_PIPE2): Likewise.
4951 (__ASSUME_EVENTFD2): Likewise.
4952 (__ASSUME_SIGNALFD4): Likewise.
4953 (__ASSUME_DUP3): Likewise.
4954 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4955 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4956 (__ASSUME_AT_RANDOM): Likewise.
4957 (__ASSUME_PREADV): Likewise.
4958 (__ASSUME_PWRITEV): Likewise.
4959 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4960 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4961 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4962 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4963 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4964 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4965 (__ASSUME_O_CLOEXEC): Define unconditionally.
4966 (__ASSUME_PSELECT): Do not undefine conditionally.
4967 (__ASSUME_PPOLL): Likewise.
4968 (__ASSUME_ATFCTS): Likewise.
4969 (__ASSUME_SET_ROBUST_LIST): Likewise.
4970 (__ASSUME_UTIMENSAT): Likewise.
4971 (__ASSUME_FDATASYNC): Define unconditionally.
4972 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4973 (__ASSUME_SIGFRAME_V2): Likewise.
4974 )__ASSUME_EVENTFD2): Likewise.
4975 (__ASSUME_SIGNALFD4): Likewise.
4976 (__ASSUME_PSELECT): Do not undefine conditionally.
4977 (__ASSUME_PPOLL): Likewise.
4978 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4979 (__ASSUME_PSELECT): Define unconditionally.
4980 (__ASSUME_PPOLL): Likewise.
4981 (__ASSUME_O_CLOEXEC): Likewise.
4982 (__ASSUME_SOCK_CLOEXEC): Likewise.
4983 (__ASSUME_IN_NONBLOCK): Likewise.
4984 (__ASSUME_PIPE2): Likewise.
4985 (__ASSUME_EVENTFD2): Likewise.
4986 (__ASSUME_SIGNALFD4): Likewise.
4987 (__ASSUME_DUP3): Likewise.
4988 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4989 (__ASSUME_O_CLOEXEC): Likewise.
4990 (__ASSUME_SOCK_CLOEXEC): Likewise.
4991 (__ASSUME_IN_NONBLOCK): Likewise.
4992 (__ASSUME_PIPE2): Likewise.
4993 (__ASSUME_EVENTFD2): Likewise.
4994 (__ASSUME_SIGNALFD4): Likewise.
4995 (__ASSUME_DUP3): Likewise.
4996 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4997 (__ASSUME_EVENTFD2): Likewise.
4998 (__ASSUME_SIGNALFD4): Likewise.
4999 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5001 2014-05-12 Andreas Schwab <schwab@suse.de>
5004 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5005 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5006 than maximum RPC packet size.
5007 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5008 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5009 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5010 (_nss_nis_getservbyport_r): Likewise.
5012 2014-05-12 Will Newton <will.newton@linaro.org>
5014 * malloc/Makefile (tests): Add tst-mallopt.
5015 * malloc/tst-mallopt.c: New file.
5017 2014-05-09 Roland McGrath <roland@hack.frob.com>
5019 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5020 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5022 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5024 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5025 (tst-tlsmod6.so): Likewise.
5027 2014-05-09 Roland McGrath <roland@hack.frob.com>
5029 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5031 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5034 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5035 and <dl-procinfo.h>.
5036 (__fegetenv): Save SSE state in envp->__eip if supported.
5037 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5038 envp->__eip if supported.
5039 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5040 and <dl-procinfo.h>.
5041 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5042 __data_offset and __data_selector in environment to 0. Set SSE
5044 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5046 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5048 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5050 2014-05-09 Will Newton <will.newton@linaro.org>
5052 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5053 and libc_relro_required for ARM.
5054 * sysdeps/arm/preconfigure: Regenerate.
5056 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5057 Stefan Liebler <stli@linux.vnet.ibm.com>
5059 * config.make.in (enable-lock-elision): New Makefile variable.
5060 * configure.ac: Likewise.
5061 * configure: Regenerate.
5062 * sysdeps/s390/configure.ac:
5063 Add check for gcc transactions support.
5064 * sysdeps/s390/configure: Regenerate.
5065 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5066 Build elision files if enabled.
5067 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5068 Add lock elision support for s390.
5069 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5070 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5071 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5072 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5073 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5074 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5075 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5077 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5079 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5081 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5083 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5084 (__lll_timedlock_elision, __lll_lock_elision)
5085 (__lll_unlock_elision, __lll_trylock_elision)
5086 (lll_timedlock_elision, lll_lock_elision)
5087 (lll_unlock_elision, lll_trylock_elision): Add.
5088 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5089 (pthread_mutex_t): Add lock elision support for s390.
5091 2014-05-14 Wilco <wdijkstr@arm.com>
5093 * sysdeps/arm/fclrexcpt.c: Cleanup.
5094 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5095 * sysdeps/arm/feenablxcpt.c: Cleanup.
5096 * sysdeps/arm/fegetenv.c: Cleanup.
5097 * sysdeps/arm/fegetexcept.c: Cleanup.
5098 * sysdeps/arm/fegetround.c: Cleanup.
5099 * sysdeps/arm/feholdexcpt.c: Cleanup.
5100 * sysdeps/arm/fesetenv.c: Cleanup.
5101 * sysdeps/arm/fesetround.c: Cleanup.
5102 * sysdeps/arm/feupdateenv.c: Cleanup.
5103 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5104 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5105 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5106 * sysdeps/arm/ftestexcept.c: Cleanup.
5107 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5108 * sysdeps/arm/setfpucw.c: Cleanup.
5110 2014-05-09 Will Newton <will.newton@linaro.org>
5112 * sysdeps/arm/armv7/strcmp.S: New file.
5113 * NEWS: Mention addition of ARMv7 optimized strcmp.
5115 2014-05-08 Roland McGrath <roland@hack.frob.com>
5117 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5118 look for %.ac rather than %.in.
5120 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5121 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5122 * sysdeps/mach/hurd/configure: Regenerated.
5123 * sysdeps/unix/sysv/linux/configure: Regenerated.
5125 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5127 2014-05-07 Steve Ellcey <sellcey@mips.com>
5130 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5134 2014-05-07 Andreas Schwab <schwab@suse.de>
5136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5137 when skipping over non-matching result from nscd.
5139 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5142 * nptl/sockperf.c (client): Check socket return value.
5145 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5146 nscd security class.
5148 2014-05-06 Roland McGrath <roland@hack.frob.com>
5150 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5151 * sysdeps/arm/unwind.h: ... here.
5153 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5156 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5159 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5161 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5162 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5163 multiarch strncpy for PPC64.
5164 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5165 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5167 multiarch optimizations.
5168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5169 (__libc_ifunc_impl_list): Likewise.
5170 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5171 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5172 multiarch stpncpy for PPC64.
5173 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5174 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5176 2014-05-06 Andreas Schwab <schwab@suse.de>
5179 * gmon/mcount.c (_MCOUNT_DECL): Use
5180 atomic_compare_and_exchange_bool_acq instead of
5181 catomic_compare_and_exchange_bool_acq.
5183 2014-05-05 Roland McGrath <roland@hack.frob.com>
5185 * elf/Makefile (others, install-bin): Remove pldd.
5186 (pldd-modules): Variable removed.
5187 ($(objpfx)pldd): Target removed.
5188 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5189 (others, install-bin): Append pldd here.
5190 ($(objpfx)pldd): New target.
5192 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5193 to 0, so the first #if test emitted later doesn't see it undefined.
5194 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5195 * sysdeps/gnu/errlist.c: Regenerated.
5197 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5199 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5200 [libc_hidden_builtin_def]: Define to empty value.
5201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5202 [libc_hidden_builtin_def]: Likewise.
5203 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5204 [libc_hidden_builtin_def]: Likewise.
5205 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5206 [libc_hidden_builtin_def]: Likewise.
5207 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5208 __redirect_memcpy and define ifunc as default hidden symbol.
5209 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5210 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5212 2014-05-04 Adam Conrad <adconrad@0c3.net>
5214 * locale/iso-4217.def: Reintroduce XDR currency.
5216 2014-05-04 Allan McRae <allan@archlinux.org>
5218 * po/eo.po: Update Esperanto translation from translation project.
5220 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5222 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5223 and FEATURE_INDEX_MAX to 1.
5224 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5226 2014-05-01 Steve Ellcey <sellcey@mips.com>
5228 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5229 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5230 * iconvdata/big5.c (ONE_DIRECTION): Define.
5231 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5232 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5233 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5234 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5235 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5236 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5237 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5238 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5239 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5240 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5241 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5242 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5243 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5244 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5245 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5246 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5247 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5248 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5249 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5250 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5251 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5252 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5253 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5254 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5255 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5256 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5257 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5258 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5259 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5260 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5261 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5262 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5263 * iconvdata/johab.c (ONE_DIRECTION): Define.
5264 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5265 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5266 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5267 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5268 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5269 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5270 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5271 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5272 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5273 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5275 2014-05-01 Roland McGrath <roland@hack.frob.com>
5277 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5278 (_IO_JUMPS_OFFSET): Define to 0.
5280 * nptl/sysdeps/pthread/bits/libc-lock.h
5281 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5282 (__libc_lock_define_initialized_recursive): Always define using
5283 initializer. Modern compilers treat uninitialized (implicit zero) and
5284 explicit zero initializers the same (i.e. put the datum in bss).
5286 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5288 * nscd/nscd-client.h: Include <string.h>.
5290 2014-05-01 David S. Miller <davem@davemloft.net>
5293 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5294 multiple zero bytes exist at the end of a string.
5295 Reported by Aurelien Jarno <aurelien@aurel32.net>
5297 * string/test-strcmp.c (check): Add explicit test for situations where
5298 there are multiple zero bytes after the first.
5300 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5303 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5304 when compiling wprintf.
5305 * stdio-common/tstdiomisc.c (t3): New function.
5308 2014-05-01 Steve Ellcey <sellcey@mips.com>
5310 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5311 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5312 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5313 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5315 2014-05-01 Steve Ellcey <sellcey@mips.com>
5317 * stdlib/longlong.h: Updated from GCC.
5319 2014-05-01 Will Newton <will.newton@linaro.org>
5320 Bernard Ogden <bernie.ogden@linaro.org>
5322 * NEWS: Update fixed bug list.
5325 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5327 2014-04-30 David S. Miller <davem@davemloft.net>
5329 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5330 (libc_feholdexcept_setround_sparc_ctx): New function.
5331 (libc_fesetenv_sparc_ctx): Likewise.
5332 (libc_feupdateenv_sparc_ctx): Likewise.
5333 (libc_feholdsetround_sparc_ctx): Likewise.
5334 (libc_feholdexcept_setround_ctx): Define.
5335 (libc_feholdexcept_setroundf_ctx): Likewise.
5336 (libc_feholdexcept_setroundl_ctx): Likewise.
5337 (libc_fesetenv_ctx): Likewise.
5338 (libc_fesetenvf_ctx): Likewise.
5339 (libc_fesetenvl_ctx): Likewise.
5340 (libc_feupdateenv_ctx): Likewise.
5341 (libc_feupdateenvf_ctx): Likewise.
5342 (libc_feupdateenvl_ctx): Likewise.
5343 (libc_feresetround_ctx): Likewise.
5344 (libc_feresetroundf_ctx): Likewise.
5345 (libc_feresetroundl_ctx): Likewise.
5346 (libc_feholdsetround_ctx): Likewise.
5347 (libc_feholdsetroundf_ctx): Likewise.
5348 (libc_feholdsetroundl_ctx): Likewise.
5350 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5351 with __USE_GNU instead of XOPEN cpp guards.
5353 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5356 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5357 with XOPEN cpp guards.
5359 2014-04-30 Julian Brown <julian@codesourcery.com>
5362 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5365 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5368 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5370 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5371 * sysdeps/unix/sysv/linux/configure: Regenerated.
5372 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5373 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5374 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5375 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5376 * README: Update reference to required Linux kernel version.
5377 * manual/install.texi (Linux): Update reference to required Linux
5378 kernel headers version.
5379 * INSTALL: Regenerated.
5381 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5383 [POSIX] (limits.h): Likewise.
5384 [POSIX] (math.h): Likewise.
5385 [POSIX] (sys/wait.h): Likewise.
5386 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5388 [POSIX] (stddef.h): Do not allow header inclusion.
5390 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5392 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5394 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5396 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5397 Return immediately after lll_futex_wake.
5399 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5402 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5404 (datahead_init_pos): Call datahead_init_common early.
5405 (datahead_init_neg): Likewise.
5407 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5408 datahead_init_neg): New functions.
5409 * nscd/aicache.c (addhstaiX): Use them.
5410 * nscd/grpcache.c (cache_addgr): Likewise.
5411 * nscd/hstcache.c (cache_addhst): Likewise.
5412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5413 * nscd/netgroupcache.c (do_notfound): Likewise.
5414 (addgetnetgrentX): Likewise.
5415 (addinnetgrX): Likewise.
5416 * nscd/pwdcache.c (cache_addpw): Likewise.
5417 * nscd/servicescache.c (cache_addserv): Likewise.
5419 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5420 Atsushi Onoe <atsushi@onoe.org>
5425 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5426 one response is valid.
5427 * resolv/res_send.c (send_dg): Check for validity of other
5428 response if the current response is a referral.
5430 2014-04-29 Steve Ellcey <sellcey@mips.com>
5432 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5434 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5437 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5438 Always divide by positive zero when computing -Inf result.
5439 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5440 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5442 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5444 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5445 FPSCR if value do not change.
5446 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5447 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5448 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5449 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5450 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5451 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5454 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5456 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5457 * sysdeps/unix/sysv/linux/hppa: Move directory from
5458 ports/systeps/unix/sysv/linux/hppa.
5459 * README: Update listing for hppa-*-linux-gnu.
5461 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5464 * manual/stdio.texi (Hook functions): Fix types of stream hook
5467 * socket/sys/socket.h: Fix typo in comment.
5469 2014-04-28 Wilco <wdijkstr@arm.com>
5471 * sysdeps/arm/fenv_private.h: New file.
5472 * sysdeps/arm/math_private.h: New file.
5473 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5475 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5477 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5479 (La_x86_64_retval): Likewise.
5481 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5483 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5484 fpsr if value didn't change.
5485 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5486 to fpcr if value didn't change.
5487 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5488 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5489 fpsr or fpcr if value didn't change.
5490 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5491 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5492 fpcr if value didn't change.
5493 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5494 to fpsr if value didn't change.
5496 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5498 * nptl/tst-sem3.c: Use test-skeleton.c
5499 (main): Rename to do_test. Use return instead of
5501 * nptl/tst-sem4.c: Use test-skeleton.c
5502 (main): Rename to do_test.
5504 2014-04-22 David S. Miller <davem@davemloft.net>
5506 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5507 (struct sigaction): New struct member __glibc_reserved0, change
5508 type of sa_flags to int.
5510 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5512 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5513 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5515 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5517 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5518 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5520 2014-04-22 Will Newton <will.newton@linaro.org>
5521 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5523 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5524 (__longjmp): Add longjmp and longjmp_target SystemTap
5526 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5527 (__sigsetjmp): Add setjmp SystemTap probe.
5529 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5531 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5534 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5536 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5538 * sysdeps/powerpc/fpu/fenv_private.h
5539 (libc_feholdexcept_setroundl_ctx): Define to
5540 libc_feholdexcept_setround_ppc_ctx.
5541 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5542 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5543 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5544 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5546 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5548 * sysdeps/aarch64/math-tests.h: New file.
5550 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5552 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5555 Check and set bit_AVX2_Usable.
5556 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5558 (bit_AVX2): Likewise.
5559 (index_AVX2_Usable): Likewise.
5560 (CPUID_AVX2): Likewise.
5561 (HAS_AVX2): Likewise.
5563 2014-04-17 Will Newton <will.newton@linaro.org>
5565 * manual/setjmp.texi (System V contexts): Add note that
5566 calling setcontext on a context created by a call to a
5567 signal handler is undefined. Update text to note that
5568 setcontext from a signal handler is possible but not
5572 * stdlib/tst-setcontext.c: Include signal.h.
5573 (main): Check that the signal stack before and
5574 after swapcontext is the same.
5576 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5577 Re-implement to restore registers in user code and avoid
5578 rt_sigreturn system call.
5580 2014-04-17 Wilco <wdijkstr@arm.com>
5582 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5583 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5584 * math/test-fenv.c: Skip exception trap tests on targets which only
5585 support non-stop mode.
5587 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5588 Wilco Dijkstra <wilco.dijkstra@arm.com>
5590 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5591 (libc_feholdsetround_aarch64_ctx)
5592 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5593 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5594 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5595 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5596 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5597 (libc_feresetround_noexl_ctx): Define.
5599 2014-04-16 Richard Henderson <rth@redhat.com>
5601 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5603 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5606 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5607 const from the non-libc, non-ldso copy.
5609 * sysdeps/alpha/libm-test-ulps: Regenerate.
5611 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5612 Wilco Dijkstra <wilco.dijkstra@arm.com>
5614 * sysdeps/aarch64/fpu/math_private.h: New file.
5616 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5618 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5620 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5622 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5623 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5625 Intel MPX bound registers before _dl_profile_fixup.
5626 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5627 registers after _dl_profile_fixup. Save and restore bound
5628 registers bnd0/bnd1 when calling _dl_call_pltexit.
5629 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5630 (LR_BND_OFFSET): Likewise.
5631 (LRV_BND0_OFFSET): Likewise.
5632 (LRV_BND1_OFFSET): Likewise.
5634 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5636 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5638 * sysdeps/mach/hurd/i386/tls.h: ... here.
5639 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5640 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5643 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5645 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5647 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5649 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5651 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5654 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5655 * sysdeps/s390/configure: Regenerate.
5658 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5659 Set round-to-nearest internally to reduce error accumulation.
5661 2014-04-16 Alan Modra <amodra@gmail.com>
5665 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5666 * math/libm-test.inc (frexp_test_data): Add tests.
5667 * NEWS: Update fixed bug list.
5669 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5671 * benchtests/Makefile: Depend on libraries in build directory.
5672 (bench-math): Separate out math tests.
5673 (bench-pthread): Separate out pthread tests.
5674 (bench): Include math and pthread tests.
5676 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5679 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5680 _dl_debug_initialize.
5682 * configure.ac: Remove SELinux header check.
5683 * configure: Regenerate.
5684 * nscd/selinux.c (perms): Array of const char* to permission names.
5685 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5686 default policy. Call string_to_security_class and string_to_av_perm to
5687 translate strings. Enforce default policy and call avs_has_perm with
5688 results of translated strings.
5690 2014-04-13 David S. Miller <davem@davemloft.net>
5692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5694 2014-04-12 Allan McRae <allan@archlinux.org>
5697 * manual/string.texi (Collation Functions): Fix qsort argument
5699 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5701 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5703 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5704 Make the test a no-op if there are no exceptions defined.
5706 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5708 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5709 enable-hardcoded-path-in-tests
5711 2014-04-11 Will Newton <will.newton@linaro.org>
5713 * benchtests/Makefile (extra-objs): Add json-lib.o.
5714 (bench-func): Tidy up JSON output.
5715 * benchtests/bench-skeleton.c: Include json-lib.h.
5716 (main): Use JSON library functions to do output of
5718 * benchtests/bench-timing-type.c (main): Output the
5719 timing type simply, leaving formatting to the user.
5720 * benchtests/json-lib.c: New file.
5721 * benchtests/json-lib.h: Likewise.
5723 2014-04-11 Torvald Riegel <triegel@redhat.com>
5726 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5727 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5728 memory barriers. Add comments.
5729 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5730 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5731 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5732 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5733 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5734 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5736 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5738 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5739 * sysdeps/s390/s390-64/configure.ac: ... this ...
5740 * sysdeps/s390/configure.ac: ... to here.
5741 * sysdeps/s390/s390-32/configure: Delete file.
5742 * sysdeps/s390/s390-64/configure: Delete file.
5743 * sysdeps/s390/configure: Regenerate.
5745 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5747 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5749 2014-04-11 Will Newton <will.newton@linaro.org>
5751 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5752 to zero if it is not defined elsewhere. (mtrim): Test
5753 the value of MALLOC_DEBUG with #if rather than #ifdef.
5755 2014-04-10 Torvald Riegel <triegel@redhat.com>
5757 * benchtests/pthread_once-inputs: New file.
5758 * benchtests/pthread_once-source.c: New file.
5759 * benchtests/README: Update documentation.
5761 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5762 H.J. Lu <hongjiu.lu@intel.com>
5764 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5765 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5766 * sysdeps/x86_64/configure: Regenerated.
5767 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5769 (REGISTER_SAVE_RAX): Likewise.
5770 (REGISTER_SAVE_RCX): Likewise.
5771 (REGISTER_SAVE_RDX): Likewise.
5772 (REGISTER_SAVE_RSI): Likewise.
5773 (REGISTER_SAVE_RDI): Likewise.
5774 (REGISTER_SAVE_R8): Likewise.
5775 (REGISTER_SAVE_R9): Likewise.
5776 (REGISTER_SAVE_BND0): Likewise.
5777 (REGISTER_SAVE_BND1): Likewise.
5778 (REGISTER_SAVE_BND2): Likewise.
5779 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5780 bound registers when calling _dl_fixup.
5782 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5784 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5785 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5787 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5788 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5789 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5790 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5791 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5792 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5793 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5795 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5798 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5799 pathconf(_PC_NAME_MAX).
5801 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5803 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5805 (__PTHREAD_SPINS): Move definition to ...
5806 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5807 (__PTHREAD_SPINS): ... here.
5808 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5809 (__PTHREAD_SPIN): Likewise.
5810 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5811 (__PTHREAD_SPIN): Likewise.
5812 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5813 (__PTHREAD_SPIN): Likewise.
5814 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5815 (__PTHREAD_SPIN): Likewise.
5816 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5817 (__PTHREAD_SPIN): Likewise.
5818 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5819 (__PTHREAD_SPIN): Likewise.
5820 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5821 (__PTHREAD_SPIN): Likewise.
5822 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5823 (__PTHREAD_SPIN): Likewise.
5824 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5825 (__PTHREAD_SPIN): Likewise.
5826 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5827 (__PTHREAD_SPIN): Likewise.
5828 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5829 (__PTHREAD_SPIN): Likewise.
5830 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5831 (__PTHREAD_SPIN): Likewise.
5833 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5834 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5835 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5836 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5838 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5839 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5840 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5841 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5843 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5844 strlen symbol for non multi-arch builds.
5845 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5846 missing hidden_def and weak_alias.
5848 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5850 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5852 2014-04-07 Will Newton <will.newton@linaro.org>
5854 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5855 and contents. [!_LIBC] Remove #ifndef and contents.
5856 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5857 * string/memccpy.c (__memccpy): Use ANSI prototype.
5858 * string/memfrob.c (memfrob): Likewise.
5859 * string/strcoll.c (STRCOLL): Likewise.
5860 * string/strlen.c (strlen): Likewise.
5861 * string/strtok.c (STRTOK): Likewise.
5862 * string/strcat.c: Remove unused #include of memcopy.h.
5863 (strcat): Use ANSI prototype.
5864 * string/strchr.c: Remove unused #include of memcopy.h.
5865 (strchr): Use ANSI prototype.
5866 * string/strcmp.c: Remove unused #include of memcopy.h.
5867 (strcmp): Use ANSI prototype.
5868 * string/strcpy.c: Remove unused #include of memcopy.h.
5869 (strcpy): Use ANSI prototype.
5871 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5873 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5874 * config.make.in (config-extra-cppflags): Set it from
5875 libc_extra_cppflags.
5876 * configure.ac (libc_extra_cflags): Make it accumulate over
5877 configure fragments.
5878 (libc_extra_cppflags): New flag.
5879 * configure. Regenerate.
5880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5881 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5882 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5887 result for FE_DOWNWARD rounding mode.
5888 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5892 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5894 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5895 in function argument name.
5897 2014-04-03 David Svoboda <svoboda@cert.org>
5900 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5903 2014-04-03 Roland McGrath <roland@hack.frob.com>
5905 * elf/dl-unmap-segments.h: New file.
5906 * sysdeps/generic/ldsodefs.h
5907 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5908 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5909 * elf/dl-fptr.c: Likewise.
5910 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5911 * sysdeps/aarch64/tlsdesc.c: Likewise.
5912 * sysdeps/arm/tlsdesc.c: Likewise.
5913 * sysdeps/i386/tlsdesc.c: Likewise.
5914 * sysdeps/tile/dl-runtime.c: Likewise.
5915 * sysdeps/x86_64/tlsdesc.c: Likewise.
5916 * elf/dl-load.h: New file.
5917 * elf/dl-load.c: Include it.
5918 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5919 Macros moved to dl-load.h.
5920 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5921 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5922 Use _dl_unmap_segments in place of __munmap.
5923 Break out segment-mapping loop into ...
5924 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5926 2014-04-03 Will Newton <will.newton@linaro.org>
5928 * elf/dl-lookup.c (do_lookup_x): Remove comment
5929 referring to nested function and move variable
5930 declarations down to before first use.
5932 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5936 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5938 * math/s_catanf.c (__catanf): Likewise.
5939 * math/s_catanh.c (__catanh): Likewise.
5940 * math/s_catanhf.c (__catanhf): Likewise.
5941 * math/s_catanhl.c (__catanhl): Likewise.
5942 * math/s_catanl.c (__catanl): Likewise.
5943 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5944 by positive zero when computing -Inf result.
5945 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5946 (catanh_test): Likewise.
5947 * sysdeps/i386/fpu/libm-test-ulps: Update.
5948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5951 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5952 instead of using underflowing value in computing result.
5953 * math/s_clog10.c (__clog10): Likewise.
5954 * math/s_clog10f.c (__clog10f): Likewise.
5955 * math/s_clog10l.c (__clog10l): Likewise.
5956 * math/s_clogf.c (__clogf): Likewise.
5957 * math/s_clogl.c (__clogl): Likewise.
5958 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5959 (clog10_test): Likewise.
5960 * sysdeps/i386/fpu/libm-test-ulps: Update.
5961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5963 2014-04-02 Alan Modra <amodra@gmail.com>
5966 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5967 output when value is near a power of two. Use int64_t for lx and
5968 remove casts. Use decimal rather than hex exponent constants.
5969 Don't use long double multiplication when double will suffice.
5970 * math/libm-test.inc (nextafter_test_data): Add tests.
5971 * NEWS: Add 16739 and 16786 to bug list.
5973 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5975 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5977 2014-04-01 Will Newton <will.newton@linaro.org>
5979 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5980 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5982 2014-04-01 Florian Weimer <fweimer@redhat.com>
5985 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5986 * nptl/tst-setuid2.c: New file.
5987 * nptl/Makefile (xtests): Add tst-setuid2.
5989 2014-04-01 Alan Modra <amodra@gmail.com>
5992 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5994 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5998 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5999 set errno as appropriate.
6000 * math/w_scalbf.c (__scalbf): Likewise.
6001 * math/w_scalbl.c (__scalbl): Likewise.
6002 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6003 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6004 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6008 * math/w_atan2.c: Include <errno.h>.
6009 (__atan2): Set errno for result underflowing to zero.
6010 * math/w_atan2f.c: Include <errno.h>.
6011 (__atan2f): Set errno for result underflowing to zero.
6012 * math/w_atan2l.c: Include <errno.h>.
6013 (__atan2l): Set errno for result underflowing to zero.
6014 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6016 * math/auto-libm-test-out: Regenerated.
6018 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6020 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6021 Encode instruction correctly in little endian.
6022 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6024 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6026 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6028 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6031 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6034 * sysdeps/unix/sysv/linux/kernel-features.h
6035 [__sparc__ && !__arch64__ && !__sparc_v9__]
6036 (__ASSUME_SET_ROBUST_LIST): Do not define.
6037 [__sparc__ && !__arch64__ && !__sparc_v9__]
6038 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6039 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6041 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6042 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6043 (__ASSUME_REQUEUE_PI): Likewise.
6044 (__ASSUME_SET_ROBUST_LIST): Likewise.
6045 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6046 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6048 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6049 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6051 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6053 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6055 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6056 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6058 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6059 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6063 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6064 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6065 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6067 2014-03-31 Will Newton <will.newton@linaro.org>
6069 * benchtests/Makefile (bench): Add ffs and ffsll to list
6071 * benchtests/ffs-inputs: New file.
6072 * benchtests/ffsll-inputs: Likewise.
6074 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6077 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6078 too large before casting to int.
6079 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6080 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6081 * math/libm-test.inc (scalb_test_data): Add more tests.
6083 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6085 * benchtests/Makefile (DETAILED_OPT): New make option.
6086 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6088 * benchtests/bench-skeleton.c: Include stdbool.h.
6089 (main): Store and print timings per input.
6090 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6091 member to each argument value.
6092 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6093 (_print_arg_data): Initialize per-input timing to 0.
6095 * benchtests/Makefile (timing-type): New binary.
6096 (bench-clean): Also remove bench-timing-type.
6097 (bench): New target for timing-type.
6098 (bench-func): Print output in JSON format.
6099 * benchtests/bench-skeleton.c (main): Print output in JSON
6101 * benchtests/bench-timing-type.c: New file.
6102 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6103 (TIMING_PRINT_STATS): Remove.
6104 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6107 * benchtests/bench-modf.c: Remove.
6108 * benchtests/modf-inputs: New inputs file.
6110 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6113 * math/s_clog10.c (M_PI_LOG10E): New macro.
6114 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6115 imaginary parts are 0.
6116 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6117 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6118 imaginary parts are 0.
6119 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6120 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6121 imaginary parts are 0.
6122 * math/libm-test.inc (clog10_test_data): Update expected results
6123 for when real and imaginary parts are 0.
6125 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6127 * elf/dl-load.c: Finish conversion of __builtin_expect into
6130 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6133 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6134 1+x for argument with exponent below -67.
6135 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6137 * math/auto-libm-test-in: Add more tests of exp.
6138 * math/auto-libm-test-out: Regenerated.
6140 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6143 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6144 (nscd_getnetgrent): Use it.
6147 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6150 2014-03-27 Andi Kleen <ak@linux.intel.com>
6152 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6153 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6154 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6155 (lll_robust_unlock): Remove out of line section. Use cfi
6157 (LLL_STUB_UNWIND_INFO*): Remove.
6158 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6159 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6160 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6161 (lll_robust_unlock): Remove out of line section. Use cfi
6163 (LLL_STUB_UNWIND_INFO*): Remove.
6165 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6168 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6171 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6173 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6175 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6178 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6180 * math/test-fenv-preserve.c: New file.
6181 * math/Makefile (tests): Add test-fenv-preserve.
6183 2014-03-26 Will Newton <will.newton@linaro.org>
6185 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6187 2014-03-25 Roland McGrath <roland@hack.frob.com>
6189 * scripts/versionlist.awk: Partition the version sets and emit all
6190 GLIBC_* (sorted) before all others (sorted).
6192 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6194 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6195 GLIBC_2.2.5 version.
6197 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6199 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6202 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6207 2014-03-25 Andreas Schwab <schwab@suse.de>
6209 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6210 label to be used after in6ailist is initialized.
6212 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6214 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6215 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6217 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6221 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6223 (fp_formats): Update initializers.
6224 (init_fp_formats): Initialize new field.
6225 (output_for_one_input_case): Allow underflow for results up to
6227 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6228 * math/auto-libm-test-in: Don't mark some underflows from asin and
6230 * math/auto-libm-test-out: Regenerated.
6231 * sysdeps/i386/fpu/libm-test-ulps: Update.
6232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6234 2014-03-25 Andreas Schwab <schwab@suse.de>
6236 * libio/Makefile (tst-ftell-partial-wide-ENV)
6237 (tst-ftell-active-handler-ENV): Define.
6239 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6241 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6243 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6245 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6247 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6249 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6250 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6251 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6253 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6256 * elf/dl-load.c (open_verify): Add mode parameter.
6257 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6258 (open_path): Change from boolean 'secure' to complete flag 'mode'
6259 (_dl_map_object): Adjust.
6260 * elf/Makefile (tests): Add tst-dlopen-aout.
6261 * elf/tst-dlopen-aout.c: New test.
6263 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6266 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6267 (struct stat): Rename member pad0 to __glibc_reserved0.
6270 * sysdeps/s390/s390-32/bits/wordsize.h
6271 (__WORDSIZE32_SIZE_ULONG): New define.
6272 * sysdeps/s390/s390-64/bits/wordsize.h
6273 (__WORDSIZE32_SIZE_ULONG): Likewise.
6274 * sysdeps/generic/stdint.h (SIZE_MAX):
6275 Define as UL if __WORDSIZE32_SIZE_ULONG.
6278 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6279 (__glibc_reserved0): New variable.
6280 (sa_flags): Change type to int.
6282 * posix/Makefile (before-compile): Use += before-compile instead
6285 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6286 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6288 2014-03-20 Andreas Schwab <schwab@suse.de>
6291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6292 non-matching result from nscd.
6294 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6296 * scripts/bench.py: Moved to ...
6297 * benchtests/scripts/bench.py: ... here.
6298 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6300 2014-03-24 Andreas Schwab <schwab@suse.de>
6303 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6304 alloca_account and account alloca use for struct in6ailist.
6306 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6309 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6310 rounding mode to recompute results that overflow to infinity or
6312 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6314 * math/auto-libm-test-out: Regenerated.
6315 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6316 (ccosh_test): Likewise.
6317 (csin_test_data): Use plus_oflow.
6318 (csin_test): Use ALL_RM_TEST.
6319 (csinh_test_data): Use plus_oflow.
6320 (csinh_test): Use ALL_RM_TEST.
6321 * sysdeps/i386/fpu/libm-test-ulps: Update.
6322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6324 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6326 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6327 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6328 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6331 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6333 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6334 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6335 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6336 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6338 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6339 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6341 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6342 * sysdeps/i386/fpu/libm-test-ulps: Update.
6343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6345 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6347 * scripts/bench.pl: Remove file.
6348 * scripts/bench.py: New benchmark script.
6349 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6350 * benchtests/README: Mention python dependency.
6351 * scripts/pylintrc: New file.
6352 * scripts/pylint: New file.
6354 * bits/mathdef.h: Use #ifdef instead of #if.
6355 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6356 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6357 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6358 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6359 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6360 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6362 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6363 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6365 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6367 and strpbrk-ppc64 objects.
6368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6369 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6370 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6371 multiarch strpbrk for POWER7.
6372 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6373 multiarch strpbrk for PPC64.
6374 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6376 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6379 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6381 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6382 (atan_test): Likewise.
6383 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6384 (atanh_test): Use ALL_RM_TEST.
6385 (atan2_test_data): Likewise.
6386 (cabs_test): Likewise.
6387 (cacosh_test): Likewise.
6388 (carg_test): Likewise.
6389 (casin_test): Likewise.
6390 (casinh_test): Likewise.
6391 (cbrt_test): Likewise.
6392 (csqrt_test): Likewise.
6393 (erf_test): Likewise.
6394 (erfc_test): Likewise.
6395 (pow10_test): Likewise.
6396 (exp2_test): Likewise.
6397 (hypot_test): Likewise.
6398 (j0_test): Likewise.
6399 (j1_test): Likewise.
6400 (lgamma_test): Likewise.
6401 (gamma_test): Likewise.
6402 (sincos_test): Likewise.
6403 (tanh_test): Likewise.
6404 (y0_test): Likewise.
6405 (y1_test): Likewise.
6406 * sysdeps/i386/fpu/libm-test-ulps: Update.
6407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6409 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6411 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6413 and strcspn-ppc64 objects.
6414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6415 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6416 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6417 multiarch strcspn for POWER7.
6418 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6419 multiarch strcspn for PPC64.
6420 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6422 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6425 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6427 * math/gen-libm-test.pl (generate_testfile): Expect only function
6428 name as argument to AUTO_TESTS_* and pass results for all rounding
6429 modes to parse_args.
6430 (parse_auto_input): Separate inputs of automatic tests from
6431 outputs before storing in %auto_tests.
6432 * math/libm-test.inc (acos_test_data): Update call to
6434 (acos_test): Use ALL_RM_TEST.
6435 (acos_tonearest_test_data): Remove.
6436 (acos_test_tonearest): Likewise.
6437 (acos_towardzero_test_data): Likewise.
6438 (acos_test_towardzero): Likewise.
6439 (acos_downward_test_data): Likewise.
6440 (acos_test_downward): Likewise.
6441 (acos_upward_test_data): Likewise.
6442 (acos_test_upward): Likewise.
6443 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6444 (asin_test_data): Likewise.
6445 (asin_test): Use ALL_RM_TEST.
6446 (asin_tonearest_test_data): Remove.
6447 (asin_test_tonearest): Likewise.
6448 (asin_towardzero_test_data): Likewise.
6449 (asin_test_towardzero): Likewise.
6450 (asin_downward_test_data): Likewise.
6451 (asin_test_downward): Likewise.
6452 (asin_upward_test_data): Likewise.
6453 (asin_test_upward): Likewise.
6454 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6455 (atan_test_data): Likewise.
6456 (atanh_test_data): Likewise.
6457 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6458 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6459 (carg_test_data): Likewise.
6460 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6461 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6462 (ccosh_test_data): Likewise.
6463 (cexp_test_data): Likewise.
6464 (clog_test_data): Likewise.
6465 (clog10_test_data): Likewise.
6466 (cos_test_data): Update call to AUTO_TESTS_f_f.
6467 (cos_test): Use ALL_RM_TEST.
6468 (cos_tonearest_test_data): Remove.
6469 (cos_test_tonearest): Likewise.
6470 (cos_towardzero_test_data): Likewise.
6471 (cos_test_towardzero): Likewise.
6472 (cos_downward_test_data): Likewise.
6473 (cos_test_downward): Likewise.
6474 (cos_upward_test_data): Likewise.
6475 (cos_test_upward): Likewise.
6476 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6477 (cosh_test): Use ALL_RM_TEST.
6478 (cosh_tonearest_test_data): Remove.
6479 (cosh_test_tonearest): Likewise.
6480 (cosh_towardzero_test_data): Likewise.
6481 (cosh_test_towardzero): Likewise.
6482 (cosh_downward_test_data): Likewise.
6483 (cosh_test_downward): Likewise.
6484 (cosh_upward_test_data): Likewise.
6485 (cosh_test_upward): Likewise.
6486 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6487 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6488 (ctan_test_data): Likewise.
6489 (ctan_test): Use ALL_RM_TEST.
6490 (ctan_tonearest_test_data): Remove.
6491 (ctan_test_tonearest): Likewise.
6492 (ctan_towardzero_test_data): Likewise.
6493 (ctan_test_towardzero): Likewise.
6494 (ctan_downward_test_data): Likewise.
6495 (ctan_test_downward): Likewise.
6496 (ctan_upward_test_data): Likewise.
6497 (ctan_test_upward): Likewise.
6498 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6499 (ctanh_test): Use ALL_RM_TEST.
6500 (ctanh_tonearest_test_data): Remove.
6501 (ctanh_test_tonearest): Likewise.
6502 (ctanh_towardzero_test_data): Likewise.
6503 (ctanh_test_towardzero): Likewise.
6504 (ctanh_downward_test_data): Likewise.
6505 (ctanh_test_downward): Likewise.
6506 (ctanh_upward_test_data): Likewise.
6507 (ctanh_test_upward): Likewise.
6508 (erf_test_data): Update call to AUTO_TESTS_f_f.
6509 (erfc_test_data): Likewise.
6510 (exp_test_data): Likewise.
6511 (exp_test): Use ALL_RM_TEST.
6512 (exp_tonearest_test_data): Remove.
6513 (exp_test_tonearest): Likewise.
6514 (exp_towardzero_test_data): Likewise.
6515 (exp_test_towardzero): Likewise.
6516 (exp_downward_test_data): Likewise.
6517 (exp_test_downward): Likewise.
6518 (exp_upward_test_data): Likewise.
6519 (exp_test_upward): Likewise.
6520 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6521 (exp10_test): Use ALL_RM_TEST.
6522 (exp10_tonearest_test_data): Remove.
6523 (exp10_test_tonearest): Likewise.
6524 (exp10_towardzero_test_data): Likewise.
6525 (exp10_test_towardzero): Likewise.
6526 (exp10_downward_test_data): Likewise.
6527 (exp10_test_downward): Likewise.
6528 (exp10_upward_test_data): Likewise.
6529 (exp10_test_upward): Likewise.
6530 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6531 (expm1_test_data): Likewise.
6532 (expm1_test): Use ALL_RM_TEST.
6533 (expm1_tonearest_test_data): Remove.
6534 (expm1_test_tonearest): Likewise.
6535 (expm1_towardzero_test_data): Likewise.
6536 (expm1_test_towardzero): Likewise.
6537 (expm1_downward_test_data): Likewise.
6538 (expm1_test_downward): Likewise.
6539 (expm1_upward_test_data): Likewise.
6540 (expm1_test_upward): Likewise.
6541 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6542 (fma_test): Use ALL_RM_TEST.
6543 (fma_towardzero_test_data): Remove.
6544 (fma_test_towardzero): Likewise.
6545 (fma_downward_test_data): Likewise.
6546 (fma_test_downward): Likewise.
6547 (fma_upward_test_data): Likewise.
6548 (fma_test_upward): Likewise.
6549 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6550 (j0_test_data): Update call to AUTO_TESTS_f_f.
6551 (j1_test_data): Likewise.
6552 (jn_test_data): Update call to AUTO_TESTS_if_f.
6553 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6554 (log_test_data): Update call to AUTO_TESTS_f_f.
6555 (log10_test_data): Likewise.
6556 (log1p_test_data): Likewise.
6557 (log2_test_data): Likewise.
6558 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6559 (pow_tonearest_test_data): Likewise.
6560 (sin_test_data): Update call to AUTO_TESTS_f_f.
6561 (sin_test): Use ALL_RM_TEST.
6562 (sin_tonearest_test_data): Remove.
6563 (sin_test_tonearest): Likewise.
6564 (sin_towardzero_test_data): Likewise.
6565 (sin_test_towardzero): Likewise.
6566 (sin_downward_test_data): Likewise.
6567 (sin_test_downward): Likewise.
6568 (sin_upward_test_data): Likewise.
6569 (sin_test_upward): Likewise.
6570 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6571 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6572 (sinh_test): Use ALL_RM_TEST.
6573 (sinh_tonearest_test_data): Remove.
6574 (sinh_test_tonearest): Likewise.
6575 (sinh_towardzero_test_data): Likewise.
6576 (sinh_test_towardzero): Likewise.
6577 (sinh_downward_test_data): Likewise.
6578 (sinh_test_downward): Likewise.
6579 (sinh_upward_test_data): Likewise.
6580 (sinh_test_upward): Likewise.
6581 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6582 (sqrt_test): Use ALL_RM_TEST.
6583 (sqrt_tonearest_test_data): Remove.
6584 (sqrt_test_tonearest): Likewise.
6585 (sqrt_towardzero_test_data): Likewise.
6586 (sqrt_test_towardzero): Likewise.
6587 (sqrt_downward_test_data): Likewise.
6588 (sqrt_test_downward): Likewise.
6589 (sqrt_upward_test_data): Likewise.
6590 (sqrt_test_upward): Likewise.
6591 (tan_test_data): Update call to AUTO_TESTS_f_f.
6592 (tan_test): Use ALL_RM_TEST.
6593 (tan_tonearest_test_data): Remove.
6594 (tan_test_tonearest): Likewise.
6595 (tan_towardzero_test_data): Likewise.
6596 (tan_test_towardzero): Likewise.
6597 (tan_downward_test_data): Likewise.
6598 (tan_test_downward): Likewise.
6599 (tan_upward_test_data): Likewise.
6600 (tan_test_upward): Likewise.
6601 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6602 (tgamma_test_data): Likewise.
6603 (y0_test_data): Likewise.
6604 (y1_test_data): Likewise.
6605 (yn_test_data): Update call to AUTO_TESTS_if_f.
6606 (main): Do not call removed functions.
6608 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6610 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6611 (ldexp_test_data): Remove.
6612 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6614 (scalb_test): Use ALL_RM_TEST.
6616 2014-03-19 Andreas Schwab <schwab@suse.de>
6618 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6620 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6623 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6624 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6625 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6626 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6627 (__ASSUME_PREADV): Undefine.
6628 (__ASSUME_PWRITEV): Likewise.
6630 2014-03-18 Roland McGrath <roland@hack.frob.com>
6632 * bits/mman-linux.h: Add comment about non-Linux use.
6633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6634 bits/mman-linux.h resting place.
6636 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6637 * bits/mman-linux.h: ... here.
6639 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6641 * conform/conformtest.pl: Add standard definition when calling C
6642 preprocessor on data files.
6643 (checknamespace): Remove unused variable.
6645 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6647 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6648 minus_oflow, plus_uflow and minus_uflow in expected results.
6649 * math/libm-test.inc (scalbn_test_data): Add more tests of
6650 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6652 (scalbn_test): Use ALL_RM_TEST.
6653 (scalbln_test_data): Add more tests of negative arguments. Use
6654 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6655 (scalbln_test): Use ALL_RM_TEST.
6657 2014-03-18 Roland McGrath <roland@hack.frob.com>
6659 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6661 2014-03-18 Will Newton <will.newton@linaro.org>
6663 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6666 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6668 * Makerules [!subdir] (check-abi): Exit with error status if a
6671 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6673 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6674 for rint. Include results for all rounding modes.
6675 (nearbyint_test): Use ALL_RM_TEST.
6676 (rint_test_data): Include all tests used for nearbyint.
6678 2014-03-17 Will Newton <will.newton@linaro.org>
6680 * nptl/sysdeps/pthread/pthread.h: Revert previous
6683 * sysdeps/generic/ldsodefs.h: Revert previous
6686 * libio/genops.c: Revert previous change.
6687 * libio/libioP.h: Likewise.
6688 * stdio-common/vfprintf.c: Likewise.
6690 * sysdeps/generic/math_private.h: Revert previous
6693 * sysdeps/generic/math_private.h: Check whether
6694 HAVE_RM_CTX is defined with #ifdef rather
6697 * argp/argp-fmtstream.h: Check whether
6698 __STRICT_ANSI__ is defined with #ifdef rather
6700 * argp/argp.h: Likewise.
6702 * libio/genops.c: Check whether
6703 _IO_JUMPS_OFFSET is defined with #ifdef rather
6705 * libio/libioP.h: Likewise.
6706 * stdio-common/vfprintf.c: Likewise.
6708 * sysdeps/generic/ldsodefs.h: Check whether
6709 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6712 * nptl/sysdeps/pthread/pthread.h: Check
6713 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6716 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6718 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6720 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6724 * libio/fileops.c (_IO_file_open): Seek to end of file but
6725 don't cache the offset.
6726 (get_file_offset): Remove function.
6727 (do_ftell): Use cached offset when available.
6728 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6729 don't cache the offset.
6730 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6732 (do_one_test): Call it.
6733 (do_ftell_test): Fix up expected old offset for a+ mode.
6734 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6737 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6738 up test status with function return status.
6739 (do_write_test): Likewise.
6740 (do_append_test): Likewise.
6742 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6743 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6746 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6748 * math/gen-libm-test.pl (parse_args): Handle results specified for
6749 each rounding mode separately.
6750 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6751 tests and results from lrint_tonearest_test_data,
6752 lrint_towardzero_test_data, lrint_downward_test_data and
6753 lrint_upward_test_data.
6754 (lrint_test): Use ALL_RM_TEST.
6755 (lrint_tonearest_test_data): Remove.
6756 (lrint_test_tonearest): Likewise.
6757 (lrint_towardzero_test_data): Likewise.
6758 (lrint_test_towardzero): Likewise.
6759 (lrint_downward_test_data): Likewise.
6760 (lrint_test_downward): Likewise.
6761 (lrint_upward_test_data): Likewise.
6762 (lrint_test_upward): Likewise.
6763 (llrint_test_data): Merge in per-rounding-mode tests and results
6764 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6765 llrint_downward_test_data and llrint_upward_test_data.
6766 (llrint_test): Use ALL_RM_TEST.
6767 (llrint_tonearest_test_data): Remove.
6768 (llrint_test_tonearest): Likewise.
6769 (llrint_towardzero_test_data): Likewise.
6770 (llrint_test_towardzero): Likewise.
6771 (llrint_downward_test_data): Likewise.
6772 (llrint_test_downward): Likewise.
6773 (llrint_upward_test_data): Likewise.
6774 (llrint_test_upward): Likewise.
6775 (rint_test_data): Merge in per-rounding-mode tests and results
6776 from rint_tonearest_test_data, rint_towardzero_test_data,
6777 rint_downward_test_data and rint_upward_test_data. Add
6778 per-rounding-mode results for tests not in those arrays.
6779 (rint_test): Use ALL_RM_TEST.
6780 (rint_tonearest_test_data): Remove.
6781 (rint_test_tonearest): Likewise.
6782 (rint_towardzero_test_data): Likewise.
6783 (rint_test_towardzero): Likewise.
6784 (rint_downward_test_data): Likewise.
6785 (rint_test_downward): Likewise.
6786 (rint_upward_test_data): Likewise.
6787 (rint_test_upward): Likewise.
6788 (main): Don't call removed functions.
6790 2014-03-14 Roland McGrath <roland@hack.frob.com>
6792 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6793 "Compiled on ..." crapola. It is anti-useful.
6795 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6797 * scripts/evaluate-test.sh: Handle fourth argument to determine
6798 whether test run should stop on failure.
6799 * Makeconfig (stop-on-test-failure): New variable.
6800 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6801 $(stop-on-test-failure).
6802 * Makefile (tests): Give a summary of results from testing and
6803 exit with failure status if they include an ERROR or FAIL.
6805 * manual/install.texi (Configuring and compiling): Mention
6806 stop-on-test-failure=y.
6807 * INSTALL: Regenerated.
6809 2014-03-14 Roland McGrath <roland@hack.frob.com>
6811 * scripts/versionlist.awk: New file.
6812 * Makerules [$(build-shared) = yes]
6813 (postclean-generated): Add Versions.def, not Versions.def.v and
6815 ($(common-objpfx)Versions.def.v.i): Target removed.
6816 ($(common-objpfx)Versions.def): New target.
6817 ($(common-objpfx)Versions.all): Depend on that rather that
6818 $(common-objpfx)Versions.def.v.
6819 * Versions.def: File removed.
6821 * Makeconfig (+gccwarn): Add -Wundef.
6822 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6823 a dl-sysdep.h breaking its contract.
6824 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6825 * include/stackinfo.h: New file.
6826 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6827 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6828 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6829 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6830 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6831 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6832 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6833 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6834 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6835 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6836 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6837 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6838 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6839 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6840 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6842 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6845 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6847 * math/libm-test.inc (round_test_data): Add more tests.
6850 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6852 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6855 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6857 * math/libm-test.inc (ceil_test_data): Add more tests.
6859 * math/libm-test.inc (trunc_test_data): Add more tests related to
6862 2014-03-14 Roland McGrath <roland@hack.frob.com>
6864 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6865 with #if rather than #ifdef.
6866 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6868 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6870 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6871 first. Disable AVX-512 GCC support if assembler doesn't support
6873 * sysdeps/x86_64/configure: Regenerated.
6875 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6877 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6878 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6879 (__old_pthread_attr_setstack): Likewise.
6880 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6881 [!_STACK_GROWS_DOWN]: Likewise.
6883 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6885 * config.make.in (have-bash2): Delete.
6886 * configure.ac (libc_cv_have_bash2): Delete.
6887 * configure: Regenerate.
6888 * elf/Makefile (common-ldd-rewrite): Rename to ...
6889 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6890 (sh-ldd-rewrite): Delete.
6891 (bash-ldd-rewrite): Delete.
6892 (have-bash2): Delete checks.
6893 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6896 * config.make.in (have-ksh): Delete.
6898 * configure.ac (libc_cv_have_ksh): Delete.
6899 * configure: Regenerate.
6901 * elf/Makefile: Delete $(have-ksh) check.
6902 ($(objpfx)sotruss): Change KSH to BASH.
6903 * elf/sotruss.ksh: Rename to ...
6904 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6905 function style to match POSIX. Drop ksh vim mode setting.
6907 * manual/time.texi (Specifying the Time Zone with TZ): Change
6908 Tuesday to Thursday.
6910 * debug/tst-longjmp_chk2.c: Update header comment.
6911 (stackoverflow_handler): Add comment. Call assert on pass value.
6913 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6915 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6916 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6917 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6918 (La_x86_64_vector): Add zmm.
6919 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6920 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6921 ($(objpfx)tst-audit10): New target.
6922 ($(objpfx)tst-audit10.out): Likewise.
6923 (tst-audit10-ENV): New.
6924 (AVX512-CFLAGS): Likewise.
6925 (CFLAGS-tst-audit10.c): Likewise.
6926 (CFLAGS-tst-auditmod10a.c): Likewise.
6927 (CFLAGS-tst-auditmod10b.c): Likewise.
6928 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6929 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6930 * sysdeps/x86_64/configure: Regenerated.
6931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6932 AVX-512 zmm register support.
6933 (_dl_x86_64_save_sse): Likewise.
6934 (_dl_x86_64_restore_sse): Likewise.
6935 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6936 size vector registers.
6937 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6938 (ZMM_SIZE): Likewise.
6939 * sysdeps/x86_64/tst-audit10.c: New file.
6940 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6941 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6943 2014-03-13 Roland McGrath <roland@hack.frob.com>
6945 * configure.ac (HAVE_EHDR_START): New check.
6946 * configure: Regenerated.
6947 * config.h.in (HAVE_EHDR_START): New #undef.
6948 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6949 assuming the lowest-addressed segment maps the start of the file.
6951 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6953 * INSTALL: Regenerated.
6955 2014-03-13 Will Newton <will.newton@linaro.org>
6957 * manual/setjmp.texi (System V contexts): Improve
6958 clarity and grammar of documentation.
6960 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6963 * elf/Makefile (tests): Add tst-pie2.
6964 (tests-pie): Add tst-pie2.
6965 * elf/tst-pie2.c: New file.
6966 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6968 * elf/rtld.c (map_doit): Load executable as lt_executable.
6969 (dl_main): Likewise.
6971 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6974 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6975 (__ASSUME_PSELECT): Undefine.
6977 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6980 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6981 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6984 selector for static builds.
6986 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6989 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6992 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6994 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6995 IFUNC selector for static builds.
6997 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6999 * sysdeps/mips/math_private.h [__mips_hard_float]
7000 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7001 libc_feresetround_mips_ctx.
7002 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7003 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7004 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7007 * math/s_nextafter.c (__nextafter): Do not return value from
7008 overflowing computation.
7009 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7010 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7011 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7013 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7015 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7016 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7018 2014-03-11 Roland McGrath <roland@hack.frob.com>
7020 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7021 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7022 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7023 the new mov targetting sp.
7025 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7028 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7029 Define it for static builds as well.
7030 (NO_BZERO_IMPL): Likewise.
7032 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7034 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7035 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7036 multiarch strspn for PPC64.
7037 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7038 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7040 (__libc_ifunc_impl_list): Likewise.
7041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7042 multiarch optimizations
7043 * string/strspn.c (strspn): Using macro to redefine symbol name.
7045 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7046 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7048 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7049 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7050 multiarch strncat for PPC64.
7051 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7052 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7054 (__libc_ifunc_impl_list): Likewise.
7055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7056 multiarch optimizations
7058 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7061 * nscd/nscd.service: Make service type forking.
7063 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7065 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7066 sign in non default rounding modes.
7067 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7069 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7071 * math/libm-test.inc (ALL_RM_TEST): New macro.
7072 (ceil_test): Use ALL_RM_TEST.
7073 (cimag_test): Likewise.
7074 (conj_test): Likewise.
7075 (copysign_test): Likewise.
7076 (cproj_test): Likewise.
7077 (creal_test): Likewise.
7078 (fabs_test): Likewise.
7079 (floor_test): Likewise.
7080 (fmax_test): Likewise.
7081 (fmin_test): Likewise.
7082 (fmod_test): Likewise.
7083 (fpclassify_test): Likewise.
7084 (frexp_test): Likewise.
7085 (ilogb_test): Likewise.
7086 (isfinite_test): Likewise.
7087 (finite_test): Likewise.
7088 (isgreater_test): Likewise.
7089 (isgreaterequal_test): Likewise.
7090 (isinf_test): Likewise.
7091 (isless_test): Likewise.
7092 (islessequal_test): Likewise.
7093 (islessgreater_test): Likewise.
7094 (isnan_test): Likewise.
7095 (isnormal_test): Likewise.
7096 (issignaling_test): Likewise.
7097 (isunordered_test): Likewise.
7098 (logb_test): Likewise.
7099 (logb_downward_test_data): Remove.
7100 (logb_test_downward): Likewise.
7101 (lround_test): Use ALL_RM_TEST.
7102 (llround_test): Likewise.
7103 (modf_test): Likewise.
7104 (nexttoward_test): Likewise.
7105 (remainder_test): Likewise.
7106 (drem_test): Likewise.
7107 (remainder_tonearest_test_data): Likewise.
7108 (remainder_test_tonearest): Likewise.
7109 (drem_test_tonearest): Likewise.
7110 (remainder_towardzero_test_data): Likewise.
7111 (remainder_test_towardzero): Likewise.
7112 (drem_test_towardzero): Likewise.
7113 (remainder_downward_test_data): Likewise.
7114 (remainder_test_downward): Likewise.
7115 (drem_test_downward): Likewise.
7116 (remainder_upward_test_data): Likewise.
7117 (remainder_test_upward): Likewise.
7118 (drem_test_upward): Likewise.
7119 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7120 (round_test): Use ALL_RM_TEST.
7121 (signbit_test): Likewise.
7122 (trunc_test): Likewise.
7123 (significand_test): Likewise.
7124 (main): Don't call removed functions.
7126 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7129 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7131 (ILL_ILLOPN): Likewise.
7132 (ILL_ILLADR): Likewise.
7133 (ILL_ILLTRP): Likewise.
7134 (ILL_PRVOPC): Likewise.
7135 (ILL_PRVREG): Likewise.
7136 (ILL_COPROC): Likewise.
7137 (ILL_BADSTK): Likewise.
7138 (FPE_INTDIV): Likewise.
7139 (FPE_INTOVF): Likewise.
7140 (FPE_FLTDIV): Likewise.
7141 (FPE_FLTOVF): Likewise.
7142 (FPE_FLTUND): Likewise.
7143 (FPE_FLTRES): Likewise.
7144 (FPE_FLTINV): Likewise.
7145 (FPE_FLTSUB): Likewise.
7146 (SEGV_MAPERR): Likewise.
7147 (SEGV_ACCERR): Likewise.
7148 (BUS_ADRALN): Likewise.
7149 (BUS_ADRERR): Likewise.
7150 (BUS_OBJERR): Likewise.
7151 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7152 (TRAP_TRACE): Likewise.
7153 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7155 (CLD_KILLED): Likewise.
7156 (CLD_DUMPED): Likewise.
7157 (CLD_TRAPPED): Likewise.
7158 (CLD_STOPPED): Likewise.
7159 (CLD_CONTINUED): Likewise.
7160 (POLL_IN): Likewise.
7161 (POLL_OUT): Likewise.
7162 (POLL_MSG): Likewise.
7163 (POLL_ERR): Likewise.
7164 (POLL_PRI): Likewise.
7165 (POLL_HUP): Likewise.
7166 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7168 (ILL_ILLOPN): Likewise.
7169 (ILL_ILLADR): Likewise.
7170 (ILL_ILLTRP): Likewise.
7171 (ILL_PRVOPC): Likewise.
7172 (ILL_PRVREG): Likewise.
7173 (ILL_COPROC): Likewise.
7174 (ILL_BADSTK): Likewise.
7175 (FPE_INTDIV): Likewise.
7176 (FPE_INTOVF): Likewise.
7177 (FPE_FLTDIV): Likewise.
7178 (FPE_FLTOVF): Likewise.
7179 (FPE_FLTUND): Likewise.
7180 (FPE_FLTRES): Likewise.
7181 (FPE_FLTINV): Likewise.
7182 (FPE_FLTSUB): Likewise.
7183 (SEGV_MAPERR): Likewise.
7184 (SEGV_ACCERR): Likewise.
7185 (BUS_ADRALN): Likewise.
7186 (BUS_ADRERR): Likewise.
7187 (BUS_OBJERR): Likewise.
7188 (BUS_MCEERR_AR): Likewise.
7189 (BUS_MCEERR_AO): Likewise.
7190 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7191 (TRAP_TRACE): Likewise.
7192 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7194 (CLD_KILLED): Likewise.
7195 (CLD_DUMPED): Likewise.
7196 (CLD_TRAPPED): Likewise.
7197 (CLD_STOPPED): Likewise.
7198 (CLD_CONTINUED): Likewise.
7199 (POLL_IN): Likewise.
7200 (POLL_OUT): Likewise.
7201 (POLL_MSG): Likewise.
7202 (POLL_ERR): Likewise.
7203 (POLL_PRI): Likewise.
7204 (POLL_HUP): Likewise.
7205 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7206 (ILL_ILLOPN): Likewise.
7207 (ILL_ILLADR): Likewise.
7208 (ILL_ILLTRP): Likewise.
7209 (ILL_PRVOPC): Likewise.
7210 (ILL_PRVREG): Likewise.
7211 (ILL_COPROC): Likewise.
7212 (ILL_BADSTK): Likewise.
7213 (FPE_INTDIV): Likewise.
7214 (FPE_INTOVF): Likewise.
7215 (FPE_FLTDIV): Likewise.
7216 (FPE_FLTOVF): Likewise.
7217 (FPE_FLTUND): Likewise.
7218 (FPE_FLTRES): Likewise.
7219 (FPE_FLTINV): Likewise.
7220 (FPE_FLTSUB): Likewise.
7221 (SEGV_MAPERR): Likewise.
7222 (SEGV_ACCERR): Likewise.
7223 (BUS_ADRALN): Likewise.
7224 (BUS_ADRERR): Likewise.
7225 (BUS_OBJERR): Likewise.
7226 (BUS_MCEERR_AR): Likewise.
7227 (BUS_MCEERR_AO): Likewise.
7228 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7229 (TRAP_TRACE): Likewise.
7230 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7232 (CLD_KILLED): Likewise.
7233 (CLD_DUMPED): Likewise.
7234 (CLD_TRAPPED): Likewise.
7235 (CLD_STOPPED): Likewise.
7236 (CLD_CONTINUED): Likewise.
7237 (POLL_IN): Likewise.
7238 (POLL_OUT): Likewise.
7239 (POLL_MSG): Likewise.
7240 (POLL_ERR): Likewise.
7241 (POLL_PRI): Likewise.
7242 (POLL_HUP): Likewise.
7243 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7245 (ILL_ILLOPN): Likewise.
7246 (ILL_ILLADR): Likewise.
7247 (ILL_ILLTRP): Likewise.
7248 (ILL_PRVOPC): Likewise.
7249 (ILL_PRVREG): Likewise.
7250 (ILL_COPROC): Likewise.
7251 (ILL_BADSTK): Likewise.
7252 (ILL_BADIADDR): Likewise.
7253 (ILL_BREAK): Likewise.
7254 (FPE_INTDIV): Likewise.
7255 (FPE_INTOVF): Likewise.
7256 (FPE_FLTDIV): Likewise.
7257 (FPE_FLTOVF): Likewise.
7258 (FPE_FLTUND): Likewise.
7259 (FPE_FLTRES): Likewise.
7260 (FPE_FLTINV): Likewise.
7261 (FPE_FLTSUB): Likewise.
7262 (FPE_DECOVF): Likewise.
7263 (FPE_DECDIV): Likewise.
7264 (FPE_DECERR): Likewise.
7265 (FPE_INVASC): Likewise.
7266 (FPE_INVDEC): Likewise.
7267 (SEGV_MAPERR): Likewise.
7268 (SEGV_ACCERR): Likewise.
7269 (SEGV_PSTKOVF): Likewise.
7270 (BUS_ADRALN): Likewise.
7271 (BUS_ADRERR): Likewise.
7272 (BUS_OBJERR): Likewise.
7273 (BUS_MCEERR_AR): Likewise.
7274 (BUS_MCEERR_AO): Likewise.
7275 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7276 (TRAP_TRACE): Likewise.
7277 (TRAP_BRANCH): Likewise.
7278 (TRAP_HWBKPT): Likewise.
7279 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7281 (CLD_KILLED): Likewise.
7282 (CLD_DUMPED): Likewise.
7283 (CLD_TRAPPED): Likewise.
7284 (CLD_STOPPED): Likewise.
7285 (CLD_CONTINUED): Likewise.
7286 (POLL_IN): Likewise.
7287 (POLL_OUT): Likewise.
7288 (POLL_MSG): Likewise.
7289 (POLL_ERR): Likewise.
7290 (POLL_PRI): Likewise.
7291 (POLL_HUP): Likewise.
7292 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7293 (ILL_ILLOPN): Likewise.
7294 (ILL_ILLADR): Likewise.
7295 (ILL_ILLTRP): Likewise.
7296 (ILL_PRVOPC): Likewise.
7297 (ILL_PRVREG): Likewise.
7298 (ILL_COPROC): Likewise.
7299 (ILL_BADSTK): Likewise.
7300 (FPE_INTDIV): Likewise.
7301 (FPE_INTOVF): Likewise.
7302 (FPE_FLTDIV): Likewise.
7303 (FPE_FLTOVF): Likewise.
7304 (FPE_FLTUND): Likewise.
7305 (FPE_FLTRES): Likewise.
7306 (FPE_FLTINV): Likewise.
7307 (FPE_FLTSUB): Likewise.
7308 (SEGV_MAPERR): Likewise.
7309 (SEGV_ACCERR): Likewise.
7310 (BUS_ADRALN): Likewise.
7311 (BUS_ADRERR): Likewise.
7312 (BUS_OBJERR): Likewise.
7313 (BUS_MCEERR_AR): Likewise.
7314 (BUS_MCEERR_AO): Likewise.
7315 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7316 (TRAP_TRACE): Likewise.
7317 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7319 (CLD_KILLED): Likewise.
7320 (CLD_DUMPED): Likewise.
7321 (CLD_TRAPPED): Likewise.
7322 (CLD_STOPPED): Likewise.
7323 (CLD_CONTINUED): Likewise.
7324 (POLL_IN): Likewise.
7325 (POLL_OUT): Likewise.
7326 (POLL_MSG): Likewise.
7327 (POLL_ERR): Likewise.
7328 (POLL_PRI): Likewise.
7329 (POLL_HUP): Likewise.
7330 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7331 (ILL_ILLOPN): Likewise.
7332 (ILL_ILLADR): Likewise.
7333 (ILL_ILLTRP): Likewise.
7334 (ILL_PRVOPC): Likewise.
7335 (ILL_PRVREG): Likewise.
7336 (ILL_COPROC): Likewise.
7337 (ILL_BADSTK): Likewise.
7338 (FPE_INTDIV): Likewise.
7339 (FPE_INTOVF): Likewise.
7340 (FPE_FLTDIV): Likewise.
7341 (FPE_FLTOVF): Likewise.
7342 (FPE_FLTUND): Likewise.
7343 (FPE_FLTRES): Likewise.
7344 (FPE_FLTINV): Likewise.
7345 (FPE_FLTSUB): Likewise.
7346 (SEGV_MAPERR): Likewise.
7347 (SEGV_ACCERR): Likewise.
7348 (BUS_ADRALN): Likewise.
7349 (BUS_ADRERR): Likewise.
7350 (BUS_OBJERR): Likewise.
7351 (BUS_MCEERR_AR): Likewise.
7352 (BUS_MCEERR_AO): Likewise.
7353 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7354 (TRAP_TRACE): Likewise.
7355 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7357 (CLD_KILLED): Likewise.
7358 (CLD_DUMPED): Likewise.
7359 (CLD_TRAPPED): Likewise.
7360 (CLD_STOPPED): Likewise.
7361 (CLD_CONTINUED): Likewise.
7362 (POLL_IN): Likewise.
7363 (POLL_OUT): Likewise.
7364 (POLL_MSG): Likewise.
7365 (POLL_ERR): Likewise.
7366 (POLL_PRI): Likewise.
7367 (POLL_HUP): Likewise.
7368 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7369 (ILL_ILLOPN): Likewise.
7370 (ILL_ILLADR): Likewise.
7371 (ILL_ILLTRP): Likewise.
7372 (ILL_PRVOPC): Likewise.
7373 (ILL_PRVREG): Likewise.
7374 (ILL_COPROC): Likewise.
7375 (ILL_BADSTK): Likewise.
7376 (FPE_INTDIV): Likewise.
7377 (FPE_INTOVF): Likewise.
7378 (FPE_FLTDIV): Likewise.
7379 (FPE_FLTOVF): Likewise.
7380 (FPE_FLTUND): Likewise.
7381 (FPE_FLTRES): Likewise.
7382 (FPE_FLTINV): Likewise.
7383 (FPE_FLTSUB): Likewise.
7384 (SEGV_MAPERR): Likewise.
7385 (SEGV_ACCERR): Likewise.
7386 (BUS_ADRALN): Likewise.
7387 (BUS_ADRERR): Likewise.
7388 (BUS_OBJERR): Likewise.
7389 (BUS_MCEERR_AR): Likewise.
7390 (BUS_MCEERR_AO): Likewise.
7391 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7392 (TRAP_TRACE): Likewise.
7393 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7395 (CLD_KILLED): Likewise.
7396 (CLD_DUMPED): Likewise.
7397 (CLD_TRAPPED): Likewise.
7398 (CLD_STOPPED): Likewise.
7399 (CLD_CONTINUED): Likewise.
7400 (POLL_IN): Likewise.
7401 (POLL_OUT): Likewise.
7402 (POLL_MSG): Likewise.
7403 (POLL_ERR): Likewise.
7404 (POLL_PRI): Likewise.
7405 (POLL_HUP): Likewise.
7406 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7407 (ILL_ILLOPN): Likewise.
7408 (ILL_ILLADR): Likewise.
7409 (ILL_ILLTRP): Likewise.
7410 (ILL_PRVOPC): Likewise.
7411 (ILL_PRVREG): Likewise.
7412 (ILL_COPROC): Likewise.
7413 (ILL_BADSTK): Likewise.
7414 (ILL_DBLFLT): Likewise.
7415 (ILL_HARDWALL): Likewise.
7416 (FPE_INTDIV): Likewise.
7417 (FPE_INTOVF): Likewise.
7418 (FPE_FLTDIV): Likewise.
7419 (FPE_FLTOVF): Likewise.
7420 (FPE_FLTUND): Likewise.
7421 (FPE_FLTRES): Likewise.
7422 (FPE_FLTINV): Likewise.
7423 (FPE_FLTSUB): Likewise.
7424 (SEGV_MAPERR): Likewise.
7425 (SEGV_ACCERR): Likewise.
7426 (BUS_ADRALN): Likewise.
7427 (BUS_ADRERR): Likewise.
7428 (BUS_OBJERR): Likewise.
7429 (BUS_MCEERR_AR): Likewise.
7430 (BUS_MCEERR_AO): Likewise.
7431 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7432 (TRAP_TRACE): Likewise.
7433 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7435 (CLD_KILLED): Likewise.
7436 (CLD_DUMPED): Likewise.
7437 (CLD_TRAPPED): Likewise.
7438 (CLD_STOPPED): Likewise.
7439 (CLD_CONTINUED): Likewise.
7440 (POLL_IN): Likewise.
7441 (POLL_OUT): Likewise.
7442 (POLL_MSG): Likewise.
7443 (POLL_ERR): Likewise.
7444 (POLL_PRI): Likewise.
7445 (POLL_HUP): Likewise.
7446 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7447 (ILL_ILLOPN): Likewise.
7448 (ILL_ILLADR): Likewise.
7449 (ILL_ILLTRP): Likewise.
7450 (ILL_PRVOPC): Likewise.
7451 (ILL_PRVREG): Likewise.
7452 (ILL_COPROC): Likewise.
7453 (ILL_BADSTK): Likewise.
7454 (FPE_INTDIV): Likewise.
7455 (FPE_INTOVF): Likewise.
7456 (FPE_FLTDIV): Likewise.
7457 (FPE_FLTOVF): Likewise.
7458 (FPE_FLTUND): Likewise.
7459 (FPE_FLTRES): Likewise.
7460 (FPE_FLTINV): Likewise.
7461 (FPE_FLTSUB): Likewise.
7462 (SEGV_MAPERR): Likewise.
7463 (SEGV_ACCERR): Likewise.
7464 (BUS_ADRALN): Likewise.
7465 (BUS_ADRERR): Likewise.
7466 (BUS_OBJERR): Likewise.
7467 (BUS_MCEERR_AR): Likewise.
7468 (BUS_MCEERR_AO): Likewise.
7469 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7470 (TRAP_TRACE): Likewise.
7471 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7473 (CLD_KILLED): Likewise.
7474 (CLD_DUMPED): Likewise.
7475 (CLD_TRAPPED): Likewise.
7476 (CLD_STOPPED): Likewise.
7477 (CLD_CONTINUED): Likewise.
7478 (POLL_IN): Likewise.
7479 (POLL_OUT): Likewise.
7480 (POLL_MSG): Likewise.
7481 (POLL_ERR): Likewise.
7482 (POLL_PRI): Likewise.
7483 (POLL_HUP): Likewise.
7484 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7485 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7488 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7489 before #include of <time.h>.
7490 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7491 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7492 (test-xfail-UNIX98/sched.h/conform): Likewise.
7494 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7496 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7497 error absence of trapping exception support.
7498 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7500 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7502 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7503 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7504 * timezone/Makefile (testdata): Move definition above include of
7506 (test-zones): New variable.
7507 (tests-special): Add zone files.
7508 (build-testdata): Use $(evaluate-test).
7510 * elf/Makefile (tests-special): Rename tests to end with .out.
7511 ($(objpfx)noload-mem): Likewise.
7512 ($(objpfx)tst-leaks1-mem): Likewise.
7513 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7514 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7515 $(objpfx)test-iconvconfig.out.
7516 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7517 set -e inside subshell and redirect output to file.
7518 * iconvdata/Makefile (generated): Rename tests to end with .out.
7520 (tests-special): Rename tests to end with .out.
7521 ($(objpfx)mtrace-tst-loading): Likewise.
7522 * intl/Makefile (generated): Likewise.
7523 (tests-special): Likewise.
7524 ($(objpfx)mtrace-tst-gettext): Likewise.
7525 * misc/Makefile (generated): Likewise.
7526 (tests-special): Likewise.
7527 ($(objpfx)tst-error1-mem): Likewise.
7528 * nptl/Makefile (tests-special): Likewise.
7529 ($(objpfx)tst-stack3-mem): Likewise.
7530 (generated): Likewise.
7531 * posix/Makefile (generated): Likewise.
7532 (tests-special): Likewise.
7533 (xtests-special): Likewise.
7534 ($(objpfx)tst-fnmatch-mem): Likewise.
7535 ($(objpfx)bug-regex2-mem): Likewise.
7536 ($(objpfx)bug-regex14-mem): Likewise.
7537 ($(objpfx)bug-regex21-mem): Likewise.
7538 ($(objpfx)bug-regex31-mem): Likewise.
7539 ($(objpfx)tst-vfork3-mem): Likewise.
7540 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7541 ($(objpfx)tst-pcre-mem): Likewise.
7542 ($(objpfx)tst-boost-mem): Likewise.
7543 ($(objpfx)bug-ga2-mem): Likewise.
7544 ($(objpfx)bug-glob2-mem): Likewise.
7545 * resolv/Makefile (generate): Likewise.
7546 (tests-special): Likewise.
7547 (xtests-special): Likewise.
7548 (generated): Likewise.
7549 ($(objpfx)mtrace-tst-leaks): Likewise.
7550 ($(objpfx)mtrace-tst-leaks2): Likewise.
7552 * scripts/merge-test-results.sh: New file.
7553 * Makefile (tests-special-notdir): New variable.
7554 (tests): Run merge-test-results.sh.
7556 * Rules (tests-special-notdir): New variable.
7557 (xtests-special-notdir): Likewise.
7558 (tests): Run merge-test-results.sh
7561 * Makeconfig (test-xfail-name): New variable.
7562 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7563 compute variable name for expected failures.
7564 * conform/Makefile (conformtest-headers-data): New variable.
7565 (conformtest-standards): Likewise.
7566 (conformtest-headers-ISO): Likewise.
7567 (conformtest-headers-ISO99): Likewise.
7568 (conformtest-headers-ISO11): Likewise.
7569 (conformtest-headers-POSIX): Likewise.
7570 (conformtest-headers-XPG3): Likewise.
7571 (conformtest-headers-XPG4): Likewise.
7572 (conformtest-headers-UNIX98): Likewise.
7573 (conformtest-headers-XOPEN2K): Likewise.
7574 (conformtest-headers-POSIX2008): Likewise.
7575 (conformtest-headers-XOPEN2K8): Likewise.
7576 (conformtest-header-list-base): Likewise.
7577 (conformtest-header-list-tests): Likewise.
7578 (conformtest-header-base): Likewise.
7579 (conformtest-header-tests): Likewise.
7580 (tests-special): Add $(conformtest-header-list-tests). If
7581 [$(fast-check) && !$(cross-compiling)], add
7582 $(conformtest-header-tests) instead of
7583 $(objpfx)run-conformtest.out.
7584 (generated): Add $(conformtest-header-list-base). If
7585 [$(fast-check) && !$(cross-compiling)], add
7586 $(conformtest-header-base). Remove previous setting.
7587 ($(conformtest-header-list-tests)): New target.
7588 (test-xfail-run-conformtest): Remove variable.
7589 ($(objpfx)run-conformtest.out): Remove target.
7590 (test-xfail-ISO11/complex.h/conform): New variable.
7591 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7592 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7593 (test-xfail-XPG3/varargs.h/conform): Likewise.
7594 (test-xfail-XPG4/varargs.h/conform): Likewise.
7595 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7596 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7597 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7598 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7599 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7600 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7601 (test-xfail-XPG3/ftw.h/conform): Likewise.
7602 (test-xfail-XPG3/grp.h/conform): Likewise.
7603 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7604 (test-xfail-XPG3/limits.h/conform): Likewise.
7605 (test-xfail-XPG3/pwd.h/conform): Likewise.
7606 (test-xfail-XPG3/search.h/conform): Likewise.
7607 (test-xfail-XPG3/signal.h/conform): Likewise.
7608 (test-xfail-XPG3/stdio.h/conform): Likewise.
7609 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7610 (test-xfail-XPG3/string.h/conform): Likewise.
7611 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7612 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7613 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7614 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7615 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7616 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7617 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7618 (test-xfail-XPG3/termios.h/conform): Likewise.
7619 (test-xfail-XPG3/time.h/conform): Likewise.
7620 (test-xfail-XPG3/unistd.h/conform): Likewise.
7621 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7622 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7623 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7624 (test-xfail-XPG4/netdb.h/conform): Likewise.
7625 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7626 (test-xfail-XPG4/signal.h/conform): Likewise.
7627 (test-xfail-XPG4/stdio.h/conform): Likewise.
7628 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7629 (test-xfail-XPG4/stropts.h/conform): Likewise.
7630 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7631 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7632 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7633 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7634 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7635 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7636 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7637 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7638 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7639 (test-xfail-XPG4/termios.h/conform): Likewise.
7640 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7641 (test-xfail-XPG4/unistd.h/conform): Likewise.
7642 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7643 (test-xfail-POSIX/sched.h/conform): Likewise.
7644 (test-xfail-POSIX/signal.h/conform): Likewise.
7645 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7646 (test-xfail-POSIX/tar.h/conform): Likewise.
7647 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7648 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7649 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7650 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7651 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7652 (test-xfail-UNIX98/sched.h/conform): Likewise.
7653 (test-xfail-UNIX98/signal.h/conform): Likewise.
7654 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7655 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7656 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7657 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7658 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7659 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7660 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7661 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7662 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7663 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7664 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7665 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7666 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7667 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7668 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7669 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7670 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7671 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7672 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7673 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7674 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7675 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7676 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7677 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7678 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7679 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7680 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7681 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7682 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7683 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7684 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7685 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7686 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7687 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7688 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7689 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7690 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7691 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7692 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7693 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7694 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7695 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7696 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7697 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7698 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7699 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7700 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7701 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7702 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7703 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7704 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7705 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7706 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7707 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7708 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7709 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7710 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7711 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7712 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7713 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7714 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7715 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7716 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7717 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7718 (conformtest-cc-flags): Likewise.
7719 ($(conformtest-header-tests): New target.
7720 * conform/check-header-lists.sh: New file.
7721 * conform/run-conformtest.sh: Remove.
7723 * conform/conformtest.pl: Allow ' and \ in values given for
7725 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7727 [POSIX] (sys/types.h): Likewise.
7728 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7730 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7732 * conform/data/signal.h-data (SIGIO): Remove expectation.
7733 [XPG3] (SIGBUS): Do not expect.
7734 [POSIX || XPG3] (SIGPOLL): Likewise.
7735 [POSIX || XPG3] (SIGPROF): Likewise.
7736 [POSIX || XPG3] (SIGSYS): Likewise.
7737 [XPG3] (SIGTRAP): Likewise.
7738 [POSIX || XPG3] (SIGURG): Likewise.
7739 [POSIX || XPG3] (SIGVTALRM): Likewise.
7740 [POSIX || XPG3] (SIGXCPU): Likewise.
7741 [POSIX || XPG3] (SIGXFSZ): Likewise.
7742 [POSIX] (SA_SIGINFO): Expect.
7743 [XPG3] (siginfo_t): Do not expect type or contents.
7744 [POSIX] (si_pid): Do not expect element.
7745 [POSIX] (si_uid): Likewise.
7746 [POSIX] (si_addr): Likewise.
7747 [POSIX] (si_status): Likewise.
7748 [POSIX] (si_band): Likewise.
7749 [XPG4] (si_value): Likewise.
7750 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7751 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7752 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7753 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7754 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7755 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7756 [POSIX || XPG3] (ILL_COPROC): Likewise.
7757 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7758 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7759 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7760 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7761 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7762 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7763 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7764 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7765 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7766 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7767 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7768 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7769 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7770 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7771 [POSIX || XPG3] (CLD_EXITED): Likewise.
7772 [POSIX || XPG3] (CLD_KILLED): Likewise.
7773 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7774 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7775 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7776 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7777 [POSIX || XPG3] (POLL_IN): Likewise.
7778 [POSIX || XPG3] (POLL_OUT): Likewise.
7779 [POSIX || XPG3] (POLL_MSG): Likewise.
7780 [POSIX || XPG3] (POLL_ERR): Likewise.
7781 [POSIX || XPG3] (POLL_PRI): Likewise.
7782 [POSIX || XPG3] (POLL_HUP): Likewise.
7783 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7784 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7785 (SIG*): Do not allow.
7786 [XPG3] (si_*): Likewise.
7787 [XPG3] (SI_*): Likewise.
7788 [XPG3 || XPG4] (sigev_*): Likewise.
7789 [XPG3 || XPG4] (SIGEV_*): Likewise.
7790 [XPG3 || XPG4] (sival_*): Likewise.
7791 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7792 [POSIX || XPG3] (BUS_*): Likewise.
7793 [POSIX || XPG3] (CLD_*): Likewise.
7794 [POSIX || XPG3] (FPE_*): Likewise.
7795 [POSIX || XPG3] (ILL_*): Likewise.
7796 [POSIX || XPG3] (POLL_*): Likewise.
7797 [POSIX || XPG3] (SEGV_*): Likewise.
7798 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7799 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7800 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7801 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7802 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7803 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7804 Specify type and value.
7805 (TVERSLEN): Likewise.
7806 (REGTYPE): Likewise.
7807 (AREGTYPE): Likewise.
7808 (LNKTYPE): Likewise.
7809 (SYMTYPE): Likewise.
7810 (CHRTYPE): Likewise.
7811 (BLKTYPE): Likewise.
7812 (DIRTYPE): Likewise.
7813 (FIFOTYPE): Likewise.
7814 (CONTTYPE): Likewise.
7819 (TUWRITE): Likewise.
7822 (TGWRITE): Likewise.
7825 (TOWRITE): Likewise.
7827 [POSIX] (TSVTX): Expect constant.
7829 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7831 * Makefile (tests): Change dependencies to ....
7832 (tests-special): ... additions to this variable.
7833 (tests): Depend on $(tests-special).
7834 * Makerules (check-abi-list): New variable.
7835 (check-abi): Depend on $(check-abi-list).
7836 [$(subdir) = elf] (tests-special): Add
7837 $(objpfx)check-abi-libc.out.
7838 [$(build-shared) = yes && subdir] (tests-special): Add
7840 [$(build-shared) = yes && subdir] (tests): Do not depend on
7842 * Rules (tests): Depend on $(tests-special).
7843 (xtests): Depend on $(xtests-special).
7844 * catgets/Makefile (tests): Change dependencies to ....
7845 (tests-special): ... additions to this variable.
7846 * conform/Makefile (tests): Change dependencies to ....
7847 (tests-special): ... additions to this variable.
7848 * elf/Makefile (tests): Change dependencies to ....
7849 (tests-special): ... additions to this variable.
7850 * grp/Makefile (tests): Change dependencies to ....
7851 (tests-special): ... additions to this variable.
7852 * iconv/Makefile (xtests): Change dependencies to ....
7853 (xtests-special): ... additions to this variable.
7854 * iconvdata/Makefile (tests): Change dependencies to ....
7855 (tests-special): ... additions to this variable.
7856 * intl/Makefile (tests): Change dependencies to ....
7857 (tests-special): ... additions to this variable. Also add
7858 $(objpfx)tst-gettext.out.
7859 * io/Makefile (tests): Change dependencies to ....
7860 (tests-special): ... additions to this variable.
7861 * libio/Makefile (tests): Change dependencies to ....
7862 (tests-special): ... additions to this variable.
7863 * malloc/Makefile (tests): Change dependencies to ....
7864 (tests-special): ... additions to this variable.
7865 * misc/Makefile (tests): Change dependencies to ....
7866 (tests-special): ... additions to this variable.
7867 * nptl/Makefile (tests): Change dependencies to ....
7868 (tests-special): ... additions to this variable.
7869 * nptl_db/Makefile (tests): Change dependencies to ....
7870 (tests-special): ... additions to this variable.
7871 * posix/Makefile (tests): Change dependencies to ....
7872 (tests-special): ... additions to this variable.
7873 (xtests): Change dependencies to ....
7874 (xtests-special): ... additions to this variable.
7875 * resolv/Makefile (tests): Change dependencies to ....
7876 (tests-special): ... additions to this variable.
7877 (xtests): Change dependencies to ....
7878 (xtests-special): ... additions to this variable.
7879 * stdio-common/Makefile (tests): Change dependencies to ....
7880 (tests-special): ... additions to this variable.
7881 (do-tst-unbputc): Remove target.
7882 (do-tst-printf): Likewise.
7883 * stdlib/Makefile (tests): Change dependencies to ....
7884 (tests-special): ... additions to this variable.
7885 * string/Makefile (tests): Change dependencies to ....
7886 (tests-special): ... additions to this variable.
7887 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7888 (tests-special): ... additions to this variable.
7890 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7892 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7894 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7895 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7897 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7898 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7899 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7900 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7901 * conform/data/libgen.h-data [XPG3]: Likewise.
7902 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7903 * conform/data/ndbm.h-data [XPG3]: Likewise.
7904 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7905 * conform/data/netdb.h-data [XPG3]: Likewise.
7906 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7907 * conform/data/poll.h-data [XPG3]: Likewise.
7908 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7909 * conform/data/strings.h-data [XPG3]: Likewise.
7910 * conform/data/stropts.h-data [XPG3]: Likewise.
7911 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7912 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7913 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7915 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7916 * conform/data/sys/time.h-data [XPG3]: Likewise.
7917 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7918 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7919 * conform/data/sys/un.h-data [XPG3]: Likewise.
7920 * conform/data/syslog.h-data [XPG3]: Likewise.
7921 * conform/data/ucontext.h-data [XPG3]: Likewise.
7922 * conform/data/utmpx.h-data [XPG3]: Likewise.
7923 * conform/data/varargs.h-data [UNIX98]: Enable file.
7925 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7927 * math/libm-test.inc (struct test_f_f_data): Move expected results
7928 into structure for each rounding mode.
7929 (struct test_ff_f_data): Likewise.
7930 (struct test_ff_f_data_nexttoward): Likewise.
7931 (struct test_fi_f_data): Likewise.
7932 (struct test_fl_f_data): Likewise.
7933 (struct test_if_f_data): Likewise.
7934 (struct test_fff_f_data): Likewise.
7935 (struct test_c_f_data): Likewise.
7936 (struct test_f_f1_data): Likewise.
7937 (struct test_fF_f1_data): Likewise.
7938 (struct test_ffI_f1_data): Likewise.
7939 (struct test_c_c_data): Likewise.
7940 (struct test_cc_c_data): Likewise.
7941 (struct test_f_i_data): Likewise.
7942 (struct test_ff_i_data): Likewise.
7943 (struct test_f_l_data): Likewise.
7944 (struct test_f_L_data): Likewise.
7945 (struct test_fFF_11_data): Likewise.
7947 (RM_FE_DOWNWARD): Likewise.
7948 (RM_FE_TONEAREST): Likewise.
7949 (RM_FE_TOWARDZERO): Likewise.
7950 (RM_FE_UPWARD): Likewise.
7951 (RUN_TEST_LOOP_f_f): Update references to expected results.
7952 (RUN_TEST_LOOP_2_f): Likewise.
7953 (RUN_TEST_LOOP_fff_f): Likewise.
7954 (RUN_TEST_LOOP_c_f): Likewise.
7955 (RUN_TEST_LOOP_f_f1): Likewise.
7956 (RUN_TEST_LOOP_fF_f1): Likewise.
7957 (RUN_TEST_LOOP_fI_f1): Likewise.
7958 (RUN_TEST_LOOP_ffI_f1): Likewise.
7959 (RUN_TEST_LOOP_c_c): Likewise.
7960 (RUN_TEST_LOOP_cc_c): Likewise.
7961 (RUN_TEST_LOOP_f_i): Likewise.
7962 (RUN_TEST_LOOP_f_i_tg): Likewise.
7963 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7964 (RUN_TEST_LOOP_f_b): Likewise.
7965 (RUN_TEST_LOOP_f_b_tg): Likewise.
7966 (RUN_TEST_LOOP_f_l): Likewise.
7967 (RUN_TEST_LOOP_f_L): Likewise.
7968 (RUN_TEST_LOOP_fFF_11): Likewise.
7969 * math/gen-libm-test.pl (parse_args): Output four copies of
7970 expected results for each test.
7972 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7973 (__ASSUME_UTIMES): Remove.
7974 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7975 (__ASSUME_UTIMES): Likewise.
7977 * math/gen-auto-libm-tests.c: Update comment on output format.
7978 (output_for_one_input_case): Generate before-rounding and
7979 after-rounding information as conditions on output flags not
7980 floating-point format.
7981 * math/auto-libm-test-out: Regenerated.
7982 * math/gen-libm-test.pl (cond_value): New function.
7983 (or_cond_value): Use cond_value.
7984 (generate_testfile): Handle conditional exceptions.
7986 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7988 * math/libm-test.inc (max_valid_error): New variable.
7989 (init_max_error): Take new argument specifying whether function
7990 results are exactly determined. Set max_valid_error and bound
7991 other variables for errors based on this argument.
7992 (set_max_error): Do not record results above max_valid_error.
7993 (check_float_internal): Only accept errors of up to 0.5ulps if
7994 also at most max_valid_error.
7995 (START): Take new argument EXACT and pass it to init_max_error.
7996 (acos_test): Update call to START.
7997 (acos_test_tonearest): Likewise.
7998 (acos_test_towardzero): Likewise.
7999 (acos_test_downward): Likewise.
8000 (acos_test_upward): Likewise.
8001 (acosh_test): Likewise.
8002 (asin_test): Likewise.
8003 (asin_test_tonearest): Likewise.
8004 (asin_test_towardzero): Likewise.
8005 (asin_test_downward): Likewise.
8006 (asin_test_upward): Likewise.
8007 (asinh_test): Likewise.
8008 (atan_test): Likewise.
8009 (atanh_test): Likewise.
8010 (atan2_test): Likewise.
8011 (cabs_test): Likewise.
8012 (cacos_test): Likewise.
8013 (cacosh_test): Likewise.
8014 (carg_test): Likewise.
8015 (casin_test): Likewise.
8016 (casinh_test): Likewise.
8017 (catan_test): Likewise.
8018 (catanh_test): Likewise.
8019 (cbrt_test): Likewise.
8020 (ccos_test): Likewise.
8021 (ccosh_test): Likewise.
8022 (ceil_test): Likewise.
8023 (cexp_test): Likewise.
8024 (cimag_test): Likewise.
8025 (clog_test): Likewise.
8026 (clog10_test): Likewise.
8027 (conj_test): Likewise.
8028 (copysign_test): Likewise.
8029 (cos_test): Likewise.
8030 (cos_test_tonearest): Likewise.
8031 (cos_test_towardzero): Likewise.
8032 (cos_test_downward): Likewise.
8033 (cos_test_upward): Likewise.
8034 (cosh_test): Likewise.
8035 (cosh_test_tonearest): Likewise.
8036 (cosh_test_towardzero): Likewise.
8037 (cosh_test_downward): Likewise.
8038 (cosh_test_upward): Likewise.
8039 (cpow_test): Likewise.
8040 (cproj_test): Likewise.
8041 (creal_test): Likewise.
8042 (csin_test): Likewise.
8043 (csinh_test): Likewise.
8044 (csqrt_test): Likewise.
8045 (ctan_test): Likewise.
8046 (ctan_test_tonearest): Likewise.
8047 (ctan_test_towardzero): Likewise.
8048 (ctan_test_downward): Likewise.
8049 (ctan_test_upward): Likewise.
8050 (ctanh_test): Likewise.
8051 (ctanh_test_tonearest): Likewise.
8052 (ctanh_test_towardzero): Likewise.
8053 (ctanh_test_downward): Likewise.
8054 (ctanh_test_upward): Likewise.
8055 (erf_test): Likewise.
8056 (erfc_test): Likewise.
8057 (exp_test): Likewise.
8058 (exp_test_tonearest): Likewise.
8059 (exp_test_towardzero): Likewise.
8060 (exp_test_downward): Likewise.
8061 (exp_test_upward): Likewise.
8062 (exp10_test): Likewise.
8063 (exp10_test_tonearest): Likewise.
8064 (exp10_test_towardzero): Likewise.
8065 (exp10_test_downward): Likewise.
8066 (exp10_test_upward): Likewise.
8067 (pow10_test): Likewise.
8068 (exp2_test): Likewise.
8069 (expm1_test): Likewise.
8070 (expm1_test_tonearest): Likewise.
8071 (expm1_test_towardzero): Likewise.
8072 (expm1_test_downward): Likewise.
8073 (expm1_test_upward): Likewise.
8074 (fabs_test): Likewise.
8075 (fdim_test): Likewise.
8076 (floor_test): Likewise.
8077 (fma_test): Likewise.
8078 (fma_test_towardzero): Likewise.
8079 (fma_test_downward): Likewise.
8080 (fma_test_upward): Likewise.
8081 (fmax_test): Likewise.
8082 (fmin_test): Likewise.
8083 (fmod_test): Likewise.
8084 (fpclassify_test): Likewise.
8085 (frexp_test): Likewise.
8086 (hypot_test): Likewise.
8087 (ilogb_test): Likewise.
8088 (isfinite_test): Likewise.
8089 (finite_test): Likewise.
8090 (isgreater_test): Likewise.
8091 (isgreaterequal_test): Likewise.
8092 (isinf_test): Likewise.
8093 (isless_test): Likewise.
8094 (islessequal_test): Likewise.
8095 (islessgreater_test): Likewise.
8096 (isnan_test): Likewise.
8097 (isnormal_test): Likewise.
8098 (issignaling_test): Likewise.
8099 (isunordered_test): Likewise.
8100 (j0_test): Likewise.
8101 (j1_test): Likewise.
8102 (jn_test): Likewise.
8103 (ldexp_test): Likewise.
8104 (lgamma_test): Likewise.
8105 (gamma_test): Likewise.
8106 (lrint_test): Likewise.
8107 (lrint_test_tonearest): Likewise.
8108 (lrint_test_towardzero): Likewise.
8109 (lrint_test_downward): Likewise.
8110 (lrint_test_upward): Likewise.
8111 (llrint_test): Likewise.
8112 (llrint_test_tonearest): Likewise.
8113 (llrint_test_towardzero): Likewise.
8114 (llrint_test_downward): Likewise.
8115 (llrint_test_upward): Likewise.
8116 (log_test): Likewise.
8117 (log10_test): Likewise.
8118 (log1p_test): Likewise.
8119 (log2_test): Likewise.
8120 (logb_test): Likewise.
8121 (logb_test_downward): Likewise.
8122 (lround_test): Likewise.
8123 (llround_test): Likewise.
8124 (modf_test): Likewise.
8125 (nearbyint_test): Likewise.
8126 (nextafter_test): Likewise.
8127 (nexttoward_test): Likewise.
8128 (pow_test): Likewise.
8129 (pow_test_tonearest): Likewise.
8130 (pow_test_towardzero): Likewise.
8131 (pow_test_downward): Likewise.
8132 (pow_test_upward): Likewise.
8133 (remainder_test): Likewise.
8134 (drem_test): Likewise.
8135 (remainder_test_tonearest): Likewise.
8136 (drem_test_tonearest): Likewise.
8137 (remainder_test_towardzero): Likewise.
8138 (drem_test_towardzero): Likewise.
8139 (remainder_test_downward): Likewise.
8140 (drem_test_downward): Likewise.
8141 (remainder_test_upward): Likewise.
8142 (drem_test_upward): Likewise.
8143 (remquo_test): Likewise.
8144 (rint_test): Likewise.
8145 (rint_test_tonearest): Likewise.
8146 (rint_test_towardzero): Likewise.
8147 (rint_test_downward): Likewise.
8148 (rint_test_upward): Likewise.
8149 (round_test): Likewise.
8150 (scalb_test): Likewise.
8151 (scalbn_test): Likewise.
8152 (scalbln_test): Likewise.
8153 (signbit_test): Likewise.
8154 (sin_test): Likewise.
8155 (sin_test_tonearest): Likewise.
8156 (sin_test_towardzero): Likewise.
8157 (sin_test_downward): Likewise.
8158 (sin_test_upward): Likewise.
8159 (sincos_test): Likewise.
8160 (sinh_test): Likewise.
8161 (sinh_test_tonearest): Likewise.
8162 (sinh_test_towardzero): Likewise.
8163 (sinh_test_downward): Likewise.
8164 (sinh_test_upward): Likewise.
8165 (sqrt_test): Likewise.
8166 (sqrt_test_tonearest): Likewise.
8167 (sqrt_test_towardzero): Likewise.
8168 (sqrt_test_downward): Likewise.
8169 (sqrt_test_upward): Likewise.
8170 (tan_test): Likewise.
8171 (tan_test_tonearest): Likewise.
8172 (tan_test_towardzero): Likewise.
8173 (tan_test_downward): Likewise.
8174 (tan_test_upward): Likewise.
8175 (tanh_test): Likewise.
8176 (tgamma_test): Likewise.
8177 (trunc_test): Likewise.
8178 (y0_test): Likewise.
8179 (y1_test): Likewise.
8180 (yn_test): Likewise.
8181 (significand_test): Likewise.
8183 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8184 individual tests in comment.
8185 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8186 (prev_max_error): New variable.
8187 (prev_real_max_error): Likewise.
8188 (prev_imag_max_error): Likewise.
8189 (compare_ulp_data): Don't refer to test names in comment.
8190 (find_test_ulps): Remove function.
8191 (find_function_ulps): Likewise.
8192 (find_complex_function_ulps): Likewise.
8193 (init_max_error): Take function name as argument. Look up ulps
8195 (print_ulps): Remove function.
8196 (print_max_error): Use prev_max_error instead of calling
8198 (print_complex_max_error): Use prev_real_max_error and
8199 prev_imag_max_error instead of calling find_complex_function_ulps.
8200 (check_float_internal): Take max_ulp parameter instead of calling
8201 find_test_ulps. Don't call print_ulps.
8202 (check_float): Update call to check_float_internal.
8203 (check_complex): Update calls to check_float_internal.
8204 (START): Pass argument to init_max_error.
8205 * math/gen-libm-test.pl (%results): Don't include "kind"
8207 (parse_ulps): Don't handle ulps of individual tests.
8208 (print_ulps_file): Likewise.
8209 (output_ulps): Likewise.
8210 * math/README.libm-test: Update.
8211 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8213 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8214 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8215 * sysdeps/arm/libm-test-ulps: Likewise.
8216 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8217 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8218 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8219 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8220 * sysdeps/microblaze/libm-test-ulps: Likewise.
8221 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8222 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8223 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8224 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8225 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8226 * sysdeps/sh/libm-test-ulps: Likewise.
8227 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8228 * sysdeps/tile/libm-test-ulps: Likewise.
8229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8231 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8233 * math/libm-test.inc (print_complex_max_error): Check separately
8234 whether real and imaginary errors are within allowed range and
8235 pass 0 to print_complex_function_ulps instead of value within
8238 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8240 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8242 (get_handles_fopen): Likewise.
8243 (do_write_test): Likewise.
8245 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8247 * libio/fileops.c (do_ftell): Use cached offset when
8249 * libio/iofwide.c (do_ftell_wide): Likewise.
8250 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8252 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8255 * libio/libioP.h (get_file_offset): New function.
8256 * libio/fileops.c (get_file_offset): Likewise.
8257 (do_ftell): Likewise.
8258 (_IO_new_file_seekoff): Split out ftell logic.
8259 * libio/wfileops.c (do_ftell_wide): Likewise.
8260 (_IO_wfile_seekoff): Split out ftell logic.
8261 * libio/tst-ftell-active-handler.c: New test case.
8262 * libio/Makefile (tests): Add it.
8264 2014-03-03 Roland McGrath <roland@hack.frob.com>
8266 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8267 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8269 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8272 * nscd/connections.c (nscd_init): Call do_exit.
8273 (start_threads): Call do_exit and notify_parent.
8274 (begin_drop_privileges): Call do_exit.
8275 (finish_drop_privileges): Likewise.
8276 * nscd/selinux.c (preserve_capabilities): Likewise.
8277 (install_real_capabilities): Likewise.
8278 (nscd_selinux_enabled): Likewise.
8279 (avc_create_thread): Likewise.
8280 (avc_alloc_lock): Likewise.
8281 (nscd_avc_init): Likewise.
8282 * nscd/nscd.c (parent_fd): New static variable.
8283 (main): Create a pipe between parent and child processes.
8284 Skip closing parent_fd.
8285 (monitor_child): New function.
8286 (do_exit): Likewise.
8287 (notify_parent): Likewise.
8288 * nscd/nscd.h (notify_parent): Likewise.
8289 (do_exit): Likewise.
8291 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8293 * malloc/malloc.c (__libc_calloc): Revert last change.
8295 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8299 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8301 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8305 (__libc_ifunc_impl_list): Likewise.
8306 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8307 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8308 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8309 * string/strrchr.c: Define STRRCHR.
8311 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8313 * benchtest/bench-strtok.c (simple_strtok): Delete.
8314 (strtok_string): Use as benchmark.
8315 * string/strtok (STRTOK): New macro.
8317 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8319 * manual/threads.texi: Add header and standard comments to all
8322 * elf/dl-lookup.c (check_match): New function.
8323 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8324 (do_lookup_x): Remove nested function check_match. Use non-nested
8325 function check_match.
8327 2014-02-28 Roland McGrath <roland@hack.frob.com>
8329 * csu/Makefile (generated, before-compile): Use += rather than =.
8330 * catgets/Makefile (generated, generated-dirs): Likewise.
8331 * debug/Makefile (generated): Likewise.
8332 * dlfcn/Makefile (generated): Likewise.
8333 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8334 * iconvdata/Makefile (before-compile, generated): Likewise.
8335 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8336 * libio/Makefile (generated): Likewise.
8337 * malloc/Makefile (generated): Likewise.
8338 * manual/Makefile (generated, generated-dirs): Likewise.
8339 * misc/Makefile (generated): Likewise.
8340 * posix/Makefile (generated): Likewise.
8341 * resolv/Makefile (generated): Likewise.
8342 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8343 * timezone/Makefile (generated, generated-dirs): Likewise.
8345 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8347 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8350 power8 implementation.
8351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8352 file: POWER8 llround ifunc implementation.
8353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8354 (__lllround): Add POWER8 implementation.
8355 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8356 POWER8 llround implementation.
8358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8359 power8 implementation.
8360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8361 file: POWER8 llrint ifunc implementation.
8362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8363 Add POWER8 implementation.
8364 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8365 POWER8 llrint implementation.
8367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8368 power8 implementation.
8369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8370 file: POWER8 finite ifunc implementation.
8371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8372 Add POWER8 implementation.
8373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8375 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8376 POWER8 finite implementation.
8377 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8380 power8 implementation.
8381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8382 file: POWER8 isinf ifunc implementation.
8383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8384 POWER8 implementation.
8385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8387 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8388 isinf implementation.
8389 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8391 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8392 (INIT_ARCH): Add hwcap2 initialization.
8393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8394 power8 implementation.
8395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8396 file: POWER8 isnan ifunc implementation.
8397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8398 POWER8 implementation.
8399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8401 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8402 isnan implementation.
8403 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8405 2014-02-27 Joey Ye <joey.ye@arm.com>
8407 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8408 (_FP_NANFRAC_Q): Set to zero.
8410 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8413 * math/auto-libm-test-in: New test inputs.
8414 * math/auto-libm-test-out: Regenerate.
8415 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8418 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8420 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8422 * scripts/evaluate-test.sh: Take new argument indicating whether
8423 failure is expected.
8424 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8425 indicating whether failure is expected.
8426 * conform/Makefile (test-xfail-run-conformtest): New variable.
8427 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8429 * posix/Makefile (test-xfail-annexc): New variable.
8430 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8432 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8434 * argp/Makefile: Include Makeconfig immediately after defining
8436 * assert/Makefile: Likewise.
8437 * benchtests/Makefile: Likewise.
8438 * catgets/Makefile: Likewise.
8439 * conform/Makefile: Likewise.
8440 * crypt/Makefile: Likewise.
8441 * csu/Makefile: Likewise.
8442 (all): Remove target.
8443 * ctype/Makefile: Include Makeconfig immediately after defining
8445 * debug/Makefile: Likewise.
8446 * dirent/Makefile: Likewise.
8447 * dlfcn/Makefile: Likewise.
8448 * gmon/Makefile: Likewise.
8449 * gnulib/Makefile: Likewise.
8450 * grp/Makefile: Likewise.
8451 * gshadow/Makefile: Likewise.
8452 * hesiod/Makefile: Likewise.
8453 * hurd/Makefile: Likewise.
8454 (all): Remove target.
8455 * iconvdata/Makefile: Include Makeconfig immediately after
8457 * inet/Makefile: Likewise.
8458 * intl/Makefile: Likewise.
8459 * io/Makefile: Likewise.
8460 * libio/Makefile: Likewise.
8461 (all): Remove target.
8462 * locale/Makefile: Include Makeconfig immediately after defining
8464 * login/Makefile: Likewise.
8465 * mach/Makefile: Likewise.
8466 (all): Remove target.
8467 * malloc/Makefile: Include Makeconfig immediately after defining
8469 (all): Remove target.
8470 * manual/Makefile: Include Makeconfig immediately after defining
8472 * math/Makefile: Likewise.
8473 * misc/Makefile: Likewise.
8474 * nis/Makefile: Likewise.
8475 * nss/Makefile: Likewise.
8476 * po/Makefile: Likewise.
8477 (all): Remove target.
8478 * posix/Makefile: Include Makeconfig immediately after defining
8480 * pwd/Makefile: Likewise.
8481 * resolv/Makefile: Likewise.
8482 * resource/Makefile: Likewise.
8483 * rt/Makefile: Likewise.
8484 * setjmp/Makefile: Likewise.
8485 * shadow/Makefile: Likewise.
8486 * signal/Makefile: Likewise.
8487 * socket/Makefile: Likewise.
8488 * soft-fp/Makefile: Likewise.
8489 * stdio-common/Makefile: Likewise.
8490 * stdlib/Makefile: Likewise.
8491 * streams/Makefile: Likewise.
8492 * string/Makefile: Likewise.
8493 * sunrpc/Makefile: Likewise.
8494 (all): Remove target.
8495 * sysvipc/Makefile: Include Makeconfig immediately after defining
8497 * termios/Makefile: Likewise.
8498 * time/Makefile: Likewise.
8499 * timezone/Makefile: Likewise.
8500 (all): Remove target.
8501 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8503 * wctype/Makefile: Likewise.
8505 2014-02-26 Steve Ellcey <sellcey@mips.com>
8507 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8508 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8509 (libc_feholdexcept_setround_mips): Ditto.
8510 (libc_feholdsetround): New.
8511 (libc_feholdsetroundf): New.
8512 (libc_feholdsetroundl): New.
8513 (libc_feupdateenv_test_mips): New.
8514 (libc_feupdateenv_test): New.
8515 (libc_feupdateenv_testf): New.
8516 (libc_feupdateenv_testl): New.
8517 (libc_feresetround): New.
8518 (libc_feresetroundf): New.
8519 (libc_feresetroundl): New.
8520 (libc_fetestexcept_mips): New.
8521 (libc_fetestexcept): New.
8522 (libc_fetestexceptf): New.
8523 (libc_fetestexceptl): New.
8525 (libc_feholdexcept_setround_mips_ctx): New.
8526 (libc_feholdexcept_setround_ctx): New.
8527 (libc_feholdexcept_setroundf_ctx): New.
8528 (libc_feholdexcept_setroundl_ctx): New.
8529 (libc_fesetenv_mips_ctx): New.
8530 (libc_fesetenv_ctx): New.
8531 (libc_fesetenv_ctxf): New.
8532 (libc_fesetenv_ctxl): New.
8533 (libc_feupdateenv_mips_ctx): New.
8534 (libc_feupdateenv_ctx): New.
8535 (libc_feupdateenvf_ctx): New.
8536 (libc_feupdateenvl_ctx): New.
8537 (libc_feholdsetround_mips_ctx): New.
8538 (libc_feholdsetround_ctx): New.
8539 (libc_feholdsetroundf_ctx): New.
8540 (libc_feholdsetroundl_ctx): New.
8541 (libc_feresetround_mips_ctx): New.
8542 (libc_feresetround_ctx): New.
8543 (libc_feresetroundf_ctx): New.
8544 (libc_feresetroundl_ctx): New.
8546 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8548 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8550 * manual/ipc.texi: New file.
8551 * manual/Makefile (chapters): Add ipc.
8552 * manual/job.texi: Add "Inter-Process Communication" to next.
8553 * manual/process.texi: Add "Inter-Process Communication" to prev.
8555 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8559 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8561 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8563 * manual/arith.texi: Fix spaces after sentences.
8564 * manual/charset.texi: Likewise.
8565 * manual/errno.texi: Likewise.
8566 * manual/install.texi: Likewise.
8567 * manual/llio.texi: Likewise.
8568 * manual/locale.texi: Likewise.
8569 * manual/maint.texi: Likewise.
8570 * manual/math.texi: Likewise.
8571 * manual/memory.texi: Likewise.
8572 * manual/message.texi: Likewise.
8573 * manual/probes.texi: Likewise.
8574 * manual/resource.texi: Likewise.
8575 * manual/signal.texi: Likewise.
8576 * manual/socket.texi: Likewise.
8577 * manual/stdio.texi: Likewise.
8578 * manual/string.texi: Likewise.
8579 * manual/time.texi: Likewise.
8580 * manual/users.texi: Likewise.
8582 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8585 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8586 _DEFAULT_SOURCE is defined.
8588 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8589 Carlos O'Donell <carlos@redhat.com>
8592 * elf/dl-tls.c (_dl_count_modids): New function.
8593 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8594 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8595 audit library and increment generation counter.
8596 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8597 * elf/tst-audit9.c: New file.
8598 * elf/tst-auditmod9a.c: New file.
8599 * elf/tst-auditmod9b.c: New file.
8600 * elf/Makefile: Add rules to build and run tst-audit9.
8602 2014-02-25 Florian Weimer <fweimer@redhat.com>
8605 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8607 2014-02-25 Will Newton <will.newton@linaro.org>
8609 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8610 (__longjmp): Restore sp and lr before restoring callee
8611 saved registers. Add longjmp and longjmp_target
8612 SystemTap probe point.
8613 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8614 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8615 Define to zero to match jmpbuf layout.
8616 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8617 (__sigsetjmp): Save sp and lr before saving callee
8618 saved registers. Add setjmp SystemTap probe point.
8620 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8622 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8624 2014-02-24 Andreas Schwab <schwab@suse.de>
8627 * elf/pldd.c (wait_for_ptrace_stop): New function.
8628 (main): Call it after attaching.
8630 2014-02-22 Roland McGrath <roland@hack.frob.com>
8632 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8633 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8634 Versions files is now verboten.
8635 * hurd/Versions (libc: GLIBC_2.0):
8636 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8637 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8638 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8639 * mach/Versions: Likewise.
8641 * csu/Versions: Remove unused %include.
8642 * resolv/Versions: Likewise.
8644 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8646 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8647 ($(objpfx)check-local-headers.out): Likewise.
8648 ($(objpfx)begin-end-check.out): Likewise.
8649 * Makerules (check-abi-%.out): Likewise.
8650 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8651 ($(objpfx)test2.cat): Likewise.
8652 ($(objpfx)de/libc.cat): Likewise.
8653 ($(objpfx)test-gencat.out): Likewise.
8654 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8655 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8656 ($(objpfx)noload-mem): Likewise.
8657 ($(objpfx)tst-pathopt.out): Likewise.
8658 ($(objpfx)tst-rtld-load-self.out): Likewise.
8659 ($(objpfx)tst-array1-cmp.out): Likewise.
8660 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8661 ($(objpfx)tst-array2-cmp.out): Likewise.
8662 ($(objpfx)tst-array3-cmp.out): Likewise.
8663 ($(objpfx)tst-array4-cmp.out): Likewise.
8664 ($(objpfx)tst-array5-cmp.out): Likewise.
8665 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8666 ($(objpfx)check-textrel.out): Likewise.
8667 ($(objpfx)check-execstack.out): Likewise.
8668 ($(objpfx)check-localplt.out): Likewise.
8669 ($(objpfx)order2-cmp.out): Likewise.
8670 ($(objpfx)tst-leaks1-mem): Likewise.
8671 ($(objpfx)tst-leaks1-static-mem): Likewise.
8672 ($(objpfx)tst-initorder-cmp.out): Likewise.
8673 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8674 ($(objpfx)tst-unused-dep.out): Likewise.
8675 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8676 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8677 * iconv/Makefile (test-iconvconfig): Likewise.
8678 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8679 ($(objpfx)iconv-test.out): Likewise.
8680 ($(objpfx)tst-tables.out): Likewise.
8681 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8682 ($(objpfx)tst-gettext.out): Likewise.
8683 ($(objpfx)tst-translit.out): Likewise.
8684 ($(objpfx)tst-gettext2.out): Likewise.
8685 ($(objpfx)tst-gettext4.out): Likewise.
8686 ($(objpfx)tst-gettext6.out): Likewise.
8687 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8688 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8689 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8690 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8691 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8692 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8693 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8694 ($(objpfx)wordexp-tst.out): Likewise.
8695 ($(objpfx)annexc.out): Likewise.
8696 ($(objpfx)tst-fnmatch-mem): Likewise.
8697 ($(objpfx)bug-regex2-mem): Likewise.
8698 ($(objpfx)bug-regex14-mem): Likewise.
8699 ($(objpfx)bug-regex21-mem): Likewise.
8700 ($(objpfx)bug-regex31-mem): Likewise.
8701 ($(objpfx)tst-vfork3-mem): Likewise.
8702 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8703 ($(objpfx)tst-pcre-mem): Likewise.
8704 ($(objpfx)tst-boost-mem): Likewise.
8705 ($(objpfx)tst-getconf.out): Likewise.
8706 ($(objpfx)bug-ga2-mem): Likewise.
8707 ($(objpfx)bug-glob2-mem): Likewise.
8708 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8709 ($(objpfx)mtrace-tst-leaks2): Likewise.
8710 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8711 ($(objpfx)tst-printf.out): Likewise.
8712 ($(objpfx)tst-setvbuf1.out): Likewise.
8713 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8714 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8715 ($(objpfx)tst-fmtmsg.out): Likewise.
8716 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8717 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8719 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8720 * bits/sigaction.h [__USE_MISC]: Likewise.
8721 * bits/waitstatus.h: Update #endif comments.
8722 * ctype/ctype.h: Likewise.
8723 * dirent/dirent.h: Likewise.
8724 [__USE_MISC]: Remove redundant conditionals.
8725 * grp/grp.h: Update #endif comments.
8726 [__USE_GNU]: Remove redundant conditionals.
8727 [__USE_MISC]: Likewise.
8728 * inet/netinet/in.h [__USE_GNU]: Likewise.
8729 * io/sys/stat.h [__USE_MISC]: Likewise.
8730 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8731 * libio/bits/stdio.h: Update #endif comments.
8732 [__USE_MISC]: Remove redundant conditionals.
8733 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8734 * libio/stdio.h: Update #endif comments.
8735 [__USE_MISC]: Remove redundant conditionals.
8736 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8737 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8738 * math/math.h: Update #else and #endif comments.
8739 [__USE_MISC]: Remove redundant conditionals.
8740 * misc/sys/uio.h: Update #endif comments.
8741 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8742 * posix/glob.h [__USE_MISC]: Likewise.
8743 * posix/sys/types.h: Update #endif comments.
8744 [__USE_MISC]: Remove redundant conditionals.
8745 * posix/sys/wait.h: Update #endif comments.
8746 [__USE_MISC]: Remove redundant conditionals.
8747 * posix/unistd.h: Update #endif comments.
8748 [__USE_MISC]: Remove redundant conditionals.
8749 * pwd/pwd.h [__USE_GNU]: Likewise.
8750 [__USE_MISC]: Likewise.
8751 * resolv/netdb.h [__USE_GNU]: Likewise.
8752 * signal/signal.h: Update #endif comments.
8753 [__USE_MISC]: Remove redundant conditionals.
8754 * stdlib/stdlib.h: Update #else and #endif comments.
8755 [__USE_MISC]: Remove redundant conditionals.
8756 [__USE_GNU]: Likewise.
8757 * string/bits/string2.h [__USE_MISC]: Likewise.
8758 * string/string.h: Update #endif comments.
8759 [__USE_MISC]: Remove redundant conditionals.
8760 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8762 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8763 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8764 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8766 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8768 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8770 [__USE_MISC]: Remove redundant conditionals.
8771 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8772 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8773 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8774 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8775 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8777 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8778 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8780 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8781 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8783 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8785 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8786 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8788 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8790 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8791 * sysdeps/x86/bits/string.h: Update #endif comments.
8792 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8794 * time/sys/time.h: Update #endif comments.
8795 * time/time.h: Likewise.
8796 [__USE_MISC]: Remove redundant conditionals.
8798 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8801 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8803 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8805 * Versions.def (librt): Add GLIBC_2.17.
8807 2014-02-21 Adam Conrad <adconrad@0c3.net>
8809 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8810 synonym for _SYS_AUXV_H to allow direct inclusion.
8811 * sysdeps/sparc/bits/hwcap.h: Likewise.
8812 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8813 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8814 * sysdeps/sparc/sysdep.h: Likewise.
8816 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8818 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8820 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8822 * benchtests/bench-strrchr.c: Print length instead of position.
8824 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8827 * sysdeps/unix/sysv/linux/kernel-features.h
8828 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8829 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8830 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8831 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8833 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8834 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8835 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8836 (__ASSUME_SENDMMSG): Define instead of using previous
8837 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8838 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8839 (__ASSUME_SENDMMSG_SYSCALL): Define.
8840 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8841 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8843 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8844 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8846 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8847 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8849 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8850 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8851 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8852 [__ASSUME_SENDMMSG]: Change conditionals to
8853 [__ASSUME_SENDMMSG_SOCKETCALL].
8854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8855 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8857 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8858 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8860 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8861 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8862 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8863 [!__ASSUME_SENDMMSG]: Change conditional to
8864 [!__ASSUME_SENDMMSG_SOCKETCALL].
8865 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8866 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8870 * sysdeps/unix/sysv/linux/kernel-features.h
8871 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8872 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8873 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8874 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8875 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8876 [__i386__ || __sparc__]
8877 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8878 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8879 (__ASSUME_RECVMMSG): Define instead of using previous
8880 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8881 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8882 (__ASSUME_RECVMMSG_SYSCALL): Define.
8883 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8884 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8886 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8887 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8889 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8890 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8892 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8893 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8894 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8895 [__ASSUME_RECVMMSG]: Change condition to
8896 [__ASSUME_RECVMMSG_SOCKETCALL].
8897 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8898 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8900 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8901 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8902 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8904 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8905 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8906 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8907 [!__ASSUME_RECVMMSG]: Change condition to
8908 [!__ASSUME_RECVMMSG_SOCKETCALL].
8909 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8910 (__ASSUME_RECVMMSG_SYSCALL): Define.
8913 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8914 __powerpc__ || __s390__ || __sh__ || __sparc__]
8915 (__ASSUME_SOCKETCALL): Define.
8916 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8917 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8918 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8919 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8920 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8921 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8922 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8923 (__ASSUME_ACCEPT4): Define instead of using previous
8924 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8925 __powerpc__ || __sparc__ || __s390__)] condition.
8926 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8927 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8928 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8929 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8930 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8931 [!__ASSUME_ACCEPT4]: Change condition to
8932 [!__ASSUME_ACCEPT4_SOCKETCALL].
8933 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8934 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8935 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8936 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8937 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8938 __ASSUME_ACCEPT4_SYSCALL.
8939 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8940 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8941 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8942 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8943 __ASSUME_ACCEPT4_SYSCALL.
8944 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8945 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8946 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8947 [__ASSUME_ACCEPT4]: Change condition to
8948 [__ASSUME_ACCEPT4_SOCKETCALL].
8949 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8950 (__ASSUME_SOCKETCALL): Define.
8951 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8952 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8953 (__ASSUME_SOCKETCALL): Define.
8954 (__ASSUME_ACCEPT4): Remove.
8955 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8957 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8958 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8960 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8961 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8963 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8965 (HWCAP_ARM_LPAE): Likewise.
8966 (HWCAP_ARM_EVTSTRM): Likewise.
8967 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8968 Add vpfd32, lpae and evtstrm.
8969 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8972 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8974 * math/auto-libm-test-in: Add tests of clog10.
8975 * math/auto-libm-test-out: Regenerated.
8976 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8977 * sysdeps/i386/fpu/libm-test-ulps: Update.
8978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8980 2014-02-18 Andreas Schwab <schwab@suse.de>
8983 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8984 Store non-zero if the second buffer was newly allocated.
8985 (send_dg): Likewise.
8986 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8987 to send_vc and send_dg.
8988 (res_nsend): Pass NULL for ansp2_malloced.
8989 * resolv/res_query.c (__libc_res_nquery): Add parameter
8990 answerp2_malloced and pass it down to __libc_res_nsend.
8991 (res_nquery): Pass additional NULL to __libc_res_nquery.
8992 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8993 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8994 second answer buffer if answerp2_malloced was set.
8995 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8996 (__libc_res_nquerydomain): Add parameter
8997 answerp2_malloced and pass it down to __libc_res_nquery.
8998 (res_nquerydomain): Pass additional NULL to
8999 __libc_res_nquerydomain.
9000 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9001 additional NULL to __libc_res_nsend and __libc_res_nquery.
9002 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9003 additional NULL to __libc_res_nsearch.
9004 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9005 parameter of __libc_res_nsearch to check for separately allocated
9007 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9009 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9010 additional NULL to __libc_res_nquery.
9011 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9013 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9014 * include/resolv.h: Update prototypes of __libc_res_nquery,
9015 __libc_res_nsearch, __libc_res_nsend.
9017 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9019 * math/auto-libm-test-in: Add tests of fma.
9020 * math/auto-libm-test-out: Regenerated.
9021 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9022 (fma_towardzero_test_data): Likewise.
9023 (fma_downward_test_data): Likewise.
9024 (fma_upward_test_data): Likewise.
9025 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9027 (rounding_modes): Add values for new field.
9028 (func_calc_method): Add value mpfr_fff_f.
9029 (func_calc_desc): Add mpfr_fff_f union field.
9030 (test_function): Add field exact_args.
9031 (FUNC): Add macro argument EXACT_ARGS.
9032 (FUNC_mpfr_f_f): Update call to FUNC.
9033 (FUNC_mpfr_f_f): Likewise.
9034 (FUNC_mpfr_ff_f): Likewise.
9035 (FUNC_mpfr_if_f): Likewise.
9036 (FUNC_mpc_c_f): Likewise.
9037 (FUNC_mpc_c_c): Likewise.
9038 (test_functions): Add fma. Update calls to FUNC.
9039 (handle_input_arg): Add argument exact_args.
9040 (add_test): Update call to handle_input_arg.
9041 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9042 (output_for_one_input_case): Update call to calc_generic_results.
9043 Recalculate exact zero results in each rounding mode.
9045 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9046 non-negative before setting low bit.
9047 * math/auto-libm-test-in: Mark one asin test possibly having
9049 * math/auto-libm-test-out: Regenerated.
9050 * sysdeps/i386/fpu/libm-test-ulps: Update.
9051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9053 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9055 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9056 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9057 ports/sysdeps/unix/sysv/linux/microblaze.
9058 * README: Add missing listing for microblaze*-*-linux-gnu.
9060 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9062 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9063 * sysdeps/unix/sysv/linux/ia64: Move directory from
9064 ports/sysdeps/unix/sysv/linux/ia64.
9065 * README: Update listing for ia64-*-linux-gnu.
9067 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9068 Joseph Myers <joseph@codesourcery.com>
9070 * Makeconfig (test-name): New variable.
9071 (evaluate-test): Likewise.
9072 * Makerules (do-test-clean): Remove .test-result files.
9073 (common-mostlyclean): Likewise.
9074 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9075 * scripts/evaluate-test.sh: New file.
9077 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9079 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9080 separate $(objpfx)tst-fopenloc-cmp.out and
9081 $(objpfx)tst-fopenloc-mem.out targets.
9082 (tests): Update dependencies.
9083 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9084 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9085 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9086 (tst-rxspencer-no-utf8-ARGS): New variable.
9087 (tst-rxspencer-no-utf8-ENV): Likewise.
9088 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9089 instead of $(objpfx)tst-rxspencer-mem.
9090 ($(objpfx)tst-rxspencer-mem): Change target to
9091 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9092 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9093 * posix/tst-rxspencer-no-utf8.c: New file.
9095 * elf/Makefile ($(objpfx)order.out): Remove rule.
9096 [$(run-built-tests) = yes] (tests): Depend on
9097 $(objpfx)order-cmp.out.
9098 ($(objpfx)order-cmp.out): New rule.
9099 [$(run-built-tests) = yes] (tests): Depend on
9100 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9101 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9102 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9103 $(objpfx)tst-array5-static-cmp.out.
9104 ($(objpfx)tst-array1.out): Remove rule.
9105 ($(objpfx)tst-array1-cmp.out): New rule.
9106 ($(objpfx)tst-array1-static.out): Remove rule.
9107 ($(objpfx)tst-array1-static-cmp.out): New rule.
9108 ($(objpfx)tst-array2.out): Remove rule.
9109 ($(objpfx)tst-array2-cmp.out): New rule.
9110 ($(objpfx)tst-array3.out): Remove rule.
9111 ($(objpfx)tst-array3-cmp.out): New rule.
9112 ($(objpfx)tst-array4.out): Remove rule.
9113 ($(objpfx)tst-array4-cmp.out): New rule.
9114 ($(objpfx)tst-array5.out): Remove rule.
9115 ($(objpfx)tst-array5-cmp.out): New rule.
9116 ($(objpfx)tst-array5-static.out): Remove rule.
9117 ($(objpfx)tst-array5-static-cmp.out): New rule.
9118 [$(run-built-tests) = yes] (tests): Depend on
9119 $(objpfx)order2-cmp.out.
9120 ($(objpfx)order2.out): Remove rule.
9121 ($(objpfx)order2-cmp.out): New rule.
9122 ($(objpfx)tst-initorder.out): Remove rule.
9123 [$(run-built-tests) = yes] (tests): Depend on
9124 $(objpfx)tst-initorder-cmp.out.
9125 ($(objpfx)tst-initorder-cmp.out): New rule.
9126 ($(objpfx)tst-initorder2.out): Remove rule.
9127 [$(run-built-tests) = yes] (tests): Depend on
9128 $(objpfx)tst-initorder2-cmp.out.
9129 ($(objpfx)tst-initorder2-cmp.out): New rule.
9130 [$(run-built-tests) = yes] (tests): Depend on
9131 $(objpfx)tst-unused-dep-cmp.out.
9132 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9133 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9134 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9135 on $(objpfx)tst-setvbuf1-cmp.out.
9136 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9137 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9138 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9139 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9140 ($(objpfx)tst-svc.out): Remove rule.
9141 ($(objpfx)tst-svc-cmp.out): New rule.
9143 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9145 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9146 * ctype/ctype.h [__USE_MISC]: Likewise.
9147 * dirent/dirent.h [__USE_MISC]: Likewise.
9148 * grp/grp.h [__USE_MISC]: Likewise.
9149 * io/fcntl.h [__USE_MISC]: Likewise.
9150 * io/sys/stat.h [__USE_MISC]: Likewise.
9151 * libio/stdio.h [__USE_MISC]: Likewise.
9152 * posix/unistd.h [__USE_MISC]: Likewise.
9153 * pwd/pwd.h [__USE_MISC]: Likewise.
9154 * stdlib.h [__USE_MISC]: Likewise.
9155 * string/bits/string2.h [__USE_MISC]: Likewise.
9156 * string/string.h [__USE_MISC]: Likewise.
9157 * time/time.h [__USE_MISC]: Likewise.
9159 2014-02-13 Andreas Schwab <schwab@suse.de>
9162 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9163 second answer buffer if it was separately allocated.
9165 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9167 * sysdeps/mips/math-tests.h: Include <features.h>.
9168 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9169 (ROUNDING_TESTS_long_double): Do not define.
9170 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9171 (EXCEPTION_TESTS_long_double): Likewise.
9172 * sysdeps/mips/mips64/libm-test-ulps: Update.
9174 * include/features.h (__USE_BSD): Remove macro definitions.
9175 (__USE_SVID): Likewise.
9176 (_BSD_SOURCE): Likewise.
9177 (_SVID_SOURCE): Likewise.
9178 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9179 from definition of _DEFAULT_SOURCE.
9180 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9182 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9183 * bits/mman.h [__USE_BSD]: Likewise.
9184 * bits/termios.h [__USE_BSD]: Likewise.
9185 * bits/waitstatus.h [__USE_BSD]: Likewise.
9186 * ctype/ctype.h [__USE_SVID]: Likewise.
9187 * dirent/dirent.h [__USE_BSD]: Likewise.
9188 * grp/grp.h [__USE_SVID]: Likewise.
9189 [__USE_BSD]: Likewise.
9190 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9191 * io/fcntl.h [__USE_BSD]: Likewise.
9192 * io/ftw.h [__USE_BSD]: Likewise.
9193 * io/sys/stat.h [__USE_BSD]: Likewise.
9194 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9195 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9196 * libio/stdio.h [__USE_SVID]: Likewise.
9197 [__USE_BSD]: Likewise.
9198 * math/math.h [__USE_SVID]: Likewise.
9199 [__USE_BSD]: Likewise.
9200 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9201 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9202 * misc/search.h [__USE_SVID]: Likewise.
9203 * misc/sys/mman.h [__USE_BSD]: Likewise.
9204 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9205 * misc/sys/uio.h [__USE_BSD]: Likewise.
9206 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9207 * posix/glob.h [__USE_BSD]: Likewise.
9208 * posix/regex.h [__USE_BSD]: Likewise.
9209 * posix/sys/types.h [__USE_BSD]: Likewise.
9210 [__USE_SVID]: Likewise.
9211 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9212 * posix/sys/wait.h [__USE_BSD]: Likewise.
9213 [__USE_SVID]: Likewise.
9214 * posix/unistd.h [__USE_BSD]: Likewise.
9215 [__USE_SVID]: Likewise.
9216 * pwd/pwd.h [__USE_SVID]: Likewise.
9217 * resolv/netdb.h [__USE_BSD]: Likewise.
9218 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9219 * signal/signal.h [__USE_BSD]: Likewise.
9220 [__USE_SVID]: Likewise.
9221 * socket/sys/socket.h [__USE_BSD]: Likewise.
9222 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9223 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9224 [__USE_SVID]: Likewise.
9225 * string/bits/string2.h [__USE_BSD]: Likewise.
9226 [__USE_SVID]: Likewise.
9227 * string/bits/string3.h [__USE_BSD]: Likewise.
9228 * string/endian.h [__USE_BSD]: Likewise.
9229 * string/string.h [__USE_SVID]: Likewise.
9230 [__USE_BSD]: Likewise.
9231 * string/strings.h [__USE_BSD]: Likewise.
9232 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9233 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9234 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9235 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9236 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9237 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9239 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9241 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9242 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9244 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9245 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9247 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9249 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9250 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9251 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9253 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9255 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9256 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9257 * termios/termios.h [__USE_BSD]: Likewise.
9258 * time/sys/time.h [__USE_BSD]: Likewise.
9259 * time/time.h [__USE_BSD]: Likewise.
9260 [__USE_SVID]: Likewise.
9262 * Makefile (subdir_targets): Remove subdir_lint.out.
9264 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9265 (do-tst-printf): Likewise.
9266 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9267 $(objpfx)tst-printf.out.
9269 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9271 * Makerules (check-abi-%): Change target to
9272 $(objpfx)check-abi-%.out.
9273 (check-abi target): Update dependencies.
9274 (check-abi-pattern variable): Redirect output of diff to $@.
9275 (check-abi variable): Likewise.
9276 * elf/Makefile (check-abi): Update dependencies.
9278 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9280 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9281 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9283 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9284 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9285 value has largest subnormal exponent.
9286 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9287 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9288 * sysdeps/aarch64/soft-fp/sfp-machine.h
9289 (_FP_TININESS_AFTER_ROUNDING): New macro.
9290 * sysdeps/alpha/soft-fp/sfp-machine.h
9291 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9292 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9294 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9295 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9296 * sysdeps/mips/soft-fp/sfp-machine.h
9297 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9298 * sysdeps/powerpc/soft-fp/sfp-machine.h
9299 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9300 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9302 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9303 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9304 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9305 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9306 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9309 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9312 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9315 2014-02-12 Richard Henderson <rth@redhat.com>
9317 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9318 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9319 * sysdeps/unix/sysv/linux/alpha: Move directory from
9320 ports/sysdeps/unix/sysv/linux/alpha.
9321 * README: Update listing for alpha-*-linux-gnu.
9323 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9325 * include/features.h: Update comment documenting feature test
9327 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9329 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9330 (_SVID_SOURCE): Likewise.
9331 (_DEFAULT_SOURCE): Update description of default features.
9332 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9334 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9335 (S_ISVTX): Likewise.
9336 * manual/math.texi (Mathematical Constants): Likewise.
9337 * manual/signal.texi (Interrupted Primitives): Likewise.
9338 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9339 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9340 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9341 Don't refer to _SVID_SOURCE in warning text.
9343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9345 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9347 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9348 * sysdeps/mips/dl-lookup.c: Remove.
9349 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9351 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9354 * math/auto-libm-test-in: Add testcase for expl.
9355 * math/auto-libm-test-out: Regenerate.
9356 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9357 calculation of unsafe.
9358 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9360 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9362 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9363 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9364 ports/sysdeps/unix/sysv/linux/aarch64.
9365 * README: Update listing for aarch64*-*-linux-gnu.
9367 2014-02-11 Will Newton <will.newton@linaro.org>
9369 * manual/probes.texi (Mathematical Function Probes): Use
9370 "triggered" instead of "hit".
9372 * manual/probes.texi (Internal Probes): Add documentation
9373 of setjmp, longjmp and longjmp_target probes.
9375 * include/stap-probe.h: Add comment about probe argument
9378 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9379 definition. (tr_where, tr_freehook, tr_mallochook,
9380 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9382 2014-02-11 David S. Miller <davem@davemloft.net>
9384 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9385 processing int_tests.
9387 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9389 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9390 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9391 * sysdeps/unix/sysv/linux/mips: Move directory from
9392 ports/sysdeps/unix/sysv/linux/mips.
9393 * README: Update listing for mips-*-linux-gnu and
9396 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9398 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9399 * sysdeps/unix/sysv/linux/m68k: Move directory from
9400 ports/sysdeps/unix/sysv/linux/m68k.
9401 * README: Update listing for m68k-*-linux-gnu.
9403 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9405 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9406 * sysdeps/unix/sysv/linux/generic: Move directory from
9407 ports/sysdeps/unix/sysv/linux/generic.
9408 * sysdeps/unix/sysv/linux/tile: Move directory from
9409 ports/sysdeps/unix/sysv/linux/tile.
9410 * README: Update listing for tile*-*-linux-gnu.
9412 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9414 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9416 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9417 * catgets/open_catalog.c (__open_catalog): Likewise.
9418 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9419 * debug/confstr_chk.c: Likewise.
9420 * debug/fread_chk.c (__fread_chk): Likewise.
9421 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9422 * debug/getgroups_chk.c: Likewise.
9423 * debug/mbsnrtowcs_chk.c: Likewise.
9424 * debug/mbsrtowcs_chk.c: Likewise.
9425 * debug/mbstowcs_chk.c: Likewise.
9426 * debug/memcpy_chk.c: Likewise.
9427 * debug/memmove_chk.c: Likewise.
9428 * debug/mempcpy_chk.c: Likewise.
9429 * debug/memset_chk.c: Likewise.
9430 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9431 * debug/strcat_chk.c (__strcat_chk): Likewise.
9432 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9433 * debug/strncat_chk.c (__strncat_chk): Likewise.
9434 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9435 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9436 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9437 * debug/wcpncpy_chk.c: Likewise.
9438 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9439 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9440 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9441 * debug/wcsncpy_chk.c: Likewise.
9442 * debug/wcsnrtombs_chk.c: Likewise.
9443 * debug/wcsrtombs_chk.c: Likewise.
9444 * debug/wcstombs_chk.c: Likewise.
9445 * debug/wmemcpy_chk.c: Likewise.
9446 * debug/wmemmove_chk.c: Likewise.
9447 * debug/wmempcpy_chk.c: Likewise.
9448 * debug/wmemset_chk.c: Likewise.
9449 * dirent/scandirat.c (SCANDIRAT): Likewise.
9450 * dlfcn/dladdr1.c (dladdr1): Likewise.
9451 * dlfcn/dladdr.c (dladdr): Likewise.
9452 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9453 * dlfcn/dlerror.c (__dlerror): Likewise.
9454 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9455 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9456 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9457 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9458 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9459 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9460 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9461 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9463 * elf/dl-conflict.c: Likewise.
9464 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9465 * elf/dl-dst.h: Likewise.
9466 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9467 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9468 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9469 * elf/dl-init.c (call_init, _dl_init): Likewise.
9470 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9471 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9472 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9474 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9476 * elf/dl-minimal.c (__libc_memalign): Likewise.
9477 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9478 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9479 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9480 * elf/dl-sym.c (do_sym): Likewise.
9481 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9482 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9483 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9484 * elf/dl-writev.h (_dl_writev): Likewise.
9485 * elf/ldconfig.c (search_dir): Likewise.
9486 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9487 (dl_main): Likewise.
9488 * elf/setup-vdso.h (setup_vdso): Likewise.
9489 * grp/compat-initgroups.c (compat_call): Likewise.
9490 * grp/fgetgrent.c (fgetgrent): Likewise.
9491 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9492 * grp/putgrent.c (putgrent): Likewise.
9493 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9495 * hurd/hurdinit.c: Likewise.
9496 * iconvdata/8bit-gap.c (struct): Likewise.
9497 * iconvdata/ansi_x3.110.c : Likewise.
9498 * iconvdata/big5.c : Likewise.
9499 * iconvdata/big5hkscs.c : Likewise.
9500 * iconvdata/cp1255.c: Likewise.
9501 * iconvdata/cp1258.c : Likewise.
9502 * iconvdata/cp932.c : Likewise.
9503 * iconvdata/euc-cn.c: Likewise.
9504 * iconvdata/euc-jisx0213.c : Likewise.
9505 * iconvdata/euc-jp.c: Likewise.
9506 * iconvdata/euc-jp-ms.c : Likewise.
9507 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9508 * iconvdata/gb18030.c : Likewise.
9509 * iconvdata/gbbig5.c (const): Likewise.
9510 * iconvdata/gbgbk.c: Likewise.
9511 * iconvdata/gbk.c : Likewise.
9512 * iconvdata/ibm1364.c : Likewise.
9513 * iconvdata/ibm930.c : Likewise.
9514 * iconvdata/ibm932.c: Likewise.
9515 * iconvdata/ibm933.c : Likewise.
9516 * iconvdata/ibm935.c : Likewise.
9517 * iconvdata/ibm937.c : Likewise.
9518 * iconvdata/ibm939.c : Likewise.
9519 * iconvdata/ibm943.c: Likewise.
9520 * iconvdata/iso_11548-1.c: Likewise.
9521 * iconvdata/iso-2022-cn.c : Likewise.
9522 * iconvdata/iso-2022-cn-ext.c : Likewise.
9523 * iconvdata/iso-2022-jp-3.c: Likewise.
9524 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9525 * iconvdata/iso-2022-kr.c : Likewise.
9526 * iconvdata/iso646.c (gconv_end): Likewise.
9527 * iconvdata/iso_6937-2.c : Likewise.
9528 * iconvdata/iso_6937.c : Likewise.
9529 * iconvdata/iso8859-1.c: Likewise.
9530 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9531 * iconvdata/shift_jisx0213.c : Likewise.
9532 * iconvdata/sjis.c : Likewise.
9533 * iconvdata/t.61.c : Likewise.
9534 * iconvdata/tcvn5712-1.c : Likewise.
9535 * iconvdata/tscii.c: Likewise.
9536 * iconvdata/uhc.c : Likewise.
9537 * iconvdata/unicode.c (gconv_end): Likewise.
9538 * iconvdata/utf-16.c (gconv_end): Likewise.
9539 * iconvdata/utf-32.c (gconv_end): Likewise.
9540 * iconvdata/utf-7.c (base64): Likewise.
9541 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9542 * iconv/gconv_close.c (__gconv_close): Likewise.
9543 * iconv/gconv_open.c (__gconv_open): Likewise.
9544 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9545 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9546 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9547 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9548 (ucs4le_internal_loop_single): Likewise.
9549 * iconv/iconv.c (iconv): Likewise.
9550 * iconv/iconv_close.c: Likewise.
9551 * iconv/loop.c (SINGLE): Likewise.
9552 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9553 * include/atomic.h: Likewise.
9554 * inet/inet6_option.c (option_alloc): Likewise.
9555 * intl/bindtextdom.c (set_binding_values): Likewise.
9556 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9557 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9558 * intl/localealias.c (read_alias_file): Likewise.
9559 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9560 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9561 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9562 * libio/fmemopen.c (fmemopen): Likewise.
9563 * libio/iofgets.c (_IO_fgets): Likewise.
9564 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9565 * libio/iofgetws.c (fgetws): Likewise.
9566 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9567 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9568 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9569 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9570 * locale/findlocale.c (_nl_find_locale): Likewise.
9571 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9572 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9574 * locale/setlocale.c (setlocale): Likewise.
9575 * login/programs/pt_chown.c (main): Likewise.
9576 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9577 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9578 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9579 (mmap, mmap64, mremap, munmap): Likewise.
9580 * math/e_exp2l.c: Likewise.
9581 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9582 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9583 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9584 * math/s_catan.c (__catan): Likewise.
9585 * math/s_catanf.c (__catanf): Likewise.
9586 * math/s_catanh.c (__catanh): Likewise.
9587 * math/s_catanhf.c (__catanhf): Likewise.
9588 * math/s_catanhl.c (__catanhl): Likewise.
9589 * math/s_catanl.c (__catanl): Likewise.
9590 * math/s_ccosh.c (__ccosh): Likewise.
9591 * math/s_ccoshf.c (__ccoshf): Likewise.
9592 * math/s_ccoshl.c (__ccoshl): Likewise.
9593 * math/s_cexp.c (__cexp): Likewise.
9594 * math/s_cexpf.c (__cexpf): Likewise.
9595 * math/s_cexpl.c (__cexpl): Likewise.
9596 * math/s_clog10.c (__clog10): Likewise.
9597 * math/s_clog10f.c (__clog10f): Likewise.
9598 * math/s_clog10l.c (__clog10l): Likewise.
9599 * math/s_clog.c (__clog): Likewise.
9600 * math/s_clogf.c (__clogf): Likewise.
9601 * math/s_clogl.c (__clogl): Likewise.
9602 * math/s_csin.c (__csin): Likewise.
9603 * math/s_csinf.c (__csinf): Likewise.
9604 * math/s_csinh.c (__csinh): Likewise.
9605 * math/s_csinhf.c (__csinhf): Likewise.
9606 * math/s_csinhl.c (__csinhl): Likewise.
9607 * math/s_csinl.c (__csinl): Likewise.
9608 * math/s_csqrt.c (__csqrt): Likewise.
9609 * math/s_csqrtf.c (__csqrtf): Likewise.
9610 * math/s_csqrtl.c (__csqrtl): Likewise.
9611 * math/s_ctan.c (__ctan): Likewise.
9612 * math/s_ctanf.c (__ctanf): Likewise.
9613 * math/s_ctanh.c (__ctanh): Likewise.
9614 * math/s_ctanhf.c (__ctanhf): Likewise.
9615 * math/s_ctanhl.c (__ctanhl): Likewise.
9616 * math/s_ctanl.c (__ctanl): Likewise.
9617 * math/w_pow.c: Likewise.
9618 * math/w_powf.c: Likewise.
9619 * math/w_powl.c: Likewise.
9620 * math/w_scalb.c (sysv_scalb): Likewise.
9621 * math/w_scalbf.c (sysv_scalbf): Likewise.
9622 * math/w_scalbl.c (sysv_scalbl): Likewise.
9623 * misc/error.c (error_tail): Likewise.
9624 * misc/pselect.c (__pselect): Likewise.
9625 * nis/nis_callback.c (__nis_create_callback): Likewise.
9626 * nis/nis_call.c (__nisfind_server): Likewise.
9627 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9628 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9629 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9630 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9631 * nis/nis_lookup.c (nis_lookup): Likewise.
9632 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9633 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9634 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9635 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9636 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9637 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9638 * nis/nss_compat/compat-initgroups.c (add_group)
9639 (internal_getgrent_r): Likewise.
9640 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9641 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9642 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9643 (internal_getspnam_r): Likewise.
9644 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9645 (_nss_nis_getaliasbyname_r): Likewise.
9646 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9647 (_nss_nis_getntohost_r): Likewise.
9648 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9649 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9650 (_nss_nis_getgrgid_r): Likewise.
9651 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9652 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9653 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9654 (_nss_nis_gethostbyname4_r): Likewise.
9655 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9656 (initgroups_netid): Likewise.
9657 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9658 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9659 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9660 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9661 (_nss_nis_getprotobynumber_r): Likewise.
9662 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9663 (_nss_nis_getsecretkey): Likewise.
9664 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9665 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9666 (_nss_nis_getpwuid_r): Likewise.
9667 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9668 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9669 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9670 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9671 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9672 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9673 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9675 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9676 (_nss_nisplus_getntohost_r): Likewise.
9677 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9678 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9679 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9680 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9682 * nis/nss_nisplus/nisplus-initgroups.c
9683 (_nss_nisplus_initgroups_dyn): Likewise.
9684 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9685 (_nss_nisplus_getnetbyaddr_r): Likewise.
9686 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9687 (_nss_nisplus_getprotobynumber_r): Likewise.
9688 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9689 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9690 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9692 * nis/nss_nisplus/nisplus-service.c
9693 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9694 (_nss_nisplus_getservbyport_r): Likewise.
9695 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9696 (_nss_nisplus_getspnam_r): Likewise.
9697 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9699 * nscd/aicache.c (addhstaiX): Likewise.
9700 * nscd/cache.c (cache_search, prune_cache): Likewise.
9701 * nscd/connections.c (register_traced_file, send_ro_fd)
9702 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9703 (main_loop_epoll): Likewise.
9704 * nscd/grpcache.c (addgrbyX): Likewise.
9705 * nscd/hstcache.c (addhstbyX): Likewise.
9706 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9707 * nscd/mem.c (gc, mempool_alloc): Likewise.
9708 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9709 (addinnetgrX): Likewise.
9710 * nscd/nscd-client.h (__nscd_acquire_maplock)
9711 (__nscd_drop_map_ref): Likewise.
9712 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9713 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9714 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9716 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9717 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9718 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9719 (__nscd_get_map_ref): Likewise.
9720 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9721 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9723 * nscd/pwdcache.c (addpwbyX): Likewise.
9724 * nscd/selinux.c (preserve_capabilities): Likewise.
9725 * nscd/servicescache.c (addservbyX): Likewise.
9726 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9727 * posix/fnmatch.c (fnmatch): Likewise.
9728 * posix/getopt.c (_getopt_internal_r): Likewise.
9729 * posix/glob.c (glob, glob_in_dir): Likewise.
9730 * posix/wordexp.c (exec_comm_child): Likewise.
9731 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9732 (getanswer_r, gaih_getanswer_slice): Likewise.
9733 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9734 * resolv/res_init.c: Likewise.
9735 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9736 * resolv/res_query.c (__libc_res_nquery): Likewise.
9737 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9739 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9740 * stdio-common/perror.c (perror): Likewise.
9741 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9742 * stdio-common/tmpnam.c (tmpnam): Likewise.
9743 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9744 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9745 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9747 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9748 * stdlib/putenv.c (putenv): Likewise.
9749 * stdlib/setenv.c (__add_to_environ): Likewise.
9750 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9751 * stdlib/strtol_l.c (INTERNAL): Likewise.
9752 * string/memmem.c (memmem): Likewise.
9753 * string/strerror.c (strerror): Likewise.
9754 * string/strnlen.c (__strnlen): Likewise.
9755 * string/test-memmem.c (simple_memmem): Likewise.
9756 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9757 * sunrpc/pm_getport.c (__get_socket): Likewise.
9758 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9759 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9760 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9761 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9763 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9764 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9765 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9766 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9767 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9768 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9770 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9772 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9773 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9774 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9775 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9776 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9778 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9779 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9780 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9781 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9782 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9783 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9785 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9787 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9789 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9790 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9791 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9792 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9793 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9794 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9795 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9798 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9799 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9800 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9801 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9802 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9804 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9806 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9808 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9810 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9812 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9814 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9816 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9817 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9818 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9819 * sysdeps/posix/sleep.c: Likewise.
9820 * sysdeps/posix/tempname.c: Likewise.
9821 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9822 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9824 * sysdeps/powerpc/powerpc32/dl-machine.h
9825 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9826 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9828 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9829 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9831 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9832 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9833 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9834 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9835 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9836 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9837 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9838 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9839 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9840 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9842 (elf_machine_lazy_rel): Likewise.
9843 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9845 (elf_machine_lazy_rel): Likewise.
9846 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9847 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9848 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9849 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9850 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9851 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9852 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9855 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9856 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9857 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9858 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9859 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9860 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9861 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9862 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9863 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9864 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9865 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9867 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9868 (__posix_fallocate64_l64): Likewise.
9869 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9870 (posix_fallocate): Likewise.
9871 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9874 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9875 (getifaddrs_internal): Likewise.
9876 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9877 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9878 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9879 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9880 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9881 (__posix_fallocate64_l64): Likewise.
9882 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9884 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9885 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9886 (__get_clockfreq): Likewise.
9887 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9888 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9889 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9890 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9891 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9892 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9893 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9894 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9896 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9897 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9898 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9899 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9900 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9901 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9902 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9904 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9905 (posix_fallocate): Likewise.
9906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9907 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9908 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9909 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9910 (elf_machine_rela, elf_machine_rela_relative)
9911 (elf_machine_lazy_rel): Likewise.
9912 * time/asctime.c (asctime_internal): Likewise.
9913 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9914 * time/tzset.c (__tzset_parse_tz): Likewise.
9915 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9916 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9917 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9918 * wcsmbs/wcsmbsload.h: Likewise.
9921 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9923 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9924 (arena_get2): Remove THREAD_STATS conditionals.
9925 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9926 (__malloc_stats, int): Likewise.
9928 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9930 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9931 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9933 * manual/setjmp.texi: Fix typos/grammar errors.
9935 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9936 Only return early when n is <= 0. Delete unused return statement.
9938 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9939 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9940 * debug/tst-longjmp_chk3.c: New file.
9942 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9943 (test_main): Replace code with set_fortify_handler call.
9944 * debug/test-strcpy_chk.c: Likewise.
9945 * debug/tst-chk1.c: Likewise.
9946 * debug/tst-longjmp_chk.c: Likewise.
9947 * test-skeleton.c: Include fcntl.h & paths.h
9948 (set_fortify_handler): Define.
9950 * debug/tst-longjmp_chk.c: Add header comment and include
9952 (do_test): Mark static.
9953 (TEST_FUNCTION): Define.
9955 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9956 (IP_PMTUDISC_INTERFACE): Likewise.
9957 (IP_MULTICAST_IF): Likewise.
9958 (IP_MULTICAST_TTL): Likewise.
9959 (IP_MULTICAST_LOOP): Likewise.
9960 (IP_ADD_MEMBERSHIP): Likewise.
9961 (IP_DROP_MEMBERSHIP): Likewise.
9962 (IP_UNBLOCK_SOURCE): Likewise.
9963 (IP_BLOCK_SOURCE): Likewise.
9964 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9965 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9966 (IP_MSFILTER): Likewise.
9967 (MCAST_JOIN_GROUP): Likewise.
9968 (MCAST_BLOCK_SOURCE): Likewise.
9969 (MCAST_UNBLOCK_SOURCE): Likewise.
9970 (MCAST_LEAVE_GROUP): Likewise.
9971 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9972 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9973 (MCAST_MSFILTER): Likewise.
9974 (IP_MULTICAST_ALL): Likewise.
9975 (IP_UNICAST_IF): Likewise.
9977 * timezone/Makefile: Delete $(have-ksh) check.
9978 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9979 * timezone/tzselect.ksh: Add +x mode bits.
9981 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9982 (ANON_INODE_FS_MAGIC): Likewise.
9983 (BDEVFS_MAGIC): Likewise.
9984 (BINFMTFS_MAGIC): Likewise.
9985 (BTRFS_TEST_MAGIC): Likewise.
9986 (CRAMFS_MAGIC_WEND): Likewise.
9987 (DEBUGFS_MAGIC): Likewise.
9988 (ECRYPTFS_SUPER_MAGIC): Likewise.
9989 (EXT3_SUPER_MAGIC): Likewise.
9990 (EXT4_SUPER_MAGIC): Likewise.
9991 (FUTEXFS_SUPER_MAGIC): Likewise.
9992 (HOSTFS_SUPER_MAGIC): Likewise.
9993 (HUGETLBFS_MAGIC): Likewise.
9994 (MINIX3_SUPER_MAGIC): Likewise.
9995 (MTD_INODE_FS_MAGIC): Likewise.
9996 (NILFS_SUPER_MAGIC): Likewise.
9997 (OPENPROM_SUPER_MAGIC): Likewise.
9998 (PIPEFS_MAGIC): Likewise.
9999 (PSTOREFS_MAGIC): Likewise.
10000 (QNX6_SUPER_MAGIC): Likewise.
10001 (RAMFS_MAGIC): Likewise.
10002 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10003 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10004 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10005 (SECURITYFS_MAGIC): Likewise.
10006 (SELINUX_MAGIC): Likewise.
10007 (SMACK_MAGIC): Likewise.
10008 (SOCKFS_MAGIC): Likewise.
10009 (SQUASHFS_MAGIC): Likewise.
10010 (STACK_END_MAGIC): Likewise.
10011 (TMPFS_MAGIC): Likewise.
10012 (USBDEVICE_SUPER_MAGIC): Likewise.
10013 (V9FS_MAGIC): Likewise.
10014 (XENFS_SUPER_MAGIC): Likewise.
10015 (CRAMFS_MAGIC): Fix typo in comment.
10016 (EXT2_SUPER_MAGIC): Update comment.
10017 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10019 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10021 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10022 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10023 * sysdeps/unix/sysv/linux/arm: Move directory from
10024 ports/sysdeps/unix/sysv/linux/arm.
10025 * README: Update listing for arm-*-linux-gnueabi.
10027 * README: Remove mention of am33.
10029 2014-02-07 Roland McGrath <roland@hack.frob.com>
10031 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10032 than the comma operator, to avoid "rhs of comma has no effect"
10034 (__sigfillset, __sigandset, __sigorset): Likewise.
10035 * include/signal.h (__sigemptyset): Likewise.
10036 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10038 2014-02-07 Allan McRae <allan@archlinux.org>
10040 * version.h (RELEASE): Set to "development".
10041 (VERSION): Set to "2.19.90"
10042 * NEWS: Add 2.20 section.
10044 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10047 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10049 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10051 * manual/contrib.texi: Update entry for Carlos O'Donell,
10052 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10054 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10056 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10058 * sysdeps/unix/sysv/linux/kernel-features.h
10059 [__LINUX_KERNEL_VERSION >= 0x020621]
10060 (__ASSUME_PROC_PID_TASK_COMM): Define.
10062 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10065 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10066 conversion when destination buffer does not have enough space.
10067 * libio/tst-ftell-partial-wide.c: New test case.
10068 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10070 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10071 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10072 Leonard and Allan McRae.
10074 2014-02-04 David S. Miller <davem@davemloft.net>
10076 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10079 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10108 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10110 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10111 * shlib-versions: Likewise.
10113 2014-02-04 Roland McGrath <roland@hack.frob.com>
10114 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10116 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10117 (abilist-pattern): New variable, set to %-le.abilist.
10119 * Makerules (abilist-pattern): New variable.
10120 (vpath): Use $(abilist-pattern) in place of %.abilist.
10121 (check-abi-% pattern rule): Likewise.
10122 (check-abi, update-abi): Likewise.
10124 2014-02-04 Eric Wong <normalperson@yhbt.net>
10126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10128 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10130 * manual/startup.texi: Add next, previous, and top entries for
10131 the `Program Arguments' and `Environment Variables' nodes.
10133 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10135 * manual/macros.texi: Add comments before MTASC-safety macros.
10137 * manual/users.texi: Document MTASC-safety properties.
10139 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10140 (pthread_getspecific, pthread_setspecific): Format with
10141 @deftypefun, and add @safety note.
10142 * manual/signal.texi: Move comments that analyze the above
10143 functions to their home place.
10145 2014-02-03 Allan McRae <allan@archlinux.org>
10147 * po/sl.po: Update Slovenian translation from translation project.
10149 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10151 * manual/time.texi (timegm): Add missing blank after @c.
10152 Reported by Joseph Myers <joseph@codesourcery.com>.
10154 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10156 * manual/check-safety.sh: New.
10157 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10159 * manual/terminal.texi: Document MTASC-safety properties.
10161 * manual/filesys.texi: Document MTASC-safety properties.
10163 * manual/errno.texi: Document MTASC-safety properties.
10165 * manual/intro.texi: Document safety identifiers and
10168 * manual/string.texi (wcstok): Fix prototype.
10169 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10171 * manual/time.texi: Document MTASC-safety properties.
10173 * manual/string.texi: Document MTASC-safety properties.
10175 * manual/threads.texi: Document MTASC-safety properties.
10177 * manual/stdio.texi: Document MTASC-safety properties.
10179 * manual/syslog.texi: Document MTASC-safety properties.
10181 * manual/sysinfo.texi: Document MTASC-safety properties.
10183 * manual/startup.texi: Document MTASC-safety properties.
10185 * manual/socket.texi: Document MTASC-safety properties.
10187 * manual/signal.texi: Document MTASC-safety properties.
10189 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10191 * manual/setjmp.texi: Document MTASC-safety properties.
10193 * manual/search.texi: Document MTASC-safety properties.
10195 * manual/resource.texi: Document MTASC-safety properties.
10197 * manual/process.texi: Document MTASC-safety properties.
10199 * manual/platform.texi: Document MTASC-safety properties.
10201 * manual/pipe.texi: Document MTASC-safety properties.
10203 * manual/pattern.texi: Document MTASC-safety properties.
10205 * manual/message.texi: Document MTASC-safety properties.
10208 * manual/memory.texi: Document MTASC-safety properties.
10210 * manual/math.texi: Document MTASC-safety properties.
10212 * manual/locale.texi: Document MTASC-safety properties.
10214 * manual/llio.texi: Document MTASC-safety properties.
10216 * manual/libdl.texi: New.
10218 * manual/lang.texi: Document MTASC-safety properties.
10220 * manual/job.texi: Document MTASC-safety properties.
10222 * manual/getopt.texi: Document MTASC-safety properties.
10224 * manual/ctype.texi: Document MTASC-safety properties.
10226 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10229 * csu/libc-tls.c (static_map): Remove variable.
10230 (__libc_setup_tls): Use main executable's link map for TLS data.
10231 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10232 casing for LM_ID_BASE and GL(dl_nns).
10233 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10234 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10235 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10236 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10237 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10239 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10242 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10244 * manual/debug.texi: Document MTASC-safety properties.
10246 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10249 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10250 of __x86_64__ when disabling x87 inline functions.
10252 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10254 * manual/charset.texi: Document MTASC-safety properties.
10256 * manual/crypt.texi: Document MTASC-safety properties.
10258 * manual/conf.texi: Document MTASC-safety properties.
10260 * manual/arith.texi: Document MTASC-safety properties.
10262 * manual/argp.texi: Document MTASC-safety properties.
10264 * manual/macros.texi: Introduce macros to document multi
10265 thread, asynchronous signal and asynchronous cancellation
10267 * manual/intro.texi: Introduce the properties themselves.
10269 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10271 * sysdeps/sh/sh4/Makefile: New file.
10273 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10275 * math/gen-libm-test.pl ($srcdir): New variable.
10276 ($auto_input): Use it.
10278 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10281 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10282 access beyond array bounds when parsing netgroups file.
10284 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10285 the old buffer before realloc.
10287 2014-01-27 Allan McRae <allan@archlinux.org>
10289 * po/fr.po: Update French translation from translation project.
10291 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10293 * sysdeps/sh/libm-test-ulps: Regenerate.
10295 2014-01-24 David S. Miller <davem@davemloft.net>
10297 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10299 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10301 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10302 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10304 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10307 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10308 string pointers after reallocation.
10310 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10312 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10313 __SH4A__ instead of __SH_FPU_ANY__.
10315 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10317 * sysdeps/sh/fpu_control.h: New file.
10318 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10319 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10320 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10321 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10322 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10323 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10324 * sysdeps/sh/sys/ucontext.h: Remove.
10325 * sysdeps/sh/sys: Remove directory.
10327 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10329 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10330 s390/sys/ucontext.h.
10331 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10332 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10334 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10337 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10339 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10343 Adjust the vDSO correctly for internal calls.
10344 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10346 2014-01-20 Allan McRae <allan@archlinux.org>
10348 * po/ca.po: Update Catalan translation from translation project.
10350 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10352 * sysdeps/s390/sotruss-lib.c: New file.
10354 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10357 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10358 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10359 local calls issues by not having a PLT stub required for IFUNC calls.
10360 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10362 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10364 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10365 * math/test-fpucw-static.c: Likewise.
10367 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10370 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10372 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10374 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10375 implementation for powerpc.
10377 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10380 * sysdeps/posix/system.c (__libc_system): Do not enable
10381 asynchronous cancellation.
10383 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10386 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10387 handling only for numbers special also in the IEEE case.
10389 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10391 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10393 2014-01-11 Allan McRae <allan@archlinux.org>
10395 * po/bg.po: Update Bulgarian translation from translation project.
10397 * po/de.po: Update German translation from translation project.
10399 2014-01-10 Roland McGrath <roland@hack.frob.com>
10401 * sysdeps/generic/gcc-compat.h: New file.
10403 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10405 * benchtests/asin-inputs: Correct slow inputs.
10406 * benchtests/acos-inputs: Likewise.
10408 2014-01-10 Allan McRae <allan@archlinux.org>
10410 * po:sv.po: Update Swedish translation from translation project.
10412 * po/vi.po: Update Vietnamese translation from translation project.
10414 * po/eo.po: Update Esperanto translation from translation project.
10416 * po/cs.po: Update Czech translation from translation project.
10418 * po/nl.po: Update Dutch translation from translation project.
10420 * po/pl.po: Update Polish translation from translation project.
10422 * po/ru.po: Update Russian translation from translation project.
10424 * po/uk.po: Update Ukrainian translation from translation project.
10426 2014-01-08 Brooks Moses <bmoses@google.com>
10428 * elf/dl-load.c: Fix comment typo.
10430 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10432 * po/header.pot: Rename to...
10433 * po/pot.header: ... this.
10434 * po/Makefile: Use pot.header.
10436 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10437 Maxim Kuvyrkov <maxim@kugelworks.com>
10440 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10441 SRC and DEST against LEN.
10443 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10446 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10448 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10450 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10454 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10457 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10458 for large positive arguments.
10460 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10462 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10464 * math/auto-libm-test-in: Mark various tests with
10465 xfail-rounding:ldbl-128ibm.
10466 * math/auto-libm-test-out: Regenerated.
10469 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10470 Increase overflow threshold.
10472 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10475 * stdio-common/vfprintf.c: Check for integer overflow.
10477 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10479 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10480 the first argument and return value of __tls_get_addr_internal.
10482 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10484 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10485 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10487 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10489 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10490 * sysdeps/s390/rtld-global-offsets.sym: New file.
10491 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10493 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10494 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10495 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10497 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10498 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10504 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10505 halfs of GPRs for high_gprs contexts.
10506 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10507 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10509 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10511 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10513 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10514 for high GPRs (uc_high_gprs) and for future extensions
10516 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10517 for future extensions (__reserved).
10518 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10520 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10521 SC_HIGHGPRS offset definition.
10522 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10523 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10525 * Versions.def: Add GLIBC_2.19 for libpthread.
10526 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10527 siglongjmp for libpthread with GLIBC_2.19 symver.
10528 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10529 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10530 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10531 * sysdeps/s390/__longjmp.c: New file.
10532 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10533 * sysdeps/s390/longjmp.c: New file.
10534 * sysdeps/s390/setjmp.S: New file.
10535 * sysdeps/s390/sigjmp.S: New file.
10536 * sysdeps/s390/v1-longjmp.c: New file.
10537 * sysdeps/s390/v1-setjmp.h: New file.
10538 * sysdeps/s390/v1-sigjmp.c: New file.
10539 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10540 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10541 GLIBC_2.19 version.
10542 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10543 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10544 versioned symbols for ____longjmp_chk.
10545 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10555 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10556 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10557 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10558 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10559 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10560 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10561 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10562 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10563 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10564 * sysdeps/s390/rtld-__longjmp.c: New file.
10565 * sysdeps/s390/rtld-setjmp.S: New file.
10567 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10570 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10571 Return -__logl (x) for small positive arguments without evaluating
10574 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10576 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10578 (__ptrace_peeksiginfo_args): ... this.
10579 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10581 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10583 2014-01-06 Allan McRae <allan@archlinux.org>
10585 * inet/netinet/in.h: Fix typo in comment.
10587 2014-01-05 Andreas Jaeger <aj@suse.de>
10589 * sysdeps/i386/fpu/libm-test-ulps: Update.
10591 2014-01-05 Allan McRae <allan@archlinux.org>
10593 * po/libc.pot: Regenerated.
10595 * malloc/memusagestat.c: Fix gettext call formatting.
10597 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10599 * nscd/nscd.c: Improve usage() output.
10601 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10603 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10604 * sysdeps/unix/sysv/linux/configure: Regenerated.
10605 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10606 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10608 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10611 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10612 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10614 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10616 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10617 extra tokens at end of #undef directive.
10618 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10619 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10620 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10622 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10624 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10626 * math/auto-libm-test-in: Mark various tests with
10627 xfail-rounding:ldbl-128ibm.
10628 * math/auto-libm-test-out: Regenerated.
10630 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10633 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10634 numbers with subnormal high part when calculating exponent.
10637 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10641 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10643 (__ieee754_acoshl): Use __log1pl not __log1p.
10645 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10647 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10648 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10649 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10650 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10651 (reused_arena, arena_get2): Convert to GNU style.
10652 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10653 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10654 (memalign_check, __malloc_set_state): Likewise.
10655 * malloc/mallocbug.c (main): Likewise.
10656 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10657 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10658 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10659 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10660 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10661 (__posix_memalign, malloc_info): Likewise.
10662 * malloc/malloc.h: Likewise.
10663 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10664 (mallochook, memalignhook, reallochook, mabort): Likewise.
10665 * malloc/mcheck.h: Likewise.
10666 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10667 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10668 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10669 * malloc/morecore.c (__default_morecore): Likewise.
10670 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10671 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10672 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10673 (print_and_abort): Likewise.
10674 * malloc/obstack.h: Likewise.
10675 * malloc/set-freeres.c (__libc_freeres): Likewise.
10676 * malloc/tst-mallocstate.c (main): Likewise.
10677 * malloc/tst-mtrace.c (main): Likewise.
10678 * malloc/tst-realloc.c (do_test): Likewise.
10680 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10683 * nscd/netgroupcache.c (do_notfound): New function.
10684 (addgetnetgrentX): Use it.
10687 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10688 NSS_STATUS_NOTFOUND.
10690 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10692 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10695 2014-01-01 Allan McRae <allan@archlinux.org>
10697 * scripts/update-copyrights: Update configure input file suffix.
10699 * NEWS: Update copyright year.
10700 * catgets/gencat.c: Likewise.
10701 * csu/version.c: Likewise.
10702 * debug/catchsegv.sh: Likewise.
10703 * debug/pcprofiledump.c: Likewise.
10704 * debug/xtrace.sh: Likewise.
10705 * elf/ldconfig.c: Likewise.
10706 * elf/ldd.bash.in: Likewise.
10707 * elf/pldd.c: Likewise.
10708 * elf/sotruss.ksh: Likewise.
10709 * elf/sprof.c: Likewise.
10710 * iconv/iconv_prog.c: Likewise.
10711 * iconv/iconvconfig.c: Likewise.
10712 * locale/programs/locale.c: Likewise.
10713 * locale/programs/localedef.c: Likewise.
10714 * login/programs/pt_chown.c: Likewise.
10715 * malloc/memusage.sh: Likewise.
10716 * malloc/memusagestat.c: Likewise.
10717 * malloc/mtrace.pl: Likewise.
10718 * manual/libc.texinfo: Likewise.
10719 * nscd/nscd.c: Likewise.
10720 * nss/getent.c: Likewise.
10721 * nss/makedb.c: Likewise.
10722 * posix/getconf.c: Likewise.
10723 * scripts/test-installation.pl: Likewise.
10725 * All files with FSF copyright notices: Update copyright dates
10726 using scripts/update-copyrights.
10727 * intl/plural.c: Regenerated.
10728 * locale/programs/charmap-kw.h: Likewise.
10729 * locale/programs/locfile-kw.h: Likewise.
10731 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10733 * sysdeps/unix/sysv/linux/configure: Regenerated.
10734 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10735 the linux/fanotify.h header.
10736 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10737 HAVE_LINUX_FANOTIFY_H is defined.
10739 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10741 * benchtests/cos-inputs: New inputs.
10742 * benchtests/sin-inputs: Likewise.
10744 * benchtests/atan-inputs: New inputs. Fix name of multiple
10745 precision fallback inputs.
10747 * benchtests/atanh-inputs: New inputs.
10748 * benchtests/tanh-inputs: Likewise.
10750 * benchtests/acosh-inputs: New inputs.
10751 * benchtests/asinh-inputs: Likewise.
10753 * benchtests/cosh-inputs: New inputs.
10754 * benchtests/sinh-inputs: Likewise.
10756 * benchtests/acos-inputs: Add more inputs.
10757 * benchtests/asin-inputs: Likewise.
10759 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10762 * manual/arith.texi: Fix spelling.
10763 * manual/charset.texi: Likewise.
10764 * manual/errno.texi: Likewise.
10765 * manual/filesys.texi: Likewise.
10766 * manual/lang.texi: Likewise.
10767 * manual/llio.texi: Likewise.
10768 * manual/locale.texi: Likewise.
10769 * manual/message.texi: Likewise.
10770 * manual/resource.texi: Likewise.
10771 * manual/search.texi: Likewise.
10772 * manual/setjmp.texi: Likewise.
10773 * manual/stdio.texi: Likewise.
10774 * manual/string.texi: Likewise.
10775 * manual/sysinfo.texi: Likewise.
10776 * manual/time.texi: Likewise.
10778 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10780 * po/sl.po: New file.
10782 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10784 * .gitignore: Add core/.gdbinit/.gdb_history.
10786 2013-12-27 Allan McRae <allan@archlinux.org>
10789 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10790 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10792 2013-12-24 Brooks Moses <bmoses@google.com>
10794 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10795 all compilers that claim C++98 compliance, not just GCC.
10796 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10799 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10801 * NEWS: Restore accidentally deleted bug-fix entries.
10803 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10804 Ondřej Bílka <neleai@seznam.cz>
10807 * malloc/malloc.c (_int_free): Perform sanity check only if we
10810 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10813 * manual/stdio.texi (String Input Conversions): Clarify that character
10814 classes are not supported.
10816 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10820 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10823 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10824 Calculate results for small negative arguments directly rather
10825 than using reflection formula with special underflow handling.
10827 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10828 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10829 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10830 (fchflags): Likewise.
10831 (revoke): Likewise.
10832 (setlogin): Likewise.
10833 (sigaltstack): Likewise.
10835 (sigblock): Remove.
10836 (sigsetmask): Likewise.
10838 (waitpid): Likewise.
10839 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10840 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10842 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10843 * sysdeps/unix/bsd/Makefile: ... here.
10844 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10845 * sysdeps/unix/bsd/Versions: ... here.
10846 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10847 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10848 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10849 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10850 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10851 * sysdeps/unix/bsd/sigblock.c: ... here.
10852 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10853 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10854 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10855 * sysdeps/unix/bsd/sigvec.c: ... here.
10856 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10857 * sysdeps/unix/bsd/tcdrain.c: ... here.
10858 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10859 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10860 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10861 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10862 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10863 * sysdeps/unix/bsd/wait.c: ... here.
10864 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10865 * sysdeps/unix/bsd/wait3.c: ... here.
10866 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10867 * sysdeps/unix/bsd/waitpid.c: ... here.
10869 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10872 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10873 round-to-nearest for [!USE_AS_EXPM1L].
10874 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10875 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10876 more tests of exp and exp10. Expect some exp10 tests to miss
10877 exceptions or fail in directed rounding modes.
10878 * math/auto-libm-test-out: Regenerated.
10879 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10880 (exp10_test_tonearest): New function.
10881 (exp10_towardzero_test_data): New array.
10882 (exp10_test_towardzero): New function.
10883 (exp10_downward_test_data): New array.
10884 (exp10_test_downward): New function.
10885 (exp10_upward_test_data): New array.
10886 (exp10_test_upward): New function.
10887 (main): Call the new functions.
10888 * sysdeps/i386/fpu/libm-test-ulps: Update.
10889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10891 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10893 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10894 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10895 * math/auto-libm-test-out: Regenerated.
10896 * math/libm-test.inc (acosh_test_data): Add more tests.
10897 (atanh_test_data): Likewise.
10898 (ceil_test_data): Likewise.
10899 (copysign_test_data): Likewise.
10900 * sysdeps/i386/fpu/libm-test-ulps: Update.
10901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10903 * timezone/checktab.awk: Update from tzcode 2013i.
10904 * timezone/private.h: Likewise.
10905 * timezone/scheck.c: Likewise.
10906 * timezone/tzfile.h: Likewise.
10907 * timezone/tzselect.ksh: Likewise.
10908 * timezone/zdump.c: Likewise.
10909 * timezone/zic.c: Likewise.
10911 * math/auto-libm-test-in: Add tests of cpow.
10912 * math/auto-libm-test-out: Regenerated.
10913 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10914 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10916 (func_calc_desc): Add mpc_cc_c union field.
10917 (test_functions): Add cpow.
10918 (special_fill_2pi): New function.
10919 (special_real_inputs): Add 2pi.
10920 (calc_generic_results): Handle mpc_cc_c.
10921 * sysdeps/i386/fpu/libm-test-ulps: Update.
10922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10924 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10925 csqrt, ctan and ctanh.
10926 * math/auto-libm-test-out: Regenerated.
10927 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10928 (TEST_COND_x86): Likewise.
10929 (ccos_test_data): Use AUTO_TESTS_c_c.
10930 (ccosh_test_data): Likewise.
10931 (cexp_test_data): Likewise.
10932 (clog_test_data): Likewise.
10933 (csqrt_test_data): Likewise.
10934 (ctan_test_data): Likewise.
10935 (ctan_tonearest_test_data): Likewise.
10936 (ctan_towardzero_test_data): Likewise.
10937 (ctan_downward_test_data): Likewise.
10938 (ctan_upward_test_data): Likewise.
10939 (ctanh_test_data): Likewise.
10940 (ctanh_tonearest_test_data): Likewise.
10941 (ctanh_towardzero_test_data): Likewise.
10942 (ctanh_downward_test_data): Likewise.
10943 (ctanh_upward_test_data): Likewise.
10944 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10946 (func_calc_desc): Add mpc_c_c union field.
10947 (FUNC_mpc_c_c): New macro.
10948 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10949 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10951 (special_fill_min_subnorm_p120): New function.
10952 (special_real_inputs): Add min_subnorm_p120.
10953 (calc_generic_results): Handle mpc_c_c.
10954 * sysdeps/i386/fpu/libm-test-ulps: Update.
10955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10957 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10959 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10960 (do_sin_slow): New functions.
10961 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10962 (cslow2, csloww1, csloww2): Use the new functions.
10964 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10965 Use M to change sign of result instead of X. Assume X is
10967 (csloww1): Likewise.
10971 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10972 arguments A and DA.
10976 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10978 (sloww1): Don't adjust sign of DX.
10979 (csloww1): Likewise.
10980 (sloww2): Use X directly and don't adjust sign of DX.
10981 (csloww2): Likewise.
10983 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10985 * math/auto-libm-test-in: Add tests of cabs and carg.
10986 * math/auto-libm-test-out: Regenerated.
10987 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10988 (carg_test_data): Likewise.
10989 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10991 (func_calc_desc): Add mpc_c_f union field.
10992 (test_functions): Add cabs and carg.
10993 (calc_generic_results): Handle mpc_c_f.
10995 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10996 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10997 as a macro and a compat symbol.
10998 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10999 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11000 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11001 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11002 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11003 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11005 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11007 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11009 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11011 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11013 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11015 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11016 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11019 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11023 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11025 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11026 trailing whitespace removed.
11027 * scripts/config.guess: Update to version 2013-11-29.
11028 * scripts/config.sub: Update to version 2013-10-01.
11030 * math/auto-libm-test-in: Add tests of sincos.
11031 * math/auto-libm-test-out: Regenerated.
11032 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11033 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11035 (func_calc_desc): Add mpfr_f_11 union field.
11036 (test_functions): Add sincos.
11037 (calc_generic_results): Handle mpfr_f_11.
11038 * sysdeps/i386/fpu/libm-test-ulps: Update.
11039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11041 2013-12-19 Andreas Schwab <schwab@suse.de>
11043 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11045 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11046 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11047 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11049 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11051 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11052 * sysdeps/i386/fpu/libm-test-ulps: Update.
11053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11056 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11057 round-to-nearest mode when using frndint.
11058 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11059 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11062 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11064 * math/auto-libm-test-out: Regenerated.
11065 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11066 (TEST_COND_x86): Likewise.
11067 (expm1_tonearest_test_data): New array.
11068 (expm1_test_tonearest): New function.
11069 (expm1_towardzero_test_data): New array.
11070 (expm1_test_towardzero): New function.
11071 (expm1_downward_test_data): New array.
11072 (expm1_test_downward): New function.
11073 (expm1_upward_test_data): New array.
11074 (expm1_test_upward): New function.
11075 (main): Run the new test functions.
11076 * sysdeps/i386/fpu/libm-test-ulps: Update.
11077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11079 * include/features.h: Update comment documenting feature test
11080 macros. Mention _DEFAULT_SOURCE in comment.
11081 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11082 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11083 _BSD_SOURCE and _SVID_SOURCE.
11084 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11085 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11086 !_SVID_SOURCE]: Likewise.
11087 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11088 (__USE_POSIX_IMPLICITLY): Define.
11089 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11090 (_POSIX_SOURCE): Undefine and redefine.
11091 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11092 (_POSIX_C_SOURCE): Likewise.
11093 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11094 (Feature Test Macros): Update documentation of default features.
11096 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11098 * benchtests/Makefile: Add bench-strtok.
11099 * benchtests/bench-strtok.c: New file: strtok benchtest.
11101 2013-12-19 Allan McRae <allan@archlinux.org>
11103 * manual/install.texi: Suppress menu for plain text output.
11104 * INSTALL: Regenerated.
11106 2013-12-18 Brooks Moses <bmoses@google.com>
11109 * misc/getauxval.c: Include errno.h.
11110 (__getauxval): Set errno to ENOENT if the requested type is not
11112 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11113 don't declare with __attribute_const__.
11114 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11115 * manual/startup.texi: Document that getauxval sets errno.
11117 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11119 * math/auto-libm-test-in: Add tests of jn and yn.
11120 * math/auto-libm-test-out: Regenerated.
11121 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11122 (yn_test_data): Likewise.
11123 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11125 (func_calc_desc): Add mpfr_if_f union field.
11126 (FUNC_mpfr_if_f): New macro.
11127 (test_functions): Add jn and yn.
11128 (calc_generic_results): Assert type of second input for
11129 mpfr_ff_f. Handle mpfr_if_f.
11130 (output_for_one_input_case): Disable all checking for arguments
11131 fitting floating-point types in case of an integer argument.
11132 * sysdeps/i386/fpu/libm-test-ulps: Update.
11133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11136 Don't expect fegetround reference in libm.so.
11138 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11140 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11141 $(config-cflags-nofma).
11143 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11145 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11146 * math/auto-libm-test-out: Regenerated.
11149 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11150 to determine exponent and adjust argument to have exponent of -1.
11151 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11153 * math/auto-libm-test-out: Regenerated.
11154 * sysdeps/i386/fpu/libm-test-ulps: Update.
11155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11157 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11159 * manual/probes.texi: Remove cases when per-thread arenas are
11162 2013-12-18 Andreas Schwab <schwab@suse.de>
11164 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11165 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11166 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11167 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11168 * sysdeps/i386/i686/multiarch/Makefile: Update.
11169 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11171 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11173 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11174 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11176 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11179 Support TZ transition times < 00:00:00.
11180 This is needed for version-3 tz-format files; it supports time
11181 stamps past 2037 for America/Godthab (the only entry in the tz
11182 database for which this change is relevant).
11183 * manual/time.texi (TZ Variable): Document transition times
11184 from -167:59:59 through -00:00:01.
11185 * time/tzset.c (tz_rule): Time of day is now signed.
11186 (__tzset_parse_tz): Parse negative time of day.
11188 Document TZ transition times >= 25:00:00.
11189 * manual/time.texi (TZ Variable): Document transition times from
11190 25:00:00 through 167:59:59. These are already supported, and this
11191 support will help with version-3 tz-format files.
11193 * manual/time.texi (TZ Variable): Modernize North America example
11194 to reflect current (i.e., 2007-and-later) daylight saving rules.
11196 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11198 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11200 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11201 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11203 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11204 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11205 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11206 * sysdeps/unix/bsd/clock.c: Likewise.
11207 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11208 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11209 * sysdeps/unix/bsd/init-posix.c: Likewise.
11210 * sysdeps/unix/bsd/poll.c: Likewise.
11211 * sysdeps/unix/bsd/ptsname.c: Likewise.
11212 * sysdeps/unix/bsd/seekdir.c: Likewise.
11213 * sysdeps/unix/bsd/setegid.c: Likewise.
11214 * sysdeps/unix/bsd/seteuid.c: Likewise.
11215 * sysdeps/unix/bsd/setgid.c: Likewise.
11216 * sysdeps/unix/bsd/setrgid.c: Likewise.
11217 * sysdeps/unix/bsd/setruid.c: Likewise.
11218 * sysdeps/unix/bsd/setsid.c: Likewise.
11219 * sysdeps/unix/bsd/setuid.c: Likewise.
11220 * sysdeps/unix/bsd/sigaction.c: Likewise.
11221 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11222 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11223 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11224 * sysdeps/unix/bsd/telldir.c: Likewise.
11225 * sysdeps/unix/bsd/times.c: Likewise.
11226 * sysdeps/unix/bsd/usleep.c: Likewise.
11228 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11229 ($(objpfx)libbsd-compat.a): Remove rule.
11231 * include/features.h (__FAVOR_BSD): Do not define.
11232 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11233 features conflicting with POSIX.
11234 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11235 (_BSD_SOURCE): Remove description of not being a subset of other
11236 feature test macros.
11237 * manual/job.texi (getpgrp): Do not document BSD version.
11238 (getpgid): Do not document by reference to BSD getpgrp.
11239 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11240 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11241 * signal/signal.h [__FAVOR_BSD]: Likewise.
11242 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11243 instead of making contents conditional on [__FAVOR_BSD].
11244 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11246 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11250 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11253 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11254 values below 2**-450, not 2**-500.
11255 * math/auto-libm-test-in: Don't allow spurious underflow from
11257 * math/auto-libm-test-out: Regenerated.
11261 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11262 values of ha and hb and sort them after adjusting subnormal
11264 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11266 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11267 values of ea and eb and sort them after adjusting subnormal
11269 * math/auto-libm-test-in: Do not expect some hypot tests of
11270 subnormals to fail. Add more hypot tests.
11271 * math/auto-libm-test-out: Regenerated.
11273 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11276 * sysdeps/sh/s_fma.c: New file.
11277 * sysdeps/sh/s_fmaf.c: New file.
11278 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11280 * sysdeps/sh/Implies: Add sh/soft-fp.
11282 2013-12-16 Roland McGrath <roland@hack.frob.com>
11284 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11285 level of indirection to members `objname', `errstring', `malloced'.
11286 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11287 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11288 it as the __longjmp argument (just pass 1 instead).
11289 (_dl_catch_error): Initialize C with argument pointers and address of
11290 volatile local ERRCODE rather than copying values out of C at return.
11292 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11294 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11295 * math/auto-libm-test-out: Regenerated.
11296 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11297 (hypot_test_data): Likewise.
11298 (pow_test_data): Likewise.
11299 (pow_tonearest_test_data): Likewise.
11300 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11302 (func_calc_desc): Add mpfr_ff_f union field.
11303 (FUNC_mpfr_ff_f): New macro.
11304 (test_functions): Add atan2, hypot and pow.
11305 (special_fill_min): New function.
11306 (special_fill_minus_min): Likewise.
11307 (special_fill_min_subnorm): Likewise.
11308 (special_fill_minus_min_subnorm): Likewise.
11309 (special_real_inputs): Add min, -min, min_subnorm and
11311 (calc_generic_results): Handle mpfr_ff_f.
11312 * sysdeps/i386/fpu/libm-test-ulps: Update.
11313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11315 2013-12-16 Will Newton <will.newton@linaro.org>
11317 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11318 (Aligned Memory Blocks): Add documentation for aligned_alloc
11319 and suggest it as an alternative to posix_memalign.
11320 (Hooks for Malloc): Document __memalign_hook is also called
11321 for aligned_alloc. (Summary of Malloc): Add summary for
11322 aligned alloc. Document __memalign_hook is also called
11325 2013-12-16 Will Newton <will.newton@linaro.org>
11327 * manual/memory.texi (Malloc Examples): Clarify default
11328 alignment documentation. Suggest posix_memalign rather
11329 than memalign or valloc.
11330 (Aligned Memory Blocks): Remove suggestion to use memalign
11331 or valloc. Remove obsolete comment about BSD.
11332 Document memalign errno values and mark the function obsolete.
11333 Document posix_memalign returned error codes. Mark valloc
11334 as obsolete. (Hooks for Malloc): __memalign_hook is also
11335 called for posix_memalign and valloc.
11336 (Summary of Malloc): Add posix_memalign to function summary.
11337 __memalign_hook is also called for posix_memalign and valloc.
11339 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11341 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11345 (sloww): Use mynumber union. Expand ternary operator into
11346 if-else statements.
11347 (cslow): use mynumber union.
11349 2013-12-16 Allan McRae <allan@archlinux.org>
11351 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11352 * configure: Regenerated.
11354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11357 * configure.ac: Added --enable-maintainer-mode. Check for
11358 autoconf when enabled.
11359 * configure: Regenerated.
11361 * nscd/nscd.service: New file.
11362 * nscd/nscd.tmpfiles: New file.
11364 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11367 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11368 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11369 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11370 (strstr): Add __strstr_sse2_unaligned ifunc.
11371 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11372 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11373 (strcasestr): Remove __strcasestr_sse42 ifunc.
11374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11378 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11380 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11381 * sysdeps/sh/bits/fenv.h: ... here.
11382 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11384 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11386 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11389 hypotf multiarch implementations.
11390 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11391 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11392 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11393 multiarch hypot for PPC64.
11394 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11395 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11396 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11397 multiarch hypotf for PPC64.
11399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11400 modff multiarch implementations.
11401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11404 multiarch modf for PPC64.
11405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11408 multiarch modff for PPC64.
11410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11411 and logl multiarch implementations.
11412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11415 multiarch logb for PPC64.
11416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11419 multiarch logb for PPC64.
11420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11423 multiarch logb for PPC64.
11425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11426 isinff multiarch implementation.
11427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11431 multiarch isinf for PPC64.
11432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11435 multiarch isinff for PPC64.
11437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11438 finitef multiarch implementation.
11439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11443 multiarch finite for PPC64.
11444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11447 multiarch finitef for PPC64.
11449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11450 lrint multiarch implementation.
11451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11455 multiarch llrint for PPC64.
11456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11457 multiarch lrint for PPC64.
11459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11460 copysignf multiarch implementation.
11461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11466 multiarch copysign for PPC64.
11467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11468 multiarch copysignf for PPC64.
11470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11471 multiarch implementation.
11472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11480 multiarch llround for PPC64.
11481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11482 multiarch trunc for PPC64.
11483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11484 multiarch truncf for PPC64.
11486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11487 multiarch implementation.
11488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11496 multiarch llround for PPC64.
11497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11498 multiarch round for PPC64.
11499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11500 multiarch roundf for PPC64.
11502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11503 multiarch implementation.
11504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11512 multiarch llround for PPC64.
11513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11514 multiarch floor for PPC64.
11515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11516 multiarch floorf for PPC64.
11518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11519 multiarch implementation.
11520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11528 multiarch llround for PPC64.
11529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11530 multiarch ceil for PPC64.
11531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11532 multiarch ceilf for PPC64.
11534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11535 multiarch implementation.
11536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11543 multiarch llround for PPC64.
11544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11545 multiarch lround for PPC64.
11547 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11548 multiarch implementation.
11549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11556 multiarch isnan for PPC64.
11557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11558 multiarch isnanf for PPC64.
11560 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11561 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11562 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11563 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11564 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11567 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11568 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11569 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11570 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11573 multiarch implementations.
11574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11575 (__libc_ifunc_impl_list): Likewise.
11576 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11577 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11578 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11579 multiarch stpcpy for PPC64.
11581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11582 multiarch implementations.
11583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11584 (__libc_ifunc_impl_list): Likewise.
11585 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11586 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11587 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11588 multiarch strcpy for PPC64.
11590 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11591 redefine function name.
11592 (_wordcopy_fwd_dest_aligned): Likewise.
11593 (_wordcopy_bwd_aligned): Likewise.
11594 (_wordcopy_bwd_dest_aligned): Likewise.
11595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11596 multiarch implementations.
11597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11598 (__libc_ifunc_impl_list): Likewise.
11599 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11600 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11601 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11602 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11603 multiarch wcscpy for PPC64.
11605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11606 multiarch implementations.
11607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11608 (__libc_ifunc_impl_list): Likewise.
11609 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11610 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11611 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11612 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11613 multiarch wcscpy for PPC64.
11615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11616 multiarch implementations.
11617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11618 (__libc_ifunc_impl_list): Likewise.
11619 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11620 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11621 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11622 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11623 multiarch wcsrchr for PPC64.
11625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11626 multiarch implementations.
11627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11628 (__libc_ifunc_impl_list): Likewise.
11629 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11630 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11631 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11632 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11633 multiarch wcschr for PPC64.
11635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11636 multiarch implementations.
11637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11638 (__libc_ifunc_impl_list): Likewise.
11639 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11640 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11641 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11642 multiarch strchrnul for PPC64.
11644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11647 (__libc_ifunc_impl_list): Likewise.
11648 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11649 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11650 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11651 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11657 (__libc_ifunc_impl_list): Likewise.
11658 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11659 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11660 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11661 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11665 multiarch implementations.
11666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11667 (__libc_ifunc_impl_list): Likewise.
11668 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11669 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11670 strncasecmp for PPC64.
11671 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11672 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11673 multiarch strncasecmp_l for PPC64.
11675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11676 multiarch implementations.
11677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11678 (__libc_ifunc_impl_list): Likewise.
11679 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11680 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11681 multiarch strcasecmp for PPC64.
11682 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11684 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11685 multiarch strcasecmp_l for PPC64.
11687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11690 (__libc_ifunc_impl_list): Likewise.
11691 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11692 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11693 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11699 (__libc_ifunc_impl_list): Likewise.
11700 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11701 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11702 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11708 (__libc_ifunc_impl_list): Likewise.
11709 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11710 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11711 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11712 rawmemrchr for PPC64.
11714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11717 (__libc_ifunc_impl_list): Likewise.
11718 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11719 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11720 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11726 (__libc_ifunc_impl_list): Likewise.
11727 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11728 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11729 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11735 (__libc_ifunc_impl_list): Likewise.
11736 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11737 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11738 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11741 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11742 avoid cretion of __bzero symbol.
11743 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11745 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11747 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11750 multiarch implementations.
11751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11752 (__libc_ifunc_impl_list): Likewise.
11753 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11754 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11755 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11756 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11758 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11759 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11760 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11761 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11762 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11764 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11766 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11770 (__libc_ifunc_impl_list): Likewise.
11771 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11772 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11773 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11774 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11778 multiarch for POWER/PPC64.
11779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11780 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11781 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11782 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11783 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11784 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11785 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11786 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11787 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11790 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11791 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11792 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11793 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11794 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11795 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11796 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11797 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11798 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11799 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11800 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11801 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11802 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11803 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11804 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11813 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11815 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11817 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11819 * benchtests/Makefile (bench): Add exp2 and log2.
11820 (LDLIBS-bench-exp2): Add -lm.
11821 (LDLIBS-bench-log2): Likewise.
11822 * benchtests/exp2-inputs: New inputs file.
11823 * benchtests/log2-inputs: New inputs file.
11824 * benchtests/log-inputs: Add new inputs.
11825 * benchtests/tan-inputs: Likewise.
11827 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11829 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11831 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11832 (csloww2): ... from here.
11834 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11835 instead of structures.
11836 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11837 (POLYNOMIAL): Likewise.
11838 (TAYLOR_SLOW): Likewise.
11844 (sloww1); Likewise.
11845 (sloww2): Likewise.
11846 (bsloww1): Likewise.
11847 (bsloww2): Likewise.
11848 (cslow2): Likewise.
11849 (csloww): Likewise.
11850 (csloww1): Likewise.
11851 (csloww2): Likewise.
11853 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11855 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11856 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11857 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11858 * malloc/hooks.c (realloc_check): Likewise.
11860 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11861 * malloc/arena.c: Remove PER_THREAD conditional.
11862 [!PER_THREAD]: Remove code.
11863 (ptmalloc_unlock_all2): Likewise.
11864 (ptmalloc_init): Likewise.
11865 (_int_new_arena): Likewise.
11866 (arena_get2): Likewise.
11867 * malloc/hooks.c (__malloc_get_state): Likewise.
11868 (__malloc_set_state): Likewise.
11869 * malloc/malloc.c: Likewise.
11870 (struct malloc_state): Likewise.
11871 (struct malloc_par): Likewise.
11872 (__libc_realloc): Likewise.
11873 (__libc_mallopt): Likewise.
11875 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11877 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11879 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11881 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11882 macro to a function. Check for zero perturb_byte.
11883 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11885 * malloc/malloc.c: (force_reg): Remove.
11886 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11887 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11888 force_reg by atomic_forced_read.
11889 * malloc/arena.c (ptmalloc_init): Likewise.
11890 * malloc/hooks.c (top_check): Likewise.
11892 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11896 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11900 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11902 * math/auto-libm-test-in: Add tests of lgamma.
11903 * math/auto-libm-test-out: Regenerated.
11904 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11905 (M_LOG_2_SQRT_PIl): Likewise.
11906 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11907 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11909 (func_calc_desc): Add mpfr_f_f1 union field.
11910 (ARGS1): New macro.
11918 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11919 (test_functions): Add lgamma.
11920 (calc_generic_results): Handle mpfr_f_f1.
11921 * sysdeps/i386/fpu/libm-test-ulps: Update.
11922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11924 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11926 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11927 __mpn_add_n for PowerPC64/POWER7.
11928 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11929 __mpn_sub_n for PowerPC64/POWER7.
11931 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11932 __mpn_addmul_1 for PowerPC64.
11933 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11934 __mpn_submul_1 for PowerPC64.
11935 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11937 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11940 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11943 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11945 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11947 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11949 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11950 add multiarch folders.
11951 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11952 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11953 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11954 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11955 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11956 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11957 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11958 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11959 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11960 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11961 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11970 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11976 multiarch __ieee754_hypot for PowerPC32.
11977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11982 multiarch __ieee754_hypotf for PowerPC32.
11984 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11985 long_double_symbol only if __logbl is defined.
11986 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11987 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11989 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11991 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11992 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11993 path for implementation.
11994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11997 logb, and logbl multiarch implementations for PowerPC32.
11998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12003 multiarch logb for PowerPC32.
12004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12009 multiarch logbf for PowerPC32.
12010 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12014 multiarch logbl implementation for PowerPC32.
12016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12017 and modff multiarch implementations.
12018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12023 multiarch modf for PowerPC32.
12024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12029 multiarch modff for PowerPC32.
12031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12032 and lrintf multiarch implementations.
12033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12038 multiarch lrint for PowerPC32.
12039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12040 file: multiarch lrintf for PowerPC32.
12042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12043 and lroundf multiarch implementations.
12044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12051 multiarch lround for PowerPC32.
12052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12053 file: multiarch lroundf for PowerPC32.
12055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12056 copysign and copysignf multiarch implementations.
12057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12062 file: multiarch copysign for PowerPC32.
12063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12064 file: multiarch copysignf for PowerPC32.
12066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12067 and truncf multiarch implementations.
12068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12073 multiarch trunc for PowerPC32.
12074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12079 multiarch truncf for PowerPC32.
12081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12082 and roundf multiarch implementations.
12083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12088 multiarch round for PowerPC32.
12089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12094 multiarch roundf for PowerPC32.
12096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12097 and floorf multiarch implementations.
12098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12103 multiarch floor for PowerPC32.
12104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12109 multiarch floorf for PowerPC32.
12111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12112 and ceilf multiarch implementations.
12113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12118 multiarch ceil for PowerPC32.
12119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12124 multiarch ceilf for PowerPC32.
12126 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12128 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12129 FINITEF is defined.
12130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12131 and finitef multiarch implementations.
12132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12137 multiarch finite for PowerPC32.
12138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12141 file: multiarch finitef for PowerPC32.
12143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12144 and isinff multiarch implementations.
12145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12150 multiarch isinf for PowerPC32.
12151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12154 multiarch isinff for PowerPC32.
12156 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12157 alias when __isnan is defined.
12158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12159 and isnanf multiarch implementations.
12160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12169 multiarch isnan for PowerPC32.
12170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12175 multiarch isnanf for PowerPC32.
12177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12178 and sqrtf multiarch implementations.
12179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12184 multiarch sqrt for PowerPC32.
12185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12190 multiarch sqrtf for PowerPC32.
12192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12193 and llroundf multiarch implementations.
12194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12201 file: multiarch llround for PowerPC32.
12202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12203 file: multiarch llroundf for PowerPC32.
12205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12206 multiarch PowerPC32 fpu implementations.
12207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12212 multiarch llrint for PowerPC32.
12213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12228 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12229 multiarch wordcopy for PPC32.
12230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12233 (__libc_ifunc_impl_list): Likewise.
12234 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12235 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12236 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12237 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12238 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12239 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12241 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12249 multiarch wcscpy for PPC32.
12250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12253 (__libc_ifunc_impl_list): Likewise.
12254 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12255 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12256 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12257 sysdeps/powerpc/power6/wcscpy.c.
12259 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12267 multiarch wcsrchr for PPC32.
12268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12271 (__libc_ifunc_impl_list): Likewise.
12272 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12273 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12274 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12275 sysdeps/powerpc/power6/wcsrchr.c.
12277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12283 multiarch wcschr for PPc32.
12284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12287 (__libc_ifunc_impl_list): Likewise.
12288 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12289 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12290 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12291 sysdeps/powerpc/power6/wcschr.c.
12293 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12294 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12296 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12297 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12298 file: multiarch strchr for PPC32.
12299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12302 (__libc_ifunc_impl_list): Likewise.
12304 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12306 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12308 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12310 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12311 multiarch strchrnul for PPC32.
12312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12315 (__libc_ifunc_impl_list): Likewise.
12317 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12319 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12320 multiarch strncasecmp for PPC32.
12321 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12323 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12324 multiarch strncasecmp_l for PPC32.
12325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12326 strncasecmp multiarch objects.
12327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12328 (__libc_ifunc_impl_list): Likewise.
12330 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12332 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12333 multiarch strncasecmp for PPC32.
12334 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12336 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12337 multiarch strcasecmp_l for PPC32.
12338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12341 (__libc_ifunc_impl_list): Likewise.
12343 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12345 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12347 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12348 multiarch strncmp for PPC32.
12349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12352 (__libc_ifunc_impl_list): Likewise.
12354 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12355 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12357 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12358 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12362 (__libc_ifunc_impl_list): Likewise.
12364 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12366 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12368 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12372 (__libc_ifunc_impl_list): Likewise.
12374 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12376 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12378 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12379 multiarch rawmemchr for PPC32.
12380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12383 (__libc_ifunc_impl_list): Likewise.
12385 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12387 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12389 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12390 file: memrchr multiarch for PPC32.
12391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12394 (__libc_ifunc_impl_list): Likewise.
12396 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12397 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12399 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12400 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12401 multiarch memchr for PPC32.
12402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12405 (__libc_ifunc_impl_list): Likewise.
12407 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12408 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12410 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12412 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12413 file: multiarch mempcpy for PPC32.
12414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12417 (__libc_ifunc_impl_list): Likewise.
12419 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12420 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12421 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12422 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12423 multiarch bzero for PPC32.
12424 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12426 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12428 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12429 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12430 file: multiarch memset for PPC32.
12431 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12433 memset multiarch objects.
12434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12435 (__libc_ifunc_impl_list): Likewise.
12437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12442 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12443 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12445 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12446 (__libc_ifunc_impl_list): Likewise.
12448 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12457 multiarch memcpy for PPC32.
12458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12461 (__libc_ifunc_impl_list): Likewise.
12463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12464 support multiarch for POWER/PPC32.
12465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12467 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12469 Implies file to make multiarch folder appers before the fpu and
12470 default folder for power4 configuration.
12472 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12474 * scripts/bench.pl: Append volatile keyword to type.
12476 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12478 * sysdeps/sh/sotruss-lib.c: New file.
12479 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12481 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12485 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12488 * math/w_tgamma.c: Include <errno.h>.
12489 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12490 * math/w_tgammaf.c: Include <errno.h>.
12491 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12492 * math/w_tgammal.c: Include <errno.h>.
12493 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12494 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12495 underflow. Add more tgamma tests.
12496 * math/auto-libm-test-out: Regenerated.
12497 * sysdeps/i386/fpu/libm-test-ulps: Update.
12498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12500 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12501 sin, sinh, tan, tanh, tgamma, y0 and y1.
12502 * math/auto-libm-test-out: Regenerated.
12503 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12504 (TEST_COND_x86): Likewise.
12505 (M_E2l): Remove macro.
12507 (M_2_SQRT_PIl): Likewise.
12508 (M_SQRT_PIl): Likewise.
12509 (M_1_DIV_El): Likewise.
12510 (log_test_data): Use AUTO_TESTS_f_f.
12511 (log10_test_data): Likewise.
12512 (log1p_test_data): Likewise.
12513 (log2_test_data): Likewise.
12514 (sin_test_data): Likewise.
12515 (sin_tonearest_test_data): Likewise.
12516 (sin_towardzero_test_data): Likewise.
12517 (sin_downward_test_data): Likewise.
12518 (sin_upward_test_data): Likewise.
12519 (sinh_test_data): Likewise.
12520 (sinh_tonearest_test_data): Likewise.
12521 (sinh_towardzero_test_data): Likewise.
12522 (sinh_downward_test_data): Likewise.
12523 (sinh_upward_test_data): Likewise.
12524 (tan_test_data): Likewise.
12525 (tan_tonearest_test_data): Likewise.
12526 (tan_towardzero_test_data): Likewise.
12527 (tan_downward_test_data): Likewise.
12528 (tan_upward_test_data): Likewise.
12529 (tanh_test_data): Likewise.
12530 (tgamma_test_data): Likewise.
12531 (y0_test_data): Likewise.
12532 (y1_test_data): Likewise.
12533 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12534 (special_real_inputs): Add pi/4.
12535 * sysdeps/i386/fpu/libm-test-ulps: Update.
12536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12538 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12540 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12541 "longjmp_target" static probes.
12542 (__longjmp): Rename to __longjmp_symbol.
12543 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12544 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12545 on which longjmp to generate.
12546 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12547 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12549 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12550 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12551 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12552 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12553 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12554 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12556 __longjmp_symbol based on which __longjmp to generate.
12557 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12559 (setjmp): Rename to setjmp_symbol.
12560 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12561 (_setjmp): Rename to _setjmp_symbol.
12562 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12563 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12564 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12565 which setjmp to generate.
12566 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12567 "longjmp_target" static probes.
12569 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12571 * benchtests/README: Add note about output arguments.
12572 * benchtests/bench-sincos.c: Remove file.
12573 * benchtests/sincos-inputs: New file.
12574 * scripts/bench.pl: Identify output arguments and define
12575 static variables for them.
12577 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12580 * Makefile (INSTALL): Add install-plain.texi as the primary
12582 * manual/install-plain.texi: New file.
12583 * manual/install.texi: Include node directive only for
12584 non-plaintext output.
12586 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12588 * stdlib/longlong.h: Update from GCC.
12592 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12593 * math/w_j0f.c (y0f): Likewise.
12594 * math/w_j0l.c (__y0l): Likewise.
12595 * math/w_j1.c (y1): Likewise.
12596 * math/w_j1f.c (y1f): Likewise.
12597 * math/w_j1l.c (__y1l): Likewise
12598 * math/w_jn.c (yn): Likewise.
12599 * math/w_jnf.c (ynf): Likewise.
12600 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12601 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12602 value for Bessel function domain errors outside _SVID_ mode.
12603 Adjust sign of return value for yn (negative integer, 0).
12604 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12605 by zero in return for negative x and set sign appropriately for
12607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12608 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12609 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12610 expectations in error cases.
12611 (y1_test_data): Likewise.
12612 (yn_test_data): Likewise.
12613 * sysdeps/i386/fpu/libm-test-ulps: Update.
12614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12616 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12618 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12619 "64" to "64-v1". Add "64-v2".
12620 (abi-64-options): Rename to ...
12621 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12622 (abi-64-condition): Rename to ...
12623 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12624 (abi-64-ld-soname): Rename to ...
12625 (abi-64-v1-ld-soname): ... this.
12626 (abi-64-v2-options): Define.
12627 (abi-64-v2-condition): Likewise.
12628 (abi-64-v2-ld-soname): Likewise.
12629 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12630 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12635 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12636 Alan Modra <amodra@gmail.com>
12638 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12639 New versions for use with the ELFv2 ABI.
12640 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12641 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12643 (struct La_ppc64v2_retval): Likewise.
12644 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12645 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12646 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12647 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12648 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12649 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12650 Do not save or restore CR.
12651 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12652 (_dl_profile_resolve): Do no save or restore CR. Support extended
12653 return values for ELFv2 ABI. Fix location of FPR return registers.
12654 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12655 updated values for _CALL_ELF == 2.
12656 (La_regs, La_retval, int_retval): Likewise.
12658 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12660 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12661 (FRAME_MIN_SIZE_PARM): Likewise.
12662 (FRAME_BACKCHAIN): Likewise.
12663 (FRAME_CR_SAVE): Likewise.
12664 (FRAME_LR_SAVE): Likewise.
12665 (FRAME_TOC_SAVE): Likewise.
12666 (FRAME_PARM_SAVE): Likewise.
12667 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12668 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12669 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12670 (call_mcount_parm_offset): New macro.
12671 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12672 (PROF): Use symbolic stack frame offsets.
12673 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12674 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12675 Redefine in terms of FRAME_MIN_SIZE.
12676 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12677 (_dl_profile_resolve): Likewise. Update comment.
12678 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12679 symbols stack frame offsets.
12680 (__sigsetjmp): Likewise.
12681 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12682 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12683 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12684 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12687 (FRAME_BACKCHAIN): Remove.
12688 (FRAME_CR_SAVE): Likewise.
12689 (FRAME_LR_SAVE): Likewise.
12690 (FRAME_COMPILER_DW): Likewise.
12691 (FRAME_LINKER_DW): Likewise.
12692 (FRAME_TOC_SAVE): Likewise.
12693 (FRAME_PARM_SAVE): Likewise.
12694 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12695 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12696 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12698 (CHECK_SP): Use symbolic stack frame offsets.
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12700 zone" instead of caller's parameter save area for temp storage.
12701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12702 Likewise. Also, use symbolic stack frame offsets.
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12704 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12705 our own stack frame instead of the caller's.
12706 (__socket): Use symbolic stack frame offsets.
12708 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12709 Alan Modra <amodra@gmail.com>
12711 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12713 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12714 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12715 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12717 (elf_machine_fixup_plt): Call it.
12718 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12720 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12721 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12722 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12723 r2 before calling target.
12725 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12726 Alan Modra <amodra@gmail.com>
12728 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12729 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12730 versions of macros to support ELFv2 ABI.
12731 (LOCALENTRY): New macro.
12732 (ENTRY, EALIGN): Use it.
12733 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12734 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12735 fall through into ENTRY entry point.
12736 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12737 Only define if _CALL_ELF != 2.
12739 (elf_machine_matches_host): Verify ABI version matches.
12740 (RTLD_START): Use LOCALENTRY.
12741 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12742 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12743 (PLT_ENTRY_WORDS): New macro.
12744 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12745 (elf_machine_runtime_setup): Support ELFv2 ABI.
12746 (elf_machine_fixup_plt): Likewise.
12747 (elf_machine_plt_conflict): Likewise.
12748 (resolve_ifunc): Likewise.
12749 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12753 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12755 (makecontext): Support ELFv2 ABI.
12756 * elf/elf.h (EF_PPC64_ABI): Define.
12758 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12760 * sysdeps/powerpc/powerpc64/sysdep.h
12761 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12762 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12763 (ENTRY) [ASSEMBLER]: ... but instead here ...
12764 (EALIGN) [ASSEMBLER]: ... and here.
12765 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12766 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12767 (ENTRY_2) [!ASSEMBLER]: Use it.
12768 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12769 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12771 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12772 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12774 Use PPC64_LOAD_FUNCPTR.
12776 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12778 2013-12-04 Alan Modra <amodra@gmail.com>
12780 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12781 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12782 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12783 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12785 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12786 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12787 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12788 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12789 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12790 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12792 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12795 (__makecontext): Fix incorrect CFI when backtracing out of
12796 context created via makecontext.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12798 (__setcontext): Fix incorrect CFI during switch to new context.
12799 (__novec_setcontext): Likewise.
12801 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12804 * time/strptime_l.c (__strptime_internal): Allow modifiers
12806 * time/tst-strptime.c (day_tests): Add testcase.
12808 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12810 * scripts/bench.pl: Skip over blank lines.
12812 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12815 * manual/time.texi (Calendar Time): Clarify what timezone functions
12818 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12822 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12824 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12826 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12827 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12828 * debug/memset_chk.c (__memset_chk): Likewise.
12829 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12830 * debug/strncpy_chk.c: Likewise.
12832 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12836 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12837 (__ieee754_exp): For possibly underflowing results, check size of
12838 result and force underflow exception if required.
12839 * math/auto-libm-test-in: Add more tests of exp.
12840 * math/auto-libm-test-out: Regenerated.
12841 * sysdeps/i386/fpu/libm-test-ulps: Update.
12842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12845 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12846 * math/w_exp2f.c (__exp2f): Likewise.
12847 * math/w_exp2l.c (__exp2l): Likewise.
12848 * math/auto-libm-test-in: Do not allow missing errno on exp2
12850 * math/auto-libm-test-out: Regenerated.
12852 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12855 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12856 handle filename validation.
12857 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12860 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12863 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12864 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12865 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12867 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12868 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12869 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12870 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12871 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12872 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12873 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12874 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12875 Add more erfc tests.
12876 * math/auto-libm-test-out: Regenerated.
12877 * sysdeps/i386/fpu/libm-test-ulps: Update.
12878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12880 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12881 exp2, expm1, j0 and j1.
12882 * math/auto-libm-test-out: Regenerated.
12883 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12884 (erfc_test_data): Likewise.
12885 (exp_test_data): Likewise.
12886 (exp_tonearest_test_data): Likewise.
12887 (exp_towardzero_test_data): Likewise.
12888 (exp_downward_test_data): Likewise.
12889 (exp_upward_test_data): Likewise.
12890 (exp10_test_data): Likewise.
12891 (exp2_test_data): Likewise.
12892 (expm1_test_data): Likewise.
12893 (j0_test_data): Likewise.
12894 (j1_test_data): Likewise.
12895 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12896 (input_flag_type): Add flag_xfail_rounding.
12897 (input_flags): Add xfail-rounding.
12898 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12899 (output_for_one_input_case): Handle flag_xfail_rounding.
12900 * sysdeps/i386/fpu/libm-test-ulps: Update.
12901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12903 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12906 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12909 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12912 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12913 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12914 (STAP_PROBE0): New macro.
12915 (STAP_PROBE1): Likewise.
12916 (STAP_PROBE2): Likewise.
12917 (STAP_PROBE3): Likewise.
12918 (STAP_PROBE4): Likewise.
12920 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12922 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12924 2013-12-02 Steve Ellcey <sellcey@mips.com>
12926 * benchtests/Makefile (bench): Add sqrt.
12927 (LDLIBS-bench-sqrt): New.
12928 * benchtests/sqrt-input: New.
12930 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12932 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12933 (GAIH_EAI): Likewise.
12934 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12935 (gaih_inet): Likewise.
12936 (getaddrinfo): Don't use GAIH_EAI.
12938 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12939 (struct gaih): Remove definition.
12941 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12943 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12944 Use HERRNOP directly.
12946 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12950 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12952 * math/gen-auto-libm-tests.c (test_functions): Add more
12953 single-argument functions.
12954 (special_fill_pi_2): New function.
12955 (special_fill_minus_pi_2): Likewise.
12956 (special_fill_pi_6): Likewise.
12957 (special_fill_minus_pi_6): Likewise.
12958 (special_fill_pi_3): Likewise.
12959 (special_fill_2pi_3): Likewise.
12960 (special_fill_e): Likewise.
12961 (special_fill_1_e): Likewise.
12962 (special_fill_e_minus_1): Likewise.
12963 (special_real_inputs): Add more special inputs.
12964 (output_for_one_input_case): Do not require ERANGE on underflow to
12965 zero if round-to-nearest result does not underflow to zero, unless
12966 exact results required.
12967 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12968 atan, atanh, cbrt, cos and cosh.
12969 * math/auto-libm-test-out: Regenerated.
12970 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12971 (acos_tonearest_test_data): Likewise.
12972 (acos_towardzero_test_data): Likewise.
12973 (acos_downward_test_data): Likewise.
12974 (acos_upward_test_data): Likewise.
12975 (acosh_test_data): Likewise.
12976 (asin_test_data): Likewise.
12977 (asin_tonearest_test_data): Likewise.
12978 (asin_towardzero_test_data): Likewise.
12979 (asin_upward_test_data): Likewise.
12980 (asinh_test_data): Likewise.
12981 (atan_test_data): Likewise.
12982 (atanh_test_data): Likewise.
12983 (cbrt_test_data): Likewise.
12984 (cos_test_data): Likewise.
12985 (cos_tonearest_test_data): Likewise.
12986 (cos_towardzero_test_data): Likewise.
12987 (cos_downward_test_data): Likewise.
12988 (cos_upward_test_data): Likewise.
12989 (cosh_test_data): Likewise.
12990 (cosh_tonearest_test_data): Likewise.
12991 (cosh_towardzero_test_data): Likewise.
12992 (cosh_downward_test_data): Likewise.
12993 (cosh_upward_test_data): Likewise.
12994 * sysdeps/i386/fpu/libm-test-ulps: Update.
12995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12997 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13000 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13001 * math/w_exp10f.c (__exp10f): Likewise.
13002 * math/w_exp10l.c (__exp10l): Likewise.
13003 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13004 errno settings in existing tests.
13007 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13008 precision control set to double precision.
13009 * sysdeps/i386/fpu/w_sqrt.c: New file.
13010 * math/auto-libm-test-in: Add more tests.
13011 * math/auto-libm-test-out: Update.
13013 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13014 (sqrt_test_tonearest): New function.
13015 (sqrt_towardzero_test_data): New variable.
13016 (sqrt_test_towardzero): New function.
13017 (sqrt_downward_test_data): New variable.
13018 (sqrt_test_downward): New function.
13019 (sqrt_upward_test_data): New variable.
13020 (sqrt_test_upward): New function.
13021 (main): Call the new functions.
13023 * math/gen-auto-libm-tests.c: New file.
13024 * math/auto-libm-test-in: Likewise.
13025 * math/auto-libm-test-out: New generated file.
13026 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13028 (%beautify): Add generated representations of zero.
13029 (top level): Set $auto_input and call parse_auto_input.
13030 (beautify): Remove trailing "f" from hex float constants.
13031 (parse_args): Handle XFAIL_TEST.
13032 (convert_condition): New function.
13033 (or_value): Likewise.
13034 (or_cond_value): Likewise.
13035 (generate_testfile): Handle AUTO_TESTS_* lines.
13036 (parse_auto_input): New function.
13037 * math/libm-test.inc (XFAIL_TEST): New macro.
13038 (ERRNO_UNCHANGED): Update value.
13039 (ERRNO_EDOM): Likewise.
13040 (ERRNO_ERANGE): Likewise.
13041 (IGNORE_RESULT): Likewise.
13042 (TEST_COND_flt_32): New macro.
13043 (TEST_COND_dbl_64): Likewise.
13044 (TEST_COND_ldbl_96_intel): Likewise.
13045 (TEST_COND_ldbl_96_m68k): Likewise.
13046 (TEST_COND_ldbl_128): Likewise.
13047 (TEST_COND_ldbl_128ibm): Likewise.
13048 (TEST_COND_long32): Likewise.
13049 (TEST_COND_long64): Likewise.
13050 (TEST_COND_before_rounding): Likewise.
13051 (TEST_COND_after_rounding): Likewise.
13052 (enable_test): Handle XFAIL_TEST flag.
13053 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13054 with finite results.
13055 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13056 auto-libm-test-out.
13058 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13059 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13062 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13063 __tls_get_addr_internal instead of __tls_get_offset in order to
13064 avoid GOT pointer dependency. Make rtld export
13065 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13066 __tls_get_addr since we are a __tls_get_offset platform.
13067 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13068 GOT pointer being set up before.
13069 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13071 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13073 * manual/math.texi (Errors in Math Functions): Document accuracy
13077 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13078 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13081 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13083 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13094 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13095 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13096 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13097 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13098 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13100 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13102 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13104 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13105 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13106 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13107 atomic-feupdateenv and flt-rounds.
13108 * sysdeps/powerpc/nofpu/Versions (libc): Add
13109 __atomic_feholdexcept, __atomic_feclearexcept,
13110 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13111 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13112 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13113 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13114 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13119 * manual/arith.texi (FP Exceptions): Document that exceptions may
13120 not be raised when matherr is used.
13121 (Math Error Reporting): Document overflow in directed rounding
13122 modes. Document that errno may not be set when finite values are
13123 returned on overflow. Document intent to set errno on underflow
13124 only for underflow to zero.
13127 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13128 round-to-nearest then adjust result for other rounding modes.
13129 * include/fenv.h (fegetround): Use libm_hidden_proto.
13130 * math/fegetround.c (fegetround): Use libm_hidden_def.
13131 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13132 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13133 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13134 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13136 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13137 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13138 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13139 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13141 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13144 * nss/Versions (libnss_files): Add
13145 _nss_files_gethostbyname3_r.
13146 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13148 (HOST_DB_LOOKUP): Remove macro.
13149 (_nss_files_gethostbyname_r): Implement function without the
13150 HOST_DB_LOOKUP macro.
13151 (_nss_files_gethostbyname2_r): Likewise.
13153 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13155 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13157 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13159 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13160 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13163 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13165 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13166 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13167 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13168 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13169 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13170 __fe_nomask_env_priv and attribute_hidden.
13171 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13172 (libc_feupdateenv_test_ppc): Likewise.
13173 (libc_feresetround_ppc): Likewise.
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13175 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13176 compat_symbol macro.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13178 (__fe_nomask_env): Likewise.
13179 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13181 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13183 * string/Makefile: Remove ifunc tests.
13184 * string/test-string.h: Define TEST_IFUNC.
13185 * string/test-bcopy-ifunc.c: Remove.
13186 * string/test-bzero-ifunc.c: Likewise.
13187 * string/test-memccpy-ifunc.c: Likewise.
13188 * string/test-memchr-ifunc.c: Likewise.
13189 * string/test-memcmp-ifunc.c: Likewise.
13190 * string/test-memcpy-ifunc.c: Likewise.
13191 * string/test-memmem-ifunc.c: Likewise.
13192 * string/test-memmove-ifunc.c: Likewise.
13193 * string/test-mempcpy-ifunc.c: Likewise.
13194 * string/test-memrchr-ifunc.c: Likewise.
13195 * string/test-memset-ifunc.c: Likewise.
13196 * string/test-rawmemchr-ifunc.c: Likewise.
13197 * string/test-stpcpy-ifunc.c: Likewise.
13198 * string/test-stpncpy-ifunc.c: Likewise.
13199 * string/test-strcasecmp-ifunc.c: Likewise.
13200 * string/test-strcasestr-ifunc.c: Likewise.
13201 * string/test-strcat-ifunc.c: Likewise.
13202 * string/test-strchr-ifunc.c: Likewise.
13203 * string/test-strchrnul-ifunc.c: Likewise.
13204 * string/test-strcmp-ifunc.c: Likewise.
13205 * string/test-strcpy-ifunc.c: Likewise.
13206 * string/test-strcspn-ifunc.c: Likewise.
13207 * string/test-strlen-ifunc.c: Likewise.
13208 * string/test-strncasecmp-ifunc.c: Likewise.
13209 * string/test-strncat-ifunc.c: Likewise.
13210 * string/test-strncmp-ifunc.c: Likewise.
13211 * string/test-strncpy-ifunc.c: Likewise.
13212 * string/test-strnlen-ifunc.c: Likewise.
13213 * string/test-strpbrk-ifunc.c: Likewise.
13214 * string/test-strrchr-ifunc.c: Likewise.
13215 * string/test-strspn-ifunc.c: Likewise.
13216 * string/test-strstr-ifunc.c: Likewise.
13218 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13220 * benchtests/Makefile: Remove ifunc tests.
13221 * benchtests/bench-string.h: Define TEST_IFUNC.
13222 * benchtests/bench-bcopy-ifunc.c: Remove.
13223 * benchtests/bench-bzero-ifunc.c: Likewise.
13224 * benchtests/bench-memccpy-ifunc.c: Likewise.
13225 * benchtests/bench-memchr-ifunc.c: Likewise.
13226 * benchtests/bench-memcmp-ifunc.c: Likewise.
13227 * benchtests/bench-memcpy-ifunc.c: Likewise.
13228 * benchtests/bench-memmem-ifunc.c: Likewise.
13229 * benchtests/bench-memmove-ifunc.c: Likewise.
13230 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13231 * benchtests/bench-memrchr-ifunc.c: Likewise.
13232 * benchtests/bench-memset-ifunc.c: Likewise.
13233 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13234 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13235 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13236 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13237 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13238 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13239 * benchtests/bench-strcat-ifunc.c: Likewise.
13240 * benchtests/bench-strchr-ifunc.c: Likewise.
13241 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13242 * benchtests/bench-strcmp-ifunc.c: Likewise.
13243 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13244 * benchtests/bench-strcpy-ifunc.c: Likewise.
13245 * benchtests/bench-strcspn-ifunc.c: Likewise.
13246 * benchtests/bench-strlen-ifunc.c: Likewise.
13247 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13248 * benchtests/bench-strncat-ifunc.c: Likewise.
13249 * benchtests/bench-strncmp-ifunc.c: Likewise.
13250 * benchtests/bench-strncpy-ifunc.c: Likewise.
13251 * benchtests/bench-strnlen-ifunc.c: Likewise.
13252 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13253 * benchtests/bench-strrchr-ifunc.c: Likewise.
13254 * benchtests/bench-strsep-ifunc.c: Likewise.
13255 * benchtests/bench-strspn-ifunc.c: Likewise.
13256 * benchtests/bench-strstr-ifunc.c: Likewise.
13258 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13260 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13262 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13264 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13265 * rt/aio.h: Likewise.
13266 * sysdeps/gnu/bits/utmp.h: Likewise.
13267 * sysdeps/gnu/bits/utmpx.h: Likewise.
13268 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13269 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13270 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13271 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13272 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13273 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13274 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13275 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13276 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13277 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13278 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13279 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13280 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13282 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13283 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13284 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13285 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13286 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13287 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13288 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13289 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13290 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13291 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13292 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13294 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13295 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13296 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13297 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13298 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13299 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13300 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13301 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13302 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13303 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13304 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13305 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13306 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13307 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13308 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13309 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13311 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13314 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13315 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13317 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13319 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13320 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13323 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13326 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13327 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13328 (__fesetround): Remove define.
13329 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13330 rounding and exceptions handling.
13331 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13332 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13333 (__fe_nomask_env): Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13335 __fegetround instead of fegetround.
13336 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13337 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13339 2013-11-21 Roland McGrath <roland@hack.frob.com>
13341 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13344 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13346 2013-11-21 Meador Inge <meadori@codesourcery.com>
13349 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13350 (encrypt_r): Likewise.
13351 * malloc/obstack.h (obstack_free): Likewise.
13352 * posix/unistd.h (encrypt): Likewise.
13354 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13356 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13357 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13358 DL_CALL_DT_FINI() that call the functions directly.
13359 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13360 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13361 * elf/dl-fini.c: Likewise.
13363 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13365 * malloc/hooks.c (memalign_check): Add alignment rounding.
13366 * malloc/malloc.c (_mid_memalign): New function.
13367 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13368 Implement by calling _mid_memalign.
13369 * manual/probes.texi (Memory Allocation Probes): Remove
13370 memory_valloc_retry and memory_pvalloc_retry.
13372 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13374 * locale/programs/locarchive.c (open_archive): Add const
13375 qualifier to ARCHIVEFNAME and copy default fname to
13379 * libio/tst-widetext.input: Rename Oriya to Odia.
13380 * locale/iso-639.def: Likewise.
13382 * manual/probes.texi (Mathematical Function Probes): Add
13383 documentation for sin, cos, asin and acos probes.
13384 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13385 (__sin32): Add slowasin probe.
13386 (__cos32): Add slowacos probe.
13387 (__mpsin): Add slowsin probe.
13388 (__mpcos): Add slowcos probe.
13390 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13393 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13394 thread-local __sim_exceptions_thread and global
13395 __sim_exceptions_global.
13396 (__sim_disabled_exceptions): Change to thread-local
13397 __sim_disabled_exceptions_thread and global
13398 __sim_disabled_exceptions_global.
13399 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13400 and global __sim_round_mode_global.
13401 (__simulate_exceptions): Use thread-local floating-point state and
13402 set global state from it as needed.
13403 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13404 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13405 __sim_round_mode_thread.
13406 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13407 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13408 and global __sim_exceptions_global.
13409 (__sim_disabled_exceptions): Change to thread-local
13410 __sim_disabled_exceptions_thread and global
13411 __sim_disabled_exceptions_global.
13412 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13413 and global __sim_round_mode_global.
13414 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13415 (SIM_SET_GLOBAL): Likewise.
13416 * sysdeps/powerpc/soft-fp/sfp-machine.h
13417 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13418 __sim_round_mode_thread.
13419 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13420 __sim_disabled_exceptions_thread.
13421 (__sim_exceptions): Change to __sim_exceptions_thread.
13422 (__sim_disabled_exceptions): Change to
13423 __sim_disabled_exceptions_thread.
13424 (__sim_round_mode): Change to __sim_round_mode_thread.
13425 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13426 thread-local floating-point state and set global state from it as
13428 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13429 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13430 (__sim_disabled_exceptions): Remove extern declaration.
13431 (feenableexcept): Use thread-local floating-point state and set
13432 global state from it as needed.
13433 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13434 extern declaration.
13435 (__sim_disabled_exceptions): Likewise.
13436 (__sim_round_mode): Likewise.
13437 (__fegetenv): Use thread-local floating-point state.
13438 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13439 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13440 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13441 floating-point state and set global state from it as needed.
13442 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13443 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13444 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13446 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13447 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13449 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13450 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13451 Use __sim_round_mode_thread.
13452 * math/test-fenv-tls.c: New file.
13453 * math/Makefile (tests): Add test-fenv-tls.
13454 ($(objpfx)test-fenv-tls): Depend on
13455 $(common-objpfx)nptl/libpthread.so.
13457 2013-11-19 Andreas Schwab <schwab@suse.de>
13459 * locale/programs/locale.c (show_info): Decode wordarray elements.
13460 * locale/categories.def (LC_MONETARY): Add element for
13461 _NL_MONETARY_CRNCYSTR.
13462 * locale/C-monetary.c (conversion_rate): New variable.
13463 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13466 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13468 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13469 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13471 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13473 * elf/Makefile (tst-auxv): New test.
13474 * elf/tst-auxv.c: New
13475 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13477 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13479 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13480 (hidden_proto): Caller changed.
13481 (hidden_tls_proto): New macro.
13482 (libc_hidden_tls_proto): Likewise.
13483 (rtld_hidden_tls_proto): Likewise.
13484 (libm_hidden_tls_proto): Likewise.
13485 (libresolv_hidden_tls_proto): Likewise.
13486 (librt_hidden_tls_proto): Likewise.
13487 (libdl_hidden_tls_proto): Likewise.
13488 (libnss_files_hidden_tls_proto): Likewise.
13489 (libnsl_hidden_tls_proto): Likewise.
13490 (libnss_nisplus_hidden_tls_proto): Likewise.
13491 (libutil_hidden_tls_proto): Likewise.
13493 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13496 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13497 (decompose_rpath): Defer expansion to fillin_rpath.
13498 (_dl_init_paths): Pass linkmap to fillin_rpath.
13500 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13502 * benchtests/Makefile: Add strsep.
13503 * benchtests/bench-strsep.c: New file: strsep benchtest.
13504 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13506 2013-11-18 Andreas Schwab <schwab@suse.de>
13508 * locale/programs/locale.c (show_info) [case byte]: Check for
13509 '\377' instead of '\177'.
13510 * locale/C-monetary.c (not_available): Always use "\377".
13511 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13512 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13513 detect unavailable sign_posn locale elements.
13514 * locale/localeconv.c (__localeconv): For grouping and
13515 mon_grouping handle "\177" and "\377" like no grouping.
13516 (INT_ELEM): New macro. Use it to set all numeric members.
13517 * locale/programs/ld-monetary.c (monetary_read)
13518 <tok_mon_grouping>: Normalize single -1 to the empty string.
13519 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13522 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13525 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13526 when we match (nil).
13527 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13529 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13531 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13532 (NO_TEST_INLINE): Update value.
13533 (ERRNO_UNCHANGED): Likewise.
13534 (ERRNO_EDOM): Likewise.
13535 (ERRNO_ERANGE): Likewise.
13536 (IGNORE_RESULT): Likewise.
13537 (check_float_internal): Check signs of NaN results if
13538 TEST_NAN_SIGN used.
13539 (check_complex): Pass TEST_NAN_SIGN flag through to second
13540 check_float_internal call.
13541 (copysign_test_data): Add tests with quiet NaNs as second
13542 argument. Use TEST_NAN_SIGN.
13543 (fabs_test_data): Add test of negative quiet NaN argument. Use
13545 (signbit_test_data): Add tests of quiet NaN argument.
13546 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13548 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13550 (parse_args): Handle function results specified as IGNORE.
13551 * math/libm-test.inc (IGNORE_RESULT): New macro.
13552 (check_float_internal): Do not check numerical result if flag
13554 (check_complex): Pass through IGNORE_RESULT to second
13555 check_float_internal call.
13556 (check_int): Do not check numerical result if flag IGNORE_RESULT
13558 (check_long): Likewise.
13559 (check_bool): Likewise.
13560 (check_longlong): Likewise.
13561 (lrint_test_data): Add tests of infinite and NaN arguments.
13562 (lrint_tonearest_test_data): Likewise.
13563 (lrint_towardzero_test_data): Likewise.
13564 (lrint_downward_test_data): Likewise.
13565 (lrint_upward_test_data): Likewise.
13566 (llrint_test_data): Likewise.
13567 (llrint_tonearest_test_data): Likewise.
13568 (llrint_towardzero_test_data): Likewise.
13569 (llrint_downward_test_data): Likewise.
13570 (llrint_upward_test_data): Likewise.
13571 (lround_test_data): Likewise.
13572 (llround_test_data): Likewise.
13574 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13575 (ERRNO_UNCHANGED): Update value.
13576 (ERRNO_EDOM): Likewise.
13577 (ERRNO_ERANGE): Likewise.
13578 (NO_TEST_INLINE_FLOAT): New macro.
13579 (NO_TEST_INLINE_DOUBLE): Likewise.
13580 (enable_test): New function.
13581 (RUN_TEST_f_f): Check enable_test before running test.
13582 (RUN_TEST_2_f): Likewise.
13583 (RUN_TEST_fff_f): Likewise.
13584 (RUN_TEST_c_f): Likewise.
13585 (RUN_TEST_f_f1): Likewise.
13586 (RUN_TEST_fF_f1): Likewise.
13587 (RUN_TEST_fI_f1): Likewise.
13588 (RUN_TEST_ffI_f1): Likewise.
13589 (RUN_TEST_c_c): Likewise.
13590 (RUN_TEST_cc_c): Likewise.
13591 (RUN_TEST_f_i): Likewise.
13592 (RUN_TEST_f_i_tg): Likewise.
13593 (RUN_TEST_ff_i_tg): Likewise.
13594 (RUN_TEST_f_b): Likewise.
13595 (RUN_TEST_f_b_tg): Likewise.
13596 (RUN_TEST_f_l): Likewise.
13597 (RUN_TEST_f_L): Likewise.
13598 (RUN_TEST_fFF_11): Likewise.
13599 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13601 (cosh_test_data): Likewise.
13602 (exp_test_data): Likewise.
13603 (expm1_test_data): Likewise.
13604 (hypot_test_data): Likewise.
13605 (pow_test_data): Likewise.
13606 (sinh_test_data): Likewise.
13607 (tanh_test_data): Likewise.
13608 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13611 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13612 tests with quiet NaN input and output.
13613 (acosh_test_data): Likewise.
13614 (asin_test_data): Likewise.
13615 (asinh_test_data): Likewise.
13616 (atan_test_data): Likewise.
13617 (atanh_test_data): Likewise.
13618 (atan2_test_data): Likewise.
13619 (cbrt_test_data): Likewise.
13620 (cos_test_data): Likewise.
13621 (cosh_test_data): Likewise.
13622 (erf_test_data): Likewise.
13623 (erfc_test_data): Likewise.
13624 (exp_test_data): Likewise.
13625 (exp10_test_data): Likewise.
13626 (exp2_test_data): Likewise.
13627 (expm1_test_data): Likewise.
13628 (hypot_test_data): Likewise.
13629 (j0_test_data): Likewise.
13630 (j1_test_data): Likewise.
13631 (jn_test_data): Likewise.
13632 (lgamma_test_data): Likewise.
13633 (log_test_data): Likewise.
13634 (log10_test_data): Likewise.
13635 (log1p_test_data): Likewise.
13636 (log2_test_data): Likewise.
13637 (pow_test_data): Likewise.
13638 (scalb_test_data): Likewise.
13639 (sin_test_data): Likewise.
13640 (sincos_test_data): Likewise.
13641 (sinh_test_data): Likewise.
13642 (tan_test_data): Likewise.
13643 (tanh_test_data): Likewise.
13644 (tgamma_test_data): Likewise.
13645 (y0_test_data): Likewise.
13646 (y1_test_data): Likewise.
13647 (yn_test_data): Likewise.
13650 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13651 argument being NaN and avoid computations with second argument in
13653 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13654 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13655 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13657 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13659 * locale/iso-639.def: Add Chitwani Tharu (the).
13661 2013-11-14 Andreas Schwab <schwab@suse.de>
13663 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13664 word instead of empty string.
13666 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13669 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13671 (__fe_nomask_env): Likewise.
13673 2013-11-13 Steve Ellcey <sellcey@mips.com>
13675 * benchtests/bench-timing.h: Include time.h.
13677 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13680 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13682 * sysdeps/unix/sysv/linux/configure: Regenerated.
13684 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13687 * stdlib/strtod_l.c (round_and_return): Do not consider
13688 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13689 exponent one less than half the least subnormal exponent.
13690 * stdlib/test-strtod-round-data: Add more tests.
13691 * stdlib/tst-strtod-round.c (tests): Regenerated.
13693 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13696 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13697 (__fe_mask_env): Likewise.
13698 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13699 libm_hidden_proto and add function prototype.
13700 (__fe_mask_env): Add function prototype.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13702 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13704 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13706 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13708 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13710 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13711 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13713 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13715 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13716 of htab_find_slot().
13718 2013-11-11 David S. Miller <davem@davemloft.net>
13721 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13722 symbol in the non-vis3 case in static builds.
13723 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13724 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13725 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13726 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13728 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13731 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13734 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13736 * benchtests/Makefile: Add bench-strtod.
13737 * benchtests/bench-strtod.c: New file: strtod benchtest
13739 2013-11-11 Andreas Schwab <schwab@suse.de>
13742 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13743 terminating NUL in key length.
13745 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13747 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13748 Add artificial ODP entry for vDSO symbol for PPC64.
13749 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13750 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13752 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13755 * nss/getent.c (services_keys): Recognize services starting with digit.
13757 2013-11-06 David S. Miller <davem@davemloft.net>
13760 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13761 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13763 2013-11-06 Will Newton <will.newton@linaro.org>
13765 * manual/memory.texi (Malloc Examples): Remove register
13766 keyword from examples.
13768 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13770 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13772 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13775 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13776 depending on [__GCC_IEC_559 > 0].
13777 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13778 depending on [__GCC_IEC_559_COMPLEX > 0].
13780 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13782 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13785 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13787 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13789 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13792 * malloc/malloc (malloc_info): Do not handle first bin as
13795 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13797 * locale/iso-639.def: Add Central Nahuatl (nhn).
13799 2013-11-01 Bruno Haible <bruno@clisp.org>
13802 * manual/math.texi (BSD Random): Specify range upper bound as
13805 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13807 * locale/iso-639.def: Add Meadow Mari (mhr).
13809 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13811 [BZ #14752], [BZ #15763]
13812 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13814 * rt/tst_shm.c: Add test for escaping directory.
13816 2013-10-31 Andreas Schwab <schwab@suse.de>
13819 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13820 followed by 'x' as part of digit sequence.
13821 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13823 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13826 * configure.ac: allow GNU Make 4.0 and greater.
13827 * configure: Regenerated.
13829 2013-10-30 Will Newton <will.newton@linaro.org>
13832 * malloc/hooks.c (memalign_check): Limit alignment to the
13833 maximum representable power of two.
13834 * malloc/malloc.c (__libc_memalign): Likewise.
13835 * malloc/tst-memalign.c (do_test): Add test for very
13836 large alignment values.
13837 * malloc/tst-posix_memalign.c (do_test): Likewise.
13839 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13842 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13843 (munmap_chunk): Likewise.
13844 (mremap_chunk): Likewise.
13846 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13849 * stdlib/div.c (div): Remove obsolete code.
13850 * stdlib/ldiv.c (ldiv): Likewise.
13851 * stdlib/lldiv.c (lldiv): Likewise.
13853 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13856 * nss/nss_files/files-XXX.c (get_contents_ret): New
13858 (get_contents): New function.
13859 (internal_getent): Use it. Expand size of LINEBUFLEN.
13861 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13863 * configure.in: Moved to ...
13864 * configure.ac: ... here. Change reference to configure.in
13866 * sysdeps/arm/preconfigure.ac: ... here.
13867 configure.in to configure.ac.
13868 * sysdeps/gnu/configure.in: Moved to ...
13869 * sysdeps/gnu/configure.ac: ... here.
13870 * sysdeps/i386/configure.in: Moved to ...
13871 * sysdeps/i386/configure.ac: ... here.
13872 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13873 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13874 * sysdeps/mach/configure.in: Moved to ...
13875 * sysdeps/mach/configure.ac: ... here.
13876 * sysdeps/mach/hurd/configure.in: Moved to ...
13877 * sysdeps/mach/hurd/configure.ac: ... here.
13878 * sysdeps/powerpc/configure.in: Moved to ...
13879 * sysdeps/powerpc/configure.ac: ... here.
13880 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13881 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13882 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13883 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13884 * sysdeps/s390/s390-32/configure.in: Moved to ...
13885 * sysdeps/s390/s390-32/configure.ac: ... here.
13886 * sysdeps/s390/s390-64/configure.in: Moved to ...
13887 * sysdeps/s390/s390-64/configure.ac: ... here.
13888 * sysdeps/sh/configure.in: Moved to ...
13889 * sysdeps/sh/configure.ac: ... here.
13890 * sysdeps/sparc/configure.in: Moved to ...
13891 * sysdeps/sparc/configure.ac: ... here.
13892 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13893 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13894 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13895 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13896 * sysdeps/x86_64/configure.in: Moved to ...
13897 * sysdeps/x86_64/configure.ac: ... here.
13898 * sysdeps/x86_64/preconfigure.in: Moved to ...
13899 * sysdeps/x86_64/preconfigure.ac: ... here.
13900 * aclocal.m4: Change reference to configure.in to configure.ac.
13901 * config.h.in: Likewise.
13902 * manual/install.texi: Likewise.
13903 * manual/maint.texi: Likewise.
13904 * Makefile: Likewise.
13905 * malloc/Makefile: Likewise.
13906 * nscd/Makefile: Likewise.
13907 * Makeconfig: Change reference to configure.in and
13908 preconfigure.in to configure.ac and preconfigure.ac
13910 * INSTALL: Regenerated.
13911 * configure: Likewise.
13912 * sysdeps/gnu/configure: Likewise.
13913 * sysdeps/i386/configure: Likewise.
13914 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13915 * sysdeps/mach/configure: Likewise.
13916 * sysdeps/mach/hurd/configure: Likewise.
13917 * sysdeps/powerpc/configure: Likewise.
13918 * sysdeps/powerpc/powerpc32/configure: Likewise.
13919 * sysdeps/powerpc/powerpc64/configure: Likewise.
13920 * sysdeps/s390/s390-32/configure: Likewise.
13921 * sysdeps/s390/s390-64/configure: Likewise.
13922 * sysdeps/sh/configure: Likewise.
13923 * sysdeps/sparc/configure: Likewise.
13924 * sysdeps/unix/sysv/linux/configure: Likewise.
13925 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13926 * sysdeps/x86_64/configure: Likewise.
13927 * sysdeps/x86_64/preconfigure: Likewise.
13929 2013-10-29 Andreas Schwab <schwab@suse.de>
13931 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13933 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13935 * benchtests/pow-inputs: Add new inputs.
13937 * benchtests/exp-inputs: Add new inputs.
13939 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13940 conditional check for return value.
13941 (__cos32): Likewise.
13943 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13945 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13946 to provide a boost for large inputs with word alignment.
13947 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13948 implementation based on optimized PPC64 strcpy.
13949 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13950 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13951 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13952 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13954 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13957 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13959 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13962 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13963 * time/tst-strptime.c (day_tests): Add testcase.
13965 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13968 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13970 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13973 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13974 MAP_FAILED on error.
13976 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13979 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13980 heap for large requests.
13982 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13985 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13986 result if the result has no associated interface.
13987 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13988 interface for all 127.X.Y.Z addresses.
13990 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13992 * locale/iso-639.def: Add Ligurian (lij)
13994 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13997 * sunrpc/rpc_main.c: Document rpcgen -5.
13999 2013-10-19 Michael Stahl <mstahl@redhat.com>
14001 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14003 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14006 * posix/glob.c: Match only directories when trailing slash is present.
14007 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14008 (main): Add testcase.
14010 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14013 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14015 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14017 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14018 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14019 AUTH_DES and cindex for FIPS 140-2.
14020 (DES Encryption): Add cindex FIPS 46-3.
14022 * locale/locarchive.h (struct locarhandle): Add fname.
14023 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14024 if an optional argument was specified to --list-archive,
14026 * locale/programs/locarchive.c (show_archive_content): Take new
14027 argument fname and pass it via ah.fname to open_archive.
14028 * locale/programs/localedef.h: Update decl.
14029 (open_archive): If AH->fname is non-null, open that file
14030 rather than the default file name, and don't ignore ENOENT.
14031 (create_archive): Set AH.fname to NULL.
14032 (delete_locales_from_archive): Likewise.
14033 (add_locales_to_archive): Likewise.
14034 * locale/programs/locfile.c (write_all_categories): Likewise.
14036 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14037 Aldy Hernandez <aldyh@redhat.com>
14039 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14040 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14041 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14042 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14043 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14044 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14045 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14046 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14047 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14048 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14049 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14050 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14051 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14052 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14053 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14055 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14057 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14059 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14061 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14062 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14064 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14065 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14066 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14067 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14069 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14070 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14071 * sysdeps/powerpc/preconfigure: Likewise.
14072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14074 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14075 Replace contents of file by #include of <fenv_libc.h>.
14076 * sysdeps/powerpc/soft-fp/sfp-machine.h
14077 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14079 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14081 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14087 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14088 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14092 Allow copysignl PLT reference to be missing.
14094 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14095 Joseph Myers <joseph@codesourcery.com
14098 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14100 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14102 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14104 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14105 * elf/tst-tls1.c: Likewise.
14106 * elf/tst-tls10.h: Likewise.
14107 * elf/tst-tls14.c: Likewise.
14108 * elf/tst-tls2.c: Likewise.
14109 * elf/tst-tls3.c: Likewise.
14110 * elf/tst-tls4.c: Likewise.
14111 * elf/tst-tls5.c: Likewise.
14112 * elf/tst-tls6.c: Likewise.
14113 * elf/tst-tls7.c: Likewise.
14114 * elf/tst-tls8.c: Likewise.
14115 * elf/tst-tls9.c: Likewise.
14116 * elf/tst-tlsmod1.c: Likewise.
14117 * elf/tst-tlsmod13.c: Likewise.
14118 * elf/tst-tlsmod13a.c: Likewise.
14119 * elf/tst-tlsmod14a.c: Likewise.
14120 * elf/tst-tlsmod16a.c: Likewise.
14121 * elf/tst-tlsmod16b.c: Likewise.
14122 * elf/tst-tlsmod2.c: Likewise.
14123 * elf/tst-tlsmod3.c: Likewise.
14124 * elf/tst-tlsmod4.c: Likewise.
14125 * elf/tst-tlsmod5.c: Likewise.
14126 * elf/tst-tlsmod6.c: Likewise.
14128 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14131 * malloc/malloc.c: remove checks for statistics.
14133 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14136 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14137 * inet/tst-network.c: Add testcase.
14139 2013-10-17 Andreas Schwab <schwab@suse.de>
14142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14143 to determine canonical name.
14145 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14147 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14148 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14150 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14153 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14154 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14171 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14172 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14177 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14180 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14193 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14195 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14196 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14197 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14198 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14199 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14200 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14201 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14202 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14206 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14209 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14210 make result into a quiet NaN.
14212 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14214 * soft-fp/adddf3.c: Fix horizontal whitespace.
14215 * soft-fp/addsf3.c: Likewise.
14216 * soft-fp/addtf3.c: Likewise.
14217 * soft-fp/divdf3.c: Likewise.
14218 * soft-fp/divsf3.c: Likewise.
14219 * soft-fp/divtf3.c: Likewise.
14220 * soft-fp/double.h: Likewise.
14221 * soft-fp/eqdf2.c: Likewise.
14222 * soft-fp/eqsf2.c: Likewise.
14223 * soft-fp/eqtf2.c: Likewise.
14224 * soft-fp/extenddftf2.c: Likewise.
14225 * soft-fp/extended.h: Likewise.
14226 * soft-fp/extendsfdf2.c: Likewise.
14227 * soft-fp/extendsftf2.c: Likewise.
14228 * soft-fp/extendxftf2.c: Likewise.
14229 * soft-fp/fixdfdi.c: Likewise.
14230 * soft-fp/fixdfsi.c: Likewise.
14231 * soft-fp/fixdfti.c: Likewise.
14232 * soft-fp/fixsfdi.c: Likewise.
14233 * soft-fp/fixsfsi.c: Likewise.
14234 * soft-fp/fixsfti.c: Likewise.
14235 * soft-fp/fixtfdi.c: Likewise.
14236 * soft-fp/fixtfsi.c: Likewise.
14237 * soft-fp/fixtfti.c: Likewise.
14238 * soft-fp/fixunsdfdi.c: Likewise.
14239 * soft-fp/fixunsdfsi.c: Likewise.
14240 * soft-fp/fixunsdfti.c: Likewise.
14241 * soft-fp/fixunssfdi.c: Likewise.
14242 * soft-fp/fixunssfsi.c: Likewise.
14243 * soft-fp/fixunssfti.c: Likewise.
14244 * soft-fp/fixunstfdi.c: Likewise.
14245 * soft-fp/fixunstfsi.c: Likewise.
14246 * soft-fp/fixunstfti.c: Likewise.
14247 * soft-fp/floatdidf.c: Likewise.
14248 * soft-fp/floatdisf.c: Likewise.
14249 * soft-fp/floatditf.c: Likewise.
14250 * soft-fp/floatsidf.c: Likewise.
14251 * soft-fp/floatsisf.c: Likewise.
14252 * soft-fp/floatsitf.c: Likewise.
14253 * soft-fp/floattidf.c: Likewise.
14254 * soft-fp/floattisf.c: Likewise.
14255 * soft-fp/floattitf.c: Likewise.
14256 * soft-fp/floatundidf.c: Likewise.
14257 * soft-fp/floatundisf.c: Likewise.
14258 * soft-fp/floatunditf.c: Likewise.
14259 * soft-fp/floatunsidf.c: Likewise.
14260 * soft-fp/floatunsisf.c: Likewise.
14261 * soft-fp/floatunsitf.c: Likewise.
14262 * soft-fp/floatuntidf.c: Likewise.
14263 * soft-fp/floatuntisf.c: Likewise.
14264 * soft-fp/floatuntitf.c: Likewise.
14265 * soft-fp/fmadf4.c: Likewise.
14266 * soft-fp/fmasf4.c: Likewise.
14267 * soft-fp/fmatf4.c: Likewise.
14268 * soft-fp/gedf2.c: Likewise.
14269 * soft-fp/gesf2.c: Likewise.
14270 * soft-fp/getf2.c: Likewise.
14271 * soft-fp/ledf2.c: Likewise.
14272 * soft-fp/lesf2.c: Likewise.
14273 * soft-fp/letf2.c: Likewise.
14274 * soft-fp/muldf3.c: Likewise.
14275 * soft-fp/mulsf3.c: Likewise.
14276 * soft-fp/multf3.c: Likewise.
14277 * soft-fp/negdf2.c: Likewise.
14278 * soft-fp/negsf2.c: Likewise.
14279 * soft-fp/negtf2.c: Likewise.
14280 * soft-fp/op-1.h: Likewise.
14281 * soft-fp/op-2.h: Likewise.
14282 * soft-fp/op-4.h: Likewise.
14283 * soft-fp/op-8.h: Likewise.
14284 * soft-fp/op-common.h: Likewise.
14285 * soft-fp/quad.h: Likewise.
14286 * soft-fp/single.h: Likewise.
14287 * soft-fp/soft-fp.h: Likewise.
14288 * soft-fp/sqrtdf2.c: Likewise.
14289 * soft-fp/sqrtsf2.c: Likewise.
14290 * soft-fp/sqrttf2.c: Likewise.
14291 * soft-fp/subdf3.c: Likewise.
14292 * soft-fp/subsf3.c: Likewise.
14293 * soft-fp/subtf3.c: Likewise.
14294 * soft-fp/truncdfsf2.c: Likewise.
14295 * soft-fp/trunctfdf2.c: Likewise.
14296 * soft-fp/trunctfsf2.c: Likewise.
14297 * soft-fp/trunctfxf2.c: Likewise.
14298 * soft-fp/unorddf2.c: Likewise.
14299 * soft-fp/unordsf2.c: Likewise.
14300 * soft-fp/unordtf2.c: Likewise.
14302 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14304 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14305 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14307 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14309 * elf/dl-libc.c: Clear initfini list after freeing.
14311 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14313 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14314 * soft-fp/addsf3.c: Likewise.
14315 * soft-fp/addtf3.c: Likewise.
14316 * soft-fp/divdf3.c: Likewise.
14317 * soft-fp/divsf3.c: Likewise.
14318 * soft-fp/divtf3.c: Likewise.
14319 * soft-fp/double.h: Likewise.
14320 * soft-fp/eqdf2.c: Likewise.
14321 * soft-fp/eqsf2.c: Likewise.
14322 * soft-fp/eqtf2.c: Likewise.
14323 * soft-fp/extenddftf2.c: Likewise.
14324 * soft-fp/extended.h: Likewise.
14325 * soft-fp/extendsfdf2.c: Likewise.
14326 * soft-fp/extendsftf2.c: Likewise.
14327 * soft-fp/extendxftf2.c: Likewise.
14328 * soft-fp/fixdfdi.c: Likewise.
14329 * soft-fp/fixdfsi.c: Likewise.
14330 * soft-fp/fixdfti.c: Likewise.
14331 * soft-fp/fixsfdi.c: Likewise.
14332 * soft-fp/fixsfsi.c: Likewise.
14333 * soft-fp/fixsfti.c: Likewise.
14334 * soft-fp/fixtfdi.c: Likewise.
14335 * soft-fp/fixtfsi.c: Likewise.
14336 * soft-fp/fixtfti.c: Likewise.
14337 * soft-fp/fixunsdfdi.c: Likewise.
14338 * soft-fp/fixunsdfsi.c: Likewise.
14339 * soft-fp/fixunsdfti.c: Likewise.
14340 * soft-fp/fixunssfdi.c: Likewise.
14341 * soft-fp/fixunssfsi.c: Likewise.
14342 * soft-fp/fixunssfti.c: Likewise.
14343 * soft-fp/fixunstfdi.c: Likewise.
14344 * soft-fp/fixunstfsi.c: Likewise.
14345 * soft-fp/fixunstfti.c: Likewise.
14346 * soft-fp/floatdidf.c: Likewise.
14347 * soft-fp/floatdisf.c: Likewise.
14348 * soft-fp/floatditf.c: Likewise.
14349 * soft-fp/floatsidf.c: Likewise.
14350 * soft-fp/floatsisf.c: Likewise.
14351 * soft-fp/floatsitf.c: Likewise.
14352 * soft-fp/floattidf.c: Likewise.
14353 * soft-fp/floattisf.c: Likewise.
14354 * soft-fp/floattitf.c: Likewise.
14355 * soft-fp/floatundidf.c: Likewise.
14356 * soft-fp/floatundisf.c: Likewise.
14357 * soft-fp/floatunsidf.c: Likewise.
14358 * soft-fp/floatunsisf.c: Likewise.
14359 * soft-fp/floatuntidf.c: Likewise.
14360 * soft-fp/floatuntisf.c: Likewise.
14361 * soft-fp/floatuntitf.c: Likewise.
14362 * soft-fp/fmadf4.c: Likewise.
14363 * soft-fp/fmasf4.c: Likewise.
14364 * soft-fp/fmatf4.c: Likewise.
14365 * soft-fp/gedf2.c: Likewise.
14366 * soft-fp/gesf2.c: Likewise.
14367 * soft-fp/getf2.c: Likewise.
14368 * soft-fp/ledf2.c: Likewise.
14369 * soft-fp/lesf2.c: Likewise.
14370 * soft-fp/letf2.c: Likewise.
14371 * soft-fp/muldf3.c: Likewise.
14372 * soft-fp/mulsf3.c: Likewise.
14373 * soft-fp/multf3.c: Likewise.
14374 * soft-fp/negdf2.c: Likewise.
14375 * soft-fp/negsf2.c: Likewise.
14376 * soft-fp/negtf2.c: Likewise.
14377 * soft-fp/op-1.h: Likewise.
14378 * soft-fp/op-2.h: Likewise.
14379 * soft-fp/op-4.h: Likewise.
14380 * soft-fp/op-8.h: Likewise.
14381 * soft-fp/op-common.h: Likewise.
14382 * soft-fp/quad.h: Likewise.
14383 * soft-fp/single.h: Likewise.
14384 * soft-fp/soft-fp.h: Likewise.
14385 * soft-fp/sqrtdf2.c: Likewise.
14386 * soft-fp/sqrtsf2.c: Likewise.
14387 * soft-fp/sqrttf2.c: Likewise.
14388 * soft-fp/subdf3.c: Likewise.
14389 * soft-fp/subsf3.c: Likewise.
14390 * soft-fp/subtf3.c: Likewise.
14391 * soft-fp/truncdfsf2.c: Likewise.
14392 * soft-fp/trunctfdf2.c: Likewise.
14393 * soft-fp/trunctfsf2.c: Likewise.
14394 * soft-fp/trunctfxf2.c: Likewise.
14395 * soft-fp/unorddf2.c: Likewise.
14396 * soft-fp/unordsf2.c: Likewise.
14397 * soft-fp/unordtf2.c: Likewise.
14399 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14402 * misc/error.c (error_tail): Fix possible buffer overflow.
14404 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14407 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14410 2013-10-14 P. J. McDermott <pj@pehjota.net>
14413 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14414 testing pipefail option.
14416 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14418 * soft-fp/double.h: Indent preprocessor directives inside #if.
14419 * soft-fp/extended.h: Likewise.
14420 * soft-fp/op-2.h: Likewise.
14421 * soft-fp/op-4.h: Likewise.
14422 * soft-fp/op-common.h: Likewise.
14423 * soft-fp/quad.h: Likewise.
14424 * soft-fp/single.h: Likewise.
14425 * soft-fp/soft-fp.h: Likewise.
14427 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14429 * iconv/iconv_prog.c: Fix typos.
14430 * stdio-common/psiginfo-data.h: Likewise.
14432 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14435 * locale/setlocale.c: Fix typo.
14437 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14440 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14441 signaling NaN arguments.
14442 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14443 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14446 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14447 unordered operands.
14448 * soft-fp/gesf2.c (__gesf2): Likewise.
14449 * soft-fp/getf2.c (__getf2): Likewise.
14450 * soft-fp/ledf2.c (__ledf2): Likewise.
14451 * soft-fp/lesf2.c (__lesf2): Likewise.
14452 * soft-fp/letf2.c (__letf2): Likewise.
14454 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14455 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14456 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14457 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14458 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14459 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14460 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14461 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14462 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14463 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14464 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14465 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14466 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14467 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14468 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14469 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14470 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14471 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14472 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14473 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14474 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14475 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14476 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14477 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14478 * soft-fp/floattidf.c (__floattidf): Likewise.
14479 * soft-fp/floattisf.c (__floattisf): Likewise.
14480 * soft-fp/floattitf.c (__floattitf): Likewise.
14481 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14482 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14483 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14484 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14485 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14486 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14487 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14488 * soft-fp/gesf2.c (__gesf2): Likewise.
14489 * soft-fp/getf2.c (__getf2): Likewise.
14490 * soft-fp/ledf2.c (__ledf2): Likewise.
14491 * soft-fp/lesf2.c (__lesf2): Likewise.
14492 * soft-fp/letf2.c (__letf2): Likewise.
14494 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14495 Undefine and redefine.
14496 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14497 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14498 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14499 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14500 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14501 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14502 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14503 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14504 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14505 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14506 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14507 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14508 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14509 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14510 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14513 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14514 without decrementing exponent if mantissa >= that for the
14515 denominator, not >.
14516 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14517 denominator, not >. Decrement exponent in < case instead of
14518 incrementing in >= case.
14519 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14520 without decrementing exponent if mantissa >= that for the
14521 denominator, not >.
14523 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14524 computing saturated result for unsigned overflow.
14526 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14527 Jeff Law <law@redhat.com>
14529 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14530 (atan2Mp): Add systemtap probe marker.
14531 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14532 (__ieee754_log): Add systemtap probe marker.
14533 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14534 (atanMp): Add systemtap probe marker.
14535 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14536 (tanMp): Add systemtap probe marker.
14537 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14538 (__slowexp): Add systemtap probe marker.
14539 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14540 (__slowpow): Add systemtap probe marker.
14541 * manual/probes.texi: Document probes.
14543 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14546 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14548 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14550 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14551 written to buffer but not flushed.
14552 * libio/iofwrite_u.c: Likewise.
14553 * libio/iopadn.c: Return bytes returned even if EOF was
14555 * libio/iowpadn.c: Likewise.
14556 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14557 if _IO_padn does not write the whole buffer.
14558 [!COMPILE_WPRINTF] (PAD): Likewise.
14560 2013-10-10 David S. Miller <davem@davemloft.net>
14562 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14565 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14567 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14568 instead of FSF address.
14569 * soft-fp/fixdfti.c: Likewise.
14570 * soft-fp/fixsfti.c: Likewise.
14571 * soft-fp/fixtfti.c: Likewise.
14572 * soft-fp/fixunsdfti.c: Likewise.
14573 * soft-fp/fixunssfti.c: Likewise.
14574 * soft-fp/fixunstfti.c: Likewise.
14575 * soft-fp/floattidf.c: Likewise.
14576 * soft-fp/floattisf.c: Likewise.
14577 * soft-fp/floattitf.c: Likewise.
14578 * soft-fp/floatuntidf.c: Likewise.
14579 * soft-fp/floatuntisf.c: Likewise.
14580 * soft-fp/floatuntitf.c: Likewise.
14581 * soft-fp/trunctfxf2.c: Likewise.
14583 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14584 * soft-fp/fixdfti.c: Likewise.
14585 * soft-fp/fixsfti.c: Likewise.
14586 * soft-fp/fixtfti.c: Likewise.
14587 * soft-fp/fixunsdfti.c: Likewise.
14588 * soft-fp/fixunssfti.c: Likewise.
14589 * soft-fp/fixunstfti.c: Likewise.
14590 * soft-fp/floattidf.c: Likewise.
14591 * soft-fp/floattisf.c: Likewise.
14592 * soft-fp/floattitf.c: Likewise.
14593 * soft-fp/floatuntidf.c: Likewise.
14594 * soft-fp/floatuntisf.c: Likewise.
14595 * soft-fp/floatuntitf.c: Likewise.
14596 * soft-fp/trunctfxf2.c: Likewise.
14598 2013-10-10 David S. Miller <davem@davemloft.net>
14600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14602 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14604 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14605 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14606 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14607 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14608 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14609 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14610 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14612 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14613 for NaNs before doing comparisons on argument.
14614 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14617 2013-10-10 Will Newton <will.newton@linaro.org>
14619 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14620 passed to _int_memalign does not overflow.
14622 2013-10-10 Torvald Riegel <triegel@redhat.com>
14624 * scripts/bench.pl: Add include-sources directive.
14625 * benchtests/README: Update documentation.
14627 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14629 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14630 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14631 instead of FP_INIT_ROUNDMODE.
14632 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14633 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14636 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14637 copy class of input value.
14638 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14639 not handle exceptions.
14640 * soft-fp/negsf2.c (__negsf2): Likewise.
14641 * soft-fp/negtf2.c (__negtf2): Likewise.
14642 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14644 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14646 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14647 semicolon. From Linux kernel.
14649 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14651 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14653 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14656 * manual/socket.texi: Added statement about buffer
14657 for gethostbyname2_r.
14659 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14661 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14662 Use .p2align directive instead, throughout.
14663 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14664 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14665 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14666 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14668 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14669 * sysdeps/x86_64/strchr.S: Likewise.
14670 * sysdeps/x86_64/strrchr.S: Likewise.
14672 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14674 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14676 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14678 * sysdeps/generic/math_private.h (__mpsin1): Remove
14680 (__mpcos1): Likewise.
14681 (__mpsin): New argument __range_reduce.
14682 (__mpcos): Likewise.
14683 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14684 (slow): Use __mpsin and __mpcos.
14688 (sloww1): Likewise.
14689 (sloww2): Likewise.
14690 (bsloww): Likewise.
14691 (bsloww1): Likewise.
14692 (bsloww2): Likewise.
14693 (cslow2): Likewise.
14694 (csloww): Likewise.
14695 (csloww1): Likewise.
14696 (csloww2): Likewise.
14697 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14698 range_reduce. Merge in __mpsin1.
14699 (__mpcos): Likewise.
14700 (__mpsin1): Remove.
14701 (__mpcos1): Likewise.
14703 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14705 * locale/loadlocale.c (_nl_intern_locale_data): Use
14707 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14708 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14709 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14710 obstack data is appropriately aligned.
14711 (obstack_int32_grow_fast): Likewise.
14712 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14713 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14714 (add_locale_uint32_array): Likewise.
14716 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14718 * benchtests/Makefile: Remove ARGLIST and RET variables.
14719 ($(objpfx)bench-%.c): Pass only function name to the script.
14720 * benchtests/README: Update documentation.
14721 * benchtests/acos-inputs: Add new directives.
14722 * benchtests/acosh-inputs: Likewise.
14723 * benchtests/asin-inputs: Likewise.
14724 * benchtests/asinh-inputs: Likewise.
14725 * benchtests/atan-inputs: Likewise.
14726 * benchtests/atanh-inputs: Likewise.
14727 * benchtests/cos-inputs: Likewise.
14728 * benchtests/cosh-inputs: Likewise.
14729 * benchtests/exp-inputs: Likewise.
14730 * benchtests/log-inputs: Likewise.
14731 * benchtests/pow-inputs: Likewise.
14732 * benchtests/rint-inputs: Likewise.
14733 * benchtests/sin-inputs: Likewise.
14734 * benchtests/sinh-inputs: Likewise.
14735 * benchtests/tan-inputs: Likewise.
14736 * benchtests/tanh-inputs: Likewise.
14737 * scripts/bench.pl: Add support for new directives.
14739 2013-10-07 Alan Modra <amodra@gmail.com>
14741 * README: Fix careless merge.
14743 2013-10-05 Alan Modra <amodra@gmail.com>
14745 * NEWS: Mention powerpc64le support and bugs fixed.
14746 * README: Both big-endian and little-endian powerpc64 supported.
14748 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14750 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14751 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14752 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14753 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14755 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14757 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14760 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14762 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14763 Move -mhard-float appending from
14764 ports/sysdeps/powerpc/powerpc32/Makefile.
14765 [$(with-fp) = yes] (ASFLAGS): Likewise.
14766 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14767 * sysdeps/powerpc/nofpu: Move directory from
14768 ports/sysdeps/powerpc/nofpu.
14769 * sysdeps/powerpc/soft-fp: Move directory from
14770 ports/sysdeps/powerpc/soft-fp.
14771 * sysdeps/powerpc/powerpc32/405: Move directory from
14772 ports/sysdeps/powerpc/powerpc32/405.
14773 * sysdeps/powerpc/powerpc32/440: Move directory from
14774 ports/sysdeps/powerpc/powerpc32/440.
14775 * sysdeps/powerpc/powerpc32/464: Move directory from
14776 ports/sysdeps/powerpc/powerpc32/464.
14777 * sysdeps/powerpc/powerpc32/476: Move directory from
14778 ports/sysdeps/powerpc/powerpc32/476.
14779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14780 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14782 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14784 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14786 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14788 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14789 * README: Update for powerpc-*-linux-gnu software floating point
14792 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14793 case to powerpc/powerpc32*.
14794 * sysdeps/unix/sysv/linux/configure: Regenerated.
14796 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14797 (_FPU_MASK_OM): Define as 0x04.
14798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14806 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14809 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14812 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14813 and setcontext_e500.
14815 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14817 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14819 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14821 * manual/threads.texi (Default Thread Attributes): Fix typo.
14823 2013-10-04 Will Newton <will.newton@linaro.org>
14825 * malloc/Makefile: Add tst-memalign.
14826 * malloc/tst-memalign.c: New file.
14828 * malloc/tst-posix_memalign.c: Add comments.
14829 (do_test): Add comments and call free on all potentially
14830 allocated pointers. Add space after cast.
14832 * malloc/tst-pvalloc.c: Add comments.
14833 (do_test): Add comments and call free on all potentially
14834 allocated pointers. Remove duplicate check for NULL pointer.
14835 Add space after cast.
14837 * malloc/tst-valloc.c: Add comments.
14838 (do_test): Add comments and call free on all potentially
14839 allocated pointers. Remove duplicate check for NULL pointer.
14840 Add space after cast.
14842 2013-10-04 Alan Modra <amodra@gmail.com>
14844 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14845 Use stdint types in rather than __attribute__((mode())).
14846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14848 2013-10-04 Alan Modra <amodra@gmail.com>
14850 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14851 Correct handling of unaligned relocs for little-endian.
14852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14854 2013-10-04 Alan Modra <amodra@gmail.com>
14856 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14857 * configure: Regenerate.
14858 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14859 * shlib-versions: Likewise.
14861 2013-10-04 Alan Modra <amodra@gmail.com>
14863 * string/tester.c (test_memrchr): Increment reported test cycle.
14865 2013-10-04 Alan Modra <amodra@gmail.com>
14867 * string/test-memcpy.c (do_one_test): When reporting errors, print
14868 string address and don't overrun end of string.
14870 2013-10-04 Alan Modra <amodra@gmail.com>
14872 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14873 insrdi. Make better use of reg selection to speed exit slightly.
14874 Schedule entry path a little better. Remove useless "are we done"
14875 checks on entry to main loop. Handle wrapping around zero address.
14876 Correct main loop count. Handle single left-over word from main
14877 loop inline rather than by using loop_small. Remove extra word
14878 case in loop_small caused by wrong loop count. Add little-endian
14880 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14881 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14883 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14884 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14885 support. Avoid rlwimi.
14886 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14888 2013-10-04 Alan Modra <amodra@gmail.com>
14890 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14891 insrdi. Formatting.
14892 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14893 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14894 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14895 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14896 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14897 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14899 2013-10-04 Alan Modra <amodra@gmail.com>
14901 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14902 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14903 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14904 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14905 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14906 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14907 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14908 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14909 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14910 use of regs. Use power7 mtocrf. Tidy function tails.
14912 2013-10-04 Alan Modra <amodra@gmail.com>
14914 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14915 Formatting. Consistently use rXXX register defines or rN defines.
14916 Use early exit labels that avoid restoring unused non-volatile regs.
14917 Make cr field use more consistent with rWORDn compares. Rename
14918 regs used as shift registers for unaligned loop, using rN defines
14919 for short lifetime/multiple use regs.
14920 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14921 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14922 addi 1,1,64 to pop stack frame. Simplify return value code.
14923 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14925 2013-10-04 Alan Modra <amodra@gmail.com>
14927 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14928 support. Correct typos, formatting. Optimize tail. Use insrdi
14929 rather than rlwimi.
14930 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14931 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14932 little-endian support. Correct typos.
14933 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14934 rather than rlwimi.
14935 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14936 in loop and entry code to keep "and." results.
14937 (strchr): Add little-endian support. Comment. Move cntlzd
14939 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14941 2013-10-04 Alan Modra <amodra@gmail.com>
14943 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14944 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14945 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14946 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14948 2013-10-04 Alan Modra <amodra@gmail.com>
14950 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14951 (rTMP): Define as r11.
14952 (strcmp): Add little-endian support. Optimise tail.
14953 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14954 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14955 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14956 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14957 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14959 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14961 2013-10-04 Alan Modra <amodra@gmail.com>
14963 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14964 little-endian support. Remove unnecessary "are we done" tests.
14965 Handle "s" wrapping around zero and extremely large "size".
14966 Correct main loop count. Handle single left-over word from main
14967 loop inline rather than by using small_loop. Correct comments.
14968 Delete "zero" tail, use "end_max" instead.
14969 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14971 2013-10-04 Alan Modra <amodra@gmail.com>
14973 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14974 support. Don't branch over align.
14975 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14976 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14977 support. Rearrange tmp reg use to suit. Comment.
14978 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14980 2013-10-04 Alan Modra <amodra@gmail.com>
14982 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14984 2013-10-04 Alan Modra <amodra@gmail.com>
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14987 conditional form of branch and link when obtaining pc.
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14990 2013-10-04 Alan Modra <amodra@gmail.com>
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14997 2013-10-04 Alan Modra <amodra@gmail.com>
14999 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15000 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15001 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15002 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15003 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15004 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15005 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15006 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15007 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15008 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15010 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15011 Alistair Popple <alistair@ozlabs.au.ibm.com>
15012 Alan Modra <amodra@gmail.com>
15015 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15016 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15017 _dl_hwcap access for little-endian.
15018 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15019 destroy vmx regs when saving unaligned.
15020 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15021 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15022 destroy vmx regs when saving unaligned.
15024 2013-10-04 Alan Modra <amodra@gmail.com>
15026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15027 Don't use a union to pack hi/low value.
15029 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15031 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15033 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15034 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15035 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15036 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15037 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15039 2013-10-04 Alan Modra <amodra@gmail.com>
15041 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15042 constants to usual value for .cst8 section, and remove redundant
15044 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15045 constant for 0x1p52. Load little-endian words of double from
15046 correct stack offsets.
15048 2013-10-04 Alan Modra <amodra@gmail.com>
15050 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15051 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15052 words of double from correct stack offsets.
15053 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15054 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15055 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15056 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15057 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15058 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15059 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15060 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15061 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15062 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15063 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15064 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15065 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15066 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15067 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15068 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15069 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15071 2013-10-04 Alan Modra <amodra@gmail.com>
15073 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15074 64-bit int/double union.
15075 (_FPU_SETCW): Likewise.
15076 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15077 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15079 2013-10-04 Alan Modra <amodra@gmail.com>
15081 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15082 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15084 2013-10-04 Alan Modra <amodra@gmail.com>
15086 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15087 use vector int constants.
15088 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15090 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15092 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15093 array with long long.
15094 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15095 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15096 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15097 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15098 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15099 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15100 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15101 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15102 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15103 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15104 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15105 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15106 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15108 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15110 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15111 (__signbit): Likewise. Correct for little-endian.
15112 (__signbitl): Call __signbit.
15113 (lrint): Correct for little-endian.
15114 (lrintf): Call lrint.
15116 2013-10-04 Alan Modra <amodra@gmail.com>
15118 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15119 union 32-bit int array member with 64-bit int array.
15120 (t515, tm256): Double rather than long double.
15121 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15123 2013-10-04 Alan Modra <amodra@gmail.com>
15125 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15127 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15128 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15129 version of math_ldbl.h.
15131 2013-10-04 Alan Modra <amodra@gmail.com>
15133 [BZ #15734], [BZ #15735]
15134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15135 all uses of ieee875 long double macros and unions. Simplify test
15136 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15137 ldbl_extract_mantissa value for ix,iy exponents. Properly
15138 normalize after ldbl_extract_mantissa, and don't add hidden bit
15139 already handled. Don't treat low word of ieee854 mantissa like
15140 low word of IBM long double and mask off bit when testing for
15142 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15143 all uses of ieee875 long double macros and unions. Simplify tests
15144 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15145 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15146 two1022, instead use their values. Recognise that tests for large
15147 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15148 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15149 Rewrite all uses of ieee875 long double macros and unions. Simplify
15150 test for 0.0L and nan. Correct negation.
15151 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15152 ieee875 long double macros and unions. Correct output for large
15153 magnitude x. Correct absolute value calculation.
15154 (__erfcl): Likewise.
15155 * math/libm-test.inc: Add tests for errors discovered in IBM long
15156 double versions of fmodl, remainderl, erfl and erfcl.
15158 2013-10-04 Alan Modra <amodra@gmail.com>
15160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15161 all uses of ieee854 long double macros and unions. Simplify tests
15162 for long doubles that are fully specified by the high double.
15163 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15165 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15166 Remove dead code too.
15167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15168 (__ieee754_ynl): Likewise.
15169 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15170 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15171 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15172 Remove dead code too.
15173 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15174 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15175 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15176 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15178 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15180 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15181 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15182 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15183 Comment on variable precision.
15184 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15185 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15187 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15188 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15189 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15190 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15191 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15193 2013-10-04 Alan Modra <amodra@gmail.com>
15195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15196 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15197 all uses of ieee854 long double macros and unions.
15198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15202 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15203 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15206 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15207 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15208 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15209 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15210 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15211 Simplify sign and nan test too.
15212 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15213 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15214 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15215 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15217 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15218 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15220 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15221 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15222 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15223 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15224 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15225 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15227 2013-10-04 Alan Modra <amodra@gmail.com>
15229 * stdio-common/printf_size.c (__printf_size): Don't use
15230 union ieee854_long_double in fpnum union.
15231 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15232 signbit macro to retrieve sign from long double.
15233 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15234 retrieve sign from long double.
15235 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15236 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15237 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15238 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15239 * math/test-misc.c (main): Don't use union ieee854_long_double.
15241 2013-10-04 Alan Modra <amodra@gmail.com>
15244 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15245 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15246 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15247 calculation. Remove unnecessary test for denormal exponent.
15248 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15249 Correct handling of denormals. Avoid undefined shift behaviour.
15250 Correct normalisation of low mantissa when low double is denormal.
15251 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15252 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15253 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15254 Correct normalisation of low mantissa. Test for overflow of high
15255 mantissa and normalise.
15256 (ldbl_nearbyint): Use more readable constant for two52.
15257 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15258 (__mpn_construct_long_double): Fix test for overflow of high
15259 mantissa and correct normalisation. Avoid undefined shift.
15261 2013-10-04 Alan Modra <amodra@gmail.com>
15263 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15264 (union ibm_extended_long_double): Define as an array of ieee754_double.
15265 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15266 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15267 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15268 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15269 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15270 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15271 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15272 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15273 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15274 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15275 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15277 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15279 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15280 page size instead of calling getpagesize.
15282 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15283 (LOCFILE_ALIGN_MASK): Likewise.
15284 (LOCFILE_ALIGN_UP): Likewise.
15285 (LOCFILE_ALIGNED_P): Likewise.
15286 * locale/programs/ld-collate.c (collate_output): Use the new
15287 macros instead of __alignof__ (int32_t).
15288 * locale/weight.h (findidx): Likewise.
15290 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15293 * manual/string.texi: Fix strncat and wcsncat.
15295 2013-10-03 Brooks Moses <bmoses@google.com>
15298 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15299 * Makerules: ...here, and adjust associated comments.
15301 2013-10-02 Will Newton <will.newton@linaro.org>
15303 * malloc/Makefile: Add tst-pvalloc.
15304 * malloc/tst-pvalloc.c: New file.
15306 2013-10-02 Will Newton <will.newton@linaro.org>
15308 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15309 improve test coverage.
15311 2013-10-02 Will Newton <will.newton@linaro.org>
15313 * malloc/Makefile: Add tst-posix_memalign.
15314 * malloc/tst-posix_memalign.c: New file.
15316 2013-10-01 Eric Blake <eblake@redhat.com>
15318 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15319 Use __THROWNL rather than __THROW on static functions.
15321 2013-09-30 Petr Machata <pmachata@redhat.com>
15323 * elf/elf.h (R_AARCH64_ABS16): New macro.
15324 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15325 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15326 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15327 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15328 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15329 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15330 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15331 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15332 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15333 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15334 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15335 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15336 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15337 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15338 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15339 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15340 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15341 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15342 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15343 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15344 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15345 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15346 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15347 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15348 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15349 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15350 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15351 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15352 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15353 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15354 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15355 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15356 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15357 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15358 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15359 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15360 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15361 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15362 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15363 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15364 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15365 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15366 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15367 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15368 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15369 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15370 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15371 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15372 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15373 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15374 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15375 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15376 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15377 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15378 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15379 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15380 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15381 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15382 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15383 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15384 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15385 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15386 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15387 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15388 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15389 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15390 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15391 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15392 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15393 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15394 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15395 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15396 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15397 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15398 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15399 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15400 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15401 (R_AARCH64_TLSDESC_LDR): Likewise.
15402 (R_AARCH64_TLSDESC_ADD): Likewise.
15403 (R_AARCH64_TLSDESC_CALL): Likewise.
15405 2013-09-30 Andreas Schwab <schwab@suse.de>
15408 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15409 the nss database lookup.
15410 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15413 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15415 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15417 2013-09-28 P. J. McDermott <pj@pehjota.net>
15419 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15420 ${Bash-specific parameter/pattern/string} parameter expansion.
15421 * sysdeps/unix/make-syscalls.sh: Likewise.
15423 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15425 * sysdeps/sh/stackguard-macros.h: New file.
15427 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15431 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15432 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15433 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15434 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15436 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15438 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15439 Fix thread ID register.
15441 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15443 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15444 [POSIX || UNIX98]: Require rather than permitting all symbols from
15446 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15447 element of struct sched_param.
15448 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15449 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15450 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15451 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15454 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15456 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15457 argument calculation.
15459 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15461 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15463 [POSIX] (pthread_attr_t): Do not require type.
15464 [POSIX] (pthread_cond_t): Likewise.
15465 [POSIX] (pthread_condattr_t): Likewise.
15466 [POSIX] (pthread_key_t): Likewise.
15467 [POSIX] (pthread_mutex_t): Likewise.
15468 [POSIX] (pthread_mutexattr_t): Likewise.
15469 [POSIX] (pthread_once_t): Likewise.
15470 [POSIX] (pthread_t): Likewise.
15471 [POSIX-based standards] (pthread_atfork): Expect function.
15473 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15474 Richard Sandiford <richard@codesourcery.com>
15476 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15477 (swap_endianness_p): New extern variable.
15478 (set_big_endian): New inline function.
15479 (maybe_swap_uint32): Likewise.
15480 (maybe_swap_uint32_array): Likewise.
15481 (maybe_swap_uint32_obstack): Likewise.
15482 * locale/programs/locfile.c: Include <stdbool.h>.
15483 (swap_endianness_p): New variable.
15484 (add_locale_uint32): Call maybe_swap_uint32.
15485 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15486 (write_locale_data): Call maybe_swap_uint32_array.
15487 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15489 (obstack_int32_grow_fast): Likewise.
15490 (output_weightwc): Call maybe_swap_uint32_obstack.
15491 (collate_output): Likewise.
15492 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15493 (OPT_LITTLE_ENDIAN): Likewise.
15494 (options): Add --little-endian and --big-endian options.
15495 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15496 * locale/programs/locarchive.c: Include "locfile.h".
15500 (create_archive): Use the new macros to access fields of
15501 structures directly mapped from or written to locale archives.
15502 (oldlocrecentcmp): Likewise.
15503 (enlarge_archive): Likewise.
15504 (insert_name): Likewise.
15505 (add_alias): Likewise.
15506 (add_locale): Likewise.
15507 (delete_locales_from_archive): Likewise.
15508 (show_archive_content): Likewise.
15509 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15512 2013-09-24 Roland McGrath <roland@hack.frob.com>
15514 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15515 http://www.gnu.org/doc/freemanuals.texi.
15516 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15518 2013-09-24 Will Newton <will.newton@linaro.org>
15520 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15523 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15525 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15528 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15530 * manual/threads.texi (POSIX Threads): Fix a typo.
15532 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15535 * string/tst-strcoll-overflow.c: New test case.
15536 * string/Makefile (xtests): Add tst-strcoll-overflow.
15537 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15538 cache if string sizes may cause integer overflow.
15541 * string/strcoll_l.c (coll_seq): New members rule, idx,
15542 save_idx and back_us.
15543 (get_next_seq_nocache): New function.
15544 (do_compare_nocache): New function.
15545 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15548 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15551 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15552 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15553 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15556 * elf/Makefile (tests): Add tst-ptrguard1.
15557 (tests-static): Add tst-ptrguard1-static.
15558 (tst-ptrguard1-ARGS): Define.
15559 (tst-ptrguard1-static-ARGS): Define.
15560 * elf/tst-ptrguard1.c: New file.
15561 * elf/tst-ptrguard1-static.c: New file.
15562 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15563 * sysdeps/i386/stackguard-macros.h: Likewise.
15564 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15565 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15566 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15567 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15568 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15569 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15571 2013-09-23 Hector Marco <hecmargi@upv.es>
15572 Ismael Ripoll <iripoll@disca.upv.es>
15573 Carlos O'Donell <carlos@redhat.com>
15576 * sysdeps/generic/stackguard-macros.h: Define
15577 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15578 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15579 Define __pointer_chk_guard_local.
15580 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15581 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15583 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15586 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15588 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15590 * include/string.h (__ffs): Declare as hidden.
15591 * string/ffs.c (__ffs): Define as hidden.
15592 * sysdeps/i386/ffs.c (__ffs): Likewise.
15593 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15594 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15595 * sysdeps/s390/ffs.c (__ffs): Likewise.
15596 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15598 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15600 * NEWS: Mention malloc probes.
15602 * malloc/arena.c (new_heap): New memory_heap_new probe.
15603 (grow_heap): New memory_heap_more probe.
15604 (shrink_heap): New memory_heap_less probe.
15605 (heap_trim): New memory_heap_free probe.
15606 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15607 (systrim): New memory_sbrk_less probe.
15608 * manual/probes.texi: Document them.
15610 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15611 * manual/probes.texi: Document it.
15613 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15614 (__libc_realloc): Add memory_realloc_retry probe.
15615 (__libc_memalign): Add memory_memalign_retry probe.
15616 (__libc_valloc): Add memory_valloc_retry probe.
15617 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15618 (__libc_calloc): Add memory_calloc_retry probe.
15619 * manual/probes.texi: Document them.
15621 * malloc/arena.c (get_free_list): Add probe
15622 memory_arena_reuse_free_list.
15623 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15624 and memory_arena_reuse.
15625 (arena_get2) [!PER_THREAD]: Likewise.
15626 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15627 memory_arena_reuse_realloc.
15628 * manual/probes.texi: Document them.
15630 * malloc/malloc.c (__libc_free): Add
15631 memory_mallopt_free_dyn_thresholds probe.
15632 (__libc_mallopt): Add multiple memory_mallopt probes.
15633 * manual/probes.texi: Document them.
15635 * malloc/malloc.c: Include stap-probe.h.
15636 (__libc_mallopt): Add memory_mallopt probe.
15637 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15638 * manual/probes.texi: New.
15639 * manual/Makefile (chapters): Add probes.
15640 * manual/threads.texi: Set next node.
15642 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15644 [BZ #15963, #13985]
15645 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15646 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15647 Add `Chinese' to `nan' entry name.
15649 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15651 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15652 (POLYNOMIAL): Likewise.
15653 (TAYLOR_SINCOS): Likewise.
15654 (TAYLOR_SLOW): Likewise.
15655 (__sin): Use TAYLOR_SINCOS.
15657 (slow): Use TAYLOR_SLOW.
15659 (bsloww): Likewise.
15660 (csloww): Likewise.
15662 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15664 * stdlib/strtod_l.c: Fix buffer overrun.
15666 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15668 * benchtests/Makefile (bench): Add sincos.
15669 * benchtests/bench-sincos.c: New file.
15671 * math/libm-test.inc (cos_test_data): New test inputs.
15672 (sin_test_data): Likewise.
15674 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15680 (sloww1): Likewise.
15681 (sloww2): Likewise.
15682 (bsloww1): Likewise.
15683 (bsloww2): Likewise.
15684 (cslow2): Likewise.
15685 (csloww1): Likewise.
15686 (csloww2): Likewise.
15688 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15693 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15697 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15699 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15700 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15701 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15702 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15703 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15704 * elf/cache.c (print_entry): Handle the new cache flags.
15706 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15707 Aldy Hernandez <aldyh@redhat.com>
15709 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15710 Change condition to [_SOFT_FLOAT].
15711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15723 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15726 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15729 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15731 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15732 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15733 (__longjmp): Use LOAD_GP to load saved GPRs.
15734 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15735 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15736 (__sigsetjmp): Use SAVE_GP to save GPRs.
15738 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15739 Do not append -msoft-float.
15740 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15742 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15744 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15746 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15749 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15750 (_FPU_GETCW): Use initial "__" on variable and field names but not
15751 on macro parameter name.
15752 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15753 parentheses around reference to macro parameter.
15755 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15757 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15759 (ctype_startup): Use uint32_t in cast and sizeof for
15762 2013-09-11 Jia Liu <proljc@gmail.com>
15764 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15766 [__FreeBSD__]: Likewise.
15768 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15771 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15772 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15773 (strchr): Remove __strchr_sse42 ifunc selection.
15774 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15775 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15777 2013-09-11 Will Newton <will.newton@linaro.org>
15779 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15780 parameter to RES. Remove hardcoded 1000 value.
15781 * benchtests/bench-skeleton.c (main): Pass RES parameter
15782 to TIMING_INIT and multiply result by 1000.
15784 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15788 2013-09-11 Andreas Schwab <schwab@suse.de>
15790 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15792 (O_TMPFILE) [__USE_GNU]: Define.
15793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15796 2013-09-11 Will Newton <will.newton@linaro.org>
15799 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15802 2013-09-11 Will Newton <will.newton@linaro.org>
15805 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15808 2013-09-11 Will Newton <will.newton@linaro.org>
15811 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15814 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15816 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15817 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15818 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15819 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15820 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15822 2013-09-10 Allan McRae <allan@archlinux.org>
15825 * manual/arith.texi (Parsing of Floats): Clarify
15829 * manual/install.texi (Running make install): Mention
15831 * INSTALL: Regenerated.
15833 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15835 * csu/init-first.c (_init): Remove the !SHARED condition around
15836 FPU control word initialization.
15837 * elf/dl-support.c (_dl_fpu_control): New variable.
15838 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15839 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15840 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15841 * math/test-fpucw-static.c: New file.
15842 * math/test-fpucw-ieee.c: New file.
15843 * math/test-fpucw-ieee-static.c: New file.
15844 * math/Makefile (tests): Add `test-fpucw-ieee' and
15846 (tests-static): New variable.
15847 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15849 [($(build-shared),yes)]
15850 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15852 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15855 2013-09-09 Allan McRae <allan@archlinux.org>
15858 * manual/string.texi (Collation Functions): Fix typo in
15860 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15863 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15866 * libio/memstream.c (open_memstream): Fix memory leak.
15867 * libio/wmemstream.c (open_wmemstream): Likewise.
15870 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15872 2013-09-09 Will Newton <will.newton@linaro.org>
15874 * malloc/Makefile: Add tst-realloc to tests.
15875 * malloc/tst-realloc.c: New file.
15877 2013-09-09 Allan McRae <allan@archlinux.org>
15880 * COPYING: Update from GNU website to fix FSF address.
15881 * COPYING.LIB: Likewise.
15883 2013-09-06 David S. Miller <davem@davemloft.net>
15885 * po/zh_TW.po: Update Chinese (traditional) translation from
15886 translation project.
15888 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15889 Joseph Myers <joseph@codesourcery.com>
15891 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15893 (obstack_chunk_alloc): New macro.
15894 (obstack_chunk_free): Likewise.
15895 (record_offset): New function.
15896 (init_locale_data): Likewise.
15897 (align_locale_data): Likewise.
15898 (add_locale_empty): Likewise.
15899 (add_locale_raw_data): Likewise.
15900 (add_locale_raw_obstack): Likewise.
15901 (add_locale_string): Likewise.
15902 (add_locale_wstring): Likewise.
15903 (add_locale_uint32): Likewise.
15904 (add_locale_uint32_array): Likewise.
15905 (add_locale_char): Likewise.
15906 (start_locale_structure): Likewise.
15907 (end_locale_structure): Likewise.
15908 (start_locale_prelude): Likewise.
15909 (end_locale_prelude): Likewise.
15910 (write_locale_data): Take locale_file structure rather than an
15912 * locale/programs/locfile.h: Include "obstack.h".
15913 (struct locale_file): Change to store locale file contents instead
15915 (init_locale_data): New prototype.
15916 (align_locale_data): Likewise.
15917 (add_locale_empty): Likewise.
15918 (add_locale_raw_data): Likewise.
15919 (add_locale_raw_obstack): Likewise.
15920 (add_locale_string): Likewise.
15921 (add_locale_wstring): Likewise.
15922 (add_locale_uint32): Likewise.
15923 (add_locale_uint32_array): Likewise.
15924 (add_locale_char): Likewise.
15925 (start_locale_structure): Likewise.
15926 (end_locale_structure): Likewise.
15927 (start_locale_prelude): Likewise.
15928 (end_locale_prelude): Likewise.
15929 (write_locale_data): Update prototype.
15930 * locale/programs/3level.h (struct TABLE): Remove result field.
15931 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15932 Use new locale_file interface.
15933 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15934 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15935 * locale/programs/ld-address.c (address_output): Use new
15936 locale_file interface.
15937 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15939 (collate_finish): Don't call collseq_table_finalize.
15940 (collate_output): Use new locale_file interface.
15941 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15943 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15944 (TABLE): Move defines earlier in file.
15945 (ELEMENT): Likewise.
15946 (DEFAULT): Likewise.
15947 (wctrans_table_add): Move macro and inline function earlier in
15949 (struct wctype_table): Move type earlier in file.
15950 (add_locale_wctype_table): New static prototype.
15951 (struct locale_ctype_t): Use logical types instead of struct iovec
15952 pointers for members.
15953 (ctype_output): Use new locale_file interface.
15954 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15955 new locale_file interface.
15956 (allocate_arrays): Update for use of new locale_file interface.
15957 * locale/programs/ld-identification.c (identification_output): Use
15958 new locale_file interface.
15959 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15960 * locale/programs/ld-messages.c (messages_output): Likewise.
15961 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15962 * locale/programs/ld-name.c (name_output): Likewise.
15963 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15964 * locale/programs/ld-paper.c (paper_output): Likewise.
15965 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15966 * locale/programs/ld-time.c (time_output): Likewise.
15968 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15970 * benchtests/Makefile: Add memrchr benchmark.
15971 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15972 benchmark as memrchr.
15973 * benchtests/bench-memrchr-ifunc.c: New file.
15974 * benchtests/bench-memrchr.c: New file.
15976 2013-09-06 Will Newton <will.newton@linaro.org>
15978 * benchtests/Makefile (string-bench): Add memcpy.
15980 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15981 Cong Wang <amwang@redhat.com>
15984 * sysdeps/unix/sysv/linux/bits/in.h
15985 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15986 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15987 before __USE_KERNEL_IPV6_DEFS uses.
15988 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15990 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15991 sockaddr_in6, or ipv6_mreq.
15993 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15995 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15996 memory access for final bytes in some large inputs.
15997 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15999 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16001 * string/test-memrchr.c: New file.
16002 * string/test-memrchr-ifunc.c: New file.
16003 * string/Makefile: Add new memrchr testcase.
16005 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16007 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16008 fanotify_init returns EPERM.
16010 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16012 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16014 (top level): Treat second token from macro or constant entries for
16015 allowed headers as allowed.
16016 * include/complex.h: Condition internal declarations on
16018 * include/fenv.h: Condition include of <stdbool.h> and internal
16019 declarations on [!_ISOMAC].
16021 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16024 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16026 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16028 * configure.in (--enable-versioning): Remove configure option.
16029 (libc_cv_asm_symver_directive): Remove configure test.
16030 (libc_cv_ld_version_script_option): Likewise.
16031 (VERSIONING): Remove variable and AC_SUBST.
16032 (DO_VERSIONING): Remove AC_DEFINE.
16033 * configure: Regenerated.
16034 * config.h.in (DO_VERSIONING): Remove macro.
16035 * Makerules [$(versioning) = yes]: Change conditionals to
16036 [$(build-shared) = yes].
16037 * config.make.in (versioning): Remove variable.
16038 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16039 [$(build-shared) = yes].
16040 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16041 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16042 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16043 [$(build-shared) = yes].
16044 * extra-lib.mk [$(versioning) = yes]: Likewise.
16045 * hurd/Makefile [$(versioning) = yes]: Likewise.
16046 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16048 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16050 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16051 [SHARED && !NO_HIDDEN].
16052 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16054 [SHARED && DO_VERSIONING]: Likewise..
16055 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16056 [$(build-shared) = yes].
16057 * manual/install.texi (--disable-versioning): Remove
16059 * INSTALL: Regenerated.
16060 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16062 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16063 [$(build-shared) = yes].
16064 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16065 * sysdeps/i386/i686/multiarch/strstr-c.c
16066 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16067 [SHARED && !NO_HIDDEN].
16068 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16069 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16070 * sysdeps/powerpc/powerpc32/dl-machine.c
16071 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16072 * sysdeps/powerpc/powerpc32/sysdep.h
16073 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16074 to [SHARED && PIC && !NO_HIDDEN].
16075 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16076 conditional to [SHARED].
16078 2013-09-04 Will Newton <will.newton@linaro.org>
16080 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16081 * benchtests/bench-string.h: Include bench-timing.h instead
16082 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16083 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16084 call to HP_TIMING_DIFF_INIT.
16085 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16086 instead of hp-timing.h macros.
16087 * benchtests/bench-memchr.c: Likewise.
16088 * benchtests/bench-memcmp.c: Likewise.
16089 * benchtests/bench-memcpy.c: Likewise.
16090 * benchtests/bench-memmem.c: Likewise.
16091 * benchtests/bench-memmove.c: Likewise.
16092 * benchtests/bench-memset.c: Likewise.
16093 * benchtests/bench-rawmemchr.c: Likewise.
16094 * benchtests/bench-strcasecmp.c: Likewise.
16095 * benchtests/bench-strcasestr.c: Likewise.
16096 * benchtests/bench-strcat.c: Likewise.
16097 * benchtests/bench-strchr.c: Likewise.
16098 * benchtests/bench-strcmp.c: Likewise.
16099 * benchtests/bench-strcpy.c: Likewise.
16100 * benchtests/bench-strcpy_chk.c: Likewise.
16101 * benchtests/bench-strlen.c: Likewise.
16102 * benchtests/bench-strncasecmp.c: Likewise.
16103 * benchtests/bench-strncat.c: Likewise.
16104 * benchtests/bench-strncmp.c: Likewise.
16105 * benchtests/bench-strncpy.c: Likewise.
16106 * benchtests/bench-strnlen.c: Likewise.
16107 * benchtests/bench-strpbrk.c: Likewise.
16108 * benchtests/bench-strrchr.c: Likewise.
16109 * benchtests/bench-strspn.c: Likewise.
16110 * benchtests/bench-strstr.c: Likewise.
16112 2013-09-04 Will Newton <will.newton@linaro.org>
16114 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16116 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16119 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16120 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16121 * math/libm-test.inc (lgamma_test_data): Add more tests.
16122 * sysdeps/i386/fpu/libm-test-ulps: Update.
16123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16125 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16127 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16128 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16131 Add strcmp-sse2-unaligned
16132 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16134 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16136 * Versions.def (libc): Add GLIBC_2.19.
16138 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16140 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16141 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16143 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16146 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16147 intermediate calculations in recurrence.
16148 (__ieee754_ynf): Likewise.
16149 * math/libm-test.inc (jn_test_data): Do not allow spurious
16150 underflow exception. Add more tests.
16151 (yn_test_data): Add more tests.
16152 * sysdeps/i386/fpu/libm-test-ulps: Update.
16153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16155 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16157 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16159 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16161 * csu/init-first.c: Fix then/than typos.
16162 * locale/programs/ld-collate.c: Likewise.
16163 * locale/programs/linereader.h: Likewise.
16164 * manual/charset.texi: Likewise.
16165 * manual/filesys.texi: Likewise.
16166 * manual/stdio.texi: Likewise.
16167 * manual/string.texi: Likewise.
16168 * stdlib/fmtmsg.c: Likewise.
16169 * sysdeps/i386/stpncpy.S: Likewise.
16170 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16171 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16172 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16173 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16175 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16177 * elf/dl-open.c: Fix typos.
16178 * iconvdata/gbbig5.c: Likewise.
16179 * iconvdata/iso-2022-jp.c: Likewise.
16180 * iconv/gconv_int.h: Likewise.
16181 * iconv/loop.c: Likewise.
16182 * nis/rpcsvc/nis.h: Likewise.
16183 * resolv/ns_name.c: Likewise.
16184 * stdio-common/vfscanf.c: Likewise.
16185 * streams/stropts.h: Likewise.
16186 * sunrpc/rpc_thread.c: Likewise.
16187 * sysdeps/i386/strpbrk.S: Likewise.
16188 * sysdeps/ieee754/k_standard.c: Likewise.
16189 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16191 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16192 * sysdeps/mach/hurd/profil.c: Likewise.
16193 * sysdeps/s390/dl-procinfo.h: Likewise.
16194 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16195 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16196 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16197 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16198 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16200 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16202 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16205 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16207 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16208 aix specific files.
16209 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16210 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16211 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16212 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16213 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16214 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16215 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16216 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16218 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16219 Roland McGrath <roland@hack.frob.com>
16221 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16222 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16224 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16226 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16227 __executable_start symbol instead of _start.
16229 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16231 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16232 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16234 * sysdeps/gnu/ldsodefs.h: ... this new file.
16236 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16237 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16238 instead of ELFOSABI_LINUX.
16240 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16241 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16242 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16243 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16245 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16246 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16247 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16249 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16250 (ibm_extended_long_double): Add ieee_nan member.
16251 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16252 (do_test): New function.
16254 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16256 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16257 functions, renamed from truncdfsf_test, trunctfsf_test,
16259 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16261 (do_test): Run all these.
16263 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16265 * argp/argp-help.c: Fix typos.
16266 * argp/argp-parse.c: Likewise.
16267 * debug/backtracesyms.c: Likewise.
16268 * elf/elf.h: Likewise.
16269 * malloc/malloc.c: Likewise.
16270 * nis/nis_print.c: Likewise.
16271 * resolv/res_comp.c: Likewise.
16272 * stdlib/stdlib.h: Likewise.
16273 * sunrpc/clnt_tcp.c: Likewise.
16274 * sunrpc/clnt_udp.c: Likewise.
16275 * sunrpc/clnt_unix.c: Likewise.
16276 * sysdeps/unix/bsd/ptsname.c: Likewise.
16277 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16278 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16285 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16287 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16289 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16292 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16295 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16296 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16297 ($(objpfx)bug-dl-leaf): New rule.
16298 ($(objpfx)bug-dl-leaf.so): Likewise.
16299 ($(objpfx)bug-dl-leaf.out): Likewise.
16300 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16301 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16302 * dlfcn/bug-dl-leaf.c: New test.
16303 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16304 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16305 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16306 (dlclose): Likewise.
16307 (dlmopen): Likewise.
16309 2013-08-27 Roland McGrath <roland@hack.frob.com>
16311 * include/netdb.h [!_ISOMAC]:
16312 Don't include <tls.h>.
16313 (h_errno, __libc_h_errno): Move declaration and macros out of
16316 * include/resolv.h [_RESOLV_H_]:
16317 Don't include <tls.h>.
16318 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16319 * resolv/res_libc.c: Don't include <tls.h>.
16320 (_res): Use __attribute__ ((nocommon)) in place of
16321 __attribute__ ((section (".bss"))).
16323 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16324 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16326 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16328 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16329 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16331 * resolv/res_mkquery.c: Include <sys/time.h>.
16333 * inet/ifreq.c: Moved to ...
16334 * sysdeps/unix/ifreq.c: ... here.
16335 * inet/ifreq.c: New file, true stub version.
16337 * socket/sa_len.c: New file.
16338 * socket/Makefile (aux): Add it.
16339 * sysdeps/unix/sysv/linux/Makefile
16340 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16341 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16342 and #include <socket/sa_len.c>.
16343 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16344 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16346 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16347 * bits/socket.h: ... here.
16349 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16350 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16351 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16353 2013-08-27 Andreas Schwab <schwab@suse.de>
16356 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16357 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16358 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16359 * string/test-strcasecmp.c (test_main): Run tests in several
16361 * string/test-strncasecmp.c (test_main): Likewise.
16363 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16364 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16365 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16367 (__strncasecmp_ssse3) [PIC]: Likewise.
16369 2013-08-26 Roland McGrath <roland@hack.frob.com>
16371 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16373 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16374 instead of explicitly declaring xdecrypt.
16375 * nis/nss_nis/nis-publickey.c: Likewise.
16377 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16380 * nscd/aicache.c: Include res_hconf.h.
16381 (addhstaiX): Initialize res_hconf.
16383 2013-08-26 Andreas Schwab <schwab@suse.de>
16385 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16386 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16388 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16390 * nscd/aicache.c (addhstaiX): Fix indentation.
16392 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16394 * configure.ac: Quote $build_pt_chown test.
16395 * configure: Regenerated.
16397 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16400 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16401 * math/s_cexpf.c (__cexpf): Likewise.
16402 * math/s_cexpl.c (__cexpl): Likewise.
16403 * math/libm-test.inc (cexp_test_data): Correct expected return
16404 value for NaN + i0. Add another test.
16406 2013-08-22 David S. Miller <davem@davemloft.net>
16408 * po/ca.po: Update Catalan translation from translation project.
16409 * po/uk.po: Add Ukrainian translations from translation project.
16411 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16414 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16415 is infinite, not alongside NaN test.
16416 * math/s_fdimf.c (__fdimf): Likewise.
16417 * math/s_fdiml.c (__fdiml): Likewise.
16418 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16419 errno is unchanged.
16421 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16423 * argp/argp-help.c: Fix typos.
16424 * crypt/speeds.c: Likewise.
16425 * csu/check_fds.c: Likewise.
16426 * elf/dl-load.c: Likewise.
16427 * elf/dl-open.c: Likewise.
16428 * elf/reldep3.c: Likewise.
16429 * elf/reldep.c: Likewise.
16430 * elf/sprof.c: Likewise.
16431 * iconv/iconv_charmap.c: Likewise.
16432 * iconv/skeleton.c: Likewise.
16433 * iconv/strtab.c: Likewise.
16434 * io/lockf64.c: Likewise.
16435 * libio/libioP.h: Likewise.
16436 * resolv/gai_notify.c: Likewise.
16437 * resolv/ns_name.c: Likewise.
16438 * resolv/ns_samedomain.c: Likewise.
16439 * resolv/res_send.c: Likewise.
16440 * stdlib/random.c: Likewise.
16441 * sunrpc/rpc/xdr.h: Likewise.
16442 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16443 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16444 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16445 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16446 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16447 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16449 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16450 * sysdeps/mach/hurd/check_fds.c: Likewise.
16451 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16452 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16454 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16455 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16456 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16457 * sysdeps/pthread/aio_notify.c: Likewise.
16458 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16459 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16460 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16461 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16462 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16464 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16466 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16467 version if bit_Slow_SSE4_2 is set.
16468 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16469 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16471 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16474 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16475 trampoline stack frame information.
16476 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16477 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16478 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16479 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16480 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16481 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16482 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16483 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16485 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16486 interrupting a syscall and set with option SA_SIGINFO.
16488 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16491 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16492 argument is infinite.
16493 * math/s_cprojf.c (__cprojf): Likewise.
16494 * math/s_cprojl.c (__cprojl): Likewise.
16495 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16496 * math/libm-test.inc (cproj_test_data): Add more tests.
16498 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16500 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16501 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16502 size. Use __ffs to determine corresponding shift.
16504 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16505 Roland McGrath <roland@hack.frob.com>
16507 * Makefile (INSTALL): Remove trailing blank lines from output of
16510 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16512 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16513 Align 32 bit compat elf_greg to 8 bytes.
16515 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16517 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16519 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16521 * string/strcoll_l.c (coll_seq): New structure.
16522 (get_next_seq_cached): New function.
16523 (get_next_seq): New function.
16524 (do_compare): New function.
16525 (STRCOLL): Use GNU style definition. Simplify implementation
16526 by using get_next_seq, get_next_seq_cached and do_compare.
16528 2013-08-16 Florian Weimer <fweimer@redhat.com>
16532 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16534 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16536 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16537 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16538 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16540 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16541 GETDENTS_64BIT_ALIGNED.
16542 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16543 * manual/filesys.texi (Reading/Closing Directory): Document
16544 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16546 * manual/conf.texi (Limits for Files): Add portability note to
16547 NAME_MAX, PATH_MAX.
16548 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16550 2013-08-13 Andreas Schwab <schwab@suse.de>
16553 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16555 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16556 LDBL_MAX_EXP >= 16384]: Add tests for it.
16558 2013-08-12 David S. Miller <davem@davemloft.net>
16560 * version.h (RELEASE): Set to "development".
16561 (VERSION): Set to "2.18.90".
16562 * NEWS: Add 2.19 section.
16564 2013-08-03 David S. Miller <davem@davemloft.net>
16566 * po/ko.po: Update Korean translation from translation project.
16568 2013-08-01 David S. Miller <davem@davemloft.net>
16570 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16571 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16574 2013-07-30 David S. Miller <davem@davemloft.net>
16576 * po/fr.po: Update French translation from translation project.
16578 2013-07-28 David S. Miller <davem@davemloft.net>
16580 * po/cs.po: Update Czech translation from translation project.
16582 * po/sv.po: Update Swedish translation from translation project.
16584 2013-07-27 David S. Miller <davem@davemloft.net>
16586 * po/eo.po: Update Esperanto translation from translation project.
16588 * po/vi.po: Update Vietnamese translation from translation project.
16590 * po/de.po: Update German translation from translation project.
16592 2013-07-26 David S. Miller <davem@davemloft.net>
16594 * po/bg.po: Update Bulgarian translation from translation project.
16596 * po/nl.po: Update Dutch translation from translation project.
16597 * po/pl.po: Update Polish translation from translation project.
16598 * po/ru.po: Update Russian translation from translation project.
16600 2013-07-24 David S. Miller <davem@davemloft.net>
16602 * po/libc.pot: Update.
16604 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16606 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16607 variable page size.
16608 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16609 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16610 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16612 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16614 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16616 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16617 Andreas Schwab <schwab@suse.de>
16618 Roland McGrath <roland@hack.frob.com>
16619 Joseph Myers <joseph@codesourcery.com>
16620 Carlos O'Donell <carlos@redhat.com>
16623 * config.h.in: Define HAVE_PT_CHOWN.
16624 * config.make.in (build-pt-chown): New variable.
16625 * configure.in (--enable-pt_chown): New configure option.
16626 * configure: Regenerate.
16627 * login/Makefile: Include Makeconfig. Build pt_chown only if
16628 build-pt-chown is enabled.
16629 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16630 pt_chown to fix pty ownership.
16631 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16633 * manual/install.texi (Configuring and compiling): Mention
16634 --enable-pt_chown. Add @findex for grantpt.
16635 * INSTALL: Regenerate.
16637 2013-07-20 David S. Miller <davem@davemloft.net>
16639 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16640 difference between 32-bit and 64-bit.
16642 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16645 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16646 Avoid system header dependency with -ffreestanding.
16647 ($(objpfx)bits/syscall%d): Likewise.
16649 2013-07-13 David S. Miller <davem@davemloft.net>
16651 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16652 underflows from atanl/atan2l due to bug 15319.
16653 (casinh_test_data): Likewise.
16655 2013-07-07 David S. Miller <davem@davemloft.net>
16657 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16659 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16661 * sysdeps/i386/fpu/libm-test-ulps: Update.
16662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16664 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16666 * configure.in (--enable-lock-elision): Fix message text.
16667 * INSTALL: Regenerate.
16668 * configure: Regenerate.
16670 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16674 2013-07-03 Andreas Jaeger <aj@suse.de>
16676 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16678 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16679 (ptrace_peeksiginfo_args): Add.
16680 (__ptrace_peeksiginfo_flags): Add.
16681 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16682 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16683 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16685 2013-07-03 Allan McRae <allan@archlinux.org>
16687 * sysdeps/i386/fpu/libm-test-ulps: Update.
16689 2013-07-02 David S. Miller <davem@davemloft.net>
16691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16693 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16697 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16699 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16702 2013-07-02 Andi Kleen <ak@linux.intel.com>
16704 * config.h.in (ENABLE_LOCK_ELISION): Add.
16705 * configure.in (--enable-lock-elision): Add option.
16706 * manual/install.texi: Document --enable lock elision.
16707 * configure: Regenerate
16708 * INSTALL: Regenerate.
16710 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16712 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16713 SSE4.2 strcasecmp for libc.a.
16714 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16716 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16719 * soft-fp/op-common.h (_FP_FMA): New macro.
16720 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16721 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16722 (_FP_MUL_MEAT_1_imm): ... here.
16723 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16724 (_FP_MUL_MEAT_1_wide): ... here.
16725 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16726 (_FP_MUL_MEAT_1_hard): ... here.
16727 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16728 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16729 (_FP_MUL_MEAT_2_wide): ... here.
16730 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16731 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16732 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16733 (_FP_MUL_MEAT_2_gmp): ... here.
16734 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16735 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16736 (_FP_MUL_MEAT_4_wide): ... here.
16737 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16738 (_FP_MUL_MEAT_4_gmp): ... here.
16739 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16740 (_FP_WFRACBITS_DW_S): Likewise.
16741 (_FP_WFRACXBITS_DW_S): Likewise.
16742 (_FP_HIGHBIT_DW_S): Likewise.
16743 (FP_FMA_S): Likewise.
16744 (_FP_FRAC_HIGH_DW_S): Likewise.
16745 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16746 (_FP_WFRACBITS_DW_D): Likewise.
16747 (_FP_WFRACXBITS_DW_D): Likewise.
16748 (_FP_HIGHBIT_DW_D): Likewise.
16749 (FP_FMA_D): Likewise.
16750 (_FP_FRAC_HIGH_DW_D): Likewise.
16751 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16752 (_FP_WFRACBITS_DW_E): Likewise.
16753 (_FP_WFRACXBITS_DW_E): Likewise.
16754 (_FP_HIGHBIT_DW_E): Likewise.
16755 (FP_FMA_E): Likewise.
16756 (_FP_FRAC_HIGH_DW_E): Likewise.
16757 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16758 (_FP_WFRACBITS_DW_Q): Likewise.
16759 (_FP_WFRACXBITS_DW_Q): Likewise.
16760 (_FP_HIGHBIT_DW_Q): Likewise.
16761 (FP_FMA_Q): Likewise.
16762 (_FP_FRAC_HIGH_DW_Q): Likewise.
16763 * soft-fp/fmasf4.c: New file.
16764 * soft-fp/fmadf4.c: Likewise.
16765 * soft-fp/fmatf4.c: Likewise.
16767 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16770 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16772 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16774 (index_Slow_SSE4_2): Likewise.
16775 (index_Prefer_PMINUB_for_stringop): Likewise.
16776 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16777 bit_Slow_SSE4_2 is set.
16778 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16779 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16781 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16783 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16784 rtld_global._dl_hwcap2.
16785 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16787 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16788 POWER8 feature descriptions defined in _dl_hwcap2.
16789 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16790 string handling for POWER8 feature bits.
16791 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16792 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16793 _dl_powerpc_cap_flags.
16794 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16795 * sysdeps/powerpc/rtld-global-offsets.sym
16796 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16797 _dl_hwcap2 in the rtld_global_ro structure.
16799 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16801 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16802 hardware capabilities in support of AT_HWCAP2.
16803 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16804 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16806 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16807 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16808 explicitly the unknown a_type display mechanism is used.
16809 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16810 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16812 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16813 to macro prototype for AT_HWCAP2 support.
16814 * sysdeps/i386/dl-procinfo.h: Likewise.
16815 * sysdeps/s390/dl-procinfo.h: Likewise.
16816 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16817 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16818 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16819 return -1 for unknown a_type display fallback.
16820 * sysdeps/sparc/dl-procinfo.h: Likewise.
16821 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16822 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16824 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16826 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16827 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16829 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16832 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16833 mprotect making __stack_prot writable.
16835 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16836 Joseph Myers <joseph@codesourcery.com>
16838 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16839 as being properly aligned.
16841 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16843 * dlfcn/modstatic5.c: New file.
16844 * dlfcn/tststatic5.c: New file.
16845 * dlfcn/Makefile (tests): Add tststatic5.
16846 (tests-static): Likewise.
16847 (modules-names): Add modstatic5.
16848 (tststatic5-ENV): New variable.
16849 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16852 * elf/dl-support.c (_dl_main_map): New variable.
16853 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16854 (_dl_nns, _dl_load_adds): Set to 1.
16855 (_dl_initial_searchlist): Refer to _dl_main_map.
16856 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16857 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16858 call to _dl_get_origin.
16859 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16861 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16862 * dlfcn/modstatic3.c: New file.
16863 * dlfcn/tststatic3.c: New file.
16864 * dlfcn/tststatic4.c: New file.
16865 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16866 (tests-static): Likewise.
16867 (modules-names): Add modstatic3.
16868 (tststatic3-ENV, tststatic4-ENV): New variables.
16869 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16870 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16872 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16874 * configure.in (CC): Require GCC version 4.4 or later.
16875 * configure: Regenerated.
16876 * manual/install.texi (Tools for Compilation): Update GCC version
16878 * INSTALL: Regenerated.
16880 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16883 * string/test-memcmp.c (check2): New.
16884 (main): Call check2.
16886 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16888 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16891 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16893 (dl_open_worker) [!SHARED]: ... here.
16895 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16897 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16899 2013-06-25 Richard Henderson <rth@redhat.com>
16901 * locale/programs/locarchive.c: Include <libc-internal.h>
16903 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16905 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16906 trailing whitespace removed.
16908 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16911 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16912 * locale/programs/locarchive.c: Include libc-mmap.h.
16913 (prepare_address_space): Take two new outputs (the mmap base and len).
16914 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16916 (create_archive): Declare new mmap base and len values for
16917 prepare_address_space, and store the result in ah.
16918 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16919 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16920 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16921 Declare new mmap base and len values for
16922 prepare_address_space, and store the result in new_ah.
16923 (open_archive): Declare new mmap base and len values for
16924 prepare_address_space, and store the result in ah.
16925 (close_archive): If ah->mmap_base is not NULL, use that and
16926 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16927 * sysdeps/generic/libc-mmap.h: New file.
16929 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16931 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16932 (ALIGN_UP): Likewise.
16933 (PTR_ALIGN_DOWN): Likewise.
16934 (PTR_ALIGN_UP): Likewise.
16936 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16938 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16939 entry mapped to PPC_PLATFORM_POWER8.
16940 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16942 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16943 (_dl_string_platform): Add case for exporting platform position for
16945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16946 search path to sysdeps/powerpc/powerpc32/power8 directory.
16947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16948 search path to sysdeps/powerpc/powerpc64/power8 directory.
16949 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16950 power7 directories.
16951 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16952 power7 directories.
16954 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16956 * INSTALL: Regenerate.
16958 * nscd/connections.c (nscd_init): Fix comment.
16960 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16962 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16965 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16966 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16968 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16970 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16972 (DL_DST_REQ_STATIC): Remove macro.
16974 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16977 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16978 with a shift of 0 bits.
16980 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16982 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16985 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16988 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16990 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16992 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16993 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16994 accepts -fno-tree-loop-distribute-patterns.
16995 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16996 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16998 * string/memset.c (memset): Likewise.
16999 * string/test-memmove.c (simple_memmove): Disable loop transformation
17001 * string/test-memset.c (simple_memset): Likewise.
17002 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17003 * benchtests/bench-memset.c (simple_memset): Likewise.
17004 * configure: Regenerated.
17006 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17008 * math/test-misc.c (main): Ignore fesetround failure when failures
17009 of subsequent rounding tests would be ignored.
17012 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17013 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17014 * math/fegetenv.c (__fegetenv): Return 0.
17015 * math/fegetexcept.c (fegetexcept): Return 0.
17016 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17018 * math/feholdexcpt.c (feholdexcept): Return 0.
17019 * math/fesetenv.c (__fesetenv): Return 0.
17020 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17021 argument FE_TONEAREST.
17022 * math/feupdateenv.c (__feupdateenv): Return 0.
17023 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17025 2013-06-18 Roland McGrath <roland@hack.frob.com>
17027 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17028 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17029 ($(objpfx)rtld-%.os rules): Use them.
17031 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17033 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17036 2013-06-17 Roland McGrath <roland@hack.frob.com>
17038 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17039 length of target pattern, then descending length of dependency pattern.
17040 * configure.in (AWK): Require gawk 3.1.2 or newer.
17041 * manual/install.texi (Tools for Compilation): Say that we do.
17042 * configure: Regenerated.
17044 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17045 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17046 * scripts/sysd-rules.awk: ... this new script.
17047 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17048 than a glob-style pattern.
17050 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17052 * math/test-misc.c (main): Do not treat incorrectly rounded
17053 conversions as failure unless ROUNDING_TESTS passes.
17055 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17058 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17059 restore exception state around main square root computation, then
17060 check for inexactness explicitly.
17062 * math/libm-test.inc (fma_test_data): Add another test.
17064 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17066 * manual/threads.texi (Non-POSIX Extensions): New document
17067 node. Document pthread_getattr_default_np and
17068 pthread_setattr_default_np.
17070 * Versions.def (libpthread): Add GLIBC_2.18.
17071 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17080 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17091 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17094 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17096 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17097 H.J. Lu <hjl.tools@gmail.com>
17100 * sysdeps/x86_64/rtld-memset.c: Remove file.
17101 * sysdeps/x86_64/rtld-memset.S: New file.
17103 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17105 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17106 (test_in_one_mode): Take arguments for whether the rounding mode
17107 is supported for each floating-point type.
17108 (do_test): Pass new arguments to test_in_one_mode using
17111 2013-06-13 Roland McGrath <roland@hack.frob.com>
17113 * posix/tst-waitid.c (do_test): Distinguish different instances of
17114 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17115 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17116 before entering the kernel for waitpid.
17118 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17120 * NEWS: Fix note on clock function precision. Text by Roland
17123 2013-06-13 Roland McGrath <roland@hack.frob.com>
17125 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17126 it into place only when and if the sanity check passes.
17128 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17130 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17131 output for whether conversion result is exact. Take argument
17132 indicating whether type is IBM long double.
17133 (round_for_all): Change need_exact field to ibm_ld.
17134 * stdlib/tst-strtod-round.c (struct exactness): New type.
17135 (struct test): Change bool ld_ok field to struct exactness exact.
17136 (TEST): Update all definitions for change to field.
17137 (tests): Regenerate array contents.
17138 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17139 field value. Check for IBM long double here.
17140 (do_test): Update calls to test_in_one_mode.
17142 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17145 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17146 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17148 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17151 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17152 generated by the compiler on loop optimizations.
17153 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17154 general definitions.
17156 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17158 * math/bug-nextafter.c: Include <math-tests.h>.
17159 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17161 * math/bug-nexttoward.c: Include <math-tests.h>.
17162 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17164 * math/test-misc.c: Include <math-tests.h>.
17165 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17168 2013-06-12 Andreas Jaeger <aj@suse.de>
17170 * po/ia.po: Update Interlingua translation from translation
17173 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17175 * include/fenv.h: Include stdbool.h.
17176 (struct rm_ctx): New structure.
17177 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17179 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17180 (SET_RESTORE_ROUNDF): Likewise.
17181 (SET_RESTORE_ROUNDL): Likewise.
17182 (SET_RESTORE_ROUND_NOEX): Likewise.
17183 (SET_RESTORE_ROUND_NOEXF): Likewise.
17184 (SET_RESTORE_ROUND_NOEXL): Likewise.
17185 (SET_RESTORE_ROUND_53BIT): Likewise.
17186 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17187 (libc_feresetround_noexf_ctx): Likewise.
17188 (libc_feresetround_noexl_ctx): Likewise.
17189 (libc_feholdsetround_53bit_ctx): Likewise.
17190 (libc_feresetround_53bit_ctx): Likewise.
17191 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17192 (libc_feholdexcept_setround_sse_ctx): New function.
17193 (libc_fesetenv_sse_ctx): Likewise.
17194 (libc_feupdateenv_sse_ctx): Likewise.
17195 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17196 (libc_feholdexcept_setround_387_ctx): Likewise.
17197 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17198 (libc_feholdsetround_387_prec_ctx): Likewise.
17199 (libc_feholdsetround_387_ctx): Likewise.
17200 (libc_feholdsetround_387_53bit_ctx): Likewise.
17201 (libc_feholdsetround_sse_ctx): Likewise.
17202 (libc_feresetround_sse_ctx): Likewise.
17203 (libc_feresetround_387_ctx): Likewise.
17204 (libc_feupdateenv_387_ctx): Likewise.
17205 (libc_feholdexcept_setroundf_ctx): Define macro.
17206 (libc_fesetenvf_ctx): Likewise.
17207 (libc_feupdateenvf_ctx): Likewise.
17208 (libc_feholdsetroundf_ctx): Likewise.
17209 (libc_feresetroundf_ctx): Likewise.
17210 (libc_feholdexcept_setround_ctx): Likewise.
17211 (libc_fesetenv_ctx): Likewise.
17212 (libc_feupdateenv_ctx): Likewise.
17213 (libc_feholdsetround_ctx): Likewise.
17214 (libc_feresetround_ctx): Likewise.
17215 (libc_feholdexcept_setroundl_ctx): Likewise.
17216 (libc_feupdateenvl_ctx): Likewise.
17217 (libc_feholdsetroundl_ctx): Likewise.
17218 (libc_feresetroundl_ctx): Likewise.
17219 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17220 (libc_feresetround_53bit_ctx): Likewise.
17222 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17224 * locale/iso-639.def: Convert to UTF-8.
17226 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17228 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17229 (EXCEPTION_TESTS_double): Likewise.
17230 (EXCEPTION_TESTS_long_double): Likewise.
17231 (EXCEPTION_TESTS): Likewise.
17232 * math/libm-test.inc (test_exceptions): Only test exceptions if
17233 EXCEPTION_TESTS (FLOAT).
17235 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17237 * benchtests/Makefile (string-bench): Add strcpy_chk and
17239 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17240 * benchtests/bench-stpcpy_chk.c: New file.
17241 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17242 * benchtests/bench-strcpy_chk.c: New file.
17243 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17245 (do_test): Likewise.
17247 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17249 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17250 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17251 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17252 with tabs where appropriate.
17253 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17255 [PPC_PLATFORM_PPC440]: Likewise.
17256 [PPC_PLATFORM_PPC464]: Likewise.
17257 [PPC_PLATFORM_PPC476]: Likewise.
17258 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17259 ppc464, and ppc476 platform strings merging from ports/
17262 2013-06-11 Andreas Schwab <schwab@suse.de>
17265 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17266 (from_ucs4_idx): Regenerate.
17267 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17268 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17269 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17270 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17271 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17272 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17273 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17274 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17275 from FROM_LOOP and TO_LOOP specific macros.
17276 (BODY): Handle combining characters.
17277 * iconvdata/BIG5HKSCS.irreversible: Update.
17278 * iconvdata/BIG5HKSCS.precomposed: New file.
17279 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17281 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17283 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17285 * include/sys/time.h: Fix indentation and add copyright header.
17287 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17288 (do_test): Likewise.
17289 * string/test-memchr.c (do_one_test): Likewise.
17290 (do_test): Likewise.
17291 * string/test-memcmp.c (do_one_test): Likewise.
17292 (do_test): Likewise.
17293 * string/test-memcpy.c (do_one_test): Likewise.
17294 (do_test): Likewise.
17295 * string/test-memmem.c (do_one_test): Likewise.
17296 (do_test): Likewise.
17297 (do_random_tests): Likewise.
17298 * string/test-memmove.c (do_one_test): Likewise.
17299 (do_test): Likewise.
17300 * string/test-memset.c (do_one_test): Likewise.
17301 (do_test): Likewise.
17302 * string/test-rawmemchr.c (do_one_test): Likewise.
17303 (do_test): Likewise.
17304 * string/test-strcasecmp.c (do_one_test): Likewise.
17305 (do_test): Likewise.
17306 * string/test-strcasestr.c (do_one_test): Likewise.
17307 (do_test): Likewise.
17308 * string/test-strcat.c (do_one_test): Likewise.
17309 (do_test): Likewise.
17310 * string/test-strchr.c (do_one_test): Likewise.
17311 (do_test): Likewise.
17312 * string/test-strcmp.c (do_one_test): Likewise.
17313 (do_test): Likewise.
17314 * string/test-strcpy.c (do_one_test): Likewise.
17315 (do_test): Likewise.
17316 * string/test-string.h: Likewise.
17317 (test_init): Likewise.
17318 * string/test-strlen.c (do_one_test): Likewise.
17319 (do_test): Likewise.
17320 * string/test-strncasecmp.c (do_one_test): Likewise.
17321 (do_test): Likewise.
17322 * string/test-strncat.c (do_one_test): Likewise.
17323 (do_test): Likewise.
17324 * string/test-strncmp.c (do_one_test): Likewise.
17325 (do_test_limit): Likewise.
17326 (do_test): Likewise.
17327 * string/test-strncpy.c (do_one_test): Likewise.
17328 (do_test): Likewise.
17329 * string/test-strnlen.c (do_one_test): Likewise.
17330 (do_test): Likewise.
17331 * string/test-strpbrk.c (do_one_test): Likewise.
17332 (do_test): Likewise.
17333 * string/test-strrchr.c (do_one_test): Likewise.
17334 (do_test): Likewise.
17335 * string/test-strspn.c (do_one_test): Likewise.
17336 (do_test): Likewise.
17337 * string/test-strstr.c (do_one_test): Likewise.
17338 (do_test): Likewise.
17340 * benchtests/Makefile (string-bench): Add string benchmarks.
17341 * benchtests/bench-bcopy-ifunc.c: New file.
17342 * benchtests/bench-bcopy.c: New file.
17343 * benchtests/bench-bzero-ifunc.c: New file.
17344 * benchtests/bench-bzero.c: New file.
17345 * benchtests/bench-memccpy-ifunc.c: New file.
17346 * benchtests/bench-memccpy.c: New file.
17347 * benchtests/bench-memchr-ifunc.c: New file.
17348 * benchtests/bench-memchr.c: New file.
17349 * benchtests/bench-memcmp-ifunc.c: New file.
17350 * benchtests/bench-memcmp.c: New file.
17351 * benchtests/bench-memmem-ifunc.c: New file.
17352 * benchtests/bench-memmem.c: New file.
17353 * benchtests/bench-memmove-ifunc.c: New file.
17354 * benchtests/bench-memmove.c: New file.
17355 * benchtests/bench-mempcpy-ifunc.c: New file.
17356 * benchtests/bench-mempcpy.c: New file.
17357 * benchtests/bench-memset-ifunc.c: New file.
17358 * benchtests/bench-memset.c: New file.
17359 * benchtests/bench-rawmemchr-ifunc.c: New file.
17360 * benchtests/bench-rawmemchr.c: New file.
17361 * benchtests/bench-stpcpy-ifunc.c: New file.
17362 * benchtests/bench-stpcpy.c: New file.
17363 * benchtests/bench-stpncpy-ifunc.c: New file.
17364 * benchtests/bench-stpncpy.c: New file.
17365 * benchtests/bench-strcasecmp-ifunc.c: New file.
17366 * benchtests/bench-strcasecmp.c: New file.
17367 * benchtests/bench-strcasestr-ifunc.c: New file.
17368 * benchtests/bench-strcasestr.c: New file.
17369 * benchtests/bench-strcat-ifunc.c: New file.
17370 * benchtests/bench-strcat.c: New file.
17371 * benchtests/bench-strchr-ifunc.c: New file.
17372 * benchtests/bench-strchr.c: New file.
17373 * benchtests/bench-strchrnul-ifunc.c: New file.
17374 * benchtests/bench-strchrnul.c: New file.
17375 * benchtests/bench-strcmp-ifunc.c: New file.
17376 * benchtests/bench-strcmp.c: New file.
17377 * benchtests/bench-strcpy-ifunc.c: New file.
17378 * benchtests/bench-strcpy.c: New file.
17379 * benchtests/bench-strcspn-ifunc.c: New file.
17380 * benchtests/bench-strcspn.c: New file.
17381 * benchtests/bench-strlen-ifunc.c: New file.
17382 * benchtests/bench-strlen.c: New file.
17383 * benchtests/bench-strncasecmp-ifunc.c: New file.
17384 * benchtests/bench-strncasecmp.c: New file.
17385 * benchtests/bench-strncat-ifunc.c: New file.
17386 * benchtests/bench-strncat.c: New file.
17387 * benchtests/bench-strncmp-ifunc.c: New file.
17388 * benchtests/bench-strncmp.c: New file.
17389 * benchtests/bench-strncpy-ifunc.c: New file.
17390 * benchtests/bench-strncpy.c: New file.
17391 * benchtests/bench-strnlen-ifunc.c: New file.
17392 * benchtests/bench-strnlen.c: New file.
17393 * benchtests/bench-strpbrk-ifunc.c: New file.
17394 * benchtests/bench-strpbrk.c: New file.
17395 * benchtests/bench-strrchr-ifunc.c: New file.
17396 * benchtests/bench-strrchr.c: New file.
17397 * benchtests/bench-strspn-ifunc.c: New file.
17398 * benchtests/bench-strspn.c: New file.
17399 * benchtests/bench-strstr-ifunc.c: New file.
17400 * benchtests/bench-strstr.c: New file.
17402 * benchtests/Makefile: Disable parallel execution of targets.
17403 (string-bench): Add memcpy.
17404 (benchset): New variable to store a list of benchmark sets.
17405 (bench-func): Renamed from bench.
17406 (bench-set): New target.
17407 (bench): Depend on bench-func and bench-set.
17408 * benchtests/README: Add section on benchmark sets.
17409 * benchtests/bench-memcpy-ifunc.c: New file.
17410 * benchtests/bench-memcpy.c: New file.
17411 * benchtests/bench-string.h: New file.
17413 2013-06-11 Andreas Schwab <schwab@suse.de>
17416 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17417 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17418 values in the triple.
17419 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17420 terminator in the group key.
17422 2013-06-11 Andreas Jaeger <aj@suse.de>
17424 * po/zh_TW.po: Update Chinese (traditional) translation from
17425 translation project.
17427 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17429 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17430 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17431 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17432 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17433 (clock_getcpuclockid): Likewise.
17434 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17435 Add weak_alias and libc_hidden_def.
17436 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17437 * rt/clock_gettime.c (clock_gettime): Rename to
17438 __clock_gettime. Add weak_alias and libc_hidden_def.
17439 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17440 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17441 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17442 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17443 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17445 * rt/clock_settime.c (clock_settime): Rename to
17446 __clock_settime. Add weak_alias and libc_hidden_def.
17447 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17449 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17451 * mach/err_boot.sub: Remove trailing whitespace.
17452 * mach/err_ipc.sub: Likewise.
17453 * mach/err_mach.sub: Likewise.
17455 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17456 (ROUNDING_TESTS_double): Likewise.
17457 (ROUNDING_TESTS_long_double): Likewise.
17458 (ROUNDING_TESTS): Likewise.
17459 * math/libm-test.inc: Include <math-tests.h>.
17460 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17461 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17462 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17463 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17465 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17467 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17470 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17472 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17473 otherwise empty TRANS lines.
17474 * sysdeps/gnu/errlist.c: Regenerated.
17476 * catgets/gencat.c (error_print): Use (void) in function
17478 * crypt/crypt_util.c (__init_des): Likewise.
17479 * crypt/speeds.c (Stop): Likewise.
17481 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17482 * inet/ruserpass.c (token): Likewise.
17483 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17484 * intl/localealias.c (extend_alias_table): Likewise.
17485 * intl/plural-exp.c (init_germanic_plural): Likewise.
17486 * libio/fcloseall.c (__fcloseall): Likewise.
17487 * libio/genops.c (_IO_flush_all): Likewise.
17488 (_IO_flush_all_linebuffered): Likewise.
17489 (_IO_cleanup): Likewise.
17490 (_IO_iter_begin): Likewise.
17491 (_IO_iter_end): Likewise.
17492 (_IO_list_lock): Likewise.
17493 (_IO_list_unlock): Likewise.
17494 (_IO_list_resetlock): Likewise.
17495 * libio/getchar.c (getchar): Likewise.
17496 * libio/getchar_u.c (getchar_unlocked): Likewise.
17497 * libio/getwchar.c (getwchar): Likewise.
17498 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17499 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17500 * login/getpt.c (__getpt): Likewise.
17501 * login/tst-utmp.c (main): Likewise.
17502 * malloc/hooks.c (__malloc_check_init): Likewise.
17503 * malloc/malloc.c (__malloc_stats): Likewise.
17504 * malloc/mtrace.c (tr_break): Likewise.
17505 (mtrace): Likewise.
17506 (muntrace): Likewise.
17507 * misc/fstab.c (endfsent): Likewise.
17508 * misc/getclktck.c (__getclktck): Likewise.
17509 * misc/getdtsz.c (__getdtablesize): Likewise.
17510 * misc/gethostid.c (gethostid): Likewise.
17511 * misc/getpagesize.c (__getpagesize): Likewise.
17512 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17513 (__get_nprocs): Likewise.
17514 (__get_phys_pages): Likewise.
17515 (__get_avphys_pages): Likewise.
17516 * misc/getttyent.c (getttyent): Likewise.
17517 (setttyent): Likewise.
17518 (endttyent): Likewise.
17519 * misc/getusershell.c (getusershell): Likewise.
17520 (endusershell): Likewise.
17521 (setusershell): Likewise.
17522 (initshells): Likewise.
17523 * misc/hsearch.c (__hdestroy): Likewise.
17524 * misc/sync.c (sync): Likewise.
17525 * misc/syslog.c (closelog_internal): Likewise.
17526 (closelog): Likewise.
17527 * misc/ttyslot.c (ttyslot): Likewise.
17528 * misc/vhangup.c (vhangup): Likewise.
17529 * posix/fork.c (__fork): Likewise.
17530 * posix/getegid.c (__getegid): Likewise.
17531 * posix/geteuid.c (__geteuid): Likewise.
17532 * posix/getgid.c (__getgid): Likewise.
17533 * posix/getpid.c (__getpid): Likewise.
17534 * posix/getppid.c (__getppid): Likewise.
17535 * posix/getuid.c (__getuid): Likewise.
17536 * posix/pause.c (pause): Likewise.
17537 * posix/setpgrp.c (setpgrp): Likewise.
17538 * posix/setsid.c (__setsid): Likewise.
17539 * posix/test-vfork.c (noop): Likewise.
17540 * resolv/gethnamaddr.c (_endhtent): Likewise.
17541 (_gethtent): Likewise.
17542 (ht_endhostent): Likewise.
17543 (gethostent): Likewise.
17544 (dns_service): Likewise.
17545 * stdlib/drand48.c (drand48): Likewise.
17546 * stdlib/lrand48.c (lrand48): Likewise.
17547 * stdlib/mrand48.c (mrand48): Likewise.
17548 * stdlib/rand.c (rand): Likewise.
17549 * stdlib/random.c (__random): Likewise.
17550 * stdlib/setenv.c (clearenv): Likewise.
17551 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17552 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17553 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17554 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17555 (__get_nprocs): Likewise.
17556 (__get_phys_pages): Likewise.
17557 (__get_avphys_pages): Likewise.
17558 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17559 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17560 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17561 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17562 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17563 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17564 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17565 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17566 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17567 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17568 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17569 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17570 * sysdeps/posix/clock.c (clock): Likewise.
17571 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17572 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17573 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17574 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17575 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17576 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17577 (__get_nprocs_conf): Likewise.
17578 (__get_phys_pages): Likewise.
17579 (__get_avphys_pages): Likewise.
17580 * time/clock.c (clock): Likewise.
17581 * time/tzset.c (__tzname_max): Likewise.
17583 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17585 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17586 (__bswap_32): Do not use "register".
17587 * crypt/crypt.c (_ufc_doit_r): Likewise.
17588 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17589 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17590 * gmon/gmon.c (__monstartup): Likewise.
17591 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17592 * hurd/hurdmalloc.c (more_memory): Likewise.
17593 (malloc): Likewise.
17595 (realloc): Likewise.
17596 (malloc_fork_prepare): Likewise.
17597 (malloc_fork_parent): Likewise.
17598 (malloc_fork_child): Likewise.
17599 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17600 (_svcauth_des): Likewise.
17601 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17602 * inet/inet_net.c (inet_network): Likewise.
17603 * inet/inet_netof.c (inet_netof): Likewise.
17604 * inet/rcmd.c (__validuser2_sa): Likewise.
17605 * io/fts.c (fts_open): Likewise.
17606 (fts_load): Likewise.
17607 (fts_close): Likewise.
17608 (fts_read): Likewise.
17609 (fts_children): Likewise.
17610 (fts_build): Likewise.
17611 (fts_stat): Likewise.
17612 (fts_sort): Likewise.
17613 (fts_alloc): Likewise.
17614 (fts_lfree): Likewise.
17615 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17616 (_IO_file_xsgetn): Likewise.
17617 (_IO_file_xsgetn_mmap): Likewise.
17618 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17619 (_IO_cookie_write): Likewise.
17620 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17621 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17622 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17623 * malloc/obstack.c (_obstack_begin): Likewise.
17624 (_obstack_begin_1): Likewise.
17625 (_obstack_newchunk): Likewise.
17626 (_obstack_allocated_p): Likewise.
17627 (obstack_free): Likewise.
17628 (_obstack_memory_used): Likewise.
17629 * misc/getttyent.c (getttynam): Likewise.
17630 (getttyent): Likewise.
17633 * misc/getusershell.c (initshells): Likewise.
17634 * misc/syslog.c (__vsyslog_chk): Likewise.
17635 * misc/ttyslot.c (ttyslot): Likewise.
17636 * nis/nis_hash.c (__nis_hash): Likewise.
17637 * posix/fnmatch_loop.c (FCT): Likewise.
17638 * posix/getconf.c (print_all): Likewise.
17640 * posix/getopt.c (exchange): Likewise.
17641 * posix/glob.c (globfree): Likewise.
17642 (prefix_array): Likewise.
17643 (__glob_pattern_type): Likewise.
17644 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17645 (NS_GET32): Likewise.
17646 (NS_PUT16): Likewise.
17647 (NS_PUT32): Likewise.
17648 * resolv/gethnamaddr.c (getanswer): Likewise.
17649 (gethostbyname2): Likewise.
17650 (gethostbyaddr): Likewise.
17651 (_gethtent): Likewise.
17652 (_gethtbyname2): Likewise.
17653 (_gethtbyaddr): Likewise.
17654 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17655 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17656 * resolv/res_init.c (__res_vinit): Likewise.
17657 (net_mask): Likewise.
17658 * resolv/res_mkquery.c (outchar): Likewise.
17660 * stdio-common/printf_fp.c (outchar): Likewise.
17662 * stdio-common/printf_fphex.c (outchar): Likewise.
17664 * stdio-common/printf_size.c (outchar): Likewise.
17666 * stdio-common/test_rdwr.c (main): Likewise.
17667 * stdio-common/tfformat.c (matches): Likewise.
17668 * stdio-common/vfprintf.c (outchar): Likewise.
17669 (printf_unknown): Likewise.
17670 (buffered_vfprintf): Likewise.
17671 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17672 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17673 (ReadFile): Likewise.
17674 * stdlib/qsort.c (SWAP): Likewise.
17675 (_quicksort): Likewise.
17676 * stdlib/setenv.c (__add_to_environ): Likewise.
17677 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17678 * stdlib/strtol_l.c (__strtol_l): Likewise.
17679 * stdlib/tst-strtod.c (main): Likewise.
17680 * stdlib/tst-strtol.c (main): Likewise.
17681 * stdlib/tst-strtoll.c (main): Likewise.
17682 * string/bits/string2.h (__strcmp_cc): Likewise.
17683 (__strcmp_cg): Likewise.
17684 (__strcspn_c1): Likewise.
17685 (__strcspn_c2): Likewise.
17686 (__strcspn_c3): Likewise.
17687 (__strspn_c1): Likewise.
17688 (__strspn_c2): Likewise.
17689 (__strspn_c3): Likewise.
17690 (__strsep_1c): Likewise.
17691 (__strsep_2c): Likewise.
17692 (__strsep_3c): Likewise.
17693 * string/memccpy.c (__memccpy): Likewise.
17694 * string/stpcpy.c (__stpcpy): Likewise.
17695 * string/strcmp.c (strcmp): Likewise.
17696 * string/strrchr.c (strrchr): Likewise.
17697 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17699 * sysdeps/mach/hurd/getcwd.c
17700 (_hurd_canonicalize_directory_name_internal): Likewise.
17701 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17702 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17703 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17704 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17705 Likewise, in both definitions.
17706 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17708 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17709 64] (__bswap_64): Likewise.
17710 * time/test_time.c (main): Likewise.
17711 * time/tzfile.c (__tzfile_read): Likewise.
17712 (__tzfile_compute): Likewise.
17713 * time/tzset.c (__tzset_parse_tz): Likewise.
17714 (tzset_internal): Likewise.
17715 (compute_change): Likewise.
17716 * wcsmbs/wcscat.c (__wcscat): Likewise.
17717 * wcsmbs/wcschr.c (wcschr): Likewise.
17718 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17719 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17720 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17721 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17722 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17723 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17724 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17725 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17726 * wcsmbs/wmemset.c (wmemset): Likewise.
17728 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17730 * scripts/config.guess: Update to version 2013-05-16.
17731 * scripts/config.sub: Update to version 2013-04-24.
17732 * scripts/install-sh: Update to version 2011-11-20.07.
17733 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17734 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17736 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17738 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17739 * elf/sln.c: Likewise.
17740 * hurd/hurd/ioctl.h: Likewise.
17741 * hurd/hurdmalloc.c: Likewise.
17742 * hurd/xattr.c: Likewise.
17743 * include/shlib-compat.h: Likewise.
17744 * inet/ruserpass.c: Likewise.
17745 * libio/iofgets_u.c: Likewise.
17746 * libio/iofgetws_u.c: Likewise.
17747 * locale/programs/ld-identification.c: Likewise.
17748 * locale/programs/ld-time.c: Likewise.
17749 * mach/msg-destroy.c: Likewise.
17750 * nss/nss_files/files-netgrp.c: Likewise.
17751 * resolv/res_data.c: Likewise.
17752 * soft-fp/op-1.h: Likewise.
17753 * soft-fp/op-2.h: Likewise.
17754 * soft-fp/op-4.h: Likewise.
17755 * soft-fp/op-common.h: Likewise.
17756 * stdio-common/printf_fphex.c: Likewise.
17757 * stdlib/strtod_l.c: Likewise.
17758 * sunrpc/rpc/clnt.h: Likewise.
17759 * sysdeps/generic/framestate.c: Likewise.
17760 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17761 * sysdeps/i386/bsd-setjmp.S: Likewise.
17762 * sysdeps/i386/__longjmp.S: Likewise.
17763 * sysdeps/i386/setjmp.S: Likewise.
17764 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17765 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17766 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17774 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17781 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17782 * sysdeps/ieee754/support.c: Likewise.
17783 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17784 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17785 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17786 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17787 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17788 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17789 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17790 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17791 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17792 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17793 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17794 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17795 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17796 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17797 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17798 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17799 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17802 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17804 * posix/transbug.c: Remove executable mode.
17806 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17808 * crypt/speeds.c: Remove trailing whitespace.
17809 * dlfcn/default.c: Likewise.
17810 * elf/ifuncdep2.c: Likewise.
17811 * elf/ifuncmain1.c: Likewise.
17812 * elf/ifuncmain1vis.c: Likewise.
17813 * elf/testobj.h: Likewise.
17814 * elf/tst-stackguard1.c: Likewise.
17815 * gmon/sys/gmon.h: Likewise.
17816 * hurd/hurdmsg.c: Likewise.
17817 * hurd/new-fd.c: Likewise.
17818 * hurd/ports-get.c: Likewise.
17819 * iconvdata/ibm1008_420.c: Likewise.
17820 * inet/tst-getni1.c: Likewise.
17821 * inet/tst-getni2.c: Likewise.
17822 * libio/ioungetc.c: Likewise.
17823 * libio/wfiledoalloc.c: Likewise.
17824 * manual/libm-err-tab.pl: Likewise.
17825 * math/w_dremf.c: Likewise.
17826 * misc/ftruncate.c: Likewise.
17827 * posix/bug-glob2.c: Likewise.
17828 * posix/tst-pcre.c: Likewise.
17829 * posix/wait4.c: Likewise.
17830 * resolv/README: Likewise.
17831 * resolv/res_debug.h: Likewise.
17832 * resolv/tst-inet_ntop.c: Likewise.
17833 * setjmp/bug269-setjmp.c: Likewise.
17834 * soft-fp/extended.h: Likewise.
17835 * soft-fp/op-1.h: Likewise.
17836 * soft-fp/op-2.h: Likewise.
17837 * soft-fp/op-4.h: Likewise.
17838 * soft-fp/op-8.h: Likewise.
17839 * soft-fp/testit.c: Likewise.
17840 * stdio-common/bug16.c: Likewise.
17841 * stdlib/random.c: Likewise.
17842 * sunrpc/rpcsvc/rquota.x: Likewise.
17843 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17844 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17845 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17846 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17847 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17848 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17849 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17850 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17851 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17852 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17853 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17854 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17855 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17857 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17858 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17860 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17861 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17862 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17863 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17864 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17865 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17866 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17867 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17868 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17869 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17870 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17871 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17872 * sysdeps/ieee754/s_lib_version.c: Likewise.
17873 * sysdeps/mach/hurd/check_fds.c: Likewise.
17874 * sysdeps/mach/hurd/getsockname.c: Likewise.
17875 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17876 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17877 * sysdeps/powerpc/bits/link.h: Likewise.
17878 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17879 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17880 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17881 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17882 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17883 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17884 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17885 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17886 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17887 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17888 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17889 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17890 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17891 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17892 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17893 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17894 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17895 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17896 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17898 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17899 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17900 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17901 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17902 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17903 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17904 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17905 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17906 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17907 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17908 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17909 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17910 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17911 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17912 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17913 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17914 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17915 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17916 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17917 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17918 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17919 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17920 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17921 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17922 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17923 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17924 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17925 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17926 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17927 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17928 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17929 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17930 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17931 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17932 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17933 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17934 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17935 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17936 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17937 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17938 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17939 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17940 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17941 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17942 * sysdeps/powerpc/sysdep.h: Likewise.
17943 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17944 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17945 * sysdeps/sh/dl-trampoline.S: Likewise.
17946 * sysdeps/sh/memset.S: Likewise.
17947 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17948 * sysdeps/sh/strlen.S: Likewise.
17949 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17950 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17951 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17952 * sysdeps/sparc/sparc32/rem.S: Likewise.
17953 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17954 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17955 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17956 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17957 * sysdeps/sparc/sparc32/urem.S: Likewise.
17958 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17959 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17960 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17961 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17962 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17963 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17964 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17965 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17966 * sysdeps/unix/bsd/times.c: Likewise.
17967 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17968 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17972 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17973 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17974 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17975 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17976 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17977 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17978 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17979 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17980 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17981 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17982 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17983 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17984 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17985 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17986 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17987 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17988 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17989 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17990 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17991 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17992 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17993 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17994 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17995 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17996 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17997 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17998 * sysdeps/x86_64/strcspn.S: Likewise.
18000 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18002 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18003 generated file. Regenerate properly from gen-translit.pl.
18004 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18005 locale/C-translit.h.
18007 2013-06-05 Andreas Schwab <schwab@suse.de>
18010 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18011 week as 6 instead of -1.
18012 * time/tst-strptime.c (day_tests): Add test case.
18014 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18016 * sysdeps/generic/math_private.h
18017 (libc_feholdexcept_setround_53bit): Replace with
18018 libc_feholdsetround_53bit.
18019 (libc_feupdateenv_53bit): Replace with
18020 libc_feresetround_53bit.
18021 (SET_RESTORE_ROUND_53BIT): Adjust.
18023 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18025 * string/test-strchrnul.c: Add copyright header.
18027 * posix/tst-getaddrinfo4.c: Increase test timeout.
18029 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18032 * math/libm-test.inc (MAX_EXP): Remove
18034 (ulp): Use MIN_EXP - MANT_DIG.
18035 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18037 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18039 * po/be.po: Revert last change.
18040 * po/zh_CN.po: Likewise.
18041 * po/header.pot: Likewise.
18043 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18045 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18046 link-libc-deps to empty as target-specific variable.
18047 * Makerules (link-libc-args): New variable.
18048 (libc-for-link): Likewise.
18049 (link-libc-deps): Likewise.
18050 (lib%.so): Depend on $(link-libc-deps). Link with
18052 (build-module): Link with $(link-libc-args).
18053 (build-module-asneeded): Likewise.
18054 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18056 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18057 target-specific variable.
18058 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18059 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18060 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18062 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18064 ($(objpfx)libpcprofile.so): Likewise.
18065 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18067 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18068 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18069 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18071 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18072 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18073 * login/Makefile ($(objpfx)libutil.so): Likewise.
18074 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18075 * math/Makefile ($(objpfx)libm.so): Likewise.
18076 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18077 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18078 variable instead of depending directly on libc.
18079 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18080 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18082 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18084 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18085 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18086 ($(objpfx)libanl.so): Likewise.
18087 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18089 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18091 * sysdeps/i386/fpu/Makefile: Remove file.
18092 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18093 ($(objpfx)libm.so): Remove dependency on ld.so.
18095 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18098 * nis/yp_xdr.c (XDRMAXNAME): Define.
18099 (XDRMAXRECORD): Define.
18100 (xdr_domainname): Use XDRMAXNAME.
18101 (xdr_mapname): Likewise.
18102 (xdr_peername): Likewise.
18103 (xdr_keydat): Use XDRMAXRECORD.
18104 (xdr_valdat): Likewise.
18106 2013-05-30 Jeff Law <law@redhat.com>
18109 * manual/errno.texi (ESTALE): Update to account for more than
18110 just NFS file systems.
18111 * sysdeps/gnu/errlist.c: Regenerated.
18113 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18116 * elf/Makefile (tests): Add tst-null-argv.
18117 (modules-names): Add tst-null-argv-lib.
18118 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18119 (tst-null-argv-ENV): Set environment for tst-null-argv.
18120 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18121 (RTLD_PROGNAME): New macro.
18122 * elf/tst-null-argv.c: New test case.
18123 * elf/tst-null-argv-lib.c: Library for test case.
18124 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18125 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18126 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18127 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18128 * elf/dl-init.c (call_init): Likewise.
18129 (_dl_init): Likewise.
18130 * elf/dl-load.c (print_search_path): Likewise.
18131 (_dl_map_object): Likewise.
18132 * elf/dl-lookup.c (do_lookup_x): Likewise.
18133 (add_dependency): Likewise.
18134 (_dl_lookup_symbol_x): Likewise.
18135 (_dl_debug_bindings): Likewise.
18136 * elf/dl-open.c (_dl_show_scope): Likewise.
18137 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18138 * elf/dl-version.c (match_symbol): Likewise.
18139 (_dl_check_map_versions): Likewise.
18140 * elf/rtld.c (dl_main): Likewise.
18141 (print_unresolved): Use RTLD_PROGNAME.
18142 (print_missing_version): Likewise.
18143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18144 (elf_machine_rela): Likewise.
18145 * sysdeps/powerpc/powerpc32/dl-machine.c
18146 (__process_machine_rela): Likewise.
18147 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18151 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18153 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18154 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18160 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18162 * po/be.po: Add descriptive title.
18163 * po/zh_CN.po: Likewise.
18164 * po/header.pot: Likewise.
18166 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18168 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18170 (enlarge_archive): Likewise.
18172 2013-05-28 Ben North <ben@redfrontdoor.org>
18174 * manual/arith.texi (frexp): It is the magnitude of the return
18175 value which lies in [0.5, 1), not the return value itself.
18177 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18181 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18183 * stdio-common/bug26.c (main): Correct fscanf template.
18185 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18186 declare _dl_skip_args.
18188 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18191 * manual/platform.texi: Add missing @end deftypefun.
18193 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18196 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18197 bit of mantissa of 2^16382.
18198 * math/libm-test.inc (hypot_test_data): Add more tests.
18200 * math/libm-test.inc: Add drem and pow10 to list of tested
18202 (pow10_test): New function.
18203 (drem_test): Likewise.
18204 (drem_test_tonearest): Likewise.
18205 (drem_test_towardzero): Likewise.
18206 (drem_test_downward): Likewise.
18207 (drem_test_upward): Likewise.
18208 (main): Call the new functions.
18210 * math/libm-test.inc (finite_test_data): Remove.
18211 (finite_test): Run tests from isfinite_test_data.
18212 (gamma_test_data): Remove.
18213 (gamma_test): Run tests from lgamma_test_data.
18214 * sysdeps/i386/fpu/libm-test-ulps: Update.
18215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18217 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18219 * manual/platform.texi: Add PowerPC PPR function set documentation.
18220 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18223 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18225 * math/libm-test.inc (MAX_EXP): Define.
18227 (ulp): New function.
18228 (check_float_internal): Use ULPDIFF.
18229 (cpow_test): Disable failing test.
18230 (check_ulp): Test ulp() implemetnation.
18231 (main): Call check_ulp before starting tests.
18233 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18235 * math/gen-libm-test.pl (generate_testfile): Do not handle
18236 START_DATA and END_DATA.
18237 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18239 (acos_tonearest_test_data): Likewise.
18240 (acos_towardzero_test_data): Likewise.
18241 (acos_downward_test_data): Likewise.
18242 (acos_upward_test_data): Likewise.
18243 (acosh_test_data): Likewise.
18244 (asin_test_data): Likewise.
18245 (asin_tonearest_test_data): Likewise.
18246 (asin_towardzero_test_data): Likewise.
18247 (asin_downward_test_data): Likewise.
18248 (asin_upward_test_data): Likewise.
18249 (asinh_test_data): Likewise.
18250 (atan_test_data): Likewise.
18251 (atanh_test_data): Likewise.
18252 (atan2_test_data): Likewise.
18253 (cabs_test_data): Likewise.
18254 (cacos_test_data): Likewise.
18255 (cacosh_test_data): Likewise.
18256 (carg_test_data): Likewise.
18257 (casin_test_data): Likewise.
18258 (casinh_test_data): Likewise.
18259 (catan_test_data): Likewise.
18260 (catanh_test_data): Likewise.
18261 (cbrt_test_data): Likewise.
18262 (ccos_test_data): Likewise.
18263 (ccosh_test_data): Likewise.
18264 (ceil_test_data): Likewise.
18265 (cexp_test_data): Likewise.
18266 (cimag_test_data): Likewise.
18267 (clog_test_data): Likewise.
18268 (clog10_test_data): Likewise.
18269 (conj_test_data): Likewise.
18270 (copysign_test_data): Likewise.
18271 (cos_test_data): Likewise.
18272 (cos_tonearest_test_data): Likewise.
18273 (cos_towardzero_test_data): Likewise.
18274 (cos_downward_test_data): Likewise.
18275 (cos_upward_test_data): Likewise.
18276 (cosh_test_data): Likewise.
18277 (cosh_tonearest_test_data): Likewise.
18278 (cosh_towardzero_test_data): Likewise.
18279 (cosh_downward_test_data): Likewise.
18280 (cosh_upward_test_data): Likewise.
18281 (cpow_test_data): Likewise.
18282 (cproj_test_data): Likewise.
18283 (creal_test_data): Likewise.
18284 (csin_test_data): Likewise.
18285 (csinh_test_data): Likewise.
18286 (csqrt_test_data): Likewise.
18287 (ctan_test_data): Likewise.
18288 (ctan_tonearest_test_data): Likewise.
18289 (ctan_towardzero_test_data): Likewise.
18290 (ctan_downward_test_data): Likewise.
18291 (ctan_upward_test_data): Likewise.
18292 (ctanh_test_data): Likewise.
18293 (ctanh_tonearest_test_data): Likewise.
18294 (ctanh_towardzero_test_data): Likewise.
18295 (ctanh_downward_test_data): Likewise.
18296 (ctanh_upward_test_data): Likewise.
18297 (erf_test_data): Likewise.
18298 (erfc_test_data): Likewise.
18299 (exp_test_data): Likewise.
18300 (exp_tonearest_test_data): Likewise.
18301 (exp_towardzero_test_data): Likewise.
18302 (exp_downward_test_data): Likewise.
18303 (exp_upward_test_data): Likewise.
18304 (exp10_test_data): Likewise.
18305 (exp2_test_data): Likewise.
18306 (expm1_test_data): Likewise.
18307 (fabs_test_data): Likewise.
18308 (fdim_test_data): Likewise.
18309 (finite_test_data): Likewise.
18310 (floor_test_data): Likewise.
18311 (fma_test_data): Likewise.
18312 (fma_towardzero_test_data): Likewise.
18313 (fma_downward_test_data): Likewise.
18314 (fma_upward_test_data): Likewise.
18315 (fmax_test_data): Likewise.
18316 (fmin_test_data): Likewise.
18317 (fmod_test_data): Likewise.
18318 (fpclassify_test_data): Likewise.
18319 (frexp_test_data): Likewise.
18320 (gamma_test_data): Likewise.
18321 (hypot_test_data): Likewise.
18322 (ilogb_test_data): Likewise.
18323 (isfinite_test_data): Likewise.
18324 (isgreater_test_data): Likewise.
18325 (isgreaterequal_test_data): Likewise.
18326 (isinf_test_data): Likewise.
18327 (isless_test_data): Likewise.
18328 (islessequal_test_data): Likewise.
18329 (islessgreater_test_data): Likewise.
18330 (isnan_test_data): Likewise.
18331 (isnormal_test_data): Likewise.
18332 (issignaling_test_data): Likewise.
18333 (isunordered_test_data): Likewise.
18334 (j0_test_data): Likewise.
18335 (j1_test_data): Likewise.
18336 (jn_test_data): Likewise.
18337 (ldexp_test_data): Likewise.
18338 (lgamma_test_data): Likewise.
18339 (lrint_test_data): Likewise.
18340 (lrint_tonearest_test_data): Likewise.
18341 (lrint_towardzero_test_data): Likewise.
18342 (lrint_downward_test_data): Likewise.
18343 (lrint_upward_test_data): Likewise.
18344 (llrint_test_data): Likewise.
18345 (llrint_tonearest_test_data): Likewise.
18346 (llrint_towardzero_test_data): Likewise.
18347 (llrint_downward_test_data): Likewise.
18348 (llrint_upward_test_data): Likewise.
18349 (log_test_data): Likewise.
18350 (log10_test_data): Likewise.
18351 (log1p_test_data): Likewise.
18352 (log2_test_data): Likewise.
18353 (logb_test_data): Likewise.
18354 (logb_downward_test_data): Likewise.
18355 (lround_test_data): Likewise.
18356 (llround_test_data): Likewise.
18357 (modf_test_data): Likewise.
18358 (nearbyint_test_data): Likewise.
18359 (nextafter_test_data): Likewise.
18360 (nexttoward_test_data): Likewise.
18361 (pow_test_data): Likewise.
18362 (pow_tonearest_test_data): Likewise.
18363 (pow_towardzero_test_data): Likewise.
18364 (pow_downward_test_data): Likewise.
18365 (pow_upward_test_data): Likewise.
18366 (remainder_test_data): Likewise.
18367 (remainder_tonearest_test_data): Likewise.
18368 (remainder_towardzero_test_data): Likewise.
18369 (remainder_downward_test_data): Likewise.
18370 (remainder_upward_test_data): Likewise.
18371 (remquo_test_data): Likewise.
18372 (rint_test_data): Likewise.
18373 (rint_tonearest_test_data): Likewise.
18374 (rint_towardzero_test_data): Likewise.
18375 (rint_downward_test_data): Likewise.
18376 (rint_upward_test_data): Likewise.
18377 (round_test_data): Likewise.
18378 (scalb_test_data): Likewise.
18379 (scalbn_test_data): Likewise.
18380 (scalbln_test_data): Likewise.
18381 (signbit_test_data): Likewise.
18382 (sin_test_data): Likewise.
18383 (sin_tonearest_test_data): Likewise.
18384 (sin_towardzero_test_data): Likewise.
18385 (sin_downward_test_data): Likewise.
18386 (sin_upward_test_data): Likewise.
18387 (sincos_test_data): Likewise.
18388 (sinh_test_data): Likewise.
18389 (sinh_tonearest_test_data): Likewise.
18390 (sinh_towardzero_test_data): Likewise.
18391 (sinh_downward_test_data): Likewise.
18392 (sinh_upward_test_data): Likewise.
18393 (sqrt_test_data): Likewise.
18394 (tan_test_data): Likewise.
18395 (tan_tonearest_test_data): Likewise.
18396 (tan_towardzero_test_data): Likewise.
18397 (tan_downward_test_data): Likewise.
18398 (tan_upward_test_data): Likewise.
18399 (tanh_test_data): Likewise.
18400 (tgamma_test_data): Likewise.
18401 (trunc_test_data): Likewise.
18402 (y0_test_data): Likewise.
18403 (y1_test_data): Likewise.
18404 (yn_test_data): Likewise.
18405 (significand_test_data): Likewise.
18407 * math/gen-libm-test.pl (@functions): Remove variable.
18408 (generate_testfile): Don't handle START and END lines.
18409 * math/libm-test.inc (START): New macro.
18411 (END_COMPLEX): Likewise.
18412 (acos_test): Use END macro without arguments.
18413 (acos_test_tonearest): Likewise.
18414 (acos_test_towardzero): Likewise.
18415 (acos_test_downward): Likewise.
18416 (acos_test_upward): Likewise.
18417 (acosh_test): Likewise.
18418 (asin_test): Likewise.
18419 (asin_test_tonearest): Likewise.
18420 (asin_test_towardzero): Likewise.
18421 (asin_test_downward): Likewise.
18422 (asin_test_upward): Likewise.
18423 (asinh_test): Likewise.
18424 (atan_test): Likewise.
18425 (atanh_test): Likewise.
18426 (atan2_test): Likewise.
18427 (cabs_test): Likewise.
18428 (cacos_test): Use END_COMPLEX macro without arguments.
18429 (cacosh_test): Likewise.
18430 (carg_test): Use END macro without arguments.
18431 (casin_test): Use END_COMPLEX macro without arguments.
18432 (casinh_test): Likewise.
18433 (catan_test): Likewise.
18434 (catanh_test): Likewise.
18435 (cbrt_test): Use END macro without arguments.
18436 (ccos_test): Use END_COMPLEX macro without arguments.
18437 (ccosh_test): Likewise.
18438 (ceil_test): Use END macro without arguments.
18439 (cexp_test): Use END_COMPLEX macro without arguments.
18440 (cimag_test): Use END macro without arguments.
18441 (clog_test): Use END_COMPLEX macro without arguments.
18442 (clog10_test): Likewise.
18443 (conj_test): Likewise.
18444 (copysign_test): Use END macro without arguments.
18445 (cos_test): Likewise.
18446 (cos_test_tonearest): Likewise.
18447 (cos_test_towardzero): Likewise.
18448 (cos_test_downward): Likewise.
18449 (cos_test_upward): Likewise.
18450 (cosh_test): Likewise.
18451 (cosh_test_tonearest): Likewise.
18452 (cosh_test_towardzero): Likewise.
18453 (cosh_test_downward): Likewise.
18454 (cosh_test_upward): Likewise.
18455 (cpow_test): Use END_COMPLEX macro without arguments.
18456 (cproj_test): Likewise.
18457 (creal_test): Use END macro without arguments.
18458 (csin_test): Use END_COMPLEX macro without arguments.
18459 (csinh_test): Likewise.
18460 (csqrt_test): Likewise.
18461 (ctan_test): Likewise.
18462 (ctan_test_tonearest): Likewise.
18463 (ctan_test_towardzero): Likewise.
18464 (ctan_test_downward): Likewise.
18465 (ctan_test_upward): Likewise.
18466 (ctanh_test): Likewise.
18467 (ctanh_test_tonearest): Likewise.
18468 (ctanh_test_towardzero): Likewise.
18469 (ctanh_test_downward): Likewise.
18470 (ctanh_test_upward): Likewise.
18471 (erf_test): Use END macro without arguments.
18472 (erfc_test): Likewise.
18473 (exp_test): Likewise.
18474 (exp_test_tonearest): Likewise.
18475 (exp_test_towardzero): Likewise.
18476 (exp_test_downward): Likewise.
18477 (exp_test_upward): Likewise.
18478 (exp10_test): Likewise.
18479 (exp2_test): Likewise.
18480 (expm1_test): Likewise.
18481 (fabs_test): Likewise.
18482 (fdim_test): Likewise.
18483 (finite_test): Likewise.
18484 (floor_test): Likewise.
18485 (fma_test): Likewise.
18486 (fma_test_towardzero): Likewise.
18487 (fma_test_downward): Likewise.
18488 (fma_test_upward): Likewise.
18489 (fmax_test): Likewise.
18490 (fmin_test): Likewise.
18491 (fmod_test): Likewise.
18492 (fpclassify_test): Likewise.
18493 (frexp_test): Likewise.
18494 (gamma_test): Likewise.
18495 (hypot_test): Likewise.
18496 (ilogb_test): Likewise.
18497 (isfinite_test): Likewise.
18498 (isgreater_test): Likewise.
18499 (isgreaterequal_test): Likewise.
18500 (isinf_test): Likewise.
18501 (isless_test): Likewise.
18502 (islessequal_test): Likewise.
18503 (islessgreater_test): Likewise.
18504 (isnan_test): Likewise.
18505 (isnormal_test): Likewise.
18506 (issignaling_test): Likewise.
18507 (isunordered_test): Likewise.
18508 (j0_test): Likewise.
18509 (j1_test): Likewise.
18510 (jn_test): Likewise.
18511 (ldexp_test): Likewise.
18512 (lgamma_test): Likewise.
18513 (lrint_test): Likewise.
18514 (lrint_test_tonearest): Likewise.
18515 (lrint_test_towardzero): Likewise.
18516 (lrint_test_downward): Likewise.
18517 (lrint_test_upward): Likewise.
18518 (llrint_test): Likewise.
18519 (llrint_test_tonearest): Likewise.
18520 (llrint_test_towardzero): Likewise.
18521 (llrint_test_downward): Likewise.
18522 (llrint_test_upward): Likewise.
18523 (log_test): Likewise.
18524 (log10_test): Likewise.
18525 (log1p_test): Likewise.
18526 (log2_test): Likewise.
18527 (logb_test): Likewise.
18528 (logb_test_downward): Likewise.
18529 (lround_test): Likewise.
18530 (llround_test): Likewise.
18531 (modf_test): Likewise.
18532 (nearbyint_test): Likewise.
18533 (nextafter_test): Likewise.
18534 (nexttoward_test): Likewise.
18535 (pow_test): Likewise.
18536 (pow_test_tonearest): Likewise.
18537 (pow_test_towardzero): Likewise.
18538 (pow_test_downward): Likewise.
18539 (pow_test_upward): Likewise.
18540 (remainder_test): Likewise.
18541 (remainder_test_tonearest): Likewise.
18542 (remainder_test_towardzero): Likewise.
18543 (remainder_test_downward): Likewise.
18544 (remainder_test_upward): Likewise.
18545 (remquo_test): Likewise.
18546 (rint_test): Likewise.
18547 (rint_test_tonearest): Likewise.
18548 (rint_test_towardzero): Likewise.
18549 (rint_test_downward): Likewise.
18550 (rint_test_upward): Likewise.
18551 (round_test): Likewise.
18552 (scalb_test): Likewise.
18553 (scalbn_test): Likewise.
18554 (scalbln_test): Likewise.
18555 (signbit_test): Likewise.
18556 (sin_test): Likewise.
18557 (sin_test_tonearest): Likewise.
18558 (sin_test_towardzero): Likewise.
18559 (sin_test_downward): Likewise.
18560 (sin_test_upward): Likewise.
18561 (sincos_test): Likewise.
18562 (sinh_test): Likewise.
18563 (sinh_test_tonearest): Likewise.
18564 (sinh_test_towardzero): Likewise.
18565 (sinh_test_downward): Likewise.
18566 (sinh_test_upward): Likewise.
18567 (sqrt_test): Likewise.
18568 (tan_test): Likewise.
18569 (tan_test_tonearest): Likewise.
18570 (tan_test_towardzero): Likewise.
18571 (tan_test_downward): Likewise.
18572 (tan_test_upward): Likewise.
18573 (tanh_test): Likewise.
18574 (tgamma_test): Likewise.
18575 (trunc_test): Likewise.
18576 (y0_test): Likewise.
18577 (y1_test): Likewise.
18578 (yn_test): Likewise.
18579 (significand_test): Likewise.
18581 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18584 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18586 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18589 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18590 __ppc_mdoio and __ppc_mdoom.
18591 * manual/platform.texi: Document new functions __ppc_yield,
18592 __ppc_mdoio and __ppc_mdoom.
18594 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18596 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18597 (main): Mention "tls" pseudo-hwcap is legacy.
18598 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18600 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18602 * math/gen-libm-test.pl (parse_args): Output only string of
18603 arguments as text for test name, not full call or descriptions of
18604 tests for extra outputs.
18605 (generate_testfile): Do not pass function name to parse_args.
18606 Generate this_func variable from START.
18607 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18609 (struct test_ff_f_data): Likewise.
18610 (test_ff_f_data_nexttoward): Likewise.
18611 (struct test_fi_f_data): Likewise.
18612 (struct test_fl_f_data): Likewise.
18613 (struct test_if_f_data): Likewise.
18614 (struct test_fff_f_data): Likewise.
18615 (struct test_c_f_data): Likewise.
18616 (struct test_f_f1_data): Likewise. Remove field extra_name.
18617 (struct test_fF_f1_data): Likewise.
18618 (struct test_ffI_f1_data): Likewise.
18619 (struct test_c_c_data): Rename test_name field to arg_str.
18620 (struct test_cc_c_data): Likewise.
18621 (struct test_f_i_data): Likewise.
18622 (struct test_ff_i_data): Likewise.
18623 (struct test_f_l_data): Likewise.
18624 (struct test_f_L_data): Likewise.
18625 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18627 (COMMON_TEST_SETUP): New macro.
18628 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18629 (COMMON_TEST_CLEANUP): Likewise.
18630 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18631 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18633 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18634 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18636 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18637 (RUN_TEST_fff_f): Take argument string. Call new setup and
18639 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18640 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18642 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18643 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18645 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18646 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18648 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18649 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18651 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18652 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18654 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18655 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18657 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18658 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18660 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18661 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18663 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18664 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18666 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18667 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18669 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18670 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18672 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18673 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18675 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18676 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18678 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18679 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18681 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18682 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18684 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18686 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18688 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18689 to _sifields.sigfault.
18690 (si_addr_lsb): Define new macro.
18691 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18692 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18693 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18695 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18698 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18700 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18702 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18703 loading the domain.
18705 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18707 * math/gen-libm-test.pl (parse_args): Do not include expected
18708 result in test name.
18709 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18710 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18711 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18712 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18713 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18716 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18718 * benchtests/Makefile: Sort function entries.
18720 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18721 tanh, asinh, acosh, atanh.
18722 * benchtests/acos-inputs: New file.
18723 * benchtests/acosh-inputs: New file.
18724 * benchtests/asin-inputs: New file.
18725 * benchtests/asinh-inputs: New file.
18726 * benchtests/atanh-inputs: New file.
18727 * benchtests/cosh-inputs: New file.
18728 * benchtests/log-inputs: New file.
18729 * benchtests/sinh-inputs: New file.
18730 * benchtests/tanh-inputs: New file.
18732 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18735 * posix/tst-getaddrinfo4.c: New test.
18736 * posix/Makefile (tests): Add it.
18738 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18741 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18742 when no services were used.
18743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18744 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18746 2013-05-21 Andreas Schwab <schwab@suse.de>
18749 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18750 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18752 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18753 redundant variable declarations and reallocation of buffer when
18754 parsing as IPv6 address. Always set NSS status when called from
18755 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18756 buffer too small. Correct computation of needed size.
18757 * nss/Makefile (tests): Add test-digits-dots.
18758 * nss/test-digits-dots.c: New test.
18760 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18762 * benchtests/Makefile: Remove instructions for adding
18764 * benchtests/README: New file to explain how to execute and
18765 enhance the benchmark tests.
18767 2013-05-21 Andreas Schwab <schwab@suse.de>
18770 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18771 * setjmp/tst-sigsetjmp.c: New test.
18773 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18775 * sysdeps/x86_64/memset.S (memset): New implementation.
18776 (__bzero): Likewise.
18777 (__memset_tail): New function.
18779 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18781 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18782 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18783 __memcpy_sse2_unaligned ifunc selection.
18784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18785 Add memcpy-sse2-unaligned.S.
18786 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18787 Add: __memcpy_sse2_unaligned.
18789 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18792 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18793 math_force_eval before restoring floating-point envrionment.
18794 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18797 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18799 (__nearbyintl): Use math_force_eval before restoring
18800 floating-point environment.
18801 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18803 * math/gen-libm-test.pl (special_functions): Remove.
18804 (parse_args): Don't handle TEST_extra. Handle functions with no
18806 * math/libm-test.inc (struct test_sincos_data): Replace with
18807 struct test_fFF_11_data.
18808 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18809 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18810 (sincos_test_data): Change element type to struct
18811 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18812 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18813 RUN_TEST_LOOP_sincos.
18814 * math/README.libm-test: Don't mention special handling of
18815 individual functions.
18816 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18817 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18818 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18819 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18820 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18823 * math/gen-libm-test.pl (get_variable): Remove function.
18824 (parse_args): Don't show pointer parameters to call in test
18825 names. Use "extra output N" in test names for extra outputs
18826 rather than naming variables.
18828 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18831 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18832 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18833 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18835 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18837 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18840 * math/gen-libm-test.pl (@tests): Remove variable.
18841 ($count): Likewise.
18842 (new_test): Remove function.
18843 (show_exceptions): New function.
18844 (special_functions): Use show_exceptions instead of new_test.
18845 (parse_args): Likewise.
18846 (generate_testfile): Pass only function name in generated call to
18847 print_max_error or print_complex_max_error.
18848 (get_ulps): Do not handle complex tests specially.
18849 (output_test): Rename to ...
18850 (get_all_ulps_for_test): ... this. Return a string rather than
18851 printing to a file. Require ulps to be present.
18852 (output_ulps): Generate arrays rather than #defines.
18853 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18854 (struct ulp_data): New type.
18855 (BUILD_COMPLEX_ULP): Remove macro.
18856 (compare_ulp_data): New function.
18857 (find_ulps): Likewise.
18858 (find_test_ulps): Likewise.
18859 (find_function_ulps): Likewise.
18860 (find_complex_function_ulps): Likewise.
18861 (print_max_error): Determine allowed ulps using
18862 find_function_ulps.
18863 (print_complex_max_error): Determine allowed ulps using
18864 find_complex_function_ulps.
18865 (check_float_internal): Determine max ulps using find_test_ulps.
18866 (check_float): Do not take max_ulp parameter. Update call to
18867 check_float_internal.
18868 (check_complex): Likewise.
18869 (check_int): Do not take max_ulp parameter.
18870 (check_long): Likewise.
18871 (check_bool): Likewise.
18872 (check_longlong): Likewise.
18873 (struct test_f_f_data): Remove max_ulp field.
18874 (struct test_ff_f_data): Likewise.
18875 (struct test_ff_f_data_nexttoward): Likewise.
18876 (struct test_fi_f_data): Likewise.
18877 (struct test_fl_f_data): Likewise.
18878 (struct test_if_f_data): Likewise.
18879 (struct test_fff_f_data): Likewise.
18880 (struct test_c_f_data): Likewise.
18881 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18882 (struct test_fF_f1_data): Likewise.
18883 (struct test_ffI_f1_data): Likewise.
18884 (struct test_c_c_data): Remove max_ulp field.
18885 (struct test_cc_c_data): Likewise.
18886 (struct test_f_i_data): Likewise.
18887 (struct test_ff_i_data): Likewise.
18888 (struct test_f_l_data): Likewise.
18889 (struct test_f_L_data): Likewise.
18890 (struct test_sincos_data): Likewise.
18891 (RUN_TEST_f_f): Do not handle ulps.
18892 (RUN_TEST_LOOP_f_f): Likewise.
18893 (RUN_TEST_2_f): Likewise.
18894 (RUN_TEST_LOOP_2_f): Likewise.
18895 (RUN_TEST_fff_f): Likewise.
18896 (RUN_TEST_LOOP_fff_f): Likewise.
18897 (RUN_TEST_c_f): Likewise.
18898 (RUN_TEST_LOOP_c_f): Likewise.
18899 (RUN_TEST_f_f1): Likewise.
18900 (RUN_TEST_LOOP_f_f1): Likewise.
18901 (RUN_TEST_fF_f1): Likewise.
18902 (RUN_TEST_LOOP_fF_f1): Likewise.
18903 (RUN_TEST_fI_f1): Likewise.
18904 (RUN_TEST_LOOP_fI_f1): Likewise.
18905 (RUN_TEST_ffI_f1): Likewise.
18906 (RUN_TEST_LOOP_ffI_f1): Likewise.
18907 (RUN_TEST_c_c): Likewise.
18908 (RUN_TEST_LOOP_c_c): Likewise.
18909 (RUN_TEST_cc_c): Likewise.
18910 (RUN_TEST_LOOP_cc_c): Likewise.
18911 (RUN_TEST_f_i): Likewise.
18912 (RUN_TEST_LOOP_f_i): Likewise.
18913 (RUN_TEST_f_i_tg): Likewise.
18914 (RUN_TEST_LOOP_f_i_tg): Likewise.
18915 (RUN_TEST_ff_i_tg): Likewise.
18916 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18917 (RUN_TEST_f_b): Likewise.
18918 (RUN_TEST_LOOP_f_b): Likewise.
18919 (RUN_TEST_f_b_tg): Likewise.
18920 (RUN_TEST_LOOP_f_b_tg): Likewise.
18921 (RUN_TEST_f_l): Likewise.
18922 (RUN_TEST_LOOP_f_l): Likewise.
18923 (RUN_TEST_f_L): Likewise.
18924 (RUN_TEST_LOOP_f_L): Likewise.
18925 (RUN_TEST_sincos): Likewise.
18926 (RUN_TEST_LOOP_sincos): Likewise.
18928 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18932 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18933 main case of finite arguments, set rounding mode to FE_TONEAREST
18934 and discard exceptions.
18935 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18937 (remainder_tonearest_test_data): New variable.
18938 (remainder_test_tonearest): New function.
18939 (remainder_towardzero_test_data): New variable.
18940 (remainder_test_towardzero): New function.
18941 (remainder_downward_test_data): New variable.
18942 (remainder_test_downward): New function.
18943 (remainder_upward_test_data): New variable.
18944 (remainder_test_upward): New function.
18945 (main): Call the new test functions.
18947 * math/libm-test.inc (struct test_f_f1_data): Remove field
18949 (struct test_fF_f1_data): Likewise.
18950 (struct test_ffI_f1_data): Likewise.
18951 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18952 based on value of EXTRA_EXPECTED.
18953 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18954 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18955 EXTRA_VAR based on value of EXTRA_EXPECTED.
18956 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18957 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18958 EXTRA_VAR based on value of EXTRA_EXPECTED.
18959 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18960 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18961 EXTRA_VAR based on value of EXTRA_EXPECTED.
18962 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18963 * math/gen-libm-test.pl (parse_args): Don't output initializers
18964 for extra output values.
18966 * math/libm-test.inc (check_int): Expect result to be exactly
18967 equal to expected value and do not handle ulps.
18968 (check_long): Likewise.
18969 (check_longlong): Likewise.
18971 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18973 (cimag_test_data): Likewise.
18974 (conj_test_data): Likewise.
18975 (copysign_test_data): Likewise.
18976 (cproj_test_data): Likewise.
18977 (creal_test_data): Likewise.
18978 (fabs_test_data): Likewise.
18979 (fdim_test_data): Likewise.
18980 (finite_test_data): Likewise.
18981 (floor_test_data): Likewise.
18982 (fmax_test_data): Likewise.
18983 (fmin_test_data): Likewise.
18984 (fmod_test_data): Likewise.
18985 (fpclassify_test_data): Likewise.
18986 (frexp_test_data): Likewise.
18987 (ilogb_test_data): Likewise.
18988 (isfinite_test_data): Likewise.
18989 (isgreater_test_data): Likewise.
18990 (isgreaterequal_test_data): Likewise.
18991 (isinf_test_data): Likewise.
18992 (isless_test_data): Likewise.
18993 (islessequal_test_data): Likewise.
18994 (islessgreater_test_data): Likewise.
18995 (isnan_test_data): Likewise.
18996 (isnormal_test_data): Likewise.
18997 (issignaling_test_data): Likewise.
18998 (isunordered_test_data): Likewise.
18999 (ldexp_test_data): Likewise.
19000 (lrint_test_data): Likewise.
19001 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19002 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19003 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19004 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19005 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19006 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19008 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19009 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19010 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19011 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19013 (lrint_downward_test_data): Test for "inexact" exceptions.
19014 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19015 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19016 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19018 (lrint_upward_test_data): Test for "inexact" exceptions.
19019 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19021 (llrint_test_data): Test for "inexact" exceptions.
19022 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19023 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19024 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19025 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19026 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19027 (llrint_downward_test_data): Test for "inexact" exceptions.
19028 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19029 (llrint_upward_test_data): Test for "inexact" exceptions.
19030 (logb_test_data): Likewise.
19031 (logb_downward_test_data): Likewise.
19032 (nextafter_test_data): Likewise.
19033 (nexttoward_test_data): Likewise.
19034 (remainder_test_data): Likewise.
19035 (remquo_test_data): Likewise.
19036 (scalbn_test_data): Likewise.
19037 (scalbln_test_data): Likewise.
19038 (signbit_test_data): Likewise.
19039 (sqrt_test_data): Likewise.
19040 (significand_test_data): Likewise.
19042 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19045 * benchtests/bench-modf.c (struct args): Mark arg0 as
19047 * scripts/bench.pl: Mark members of struct args as volatile.
19049 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19052 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19053 negative infinity on POWER6 or lower.
19054 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19056 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19059 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19060 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19061 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19062 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19063 (_FP_SETQNAN): New macro.
19064 (_FP_SETQNAN_SEMIRAW): Likewise.
19065 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19066 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19067 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19068 (FP_EXTEND): Use _FP_FRAC_SNANP.
19069 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19070 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19072 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19074 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19077 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19079 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19080 with DIVIDE_BY_ZERO_EXCEPTION.
19081 (gamma_test_data): Likewise.
19082 (lgamma_test_data): Likewise.
19083 (log_test_data): Likewise.
19084 (log10_test_data): Likewise.
19085 (log2_test_data): Likewise.
19086 (tgamma_test_data): Likewise.
19088 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19089 (acos_test_tonearest): Likewise.
19090 (acos_test_towardzero): Likewise.
19091 (acos_test_downward): Likewise.
19092 (acos_test_upward): Likewise.
19093 (acosh_test): Likewise.
19094 (asin_test): Likewise.
19095 (asin_test_tonearest): Likewise.
19096 (asin_test_towardzero): Likewise.
19097 (asin_test_downward): Likewise.
19098 (asin_test_upward): Likewise.
19099 (asinh_test): Likewise.
19100 (atan_test): Likewise.
19101 (atanh_test): Likewise.
19102 (atan2_test): Likewise.
19103 (cabs_test): Likewise.
19104 (cacos_test): Likewise.
19105 (cacosh_test): Likewise.
19106 (casin_test): Likewise.
19107 (casinh_test): Likewise.
19108 (catan_test): Likewise.
19109 (catanh_test): Likewise.
19110 (cbrt_test): Likewise.
19111 (ccos_test): Likewise.
19112 (ccosh_test): Likewise.
19113 (cexp_test): Likewise.
19114 (clog_test): Likewise.
19115 (clog10_test): Likewise.
19116 (cos_test): Likewise.
19117 (cos_test_tonearest): Likewise.
19118 (cos_test_towardzero): Likewise.
19119 (cos_test_downward): Likewise.
19120 (cos_test_upward): Likewise.
19121 (cosh_test): Likewise.
19122 (cosh_test_tonearest): Likewise.
19123 (cosh_test_towardzero): Likewise.
19124 (cosh_test_downward): Likewise.
19125 (cosh_test_upward): Likewise.
19126 (cpow_test): Likewise.
19127 (csin_test): Likewise.
19128 (csinh_test): Likewise.
19129 (csqrt_test): Likewise.
19130 (ctan_test): Likewise.
19131 (ctan_test_tonearest): Likewise.
19132 (ctan_test_towardzero): Likewise.
19133 (ctan_test_downward): Likewise.
19134 (ctan_test_upward): Likewise.
19135 (ctanh_test): Likewise.
19136 (ctanh_test_tonearest): Likewise.
19137 (ctanh_test_towardzero): Likewise.
19138 (ctanh_test_downward): Likewise.
19139 (ctanh_test_upward): Likewise.
19140 (erf_test): Likewise.
19141 (erfc_test): Likewise.
19142 (exp_test): Likewise.
19143 (exp_test_tonearest): Likewise.
19144 (exp_test_towardzero): Likewise.
19145 (exp_test_downward): Likewise.
19146 (exp_test_upward): Likewise.
19147 (exp10_test): Likewise.
19148 (exp2_test): Likewise.
19149 (expm1_test): Likewise.
19150 (fmod_test): Likewise.
19151 (gamma_test): Likewise.
19152 (hypot_test): Likewise.
19153 (j0_test): Likewise.
19154 (j1_test): Likewise.
19155 (jn_test): Likewise.
19156 (lgamma_test): Likewise.
19157 (log_test): Likewise.
19158 (log10_test): Likewise.
19159 (log1p_test): Likewise.
19160 (log2_test): Likewise.
19161 (logb_test_downward): Likewise.
19162 (pow_test): Likewise.
19163 (pow_test_tonearest): Likewise.
19164 (pow_test_towardzero): Likewise.
19165 (pow_test_downward): Likewise.
19166 (pow_test_upward): Likewise.
19167 (remainder_test): Likewise.
19168 (remquo_test): Likewise.
19169 (sin_test): Likewise.
19170 (sin_test_tonearest): Likewise.
19171 (sin_test_towardzero): Likewise.
19172 (sin_test_downward): Likewise.
19173 (sin_test_upward): Likewise.
19174 (sincos_test): Likewise.
19175 (sinh_test): Likewise.
19176 (sinh_test_tonearest): Likewise.
19177 (sinh_test_towardzero): Likewise.
19178 (sinh_test_downward): Likewise.
19179 (sinh_test_upward): Likewise.
19180 (sqrt_test): Likewise.
19181 (tan_test): Likewise.
19182 (tan_test_tonearest): Likewise.
19183 (tan_test_towardzero): Likewise.
19184 (tan_test_downward): Likewise.
19185 (tan_test_upward): Likewise.
19186 (tanh_test): Likewise.
19187 (tgamma_test): Likewise.
19188 (y0_test): Likewise.
19189 (y1_test): Likewise.
19190 (yn_test): Likewise.
19192 * math/gen-libm-test.pl (adjust_arg): Remove function.
19193 (special_function): Remove argument $in_func. Only handle
19194 generating output for tables of tests, not inside functions.
19195 (parse_args): Likewise.
19196 (generate_testfile): Remove variable $in_func. Update call to
19198 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19199 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19200 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19201 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19202 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19203 (MAX_VALUE_INIT): Rename macro to max_value.
19204 (MIN_VALUE_INIT): Rename macro to min_value.
19205 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19206 (plus_zero): Remove variable.
19207 (minus_zero): Likewise.
19208 (plus_infty): Likewise.
19209 (minus_infty): Likewise.
19210 (qnan_value): Likewise.
19211 (max_value): Likewise.
19212 (min_value): Likewise.
19213 (min_subnorm_value): Likewise.
19215 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19217 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19218 uint64_t or uint32_t usage.
19219 * crypt/sha256-block.c: Likewise.
19220 * crypt/sha256-crypt.c: Likewise.
19221 * crypt/sha256.c: Likewise.
19222 * crypt/sha512-block.c: Likewise.
19223 * crypt/sha512-crypt.c: Likewise.
19224 * crypt/sha512.c: Likewise.
19225 * debug/backtrace-tst.c: Likewise.
19226 * debug/pcprofiledump.c: Likewise.
19227 * elf/cache.c: Likewise.
19228 * elf/dl-cache.c: Likewise.
19229 * elf/dl-misc.c: Likewise.
19230 * elf/dl-profile.c: Likewise.
19231 * elf/dl-support.c: Likewise.
19232 * elf/ldconfig.c: Likewise.
19233 * elf/sprof.c: Likewise.
19234 * iconv/dummy-repertoire.c: Likewise.
19235 * iconv/iconv_charmap.c: Likewise.
19236 * iconv/skeleton.c: Likewise.
19237 * iconvdata/8bit-generic.c: Likewise.
19238 * iconvdata/cp737.h: Likewise.
19239 * iconvdata/cp775.h: Likewise.
19240 * iconvdata/ibm1008.h: Likewise.
19241 * iconvdata/ibm1025.h: Likewise.
19242 * iconvdata/ibm1046.h: Likewise.
19243 * iconvdata/ibm1097.h: Likewise.
19244 * iconvdata/ibm1112.h: Likewise.
19245 * iconvdata/ibm1122.h: Likewise.
19246 * iconvdata/ibm1123.h: Likewise.
19247 * iconvdata/ibm1124.h: Likewise.
19248 * iconvdata/ibm1129.h: Likewise.
19249 * iconvdata/ibm1130.h: Likewise.
19250 * iconvdata/ibm1132.h: Likewise.
19251 * iconvdata/ibm1133.h: Likewise.
19252 * iconvdata/ibm1137.h: Likewise.
19253 * iconvdata/ibm1140.h: Likewise.
19254 * iconvdata/ibm1141.h: Likewise.
19255 * iconvdata/ibm1142.h: Likewise.
19256 * iconvdata/ibm1143.h: Likewise.
19257 * iconvdata/ibm1144.h: Likewise.
19258 * iconvdata/ibm1145.h: Likewise.
19259 * iconvdata/ibm1146.h: Likewise.
19260 * iconvdata/ibm1147.h: Likewise.
19261 * iconvdata/ibm1148.h: Likewise.
19262 * iconvdata/ibm1149.h: Likewise.
19263 * iconvdata/ibm1153.h: Likewise.
19264 * iconvdata/ibm1154.h: Likewise.
19265 * iconvdata/ibm1155.h: Likewise.
19266 * iconvdata/ibm1156.h: Likewise.
19267 * iconvdata/ibm1157.h: Likewise.
19268 * iconvdata/ibm1158.h: Likewise.
19269 * iconvdata/ibm1160.h: Likewise.
19270 * iconvdata/ibm1161.h: Likewise.
19271 * iconvdata/ibm1162.h: Likewise.
19272 * iconvdata/ibm1163.h: Likewise.
19273 * iconvdata/ibm1164.h: Likewise.
19274 * iconvdata/ibm1166.h: Likewise.
19275 * iconvdata/ibm1167.h: Likewise.
19276 * iconvdata/ibm12712.h: Likewise.
19277 * iconvdata/ibm1390.h: Likewise.
19278 * iconvdata/ibm1399.h: Likewise.
19279 * iconvdata/ibm16804.h: Likewise.
19280 * iconvdata/ibm4517.h: Likewise.
19281 * iconvdata/ibm4899.h: Likewise.
19282 * iconvdata/ibm4909.h: Likewise.
19283 * iconvdata/ibm4971.h: Likewise.
19284 * iconvdata/ibm5347.h: Likewise.
19285 * iconvdata/ibm803.h: Likewise.
19286 * iconvdata/ibm856.h: Likewise.
19287 * iconvdata/ibm901.h: Likewise.
19288 * iconvdata/ibm902.h: Likewise.
19289 * iconvdata/ibm9030.h: Likewise.
19290 * iconvdata/ibm9066.h: Likewise.
19291 * iconvdata/ibm921.h: Likewise.
19292 * iconvdata/ibm922.h: Likewise.
19293 * iconvdata/ibm9448.h: Likewise.
19294 * iconvdata/isiri-3342.h: Likewise.
19295 * iconvdata/jis0201.h: Likewise.
19296 * include/link.h: Likewise.
19297 * include/netdb.h: Likewise.
19298 * inet/check_native.c: Likewise.
19299 * inet/check_pf.c: Likewise.
19300 * inet/getipv4sourcefilter.c: Likewise.
19301 * inet/getnameinfo.c: Likewise.
19302 * inet/getsourcefilter.c: Likewise.
19303 * inet/htonl.c: Likewise.
19304 * inet/setipv4sourcefilter.c: Likewise.
19305 * inet/setsourcefilter.c: Likewise.
19306 * inet/test-inet6_opt.c: Likewise.
19307 * inet/tst-network.c: Likewise.
19308 * locale/C-collate.c: Likewise.
19309 * locale/C-ctype.c: Likewise.
19310 * locale/C-time.c: Likewise.
19311 * locale/C-translit.h: Likewise.
19312 * locale/loadarchive.c: Likewise.
19313 * locale/programs/3level.h: Likewise.
19314 * locale/programs/charmap.c: Likewise.
19315 * locale/programs/charmap.h: Likewise.
19316 * locale/programs/ld-address.c: Likewise.
19317 * locale/programs/ld-collate.c: Likewise.
19318 * locale/programs/ld-ctype.c: Likewise.
19319 * locale/programs/ld-identification.c: Likewise.
19320 * locale/programs/ld-measurement.c: Likewise.
19321 * locale/programs/ld-messages.c: Likewise.
19322 * locale/programs/ld-monetary.c: Likewise.
19323 * locale/programs/ld-name.c: Likewise.
19324 * locale/programs/ld-numeric.c: Likewise.
19325 * locale/programs/ld-paper.c: Likewise.
19326 * locale/programs/ld-telephone.c: Likewise.
19327 * locale/programs/ld-time.c: Likewise.
19328 * locale/programs/linereader.c: Likewise.
19329 * locale/programs/locale.c: Likewise.
19330 * locale/programs/locarchive.c: Likewise.
19331 * locale/programs/locfile.h: Likewise.
19332 * locale/programs/repertoire.c: Likewise.
19333 * locale/programs/simple-hash.c: Likewise.
19334 * locale/programs/simple-hash.h: Likewise.
19335 * malloc/memusage.c: Likewise.
19336 * malloc/memusagestat.c: Likewise.
19337 * nis/nis_defaults.c: Likewise.
19338 * nis/nis_hash.c: Likewise.
19339 * nis/nis_print.c: Likewise.
19340 * nis/nis_xdr.c: Likewise.
19341 * nscd/connections.c: Likewise.
19342 * nscd/hstcache.c: Likewise.
19343 * nscd/nscd_gethst_r.c: Likewise.
19344 * nscd/nscd_getserv_r.c: Likewise.
19345 * nscd/nscd_helper.c: Likewise.
19346 * nscd/servicescache.c: Likewise.
19347 * nss/makedb.c: Likewise.
19348 * nss/nss_db/db-XXX.c: Likewise.
19349 * nss/nss_db/db-initgroups.c: Likewise.
19350 * nss/nss_db/db-netgrp.c: Likewise.
19351 * nss/nss_files/files-network.c: Likewise.
19352 * nss/nss_files/files-parse.c: Likewise.
19353 * posix/bug-regex5.c: Likewise.
19354 * posix/fnmatch_loop.c: Likewise.
19355 * posix/regcomp.c: Likewise.
19356 * posix/regexec.c: Likewise.
19357 * posix/tst-rfc3484-2.c: Likewise.
19358 * posix/tst-rfc3484-3.c: Likewise.
19359 * posix/tst-rfc3484.c: Likewise.
19360 * resolv/nss_dns/dns-canon.c: Likewise.
19361 * resolv/nss_dns/dns-network.c: Likewise.
19362 * resolv/res_init.c: Likewise.
19363 * resolv/res_mkquery.c: Likewise.
19364 * resolv/tst-aton.c: Likewise.
19365 * stdlib/cxa_atexit.c: Likewise.
19366 * stdlib/cxa_finalize.c: Likewise.
19367 * stdlib/gen-fpioconst.c: Likewise.
19368 * stdlib/strtol_l.c: Likewise.
19369 * string/tst-endian.c: Likewise.
19370 * sunrpc/auth_des.c: Likewise.
19371 * sunrpc/clnt_udp.c: Likewise.
19372 * sunrpc/rtime.c: Likewise.
19373 * sunrpc/svcauth_des.c: Likewise.
19374 * sunrpc/xdr.c: Likewise.
19375 * sunrpc/xdr_intXX_t.c: Likewise.
19376 * sunrpc/xdr_rec.c: Likewise.
19377 * sysdeps/generic/ldconfig.h: Likewise.
19378 * sysdeps/generic/ldsodefs.h: Likewise.
19379 * sysdeps/generic/memusage.h: Likewise.
19380 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19383 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19389 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19390 * sysdeps/posix/getaddrinfo.c: Likewise.
19391 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19392 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19393 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19394 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19395 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19396 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19397 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19398 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19399 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19400 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19401 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19402 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19403 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19404 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19405 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19406 * sysdeps/x86_64/dl-tls.h: Likewise.
19407 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19408 * time/alt_digit.c: Likewise.
19409 * time/era.c: Likewise.
19410 * wcsmbs/tst-c16c32-1.c: Likewise.
19412 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19414 * math/libm-test.inc (struct test_sincos_data): New type.
19415 (RUN_TEST_LOOP_sincos): New macro.
19416 (sincos_test_data): New variable.
19417 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19419 2013-05-16 Richard Henderson <rth@redhat.com>
19421 * math/atest-exp2.c (LIMB64): New macro.
19422 (CONSTSZ): New macro.
19423 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19425 (print_mpn_fp): ... to function scope.
19426 (read_mpn_hex): Remove.
19427 (get_log2): Remove.
19428 (exp2_mpn): Use mp_log2.
19429 (main): Use mp_exp1.
19431 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19433 * math/libm-test.inc: Remove comment about not testing "inexact"
19435 (INEXACT_EXCEPTION): New macro.
19436 (NO_INEXACT_EXCEPTION): Likewise.
19437 (INVALID_EXCEPTION_OK): Update value.
19438 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19439 (OVERFLOW_EXCEPTION_OK): Likewise.
19440 (UNDERFLOW_EXCEPTION_OK): Likewise.
19441 (IGNORE_ZERO_INF_SIGN): Likewise.
19442 (ERRNO_UNCHANGED): Likewise.
19443 (ERRNO_EDOM): Likewise.
19444 (ERRNO_ERANGE): Likewise.
19445 (test_exceptions): Handle testing "inexact" exceptions.
19446 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19447 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19448 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19449 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19451 (rint_towardzero_test_data): Likewise.
19452 (rint_downward_test_data): Likewise.
19453 (rint_upward_test_data): Likewise.
19455 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19456 with OVERFLOW_EXCEPTION.
19457 (exp10_test_data): Likewise.
19458 (exp2_test_data): Likewise.
19459 (expm1_test_data): Likewise.
19460 (lgamma_test_data): Likewise.
19461 (pow_test_data): Likewise.
19462 (tgamma_test_data): Likewise.
19463 (yn_test_data): Remove duplicate test of overflow.
19465 * math/libm-test.inc (struct test_cc_c_data): New type.
19466 (RUN_TEST_LOOP_cc_c): New macro.
19467 (cpow_test_data): New variable.
19468 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19470 * math/libm-test.inc (struct test_f_L_data): New type.
19471 (RUN_TEST_LOOP_f_L): New macro.
19472 (llrint_test_data): New variable.
19473 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19474 (llrint_tonearest_test_data): New variable.
19475 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19476 (llrint_towardzero_test_data): New variable.
19477 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19478 (llrint_downward_test_data): New variable.
19479 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19480 (llrint_upward_test_data): New variable.
19481 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19482 (llround_test_data): New variable.
19483 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19485 2013-05-13 Peter Collingbourne <pcc@google.com>
19487 * math/atest-exp2.c (get_log2): Remove const attribute.
19489 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19491 * math/libm-test.inc (struct test_f_l_data): New type.
19492 (RUN_TEST_LOOP_f_l): New macro.
19493 (lrint_test_data): New variable.
19494 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19495 (lrint_tonearest_test_data): New variable.
19496 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19497 (lrint_towardzero_test_data): New variable.
19498 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19499 (lrint_downward_test_data): New variable.
19500 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19501 (lrint_upward_test_data): New variable.
19502 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19503 (lround_test_data): New variable.
19504 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19506 2013-05-15 Peter Collingbourne <pcc@google.com>
19508 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19509 (EXTRACT_WORDS64) Use where appropriate.
19510 (INSERT_WORDS64) Likewise.
19512 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19513 constraints with x constraints.
19514 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19516 * malloc/obstack.c (_obstack_compat): Add initializer.
19518 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19520 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19521 si_trapno and add si_addr_lsb to _sifields.sigfault.
19522 (si_trapno): Remove macro.
19523 (si_addr_lsb): Define new macro.
19524 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19526 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19528 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19529 instead of TEST_f_l.
19530 (llrint_test_tonearest): Likewise.
19531 (llrint_test_towardzero): Likewise.
19532 (llrint_test_downward): Likewise.
19533 (llrint_test_upward): Likewise.
19534 (llround_test): Likewise.
19536 * math/libm-test.inc (struct test_f_i_data): Add comment.
19537 (RUN_TEST_LOOP_f_b): New macro.
19538 (RUN_TEST_LOOP_f_b_tg): Likewise.
19539 (finite_test_data): New variable.
19540 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19541 (isfinite_test_data): New variable.
19542 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19543 (isinf_test_data): New variable.
19544 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19545 (isnan_test_data): New variable.
19546 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19547 (isnormal_test_data): New variable.
19548 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19549 (issignaling_test_data): New variable.
19550 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19551 (signbit_test_data): New variable.
19552 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19554 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19555 with INVALID_EXCEPTION.
19556 (acosh_test_data): Likewise.
19557 (asin_test_data): Likewise.
19558 (atanh_test_data): Likewise.
19559 (fmod_test_data): Likewise.
19560 (log_test_data): Likewise.
19561 (log10_test_data): Likewise.
19562 (log2_test_data): Likewise.
19563 (pow_test_data): Likewise.
19564 (sqrt_test_data): Likewise.
19565 (y0_test_data): Likewise.
19566 (y1_test_data): Likewise.
19567 (yn_test_data): Likewise.
19569 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19572 * math/libm-test.inc (struct test_ff_i_data): New type.
19573 (RUN_TEST_LOOP_ff_i_tg): New macro.
19574 (isgreater_test_data): New variable.
19575 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19576 (isgreaterequal_test_data): New variable.
19577 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19578 (isless_test_data): New variable.
19579 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19580 (islessequal_test_data): New variable.
19581 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19582 (islessgreater_test_data): New variable.
19583 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19584 (isunordered_test_data): New variable.
19585 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19587 2013-05-14 David S. Miller <davem@davemloft.net>
19589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19591 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19593 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19595 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19597 (struct test_f_i_data): Change type of max_ulp to int.
19599 * math/libm-test.inc (test_ffI_f1_data): New type.
19600 (RUN_TEST_LOOP_ffI_f1): New macro.
19601 (remquo_test_data): New variable.
19602 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19604 * setjmp/tst-setjmp-fp.c: New file.
19605 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19606 (link-libm): New variable.
19607 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19609 * math/libm-test.inc (struct test_f_i_data): New type.
19610 (RUN_TEST_LOOP_f_i): New macro.
19611 (RUN_TEST_LOOP_f_i_tg): Likewise.
19612 (fpclassify_test_data): New variable.
19613 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19614 (ilogb_test_data): New variable.
19615 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19617 * math/libm-test.inc (scalbln_test): Correct function name in END
19620 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19621 (RUN_TEST_LOOP_fI_f1): New macro.
19622 (frexp_test_data): New variable.
19623 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19625 * math/libm-test.inc (struct test_fF_f1_data): New type.
19626 (RUN_TEST_LOOP_fF_f1): New macro.
19627 (modf_test_data): New variable.
19628 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19630 * math/libm-test.inc (struct test_f_f1_data): New type.
19631 (RUN_TEST_LOOP_f_f1): New macro.
19632 (gamma_test_data): New variable.
19633 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19634 (lgamma_test_data): New variable.
19635 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19637 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19639 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19640 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19641 (main): Comment "tls" pseudo-hwcap.
19643 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19645 * math/libm-test.inc (struct test_fl_f_data): New type.
19646 (RUN_TEST_LOOP_fl_f): New variable.
19647 (scalbln_test_data): New variable.
19648 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19650 * math/libm-test.inc (struct test_fi_f_data): New type.
19651 (RUN_TEST_LOOP_fi_f): New macro.
19652 (ldexp_test_data): New variable.
19653 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19654 (scalbn_test_data): New variable.
19655 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19657 * math/libm-test.inc (struct test_c_f_data): New type.
19658 (RUN_TEST_LOOP_c_f): New macro.
19659 (cabs_test_data): New variable.
19660 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19661 (carg_test_data): New variable.
19662 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19663 (cimag_test_data): New variable.
19664 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19665 (creal_test_data): New variable.
19666 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19668 * math/libm-test.inc (struct test_if_f_data): New type.
19669 (RUN_TEST_LOOP_if_f): New macro.
19670 (jn_test_data): New variable.
19671 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19672 (yn_test_data): New variable.
19673 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19675 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19677 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19679 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19680 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19682 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19684 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19685 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19686 (bench-deps): Add bench-timing.h.
19687 * benchtests-bench-skeleton.c: Include bench-timing.h.
19688 (main): Use TIMING_* macros instead of clock_gettime.
19689 * benchtests/bench-timing.h: New file.
19692 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19693 Renamed from _LIB_VERSION.
19694 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19696 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19698 * math/libm-test.inc (struct test_fff_f_data): New type.
19699 (RUN_TEST_LOOP_fff_f): New macro.
19700 (fma_test_data): New variable.
19701 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19702 (fma_towardzero_test_data): New variable.
19703 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19704 (fma_downward_test_data): New variable.
19705 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19706 (fma_upward_test_data): New variable.
19707 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19709 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19710 (struct test_c_c_data): New type.
19711 (RUN_TEST_LOOP_c_c): New macro.
19712 (cacos_test_data): New variable.
19713 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19714 (cacosh_test_data): New variable.
19715 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19716 (casin_test_data): New variable.
19717 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19718 (casinh_test_data): New variable.
19719 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19720 (catan_test_data): New variable.
19721 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19722 (catanh_test_data): New variable.
19723 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19724 (ccos_test_data): New variable.
19725 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19726 (ccosh_test_data): New variable.
19727 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19728 (cexp_test_data): New variable.
19729 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19730 (clog_test_data): New variable.
19731 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19732 (clog10_test_data): New variable.
19733 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19734 (conj_test_data): New variable.
19735 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19736 (cproj_test_data): New variable.
19737 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19738 (csin_test_data): New variable.
19739 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19740 (csinh_test_data): New variable.
19741 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19742 (csqrt_test_data): New variable.
19743 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19744 (ctan_test_data): New variable.
19745 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19746 (ctan_tonearest_test_data): New variable.
19747 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19748 (ctan_towardzero_test_data): New variable.
19749 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19750 (ctan_downward_test_data): New variable.
19751 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19752 (ctan_upward_test_data): New variable.
19753 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19754 (ctanh_test_data): New variable.
19755 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19756 (ctanh_tonearest_test_data): New variable.
19757 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19758 (ctanh_towardzero_test_data): New variable.
19759 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19760 (ctanh_downward_test_data): New variable.
19761 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19762 (ctanh_upward_test_data): New variable.
19763 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19764 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19767 * math/libm-test.inc (struct test_ff_f_data): New type.
19768 (struct test_ff_f_data_nexttoward): Likewise.
19769 (RUN_TEST_LOOP_2_f): New macro.
19770 (RUN_TEST_LOOP_ff_f): Likewise.
19771 (atan2_test_data): New variable.
19772 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19773 (copysign_test_data): New variable.
19774 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19775 (fdim_test_data): New variable.
19776 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19777 (fmax_test_data): New variable.
19778 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19779 (fmin_test_data): New variable.
19780 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19781 (fmod_test_data): New variable.
19782 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19783 (hypot_test_data): New variable.
19784 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19785 (nextafter_test_data): New variable.
19786 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19787 (nexttoward_test_data): New variable.
19788 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19789 (pow_test_data): New variable.
19790 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19791 (pow_tonearest_test_data): New variable.
19792 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19793 (pow_towardzero_test_data): New variable.
19794 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19795 (pow_downward_test_data): New variable.
19796 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19797 (pow_upward_test_data): New variable.
19798 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19799 (remainder_test_data): New variable.
19800 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19801 (scalb_test_data): New variable.
19802 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19803 * sysdeps/i386/fpu/libm-test-ulps: Update.
19805 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19807 * math/libm-test.inc (fma_test): Use max_value instead of local
19809 (nextafter_test): Likewise.
19811 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19812 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19813 (acos_downward_test_data): New variable.
19814 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19815 (acos_upward_test_data): New variable.
19816 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19817 (acosh_test_data): New variable.
19818 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19819 (asin_test_data): New variable.
19820 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19821 (asin_tonearest_test_data): New variable.
19822 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19823 (asin_towardzero_test_data): New variable.
19824 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19825 (asin_downward_test_data): New variable.
19826 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19827 (asin_upward_test_data): New variable.
19828 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19829 (asinh_test_data): New variable.
19830 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19831 (atan_test_data): New variable.
19832 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19833 (atanh_test_data): New variable.
19834 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19835 (cbrt_test_data): New variable.
19836 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19837 (ceil_test_data): New variable.
19838 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19839 (cos_test_data): New variable.
19840 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19841 (cos_tonearest_test_data): New variable.
19842 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19843 (cos_towardzero_test_data): New variable.
19844 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19845 (cos_downward_test_data): New variable.
19846 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19847 (cos_upward_test_data): New variable.
19848 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19849 (cosh_test_data): New variable.
19850 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19851 (cosh_tonearest_test_data): New variable.
19852 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19853 (cosh_towardzero_test_data): New variable.
19854 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19855 (cosh_downward_test_data): New variable.
19856 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19857 (cosh_upward_test_data): New variable.
19858 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19859 (erf_test_data): New variable.
19860 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19861 (erfc_test_data): New variable.
19862 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19863 (exp_test_data): New variable.
19864 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19865 (exp_tonearest_test_data): New variable.
19866 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19867 (exp_towardzero_test_data): New variable.
19868 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19869 (exp_downward_test_data): New variable.
19870 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19871 (exp_upward_test_data): New variable.
19872 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19873 (exp10_test_data): New variable.
19874 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19875 (exp2_test_data): New variable.
19876 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19877 (expm1_test_data): New variable.
19878 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19879 (fabs_test_data): New variable.
19880 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19881 (floor_test_data): New variable.
19882 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19883 (j0_test_data): New variable.
19884 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19885 (j1_test_data): New variable.
19886 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19887 (log_test_data): New variable.
19888 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19889 (log10_test_data): New variable.
19890 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19891 (log1p_test_data): New variable.
19892 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19893 (log2_test_data): New variable.
19894 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19895 (logb_test_data): New variable.
19896 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19897 (logb_downward_test_data): New variable.
19898 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19899 (nearbyint_test_data): New variable.
19900 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19901 (rint_test_data): New variable.
19902 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19903 (rint_tonearest_test_data): New variable.
19904 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19905 (rint_towardzero_test_data): New variable.
19906 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19907 (rint_downward_test_data): New variable.
19908 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19909 (rint_upward_test_data): New variable.
19910 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19911 (round_test_data): New variable.
19912 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19913 (sin_test_data): New variable.
19914 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19915 (sin_tonearest_test_data): New variable.
19916 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19917 (sin_towardzero_test_data): New variable.
19918 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19919 (sin_downward_test_data): New variable.
19920 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19921 (sin_upward_test_data): New variable.
19922 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19923 (sinh_test_data): New variable.
19924 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19925 (sinh_tonearest_test_data): New variable.
19926 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19927 (sinh_towardzero_test_data): New variable.
19928 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19929 (sinh_downward_test_data): New variable.
19930 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19931 (sinh_upward_test_data): New variable.
19932 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19933 (sqrt_test_data): New variable.
19934 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19935 (tan_test_data): New variable.
19936 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19937 (tan_tonearest_test_data): New variable.
19938 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19939 (tan_towardzero_test_data): New variable.
19940 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19941 (tan_downward_test_data): New variable.
19942 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19943 (tan_upward_test_data): New variable.
19944 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19945 (tanh_test_data): New variable.
19946 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19947 (tgamma_test_data): New variable.
19948 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19949 (trunc_test_data): New variable.
19950 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19951 (y0_test_data): New variable.
19952 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19953 (y1_test_data): New variable.
19954 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19955 (significand_test_data): New variable.
19956 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19958 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19961 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19963 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19965 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19967 2013-05-10 Andreas Jaeger <aj@suse.de>
19970 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19971 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19973 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19975 * math/gen-libm-test.pl (adjust_arg): New function.
19976 (special_functions): Handle generating output in both functions
19978 (parse_args): Likewise.
19979 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19980 $in_func argument to parse_args.
19981 * math/libm-test.inc (struct test_f_f_data): New type.
19982 (IF_ROUND_INIT_): New macro.
19983 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19984 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19985 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19986 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19987 (ROUND_RESTORE_): Likewise.
19988 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19989 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19990 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19991 (ROUND_RESTORE_FE_UPWARD): Likewise.
19992 (RUN_TEST_LOOP_f_f): New macro.
19993 (acos_test_data): New variable.
19994 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19995 (acos_tonearest_test_data): New variable.
19996 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19998 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20000 * benchtests/bench-skeleton.c (startup): Fix coding style.
20002 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20005 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20006 negative infinity argument.
20007 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20008 negative infinity argument.
20009 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20010 negative infinity argument.
20011 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20014 2013-05-10 Florian Weimer <fweimer@redhat.com>
20016 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20017 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20018 * iconv/iconv_prog.c (main): Likewise.
20019 * locale/programs/charmap-dir.c (charmap_readdir)
20020 (fopen_uncompressed): Likewise.
20021 * locale/programs/locfile.c (siblings_uncached)
20022 (write_locale_data): Use lstat64 instead of lstat.
20023 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20026 2013-05-10 Andreas Jaeger <aj@suse.de>
20029 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20031 Include <locale.h>.
20033 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20035 * elf/dl-close.c (_dl_close_worker): Add comments.
20037 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20040 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20042 (__ieee754_rem_pio2l): Update comments.
20045 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20047 (__ieee754_rem_pio2l): Update comments.
20049 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20050 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20052 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20055 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20056 (M_PI_34_LOG10El): Likewise.
20057 (M_PI2_LOG10El): Likewise.
20058 (M_PI4_LOG10El): Likewise.
20059 (M_PI_LOG10El): Likewise.
20061 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20065 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20067 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20068 (MINUS_ZERO_INIT): Likewise.
20069 (PLUS_INFTY_INIT): Likewise.
20070 (MINUS_INFTY_INIT): Likewise.
20071 (QNAN_VALUE_INIT): Likewise.
20072 (MAX_VALUE_INIT): Likewise.
20073 (MIN_VALUE_INIT): Likewise.
20074 (MIN_SUBNORM_VALUE_INIT): Likewise.
20075 (plus_zero): Initialize with PLUS_ZERO_INIT.
20076 (minus_zero): Initialize with MINUS_ZERO_INIT.
20077 (plus_infty): Initialize with PLUS_INFTY_INIT.
20078 (minus_infty): Initialize with MINUS_INFTY_INIT.
20079 (qnan_value): Initialize with QNAN_VALUE_INIT.
20080 (max_value): Initialize with MAX_VALUE_INIT.
20081 (min_value): Initialize with MIN_VALUE_INIT.
20082 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20084 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20085 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20086 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20087 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20089 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20090 (RUN_TEST_2_f): Likewise.
20091 (RUN_TEST_ff_f): Likewise.
20092 (RUN_TEST_fi_f): Likewise.
20093 (RUN_TEST_fl_f): Likewise.
20094 (RUN_TEST_fff_f): Likewise.
20095 (RUN_TEST_c_f): Likewise.
20096 (RUN_TEST_f_f1): Likewise.
20097 (RUN_TEST_fF_f1): Likewise.
20098 (RUN_TEST_fI_f1): Likewise.
20099 (RUN_TEST_ffI_f1): Likewise.
20100 (RUN_TEST_c_c): Likewise.
20101 (RUN_TEST_cc_c): Likewise.
20102 (RUN_TEST_f_i): Likewise.
20103 (RUN_TEST_f_i_tg): Likewise.
20104 (RUN_TEST_ff_i_tg): Likewise.
20105 (RUN_TEST_f_b): Likewise.
20106 (RUN_TEST_f_b_tg): Likewise.
20107 (RUN_TEST_f_l): Likewise.
20108 (RUN_TEST_f_L): Likewise.
20109 (RUN_TEST_sincos): Likewise.
20110 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20111 whether to show exceptions. Do not include ");\n" in return
20113 (special_functions): Output call to RUN_TEST_sincos instead of
20114 check_float calls. Update calls to new_test.
20115 (parse_args): Output call to single RUN_TEST_* macro instead of
20116 check_* calls and other assignments. Update calls to new_test.
20122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20123 input to result for tgamma overflow.
20124 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20125 (gamma_coeff): New variable.
20126 (NCOEFF): New macro.
20127 (gamma_positive): New function.
20128 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20129 underflow here. Use gamma_positive instead of exp (lgamma) for
20131 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20132 (gamma_coeff): New variable.
20133 (NCOEFF): New macro.
20134 (gammaf_positive): New function.
20135 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20136 underflow here. Use gamma_positive instead of exp (lgamma) for
20138 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20139 (gamma_coeff): New variable.
20140 (NCOEFF): New macro.
20141 (gammal_positive): New function.
20142 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20143 underflow here. Use gamma_positive instead of exp (lgamma) for
20145 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20146 (gamma_coeff): New variable.
20147 (NCOEFF): New macro.
20148 (gammal_positive): New function.
20149 (__ieee754_gammal_r): Handle positive infinity, overflow and
20150 underflow here. Handle NaN the same as positive infinity. Remove
20151 check x < 0xffffffff for negative integers. Use gamma_positive
20152 instead of exp (lgamma) for other arguments.
20153 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20154 (gamma_coeff): New variable.
20155 (NCOEFF): New macro.
20156 (gammal_positive): New function.
20157 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20158 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20159 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20160 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20161 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20162 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20163 * sysdeps/generic/math_private.h (__gamma_productf): New
20165 (__gamma_product): Likewise.
20166 (__gamma_productl): Likewise.
20167 * math/Makefile (libm-calls): Add gamma_product.
20168 * math/libm-test.inc (tgamma_test): Add more tests.
20169 * sysdeps/i386/fpu/libm-test-ulps: Update.
20170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20172 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20174 * benchtests/bench-skeleton.c (main): Preheat CPU.
20176 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20178 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20180 2013-05-07 Roland McGrath <roland@hack.frob.com>
20182 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20183 and _dl_skip_args_internal.
20185 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20187 * manual/message.texi (Message Translation): Talk about users.
20188 Message to key mapping impacts design.
20190 2013-05-06 Roland McGrath <roland@hack.frob.com>
20192 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20194 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20196 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20197 * sysdeps/wordsize-64/glob64.c: ... here.
20199 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20200 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20203 * debug/getlogin_r_chk.c: Moved to ...
20204 * login/getlogin_r_chk.c: ... here.
20205 * debug/Makefile (routines): Move getlogin_r_chk to ...
20206 * login/Makefile (routines): ... here.
20207 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20208 * login/Versions (libc: GLIBC_2.4): ... here.
20210 * io/poll.c (__poll): Renamed from poll.
20211 Add libc_hidden_def.
20212 (poll): Define as weak alias.
20214 * debug/ptsname_r_chk.c: Moved to ...
20215 * login/ptsname_r_chk.c: ... here.
20216 * debug/Makefile (routines): Move ptsname_r_chk to ...
20217 * login/Makefile (routines): ... here.
20218 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20219 * login/Versions (libc: GLIBC_2.4): ... here.
20221 * posix/getlogin.c: Moved to ...
20222 * login/getlogin.c: ... here.
20223 * posix/getlogin_r.c: Moved to ...
20224 * login/getlogin_r.c: ... here.
20225 * posix/getlogin_r.c: Moved to ...
20226 * login/getlogin_r.c: ... here.
20227 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20228 * login/Makefile (routines): ... here.
20229 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20230 * login/Versions (libc: GLIBC_2.0): ... here.
20232 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20233 (setrlimit): Define as weak alias.
20235 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20236 Call __ names for open, ftruncate, and close.
20237 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20238 (truncate): Define as weak alias.
20240 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20242 * math/gen-libm-test.pl (parse_args): Initialize x before each
20243 test of frexp, modf and remquo.
20245 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20246 test signgam value.
20248 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20252 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20254 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20256 2013-05-06 Roland McGrath <roland@hack.frob.com>
20258 * elf/dl-writev.h: New file.
20259 * elf/dl-misc.c: Include it.
20260 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20261 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20263 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20265 * math/libm-test.inc (noXFails): Remove variable.
20266 (noXPasses): Likewise.
20267 (BUILD_COMPLEX_INT): Remove macro.
20268 (print_screen): Remove xfail argument.
20269 (print_screen_max_error): Likewise.
20270 (update_stats): Likewise.
20271 (print_max_error): Likewise. Update calls to other affected
20273 (print_complex_max_error): Likewise.
20274 (test_single_exception): Update calls to print_screen.
20275 (test_single_errno): Likewise.
20276 (check_float_internal): Remove xfail argument. Update calls to
20277 other affected functions.
20278 (check_float): Likewise.
20279 (check_complex): Likewise.
20280 (check_int): Likewise.
20281 (check_long): Likewise.
20282 (check_bool): Likewise.
20283 (check_longlong): Likewise.
20284 (main): Don't print noXFails and noXPasses.
20285 * math/gen-libm-test.pl (top level): Don't mention expected
20286 failure handling in comment.
20287 (new_test): Don't handle expected failures.
20288 (parse_args): Don't mention expected failure handling in comment.
20289 (generate_testfile): Don't handle expected failures.
20290 (parse_ulps): Likewise.
20291 (print_ulps_file): Likewise.
20292 (get_failure): Remove function.
20293 (output_test): Don't handle expected failures.
20294 * make/README.libm-test: Don't mention expected failure handling.
20296 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20297 (minus_zero): Likewise.
20298 (plus_infty): Likewise.
20299 (minus_infty): Likewise.
20300 (qnan_value): Likewise.
20301 (max_value): Likewise.
20302 (min_value): Likewise.
20303 (min_subnorm_value): Likewise.
20304 (initialize): Do not initialize those variables dynamically.
20306 2013-05-03 Roland McGrath <roland@hack.frob.com>
20308 * io/open.c (__open_2): Moved to ...
20309 * io/open_2.c: ... this new file.
20310 * io/open64.c (__open64_2): Moved to ...
20311 * io/open64_2.c: ... this new file.
20312 * io/openat.c (__openat_2): Moved to ...
20313 * io/openat_2.c: ... this new file.
20314 * io/openat64.c (__openat64_2): Moved to ...
20315 * io/openat64_2.c: ... this new file.
20316 * io/Makefile (routines): Add them.
20317 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20318 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20319 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20320 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20321 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20322 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20323 (__openat64): Add hidden_ver.
20324 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20325 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20327 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20328 Separately conditionalize setting of GLRO(dl_sysinfo) so
20329 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20330 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20332 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20334 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20337 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20338 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20339 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20340 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20341 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20343 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20345 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20346 test signgam value.
20348 * math/libm-test.inc (hypot_test): Do not use
20349 IGNORE_ZERO_INF_SIGN.
20351 2013-05-03 Andreas Jaeger <aj@suse.de>
20353 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20355 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20356 (PF_MAX): Adjust for VSOCK change.
20358 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20362 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20365 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20366 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20367 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20369 2013-05-02 David S. Miller <davem@davemloft.net>
20371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20373 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20375 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20377 2013-05-01 Roland McGrath <roland@hack.frob.com>
20379 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20381 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20384 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20385 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20386 Use __attribute__ ((__gnu_inline__)).
20387 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20388 Don't use __attribute__ ((__gnu_inline__)).
20390 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20393 * math/s_catan.c (__catan): Handle small real or imaginary part of
20394 input specially to avoid spurious underflow.
20395 * math/s_catanf.c (__catanf): Likewise.
20396 * math/s_catanh.c (__catanh): Likewise.
20397 * math/s_catanhf.c (__catanhf): Likewise.
20398 * math/s_catanhl.c (__catanhl): Likewise.
20399 * math/s_catanl.c (__catanl): Likewise.
20400 * math/libm-test.inc (catan_test): Add more tests.
20401 (catanh_test): Likewise.
20402 * sysdeps/i386/fpu/libm-test-ulps: Update.
20403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20405 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20409 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20412 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20413 accurately for denominator in atan2.
20414 * math/s_catanf.c (__catanf): Likewise.
20415 * math/s_catanh.c (__catanh): Likewise.
20416 * math/s_catanhf.c (__catanhf): Likewise.
20417 * math/s_catanhl.c (__catanhl): Likewise.
20418 * math/s_catanl.c (__catanl): Likewise.
20419 * math/libm-test.inc (catan_test): Add more tests.
20420 (catanh_test): Likewise.
20421 * sysdeps/i386/fpu/libm-test-ulps: Update.
20422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20424 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20426 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20428 * benchtests/Makefile (bench): Remove slow benchmarks.
20429 * benchtests/atan-inputs: Add slow benchmark inputs.
20430 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20431 (BENCH_FUNC): Accept variant offset.
20433 * benchtests/bench-skeleton.c (main): Run benchmark for each
20435 * benchtests/cos-inputs: Add slow benchmark inputs.
20436 * benchtests/exp-inputs: Likewise.
20437 * benchtests/pow-inputs: Likewise.
20438 * benchtests/sin-inputs: Likewise.
20439 * benchtests/slowatan-inputs: Remove.
20440 * benchtests/slowatan.c: Remove.
20441 * benchtests/slowcos-inputs: Remove.
20442 * benchtests/slowcos.c: Remove.
20443 * benchtests/slowexp-inputs: Remove.
20444 * benchtests/slowexp.c: Remove.
20445 * benchtests/slowpow-inputs: Remove.
20446 * benchtests/slowpow.c: Remove.
20447 * benchtests/slowsin-inputs: Remove.
20448 * benchtests/slowsin.c: Remove.
20449 * benchtests/slowtan-inputs: Remove.
20450 * benchtests/slowtan.c: Remove.
20451 * benchtests/tan-inputs: Add slow benchmark inputs.
20452 * scripts/bench.pl: Parse comments and directives.
20454 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20456 ($(objpfx)bench-%.c): Remove *-ITER.
20457 * benchtests/bench-modf.c: Remove definition of ITER.
20458 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20459 (main): Loop for DURATION seconds instead of fixed number of
20461 * scripts/bench.pl: Don't expect iterations in parameters.
20463 2013-04-29 Roland McGrath <roland@hack.frob.com>
20465 * io/fchdir.c (__fchdir): Renamed from fchdir.
20466 (fchdir): Define as weak alias.
20468 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20470 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20471 (ERRNO_EDOM): Likewise.
20472 (ERRNO_ERANGE): Likewise.
20473 (noErrnoTests): New variable.
20474 (init_max_error): Set errno to 0.
20475 (test_single_errno): New function.
20476 (test_errno): Likewise.
20477 (check_float_internal): Call test_errno. Set errno to 0.
20478 (check_complex): Refer to errno tests in comment.
20479 (check_int): Call test_errno. Set errno to 0.
20480 (check_long): Likewise.
20481 (check_bool): Likewise.
20482 (check_longlong): Likewise.
20483 (cos_test): Use ERRNO_* flags for errno tests instead of
20485 (expm1_test): Likewise.
20486 (fmod_test): Likewise.
20487 (ilogb_test): Likewise.
20488 (lgamma_test): Likewise.
20489 (pow_test): Likewise.
20490 (remainder_test): Likewise.
20491 (sin_test): Likewise.
20492 (tan_test): Likewise.
20493 (yn_test): Likewise.
20494 (initialize): Set errno to 0.
20495 (main): Print number of errno tests.
20496 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20498 2013-04-29 Andreas Jaeger <aj@suse.de>
20501 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20505 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20506 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20510 * stdlib/random.c (__initstate): Return NULL if
20514 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20515 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20518 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20522 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20524 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20525 of individual tests.
20526 (casin_test): Likewise.
20527 (casinh_test): Likewise.
20529 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20532 * math/s_catan.c (__catan): Handle arguments with large real or
20533 imaginary part separately without squaring.
20534 * math/s_catanf.c (__catanf): Likewise.
20535 * math/s_catanh.c (__catanh): Likewise.
20536 * math/s_catanhf.c (__catanhf): Likewise.
20537 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20539 (__catanhl): Handle arguments with large real or imaginary part
20540 separately without squaring.
20541 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20543 (__catanl): Handle arguments with large real or imaginary part
20544 separately without squaring.
20545 * math/libm-test.inc (catan_test): Add more tests.
20546 (catanh_test): Likewise.
20547 * sysdeps/i386/fpu/libm-test-ulps: Update.
20548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20550 2013-04-27 Andreas Jaeger <aj@suse.de>
20553 * stdlib/stdlib.h: Update guards for qecvt.
20554 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20557 2013-04-27 Allan McRae <allan@archlinux.org>
20559 * sysdeps/i386/fpu/libm-test-ulps: Update.
20561 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20564 * math/s_catan.c: Include <float.h>.
20565 (__catan): Ensure underflow exception occurs for underflowed
20567 * math/s_catanf.c: Include <float.h>.
20568 (__catanf): Ensure underflow exception occurs for underflowed
20570 * math/s_catanh.c: Include <float.h>.
20571 (__catanh): Ensure underflow exception occurs for underflowed
20573 * math/s_catanhf.c: Include <float.h>.
20574 (__catanhf): Ensure underflow exception occurs for underflowed
20576 * math/s_catanhl.c: Include <float.h>.
20577 (__catanhl): Ensure underflow exception occurs for underflowed
20579 * math/s_catanl.c: Include <float.h>.
20580 (__catanl): Ensure underflow exception occurs for underflowed
20582 * math/libm-test.inc (catan_test): Add more tests.
20583 (catanh_test): Likewise.
20586 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20587 underflowed result.
20588 * math/s_ccoshf.c (__ccoshf): Likewise.
20589 * math/s_ccoshl.c (__ccoshl): Likewise.
20590 * math/s_csin.c (__csin): Likewise.
20591 * math/s_csinf.c (__csinf): Likewise.
20592 * math/s_csinh.c (__csinh): Likewise.
20593 * math/s_csinhf.c (__csinhf): Likewise.
20594 * math/s_csinhl.c (__csinhl): Likewise.
20595 * math/s_csinl.c (__csinl): Likewise.
20596 * math/libm-test.inc (ccos_test): Add more tests.
20597 (ccosh_test): Likewise.
20598 (csin_test): Likewise.
20599 (csinh_test): Likewise.
20601 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20603 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20604 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20605 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20606 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20607 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20608 powerpc/power5+/fpu folders.
20609 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20612 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20616 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20618 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20619 additions to variable.
20620 [$(config-machine) = x86_64] (modules-names): Likewise.
20621 ($(objpfx)tst-audit3): Remove dependency.
20622 ($(objpfx)tst-audit3.out): Likewise.
20623 ($(objpfx)tst-audit4): Likewise.
20624 ($(objpfx)tst-audit4.out): Likewise.
20625 ($(objpfx)tst-audit5): Likewise.
20626 ($(objpfx)tst-audit5.out): Likewise.
20627 ($(objpfx)tst-audit6): Likewise.
20628 ($(objpfx)tst-audit6.out): Likewise.
20629 ($(objpfx)tst-audit7): Likewise.
20630 ($(objpfx)tst-audit7.out): Likewise.
20631 (tst-audit3-ENV): Remove variable.
20632 (tst-audit4-ENV): Likewise.
20633 (tst-audit5-ENV): Likewise.
20634 (tst-audit6-ENV): Likewise.
20635 (tst-audit7-ENV): Likewise.
20636 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20637 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20638 addition to variable.
20639 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20640 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20641 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20642 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20644 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20645 tst-audit3, tst-audit4 and tst-audit5.
20646 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20647 tst-audit6 and tst-audit7.
20648 [$(subdir) = elf] (modules-names): Add audit modules for those
20650 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20651 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20652 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20653 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20654 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20655 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20656 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20657 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20658 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20659 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20660 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20661 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20662 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20663 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20664 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20665 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20667 [$(subdir) = elf && $(config-cflags-avx) = yes]
20668 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20669 [$(subdir) = elf && $(config-cflags-avx) = yes]
20670 (CFLAGS-tst-auditmod4a.c): Likewise.
20671 [$(subdir) = elf && $(config-cflags-avx) = yes]
20672 (CFLAGS-tst-auditmod4b.c): Likewise.
20673 [$(subdir) = elf && $(config-cflags-avx) = yes]
20674 (CFLAGS-tst-auditmod6b.c): Likewise.
20675 [$(subdir) = elf && $(config-cflags-avx) = yes]
20676 (CFLAGS-tst-auditmod6c.c): Likewise.
20677 [$(subdir) = elf && $(config-cflags-avx) = yes]
20678 (CFLAGS-tst-auditmod7b.c): Likewise.
20679 * elf/tst-audit3.c: Move to ...
20680 * sysdeps/x86_64/tst-audit3.c: ... here.
20681 * elf/tst-audit4.c: Move to ...
20682 * sysdeps/x86_64/tst-audit4.c: ... here.
20683 * elf/tst-audit5.c: Move to ...
20684 * sysdeps/x86_64/tst-audit5.c: ... here.
20685 * elf/tst-audit6.c: Move to ...
20686 * sysdeps/x86_64/tst-audit6.c: ... here.
20687 * elf/tst-audit7.c: Move to ...
20688 * sysdeps/x86_64/tst-audit7.c: ... here.
20689 * elf/tst-auditmod3a.c: Move to ...
20690 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20691 * elf/tst-auditmod3b.c: Move to ...
20692 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20693 * elf/tst-auditmod4a.c: Move to ...
20694 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20695 * elf/tst-auditmod4b.c: Move to ...
20696 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20697 * elf/tst-auditmod5a.c: Move to ...
20698 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20699 * elf/tst-auditmod5b.c: Move to ...
20700 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20701 * elf/tst-auditmod6a.c: Move to ...
20702 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20703 * elf/tst-auditmod6b.c: Move to ...
20704 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20705 * elf/tst-auditmod6c.c: Move to ...
20706 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20707 * elf/tst-auditmod7a.c: Move to ...
20708 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20709 * elf/tst-auditmod7b.c: Move to ...
20710 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20712 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20715 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20716 define unconditionally.
20717 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20718 define unconditionally.
20719 (INT8_C, INT16_C, etc.): Likewise.
20721 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20723 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20724 __ehdr_start with hidden visibility.
20726 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20728 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20730 * math/libm-test.inc (cos_test): Use accurate hex constants.
20731 (sincost_test): Likewise.
20733 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20735 * math/libm-test.inc (catan_test): Add more tests.
20736 (catanh_test): Likewise.
20738 * math/s_catanf.c (__catanf): Use suffixed floating-point
20740 * math/s_catanhf.c (__catanhf): Likewise.
20741 * math/s_catanhl.c (__catanhl): Likewise.
20742 * math/s_catanl.c (__catanl): Likewise.
20745 * math/s_catan.c (__catan): Calculate imaginary part of result
20746 with log1p not log unless computing log of number close to 0.
20747 * math/s_catanf.c (__catanf): Likewise.
20748 * math/s_catanl.c (__catanl): Likewise.
20749 * math/s_catanh.c (__catanh): Calculate real part of result with
20750 log1p not log unless computing log of number close to 0.
20751 * math/s_catanhf.c (__catanhf): Likewise.
20752 * math/s_catanhl.c (__catanhl): Likewise.
20753 * math/libm-test.inc (catan_test): Add more tests.
20754 (catanh_test): Likewise.
20755 * sysdeps/i386/fpu/libm-test-ulps: Update.
20756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20758 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20760 * benchtests/Makefile: Mention files in which fast and slow
20761 paths of math functions are implemented.
20763 2013-04-23 Roland McGrath <roland@hack.frob.com>
20765 * sysdeps/posix/timespec_get.c: New file.
20767 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20769 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20771 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20773 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20774 powerpc/power5/fpu folders.
20775 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20776 * benchtests/Makefile: Add modf testcase.
20777 * benchtests/bench-modf.c: New file: Benchmark test for mo
20779 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20782 * time/Makefile (tests): Add tst-strptime-whitespace.
20783 * time/strptime_l.c (get_number): Use ISSPACE.
20784 (__strptime_internal): Likewise.
20785 * time/tst-strptime-whitespace.c: New test case.
20787 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20789 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20791 (_nss_files_init): Set it here.
20793 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20795 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20796 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20799 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20801 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20803 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20805 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20808 2013-04-21 David S. Miller <davem@davemloft.net>
20810 * po/ru.po: Update Russion translation from translation project.
20812 2013-04-17 Adam Conrad <adconrad@0c3.net>
20814 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20817 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20819 * configure.in: Remove i386 configure warning. Remove i386 case.
20820 * configure: Regenerate.
20821 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20822 Add example to error message.
20823 * sysdeps/i386/configure: Regenerate.
20825 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20827 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20829 * benchtests/cos-inputs: New file.
20830 * benchtests/slowcos-inputs: New file.
20831 * benchtests/slowcos.c: New file.
20832 * benchtests/slowtan-inputs: New file.
20833 * benchtests/slowtan.c: New file.
20834 * benchtests/tan-inputs: New file.
20836 2013-04-16 Roland McGrath <roland@hack.frob.com>
20838 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20841 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20843 * benchtests/Makefile: Include cppflags-iterator.mk to add
20844 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20846 * Makefile.in (bench-clean): New target.
20847 * benchtests/Makefile (bench-clean): Likewise.
20849 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20851 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20853 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20855 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20857 2013-04-15 Andreas Schwab <schwab@suse.de>
20859 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20860 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20861 * nscd/pwdcache.c (cache_addpw): Likewise.
20862 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20865 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20867 * benchtests/Makefile (bench): Write all output to
20868 bench-out.tmp together.
20870 2013-04-15 Andreas Schwab <schwab@suse.de>
20872 * nscd/nscd.c (main): Don't fork again after closing files.
20874 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20876 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20878 * benchtests/Rules (bench-deps): Collect dependencies into a
20879 single variable. Add Makefile to dependencies.
20880 ($(objpfx)bench-%.c): Depend on bench-deps.
20882 2013-04-12 Roland McGrath <roland@hack.frob.com>
20883 Xavier Roche <roche+kml2@exalead.com>
20886 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20887 just that it's a file descriptor.
20888 * manual/llio.texi (Synchronizing AIO Operations): Update description
20889 for EBADF error from aio_fsync.
20891 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20893 * Rules (bench): Move target definition...
20894 * benchtests/Makefile: ... here.
20896 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20898 * math/libm-test.inc (cos_test): Fix PI/2 test.
20899 (sincos_test): Likewise.
20900 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20901 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20903 2013-04-11 Andreas Schwab <schwab@suse.de>
20906 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20907 accept exponent character only when digits were seen.
20908 * stdio-common/Makefile (tests): Add bug26.
20909 * stdio-common/bug26.c: New file.
20912 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20915 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20917 * Makeconfig (rtld-prefix): Define built linker prefix.
20918 * Rules (run-bench): Use it.
20919 * math/Makefile (run-regen-ulps): Likewise.
20921 * Rules (bench): Remove eval.
20923 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20924 Roland McGrath <roland@hack.frob.com>
20925 Ondrej Bilka <neleai@seznam.cz>
20928 * time/getdate.c: Include ctype.h and alloca.h.
20929 (__getdate_r): Trim leading and trailing spaces of input.
20930 * time/tst-getdate.c (tests): Add tests with leading and
20933 2013-04-08 Roland McGrath <roland@hack.frob.com>
20936 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20937 when computing value.
20939 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20941 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20942 Use testrun.sh to run libm tests.
20945 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20947 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20950 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20952 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20954 * Makefile.in (regen-ulps): New target.
20955 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20956 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20957 [ifneq (no,$(PERL)] (regen-ulps): New target.
20958 [ifeq (no,$(PERL)] (regen-ulps): New target.
20959 * math/libm-test.inc (ulps_file_name): Define.
20960 (output_dir): New variable.
20961 (options): Add "output-dir" option.
20962 (parse_opt): Handle 'o' case.
20963 (main): If output_dir is non-NULL use it as a prefix
20965 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20967 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20969 [BZ #10060, #10062]
20970 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20971 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20972 fail configure if __sync_val_compare_and_swap is not inlined.
20973 * sysdeps/i386/configure: Regenerate.
20974 * configure.in: Build for i686 when configured for i386.
20975 * configure: Regenerate.
20976 * README: Remove i386 reference.
20978 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20980 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20981 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20983 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20985 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20986 (lmsnanval): New variables.
20987 (F): Add conversion tests.
20988 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20989 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20991 * stdio-common/tstdiomisc.c (F): Properly collect individual
20994 [BZ #14686, #15336]
20995 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20996 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20997 Instead, use input NaN values or generate a qNaN by arithmetic
20998 operation. Also fix bugs to comply with the standard.
20999 * math/libm-test.inc (remainder_test): Add more tests.
21001 [BZ #15335, #15342]
21002 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21004 input NaN values or generate a qNaN by arithmetic operation.
21006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21009 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21012 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21015 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21016 underflowed result.
21017 * math/s_cexpf.c (__cexpf): Likewise.
21018 * math/s_cexpl.c (__cexpl): Likewise.
21019 * math/libm-test.inc (cexp_test): Add more tests.
21021 2013-04-03 Andreas Schwab <schwab@suse.de>
21024 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21025 order arrays from heap if bigger than alloca cutoff.
21027 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21029 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21030 (SNAN_TESTS_double): Refer to GCC PR56831.
21031 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21034 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21036 * Rules (bench): Move bench.out after the run is complete.
21038 * Rules (bench): Echo currently running benchmark.
21040 * benchtests/Makefile (bench): Add atan and slowatan.
21041 * benchtests/atan-inputs: New file.
21042 * benchtests/slowatan-inputs: New file.
21043 * benchtests/slowatan.c: New file.
21045 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21046 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21050 * sysdeps/unix/sysv/linux/kernel-features.h
21051 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21052 __ASSUME_XFS_RESTRICTED_CHOWN.
21053 * sysdeps/unix/sysv/linux/pathconf.c
21054 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21055 Save and restore errno.
21057 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21060 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21061 arguments using __kernel_casinh.
21062 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21063 arguments using __kernel_casinhf.
21064 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21065 arguments using __kernel_casinhl.
21066 * math/libm-test.inc (cacosh_test): Add more tests.
21067 * sysdeps/i386/fpu/libm-test-ulps: Update.
21068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21070 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21072 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21073 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21075 * bench/Makefile (bench): Add sin and slowsin.
21076 * benchtests/sin-inputs: New file.
21077 * benchtests/slowsin-inputs: New file.
21078 * benchtests/slowsin.c: New file.
21080 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21081 (bench): Add slowexp and slowpow.
21082 (exp-ITER): Increase iterations.
21083 (pow-ITER): Likewise.
21084 * benchtests/exp-inputs: Change input.
21085 * benchtests/pow-inputs: Likewise.
21086 * benchtests/slowexp-inputs: New file.
21087 * benchtests/slowexp.c: New file.
21088 * benchtests/slowpow-inputs: New file.
21089 * benchtests/slowpow.c: New file.
21091 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21093 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21095 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21096 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21097 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21098 * benchtests/Makefile: Add rint benchtest.
21099 * benchtests/rint-inputs: Input for rint benchtest.
21101 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21103 * Versions.def (libm): Add GLIBC_2.18.
21104 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21105 hidden libm prototypes.
21106 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21107 * math/Makefile (libm-calls): Add s_issignaling.
21108 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21109 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21110 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21112 * math/math.h [__USE_GNU] (issignaling): New macro.
21113 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21114 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21116 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21119 * manual/arith.texi (issignaling): New section.
21120 * manual/libm-err-tab.pl (@all_functions): Update comment.
21121 * math/gen-libm-test.pl (parse_args): Apply special handling for
21123 * math/libm-test.inc (print_float, issignaling_test): New
21125 (check_float_internal): Add issignaling checks.
21126 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21127 default definition.
21128 * sysdeps/powerpc/math-tests.h: New file.
21129 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21131 * math/test-snan.c (TEST_FUNC): Likewise.
21133 2013-03-30 David S. Miller <davem@davemloft.net>
21135 * po/de.po: Update from translation team.
21137 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21140 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21141 imaginary part less than 1.0 and real part less than 0.5
21143 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21144 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21145 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21146 (cacos_test): Add more tests.
21147 (casin_test): Likewise.
21148 (casinh_test): Likewise.
21149 * sysdeps/i386/fpu/libm-test-ulps: Update.
21150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21152 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21154 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21155 ONE with its value.
21157 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21158 (__pow_mp): Replace ONE and MONE with their values.
21159 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21160 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21161 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21162 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21163 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21164 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21166 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21168 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21169 (__pow_mp): Replace ZERO and MZERO with their values.
21170 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21171 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21172 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21174 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21175 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21178 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21180 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21182 2013-03-28 Roland McGrath <roland@hack.frob.com>
21184 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21185 Declare with __attribute__ ((weak)).
21186 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21187 Call __call_tls_dtors only if it's not NULL.
21189 2013-03-28 Roland McGrath <roland@hack.frob.com>
21191 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21192 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21193 magic __ehdr_start linker symbol if it's defined.
21194 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21195 them up here if it was already done.
21197 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21198 (_dl_aux_init): Use const in cast when setting it.
21199 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21200 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21201 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21203 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21205 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21206 * csu/libc-tls.c: Nor here.
21207 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21209 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21210 (__libc_message): Never call vsyslog.
21212 2013-03-28 Alan Modra <amodra@gmail.com>
21214 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21216 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21219 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21222 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21226 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21229 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21230 Don't add gid passed as argument.
21232 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21234 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21237 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21238 imaginary part between 1.0 and 1.5 and real part less than 0.5
21240 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21241 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21242 * math/libm-test.inc (cacos_test): Add more tests.
21243 (casin_test): Likewise.
21244 (casinh_test): Likewise.
21245 * sysdeps/i386/fpu/libm-test-ulps: Update.
21246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21248 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21250 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21253 (denorm): Likewise.
21254 (__dbl_mp): Likewise.
21255 (add_magnitudes): Likewise.
21256 (sub_magnitudes): Likewise.
21264 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21266 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21267 (__dubcos): Likewise.
21268 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21269 (__ieee754_acos): Likewise.
21270 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21271 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21272 (__exp1): Likewise.
21273 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21276 (my_log2): Likewise.
21277 (checkint): Likewise.
21278 * sysdeps/ieee754/dbl-64/e_remainder.c
21279 (__ieee754_remainder): Likewise.
21280 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21281 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21282 (bsloww): Likewise.
21283 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21285 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21286 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21287 MANTISSA_STORE_T to store computations on mantissa. Use
21288 macros for rounding and division.
21289 (denorm): Likewise.
21290 (__dbl_mp): Likewise.
21291 (add_magnitudes): Likewise.
21292 (sub_magnitudes): Likewise.
21295 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21296 powers of two in terms of TWOPOW macro.
21297 (mp_no): Make type of mantissa as MANTISSA_T.
21298 [!RADIXI]: Define RADIXI.
21299 [!TWO52]: Define TWO52.
21300 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21302 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21304 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21305 llroundl symbol when building for PPC32.
21307 2013-03-24 Mark H Weaver <mhw@netris.org>
21309 * manual/arith.texi (Normalization Functions): Fix prototypes for
21310 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21312 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21316 high value to check if expl overflow.
21317 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21318 to check for underflow and overflow.
21319 * math/libm-test.inc: Add exp test.
21321 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21324 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21327 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21329 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21332 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21334 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21335 wrap blocks consisting of several statements.
21337 * sysdeps/generic/math-tests.h: New file.
21338 * sysdeps/i386/fpu/math-tests.h: Likewise.
21339 * math/test-snan.c: Include it.
21340 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21342 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21345 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21346 (__ieee754_j0l): Do not improve calculations using cos of twice
21347 input for inputs above LDBL_MAX / 2.0L.
21348 (__ieee754_y0l): Likewise.
21349 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21350 (__ieee754_j1l): Do not improve calculations using cos of twice
21351 input for inputs above LDBL_MAX / 2.0L.
21352 (__ieee754_y1l): Likewise.
21353 * math/libm-test.inc (j0_test): Add another test.
21354 (j1_test): Likewise.
21355 (y0_test): Likewise.
21356 (y1_test): Likewise.
21357 * sysdeps/i386/fpu/libm-test-ulps: Update.
21359 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21361 * Rules ($(objpfx)bench-%.c): Include code from a C source
21364 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21367 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21368 imaginary part 1.0 and real part less than 0.5 specially.
21369 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21370 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21371 * math/libm-test.inc (cacos_test): Add more tests.
21372 (casin_test): Likewise.
21373 (casinh_test): Likewise.
21374 * sysdeps/i386/fpu/libm-test-ulps: Update.
21375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21377 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21379 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21380 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21382 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21384 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21385 * config.make.in (config-cflags-sse4): Remove variable.
21386 (config-cflags-avx): Likewise.
21387 (config-cflags-sse2avx): Likewise.
21388 (config-cflags-novzeroupper): Likewise.
21389 (config-asflags-i686): Likewise.
21390 (have-mfma4): Likewise.
21391 (have-as-vis3): Likewise.
21393 * configure.in (MIG): Do not AC_SUBST.
21394 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21395 (libc_cv_cc_sse4): Do not AC_SUBST.
21396 (libc_cv_cc_avx): Likewise.
21397 (libc_cv_cc_sse2avx): Likewise.
21398 (libc_cv_cc_novzeroupper): Likewise.
21399 (libc_cv_cc_fma4): Likewise.
21400 (libc_cv_as_i686): Likewise.
21401 (libc_cv_sparc_as_vis3): Likewise.
21402 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21404 (config-asflags-i686): Likewise.
21405 (config-cflags-avx): Likewise.
21406 (config-cflags-sse2avx): Likewise.
21407 (have-mfma4): Likewise.
21408 (config-cflags-novzeroupper): Likewise.
21409 * sysdeps/mach/configure.in (MIG): Likewise.
21410 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21411 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21413 (config-cflags-avx): Likewise.
21414 (config-cflags-sse2avx): Likewise.
21415 (have-mfma4): Likewise.
21416 (config-cflags-novzeroupper): Likewise.
21417 * configure: Regenerated.
21418 * sysdeps/i386/configure: Likewise.
21419 * sysdeps/mach/configure: Likewise.
21420 * sysdeps/sparc/configure: Likewise.
21421 * sysdeps/x86_64/configure: Likewise.
21423 2013-03-20 Roland McGrath <roland@hack.frob.com>
21426 * locale/programs/localedef.c (options): Put N_ translation marker
21427 on argument names, not just descriptions.
21429 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21431 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21433 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21436 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21438 2013-03-19 Roland McGrath <roland@hack.frob.com>
21440 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21441 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21442 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21443 [!BEFORE_ABORT] (before_abort): New function.
21444 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21445 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21446 (writev_for_fatal): New function.
21447 (WRITEV_FOR_FATAL): New macro; call that.
21448 (backtrace_and_maps): New function.
21449 (BEFORE_ABORT): New macro; call that.
21450 (struct str_list): Type removed.
21451 (__libc_message, __libc_fatal): Functions removed.
21452 Include <sysdeps/posix/libc_fatal.c> instead.
21454 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21456 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21458 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21461 2013-03-19 Andreas Schwab <schwab@suse.de>
21463 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21464 * sysdeps/gnu/configure: Regenerate.
21466 * configure.in: Substitute libc_cv_rtlddir.
21467 * configure: Regenerate.
21468 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21469 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21470 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21471 * elf/Makefile (install-others, CFLAGS-interp.c)
21472 (ldso_install, common-ldd-rewrite): Likewise.
21473 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21474 $(inst_slibdir)/$(rtld-installed-name).
21475 * scripts/rellns-sh: Add -p option.
21476 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21479 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21481 * manual/nptl.texi: Renamed to ...
21482 * manual/threads.texi: ... this.
21483 * manual/Makefile (chapters): Update.
21485 2013-03-18 Roland McGrath <roland@hack.frob.com>
21488 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21489 on argument names, not just descriptions.
21490 * malloc/memusagestat.c (options): Likewise.
21491 * nss/getent.c (options): Likewise.
21493 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21496 * iconv/iconv_prog.c (options): Put N_ translation marker
21497 on argument names, not just descriptions.
21498 * iconv/iconvconfig.c (options): Likewise.
21500 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21502 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21503 implementation which is faster on all x86_64 architectures.
21504 Tested on AMD, Intel Nehalem, SNB, IVB.
21505 * sysdeps/x86_64/strnlen.S: Likewise.
21507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21508 Remove all multiarch strlen and strnlen versions.
21509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21510 Remove strlen and strnlen related parts.
21512 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21513 Inline strlen part.
21514 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21516 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21517 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21518 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21519 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21520 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21521 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21523 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21525 * manual/memory.texi (Malloc Tunable Parameters):
21526 Sort parameters alphabetically. Add comments for missing entries.
21528 2013-03-17 David S. Miller <davem@davemloft.net>
21530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21532 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21535 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21536 for arguments at most half maximum finite value.
21537 * math/libm-test.inc (j0_test): Add more tests.
21538 (j1_test): Likewise.
21539 (y0_test): Likewise.
21540 (y1_test): Likewise.
21541 * sysdeps/i386/fpu/libm-test-ulps: Update.
21542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21545 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21546 1 / x and functions P and Q for arguments above 0x1p256L.
21547 (__ieee754_y0l): Likewise.
21548 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21549 (__ieee754_y1l): Likewise.
21550 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21551 (j1_test): Likewise.
21552 (y0_test): Likewise.
21553 (y1_test): Likewise.
21555 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21557 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21560 2013-03-15 Roland McGrath <roland@hack.frob.com>
21562 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21563 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21564 zero since it's initialized to EXEC_PAGESIZE.
21566 * sysdeps/unix/sysv/linux/ldsodefs.h
21567 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21568 * sysdeps/generic/ldsodefs.h: ... here.
21570 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21572 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21574 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21576 * math/test-snan.c: Renamed from
21577 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21578 * math/Makefile (tests): Add test-snan.
21579 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21582 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21583 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21585 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21586 __builtin_nan family of functions.
21587 * math/libm-test.inc (initialize): Initialize qnan_value with
21588 __builtin_nan family of functions.
21589 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21591 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21593 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21594 storage class. Initialize qNaN_var and sNaN_var with
21595 __builtin_nan and __builtin_nans families of functions,
21598 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21599 (sqrt_test): Remove duplicate test with qNaN input.
21600 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21601 (round_test, signbit_test, significand_test): Note missing +/-Inf
21602 as well as qNaN tests.
21604 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21605 qNaN_var. Fix a few strings, too.
21606 * math/libm-test.inc (nan_value): Rename to qnan_value.
21607 * math/gen-libm-test.pl (%beautify): Adjust to that.
21608 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21609 * math/test-misc.c (main): Likewise.
21610 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21611 to __qnan_bytes, and __qnan_union, respectively.
21612 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21614 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21615 and lqnanval, respectively.
21616 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21617 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21618 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21619 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21621 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21622 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21625 * math/test-misc.c (main): Fix copy'n'pastos.
21626 * misc/tst-efgcvt.c (special): Likewise.
21628 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21629 Remove declarations.
21631 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21633 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21634 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21635 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21636 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21638 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21640 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21641 macro to return vdso values correctly in IFUNC implementations.
21642 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21643 Optimization by using IFUNC.
21645 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21646 Richard Henderson <rth@redhat.com>
21647 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21649 * Makefile.in (bench): New target.
21650 * NEWS: Mention the benchmark framework.
21651 * Rules (bench): Likewise.
21652 (binaries-bench): Generate binaries for functions to
21654 * benchtests/Makefile: New makefile for benchmark tests.
21655 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21657 * benchtests/exp-inputs: New input file for EXP function.
21658 * benchtests/pow-inputs: New input file for POW function.
21659 * scripts/bench.pl: New script to generate source files for
21660 benchmark programs.
21662 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21664 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21665 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21666 computations on mantissa. Use macros for rounding and
21668 (denorm): Likewise.
21669 (__dbl_mp): Likewise.
21670 (add_magnitudes): Likewise.
21671 (sub_magnitudes): Likewise.
21674 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21675 powers of two in terms of TWOPOW macro.
21676 (mp_no): Make type of mantissa as MANTISSA_T.
21677 [!RADIXI]: Define RADIXI.
21678 [!TWO52]: Define TWO52.
21679 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21681 * manual/nptl.texi (cindex): Modify threads to pthreads.
21683 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21685 * sysdeps/x86_64/preconfigure: Regenerated.
21687 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21690 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21692 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21693 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21695 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21696 * math/libm-test.inc (j0_test): Do not allow one spurious
21697 underflow exception.
21698 (y1_test): Likewise.
21700 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21702 * manual/Makefile (chapters): Add nptl.
21703 * manual/debug.texi (Debugging Support): Add link to Threads
21705 * manual/nptl.texi: New file.
21707 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21709 2013-03-14 Petr Baudis <pasky@ucw.cz>
21711 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21712 for non-NULL pointer before the memory validity test. Pointed
21713 out by Holger Brunck <holger.brunck@keymile.com>.
21715 2013-03-13 Andreas Schwab <schwab@suse.de>
21717 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21720 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21722 * timezone/zic.c: Update from tzcode 2013b.
21724 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21726 * manual/install.texi (Configuring and compiling):
21727 Mention i686 and i586.
21728 * INSTALL: Regenerate.
21730 2013-03-12 Roland McGrath <roland@hack.frob.com>
21732 * sysdeps/init_array/elf-init.c: New file.
21734 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21735 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21737 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21738 __gmon_start__ as global, but as static with a .preinit_array pointer.
21739 * sysdeps/init_array/gmon-start.c: New file. Use that.
21740 * sysdeps/init_array/crti.S: New file, empty except for comments.
21741 * sysdeps/init_array/crtn.S: Likewise.
21743 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21745 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21748 Remove Prefer_SSE_for_memop.
21749 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21750 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21751 HAS_PREFER_SSE_FOR_MEMOP.
21752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21755 Remove bzero, memset ifunc support.
21756 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21757 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21758 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21759 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21761 2013-03-11 Andreas Schwab <schwab@suse.de>
21764 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21767 (GLIBC_2.16): Remove pthread_atfork.
21769 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21771 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21772 (ptestcases.h): Likewise.
21774 2013-03-08 Roland McGrath <roland@hack.frob.com>
21776 * Makeconfig ($(common-objpfx)config.status): Depend on
21777 sysdeps/*/preconfigure{,.in} too.
21779 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21781 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21782 (__free_hook): Use void * instead of __malloc_ptr_t.
21783 (__malloc_hook): Likewise.
21784 (__realloc_hook): Likewise.
21785 (__memalign_hook): Likewise.
21786 (__after_morecore_hook): Likewise.
21787 * malloc/arena.c (save_malloc_hook): Likewise.
21788 (save_free_hook): Likewise.
21789 * malloc/hooks.c (malloc_hook_ini): Likewise.
21790 (realloc_hook_ini): Likewise.
21791 (memalign_hook_ini): Likewise.
21792 * malloc/malloc.c (malloc_hook_ini): Likewise.
21793 (realloc_hook_ini): Likewise.
21794 (memalign_hook_ini): Likewise.
21795 (__free_hook): Likewise.
21796 (__malloc_hook): Likewise.
21797 (__realloc_hook): Likewise.
21798 (__memalign_hook): Likewise.
21799 (__libc_malloc): Likewise.
21800 (__libc_free): Likewise.
21801 (__libc_realloc): Likewise.
21802 (__libc_memalign): Likewise.
21803 (__libc_valloc): Likewise.
21804 (__libc_pvalloc): Likewise.
21805 (__libc_calloc): Likewise.
21806 (__posix_memalign): Likewise.
21807 * malloc/morecore.c (__sbrk): Likewise.
21808 (__default_morecore): Likewise.
21810 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21812 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21813 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21814 __malloc_ptrdiff_t.
21816 * malloc/malloc.h (__malloc_size_t): Remove macro.
21817 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21819 (old_memalign_hook): Likewise.
21820 (old_realloc_hook): Likewise.
21821 (struct hdr): Likewise.
21823 (mallochook): Likewise.
21824 (memalignhook): Likewise.
21825 (reallochook): Likewise.
21826 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21827 (tr_old_realloc_hook): Likewise.
21828 (tr_old_memalign_hook): Likewise.
21829 (tr_mallochook): Likewise.
21830 (tr_reallochook): Likewise.
21831 (tr_memalignhook): Likewise.
21833 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21835 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21836 default_ldbl_pack and using as default implementation.
21837 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21839 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21840 redundant definition.
21841 (ldbl_insert_mantissa): Likewise.
21842 (ldbl_canonicalize): Likewise.
21843 (ldbl_nearbyint): Likewise.
21844 (ldbl_pack): Rename to ldbl_pack_ppc.
21845 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21846 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21847 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21849 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21852 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21853 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21854 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21856 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21857 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21858 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21860 2013-03-07 Andreas Jaeger <aj@suse.de>
21862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21865 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21867 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21868 Include mpa.h and declare __MPEXP.
21869 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21870 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21871 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21872 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21873 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21874 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21875 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21877 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21878 (__slowpow): Use long double EXPL and LOGL functions to
21880 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21881 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21882 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21883 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21884 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21885 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21888 intermediate variable to calculate exponent.
21890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21894 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21895 [!NO__SQR]: Define __sqr.
21896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21897 and NO__SQR. Remove all code except __mul and __sqr. Include
21898 sysdeps/ieee754/dbl-64/mpa.c.
21899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21902 * posix/Makefile (tests): Add tst-pathconf.
21903 * posix/tst-pathconf.c: New test case.
21904 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21906 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21908 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21910 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21912 2013-03-06 Andreas Jaeger <aj@suse.de>
21914 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21915 definition via __MAP_ANONYMOUS.
21917 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21918 it's not part of Linux headers.
21920 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21921 (MAP_HUGE_MASK): Define.
21923 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21925 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21926 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21928 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21929 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21931 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21932 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21934 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21936 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21937 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21938 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21939 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21940 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21941 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21943 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21946 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21947 Handle f2fs and efivarfs.
21949 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21952 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21953 (EFIVARFS_MAGIC): Add.
21954 (F2FS_LINK_MAX): Add.
21956 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21958 * stdio-common/vfprintf.c: Replace __builtin_expect with
21961 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21964 * sysdeps/generic/bp-sym.h: Remove file.
21965 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21966 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21967 <bp-sym.h> and <bp-asm.h>.
21968 (__longjmp): Don't use BP_SYM.
21969 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21971 (memcpy): Don't use BP_SYM.
21972 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21973 <bp-sym.h> and <bp-asm.h>.
21974 (memcpy): Don't use BP_SYM.
21975 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21977 (memcpy): Don't use BP_SYM.
21978 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21980 (memset): Don't use BP_SYM.
21981 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21982 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21983 (__bzero): Don't use BP_SYM.
21984 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21985 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21986 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21987 <bp-sym.h> and <bp-asm.h>.
21988 (memcmp): Don't use BP_SYM. Remove comment about bounded
21990 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21991 <bp-sym.h> and <bp-asm.h>.
21992 (memcpy): Don't use BP_SYM.
21993 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21994 <bp-sym.h> and <bp-asm.h>.
21995 (memset): Don't use BP_SYM.
21996 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21997 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21998 (__bzero): Don't use BP_SYM.
21999 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22000 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22001 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22002 <bp-sym.h> and <bp-asm.h>.
22003 (strncmp): Don't use BP_SYM. Remove comment about bounded
22005 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22006 <bp-sym.h> and <bp-asm.h>.
22007 (memcpy): Don't use BP_SYM.
22008 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22009 <bp-sym.h> and <bp-asm.h>.
22010 (memset): Don't use BP_SYM.
22011 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22012 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22013 (__bzero): Don't use BP_SYM.
22014 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22015 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22016 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22017 <bp-sym.h> and <bp-asm.h>.
22018 (__memchr): Don't use BP_SYM.
22019 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22020 <bp-sym.h> and <bp-asm.h>.
22021 (memcmp): Don't use BP_SYM. Remove comment about bounded
22023 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22024 <bp-sym.h> and <bp-asm.h>.
22025 (memcpy): Don't use BP_SYM.
22026 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22027 <bp-sym.h> and <bp-asm.h>.
22028 (__mempcpy): Don't use BP_SYM.
22029 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22030 <bp-sym.h> and <bp-asm.h>.
22031 (__memrchr): Don't use BP_SYM.
22032 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22033 <bp-sym.h> and <bp-asm.h>.
22034 (memset): Don't use BP_SYM.
22035 (__bzero): Likewise.
22036 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22037 <bp-sym.h> and <bp-asm.h>.
22038 (__rawmemchr): Don't use BP_SYM.
22039 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22040 <bp-sym.h> and <bp-asm.h>.
22041 (__STRCMP): Don't use BP_SYM.
22042 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22043 <bp-sym.h> and <bp-asm.h>.
22044 (strchr): Don't use BP_SYM.
22045 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22046 <bp-sym.h> and <bp-asm.h>.
22047 (__strchrnul): Don't use BP_SYM.
22048 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22049 <bp-sym.h> and <bp-asm.h>.
22050 (strlen): Don't use BP_SYM.
22051 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22052 <bp-sym.h> and <bp-asm.h>.
22053 (strncmp): Don't use BP_SYM. Remove comment about bounded
22055 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22056 <bp-sym.h> and <bp-asm.h>.
22057 (__strnlen): Don't use BP_SYM.
22058 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22059 <bp-sym.h> and <bp-asm.h>.
22060 (__GI__setjmp): Don't use BP_SYM.
22061 (_setjmp): Likewise.
22062 (__sigsetjmp): Likewise.
22063 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22064 (L(start_addresses)): Don't use BP_SYM.
22065 (_start): Likewise.
22066 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22068 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22069 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22070 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22071 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22072 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22074 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22075 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22076 about bounded pointers.
22077 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22078 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22079 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22081 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22082 about bounded pointers. Remove GKM FIXME comments.
22083 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22084 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22086 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22087 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22088 Remove GKM FIXME comments.
22089 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22090 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22091 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22093 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22094 about bounded pointers. Remove GKM FIXME comment.
22095 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22097 (strncmp): Don't use BP_SYM. Remove comment about bounded
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22100 <bp-sym.h> and <bp-asm.h>.
22101 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22103 <bp-sym.h> and <bp-asm.h>.
22104 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22107 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22109 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22112 2013-03-05 David S. Miller <davem@davemloft.net>
22114 * po/es.po: Update from translation team.
22116 2013-03-05 Andreas Jaeger <aj@suse.de>
22118 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22119 <bits/mman-linux.h>.
22120 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22122 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22123 <bits/mman-linux.h> to end of file.
22124 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22126 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22127 <bits/mman-linux.h> to end of file.
22128 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22130 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22131 <bits/mman-linux.h> to end of file.
22133 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22134 (MCL_CURRENT, MCL_FUTURE): Define here.
22136 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22139 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22141 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22143 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22145 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22146 fourth parameter needed for rt_sigprocmask syscall.
22147 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22148 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22149 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22150 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22151 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22152 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22154 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22157 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22158 comment about bounded pointers.
22159 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22160 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22162 2013-03-04 Andreas Jaeger <aj@suse.de>
22164 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22165 common definitions.
22167 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22168 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22169 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22170 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22171 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22174 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22177 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22178 __ieee754_sqrl instead of __sqrl.
22180 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22182 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22183 * sysdeps/powerpc/fpu_control.h: ... here.
22184 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22185 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22186 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22187 * sysdeps/powerpc/bits/mathinline.h: ... here.
22189 2013-03-01 Roland McGrath <roland@hack.frob.com>
22191 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22192 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22193 to just [NEED_DL_SYSINFO_DSO].
22194 * elf/dl-support.c: Likewise.
22195 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22196 * elf/rtld.c (dl_main): Likewise.
22197 * elf/setup-vdso.h (setup_vdso): Likewise.
22198 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22199 * sysdeps/unix/sysv/linux/dl-sysdep.c
22200 (_dl_discover_osversion): Likewise.
22202 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22204 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22205 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22207 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22209 * NEWS: Mention libm performance improvements and non-x86 PI
22212 * csu/libc-start.c (__pthread_initialize_minimal): Change
22213 function arguments.
22214 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22216 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22219 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22220 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22221 <bp-sym.h> and <bp-asm.h>.
22222 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22223 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22225 (memcpy): Don't use BP_SYM.
22226 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22228 (__mpn_add_n): Don't use BP_SYM.
22229 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22230 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22232 (__mpn_addmul_1): Don't use BP_SYM.
22233 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22234 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22236 (_setjmp): Don't use BP_SYM.
22237 (__novmx_setjmp): Likewise.
22238 (__GI__setjmp): Likewise.
22239 (__vmx_setjmp): Likewise.
22240 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22242 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22243 (__bzero): Don't use BP_SYM.
22244 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22245 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22246 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22247 <bp-sym.h> and <bp-asm.h>.
22248 (memcpy): Don't use BP_SYM.
22249 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22250 <bp-sym.h> and <bp-asm.h>.
22251 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22252 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22253 <bp-sym.h> and <bp-asm.h>.
22254 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22255 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22257 (__mpn_lshift): Don't use BP_SYM.
22258 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22259 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22261 (memset): Don't use BP_SYM.
22262 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22263 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22264 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22266 (__mpn_mul_1): Don't use BP_SYM.
22267 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22268 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22269 <bp-sym.h> and <bp-asm.h>.
22270 (memcmp): Don't use BP_SYM.
22271 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22272 <bp-sym.h> and <bp-asm.h>.
22273 (memcpy): Don't use BP_SYM.
22274 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22275 <bp-sym.h> and <bp-asm.h>.
22276 (memset): Don't use BP_SYM.
22277 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22278 <bp-sym.h> and <bp-asm.h>.
22279 (strncmp): Don't use BP_SYM.
22280 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22281 <bp-sym.h> and <bp-asm.h>.
22282 (memcpy): Don't use BP_SYM.
22283 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22284 <bp-sym.h> and <bp-asm.h>.
22285 (memset): Don't use BP_SYM.
22286 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22287 <bp-sym.h> and <bp-asm.h>.
22288 (__memchr): Don't use BP_SYM.
22289 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22290 <bp-sym.h> and <bp-asm.h>.
22291 (memcmp): Don't use BP_SYM.
22292 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22293 <bp-sym.h> and <bp-asm.h>.
22294 (memcpy): Don't use BP_SYM.
22295 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22296 <bp-sym.h> and <bp-asm.h>.
22297 (__mempcpy): Don't use BP_SYM.
22298 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22299 <bp-sym.h> and <bp-asm.h>.
22300 (__memrchr): Don't use BP_SYM.
22301 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22302 <bp-sym.h> and <bp-asm.h>.
22303 (memset): Don't use BP_SYM.
22304 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22305 <bp-sym.h> and <bp-asm.h>.
22306 (__rawmemchr): Don't use BP_SYM.
22307 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22308 <bp-sym.h> and <bp-asm.h>.
22309 (__STRCMP): Don't use BP_SYM.
22310 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22311 <bp-sym.h> and <bp-asm.h>.
22312 (strchr): Don't use BP_SYM.
22313 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22314 <bp-sym.h> and <bp-asm.h>.
22315 (__strchrnul): Don't use BP_SYM.
22316 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22317 <bp-sym.h> and <bp-asm.h>.
22318 (strlen): Don't use BP_SYM.
22319 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22320 <bp-sym.h> and <bp-asm.h>.
22321 (strncmp): Don't use BP_SYM.
22322 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22323 <bp-sym.h> and <bp-asm.h>.
22324 (__strnlen): Don't use BP_SYM.
22325 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22327 (__mpn_rshift): Don't use BP_SYM.
22328 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22329 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22330 <bp-sym.h> and <bp-asm.h>.
22331 (__sigsetjmp): Don't use BP_SYM.
22332 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22333 (L(start_addresses)): Don't use BP_SYM.
22334 (_start): Likewise.
22335 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22337 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22338 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22339 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22340 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22342 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22343 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22344 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22345 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22347 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22349 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22350 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22352 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22354 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22355 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22356 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22358 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22360 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22362 (strncmp): Don't use BP_SYM,
22363 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22365 (__mpn_sub_n): Don't use BP_SYM.
22366 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22367 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22369 (__mpn_submul_1): Don't use BP_SYM.
22370 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22372 <bp-sym.h> and <bp-asm.h>.
22373 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22375 <bp-sym.h> and <bp-asm.h>.
22376 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22379 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22382 Use ZK to minimize writes to Z.
22383 (sub_magnitudes): Simplify code a bit.
22384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22385 Use ZK to minimize writes to Z.
22386 (sub_magnitudes): Simplify code a bit.
22388 2013-02-27 Roland McGrath <roland@hack.frob.com>
22390 * csu/gmon-start.c: Add special exception to license text.
22392 2013-02-27 Richard Henderson <rth@redhat.com>
22394 * scripts/config.guess: Update from config.git.
22395 * scripts/config.sub: Likewise.
22397 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22399 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22401 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22403 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22405 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22407 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22409 2013-02-26 Roland McGrath <roland@hack.frob.com>
22411 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22412 [$(build-shared = yes].
22414 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22416 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22417 (__mul): Reduce iterations for calculating mantissa.
22419 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22421 (__mpranred): Likewise.
22424 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22425 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22427 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22429 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22430 Define __attribute__.
22432 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22434 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22436 * posix/regex_internal.h (__attribute): Remove.
22437 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22438 (re_string_context_at): Likewise.
22439 (bitset_not): Use __attribute__ and mark function as possibly
22441 (bitset_merge): Likewise.
22442 (bitset_mask): Likewise.
22443 (re_string_char_size_at): Likewise.
22444 (re_string_wchar_at): Likewise.
22445 (re_string_elem_size_at): Likewise.
22447 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22449 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22453 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22457 (denorm): Likewise.
22458 (__dbl_mp): Likewise.
22459 (add_magnitudes): Likewise.
22460 (sub_magnitudes): Likewise.
22464 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22467 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22470 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22474 up changes with default code.
22475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22478 2013-02-24 Allan McRae <allan@archlinux.org>
22480 * manual/socket.texi (The Internet Namespace): Order menu items
22481 to match that in the file.
22483 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22484 node listing of the info page menu.
22486 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22489 * sysdeps/i386/bp-asm.h: Remove file.
22490 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22491 (PARMS): Do not use macros from bp-asm.h.
22495 (__mpn_add_n): Do not use BP_SYM
22496 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22498 (PARMS): Do not use macros from bp-asm.h.
22501 (__mpn_addmul_1): Do not use BP_SYM
22502 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22504 (PARMS): Do not use macros from bp-asm.h.
22505 (SIGMSK): Likewise.
22506 (_setjmp): Likewise. Do not use BP_SYM.
22507 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22509 (PARMS): Do not use macros from bp-asm.h.
22510 (SIGMSK): Likewise.
22511 (setjmp): Likewise. Do not use BP_SYM.
22512 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22514 (PARMS): Do not use macros from bp-asm.h.
22515 (__frexp): Do not use BP_SYM.
22517 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22519 (PARMS): Do not use macros from bp-asm.h.
22520 (__frexpf): Do not use BP_SYM.
22521 (frexpf): Likewise.
22522 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22524 (PARMS): Do not use macros from bp-asm.h.
22525 (__frexpl): Do not use BP_SYM.
22526 (frexpl): Likewise.
22527 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22529 (PARMS): Do not use macros from bp-asm.h.
22530 (__remquo): Do not use BP_SYM.
22531 (remquo): Likewise.
22532 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22534 (PARMS): Do not use macros from bp-asm.h.
22535 (__remquof): Do not use BP_SYM.
22536 (remquof): Likewise.
22537 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22539 (PARMS): Do not use macros from bp-asm.h.
22540 (__remquol): Do not use BP_SYM.
22541 (remquol): Likewise.
22542 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22544 (PARMS): Do not use macros from bp-asm.h.
22547 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22548 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22550 (PARMS): Do not use macros from bp-asm.h.
22551 (strlen): Do not use BP_SYM.
22552 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22554 (PARMS): Do not use macros from bp-asm.h.
22558 (__mpn_add_n): Do not use BP_SYM.
22559 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22561 (PARMS): Do not use macros from bp-asm.h.
22564 (__mpn_addmul_1): Do not use BP_SYM.
22565 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22568 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22570 (PARMS): Do not use macros from bp-asm.h.
22573 (__mpn_lshift): Do not use BP_SYM.
22574 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22576 (PARMS): Do not use macros from bp-asm.h.
22580 (memcpy): Likewise. Do not use BP_SYM.
22581 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22582 libc_hidden_def and weak_alias.
22583 (mempcpy): Do not use BP_SYM in weak_alias.
22584 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22586 (PARMS): Do not use macros from bp-asm.h.
22589 [!BZERO_P] (CHR): Likewise.
22590 (memset): Likewise. Do not use BP_SYM.
22591 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22593 (PARMS): Do not use macros from bp-asm.h.
22596 (__mpn_mul_1): Do not use BP_SYM.
22597 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22599 (PARMS): Do not use macros from bp-asm.h.
22602 (__mpn_rshift): Do not use BP_SYM.
22603 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22605 (PARMS): Do not use macros from bp-asm.h.
22608 (strchr): Likewise. Do not use BP_SYM.
22609 (index): Do not use BP_SYM in weak_alias.
22610 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22612 (PARMS): Do not use macros from bp-asm.h.
22615 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22616 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22618 (PARMS): Do not use macros from bp-asm.h.
22619 (strlen): Do not use BP_SYM.
22620 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22622 (PARMS): Do not use macros from bp-asm.h.
22626 (__mpn_sub_n): Do not use BP_SYM.
22627 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22629 (PARMS): Do not use macros from bp-asm.h.
22632 (__mpn_submul_1): Do not use BP_SYM.
22633 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22635 (PARMS): Do not use macros from bp-asm.h.
22639 (__mpn_add_n): Do not use BP_SYM.
22640 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22643 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22645 (PARMS): Do not use macros from bp-asm.h.
22648 (memcmp): Do not use BP_SYM.
22649 (bcmp): Do not use BP_SYM in weak_alias.
22650 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22652 (PARMS): Do not use macros from bp-asm.h.
22656 (memcpy): Likewise. Do not use BP_SYM.
22657 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22659 (PARMS): Do not use macros from bp-asm.h.
22663 (memmove): Likewise. Do not use BP_SYM.
22664 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22666 (PARMS): Do not use macros from bp-asm.h.
22670 (__mempcpy): Likewise. Do not use BP_SYM.
22671 (mempcpy): Do not use BP_SYM in weak_alias.
22672 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22674 (PARMS): Do not use macros from bp-asm.h.
22677 [!BZERO_P] (CHR): Likewise.
22678 (memset): Likewise. Do not use BP_SYM.
22679 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22681 (PARMS): Do not use macros from bp-asm.h.
22683 (strcmp): Do not use BP_SYM.
22684 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22686 (PARMS): Do not use macros from bp-asm.h.
22689 [USE_AS_STRTOK_R] (SAVE): Likewise.
22690 (FUNCTION): Likewise. Do not use BP_SYM.
22691 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22693 (strtok_r): Likewise.
22694 (__GI___strtok_r): Likewise.
22695 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22696 (PARMS): Do not use macros from bp-asm.h.
22699 (__mpn_lshift): Do not use BP_SYM.
22700 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22701 (PARMS): Do not use macros from bp-asm.h.
22704 (__memchr): Do not use BP_SYM.
22705 (memchr): Do not use BP_SYM in weak_alias.
22706 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22707 (PARMS): Do not use macros from bp-asm.h.
22710 (memcmp): Do not use BP_SYM.
22711 (bcmp): Do not use BP_SYM in weak_alias.
22712 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22713 (PARMS): Do not use macros from bp-asm.h.
22716 (__mpn_mul_1): Do not use BP_SYM.
22717 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22719 (PARMS): Do not use macros from bp-asm.h.
22722 (__rawmemchr): Do not use BP_SYM.
22723 (rawmemchr): Do not use BP_SYM in weak_alias.
22724 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22725 (PARMS): Do not use macros from bp-asm.h.
22728 (__mpn_rshift): Do not use BP_SYM.
22729 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22730 (PARMS): Do not use macros from bp-asm.h.
22731 (SIGMSK): Likewise.
22732 (__sigsetjmp): Likewise. Do not use BP_SYM.
22733 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22734 (_start): Do not use BP_SYM.
22735 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22736 (PARMS): Do not use macros from bp-asm.h.
22739 (__stpcpy): Likewise. Do not use BP_SYM.
22740 (stpcpy): Do not use BP_SYM in weak_alias.
22741 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22743 (PARMS): Do not use macros from bp-asm.h.
22747 (__stpncpy): Likewise. Do not use BP_SYM.
22748 (stpncpy): Do not use BP_SYM in weak_alias.
22749 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22750 (PARMS): Do not use macros from bp-asm.h.
22753 (strchr): Likewise. Do not use BP_SYM.
22754 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22756 (PARMS): Do not use macros from bp-asm.h.
22759 (__strchrnul): Likewise. Do not use BP_SYM.
22760 (strchrnul): Do not use BP_SYM in weak_alias.
22761 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22763 (PARMS): Do not use macros from bp-asm.h.
22765 (strcspn): Do not use BP_SYM.
22766 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22768 (PARMS): Do not use macros from bp-asm.h.
22771 (strpbrk): Likewise. Do not use BP_SYM.
22772 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22774 (PARMS): Do not use macros from bp-asm.h.
22777 (strrchr): Likewise. Do not use BP_SYM.
22778 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22779 (PARMS): Do not use macros from bp-asm.h.
22781 (strspn): Do not use BP_SYM.
22782 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22783 (PARMS): Do not use macros from bp-asm.h.
22787 (FUNCTION): Likewise. Do not use BP_SYM.
22788 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22790 (strtok_r): Likewise.
22791 (__GI___strtok_r): Likewise.
22792 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22793 (PARMS): Do not use macros from bp-asm.h.
22797 (__mpn_sub_n): Do not use BP_SYM.
22798 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22800 (PARMS): Do not use macros from bp-asm.h.
22803 (__mpn_submul_1): Do not use BP_SYM.
22804 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22806 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22808 (PARMS): Do not use macros from bp-asm.h.
22813 (__clone): Do not use BP_SYM.
22814 (clone): Do not use BP_SYM in weak_alias.
22815 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22817 (PARMS): Do not use macros from bp-asm.h.
22819 (__mmap64): Do not use BP_SYM.
22820 (mmap64): Do not use BP_SYM in weak_alias.
22821 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22822 <bp-sym.h> and <bp-asm.h>.
22823 (PARMS): Do not use macros from bp-asm.h.
22824 (__posix_fadvise64_l64): Do not use BP_SYM.
22825 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22826 (PARMS): Do not use macros from bp-asm.h.
22828 (semtimedop): Do not use BP_SYM.
22829 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22832 2013-02-21 Allan McRae <allan@archlinux.org>
22834 * manual/message.texi (Charset conversion in gettext):
22835 Move @end statement to beginning of line.
22837 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22844 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22845 (denorm): Likewise.
22846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22849 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22851 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22852 tail-call to the resolved function if pltexit isn't needed.
22854 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22857 or Y being zero as being unlikely.
22858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22861 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22863 * manual/nss.texi (System Databases and Name Service Switch):
22864 Remove frobnicate @pxref.
22866 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22868 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22869 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22871 2013-02-20 Petr Machata <pmachata@redhat.com>
22873 * elf/elf.h (R_ARM_TARGET1): New macro.
22874 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22875 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22876 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22877 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22878 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22879 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22880 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22881 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22882 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22883 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22884 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22885 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22886 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22887 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22888 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22889 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22890 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22891 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22892 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22893 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22894 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22895 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22896 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22897 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22898 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22899 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22900 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22901 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22902 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22903 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22904 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22905 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22906 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22907 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22908 (R_ARM_THM_GOT_BREL12): Likewise.
22909 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22910 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22911 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22912 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22913 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22914 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22915 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22916 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22917 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22919 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22921 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22922 __attribute_used__ to __attribute__ ((unused)).
22924 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22926 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22929 comment formatting.
22930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22932 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22935 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22937 (ENTER): Remove both macro definitions.
22939 (CHECK_BOUNDS_LOW): Likewise.
22940 (CHECK_BOUNDS_HIGH): Likewise.
22941 (CHECK_BOUNDS_BOTH): Likewise.
22942 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22943 (RETURN_BOUNDED_POINTER): Likewise.
22944 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22945 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22946 (POP_ERRNO_LOCATION_RETURN): Likewise.
22947 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22948 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22949 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22951 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22952 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22953 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22954 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22955 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22956 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22957 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22958 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22959 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22960 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22961 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22962 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22963 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22964 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22966 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22967 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22969 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22970 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22971 * sysdeps/i386/i586/memset.S (memset): Likewise.
22972 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22973 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22974 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22976 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22977 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22978 Change uses of L(2) to L(out).
22979 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22980 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22981 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22982 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22983 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22985 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22986 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22988 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22989 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22990 (RETURN): Do not use macro LEAVE.
22991 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22992 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22993 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22994 * sysdeps/i386/i686/memset.S (memset): Likewise.
22995 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22996 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22997 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22998 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23000 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23001 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23002 L(1_2) and L(1_3) into L(1).
23003 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23004 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23005 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23006 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23007 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23008 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23009 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23010 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23011 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23013 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23014 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23015 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23016 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23017 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23018 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23019 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23020 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23021 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23022 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23023 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23024 * sysdeps/i386/strspn.S (strspn): Likewise.
23025 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23027 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23028 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23029 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23030 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23031 L(1_3) into L(1_1).
23032 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23033 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23034 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23036 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23038 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23040 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23043 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23045 * math/atest-exp.c (exp_mpn): Remove ROUND.
23046 * math/atest-exp2.c (exp_mpn): Likewise.
23047 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23049 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23050 * stdlib/tst-tls-atexit-lib.c: Likewise.
23051 * stdlib/tst-tls-atexit.c: Likewise.
23053 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23055 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23056 and __attribute_alloc_size__.
23058 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23060 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23061 __attribute_alloc_size__.
23062 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23063 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23065 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23067 * include/programs/xmalloc.h: New file.
23068 * catgets/gencat.c: Include it.
23069 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23070 * elf/pldd.c: Likewise.
23071 * iconv/iconv_charmap.c: Likewise.
23072 * iconv/iconvconfig.c: Likewise.
23073 * iconv/strtab.c: Likewise.
23074 * locale/programs/locale.c: Likewise.
23075 * locale/programs/localedef.h: Likewise.
23076 * locale/programs/simple-hash.c: Likewise.
23077 * nscd/nscd.h: Likewise.
23078 * nss/makedb.c: Likewise.
23079 * sysdeps/generic/ldconfig.h: Likewise.
23081 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23083 * Versions.def: Add GLIBC_2.18.
23084 * include/link.h (struct link_map): New member l_tls_dtor_count.
23085 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23086 (__call_tls_dtors): Likewise.
23087 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23088 __cxa_thread_atexit_impl.
23089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23097 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23105 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23106 (tests): Add test case tst-tls-atexit.
23107 (modules-names): Add shared library for tst-tls-atexit.
23108 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23109 (GLIBC_PRIVATE): Add __call_tls_dtors.
23110 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23112 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23113 * stdlib/tst-tls-atexit.c: New test case.
23114 * stdlib/tst-tls-atexit-lib.c: New test case.
23116 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23118 * elf/Versions (ld): Add _dl_find_dso_for_object.
23119 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23120 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23121 (dl_open_worker): Use _dl_find_dso_for_object.
23122 * elf/dl-sym.c (do_sym): Likewise.
23123 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23125 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23127 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23128 Syntactic changes only.
23129 (_dl_runtime_profile): Do a tail-call to the resolved function.
23131 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23134 * sysdeps/x86_64/bp-asm.h: Remove file.
23135 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23136 <bp-sym.h> and <bp-asm.h>.
23137 (__clone): Do not use BP_SYM.
23138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23139 <bp-sym.h> and <bp-asm.h>.
23140 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23141 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23143 (_setjmp): Do not use BP_SYM.
23144 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23146 (setjmp): Do not use BP_SYM.
23147 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23149 (mempcpy): Do not use BP_SYM in weak_alias.
23150 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23152 (strchr): Do not use BP_SYM.
23153 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23155 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23156 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23157 (_start): Do not use BP_SYM.
23158 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23160 (strcat): Do not use BP_SYM.
23161 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23163 (STRCMP): Do not use BP_SYM.
23164 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23166 (STRCPY): Do not use BP_SYM.
23167 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23169 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23171 (FUNCTION): Do not use BP_SYM.
23172 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23174 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23176 2013-02-17 Andreas Jaeger <aj@suse.de>
23178 * time/Versions: Sort entries.
23179 * string/Versions: Likewise.
23180 * resolv/Versions: Likewise.
23181 * posix/Versions: Likewise.
23182 * iconv/Versions: Likewise.
23183 * elf/Versions: Likewise.
23184 * wcsmbs/Versions: Likewise.
23186 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23188 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23189 loop termination condition.
23191 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23192 variable to calculate EZ.
23195 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23196 the lower precision input.
23198 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23201 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23202 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23203 (run-via-rtld-prefix): Do not handle %-bp tests.
23204 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23205 (all-object-suffixes): Remove .ob.
23206 (bppfx): Remove variable.
23207 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23208 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23209 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23210 [$(build-bounded) = yes] (libtype.ob): Likewise.
23211 * Makerules (elide-routines.ob): Remove variable.
23212 (do-tests-clean): Do not handle *-bp.out.
23213 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23214 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23215 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23216 (tests): Do not include $(tests-bp.out).
23217 (xtests): Do not include $(xtests-bp.out).
23218 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23219 [$(build-bounded) = yes] ($(addprefix
23220 $(objpfx),$(binaries-bounded))): Remove rule.
23221 ($(objpfx)%-bp.out): Remove rule.
23222 * config.make.in (build-bounded): Remove variable.
23223 * crypt/Makefile [$(build-bounded) = yes]
23224 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23225 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23226 append to variable.
23227 [$(build-bounded) = yes] (install-lib): Likewise.
23228 [$(build-bounded) = yes] (generated): Likewise.
23229 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23231 * intl/Makefile [$(build-bounded) = yes]
23232 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23233 * math/Makefile [$(build-bounded) = yes]
23234 ($(tests:%=$(objpfx)%-bp): Likewise.
23235 * misc/Makefile [$(build-bounded) = yes]
23236 ($(objpfx)tst-tsearch-bp): Likewise.
23237 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23238 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23240 * string/Makefile (o-objects.ob): Remove variable.
23241 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23242 (CFLAGS-.ob): Remove variable.
23243 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23244 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23245 both definitions of variable.
23246 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23247 (ASFLAGS-.ob): Remove variable.
23249 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23252 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23253 Remove __BOUNDED_POINTERS__ from condition.
23254 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23255 * string/bits/string2.h [!__NO_STRING_INLINES &&
23256 !__BOUNDED_POINTERS__]: Likewise.
23257 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23259 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23260 Remove conditional code.
23261 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23262 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23263 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23267 * csu/libc-start.c: Do not include <bp-sym.h>.
23268 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23269 * elf/dl-open.c: Do not include <bp-sym.h>.
23270 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23271 * math/fegetenv.c: Do not include <bp-sym.h>.
23272 (fegetenv): Do not use BP_SYM in versioned symbols.
23273 * nptl/sysdeps/pthread/bits/libc-lockP.h
23274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23277 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23279 (__pthread_mutex_destroy): Likewise.
23280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23281 (__pthread_mutex_lock): Likewise.
23282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23283 (__pthread_mutex_trylock): Likewise.
23284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23285 (__pthread_mutex_unlock): Likewise.
23286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23287 (__pthread_mutexattr_init): Likewise.
23288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23289 (__pthread_mutexattr_destroy): Likewise.
23290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23291 (__pthread_mutexattr_settype): Likewise.
23292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23293 (__pthread_rwlock_init): Likewise.
23294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23295 (__pthread_rwlock_destroy): Likewise.
23296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23297 (__pthread_rwlock_rdlock): Likewise.
23298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23299 (__pthread_rwlock_tryrdlock): Likewise.
23300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23301 (__pthread_rwlock_wrlock): Likewise.
23302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23303 (__pthread_rwlock_trywrlock): Likewise.
23304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23305 (__pthread_rwlock_unlock): Likewise.
23306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23307 (__pthread_key_create): Likewise.
23308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23309 (__pthread_setspecific): Likewise.
23310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23311 (__pthread_getspecific): Likewise.
23312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23315 (_pthread_cleanup_push_defer): Likewise.
23316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23317 (_pthread_cleanup_pop_restore): Likewise.
23318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23319 (pthread_setcancelstate): Likewise.
23320 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23322 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23323 (memchr): Do not use BP_SYM in weak_alias.
23324 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23325 (fegetenv): Do not use BP_SYM in versioned symbols.
23326 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23327 (fesetenv): Do not use BP_SYM in versioned symbols.
23328 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23329 (feupdateenv): Do not use BP_SYM in versioned symbols.
23330 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23331 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23332 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23333 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23334 (open64): Do not use BP_SYM in weak_alias.
23335 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23336 (fegetenv): Do not use BP_SYM in versioned symbols.
23337 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23338 (fesetenv): Do not use BP_SYM in versioned symbols.
23339 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23340 (feupdateenv): Do not use BP_SYM in versioned symbols.
23341 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23342 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23343 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23344 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23345 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23346 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23347 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23349 (__libc_start_main): Do not use BP_SYM.
23351 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23354 redundant return line.
23356 (denorm): Likewise.
23357 (dbl_mp): Likewise.
23358 (sub_magnitudes): Likewise.
23364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23366 (denorm): Likewise.
23367 (dbl_mp): Likewise.
23368 (sub_magnitudes): Likewise.
23375 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23377 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23378 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23381 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23382 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23383 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23384 of __mul for squares.
23385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23390 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23392 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23395 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23397 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23398 prototype or function definition. Rename ubp_* variables and
23399 parameters. Remove argv definitions conditional on
23400 [__BOUNDED_POINTERS__].
23401 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23402 * elf/dl-runtime.c (_dl_fixup): Likewise.
23403 * include/set-hooks.h (RUN_HOOK): Likewise.
23404 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23406 * string/strcpy.c (strcpy): Do not use __unbounded.
23407 * sysdeps/generic/frame.h (struct layout): Likewise.
23408 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23409 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23410 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23411 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23412 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23413 (__backtrace): Likewise.
23414 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23416 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23417 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23418 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23420 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23421 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23422 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23423 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23424 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23425 Do not use __unbounded.
23426 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23427 Rename __unboundedrlimits parameter to rlimits in prototype.
23428 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23429 Do not use __unbounded.
23430 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23431 not use __ptrvalue.
23432 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23433 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23434 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23435 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23436 __ptrvalue or __unbounded.
23437 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23438 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23440 (__new_msgctl): Do not use __ptrvalue.
23441 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23443 (__libc_msgrcv): Do not use __ptrvalue.
23444 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23445 startup_info): Do not use __unbounded.
23446 (__libc_start_main): Likewise. Rename ubp_* variables and
23447 parameters. Remove argv definitions conditional on
23448 [__BOUNDED_POINTERS__].
23449 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23451 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23453 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23455 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23457 (__new_shmctl): Do not use __ptrvalue.
23458 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23459 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23461 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23463 (__libc_sigaction): Likewise.
23464 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23465 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23467 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23469 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23471 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23473 * string/mempcpy.c: Implement by calling memcpy.
23475 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23477 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23482 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23483 values in the mantissa.
23485 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23486 minimize writes to Z.
23487 (sub_magnitudes): Simplify code a bit.
23489 2013-02-12 Roland McGrath <roland@hack.frob.com>
23491 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23492 from the message. The linker prefixes all warnings with that already.
23494 2013-02-12 Andreas Schwab <schwab@suse.de>
23497 * posix/regexec.c (extend_buffers): Add parameter min_len.
23498 (check_matching): Pass minimum needed length.
23499 (clean_state_log_if_needed): Likewise.
23500 (get_subexp): Likewise.
23501 * posix/Makefile (tests): Add bug-regex34.
23502 (bug-regex34-ENV): Define.
23503 * posix/bug-regex34.c: New file.
23506 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23507 elements compare against the byte sequence of it, not its name.
23508 * posix/Makefile (tests): Add bug-regex35.
23509 (bug-regex35-ENV): Define.
23510 * posix/bug-regex35.c: New file.
23512 2013-02-11 Tom de Vries <tom@codesourcery.com>
23514 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23516 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23517 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23518 (CHECK_EOL): Add undef.
23520 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23522 * bits/stdlib-bsearch.h: New file.
23523 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23524 * stdlib/stdlib.h: Likewise.
23526 2013-02-11 Roland McGrath <roland@hack.frob.com>
23528 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23529 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23531 * manual/search.texi (Array Search Function): Add missing const in
23533 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23534 declaration to use rlim_t.
23535 (Basic Scheduling Functions): Remove erroneous const from
23536 sched_getparam prototype. Remove erroneous * from
23537 sched_get_priority_max and sched_get_priority_min prototypes.
23538 (Resource Usage): Fix summary @comment on vtimes to refer to
23539 sys/vtimes.h rather than vtimes.h.
23540 Add missing *s in vtimes prototype.
23541 (Limits on Resources): Fix ulimit prototype to return long int.
23542 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23543 prototypes to use long int rather than double.
23544 (BSD Random): Fix initstate and setstate to use char *, not void *.
23545 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23546 prototype to make second argument 'struct aiocb64 *const[]'.
23547 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23548 (Status of AIO Operations): Remove erroneous const in aio_return and
23549 aio_return64 prototypes.
23550 (Synchronizing I/O): Fix sync prototype to return void.
23551 * manual/startup.texi (Suboptions): Remove an erroneous const in
23552 getsubopt prototype.
23553 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23554 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23555 use size_t rather than int.
23556 (Scanning All Users): Likewise for getpwent_r.
23557 (Setting Groups): Add missing const to setgroups prototype.
23558 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23559 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23560 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23561 'const void *' rather than 'const char *'.
23562 (Host Address Functions): Likewise for inet_ntop.
23563 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23564 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23565 ssize_t for return value.
23566 (Sending Data): Likewise for send, sendto, sendmsg.
23567 (Socket Option Functions): Add a missing const in setsockopt prototype.
23568 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23569 use wchar_t for the argument.
23570 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23571 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23573 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23574 double/float/long double for second argument.
23575 Fix return types of significand, significandf, significandl.
23576 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23577 argument in fchmod prototype.
23578 (File Owner): Use uid_t and gid_t in fchown prototype.
23579 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23580 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23581 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23582 use 'const struct dirent **' as argument types to CMP function pointer
23584 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23585 (File Times): Fix summary magic @comment for struct utimbuf and utime
23586 to refer to utime.h, not time.h.
23587 * manual/string.texi (Argz Functions): Add missing const in
23588 argz_extract and argz_next prototypes.
23589 (Finding Tokens in a String): Likewise for basename.
23590 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23591 (Copying and Concatenation): Fix typo in wmemmove prototype.
23592 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23593 (Signal Stack): Remove erroneous const in sigstack prototype.
23594 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23596 (Simple Calendar Time): Likewise for stime.
23597 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23599 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23600 say sys/sysctl.h instead.
23601 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23602 and vsyslog prototypes.
23604 2013-02-11 Tom de Vries <tom@codesourcery.com>
23606 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23609 2013-02-11 Roland McGrath <roland@hack.frob.com>
23611 * misc/sys/mman.h: Fix typo in mremap comment.
23613 2013-02-08 Roland McGrath <roland@hack.frob.com>
23615 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23616 the '\0' terminator.
23618 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23621 * debug/segfault.c: Don't include <bp-checks.h>.
23622 * sysdeps/generic/bp-checks.h: Remove file.
23623 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23624 (__GETDENTS): Don't use CHECK_N.
23625 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23626 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23627 (__getgroups): Don't use CHECK_N.
23628 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23629 (setgroups): Don't use CHECK_N.
23630 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23631 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23632 (__libc_msgrcv): Don't use CHECK_N.
23633 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23634 (__libc_msgsnd): Don't use CHECK_N.
23635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23637 (__libc_pread): Don't use CHECK_N.
23638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23639 include <bp-checks.h>.
23640 (__libc_pread64): Don't use CHECK_N.
23641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23642 include <bp-checks.h>.
23643 (__libc_pwrite): Don't use CHECK_N.
23644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23645 include <bp-checks.h>.
23646 (__libc_pwrite64): Don't use CHECK_N.
23647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23649 (__libc_pread): Don't use CHECK_N.
23650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23651 include <bp-checks.h>.
23652 (__libc_pread64): Don't use CHECK_N.
23653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23654 include <bp-checks.h>.
23655 (__libc_pwrite): Don't use CHECK_N.
23656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23657 include <bp-checks.h>.
23658 (__libc_pwrite64): Don't use CHECK_N.
23659 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23660 (do_pread): Don't use CHECK_N.
23661 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23662 (do_pread64): Don't use CHECK_N.
23663 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23664 (do_pwrite): Don't use CHECK_N.
23665 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23666 (do_pwrite64): Don't use CHECK_N.
23667 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23668 (__libc_readv): Don't use CHECK_N.
23669 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23670 (semop): Don't use CHECK_N.
23671 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23673 (semtimedop): Don't use CHECK_N.
23674 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23675 (__libc_pread): Don't use CHECK_N.
23676 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23678 (__libc_pread64): Don't use CHECK_N.
23679 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23681 (__libc_pwrite): Don't use CHECK_N.
23682 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23684 (__libc_pwrite64): Don't use CHECK_N.
23685 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23687 (__libc_msgrcv): Don't use CHECK_N.
23688 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23689 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23690 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23691 (__libc_writev): Don't use CHECK_N.
23693 2013-02-08 Roland McGrath <roland@hack.frob.com>
23695 * string/strcpy.c: Removed unused variable.
23697 * Makeconfig (+sysdep-includes): Define with := rather than =.
23698 Use an existing include/ subdir of each sysdeps dir before it.
23700 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23702 * nscd/connection.c (register_traced_file): Comment function.
23703 [HAVE_INOTIFY] (union __inev): Define.
23704 [HAVE_INOTIFY] (inotify_check_files): New function.
23705 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23706 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23708 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23710 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23712 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23713 loaded if not already and that a failure is permanent.
23715 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23718 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23719 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23721 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23724 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23725 (CHECK_1_NULL_OK): Likewise.
23726 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23727 (__fxstat): Do not use CHECK_1.
23728 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23730 (___fxstat64): Do not use CHECK_1.
23731 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23733 (__fxstatat): Do not use CHECK_1.
23734 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23736 (__fxstatat64): Do not use CHECK_1.
23737 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23739 (__fxstat): Do not use CHECK_1.
23740 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23742 (__fxstatat): Do not use CHECK_1.
23743 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23745 (__getresgid): Do not use CHECK_1.
23746 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23748 (__getresuid): Do not use CHECK_1.
23749 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23751 (__lxstat): Do not use CHECK_1.
23752 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23754 (__old_msgctl): Do not use CHECK_1.
23755 (__new_msgctl): Likewise.
23756 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23758 (__new_setrlimit): Do not use CHECK_1.
23759 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23761 (__old_shmctl): Do not use CHECK_1.
23762 (__new_shmctl): Likewise.
23763 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23765 (__xstat): Do not use CHECK_1.
23766 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23767 (__lxstat): Do not use CHECK_1.
23768 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23770 (___lxstat64): Do not use CHECK_1.
23771 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23772 (__old_msgctl): Do not use CHECK_1.
23773 (__new_msgctl): Likewise.
23774 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23776 (__gettimeofday): Do not use CHECK_1.
23777 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23778 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23779 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23781 (__gettimeofday): Do not use CHECK_1.
23782 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23783 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23784 (__new_shmctl): Do not use CHECK_1.
23785 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23787 (do_sigtimedwait): Do not use CHECK_1.
23788 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23790 (do_sigwaitinfo): Do not use CHECK_1.
23791 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23793 (msgctl): Do not use CHECK_1.
23794 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23796 (shmctl): Do not use CHECK_1.
23797 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23798 (ustat): Do not use CHECK_1.
23799 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23801 (__fxstat): Do not use CHECK_1.
23802 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23804 (__fxstatat): Do not use CHECK_1.
23805 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23807 (__lxstat): Do not use CHECK_1.
23808 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23810 (__xstat): Do not use CHECK_1.
23811 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23812 (__xstat): Do not use CHECK_1.
23813 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23814 (___xstat64): Do not use CHECK_1.
23817 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23819 (CHECK_BOUNDS_HIGH): Likewise.
23820 * string/strcpy.c: Do not include <bp-checks.h>.
23821 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23823 2013-02-07 Roland McGrath <roland@hack.frob.com>
23825 * nscd/nscd-client.h (__nscd_drop_map_ref):
23826 Add __attribute__ ((unused)).
23827 * nis/nss-nisplus.h (niserr2nss): Likewise.
23829 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23830 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23832 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23833 Remove inline keyword.
23834 * include/rounding-mode.h (round_away): Likewise.
23835 * libio/wfileops.c (adjust_wide_data): Likewise.
23836 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23837 (__m128i_strloadu_tolower): Likewise.
23838 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23839 (__m128i_strloadu_tolower): Likewise.
23840 * time/mktime.c (ydhms_diff): Likewise.
23841 * locale/elem-hash.h (elem_hash): Likewise.
23842 * locale/setlocale.c (setdata): Likewise.
23843 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23844 (re_string_wchar_at): Likewise.
23845 (bitset_not, bitset_merge, bitset_mask): Likewise.
23846 [!(__GNUC__ > 3)] (inline): Remove macro.
23847 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23848 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23849 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23850 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23851 * string/memcmp.c (memcmp_bytes): Likewise.
23852 * locale/programs/locarchive.c (compute_hashval): Likewise.
23853 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23854 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23855 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23856 * nss/getent.c (print_rpc, print_protocols): Likewise.
23857 (print_passwd, print_group, print_aliases): Likewise.
23858 * nis/nss-nisplus.h (niserr2nss): Likewise.
23859 * nscd/connections.c (restart_p): Likewise.
23860 Change return type to bool.
23862 2013-02-05 Roland McGrath <roland@hack.frob.com>
23864 * Makeconfig (all-Depend-files): Add existing
23865 $(sorted-subdirs:=/Depend) files.
23866 (all-subdirs): Remove nss.
23867 * sysdeps/unix/inet/Subdirs: Add it here instead.
23868 * hesiod/Depend: New file.
23870 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23871 instead of calling alloca.
23873 * io/lseek.c (__lseek): Rename to __libc_lseek.
23874 Define __lseek as an alias.
23876 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23878 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23880 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23881 else clause and remove check for non-standard endianness.
23883 2013-02-04 David S. Miller <davem@davemloft.net>
23885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23887 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23890 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23891 (__ubp_memchr): Remove prototype.
23892 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23893 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23894 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23895 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23896 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23898 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23899 (__ubp_memchr): Likewise.
23900 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23901 (__ubp_memchr): Likewise.
23902 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23903 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23904 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23905 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23907 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23908 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23909 (__getcwd): Do not use CHECK_STRING.
23910 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23912 (__real_chown): Do not use CHECK_STRING.
23913 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23915 (fchownat): Do not use CHECK_STRING.
23916 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23918 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23920 (__lchown): Do not use CHECK_STRING.
23921 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23922 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23923 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23924 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23926 include <bp-checks.h>.
23927 (truncate64): Do not use CHECK_STRING.
23928 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23930 (__real_chown): Do not use CHECK_STRING.
23931 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23933 (__lchown): Do not use CHECK_STRING.
23934 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23936 (__chown): Do not use CHECK_STRING.
23937 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23939 (truncate64): Do not use CHECK_STRING.
23940 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23942 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23943 (__xmknod): Do not use CHECK_STRING.
23944 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23946 (__xmknodat): Do not use CHECK_STRING.
23947 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23948 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23950 2013-02-04 Andreas Schwab <schwab@suse.de>
23953 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23954 * include/netdb.h: Likewise for h_errno.
23955 * elf/tst-stackguard1.c: Include <tls.h>.
23957 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23959 * elf/link.h (struct link_map): Extend the l_addr comment.
23960 * include/link.h (struct link_map): Likewise.
23962 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23965 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23966 (BOUNDED_1): Remove macro.
23967 * debug/backtrace.c: Don't include <bp-checks.h>.
23968 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23969 (__backtrace): Likewise.
23970 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23972 (__backtrace): Don't use BOUNDED_1.
23973 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23975 (__backtrace): Don't use BOUNDED_1.
23976 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23977 (__backtrace): Don't use BOUNDED_1.
23978 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23979 (shmat): Don't use BOUNDED_N.
23981 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23984 * sysdeps/generic/bp-start.h: Remove file.
23985 * csu/libc-start.c: Don't include <bp-start.h>.
23986 (LIBC_START_MAIN): Set up __environ directly instead of using
23987 INIT_ARGV_and_ENVIRON.
23988 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23992 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23994 (CHECK_FCNTL): Likewise.
23995 (CHECK_N_PAGES): Likewise.
23998 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24000 (CHECK_SIGSET_NULL_OK): Likewise.
24001 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24003 (sigpending): Don't use CHECK_SIGSET.
24004 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24006 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24007 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24009 (do_sigsuspend): Don't use CHECK_SIGSET.
24010 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24012 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24013 (do_sigwait): Don't use CHECK_SIGSET.
24014 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24016 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24017 include <bp-checks.h>.
24018 (sigpending): Don't use CHECK_SIGSET.
24019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24020 include <bp-checks.h>.
24021 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24022 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24024 (sigpending): Don't use CHECK_SIGSET.
24025 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24027 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24030 * sysdeps/generic/bp-semctl.h: Remove file.
24031 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24032 <bp-checks.h> and <bp-semctl.h>.
24033 (__old_semctl): Don't use CHECK_SEMCTL.
24034 (__new_semctl): Likewise.
24035 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24037 (__old_semctl): Don't use CHECK_SEMCTL.
24038 (__new_semctl): Likewise.
24039 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24040 <bp-checks.h> and <bp-semctl.h>.
24041 (__old_semctl): Don't use CHECK_SEMCTL.
24042 (__new_semctl): Likewise.
24043 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24044 <bp-checks.h> and <bp-semctl.h>.
24045 (semctl): Don't use CHECK_SEMCTL.
24048 * Makerules (elide-bp-thunks): Remove variable.
24049 (elide-routines.oS): Don't use $(elide-bp-thunks).
24050 (elide-routines.os): Likewise.
24051 (elide-routines.o): Likewise.
24052 (elide-routines.op): Likewise.
24053 (elide-routines.og): Likewise.
24054 (objects): Don't use $(bp-thunks).
24055 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24057 (common-generated): Do not add s-proto-bp.d.
24058 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24061 Do not generate makefile rules for bounded-pointer thunks.
24062 * sysdeps/generic/bp-thunks.h: Remove file.
24063 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24064 * sysdeps/unix/s-proto-bp.S: Likewise.
24067 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24068 parts of result separately when argument is not close to line from
24069 -i to i and one part of argument is small.
24070 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24071 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24072 * math/libm-test.inc (cacos_test): Add more tests.
24073 (casin_test): Likewise.
24074 (casinh_test): Likewise.
24075 * sysdeps/i386/fpu/libm-test-ulps: Update.
24076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24078 2013-01-31 David S. Miller <davem@davemloft.net>
24080 * po/de.po: Update from translation team.
24082 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24084 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24086 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24088 * configure.in (_AC_PROG_CC_C89): New definition.
24089 * configure: Regenerate.
24091 * configure.in (AC_PROG_CPP): New definition.
24092 * configure: Regenerate.
24094 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24096 * debug/tst-backtrace.h: New file.
24097 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24098 (ret): Remove variable.
24100 (FAIL): Remove macro.
24101 (NO_INLINE): Likewise.
24102 (fn1): Use match function instead of strstr.
24103 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24104 (ret): Remove variable.
24106 (FAIL): Remove macro.
24107 (NO_INLINE): Likewise.
24108 (fn): Use match function instead of strstr.
24109 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24110 (ret): Remove variable.
24112 (FAIL): Remove macro.
24113 (NO_INLINE): Likewise.
24114 (handle_signal): Use match function instead of strstr.
24115 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24116 (ret): Remove variable.
24118 (FAIL): Remove macro.
24119 (NO_INLINE): Likewise.
24120 (handle_signal): Use match function instead of strstr.
24122 2013-01-23 Roland McGrath <roland@hack.frob.com>
24124 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24126 2013-01-23 David S. Miller <davem@davemloft.net>
24128 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24129 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24130 argument of CAS if possible.
24131 * sysdeps/sparc/sparc64/bits/atomic.h
24132 (__arch_compare_and_exchange_val_32_acq): Likewise.
24133 (__arch_compare_and_exchange_val_64_acq): Likewise.
24135 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24137 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24138 * sysdeps/posix/ulimit.c: ... this.
24139 Include <limits.h>.
24140 * sysdeps/unix/bsd/ulimit.c: Remove file.
24142 2013-01-23 Adam Conrad <adconrad@0c3.net>
24144 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24145 (LDFLAGS-tst-array5): Likewise.
24147 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24150 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24151 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24152 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24153 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24155 2013-01-21 David S. Miller <davem@davemloft.net>
24157 * sysdeps/sparc/backtrace.c: New file.
24158 * sysdeps/sparc/sparc32/backtrace.h: New file.
24159 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24160 * sysdeps/sparc/sparc64/backtrace.h: New file.
24161 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24162 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24165 2013-01-21 Andreas Schwab <schwab@suse.de>
24168 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24171 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24177 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24178 Mark Mitchell <mark@codesourcery.com>
24179 Tom de Vries <tom@codesourcery.com>
24180 Paul Pluzhnikov <ppluzhnikov@google.com>
24182 * debug/tst-backtrace2.c: New file.
24183 * debug/tst-backtrace3.c: Likewise.
24184 * debug/tst-backtrace4.c: Likewise.
24185 * debug/tst-backtrace5.c: Likewise.
24186 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24187 (CFLAGS-tst-backtrace3.c): Likewise.
24188 (CFLAGS-tst-backtrace4.c): Likewise.
24189 (CFLAGS-tst-backtrace5.c): Likewise.
24190 (LDFLAGS-tst-backtrace2): Likewise.
24191 (LDFLAGS-tst-backtrace3): Likewise.
24192 (LDFLAGS-tst-backtrace4): Likewise.
24193 (LDFLAGS-tst-backtrace5): Likewise.
24194 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24195 tst-backtrace4 and tst-backtrace5.
24197 2013-01-18 Anton Blanchard <anton@samba.org>
24198 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24200 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24201 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24202 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24203 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24205 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24206 "+r" and remove output regs list as redundant. Add explicit inline
24207 asm to specify register of return val to work around compiler codegen
24208 bug. Remove (int) cast on return value. Add return type parameter to
24209 use in macro so that this macro does not truncate return value for
24211 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24212 pass to INTERNAL_VSYSCALL_NCS.
24213 (INLINE_VSYSCALL): Add 'long int' as return type to
24214 INTERNAL_VSYSCALL_NCS macro invocation.
24215 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24216 INTERNAL_VSYSCALL_NCS macro invocation.
24217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24219 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24222 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24223 Fix application of SIMD FP exception mask.
24225 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24226 mp_no from a power of two.
24227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24228 __mpexp_twomm1. Use __pow_mp.
24230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24233 2013-01-17 David S. Miller <davem@davemloft.net>
24235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24237 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24240 * include/complex.h: Condition contents on [!_COMPLEX_H].
24241 (__kernel_casinhf): New prototype.
24242 (__kernel_casinh): Likewise.
24243 (__kernel_casinhl): Likewise.
24244 * math/Makefile (libm_calls): Add k_casinh.
24245 * math/k_casinh.c: New file.
24246 * math/k_casinhf.c: Likewise.
24247 * math/k_casinhl.c: Likewise.
24248 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24249 finite nonzero arguments.
24250 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24251 finite nonzero arguments.
24252 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24253 finite nonzero arguments.
24254 * math/s_casinh.c: Do not include <float.h>.
24255 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24256 * math/s_casinhf.c: Do not include <float.h>.
24257 (__casinhf): Move code for finite nonzero arguments to
24259 * math/s_casinhl.c: Do not include <float.h>.
24260 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24262 (__casinhl): Move code for finite nonzero arguments to
24264 * math/libm-test.inc (cacos_test): Add more tests.
24265 * sysdeps/i386/fpu/libm-test-ulps: Update.
24266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24268 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24270 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24271 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24272 [!HAVE_MREMAP]: Remove [defined linux] case.
24273 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24275 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24277 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24279 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24281 * elf/elf.h (R_386_SIZE32): New relocation.
24282 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24284 (elf_machine_rela): Likewise.
24285 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24286 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24288 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24290 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24291 (FP_FAST_FMA): Do not define.
24292 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24293 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24294 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24295 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24296 !_SOFT_FLOAT]: Likewise.
24297 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24298 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24300 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24301 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24302 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24303 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24304 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24305 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24308 2013-01-16 Andreas Schwab <schwab@suse.de>
24311 * include/stdlib.h (__mktemp): Add declaration.
24312 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24313 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24315 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24317 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24319 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24320 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24321 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24323 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24324 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24326 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24328 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24329 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24330 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24332 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24333 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24335 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24337 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24339 2013-01-15 David S. Miller <davem@davemloft.net>
24341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24342 trunc{,f} to libm-sysdep_routes.
24343 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24353 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24354 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24355 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24356 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24357 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24358 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24361 nearbyint{,f} to libm-sysdep_routes.
24362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24373 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24375 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24376 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24379 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24380 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24382 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24383 libc_feholdexcept and libc_fesetenv.
24385 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24387 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24389 2013-01-14 David S. Miller <davem@davemloft.net>
24391 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24392 (SPARC_ASM_VIS2_IFUNC): Likewise.
24393 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24395 use of 'siam' instruction.
24396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24404 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24429 routines to libm-sysdep_routines.
24430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24433 fdim/fdimf to libm-sysdep_routines.
24434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24442 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24443 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24444 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24445 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24447 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24449 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24450 to optimize copies.
24452 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24457 local variable MPTWO.
24458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24461 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24463 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24466 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24468 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24470 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24472 * manual/pattern.texi (glob_t): Document gl_flags.
24473 (glob64_t): Likewise.
24475 2013-01-11 David S. Miller <davem@davemloft.net>
24477 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24478 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24479 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24480 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24481 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24482 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24483 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24484 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24485 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24486 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24487 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24488 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24489 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24491 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24492 sparc V9 rather than using V8 code.
24493 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24494 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24496 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24498 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24501 2013-01-11 Roland McGrath <roland@hack.frob.com>
24503 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24504 not in the main loop.
24505 * configure: Regenerated.
24507 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24509 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24510 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24512 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24513 [!__GLIBC_HAVE_LONG_LONG] case.
24514 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24515 condition to just #else.
24516 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24517 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24518 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24519 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24521 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24522 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24523 #elif condition to just #else.
24524 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24525 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24526 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24527 #elif condition to just #else.
24529 2013-01-11 Steve Ellcey <sellcey@mips.com>
24531 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24532 (EF_MIPS_ARCH_64): Fix value.
24533 (EF_MIPS_ARCH_32R2): New.
24534 (EF_MIPS_ARCH_64R2): New.
24536 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24538 * Makeconfig (+link-pie-before-libc): New.
24539 (+link-pie-after-libc): Likewise.
24540 (+link-pie-tests): Likewise.
24541 (+link-pie): Rewritten.
24542 (link-before-libc): Remove $(config-LDFLAGS).
24543 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24544 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24545 (config-LDFLAGS): Renamed to ...
24546 (rtld-LDFLAGS): This.
24547 (rtld-tests-LDFLAGS): New macro.
24548 (link-libc-rpath-link): Likewise.
24549 (link-libc-tests-rpath-link): Likewise.
24550 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24551 (link-libc): Prepand $(link-libc-rpath-link).
24552 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24553 (test-program-prefix): New macro.
24554 (test-via-rtld-prefix): Likewise.
24555 (test-program-cmd): Likewise.
24556 (host-test-program-cmd): Likewise.
24557 * Makefile ($(common-objpfx)testrun.sh): Replace
24558 $(run-program-prefix) with $(test-program-prefix).
24559 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24561 ($(common-objpfx)shlib.lds): Likewise.
24562 (build-module-helper): Likewise.
24563 ($(common-objpfx)format.lds): Likewise.
24564 * Rules (binaries-pie-tests): New.
24565 (binaries-pie-notests): Likewise.
24566 (binaries-pie): Rewritten.
24567 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24568 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24569 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24570 (make-test-out): Replace $(host-built-program-cmd) with
24571 $(host-test-program-cmd).
24572 * config.make.in (build-hardcoded-path-in-tests): New variable.
24573 * configure.in (--enable-hardcoded-path-in-tests): New configure
24575 (hardcoded_path_in_tests): New AC_SUBST.
24576 * configure: Regenerated.
24577 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24578 $(built-program-cmd) with $(test-program-cmd).
24579 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24580 (test_program_cmd): This.
24581 * elf/Makefile ($(objpfx)order.out): Run test with
24582 $(test-program-prefix).
24583 ($(objpfx)order2.out): Likewise.
24584 ($(objpfx)tst-initorder.out): Likewise.
24585 ($(objpfx)tst-initorder2.out): Likewise.
24586 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24587 $(test-program-cmd).
24588 ($(objpfx)tst-array1-static.out): Likewise.
24589 ($(objpfx)tst-array2.out): Likewise.
24590 ($(objpfx)tst-array3.out): Likewise.
24591 ($(objpfx)tst-array4.out): Likewise.
24592 ($(objpfx)tst-array5.out): Likewise.
24593 ($(objpfx)tst-array5-static.out): Likewise.
24594 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24595 $(test-program-cmd).
24596 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24597 $(run-program-prefix) with $(test-program-prefix).
24598 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24599 (test_program_prefix): This.
24600 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24601 $(run-program-prefix) with $(test-program-prefix).
24602 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24603 (test_program_prefix): This.
24604 * iconvdata/tst-tables.sh: Likewise.
24605 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24606 $(run-program-prefix) with $(test-program-prefix).
24607 ($(objpfx)tst-translit.out): Likewise.
24608 ($(objpfx)tst-gettext2.out): Likewise.
24609 ($(objpfx)tst-gettext4.out): Likewise.
24610 ($(objpfx)tst-gettext6.out): Likewise.
24611 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24612 (test_program_prefix): This.
24613 * intl/tst-gettext2.sh: Likewise.
24614 * intl/tst-gettext4.sh Likewise.
24615 * intl/tst-gettext6.sh: Likewise.
24616 * intl/tst-translit.sh: Likewise.
24617 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24618 with $(test-program-cmd).
24619 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24620 $(run-program-prefix) with $(test-program-prefix).
24621 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24622 (test_program_prefix): This.
24623 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24624 $(run-program-prefix) with $(test-program-prefix).
24625 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24626 (test_program_prefix): This.
24627 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24628 * posix/Makefile ($(objpfx)globtest.out): Replace
24629 $(run-via-rtld-prefix) and $(test-wrapper) with
24630 $(test-program-prefix) and $(test-via-rtld-prefix).
24631 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24632 $(test-program-prefix).
24633 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24634 $(host-test-program-cmd).
24635 (tst-spawn-ARGS): Likewise.
24636 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24637 $(test-program-prefix).
24638 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24639 (test_via_rtld_prefix): This.
24640 (test_wrapper): Renamed to ...
24641 (test_program_prefix): This.
24642 (run_program_prefix): Replaced by test_program_prefix.
24643 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24644 (test_program_prefix): This.
24645 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24646 with $(host-test-program-cmd).
24647 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24648 $(run-program-prefix) with $(test-program-prefix).
24649 ($(objpfx)tst-printf.out): Likewise.
24650 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24651 $(test-program-cmd).
24652 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24653 (test_program_prefix): This.
24654 * stdio-common/tst-unbputc.sh: Likewise.
24655 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24656 $(run-program-prefix) with $(test-program-prefix).
24657 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24658 (test_program_prefix): This.
24659 * string/Makefile ($(objpfx)tst-svc.out): Replace
24660 $(built-program-cmd) with $(test-program-cmd).
24662 2013-01-11 Andreas Jaeger <aj@suse.de>
24665 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24666 value. Sync with Linux 3.7.
24668 2013-01-10 David S. Miller <davem@davemloft.net>
24670 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24671 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24672 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24674 2013-01-10 Roland McGrath <roland@hack.frob.com>
24676 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24678 * configure: Regenerated.
24680 2013-01-10 David S. Miller <davem@davemloft.net>
24682 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24683 sparc V9 rather than using V8 code.
24684 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24685 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24687 2013-01-10 Roland McGrath <roland@hack.frob.com>
24689 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24690 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24691 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24692 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24693 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24694 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24695 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24696 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24697 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24698 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24699 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24700 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24701 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24702 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24703 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24704 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24705 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24706 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24707 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24708 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24709 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24710 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24711 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24712 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24713 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24714 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24715 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24717 2013-01-10 David S. Miller <davem@davemloft.net>
24719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24721 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24723 * posix/Makefile (tests-static): New variable.
24724 (tests): Add $(tests-static).
24725 (tst-exec-static-ARGS): New variable.
24726 (tst-spawn-static-ARGS): Likewise.
24727 * posix/tst-exec-static.c: New file.
24728 * posix/tst-spawn-static.c: Likewise.
24729 * posix/tst-exec.c: Support run directly.
24730 * posix/tst-spawn.c: Likewise.
24732 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24734 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24736 * math/bits/mathcalls.h (llrint): Likewise.
24737 (llround): Likewise.
24738 * stdlib/stdlib.h (struct drand48_data): Likewise.
24739 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24740 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24741 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24743 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24745 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24746 (elf_greg_t): Likewise.
24747 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24748 (__jmp_buf): Likewise.
24749 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24751 (llrint): Likewise, for all definitions.
24752 (llrintl): Likewise.
24754 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24755 Remove [__GNUC__] condition.
24756 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24757 condition to just [__USE_ISOC99].
24758 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24760 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24763 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24764 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24766 (_POSIX_V6_ILP32_OFF32): Likewise.
24767 (_XBS5_ILP32_OFF32): Likewise.
24768 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24769 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24771 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24773 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24775 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24776 doubles __mpexp_twomm1. Adjust usage.
24777 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24780 2013-01-10 Andreas Schwab <schwab@suse.de>
24783 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24784 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24786 2013-01-09 David S. Miller <davem@davemloft.net>
24789 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24790 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24791 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24792 (TCP_FASTOPEN): Define.
24793 (tcp_repair_opt): New structure.
24794 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24796 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24797 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24798 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24799 (tcp_cookie_transactions): New structure.
24801 2013-01-09 Anton Blanchard <anton@samba.org>
24803 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24804 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24805 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24806 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24808 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24810 * include/features.h (__USE_ANSI): Remove.
24812 2013-01-09 Roland McGrath <roland@hack.frob.com>
24814 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24816 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24818 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24820 * sysdeps/s390/fpu/libm-test-ulps: Update.
24822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24824 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24828 (denorm): Likewise.
24829 (__mp_dbl): Likewise.
24830 (__dbl_mp): Likewise.
24831 (add_magnitudes): Likewise.
24832 (sub_magnitudes): Likewise.
24838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24842 (denorm): Likewise.
24843 (__mp_dbl): Likewise.
24844 (__dbl_mp): Likewise.
24845 (add_magnitudes): Likewise.
24846 (sub_magnitudes): Likewise.
24852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24856 (denorm): Likewise.
24857 (__mp_dbl): Likewise.
24858 (__dbl_mp): Likewise.
24859 (add_magnitudes): Likewise.
24860 (sub_magnitudes): Likewise.
24867 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24869 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24870 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24871 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24872 2 && __USE_EXTERN_INLINES]: Likewise.
24874 2013-01-08 Andreas Jaeger <aj@suse.de>
24877 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24879 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24880 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24882 2013-01-07 Anton Blanchard <anton@samba.org>
24884 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24885 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24886 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24887 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24888 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24889 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24890 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24891 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24893 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24894 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24895 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24896 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24897 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24898 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24899 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24900 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24901 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24902 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24903 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24904 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24905 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24906 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24907 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24908 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24909 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24910 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24911 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24912 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24913 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24914 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24916 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24917 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24918 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24919 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24920 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24921 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24922 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24924 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24925 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24926 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24928 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24930 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24931 (__MALLOC_PMT): Likewise.
24932 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24933 [__GNUC__], only on [_LIBC].
24934 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24935 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24936 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24937 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24938 forward declaration.
24939 (realloc_hook_ini): Likewise.
24940 (memalign_hook_ini): Likewise.
24941 (__libc_memalign): Do not use __MALLOC_PMT in variable
24943 (__libc_valloc): Likewise.
24944 (__libc_pvalloc): Likewise.
24945 (__libc_calloc): Likewise.
24946 (__posix_memalign): Likewise.
24949 * math/s_casinh.c: Include <float.h>.
24950 (__casinh): Do not do computation with squaring and square root
24951 for large arguments.
24952 * math/s_casinhf.c: Include <float.h>.
24953 (__casinhf): Do not do computation with squaring and square root
24954 for large arguments.
24955 * math/s_casinhl.c: Include <float.h>.
24956 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24957 (__casinhl): Do not do computation with squaring and square root
24958 for large arguments.
24959 * math/libm-test.inc (casin_test): Add more tests.
24960 (casinh_test): Likewise.
24961 * sysdeps/i386/fpu/libm-test-ulps: Update.
24962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24964 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24966 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24967 (__x86_64_raw_data_cache_size): Likewise.
24968 (__x86_64_data_cache_size_half): Likewise.
24969 (__x86_64_raw_data_cache_size_half): Likewise.
24970 (__x86_64_shared_cache_size): Likewise.
24971 (__x86_64_raw_shared_cache_size): Likewise.
24972 (__x86_64_shared_cache_size_half): Likewise.
24973 (__x86_64_raw_shared_cache_size_half): Likewise.
24974 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24976 (__x86_data_cache_size): This.
24977 (__x86_64_raw_data_cache_size): Renamed to ...
24978 (__x86_raw_data_cache_size): This.
24979 (__x86_64_data_cache_size_half): Renamed to ...
24980 (__x86_data_cache_size_half): This.
24981 (__x86_64_raw_data_cache_size_half): Renamed to ...
24982 (__x86_raw_data_cache_size_half): This.
24983 (__x86_64_shared_cache_size): Renamed to ...
24984 (__x86_shared_cache_size): This.
24985 (__x86_64_raw_shared_cache_size): Renamed to ...
24986 (__x86_raw_shared_cache_size): This.
24987 (__x86_64_shared_cache_size_half): Renamed to ...
24988 (__x86_shared_cache_size_half): This.
24989 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24990 (__x86_raw_shared_cache_size_half): This.
24991 * sysdeps/x86_64/memcpy.S: Updated.
24992 * sysdeps/x86_64/memset.S: Likewise.
24993 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24994 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24995 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24997 2013-01-04 David S. Miller <davem@davemloft.net>
24999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25001 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25003 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25004 1 to avoid redefinition warning.
25005 (__USE_GNU): Don't define.
25006 (init_signaling_nan): Protoize.
25008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25010 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25012 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25014 (__cpymn): Likewise.
25015 (norm): Remove commented code.
25016 (denorm): Likewise.
25017 (__mp_dbl): Likewise.
25019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25020 (__cpymn): Likewise.
25021 (norm): Remove commented code.
25022 (denorm): Likewise.
25023 (__mp_dbl): Likewise.
25026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25027 mp_no value for 1.0 and 2.0.
25028 (norm): Use RADIXI instead of radixi.d.
25029 (denorm): Likewise.
25030 (__mul): Use 0.0 instead of zero.d.
25031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25032 mp_no value for 1.0 and 2.0.
25033 (norm): Use RADIXI instead of radixi.d.
25034 (denorm): Likewise.
25035 (__mul): Use 0.0 instead of zero.d.
25037 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25040 * math/s_casinh.c (__casinh): Reduce finite argument to first
25041 quadrant then set signs of results at the end.
25042 * math/s_casinhf.c (__casinhf): Likewise.
25043 * math/s_casinhl.c (__casinhl): Likewise.
25044 * math/libm-test.inc (casin_test): Add more tests.
25045 (casinh_test): Likewise.
25046 * sysdeps/i386/fpu/libm-test-ulps: Update.
25047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25049 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25051 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25053 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25055 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25057 (denorm): Likewise.
25058 (__mp_dbl): Likewise.
25061 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25062 and adjust the header comment.
25064 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25065 variable name from declaration.
25067 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25070 Initialize COMMON_CPUID_INDEX_7 element.
25071 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25072 (CPUID_RTM): Likewise.
25073 (HAS_RTM): Likewise.
25074 (COMMON_CPUID_INDEX_7): New enum.
25076 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25079 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25080 size is zero, record memory as freed.
25082 2013-01-03 Andreas Jaeger <aj@suse.de>
25084 * po/ia.po: Add new Interlingua translation.
25086 2012-01-03 Allan McRae <allan@archlinux.org>
25088 * locale/programs/localedef.c: Fix description of '--posix' flag.
25090 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25092 * NEWS: Update dates in second copyright notice.
25093 * README: Update copyright dates in example.
25094 * manual/libc.texinfo: Update copyright dates.
25095 * scripts/test-installation.pl: Update copyright date in --version
25098 * hurd/ctty-input.c: Fix copyright notice formatting.
25099 * hurd/ctty-output.c: Likewise.
25100 * hurd/dtable.c: Likewise.
25101 * hurd/hurd-raise.c: Likewise.
25102 * hurd/hurdprio.c: Likewise.
25103 * hurd/msgportdemux.c: Likewise.
25104 * misc/sys/file.h: Likewise.
25105 * misc/sys/ioctl.h: Likewise.
25106 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25107 * sysdeps/mach/hurd/chdir.c: Likewise.
25108 * sysdeps/mach/hurd/fchdir.c: Likewise.
25109 * sysdeps/mach/hurd/rename.c: Likewise.
25110 * sysdeps/mach/hurd/rmdir.c: Likewise.
25111 * sysdeps/mach/hurd/seekdir.c: Likewise.
25112 * sysdeps/mach/hurd/setsid.c: Likewise.
25113 * sysdeps/posix/wait3.c: Likewise.
25115 * All files with FSF copyright notices: Update copyright dates
25116 using scripts/update-copyrights.
25117 * intl/plural.c: Regenerated.
25118 * locale/programs/charmap-kw.h: Likewise.
25119 * locale/programs/locfile-kw.h: Likewise.
25121 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25123 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25126 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25127 calculation loop and add branch prediction.
25129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25130 check access beyond bounds of m1np.
25132 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25134 (__inv): Remove local variable MPTWO to use the global
25136 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25137 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25139 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25140 MP3HALFS static const.
25142 2013-01-01 David S. Miller <davem@davemloft.net>
25144 * po/ca.po: Update from translation team.
25146 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25148 * scripts/update-copyrights: New file.
25149 * Makeconfig: Reformat copyright notice.
25150 * ctype/ctype.h: Likewise.
25151 * debug/swprintf_chk.c: Likewise.
25152 * elf/dl-cache.c: Likewise.
25153 * elf/dl-debug.c: Likewise.
25154 * elf/dl-object.c: Likewise.
25155 * grp/initgroups.c: Likewise.
25156 * hurd/Makefile: Likewise.
25157 * hurd/hurd/signal.h: Likewise.
25158 * hurd/hurdfault.c: Likewise.
25159 * hurd/hurdioctl.c: Likewise.
25160 * hurd/hurdlookup.c: Likewise.
25161 * hurd/intr-msg.c: Likewise.
25162 * iconv/gconv_open.c: Likewise.
25163 * libio/swprintf.c: Likewise.
25164 * locale/lc-ctype.c: Likewise.
25165 * locale/nl_langinfo.c: Likewise.
25166 * mach/Machrules: Likewise.
25167 * mach/Makefile: Likewise.
25168 * malloc/obstack.h: Likewise.
25169 * manual/Makefile: Likewise.
25170 * manual/tsort.awk: Likewise.
25171 * misc/bits/stab.def: Likewise.
25172 * nis/nis_print_group_entry.c: Likewise.
25173 * nis/nis_table.c: Likewise.
25174 * nis/nss_compat/compat-pwd.c: Likewise.
25175 * nis/nss_compat/compat-spwd.c: Likewise.
25176 * po/Makefile: Likewise.
25177 * posix/fnmatch.c: Likewise.
25178 * posix/regex.h: Likewise.
25179 * resolv/Makefile: Likewise.
25180 * resolv/nss_dns/dns-network.c: Likewise.
25181 * resolv/res_hconf.c: Likewise.
25182 * scripts/gen-sorted.awk: Likewise.
25183 * soft-fp/soft-fp.h: Likewise.
25184 * stdio-common/printf.h: Likewise.
25185 * stdlib/monetary.h: Likewise.
25186 * stdlib/random.c: Likewise.
25187 * stdlib/random_r.c: Likewise.
25188 * sysdeps/generic/Makefile: Likewise.
25189 * sysdeps/gnu/Makefile: Likewise.
25190 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25192 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25197 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25198 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25199 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25200 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25201 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25202 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25203 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25204 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25205 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25206 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25207 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25208 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25209 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25210 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25211 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25212 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25213 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25214 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25216 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25218 * sysdeps/mach/hurd/errnos.awk: Likewise.
25219 * sysdeps/mach/hurd/fork.c: Likewise.
25220 * sysdeps/mach/hurd/getcwd.c: Likewise.
25221 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25222 * sysdeps/mach/hurd/mmap.c: Likewise.
25223 * sysdeps/mach/hurd/utimes.c: Likewise.
25224 * sysdeps/mach/hurd/xmknod.c: Likewise.
25225 * sysdeps/posix/profil.c: Likewise.
25226 * sysdeps/posix/readdir_r.c: Likewise.
25227 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25228 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25229 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25230 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25232 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25233 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25234 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25236 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25237 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25238 * sysdeps/pthread/lio_listio.c: Likewise.
25239 * sysdeps/sparc/dl-procinfo.h: Likewise.
25240 * sysdeps/unix/i386/sysdep.S: Likewise.
25241 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25242 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25243 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25244 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25246 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25247 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25248 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25249 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25250 * sysdeps/wordsize-32/divdi3.c: Likewise.
25251 * time/sys/time.h: Likewise.
25252 * wcsmbs/Makefile: Likewise.
25254 2013-01-01 David S. Miller <davem@davemloft.net>
25256 * po/fr.po: Update from translation team.
25258 * catgets/gencat.c: Update copyright year.
25259 * csu/version.c: Likewise.
25260 * debug/catchsegv.sh: Likewise.
25261 * debug/pcprofiledump.c: Likewise.
25262 * debug/xtrace.sh: Likewise.
25263 * elf/ldconfig.c: Likewise.
25264 * elf/ldd.bash.in: Likewise.
25265 * elf/pldd.c: Likewise.
25266 * elf/sotruss.ksh: Likewise.
25267 * elf/sprof.c: Likewise.
25268 * iconv/iconv_prog.c: Likewise.
25269 * iconv/iconvconfig.c: Likewise.
25270 * locale/programs/locale.c: Likewise.
25271 * locale/programs/localedef.c: Likewise.
25272 * login/programs/pt_chown.c: Likewise.
25273 * malloc/memusage.sh: Likewise.
25274 * malloc/memusagestat.c: Likewise.
25275 * malloc/mtrace.pl: Likewise.
25276 * nscd/nscd.c: Likewise.
25277 * nss/getent.c: Likewise.
25278 * nss/makedb.c: Likewise.
25279 * posix/getconf.c: Likewise.
25281 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25283 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25286 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25288 * math/bits/mathcalls.h (modf): Use __nonnull.
25290 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25292 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25293 (split): Use macro CN instead of the bare value.
25294 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25296 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25297 instead of the bare value.
25298 (power1): Likewise.
25300 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25302 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25304 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25306 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25308 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25309 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25310 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25311 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25313 2012-12-28 Andreas Jaeger <aj@suse.de>
25315 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25316 values are from Linux 3.7.
25318 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25319 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25321 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25323 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25326 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25328 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25329 variables with preprocessor constants.
25330 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25331 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25332 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25334 2012-12-27 Bruno Haible <bruno@clisp.org>
25337 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25340 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25342 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25343 and use variable directly.
25344 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25346 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25348 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25349 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25351 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25353 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25354 include directive. Remove local variable MPONE.
25355 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25356 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25357 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25359 2012-12-25 David S. Miller <davem@davemloft.net>
25361 * version.h (RELEASE): Set to "development".
25362 (VERSION): Set to "2.17.90".
25363 * NEWS: Add 2.18 section.
25365 2012-12-21 David S. Miller <davem@davemloft.net>
25367 * po/hr.po: Update from translation team.
25369 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25371 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25373 2012-12-19 Steve Ellcey <sellcey@mips.com>
25375 * NEWS: Mention new memcpy for MIPS.
25377 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25379 * manual/contrib.texi (Contributors): Spelling correction.
25381 2012-12-15 David S. Miller <davem@davemloft.net>
25383 * po/ru.po: Update from translation team.
25385 2012-12-13 David S. Miller <davem@davemloft.net>
25387 * NEWS: Mention IFUNC testsuite enhancements.
25389 * po/pl.po: Update from translation team.
25390 * po/bg.po: Likewise.
25392 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25393 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25395 2012-12-11 David S. Miller <davem@davemloft.net>
25397 * po/sv.po: Update from translation team.
25399 * po/vi.po: Update from translation team.
25401 * po/cs.po: Update from translation team.
25403 * po/de.po: Update from translation team.
25404 * po/eo.po: Likewise.
25405 * po/nl.po: Likewise.
25407 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25410 * manual/argp.texi (Argp Helper Functions): Move node to follow
25411 Argp Parsing State.
25414 * manual/conf.texi (Limits on File System Capacity): Mention if
25415 terminating null is included in the max size.
25417 2012-12-10 Andreas Jaeger <aj@suse.de>
25419 * po/cs.po: Update from translation team.
25421 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25423 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25424 void pointer and cast to uintptr_t.
25425 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25427 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25428 * sysdeps/s390/s390-64/memset.S: Likewise.
25430 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25433 * menual/message.texi (Message Translation): Fix typos.
25434 (Helper programs for gettext): Likewise.
25436 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25439 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25442 2012-12-07 David S. Miller <davem@davemloft.net>
25444 * po/libc.pot: Update.
25446 2012-12-07 Richard Henderson <rth@redhat.com>
25449 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25450 normal/normal case to before the switch.
25451 (_FP_DIV): Likewise.
25453 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25454 Mike Frysinger <vapier@gentoo.org>
25456 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25457 check for __NR_fadvise64_64.
25459 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25461 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25462 0, not just to plain "0" as a statement.
25463 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25466 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25468 * NEWS: Use sourceware.org in Bugzilla URL.
25470 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25473 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25475 * stdio-common/tst-put-error.c (do_test): Add newline to the
25476 padded test to ensure flush.
25478 2012-12-05 Jeff Law <law@redhat.com>
25480 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25482 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25484 * README: Don't refer to ports add-on as distributed separately.
25485 Mention AArch64 in list of systems supported in the ports add-on.
25487 * LICENSES: Add more non-FSF copyright and license notices.
25489 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25492 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25494 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25495 10000 as width of padded output.
25497 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25499 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25501 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25502 variable LX with __attribute__ ((unused)).
25503 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25505 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25506 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25507 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25508 with __attribute__ ((unused)).
25510 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25512 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25514 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25516 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25517 (CFLAGS-nldbl-acos.c): New variable.
25518 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25519 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25520 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25521 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25522 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25523 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25524 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25525 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25526 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25527 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25528 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25529 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25530 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25531 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25532 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25533 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25534 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25535 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25536 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25537 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25538 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25539 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25540 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25541 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25542 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25543 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25544 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25545 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25546 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25547 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25548 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25549 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25550 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25551 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25552 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25553 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25554 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25555 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25556 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25557 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25558 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25559 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25560 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25561 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25562 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25563 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25564 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25565 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25566 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25567 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25568 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25569 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25570 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25571 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25572 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25573 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25574 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25575 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25576 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25577 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25578 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25579 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25580 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25581 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25582 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25583 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25584 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25585 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25586 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25587 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25588 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25589 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25590 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25591 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25592 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25593 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25594 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25595 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25596 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25597 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25598 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25599 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25600 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25601 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25602 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25603 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25604 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25605 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25606 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25607 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25608 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25609 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25610 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25611 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25612 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25613 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25614 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25617 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25620 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25621 whole low double instead of just low 47 bits when splitting values
25624 2012-12-03 Allan McRae <allan@archlinux.org>
25626 * manual/stdio.texi (Predefined Printf Handlers): Remove
25627 @hsep and @vsep usage.
25629 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25631 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25632 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25634 2012-12-03 Jeff Law <law@redhat.com>
25636 * time/sys/time.h (settimeofday): Do not mark TV argument
25639 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25641 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25642 when currently writing and seek to current position when not.
25643 * libio/Makefile (tests): Remove bug-fclose1.
25644 * libio/bug-fclose1.c: Delete.
25646 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25648 * manual/arith.texi (feenableexcept): Fix typo.
25649 (fedisableexcept): Likewise.
25651 2012-11-30 Roland McGrath <roland@hack.frob.com>
25653 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25654 second, differently-typed declaration, rather than a cast.
25656 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25658 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25659 * include/rpc/svc.h: ... here.
25661 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25664 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25665 depending n and resplen2 to catch cases where answer
25668 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25670 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25671 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25673 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25675 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25677 2012-11-29 Roland McGrath <roland@hack.frob.com>
25679 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25681 2012-11-28 Jeff Law <law@redhat.com>
25684 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25685 dataset_temporary. Track alloca usage into alloca_used.
25686 If dataset is large allocate and release it via malloc/free.
25688 2012-06-04 Florian Weimer <fweimer@redhat.com>
25691 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25693 2012-11-28 David S. Miller <davem@davemloft.net>
25695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25697 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25700 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25701 of pi/2 rounded to nearest to 64 bits.
25702 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25703 nearest to 64 bits.
25704 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25707 2012-11-28 Jeff Law <law@redhat.com>
25708 Martin Osvald <mosvald@redhat.com>
25711 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25712 * sunrpc/svc.c: Include time.h.
25713 (__svc_accept_failed): New function.
25714 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25715 any reason other than EINTR, call __svc_accept_failed.
25716 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25717 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25719 2012-11-28 Andreas Schwab <schwab@suse.de>
25721 * scripts/abilist.awk: Also handle indirect functions in .opd
25724 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25727 * sysdeps/x86/fpu/powl_helper.c: New file.
25728 * sysdeps/x86/fpu/Makefile: Likewise.
25729 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25731 (__ieee754_powl): Use __powl_helper for finite arguments except
25732 integer exponents below 8.
25733 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25735 (__ieee754_powl): Use __powl_helper for finite arguments except
25736 integer exponents below 8.
25737 * math/libm-test.inc (pow_test): Add more tests and enable some
25738 previously disabled tests.
25739 * sysdeps/i386/fpu/libm-test-ulps: Update.
25740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25742 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25743 Carlos O'Donell <carlos_odonell@mentor.com>
25745 * nss/makedb.c (is_prime): Assert that input is odd and greater
25746 than 4. Note that fact in a comment too.
25747 (next_prime): Add 4 to input.
25749 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25752 * libio/Makefile (tests): Add test case tst-fwrite-error.
25753 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25754 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25755 * libio/tst-fwrite-error.c: New test case.
25757 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25759 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25760 before casting to void *.
25761 * include/libc-internal.h (__pointer_type): New macro.
25762 (__integer_if_pointer_type_sub): Likewise.
25763 (__integer_if_pointer_type): Likewise.
25764 (cast_to_integer): Likewise.
25765 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25766 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25767 before casting to atomic64_t.
25768 (atomic_exchange_acq): Likewise.
25769 (__arch_exchange_and_add_body): Likewise.
25770 (__arch_add_body): Likewise.
25771 (atomic_add_negative): Likewise.
25772 (atomic_add_zero): Likewise.
25774 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25776 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25777 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25778 (add_fdes): Likewise.
25779 (linear_search_fdes): Likewise.
25780 (binary_search_unencoded_fdes): Likewise.
25782 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25784 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25786 2012-11-24 Adam Conrad <adconrad@0c3.net>
25788 * configure.in: Autodetect C++ header directories.
25789 * configure: Regenerated.
25791 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25793 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25795 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25799 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25801 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25802 LDBL_MANT_DIG == 106]: Disable some tests.
25803 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25805 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25809 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25810 input for small inputs. Return +/- pi/2 for large inputs.
25811 * math/libm-test.inc (atan_test): Add more tests.
25813 * sysdeps/generic/unwind-dw2-fde-glibc.c
25814 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25815 __attribute__ ((unused)).
25818 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25819 x * y if x and y are nonzero and z is zero.
25822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25823 nonzero exponents with absolute value below 0x1p-117 to +/-
25827 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25828 up arguments below 2**-450, not just those below 2**-500.
25829 * math/libm-test.inc (hypot_test): Add another test.
25832 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25833 Return a+b for ratio over 2**120, not 2**60.
25834 * math/libm-test.inc (hypot_test): Add another test.
25836 * math/libm-test.inc (clog_test): Use
25837 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25838 (clog10_test): Likewise.
25841 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25843 2012-11-22 Andreas Schwab <schwab@suse.de>
25845 * sysdeps/i386/fpu/libm-test-ulps: Update.
25847 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25849 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25850 printf output with newline.
25852 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25855 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25856 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25857 -z nodlopen, -z initfirst and -z execstack support.
25858 * configure: Regenerated.
25860 * elf/elf.h (DF_1_NODIRECT): New macro.
25861 (DF_1_IGNMULDEF): Likewise.
25862 (DF_1_NOKSYMS): Likewise.
25863 (DF_1_NOHDR): Likewise.
25864 (DF_1_EDITED): Likewise.
25865 (DF_1_NORELOC): Likewise.
25866 (DF_1_SYMINTPOSE): Likewise.
25867 (DF_1_GLOBAUDIT): Likewise.
25868 (DF_1_SINGLETON): Likewise.
25869 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25870 DT_1_SUPPORTED_MASK bits.
25871 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25873 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25875 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25877 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25879 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25882 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25883 (sendmmsg): Move declarations...
25884 * socket/sys/socket.h: ... here.
25885 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25886 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25888 * socket/recvmmsg.c: ... this new file.
25889 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25890 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25891 definition of __sendmmsg hidden.
25892 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25893 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25894 Move ENOSYS stub into and include it from...
25895 * socket/sendmmsg.c: ... this new file.
25896 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25897 (sysdep_routines): Move recvmmsg and sendmmsg...
25898 * socket/Makefile (routines): ... here.
25899 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25900 (GLIBC_PRIVATE): Add __sendmmsg.
25901 * include/sys/socket.h (__sendmmsg): Add declarations.
25902 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25905 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25908 variable I1 with __attribute__ ((unused)).
25909 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25911 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25913 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25914 DUMMY variables with __attribute__ ((unused)).
25916 * bits/byteswap.h: Include <bits/types.h>.
25917 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25919 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25921 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25922 string_t. Do not manually set errno.
25923 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25924 length with __strnlen. Make sure to both set errno and return it on
25927 2012-11-19 David S. Miller <davem@davemloft.net>
25929 With help from Joseph Myers.
25930 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25931 very large arguments properly.
25932 * math/libm-test.inc (atan_test): New tests.
25933 (atan2_test): New tests.
25934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25937 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25940 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25943 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25944 [POSIX] (EADDRNOTAVAIL): Likewise.
25945 [POSIX] (EAFNOSUPPORT): Likewise.
25946 [POSIX] (EALREADY): Likewise.
25947 [POSIX] (ECONNABORTED): Likewise.
25948 [POSIX] (ECONNREFUSED): Likewise.
25949 [POSIX] (ECONNRESET): Likewise.
25950 [POSIX] (EDESTADDRREQ): Likewise.
25951 [POSIX] (EDQUOT): Likewise.
25952 [POSIX] (EHOSTUNREACH): Likewise.
25953 [POSIX] (EIDRM): Likewise.
25954 [POSIX] (EISCONN): Likewise.
25955 [POSIX] (ELOOP): Likewise.
25956 [POSIX] (EMULTIHOP): Likewise.
25957 [POSIX] (ENETDOWN): Likewise.
25958 [POSIX] (ENETUNREACH): Likewise.
25959 [POSIX] (ENOBUFS): Likewise.
25960 [POSIX] (ENODATA): Likewise.
25961 [POSIX] (ENOLINK): Likewise.
25962 [POSIX] (ENOMSG): Likewise.
25963 [POSIX] (ENOPROTOOPT): Likewise.
25964 [POSIX] (ENOSR): Likewise.
25965 [POSIX] (ENOSTR): Likewise.
25966 [POSIX] (ENOTCONN): Likewise.
25967 [POSIX] (ENOTSOCK): Likewise.
25968 [POSIX] (EOPNOTSUPP): Likewise.
25969 [POSIX] (EOVERFLOW): Likewise.
25970 [POSIX] (EPROTO): Likewise.
25971 [POSIX] (EPROTONOSUPPORT): Likewise.
25972 [POSIX] (EPROTOTYPE): Likewise.
25973 [POSIX] (ESTALE): Likewise.
25974 [POSIX] (ETIME): Likewise.
25975 [POSIX] (ETXTBSY): Likewise.
25976 [POSIX] (EWOULDBLOCK): Likewise.
25977 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25978 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25979 [POSIX] (SEEK_CUR): Likewise.
25980 [POSIX] (SEEK_END): Likewise.
25981 [POSIX || UNIX98] (mode_t): Do not require.
25982 [POSIX] (off_t): Likewise.
25983 [POSIX] (pid_t): Likewise.
25984 [POSIX] (sys/stat.h): Do not allow header.
25985 [POSIX] (unistd.h): Likewise.
25986 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25987 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25988 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25989 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25991 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25992 sigevent): Specify elements.
25993 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25995 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25996 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25998 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25999 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26000 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26001 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26002 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26003 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26004 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26005 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26006 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26007 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26008 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26009 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26010 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26011 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26013 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26015 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26017 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26019 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26020 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26021 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26022 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26023 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26024 Specify lower bound on value.
26025 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26026 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26027 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26028 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26029 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26030 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26031 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26032 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26034 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26036 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26037 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26038 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26039 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26040 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26041 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26042 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26043 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26044 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26045 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26046 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26047 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26048 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26049 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26050 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26051 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26053 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26055 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26056 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26057 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26058 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26059 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26060 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26062 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26063 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26064 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26065 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26066 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26067 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26068 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26070 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26071 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26072 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26073 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26074 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26075 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26076 specify as optional.
26077 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26078 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26079 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26080 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26081 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26082 [XPG3] (NL_LANGMAX): Likewise.
26083 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26084 [POSIX || XPG3] (NL_NMAX): Likewise.
26085 [POSIX || XPG3] (NL_SETMAX): Likewise.
26086 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26087 [XPG3] (NZERO): Likewise.
26088 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26089 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26090 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26091 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26092 (REG_ERANGE): Expect.
26093 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26095 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26096 Use (void) in prototype.
26097 [POSIX] (*_t): Allow.
26098 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26099 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26100 (WRDE_BADVAL): Expect.
26102 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26104 [XPG3 || XPG4] (O_RSYNC): Likewise.
26105 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26107 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26108 [XPG3 || XPG4] (sigqueue): Likewise.
26109 [XPG3 || XPG4] (sigtimedwait): Likewise.
26110 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26111 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26112 [XPG3 || XPG4] (vsnprintf): Likewise.
26113 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26115 [XPG3 || XPG4] (blksize_t): Likewise.
26116 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26118 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26119 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26120 [XPG3 || XPG4] (struct itimerspec): Likewise.
26121 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26122 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26123 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26124 [XPG3 || XPG4] (clockid_t): Likewise.
26125 [XPG3 || XPG4] (timer_t): Likewise.
26126 [XPG3 || XPG4] (clock_getres): Likewise.
26127 [XPG3 || XPG4] (clock_gettime): Likewise.
26128 [XPG3 || XPG4] (clock_settime): Likewise.
26129 [XPG3 || XPG4] (nanosleep): Likewise.
26130 [XPG3 || XPG4] (timer_create): Likewise.
26131 [XPG3 || XPG4] (timer_delete): Likewise.
26132 [XPG3 || XPG4] (timer_gettime): Likewise.
26133 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26134 [XPG3 || XPG4] (timer_settime): Likewise.
26135 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26136 [XPG3 || XPG4] (getlogin_r): Likewise.
26137 [XPG3 || XPG4] (pread): Likewise.
26138 [XPG3 || XPG4] (pthread_atfork): Likewise.
26139 [XPG3 || XPG4] (pwrite): Likewise.
26142 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26145 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26147 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26148 finalizing MALLSTREAM.
26150 * sysdeps/mach/hurd/syncfs.c: New file.
26152 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26155 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26156 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26157 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26158 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26159 (_nss_dns_gethostbyname4_r): Likewise.
26160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26161 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26163 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26166 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26168 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26170 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26171 * elf/cache.c (print_entry): Print ",AArch64" for
26174 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26175 * elf/cache.c (print_entry): Print ",hard-float" for
26178 2012-11-18 David S. Miller <davem@davemloft.net>
26180 With help from Joseph Myers.
26181 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26183 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26185 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26186 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26188 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26189 * math/libm-test.inc (y0_test): New tests.
26190 (y1_test): New tests.
26191 * sysdeps/i386/fpu/libm-test-ulps: Update.
26192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26195 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26197 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26199 * configure: Regenerated.
26201 2012-11-17 David S. Miller <davem@davemloft.net>
26204 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26205 nonzero exponents with absolute value below 0x1p-128 to +/-
26208 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26210 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26212 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26214 * posix/getconf-speclist.c: New file.
26215 * posix/posix-envs.def: Likewise.
26216 * posix/confstr.c (START_ENV_GROUP): New macro.
26217 (END_ENV_GROUP): Likewise.
26218 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26219 (KNOWN_PRESENT_ENV_STRING): Likewise.
26220 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26221 (UNKNOWN_ENVIRONMENT): Likewise.
26222 (confstr): Include posix-envs.def instead of handling
26223 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26224 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26225 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26226 (END_ENV_GROUP): Likewise.
26227 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26228 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26229 (UNKNOWN_ENVIRONMENT): Likewise.
26230 (__sysconf): Include posix-envs.def instead of handling associated
26231 cases directly here.
26232 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26233 preprocessing getconf-speclist.c rather than running getconf or
26234 generating empty file.
26236 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26238 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26240 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26243 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26245 2012-11-16 David S. Miller <davem@davemloft.net>
26247 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26248 smaller than LDBL_EPSILON/2.0L, just return xm1.
26250 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26252 * elf/tst-array1.c (init): Set constructor priority to 1000.
26253 (fini): Set destructor priority to 1000.
26254 * elf/tst-array2dep.c: Likewise.
26256 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26259 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26260 (_IO_new_file_xsputn): Also return EOF if none of the input
26261 data was written when overflow failed.
26262 * libio/iopadn.c (_IO_padn): Likewise.
26263 * libio/iowpadn.c (_IO_wpadn): Likewise.
26264 * stdio-common/tst-put-error.c: Add copyright notice.
26265 (do_test): Add case for printing padded string.
26266 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26267 _IO_padn returned error.
26268 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26269 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26272 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26274 * libio/libioP.h: Add comment note that the references to C++
26275 bits are now obsolete.
26277 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26279 * math/libm-test.inc (check_complex): Use asprintf.
26281 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26283 * debug/pcprofiledump.c (print_version): Update copyright year.
26284 * malloc/memusagestat.c (print_version): Likewise.
26286 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26289 * elf/Makefile (tests): Add tst-audit8.
26290 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26291 ($(objpfx)tst-audit8.out): New target.
26292 (tst-audit8-ENV): New variable.
26293 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26294 audit if l_reloc_result is NULL.
26295 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26296 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26297 * elf/tst-audit8.c: New file.
26299 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26301 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26302 * misc/Makefile (CFLAGS-select.c): Define.
26303 * posix/Makefile (CFLAGS-pause.c): Define.
26305 2012-11-13 David S. Miller <davem@davemloft.net>
26307 * crypt/Makefile: Move test targets after toplevel Rules
26308 inclusion. Grab any necessary sysdep routines when linking.
26309 * crypt/md5.c (md5_process_block): Remove define, we will always
26310 name it __md5_process_block.
26311 (md5_finish_ctx): Update md5_process_block call.
26312 (md5_stream): Likewise.
26313 (md5_process_bytes): Likewise.
26314 (md5_process_block): Rename to __md5_process_block and move to ...
26315 * crypt/md5-block.c: ... here.
26316 * crypt/sha256.c (sha256_process_block): Move to ...
26317 * crypt/sha256-block.c: ... here.
26318 * crypt/sha512.c (sha512_process_block): Move to ...
26319 * crypt/sha512-block.c: ... here.
26320 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26322 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26323 * sysdeps/sparc/sparc64/multiarch/Makefile
26324 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26326 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26327 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26329 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26330 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26331 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26332 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26333 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26334 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26335 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26336 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26337 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26339 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26340 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26342 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26344 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26346 * timezone/tzselect.ksh: Update from tzcode git revision
26347 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26348 * timezone/zdump.c: Likewise.
26349 * timezone/zic.c: Likewise.
26350 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26351 in TZVERSION setting, not $(PKGVERSION).
26352 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26353 REPORT_BUGS_TO settings.
26356 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26359 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26361 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26362 detection to immediately after _FP_ROUND().
26363 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26366 2012-11-11 David S. Miller <davem@davemloft.net>
26368 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26370 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26371 __close rather than their public counterparts.
26373 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26375 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26377 [UNIX98] (sem_timedwait): Do not expect.
26378 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26379 [XPG4 || UNIX98] (sockatmark): Do not expect.
26380 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26381 (clock_getcpuclockid): Do not expect.
26382 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26383 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26385 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26386 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26387 [UNIX98] (vwscanf): Likewise.
26388 [UNIX98] (vswscanf): Likewise.
26390 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26392 * timezone/version.h: Remove file.
26393 * timezone/README: Do not refer to version.h.
26394 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26395 $(objpfx)version.h.
26396 ($(objpfx)zdump.o): Likewise.
26397 ($(objpfx)version.h): New target.
26399 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26401 * timezone/README: Don't mention modification to tzselect.ksh.
26402 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26403 work on unmodified tzselect.ksh. Substitute version numbers in
26406 * Makefile (format-me): Remove.
26407 (INSTALL): Adjust indentation. Use commands directly instead of
26408 using $(format-me).
26410 * aclocal.m4 (ACX_PKGVERSION): New macro.
26411 (ACX_BUGURL): Likewise.
26412 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26413 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26414 (REPORT_BUGS_TO): Likewise.
26415 * configure: Regenerated.
26416 * config.h.in (PKGVERSION): New macro.
26417 (REPORT_BUGS_TO): Likewise.
26418 * config.make.in (PKGVERSION): New variable.
26419 (PKGVERSION_TEXI): Likewise.
26420 (REPORT_BUGS_TO): Likewise.
26421 (REPORT_BUGS_TEXI): Likewise.
26422 * Makefile (format-me): Use -I$(common-objpfx)manual.
26423 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26424 ($(common-objpfx)manual/%): New target.
26425 (manual/%): Remove target.
26426 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26427 (print_version): Use PKGVERSION.
26428 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26429 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26430 and REPORT_BUGS_TO.
26431 ($(objpfx)xtrace): Likewise.
26432 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26433 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26434 (print_version): Use PKGVERSION.
26435 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26436 (do_version): Use PKGVERSION.
26437 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26439 (common-ldd-rewrite): Likewise.
26440 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26441 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26442 (print_version): Use PKGVERSION.
26443 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26444 * elf/pldd.c (argp_program_bug_address): Remove variable.
26445 (more_help): New function.
26446 (argp): Use more_help.
26447 (print_version): Use PKGVERSION.
26448 * elf/sln.c (main): Use PKGVERSION.
26449 (usage): Use REPORT_BUGS_TO.
26450 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26451 (top level): Use PKGVERSION.
26452 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26453 (print_version): Use PKGVERSION.
26454 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26455 (print_version): Use PKGVERSION.
26456 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26457 (print_version): Use PKGVERSION.
26458 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26459 (print_version): Use PKGVERSION.
26460 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26461 (print_version): Use PKGVERSION.
26462 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26463 (print_version): Use PKGVERSION.
26464 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26466 ($(objpfx)memusage): Likewise.
26467 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26468 (do_version): Use PKGVERSION.
26469 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26470 (print_version): Use PKGVERSION.
26471 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26472 ($PKGVERSION): New variable.
26473 ($REPORT_BUGS_TO): Likewise.
26474 (usage): Use $REPORT_BUGS_TO.
26475 (top level): Use $PKGVERSION.
26476 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26477 ($(objpfx)pkgvers.texi): New rule.
26478 ($(objpfx)stamp-pkgvers): Likewise.
26479 * manual/install.texi: Include pkgvers.texi.
26480 (--with-pkgversion): Document new configure option.
26481 (--with-bugurl): Likewise.
26482 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26483 than necessarily for this particular distribution. Use
26484 REPORT_BUGS_TO for where to report bugs.
26485 * INSTALL: Regenerated.
26486 * manual/libc.texinfo: Include pkgvers.texi.
26487 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26488 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26489 (print_version): Use PKGVERSION.
26490 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26491 (print_version): Use PKGVERSION.
26492 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26493 (print_version): Use PKGVERSION.
26494 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26495 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26497 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26498 (print_version): Use PKGVERSION.
26499 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26500 (print_version): Use PKGVERSION.
26501 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26504 * timezone/checktab.awk: Update from tzcode 2012i.
26505 * timezone/ialloc.c: Likewise.
26506 * timezone/private.h: Likewise.
26507 * timezone/scheck.c: Likewise.
26508 * timezone/tzfile.h: Likewise.
26509 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26510 (TZVERSION): Hardcode tzcode version number.
26511 * timezone/zdump.c: Update from tzcode 2012i.
26512 * timezone/zic.c: Likewise.
26513 * timezone/version.h: New file.
26514 * timezone/README: Describe version.h. Update upstream location.
26517 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26518 (mktemp): Enable declaration.
26519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26536 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26537 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26538 for copies of such integer values.
26539 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26540 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26542 2012-11-09 Andreas Jaeger <aj@suse.de>
26544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26545 definitions and declarations that are provided by
26546 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26548 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26550 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26551 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26552 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26555 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26557 * elf/elf.h: Update comment before AArch64 relocations.
26559 2012-11-07 David S. Miller <davem@davemloft.net>
26561 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26562 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26563 (__start_context): Declare.
26564 (__makecontext_ret): Delete.
26565 (__makecontext): Hook up __start_context instead of
26567 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26568 (sysdep_routines): Add __start_context when in stdlib.
26570 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26572 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26573 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26574 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26576 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26577 (READELF): New variable. Use it instead of hardcoded "readelf".
26579 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26581 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26582 * sysdeps/x86/Makefile: Here.
26583 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26584 * sysdeps/x86/tst-xmmymm.sh: This.
26586 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26588 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26590 [UNIX98] (pthread_barrier_t): Do not expect.
26591 [UNIX98] (pthread_barrierattr_t): Likewise.
26592 [UNIX98] (pthread_spinlock_t): Likewise.
26593 [UNIX98] (pthread_barrier_destroy): Likewise.
26594 [UNIX98] (pthread_barrier_init): Likewise.
26595 [UNIX98] (pthread_barrier_wait): Likewise.
26596 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26597 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26598 [UNIX98] (pthread_barrierattr_init): Likewise.
26599 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26600 [UNIX98] (pthread_getcpuclockid): Likewise.
26601 [UNIX98] (pthread_mutex_timedlock): Likewise.
26602 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26603 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26604 [UNIX98] (pthread_sigmask): Likewise.
26605 [UNIX98] (pthread_spin_destroy): Likewise.
26606 [UNIX98] (pthread_spin_init): Likewise.
26607 [UNIX98] (pthread_spin_lock): Likewise.
26608 [UNIX98] (pthread_spin_trylock): Likewise.
26609 [UNIX98] (pthread_spin_unlock): Likewise.
26610 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26612 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26613 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26614 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26615 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26616 [XPG3 || XPG4] (pthread_key_t): Likewise.
26617 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26618 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26619 [XPG3 || XPG4] (pthread_once_t): Likewise.
26620 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26621 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26622 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26623 [XPG3 || XPG4] (pthread_t): Likewise.
26625 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26627 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26629 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26630 Change function return type to int.
26632 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26633 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26634 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26635 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26636 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26637 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26638 [!POSIX] (posix_madvise): Likewise.
26639 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26641 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26642 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26643 (mode_t): Likewise.
26644 (posix_mem_offset): Likewise.
26645 (posix_typed_mem_get_info): Likewise.
26646 (posix_typed_mem_open): Likewise.
26648 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26649 Change condition to [XOPEN2K8].
26651 * conform/conformtest.pl: Preprocess allow-header data with -x c
26652 instead of from stdin.
26653 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26654 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26655 [C99-based standards] (cerfc): Likewise.
26656 [C99-based standards] (cexp2): Likewise.
26657 [C99-based standards] (cexpm1): Likewise.
26658 [C99-based standards] (clog10): Likewise.
26659 [C99-based standards] (clog1p): Likewise.
26660 [C99-based standards] (clog2): Likewise.
26661 [C99-based standards] (clgamma): Likewise.
26662 [C99-based standards] (ctgamma): Likewise.
26663 [C99-based standards] (cerff): Likewise.
26664 [C99-based standards] (cerfcf): Likewise.
26665 [C99-based standards] (cexp2f): Likewise.
26666 [C99-based standards] (cexpm1f): Likewise.
26667 [C99-based standards] (clog10f): Likewise.
26668 [C99-based standards] (clog1pf): Likewise.
26669 [C99-based standards] (clog2f): Likewise.
26670 [C99-based standards] (clgammaf): Likewise.
26671 [C99-based standards] (ctgammaf): Likewise.
26672 [C99-based standards] (cerfl): Likewise.
26673 [C99-based standards] (cerfcl): Likewise.
26674 [C99-based standards] (cexp2l): Likewise.
26675 [C99-based standards] (cexpm1l): Likewise.
26676 [C99-based standards] (clog10l): Likewise.
26677 [C99-based standards] (clog1pl): Likewise.
26678 [C99-based standards] (clog2l): Likewise.
26679 [C99-based standards] (clgammal): Likewise.
26680 [C99-based standards] (ctgammal): Likewise.
26681 * conform/data/inttypes.h-data [C99-based standards]: Include
26682 stdint.h-data. Remove all expectations for stdint.h contents.
26683 [C99-based standards] (PRI*): Do not allow.
26684 [C99-based standards] (SCN*): Likewise.
26685 [C99-based standards] (*_t): Likewise.
26686 [C99-based-standards] (PRId8): Expect macro.
26687 [C99-based-standards] (PRIi8): Likewise.
26688 [C99-based-standards] (PRIo8): Likewise.
26689 [C99-based-standards] (PRIu8): Likewise.
26690 [C99-based-standards] (PRIx8): Likewise.
26691 [C99-based-standards] (PRIX8): Likewise.
26692 [C99-based-standards] (SCNd8): Likewise.
26693 [C99-based-standards] (SCNi8): Likewise.
26694 [C99-based-standards] (SCNo8): Likewise.
26695 [C99-based-standards] (SCNu8): Likewise.
26696 [C99-based-standards] (SCNx8): Likewise.
26697 [C99-based-standards] (PRIdLEAST8): Likewise.
26698 [C99-based-standards] (PRIiLEAST8): Likewise.
26699 [C99-based-standards] (PRIoLEAST8): Likewise.
26700 [C99-based-standards] (PRIuLEAST8): Likewise.
26701 [C99-based-standards] (PRIxLEAST8): Likewise.
26702 [C99-based-standards] (PRIXLEAST8): Likewise.
26703 [C99-based-standards] (SCNdLEAST8): Likewise.
26704 [C99-based-standards] (SCNiLEAST8): Likewise.
26705 [C99-based-standards] (SCNoLEAST8): Likewise.
26706 [C99-based-standards] (SCNuLEAST8): Likewise.
26707 [C99-based-standards] (SCNxLEAST8): Likewise.
26708 [C99-based-standards] (PRIdFAST8): Likewise.
26709 [C99-based-standards] (PRIiFAST8): Likewise.
26710 [C99-based-standards] (PRIoFAST8): Likewise.
26711 [C99-based-standards] (PRIuFAST8): Likewise.
26712 [C99-based-standards] (PRIxFAST8): Likewise.
26713 [C99-based-standards] (PRIXFAST8): Likewise.
26714 [C99-based-standards] (SCNdFAST8): Likewise.
26715 [C99-based-standards] (SCNiFAST8): Likewise.
26716 [C99-based-standards] (SCNoFAST8): Likewise.
26717 [C99-based-standards] (SCNuFAST8): Likewise.
26718 [C99-based-standards] (SCNxFAST8): Likewise.
26719 [C99-based-standards] (PRId16): Likewise.
26720 [C99-based-standards] (PRIi16): Likewise.
26721 [C99-based-standards] (PRIo16): Likewise.
26722 [C99-based-standards] (PRIu16): Likewise.
26723 [C99-based-standards] (PRIx16): Likewise.
26724 [C99-based-standards] (PRIX16): Likewise.
26725 [C99-based-standards] (SCNd16): Likewise.
26726 [C99-based-standards] (SCNi16): Likewise.
26727 [C99-based-standards] (SCNo16): Likewise.
26728 [C99-based-standards] (SCNu16): Likewise.
26729 [C99-based-standards] (SCNx16): Likewise.
26730 [C99-based-standards] (PRIdLEAST16): Likewise.
26731 [C99-based-standards] (PRIiLEAST16): Likewise.
26732 [C99-based-standards] (PRIoLEAST16): Likewise.
26733 [C99-based-standards] (PRIuLEAST16): Likewise.
26734 [C99-based-standards] (PRIxLEAST16): Likewise.
26735 [C99-based-standards] (PRIXLEAST16): Likewise.
26736 [C99-based-standards] (SCNdLEAST16): Likewise.
26737 [C99-based-standards] (SCNiLEAST16): Likewise.
26738 [C99-based-standards] (SCNoLEAST16): Likewise.
26739 [C99-based-standards] (SCNuLEAST16): Likewise.
26740 [C99-based-standards] (SCNxLEAST16): Likewise.
26741 [C99-based-standards] (PRIdFAST16): Likewise.
26742 [C99-based-standards] (PRIiFAST16): Likewise.
26743 [C99-based-standards] (PRIoFAST16): Likewise.
26744 [C99-based-standards] (PRIuFAST16): Likewise.
26745 [C99-based-standards] (PRIxFAST16): Likewise.
26746 [C99-based-standards] (PRIXFAST16): Likewise.
26747 [C99-based-standards] (SCNdFAST16): Likewise.
26748 [C99-based-standards] (SCNiFAST16): Likewise.
26749 [C99-based-standards] (SCNoFAST16): Likewise.
26750 [C99-based-standards] (SCNuFAST16): Likewise.
26751 [C99-based-standards] (SCNxFAST16): Likewise.
26752 [C99-based-standards] (PRId32): Likewise.
26753 [C99-based-standards] (PRIi32): Likewise.
26754 [C99-based-standards] (PRIo32): Likewise.
26755 [C99-based-standards] (PRIu32): Likewise.
26756 [C99-based-standards] (PRIx32): Likewise.
26757 [C99-based-standards] (PRIX32): Likewise.
26758 [C99-based-standards] (SCNd32): Likewise.
26759 [C99-based-standards] (SCNi32): Likewise.
26760 [C99-based-standards] (SCNo32): Likewise.
26761 [C99-based-standards] (SCNu32): Likewise.
26762 [C99-based-standards] (SCNx32): Likewise.
26763 [C99-based-standards] (PRIdLEAST32): Likewise.
26764 [C99-based-standards] (PRIiLEAST32): Likewise.
26765 [C99-based-standards] (PRIoLEAST32): Likewise.
26766 [C99-based-standards] (PRIuLEAST32): Likewise.
26767 [C99-based-standards] (PRIxLEAST32): Likewise.
26768 [C99-based-standards] (PRIXLEAST32): Likewise.
26769 [C99-based-standards] (SCNdLEAST32): Likewise.
26770 [C99-based-standards] (SCNiLEAST32): Likewise.
26771 [C99-based-standards] (SCNoLEAST32): Likewise.
26772 [C99-based-standards] (SCNuLEAST32): Likewise.
26773 [C99-based-standards] (SCNxLEAST32): Likewise.
26774 [C99-based-standards] (PRIdFAST32): Likewise.
26775 [C99-based-standards] (PRIiFAST32): Likewise.
26776 [C99-based-standards] (PRIoFAST32): Likewise.
26777 [C99-based-standards] (PRIuFAST32): Likewise.
26778 [C99-based-standards] (PRIxFAST32): Likewise.
26779 [C99-based-standards] (PRIXFAST32): Likewise.
26780 [C99-based-standards] (SCNdFAST32): Likewise.
26781 [C99-based-standards] (SCNiFAST32): Likewise.
26782 [C99-based-standards] (SCNoFAST32): Likewise.
26783 [C99-based-standards] (SCNuFAST32): Likewise.
26784 [C99-based-standards] (SCNxFAST32): Likewise.
26785 [C99-based-standards] (PRId64): Likewise.
26786 [C99-based-standards] (PRIi64): Likewise.
26787 [C99-based-standards] (PRIo64): Likewise.
26788 [C99-based-standards] (PRIu64): Likewise.
26789 [C99-based-standards] (PRIx64): Likewise.
26790 [C99-based-standards] (PRIX64): Likewise.
26791 [C99-based-standards] (SCNd64): Likewise.
26792 [C99-based-standards] (SCNi64): Likewise.
26793 [C99-based-standards] (SCNo64): Likewise.
26794 [C99-based-standards] (SCNu64): Likewise.
26795 [C99-based-standards] (SCNx64): Likewise.
26796 [C99-based-standards] (PRIdLEAST64): Likewise.
26797 [C99-based-standards] (PRIiLEAST64): Likewise.
26798 [C99-based-standards] (PRIoLEAST64): Likewise.
26799 [C99-based-standards] (PRIuLEAST64): Likewise.
26800 [C99-based-standards] (PRIxLEAST64): Likewise.
26801 [C99-based-standards] (PRIXLEAST64): Likewise.
26802 [C99-based-standards] (SCNdLEAST64): Likewise.
26803 [C99-based-standards] (SCNiLEAST64): Likewise.
26804 [C99-based-standards] (SCNoLEAST64): Likewise.
26805 [C99-based-standards] (SCNuLEAST64): Likewise.
26806 [C99-based-standards] (SCNxLEAST64): Likewise.
26807 [C99-based-standards] (PRIdFAST64): Likewise.
26808 [C99-based-standards] (PRIiFAST64): Likewise.
26809 [C99-based-standards] (PRIoFAST64): Likewise.
26810 [C99-based-standards] (PRIuFAST64): Likewise.
26811 [C99-based-standards] (PRIxFAST64): Likewise.
26812 [C99-based-standards] (PRIXFAST64): Likewise.
26813 [C99-based-standards] (SCNdFAST64): Likewise.
26814 [C99-based-standards] (SCNiFAST64): Likewise.
26815 [C99-based-standards] (SCNoFAST64): Likewise.
26816 [C99-based-standards] (SCNuFAST64): Likewise.
26817 [C99-based-standards] (SCNxFAST64): Likewise.
26818 [C99-based-standards] (PRIdMAX): Likewise.
26819 [C99-based-standards] (PRIiMAX): Likewise.
26820 [C99-based-standards] (PRIoMAX): Likewise.
26821 [C99-based-standards] (PRIuMAX): Likewise.
26822 [C99-based-standards] (PRIxMAX): Likewise.
26823 [C99-based-standards] (PRIXMAX): Likewise.
26824 [C99-based-standards] (SCNdMAX): Likewise.
26825 [C99-based-standards] (SCNiMAX): Likewise.
26826 [C99-based-standards] (SCNoMAX): Likewise.
26827 [C99-based-standards] (SCNuMAX): Likewise.
26828 [C99-based-standards] (SCNxMAX): Likewise.
26829 [C99-based-standards] (PRIdPTR): Likewise.
26830 [C99-based-standards] (PRIiPTR): Likewise.
26831 [C99-based-standards] (PRIoPTR): Likewise.
26832 [C99-based-standards] (PRIuPTR): Likewise.
26833 [C99-based-standards] (PRIxPTR): Likewise.
26834 [C99-based-standards] (PRIXPTR): Likewise.
26835 [C99-based-standards] (SCNdPTR): Likewise.
26836 [C99-based-standards] (SCNiPTR): Likewise.
26837 [C99-based-standards] (SCNoPTR): Likewise.
26838 [C99-based-standards] (SCNuPTR): Likewise.
26839 [C99-based-standards] (SCNxPTR): Likewise.
26840 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26842 * conform/data/stdint.h-data: Update comments to clarify
26844 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26846 [C99-based standards] (INT8_MAX): Likewise.
26847 [C99-based standards] (INT16_MIN): Likewise.
26848 [C99-based standards] (INT16_MAX): Likewise.
26849 [C99-based standards] (INT32_MIN): Likewise.
26850 [C99-based standards] (INT32_MAX): Likewise.
26851 [C99-based standards] (INT64_MIN): Likewise.
26852 [C99-based standards] (INT64_MAX): Likewise.
26853 [C99-based standards] (UINT8_MAX): Likewise.
26854 [C99-based standards] (UINT16_MAX): Likewise.
26855 [C99-based standards] (UINT32_MAX): Likewise.
26856 [C99-based standards] (UINT64_MAX): Likewise.
26857 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26858 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26859 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26860 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26861 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26862 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26863 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26864 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26865 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26866 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26867 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26868 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26869 [C99-based standards] (INT_FAST8_MIN): Likewise.
26870 [C99-based standards] (INT_FAST8_MAX): Likewise.
26871 [C99-based standards] (INT_FAST16_MIN): Likewise.
26872 [C99-based standards] (INT_FAST16_MAX): Likewise.
26873 [C99-based standards] (INT_FAST32_MIN): Likewise.
26874 [C99-based standards] (INT_FAST32_MAX): Likewise.
26875 [C99-based standards] (INT_FAST64_MIN): Likewise.
26876 [C99-based standards] (INT_FAST64_MAX): Likewise.
26877 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26878 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26879 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26880 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26881 [C99-based standards] (INTPTR_MIN): Likewise.
26882 [C99-based standards] (INTPTR_MAX): Likewise.
26883 [C99-based standards] (UINTPTR_MAX): Likewise.
26884 [C99-based standards] (INTMAX_MIN): Likewise.
26885 [C99-based standards] (INTMAX_MAX): Likewise.
26886 [C99-based standards] (UINTMAX_MAX): Likewise.
26887 [C99-based standards] (PTRDIFF_MIN): Likewise.
26888 [C99-based standards] (PTRDIFF_MAX): Likewise.
26889 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26890 [C99-based standards] (SIZE_MAX): Likewise.
26891 [C99-based standards] (WCHAR_MAX): Likewise.
26892 [C99-based standards] (WINT_MAX): Likewise.
26893 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26894 constraint on value.
26895 [C99-based standards] (WCHAR_MIN): Likewise.
26896 [C99-based standards] (WINT_MIN): Likewise.
26897 [C99-based standards] (*_t): Allow.
26898 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26899 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26900 Include math.h-data and complex.h-data. Remove all expectations
26901 of math.h and complex.h contents.
26902 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26904 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26905 (struct tm): Expect tag.
26906 [C99-based-standards] (wcstof): Expect function.
26907 [C99-based-standards] (wcstold): Likewise.
26908 [C99-based-standards] (wcstoll): Likewise.
26909 [C99-based-standards] (wcstoull): Likewise.
26910 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26911 macro-int-constant. Specify type.
26912 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26913 constraint on value.
26914 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26916 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26918 [ISO C standards]: Do not allow headers.
26919 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26920 wcs[abcdefghijklmnopqrstuvwxyz]*.
26921 [ISO C standards] (*_t): Do not allow.
26922 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26924 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26925 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26927 [ISO C standards]: Do not allow headers.
26928 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26929 is[abcdefghijklmnopqrstuvwxyz]*.
26930 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26931 to[abcdefghijklmnopqrstuvwxyz]*.
26932 [ISO C standards] (*_t): Do not allow.
26933 * conform/data/stdalign.h-data: New file.
26934 * conform/data/stdbool.h-data: Likewise.
26935 * conform/data/stdnoreturn.h-data: Likewise.
26937 2012-11-07 Roland McGrath <roland@hack.frob.com>
26940 * manual/filesys.texi (Directory Entries): Typo fix.
26941 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26943 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26945 * elf/elf.h (EM_AARCH64): New macro.
26946 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26947 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26948 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26949 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26950 (R_AARCH64_TLSDESC): Likewise.
26951 (NT_ARM_TLS): Likewise.
26952 (NT_ARM_HW_BREAK): Likewise.
26953 (NT_ARM_HW_WATCH): Likewise.
26955 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26958 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26959 (__ieee754_powl): Saturate nonzero exponents with absolute value
26960 below 0x1p-79 to +/- 0x1p-79.
26961 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26962 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26963 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26964 nonzero exponents with absolute value below 0x1p-32 to +/-
26966 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26967 (__ieee754_powl): Saturate nonzero exponents with absolute value
26968 below 0x1p-79 to +/- 0x1p-79.
26969 * math/libm-test.inc (pow_test): Add more tests.
26971 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26973 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26974 _dl_s390_cap_flags with kernel. Increase string length.
26975 (_dl_s390_platforms): Add z196 and zEC12.
26977 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26979 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26980 Change XOPEN21K to XOPEN2K.
26982 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26984 * string/memmove.c: Use memcpy when possible.
26986 2012-11-06 Andreas Jaeger <aj@suse.de>
26988 * po/eo.po: Update from translation team.
26990 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26994 exponent and small x and y exponents, scale x or y up. Increase
26995 by 2 the exponent used in scaling up.
26996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26997 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26998 * math/libm-test.inc (fma_test): Add more tests.
26999 (fma_test_towardzero): Likewise.
27000 (fma_test_downward): Likewise.
27001 (fma_test_upward): Likewise.
27003 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27006 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27010 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27011 namespace for names of struct fields.
27012 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27014 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27015 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27017 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27020 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27022 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27024 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27028 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27031 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27035 definitely overflow as x * y not x * y + z.
27036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27037 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27038 * math/libm-test.inc (fma_test): Add more tests.
27039 (fma_test_towardzero): Likewise.
27040 (fma_test_downward): Likewise.
27041 (fma_test_upward): Likewise.
27043 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27047 * include/stub-tag.h: Remove file.
27048 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27050 * manual/maint.texi (Porting): Don't reference it.
27051 * Makerules ($(objpfx)stubs): Likewise.
27052 * dirent/closedir.c: Don't include <stub-tag.h>.
27053 * dirent/dirfd.c: Likewise.
27054 * dirent/fdopendir.c: Likewise.
27055 * dirent/getdents.c: Likewise.
27056 * dirent/getdents64.c: Likewise.
27057 * dirent/opendir.c: Likewise.
27058 * dirent/readdir.c: Likewise.
27059 * dirent/readdir64.c: Likewise.
27060 * dirent/readdir64_r.c: Likewise.
27061 * dirent/readdir_r.c: Likewise.
27062 * dirent/rewinddir.c: Likewise.
27063 * dirent/seekdir.c: Likewise.
27064 * dirent/telldir.c: Likewise.
27065 * gmon/profil.c: Likewise.
27066 * grp/setgroups.c: Likewise.
27067 * inet/if_index.c: Likewise.
27068 * io/access.c: Likewise.
27069 * io/chdir.c: Likewise.
27070 * io/chmod.c: Likewise.
27071 * io/chown.c: Likewise.
27072 * io/close.c: Likewise.
27073 * io/dup.c: Likewise.
27074 * io/dup2.c: Likewise.
27075 * io/dup3.c: Likewise.
27076 * io/euidaccess.c: Likewise.
27077 * io/faccessat.c: Likewise.
27078 * io/fchdir.c: Likewise.
27079 * io/fchmod.c: Likewise.
27080 * io/fchmodat.c: Likewise.
27081 * io/fchown.c: Likewise.
27082 * io/fchownat.c: Likewise.
27083 * io/fcntl.c: Likewise.
27084 * io/flock.c: Likewise.
27085 * io/fstatfs.c: Likewise.
27086 * io/fstatfs64.c: Likewise.
27087 * io/fstatvfs.c: Likewise.
27088 * io/fstatvfs64.c: Likewise.
27089 * io/futimens.c: Likewise.
27090 * io/fxstat.c: Likewise.
27091 * io/fxstat64.c: Likewise.
27092 * io/fxstatat.c: Likewise.
27093 * io/fxstatat64.c: Likewise.
27094 * io/getcwd.c: Likewise.
27095 * io/isatty.c: Likewise.
27096 * io/lchmod.c: Likewise.
27097 * io/lchown.c: Likewise.
27098 * io/link.c: Likewise.
27099 * io/linkat.c: Likewise.
27100 * io/lseek.c: Likewise.
27101 * io/lseek64.c: Likewise.
27102 * io/lxstat64.c: Likewise.
27103 * io/mkdir.c: Likewise.
27104 * io/mkdirat.c: Likewise.
27105 * io/mkfifo.c: Likewise.
27106 * io/mkfifoat.c: Likewise.
27107 * io/open.c: Likewise.
27108 * io/open64.c: Likewise.
27109 * io/openat.c: Likewise.
27110 * io/openat64.c: Likewise.
27111 * io/pipe.c: Likewise.
27112 * io/pipe2.c: Likewise.
27113 * io/poll.c: Likewise.
27114 * io/posix_fadvise.c: Likewise.
27115 * io/posix_fadvise64.c: Likewise.
27116 * io/posix_fallocate.c: Likewise.
27117 * io/posix_fallocate64.c: Likewise.
27118 * io/read.c: Likewise.
27119 * io/readlink.c: Likewise.
27120 * io/readlinkat.c: Likewise.
27121 * io/rmdir.c: Likewise.
27122 * io/sendfile.c: Likewise.
27123 * io/sendfile64.c: Likewise.
27124 * io/statfs.c: Likewise.
27125 * io/statfs64.c: Likewise.
27126 * io/statvfs.c: Likewise.
27127 * io/statvfs64.c: Likewise.
27128 * io/symlink.c: Likewise.
27129 * io/symlinkat.c: Likewise.
27130 * io/ttyname.c: Likewise.
27131 * io/ttyname_r.c: Likewise.
27132 * io/umask.c: Likewise.
27133 * io/unlink.c: Likewise.
27134 * io/unlinkat.c: Likewise.
27135 * io/utime.c: Likewise.
27136 * io/utimensat.c: Likewise.
27137 * io/write.c: Likewise.
27138 * io/xmknod.c: Likewise.
27139 * io/xmknodat.c: Likewise.
27140 * io/xstat.c: Likewise.
27141 * io/xstat64.c: Likewise.
27142 * login/getpt.c: Likewise.
27143 * login/grantpt.c: Likewise.
27144 * login/unlockpt.c: Likewise.
27145 * math/e_acoshl.c: Likewise.
27146 * math/e_acosl.c: Likewise.
27147 * math/e_asinl.c: Likewise.
27148 * math/e_atan2l.c: Likewise.
27149 * math/e_atanhl.c: Likewise.
27150 * math/e_coshl.c: Likewise.
27151 * math/e_expl.c: Likewise.
27152 * math/e_fmodl.c: Likewise.
27153 * math/e_gammal_r.c: Likewise.
27154 * math/e_hypotl.c: Likewise.
27155 * math/e_j0l.c: Likewise.
27156 * math/e_j1l.c: Likewise.
27157 * math/e_jnl.c: Likewise.
27158 * math/e_lgammal_r.c: Likewise.
27159 * math/e_log10l.c: Likewise.
27160 * math/e_log2l.c: Likewise.
27161 * math/e_logl.c: Likewise.
27162 * math/e_powl.c: Likewise.
27163 * math/e_rem_pio2l.c: Likewise.
27164 * math/e_sinhl.c: Likewise.
27165 * math/e_sqrtl.c: Likewise.
27166 * math/fclrexcpt.c: Likewise.
27167 * math/fedisblxcpt.c: Likewise.
27168 * math/feenablxcpt.c: Likewise.
27169 * math/fegetenv.c: Likewise.
27170 * math/fegetexcept.c: Likewise.
27171 * math/fegetround.c: Likewise.
27172 * math/feholdexcpt.c: Likewise.
27173 * math/fesetenv.c: Likewise.
27174 * math/fesetround.c: Likewise.
27175 * math/feupdateenv.c: Likewise.
27176 * math/fgetexcptflg.c: Likewise.
27177 * math/fraiseexcpt.c: Likewise.
27178 * math/fsetexcptflg.c: Likewise.
27179 * math/ftestexcept.c: Likewise.
27180 * math/k_cosl.c: Likewise.
27181 * math/k_rem_pio2l.c: Likewise.
27182 * math/k_sinl.c: Likewise.
27183 * math/k_tanl.c: Likewise.
27184 * math/s_asinhl.c: Likewise.
27185 * math/s_atanl.c: Likewise.
27186 * math/s_cbrtl.c: Likewise.
27187 * math/s_erfl.c: Likewise.
27188 * math/s_expm1l.c: Likewise.
27189 * math/s_log1pl.c: Likewise.
27190 * math/s_tanhl.c: Likewise.
27191 * misc/acct.c: Likewise.
27192 * misc/brk.c: Likewise.
27193 * misc/chflags.c: Likewise.
27194 * misc/chroot.c: Likewise.
27195 * misc/fchflags.c: Likewise.
27196 * misc/fgetxattr.c: Likewise.
27197 * misc/flistxattr.c: Likewise.
27198 * misc/fremovexattr.c: Likewise.
27199 * misc/fsetxattr.c: Likewise.
27200 * misc/fsync.c: Likewise.
27201 * misc/ftruncate.c: Likewise.
27202 * misc/futimes.c: Likewise.
27203 * misc/futimesat.c: Likewise.
27204 * misc/getdomain.c: Likewise.
27205 * misc/getdtsz.c: Likewise.
27206 * misc/gethostid.c: Likewise.
27207 * misc/gethostname.c: Likewise.
27208 * misc/getloadavg.c: Likewise.
27209 * misc/getpagesize.c: Likewise.
27210 * misc/getsysstats.c: Likewise.
27211 * misc/getxattr.c: Likewise.
27212 * misc/gtty.c: Likewise.
27213 * misc/ioctl.c: Likewise.
27214 * misc/lgetxattr.c: Likewise.
27215 * misc/listxattr.c: Likewise.
27216 * misc/llistxattr.c: Likewise.
27217 * misc/lremovexattr.c: Likewise.
27218 * misc/lsetxattr.c: Likewise.
27219 * misc/lutimes.c: Likewise.
27220 * misc/madvise.c: Likewise.
27221 * misc/mincore.c: Likewise.
27222 * misc/mlock.c: Likewise.
27223 * misc/mlockall.c: Likewise.
27224 * misc/mmap.c: Likewise.
27225 * misc/mprotect.c: Likewise.
27226 * misc/msync.c: Likewise.
27227 * misc/munlock.c: Likewise.
27228 * misc/munlockall.c: Likewise.
27229 * misc/munmap.c: Likewise.
27230 * misc/preadv.c: Likewise.
27231 * misc/preadv64.c: Likewise.
27232 * misc/ptrace.c: Likewise.
27233 * misc/pwritev.c: Likewise.
27234 * misc/pwritev64.c: Likewise.
27235 * misc/readv.c: Likewise.
27236 * misc/reboot.c: Likewise.
27237 * misc/remap_file_pages.c: Likewise.
27238 * misc/removexattr.c: Likewise.
27239 * misc/revoke.c: Likewise.
27240 * misc/select.c: Likewise.
27241 * misc/setdomain.c: Likewise.
27242 * misc/setegid.c: Likewise.
27243 * misc/seteuid.c: Likewise.
27244 * misc/sethostid.c: Likewise.
27245 * misc/sethostname.c: Likewise.
27246 * misc/setregid.c: Likewise.
27247 * misc/setreuid.c: Likewise.
27248 * misc/setxattr.c: Likewise.
27249 * misc/sstk.c: Likewise.
27250 * misc/stty.c: Likewise.
27251 * misc/swapoff.c: Likewise.
27252 * misc/swapon.c: Likewise.
27253 * misc/sync.c: Likewise.
27254 * misc/syncfs.c: Likewise.
27255 * misc/syscall.c: Likewise.
27256 * misc/truncate.c: Likewise.
27257 * misc/ualarm.c: Likewise.
27258 * misc/usleep.c: Likewise.
27259 * misc/ustat.c: Likewise.
27260 * misc/utimes.c: Likewise.
27261 * misc/vhangup.c: Likewise.
27262 * misc/writev.c: Likewise.
27263 * posix/_exit.c: Likewise.
27264 * posix/alarm.c: Likewise.
27265 * posix/execve.c: Likewise.
27266 * posix/fexecve.c: Likewise.
27267 * posix/fork.c: Likewise.
27268 * posix/fpathconf.c: Likewise.
27269 * posix/getaddrinfo.c: Likewise.
27270 * posix/getegid.c: Likewise.
27271 * posix/geteuid.c: Likewise.
27272 * posix/getgid.c: Likewise.
27273 * posix/getgroups.c: Likewise.
27274 * posix/getlogin.c: Likewise.
27275 * posix/getlogin_r.c: Likewise.
27276 * posix/getpgid.c: Likewise.
27277 * posix/getpid.c: Likewise.
27278 * posix/getppid.c: Likewise.
27279 * posix/getresgid.c: Likewise.
27280 * posix/getresuid.c: Likewise.
27281 * posix/getsid.c: Likewise.
27282 * posix/getuid.c: Likewise.
27283 * posix/glob64.c: Likewise.
27284 * posix/nanosleep.c: Likewise.
27285 * posix/pathconf.c: Likewise.
27286 * posix/pause.c: Likewise.
27287 * posix/posix_madvise.c: Likewise.
27288 * posix/pread.c: Likewise.
27289 * posix/pread64.c: Likewise.
27290 * posix/pwrite.c: Likewise.
27291 * posix/pwrite64.c: Likewise.
27292 * posix/sched_getaffinity.c: Likewise.
27293 * posix/sched_getp.c: Likewise.
27294 * posix/sched_gets.c: Likewise.
27295 * posix/sched_primax.c: Likewise.
27296 * posix/sched_primin.c: Likewise.
27297 * posix/sched_rr_gi.c: Likewise.
27298 * posix/sched_setaffinity.c: Likewise.
27299 * posix/sched_setp.c: Likewise.
27300 * posix/sched_sets.c: Likewise.
27301 * posix/sched_yield.c: Likewise.
27302 * posix/setgid.c: Likewise.
27303 * posix/setlogin.c: Likewise.
27304 * posix/setpgid.c: Likewise.
27305 * posix/setresgid.c: Likewise.
27306 * posix/setresuid.c: Likewise.
27307 * posix/setsid.c: Likewise.
27308 * posix/setuid.c: Likewise.
27309 * posix/sleep.c: Likewise.
27310 * posix/spawni.c: Likewise.
27311 * posix/sysconf.c: Likewise.
27312 * posix/times.c: Likewise.
27313 * posix/wait.c: Likewise.
27314 * posix/wait3.c: Likewise.
27315 * posix/wait4.c: Likewise.
27316 * posix/waitpid.c: Likewise.
27317 * resolv/gai_sigqueue.c: Likewise.
27318 * resource/getpriority.c: Likewise.
27319 * resource/getrlimit.c: Likewise.
27320 * resource/getrusage.c: Likewise.
27321 * resource/nice.c: Likewise.
27322 * resource/setpriority.c: Likewise.
27323 * resource/setrlimit.c: Likewise.
27324 * resource/ulimit.c: Likewise.
27325 * rt/aio_cancel.c: Likewise.
27326 * rt/aio_fsync.c: Likewise.
27327 * rt/aio_read.c: Likewise.
27328 * rt/aio_sigqueue.c: Likewise.
27329 * rt/aio_suspend.c: Likewise.
27330 * rt/aio_write.c: Likewise.
27331 * rt/clock_getres.c: Likewise.
27332 * rt/clock_gettime.c: Likewise.
27333 * rt/clock_nanosleep.c: Likewise.
27334 * rt/clock_settime.c: Likewise.
27335 * rt/lio_listio.c: Likewise.
27336 * rt/mq_close.c: Likewise.
27337 * rt/mq_getattr.c: Likewise.
27338 * rt/mq_notify.c: Likewise.
27339 * rt/mq_open.c: Likewise.
27340 * rt/mq_receive.c: Likewise.
27341 * rt/mq_send.c: Likewise.
27342 * rt/mq_setattr.c: Likewise.
27343 * rt/mq_timedreceive.c: Likewise.
27344 * rt/mq_timedsend.c: Likewise.
27345 * rt/mq_unlink.c: Likewise.
27346 * rt/shm_open.c: Likewise.
27347 * rt/shm_unlink.c: Likewise.
27348 * rt/timer_create.c: Likewise.
27349 * rt/timer_delete.c: Likewise.
27350 * rt/timer_getoverr.c: Likewise.
27351 * rt/timer_gettime.c: Likewise.
27352 * rt/timer_settime.c: Likewise.
27353 * setjmp/__longjmp.c: Likewise.
27354 * setjmp/setjmp.c: Likewise.
27355 * signal/kill.c: Likewise.
27356 * signal/killpg.c: Likewise.
27357 * signal/raise.c: Likewise.
27358 * signal/sigaction.c: Likewise.
27359 * signal/sigaltstack.c: Likewise.
27360 * signal/sigblock.c: Likewise.
27361 * signal/sigignore.c: Likewise.
27362 * signal/sigintr.c: Likewise.
27363 * signal/signal.c: Likewise.
27364 * signal/sigpause.c: Likewise.
27365 * signal/sigpending.c: Likewise.
27366 * signal/sigqueue.c: Likewise.
27367 * signal/sigreturn.c: Likewise.
27368 * signal/sigset.c: Likewise.
27369 * signal/sigsetmask.c: Likewise.
27370 * signal/sigstack.c: Likewise.
27371 * signal/sigsuspend.c: Likewise.
27372 * signal/sigtimedwait.c: Likewise.
27373 * signal/sigvec.c: Likewise.
27374 * signal/sigwait.c: Likewise.
27375 * signal/sigwaitinfo.c: Likewise.
27376 * signal/sysv_signal.c: Likewise.
27377 * socket/accept.c: Likewise.
27378 * socket/accept4.c: Likewise.
27379 * socket/bind.c: Likewise.
27380 * socket/connect.c: Likewise.
27381 * socket/getpeername.c: Likewise.
27382 * socket/getsockname.c: Likewise.
27383 * socket/getsockopt.c: Likewise.
27384 * socket/isfdtype.c: Likewise.
27385 * socket/listen.c: Likewise.
27386 * socket/recv.c: Likewise.
27387 * socket/recvfrom.c: Likewise.
27388 * socket/recvmsg.c: Likewise.
27389 * socket/send.c: Likewise.
27390 * socket/sendmsg.c: Likewise.
27391 * socket/sendto.c: Likewise.
27392 * socket/setsockopt.c: Likewise.
27393 * socket/shutdown.c: Likewise.
27394 * socket/sockatmark.c: Likewise.
27395 * socket/socket.c: Likewise.
27396 * socket/socketpair.c: Likewise.
27397 * stdio-common/ctermid.c: Likewise.
27398 * stdio-common/cuserid.c: Likewise.
27399 * stdio-common/remove.c: Likewise.
27400 * stdio-common/rename.c: Likewise.
27401 * stdio-common/renameat.c: Likewise.
27402 * stdio-common/tempname.c: Likewise.
27403 * stdlib/getcontext.c: Likewise.
27404 * stdlib/makecontext.c: Likewise.
27405 * stdlib/setcontext.c: Likewise.
27406 * stdlib/swapcontext.c: Likewise.
27407 * stdlib/system.c: Likewise.
27408 * streams/fattach.c: Likewise.
27409 * streams/fdetach.c: Likewise.
27410 * streams/getmsg.c: Likewise.
27411 * streams/getpmsg.c: Likewise.
27412 * streams/putmsg.c: Likewise.
27413 * streams/putpmsg.c: Likewise.
27414 * sysdeps/unix/bsd/getpt.c: Likewise.
27415 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27416 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27417 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27420 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27421 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27422 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27423 * sysvipc/msgctl.c: Likewise.
27424 * sysvipc/msgget.c: Likewise.
27425 * sysvipc/msgrcv.c: Likewise.
27426 * sysvipc/msgsnd.c: Likewise.
27427 * sysvipc/semctl.c: Likewise.
27428 * sysvipc/semget.c: Likewise.
27429 * sysvipc/semop.c: Likewise.
27430 * sysvipc/semtimedop.c: Likewise.
27431 * sysvipc/shmat.c: Likewise.
27432 * sysvipc/shmctl.c: Likewise.
27433 * sysvipc/shmdt.c: Likewise.
27434 * sysvipc/shmget.c: Likewise.
27435 * termios/tcdrain.c: Likewise.
27436 * termios/tcflow.c: Likewise.
27437 * termios/tcflush.c: Likewise.
27438 * termios/tcgetattr.c: Likewise.
27439 * termios/tcgetpgrp.c: Likewise.
27440 * termios/tcsendbrk.c: Likewise.
27441 * termios/tcsetattr.c: Likewise.
27442 * termios/tcsetpgrp.c: Likewise.
27443 * time/adjtime.c: Likewise.
27444 * time/clock.c: Likewise.
27445 * time/getitimer.c: Likewise.
27446 * time/gettimeofday.c: Likewise.
27447 * time/setitimer.c: Likewise.
27448 * time/settimeofday.c: Likewise.
27449 * time/stime.c: Likewise.
27450 * time/time.c: Likewise.
27452 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27454 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27457 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27459 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27461 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27465 FE_TONEAREST before applying Dekker multiplication and Knuth
27466 addition. Clear inexact exceptions and check for exact zero
27467 results afterwards.
27468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27469 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27471 * math/libm-test.inc (fma_test): Add more tests.
27472 (fma_test_towardzero): Likewise.
27473 (fma_test_downward): Likewise.
27474 (fma_test_upward): Likewise.
27475 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27477 (libc_fesetround): New macro.
27478 (libc_fesetroundf): Likewise.
27479 (libc_fesetroundl): Likewise.
27480 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27482 (libc_fesetround_387): Likewise.
27483 (libc_fesetroundf): New macro.
27484 (libc_fesetround): Likewise.
27485 (libc_fesetroundl): Likewise.
27486 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27488 (libc_fesetroundf): New macro.
27489 (libc_fesetround): Likewise.
27490 (libc_fesetroundl): Likewise.
27491 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27492 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27493 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27495 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27496 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27498 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27499 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27501 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27505 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27506 integer constant usable in #if and use that to give value to enum
27508 (FE_DIVBYZERO): Likewise.
27509 (FE_UNDERFLOW): Likewise.
27510 (FE_OVERFLOW): Likewise.
27511 (FE_INVALID): Likewise.
27512 (FE_INVALID_SNAN): Likewise.
27513 (FE_INVALID_ISI): Likewise.
27514 (FE_INVALID_IDI): Likewise.
27515 (FE_INVALID_ZDZ): Likewise.
27516 (FE_INVALID_IMZ): Likewise.
27517 (FE_INVALID_COMPARE): Likewise.
27518 (FE_INVALID_SOFTWARE): Likewise.
27519 (FE_INVALID_SQRT): Likewise.
27520 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27521 (FE_TONEAREST): Likewise.
27522 (FE_TOWARDZERO): Likewise.
27523 (FE_UPWARD): Likewise.
27524 (FE_DOWNWARD): Likewise.
27525 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27526 (FE_DIVBYZERO): Likewise.
27527 (FE_OVERFLOW): Likewise.
27528 (FE_UNDERFLOW): Likewise.
27529 (FE_INEXACT): Likewise.
27530 (FE_TONEAREST): Likewise.
27531 (FE_DOWNWARD): Likewise.
27532 (FE_UPWARD): Likewise.
27533 (FE_TOWARDZERO): Likewise.
27534 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27535 (FE_UNDERFLOW): Likewise.
27536 (FE_OVERFLOW): Likewise.
27537 (FE_DIVBYZERO): Likewise.
27538 (FE_INVALID): Likewise.
27539 (FE_TONEAREST): Likewise.
27540 (FE_TOWARDZERO): Likewise.
27541 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27542 (FE_OVERFLOW): Likewise.
27543 (FE_UNDERFLOW): Likewise.
27544 (FE_DIVBYZERO): Likewise.
27545 (FE_INEXACT): Likewise.
27546 (FE_TONEAREST): Likewise.
27547 (FE_TOWARDZERO): Likewise.
27548 (FE_UPWARD): Likewise.
27549 (FE_DOWNWARD): Likewise.
27550 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27551 (FE_DIVBYZERO): Likewise.
27552 (FE_OVERFLOW): Likewise.
27553 (FE_UNDERFLOW): Likewise.
27554 (FE_INEXACT): Likewise.
27555 (FE_TONEAREST): Likewise.
27556 (FE_DOWNWARD): Likewise.
27557 (FE_UPWARD): Likewise.
27558 (FE_TOWARDZERO): Likewise.
27560 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27562 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27564 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27566 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27567 commands. Quote $PWD.
27568 (blacklist_exports): Don't use remove_newlines. Replace "declare
27570 (remove_newlines): Remove.
27572 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27574 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27575 * stdlib/stdlib.h (atof): Moved to ...
27576 * include/bits/stdlib-float.h: Here. New file.
27577 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27578 * stdlib/bits/stdlib-float.h: New file.
27579 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27581 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27584 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27586 * conform/conformtest.pl (@headers): Add fenv.h.
27587 * conform/data/fenv.h-data: New file.
27588 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27589 include of <math/fenv.h>.
27591 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27592 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27593 && !UNIX98]. Enables tests for XOPEN2K8.
27594 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27595 POSIX2008]: Likewise.
27597 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27598 (struct rusage): Do not expect type or its members.
27601 * math/math.h (FP_NAN): Define macro to integer constant usable in
27602 #if and use that to give value to enum constant.
27603 (FP_INFINITE): Likewise.
27604 (FP_ZERO): Likewise.
27605 (FP_SUBNORMAL): Likewise.
27606 (FP_NORMAL): Likewise.
27608 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27610 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27611 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27614 2012-11-02 Roland McGrath <roland@hack.frob.com>
27616 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27617 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27618 autoconf-time if not.
27619 * configure.in: Remove AC_PREREQ.
27621 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27623 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27624 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27625 of the internal implementation.
27627 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27629 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27630 except include of <misc/sys/syslog.h>.
27632 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27635 function returns with a NULL context exit with zero.
27637 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27639 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27641 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27643 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27644 (run_program_cmd): This.
27645 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27646 (tst_langinfo): New variable. Use it.
27648 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27650 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27651 floating point opcodes.
27653 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27655 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27658 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27660 * sysdeps/mach/hurd/powerpc: Remove directory.
27661 * sysdeps/mach/powerpc: Likewise.
27663 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27665 * scripts/check-local-headers.sh: Ignore c++ headers.
27667 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27669 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27670 __libc_cleanup_region_start argument.
27672 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27677 x * y using scaling, not as x * y + z.
27678 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27680 * math/libm-test.inc (fma_test): Add more tests.
27681 (fma_test_towardzero): Likewise.
27682 (fma_test_downward): Likewise.
27683 (fma_test_upward): Likewise.
27685 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27687 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27689 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27691 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27694 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27696 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27698 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27705 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27708 Fix the order of the list for glibc 2.17.
27709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27712 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27716 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27719 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27720 for low part of x being zero before using __atanl (y).
27721 * math/libm-test.inc (atan2_test): Add another test.
27723 * manual/install.texi (Configuring and compiling): Document
27724 general use of test-wrapper and test-wrapper-env.
27725 * INSTALL: Regenerated.
27727 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27728 (__fma): Do not extract and scale down low bits on after-rounding
27729 systems when result rounded to normal precision would have normal
27731 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27732 (__fmal): Do not extract and scale down low bits on after-rounding
27733 systems when result rounded to normal precision would have normal
27735 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27736 (__fmal): Do not extract and scale down low bits on after-rounding
27737 systems when result rounded to normal precision would have normal
27739 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27741 (fma_test): Add more tests.
27742 (fma_test_towardzero): Likewise.
27743 (fma_test_downward): Likewise.
27744 (fma_test_upward): Likewise.
27746 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27748 * sysdeps/i386/tininess.h: Renamed to ...
27749 * sysdeps/x86/tininess.h: This.
27750 * sysdeps/x86_64/tininess.h: Removed.
27752 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27754 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27755 input. Use $(build-program-cmd).
27756 ($(objpfx)tst-array1-static.out): Likewise.
27757 ($(objpfx)tst-array2.out): Likewise.
27758 ($(objpfx)tst-array3.out): Likewise.
27759 ($(objpfx)tst-array4.out): Likewise.
27760 ($(objpfx)tst-array5.out): Likewise.
27761 ($(objpfx)tst-array5-static.out): Likewise.
27763 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27765 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27768 * nss/nsswitch.h (nss_interface_function): Provide new
27769 macro for use with NSS functions.
27770 * grp/initgroups.c: Use new macro.
27771 * nss/getXXbyYY.c: Likewise.
27772 * nss/getXXbyYY_r.c: Likewise.
27773 * nss/getXXent.c: Likewise.
27774 * nss/getXXent_r.c: Likewise.
27775 * sysdeps/posix/getaddrinfo.c: Likewise.
27777 2012-10-30 Andreas Jaeger <aj@suse.de>
27779 * po/ru.po: Update Russion translation from translation project.
27781 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27786 result and shift together with sticky bit instead of replicating
27787 round-to-nearest rounding.
27788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27789 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27790 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27791 missing underflow exceptions.
27792 (fma_test_towardzero): Add more tests.
27793 (fma_test_downward): Likewise.
27794 (fma_test_upward): Likewise.
27797 * sysdeps/generic/tininess.h: New file.
27798 * sysdeps/i386/tininess.h: Likewise.
27799 * sysdeps/sh/tininess.h: Likewise.
27800 * sysdeps/x86_64/tininess.h: Likewise.
27801 * stdlib/tst-strtod-underflow.c: Likewise.
27802 * stdlib/tst-tininess.c: Likewise.
27803 * stdlib/strtod_l.c: Include <tininess.h>.
27804 (round_and_return): Do not set errno for exact underflow cases.
27805 Force an underflow exception when setting errno for underflow.
27806 Determine underflow based on rounding to normal precision if
27807 TININESS_AFTER_ROUNDING.
27808 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27809 ERANGE for exact underflow cases.
27810 * stdlib/Makefile (tests): Add tst-tininess and
27811 tst-strtod-underflow.
27812 ($(objpfx)tst-tininess): Use $(link-libm).
27813 ($(objpfx)tst-strtod-underflow): Likewise.
27815 2012-10-30 Andreas Jaeger <aj@suse.de>
27818 * elf/Makefile (tests): Remove conditional for have-initfini-array
27819 since this is now always required and the variable does not exist
27821 (tests-static): Likewise.
27822 (modules-names): Likewise.
27824 * po/eo.po: Add Esperanto translation from translation project.
27826 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27827 merged with constructor/destructor.
27828 (init_array): Likewise.
27829 * elf/tst-array2dep.c (fini_array): Likewise.
27830 (init_array): Likewise.
27832 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27834 * manual/message.texi: Delete @cartouche tags.
27836 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27838 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27840 * sysdeps/mach/hurd/fsync.c: Likewise.
27842 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27843 [_POSIX_REALTIME_SIGNALS]: Change condition to
27844 [_POSIX_REALTIME_SIGNALS > 0].
27846 2012-10-27 Andreas Jaeger <aj@suse.de>
27848 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27849 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27851 [__WORDSIZE != 64]: Likewise.
27853 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27855 * iconvdata/tst-table.sh: Remove ${SHELL}.
27856 * iconvdata/tst-tables.sh: Likewise.
27858 2012-10-25 David S. Miller <davem@davemloft.net>
27860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27861 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27866 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27867 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27868 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27871 2012-10-25 Roland McGrath <roland@hack.frob.com>
27873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27874 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27877 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27878 Jim Blandy <jimb@codesourcery.com>
27880 * scripts/cross-test-ssh.sh: New file.
27881 * manual/install.texi (Configuring and compiling): Document use of
27883 * INSTALL: Regenerated.
27885 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27887 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27890 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27892 * Makeconfig (run-program-prefix): Fix comment.
27894 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27895 Jim Blandy <jimb@codesourcery.com>
27897 * Makeconfig (test-wrapper): New variable,
27898 (test-wrapper-env): Likewise.
27899 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27900 (run-built-tests): Define to yes.
27901 (run-program-prefix): Use $(test-wrapper).
27902 (built-program-cmd): Likewise.
27903 * Rules (make-test-out): Use $(test-wrapper-env) and
27904 $(host-built-program-cmd).
27905 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27906 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27908 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27909 $(test-wrapper-env) to tst-rtld-load-self.sh.
27910 ($(objpfx)order2.out): Use $(test-wrapper).
27911 ($(objpfx)tst-initorder.out): Likewise.
27912 ($(objpfx)tst-initorder2.out): Likewise.
27913 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27914 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27915 (test_wrapper_env): New variable. Use it to run ld.so.
27916 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27917 Use it to run ld.so.
27918 (test_wrapper_env): Likewise.
27919 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27920 $(test-wrapper) to run-iconv-test.sh.
27921 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27922 (ICONV): Use $test_wrapper.
27923 * posix/Makefile ($(objpfx)globtest.out): Pass
27924 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27925 globtest.sh, not $(run-program-prefix).
27926 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27927 (test_wrapper): Likewise.
27928 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27929 set together with run_via_rtld_prefix.
27930 (run_program_prefix): Define in terms of test_wrapper and
27931 run_via_rtld_prefix.
27933 2012-10-24 Roland McGrath <roland@hack.frob.com>
27935 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27936 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27940 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27941 Declare __clock_getres, __clock_gettime, __clock_settime,
27942 __clock_nanosleep, and __clock_getcpuclockid.
27943 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27944 Remove librt_hidden_def (clock_gettime).
27945 * sysdeps/unix/clock_gettime.c: Likewise.
27946 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27947 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27948 * rt/clock_getres.c: Define __clock_getres as an alias.
27949 * sysdeps/posix/clock_getres.c: Likewise.
27950 * rt/clock_settime.c: Define __clock_settime as an alias.
27951 * sysdeps/unix/clock_settime.c: Likewise.
27952 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27953 * sysdeps/unix/clock_nanosleep.c: Likewise.
27954 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27955 * rt/clock-compat.c: New file.
27956 * rt/Makefile (librt-routines): Add clock-compat and move
27957 $(clock-routines) to ...
27958 (routines): ... here, new variable.
27959 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27960 Don't add get_clockfreq here.
27961 * rt/Versions (libc: GLIBC_2.17): New version set.
27962 Add clock_* symbols here.
27963 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27964 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27965 (GLIBC_2.17): Add clock_* symbols.
27966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27977 * NEWS: Mention the move.
27979 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27980 Use __open, __read, __close rather than their public counterparts.
27981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27982 (__get_clockfreq_via_cpuinfo): Likewise.
27983 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27984 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27986 * config.h.in (HAVE_IFUNC): New #undef.
27987 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27989 * configure: Regenerated.
27991 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27993 * configure.in: Move READELF check to start of file.
27994 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27995 libc_cv_asm_gnu_indirect_function in the process.
27996 * configure: Regenerated.
27998 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28000 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28001 send the output to /dev/null.
28002 (libc_cv_cc_with_libunwind): Likewise.
28003 (libc_cv_as_noexecstack): Likewise.
28004 * configure: Regenerate.
28006 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28008 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28010 * posix/globtest.sh (TMPDIR): Do not set.
28011 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28012 (testout): Likewise.
28014 2012-10-24 Andreas Jaeger <aj@suse.de>
28016 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28017 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28018 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28019 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28020 posix_fadvise64, posix_fallocate64.
28022 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28023 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28024 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28026 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28028 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28031 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28032 <bits/fcntl-linux.h>.
28033 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28035 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28036 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28037 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28038 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28039 [__WORDSIZE != 64]: Likewise.
28041 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28043 * Makeconfig (run-built-tests): New variable.
28044 * Rules [$(cross-compiling) = yes]: Change condition to
28045 [$(run-built-tests) = no].
28046 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28047 to [$(run-built-tests) = yes].
28048 * elf/Makefile [$(cross-compiling) = no]: Likewise
28049 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28050 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28051 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28052 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28053 * io/Makefile [$(cross-compiling) = no]: Likewise.
28054 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28055 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28056 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28057 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28058 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28059 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28060 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28061 * string/Makefile [$(cross-compiling) = no]: Likewise.
28063 * posix/Makefile ($(objpfx)globtest.out): Pass
28064 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28065 $(rtld-installed-name).
28066 * posix/globtest.sh (elf_objpfx): Remove variable.
28067 (rtld_installed_name): Likewise.
28068 (library_path): Likewise.
28069 (run_program_prefix): New variable. Use for running globtest
28072 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28073 Joseph Myers <joseph@codesourcery.com>
28075 * Makeconfig (host-built-program-cmd): New variable.
28076 * elf/Makefile (tst-stackguard1-ARGS): Use
28077 $(host-built-program-cmd).
28078 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28079 (tst-spawn-ARGS): Likewise.
28080 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28082 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28083 Jim Blandy <jimb@codesourcery.com>
28085 * Makeconfig (run-via-rtld-prefix): New variable.
28086 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28087 (built-program-cmd): Likewise.
28089 2012-10-22 Andreas Jaeger <aj@suse.de>
28091 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28092 __O_RSYNC if it exists, otherwise to O_SYNC.
28094 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28095 Joseph Myers <joseph@codesourcery.com>
28097 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28099 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28101 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28104 2012-10-22 Andreas Jaeger <aj@suse.de>
28106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28111 bits/fcntl-linux.h.
28113 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28114 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28121 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28122 Joseph Myers <joseph@codesourcery.com>
28124 * config.make.in (NM): New variable.
28126 2012-10-21 Andreas Jaeger <aj@suse.de>
28128 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28129 definitions and declarations that are provided by
28130 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28132 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28135 * elf/Makefile (tests-static): Add tst-leaks1-static.
28136 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28137 ($(objpfx)tst-leaks1-static): New rule.
28138 ($(objpfx)tst-leaks1-static-mem): Likewise.
28139 (tst-leaks1-static-ENV): New macro.
28140 * elf/dl-open.c (dl_open_worker): Check the main application
28141 only if SHARED is defined.
28142 * elf/tst-leaks1-static.c: New file.
28144 2012-10-20 Andreas Jaeger <aj@suse.de>
28146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28147 generic values for Linux.
28148 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28149 and declarations that are provided by <bits/fcntl-linux.h> and
28150 include <bits/fcntl-linux.h>.
28151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28152 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28154 2012-10-20 Roland McGrath <roland@hack.frob.com>
28156 * io/fcntl.h: Move include of <bits/types.h> to the top and
28157 include it unconditionally.
28159 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28161 * wcsmbs/Makefile (tests-ifunc): New variable.
28162 (tests): Add $(tests-ifunc).
28163 * wcsmbs/test-wcschr-ifunc.c: New file.
28164 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28165 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28166 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28167 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28168 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28170 * string/Makefile (tests-ifunc): New variable.
28171 (tests): Add $(tests-ifunc).
28172 * string/test-memccpy.c (TEST_NAME): New macro.
28173 * string/test-memchr.c (TEST_NAME): Likewise.
28174 * string/test-memcmp.c (TEST_NAME): Likewise.
28175 * string/test-memcpy.c (TEST_NAME): Likewise.
28176 * string/test-memmem.c (TEST_NAME): Likewise.
28177 * string/test-memmove.c (TEST_NAME): Likewise.
28178 * string/test-memset.c (TEST_NAME): Likewise.
28179 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28180 * string/test-stpcpy.c (TEST_NAME): Likewise.
28181 * string/test-stpncpy.c (TEST_NAME): Likewise.
28182 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28183 * string/test-strcasestr.c (TEST_NAME): Likewise.
28184 * string/test-strcat.c (TEST_NAME): Likewise.
28185 * string/test-strchr.c (TEST_NAME): Likewise.
28186 * string/test-strcmp.c(TEST_NAME): Likewise.
28187 * string/test-strcpy.c (TEST_NAME): Likewise.
28188 * string/test-strcspn.c (TEST_NAME): Likewise.
28189 * string/test-strlen.c (TEST_NAME): Likewise.
28190 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28191 * string/test-strncmp.c (TEST_NAME): Likewise.
28192 * string/test-strncpy.c (TEST_NAME): Likewise.
28193 * string/test-strnlen.c (TEST_NAME): Likewise.
28194 * string/test-strpbrk.c (TEST_NAME): Likewise.
28195 * string/test-strrchr.c (TEST_NAME): Likewise.
28196 * string/test-strspn.c (TEST_NAME): Likewise.
28197 * string/test-strstr.c (TEST_NAME): Likewise.
28198 * string/test-bcopy-ifunc.c: New file.
28199 * string/test-bzero-ifunc.c: Likewise.
28200 * string/test-memccpy-ifunc.c: Likewise.
28201 * string/test-memchr-ifunc.c: Likewise.
28202 * string/test-memcmp-ifunc.c: Likewise.
28203 * string/test-memcpy-ifunc.c: Likewise.
28204 * string/test-memmem-ifunc.c: Likewise.
28205 * string/test-memmove-ifunc.c: Likewise.
28206 * string/test-mempcpy-ifunc.c: Likewise.
28207 * string/test-memset-ifunc.c: Likewise.
28208 * string/test-rawmemchr-ifunc.c: Likewise.
28209 * string/test-stpcpy-ifunc.c: Likewise.
28210 * string/test-stpncpy-ifunc.c: Likewise.
28211 * string/test-strcasecmp-ifunc.c: Likewise.
28212 * string/test-strcasestr-ifunc.c: Likewise.
28213 * string/test-strcat-ifunc.c: Likewise.
28214 * string/test-strchr-ifunc.c: Likewise.
28215 * string/test-strchrnul-ifunc.c: Likewise.
28216 * string/test-strcmp-ifunc.c: Likewise.
28217 * string/test-strcpy-ifunc.c: Likewise.
28218 * string/test-strcspn-ifunc.c: Likewise.
28219 * string/test-strlen-ifunc.c: Likewise.
28220 * string/test-strncasecmp-ifunc.c: Likewise.
28221 * string/test-strncat-ifunc.c: Likewise.
28222 * string/test-strncmp-ifunc.c: Likewise.
28223 * string/test-strncpy-ifunc.c: Likewise.
28224 * string/test-strnlen-ifunc.c: Likewise.
28225 * string/test-strpbrk-ifunc.c: Likewise.
28226 * string/test-strrchr-ifunc.c: Likewise.
28227 * string/test-strspn-ifunc.c: Likewise.
28228 * string/test-strstr-ifunc.c: Likewise.
28230 * debug/Makefile (tests-ifunc): New variable.
28231 (tests): Add $(tests-ifunc).
28232 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28233 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28234 * debug/test-stpcpy_chk-ifunc.c: New file.
28235 * debug/test-strcpy_chk-ifunc.c: Likewise.
28237 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28240 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28241 header is not read in.
28243 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28245 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28246 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28247 directly. Pass built executable to script as
28248 $(built-program-cmd).
28249 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28250 $testprogram without using LD_LIBRARY_PATH and $ldso.
28252 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28253 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28254 $(rtld-installed-name).
28255 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28256 (rtld_installed_name): Likewise.
28257 (library_path): Likewise.
28258 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28259 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28260 $(run-program-prefix) to tst-tables.sh.
28261 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28262 it to run tst-table-from and tst-table-to.
28263 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28264 Pass it to tst-table.sh.
28265 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28266 $(run-program-prefix) to tst-gettext.sh.
28267 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28269 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28271 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28272 to run tst-gettext.
28273 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28274 to run tst-gettext2.
28275 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28276 to run tst-translit.
28277 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28278 $(run-program-prefix) to tst-mtrace.sh.
28279 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28281 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28282 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28283 $(rtld-installed-name).
28284 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28285 (rtld_installed_name): Likewise.
28286 (run_program_prefix): New variable. Use it to run wordexp-test.
28288 * Makeconfig (ARCH): Remove all definitions.
28289 (machine): Likewise.
28290 [ARCH]: Remove conditional code.
28291 [!objdir]: Give error.
28292 [!objdir] (objpfx): Remove.
28293 [!objdir] (common-objpfx): Likewise.
28294 [!objdir] (common-objdir): Likewise.
28295 * configure.in (config_makefile): Remove. Hardcode Makefile in
28296 AC_CONFIG_FILES call.
28297 * configure: Regenerated.
28300 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28302 (testout): Likewise.
28304 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28305 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28306 $(rtld-installed-name).
28307 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28308 (rtld_installed_name): Likwise.
28309 (runit): Remove function.
28310 (run_getconf): New variable, Use it for running getconf binary.
28312 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28315 * string/test-memmem.c (check_result): New function.
28316 (do_one_test): Use it.
28317 (check1): New function.
28318 (test_main): Use it.
28320 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28322 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28324 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28326 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28327 (_G_LSEEK64): Likewise.
28328 (_G_MMAP64): Likewise.
28329 (_G_FSTAT64): Likewise.
28330 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28331 (_G_LSEEK64): Likewise.
28332 (_G_MMAP64): Likewise.
28333 (_G_FSTAT64): Likewise.
28334 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28335 unconditional. Call __mmap64 directly.
28336 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28337 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28338 __lseek64 directly.
28339 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28340 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28342 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28343 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28344 __lseek64 directly.
28345 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28346 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28347 __lseek64 directly.
28348 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28349 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28350 __lseek64 directly.
28351 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28352 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28353 __fxstat64 directly.
28354 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28355 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28357 (freopen64) [!_G_OPEN64]: Remove conditional code.
28358 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28360 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28361 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28363 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28364 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28366 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28367 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28369 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28370 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28372 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28373 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28375 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28376 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28378 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28380 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28383 * manual/memory.texi (Malloc Tunable Parameters): Add note
28384 about free list pointers overwriting some perturb bytes.
28385 Wording suggested by Roland McGrath.
28387 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28389 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28390 (lgamma_test): Likewise.
28391 (tgamma_test): Likewise.
28393 2012-10-16 Florian Weimer <fweimer@redhat.com>
28396 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28397 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28399 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28401 * NEWS: Mention BZ #14716.
28402 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28403 when removing AVAILABLE1_USES_J macro.
28405 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28407 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28408 (__bswap_64): __uint64_t for unsigned 64-bit int.
28410 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28412 * include/string.h (memmem): Declare libc hidden alias.
28413 * string/memmem.c (memmem): Define libc hidden alias.
28414 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28415 __read, __close instead of open, read, close.
28417 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28419 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28420 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28422 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28423 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28424 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28426 (__rawmemchr_sse2): Likewise.
28427 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28428 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28429 (__strchr_sse2): Likewise.
28430 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28431 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28432 (__strcasecmp_sse2): Likewise.
28433 (__strncasecmp_sse2): Likewise.
28434 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28435 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28436 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28437 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28438 (__strrchr_sse2): Likewise.
28439 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28441 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28442 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28443 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28444 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28445 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28446 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28447 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28448 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28449 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28450 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28451 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28452 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28453 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28454 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28455 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28456 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28457 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28458 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28459 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28460 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28461 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28462 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28463 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28464 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28465 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28466 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28467 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28468 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28469 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28470 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28472 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28474 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28475 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28476 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28477 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28479 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28481 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28482 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28483 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28484 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28486 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28487 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28488 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28489 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28490 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28491 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28492 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28493 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28494 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28495 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28496 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28497 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28498 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28499 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28500 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28501 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28502 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28503 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28506 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28507 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28508 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28509 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28510 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28511 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28512 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28513 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28514 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28515 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28516 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28517 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28518 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28519 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28520 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28521 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28522 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28523 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28524 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28525 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28526 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28528 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28529 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28530 * include/ifunc-impl-list.h: New file.
28531 * misc/ifunc-impl-list.c: Likewise.
28532 * misc/Makefile (routines): Add ifunc-impl-list.
28533 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28534 * string/test-string.h: Include <ifunc-impl-list.h>.
28535 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28536 TEST_NAME]: New variables.
28537 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28539 (test_init): Call __libc_ifunc_impl_list to initialize
28540 func_list if TEST_IFUNC and TEST_NAME are defined.
28542 * string/Makefile (strop-tests): Add bcopy and bzero.
28543 * string/test-bcopy.c: New file.
28544 * string/test-bzero.c: Likewise.
28545 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28547 * string/test-memset.c: Support bzero test if TEST_BZERO is
28549 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28551 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28553 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28556 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28558 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28559 * configure: Regenerated.
28561 * Makeconfig (+link-static-before-libc): Don't include
28562 $(link-static-libc).
28564 * libio/libio.h (_IO_pos_t): Remove.
28566 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28568 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28571 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28573 * crypt/crypt-entry.c: Include fips-private.h.
28574 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28575 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28576 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28577 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28579 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28581 * crypt/crypt-private.h: Include stdbool.h.
28582 (_ufc_setup_salt_r): Return bool.
28583 * crypt/crypt-entry.c: Include errno.h.
28584 (__crypt_r): Return NULL with EINVAL for bad salt.
28585 * crypt/crypt_util.c (bad_for_salt): New.
28586 (_ufc_setup_salt_r): Check that salt is long enough and within
28587 the specified alphabet.
28588 * crypt/badsalttest.c: New file.
28589 * crypt/Makefile (tests): Add it.
28590 ($(objpfx)badsalttest): New.
28592 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28594 * NEWS: Add entry for BZ #14602.
28596 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28598 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28600 * math/libm-test.inc: Update comment listing what functions and
28602 (isgreater_test): New function.
28603 (isgreaterequal_test): Likewise.
28604 (isless_test): Likewise.
28605 (islessequal_test): Likewise.
28606 (islessgreater_test): Likewise.
28607 (isunordered_test): Likewise.
28608 (main): Call the new functions.
28610 2012-10-09 Roland McGrath <roland@hack.frob.com>
28612 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28613 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28614 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28615 * sysdeps/i386/configure: Regenerated.
28616 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28617 * sysdeps/mach/configure: Regenerated.
28618 * sysdeps/mach/hurd/configure: Regenerated.
28619 * sysdeps/powerpc/configure: Regenerated.
28620 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28621 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28622 * sysdeps/s390/s390-32/configure: Regenerated.
28623 * sysdeps/s390/s390-64/configure: Regenerated.
28624 * sysdeps/sh/configure: Regenerated.
28625 * sysdeps/sparc/configure: Regenerated.
28626 * sysdeps/unix/sysv/linux/configure: Regenerated.
28627 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28628 * sysdeps/x86_64/configure: Regenerated.
28630 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28631 defined. Don't check if MAP is NULL.
28633 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28635 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28636 (_G_stat64): Likewise.
28637 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28638 (_G_stat64): Likewise.
28639 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28640 instead of struct _G_stat64.
28641 * libio/fileops.c (mmap_remap_check): Likewise.
28642 (decide_maybe_mmap): Likewise.
28643 (_IO_new_file_seekoff): Likewise.
28644 (_IO_file_stat): Likewise.
28645 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28647 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28648 instead of struct _G_stat64.
28649 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28651 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28654 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28656 (CHECK_EOL): New macro.
28657 (two_way_short_needle): Check beginning of haystack for EOL. Use
28659 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28660 Replace with CHECK_EOL.
28661 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28662 Replace with CHECK_EOL.
28664 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28666 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28668 * math/libm-test.inc: Update comment listing what functions and
28670 (finite_test): New function.
28671 (isinf_test): Likewise.
28672 (isnan_test): Likewise.
28673 (fpclassify_test): Test subnormal input.
28674 (isfinite_test): Likewise.
28675 (isnormal_test): Likewise.
28676 (main): Call the new functions.
28678 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28681 * Makerules (%.dynsym): Force C locale when running
28682 $(OBJDUMP) --dynamic-syms.
28684 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28686 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28689 2012-10-06 David S. Miller <davem@davemloft.net>
28691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28692 upper 32-bits of the length value in %o2 since we use branch-on-register
28693 tests which consider the entire 64-bit register.
28695 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28697 * string/test-strstr.c (check2): Add a test for page boundary.
28699 2012-10-05 David S. Miller <davem@davemloft.net>
28701 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28702 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28704 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28706 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28707 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28708 and bzero when HWCAP_SPARC_CRYPTO is present.
28710 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28713 * string/test-strstr.c (check2): New function.
28714 (test_main): Call check2.
28716 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28718 * string/bug-strcasestr1.c (do_test): Moved to ...
28719 * string/test-strcasestr.c (check1): Here. New function.
28720 (do_one_test): Break out result checking code into ...
28721 (check_result): This. New function.
28722 (do_one_test): Call check_result.
28723 (test_main): Call check1.
28724 * string/bug-strchr1.c (do_test): Moved to ...
28725 * string/test-strchr.c (check1): Here. New function.
28726 (do_one_test): Break out result checking code into ...
28727 (check_result): This. New function.
28728 (do_one_test): Call check_result.
28729 (test_main): Call check1.
28730 * string/bug-strstr1.c (main): Moved to ...
28731 * string/test-strstr.c (check1): Here. New function.
28732 (do_one_test): Break out result checking code into ...
28733 (check_result): This. New function.
28734 (do_one_test): Call check_result.
28735 (test_main): Call check1.
28736 * string/bug-strcasestr1.c: Removed.
28737 * string/bug-strchr1.c: Likewise.
28738 * string/bug-strstr1.c: Likewise.
28740 * elf/Makefile (dl-routines): Add hwcaps.
28741 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28742 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28743 (_dl_important_hwcaps): Moved to ...
28744 * elf/dl-hwcaps.c: Here. New file.
28745 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28748 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28749 if IS_IN_rtld isn't defined.
28751 * elf/dl-support.c (_dl_sysinfo_map): New.
28752 Include "get-dynamic-info.h" and "setup-vdso.h".
28753 (_dl_non_dynamic_init): Call setup_vdso.
28754 * elf/dynamic-link.h: Don't include <assert.h>.
28755 (elf_get_dynamic_info): Moved to ...
28756 * elf/get-dynamic-info.h: Here. New file.
28757 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28758 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28759 * elf/setup-vdso.h: Here. New file.
28760 * elf/rtld.c: Include "setup-vdso.h".
28761 (dl_main): Call setup_vdso.
28763 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28765 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28766 creal in comment listing functions tested. List finite, isinf,
28767 isnan, isless, islessequal, isgreater, isgreaterequal,
28768 islessgreater, isunordered, lgamma_r and pow10 as functions and
28769 macros not tested. Mention which functions not tested are aliases
28770 for other functions. Fix typo. Note that signs of NaNs are not
28773 * scripts/config.guess: Update from config.git.
28774 * scripts/config.sub: Likewise.
28776 2012-10-04 Roland McGrath <roland@hack.frob.com>
28778 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28779 * misc/madvise.c (madvise): Renamed to __madvise.
28780 Make madvise a weak alias.
28781 * include/sys/mman.h: Declare __madvise.
28782 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28783 * sysdeps/unix/syscalls.list
28784 (madvise): Make __madvise the strong name, and madvise a weak alias.
28785 * sysdeps/unix/sysv/linux/syscalls.list
28786 (madvise, mmap): Remove redundant entries.
28787 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28788 * malloc/malloc.c (mtrim): Likewise.
28789 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28791 2012-10-03 Roland McGrath <roland@hack.frob.com>
28793 * sysdeps/mach/hurd/dl-cache.c: File removed.
28794 * config.h.in (USE_LDCONFIG): New #undef.
28795 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28796 * configure: Regenerated.
28797 * elf/Makefile (dl-routines): Add dl-cache only under
28798 [$(use-ldconfig) = yes].
28799 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28800 cache on [USE_LDCONFIG].
28801 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28803 * elf/rtld.c (dl_main): Likewise.
28805 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28807 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28808 _SC_LEVEL4_CACHE_LINESIZE.
28810 2012-10-03 Roland McGrath <roland@hack.frob.com>
28812 * sysdeps/unix/bsd/confstr.h: File removed.
28814 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28816 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28819 2012-10-02 Roland McGrath <roland@hack.frob.com>
28821 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28822 Make 'mapoff' field ElfW(Off) rather than off_t.
28824 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28826 * nscd/Makefile: Remove nscd-cflags and all its users.
28827 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28828 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28831 * malloc.c (malloc_printerr): Clarify error message.
28833 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28837 Set bit_FMA_Usable if FMA is supported.
28838 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28840 (bit_FMA4_Usable): Updated.
28841 (index_FMA_Usable): New macro.
28842 (CPUID_FMA): Likewise
28843 (HAS_FMA): Defined with bit_FMA_Usable.
28845 2012-10-01 Roland McGrath <roland@hack.frob.com>
28847 * bits/types.h (__swblk_t): Type removed.
28848 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28849 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28851 (__SWBLK_T_TYPE): Likewise.
28852 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28853 (__SWBLK_T_TYPE): Likewise.
28854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28855 (__SWBLK_T_TYPE): Likewise.
28856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28857 (__SWBLK_T_TYPE): Likewise.
28859 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28860 Honza Horak <hhorak@redhat.com>
28862 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28863 (xdr_mapname): Use YPMAXMAP as maxsize.
28864 (xdr_peername): Use YPMAXPEER as maxsize.
28865 (xdr_keydat): Use YPAXRECORD as maxsize.
28866 (xdr_valdat): Use YPMAXRECORD as maxsize.
28868 2012-10-01 Roland McGrath <roland@hack.frob.com>
28870 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28872 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28873 * csu/init-first.c: ... here.
28874 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28875 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28876 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28877 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28878 * sysdeps/i386/init-first.c: File removed.
28879 * sysdeps/sh/init-first.c: File removed.
28881 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28885 if x * y might underflow to zero and z is zero.
28886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28887 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28888 * math/libm-test.inc (min_subnorm_value): New variable.
28889 (fma_test): Add more tests.
28890 (fma_test_towardzero): Likewise.
28891 (fma_test_downward): Likewise
28892 (fma_test_upward): Likewise.
28893 (initialize): Set min_subnorm_value.
28895 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28900 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28901 mode for addition resulting in exact zero.
28902 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28905 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28906 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28907 * math/libm-test.inc (fma_test): Add more tests.
28908 (fma_test_towardzero): New function.
28909 (fma_test_downward): Likewise.
28910 (fma_test_upward): Likewise.
28911 (main): Call the new functions.
28913 2012-09-28 David S. Miller <davem@davemloft.net>
28915 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28917 2012-09-28 Roland McGrath <roland@hack.frob.com>
28919 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28920 instead of SIGALRM.
28922 * sysdeps/gnu/_G_config.h: Moved to ...
28923 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28924 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28925 * sysdeps/generic/_G_config.h: ... here.
28927 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28929 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28931 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28932 Conditionalize target on [libnss_test1.so-version].
28934 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28936 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28937 (elfobjdir): Move out of conditionals.
28939 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28940 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28941 (__nss_lookup_function): Conditionalize label remove_from_tree on
28942 [!DO_STATIC_NSS || SHARED], matching its only use.
28944 2012-09-28 David S. Miller <davem@davemloft.net>
28946 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28947 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28949 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28951 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28953 when HWCAP_SPARC_CRYPTO is present.
28955 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28957 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28959 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28962 * stdio-common/vfprintf.c (process_string_arg): Revert
28965 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28967 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28969 * stdio-common/tst-sprintf.c: Include <locale.h>
28970 (main): Test sprintf's handling of incomplete multibyte
28973 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28975 * elf/dl-runtime.c (VERSYMIDX): Removed.
28976 * elf/dl-version.c (VERSYMIDX): Likewise.
28977 * elf/do-rel.h (VERSYMIDX): Likewise.
28978 (VALIDX): Likewise.
28979 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28980 * elf/rtld.c (VALIDX): Likewise.
28981 (ADDRIDX): Likewise.
28982 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28983 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28984 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28985 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28986 (VALIDX): Likewise.
28987 (ADDRIDX): Likewise.
28989 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28991 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28993 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28996 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28998 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28999 addresses are in the same scope as 192.0.2/24.
29000 * posix/gai.conf: Document new scope table defaults.
29002 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29005 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29006 for ftell. Compute offsets from write pointers instead.
29007 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29009 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29012 * libio/Makefile (tests): New test case tst-fseek.
29013 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29014 combination works in wide mode.
29015 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29016 state when the external buffer state changes.
29018 2012-09-27 David S. Miller <davem@davemloft.net>
29021 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29022 pass reloc->r_addend in as the 'high' argument to
29023 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29027 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29029 * rt/tst-aio2.c: Include <pthread.h>.
29030 * rt/tst-aio3.c: Likewise.
29032 2012-09-27 Steve Ellcey <sellcey@mips.com>
29034 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29036 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29038 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29039 contents on [SHARED].
29041 2012-09-26 Marek Polacek <polacek@redhat.com>
29045 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29046 for C++ and GCC <4.3 as well as for non GCC compilers.
29048 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29052 2012-09-25 Roland McGrath <roland@hack.frob.com>
29054 * Makefile.in (all, install): Declare with .PHONY.
29055 Reported by Michael Hope <michael.hope@linaro.org>.
29057 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29059 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29060 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29062 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29064 (sydep_routines): Add the new and the internal functions.
29065 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29066 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29068 (GLIBC_2.17): Add the new function.
29069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29070 (GLIBC_2.17): Likewise.
29071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29072 (GLIBC_2.17): Likewise.
29073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29074 (GLIBC_2.17): Likewise.
29075 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29077 2012-09-25 Alan Modra <amodra@gmail.com>
29079 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29080 Add release barrier before setting once_control to say
29081 initialisation is done. Add hints on lwarx. Use macro in
29083 (clear_once_control): Add release barrier.
29085 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29088 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29090 * math/s_clog10.c (__clog10): Likewise.
29091 * math/s_clog10f.c (__clog10f): Likewise.
29092 * math/s_clog10l.c (__clog10l): Likewise.
29093 * math/s_clogf.c (__clogf): Likewise.
29094 * math/s_clogl.c (__clogl): Likewise.
29095 * math/Makefile (libm-calls): Add x2y2m1.
29096 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29097 (__x2y2m1): Likewise.
29098 (__x2y2m1l): Likewise.
29099 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29100 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29101 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29102 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29103 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29104 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29105 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29106 * sysdeps/i386/fpu/libm-test-ulps: Update.
29107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29110 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29111 int as type of variable DEPTH.
29112 (glob): Use size_t instead of int as type of variables NEWCOUNT
29115 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29117 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29118 Add s_sincosf-sse2.
29119 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29120 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29121 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29122 macros for using routine as __sincosf_ia32.
29123 Use macro for function declaration and weak_alias.
29124 * sysdeps/i386/fpu/libm-test-ulps: Update.
29126 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29129 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29130 subnormal argument.
29131 * math/s_cexpf.c (__cexpf): Likewise.
29132 * math/s_csinf.c (__csinf): Likewise.
29133 * math/s_csinhf.c (__csinhf): Likewise.
29134 * math/s_ctanf.c (__ctanf): Likewise.
29135 * math/s_ctanhf.c (__ctanhf): Likewise.
29136 * math/s_ccosh.c (__ccoshf): Likewise.
29137 * math/s_cexp.c (__cexpl): Likewise.
29138 * math/s_csin.c (__csin): Likewise.
29139 * math/s_csinh.c (__csinh): Likewise.
29140 * math/s_ctan.c (__ctan): Likewise.
29141 * math/s_ctanh.c (ctanh): Likewise.
29142 * math/s_ccoshl.c (__ccoshl): Likewise.
29143 * math/s_cexpl.c (__cexpl): Likewise.
29144 * math/s_csinl.c (__csinl): Likewise.
29145 * math/s_csinhl.c (__csinhl): Likewise.
29146 * math/s_ctanl.c (__ctanl): Likewise.
29147 * math/s_ctanhl.c (__ctanhl): Likewise.
29149 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29151 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29152 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29153 (_IO_off_t): Define to __off_t, not _G_off_t.
29154 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29155 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29156 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29157 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29158 type of __dummy and __dummy2 fields.
29159 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29160 (_G_ssize_t): Likewise.
29161 (_G_off_t): Likewise.
29162 (_G_pid_t): Likewise.
29163 (_G_uid_t): Likewise.
29164 (_G_wchar_t): Likewise.
29165 (_G_wint_t): Likewise.
29166 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29167 (_G_ssize_t): Likewise.
29168 (_G_off_t): Likewise.
29169 (_G_pid_t): Likewise.
29170 (_G_uid_t): Likewise.
29171 (_G_wchar_t): Likewise.
29172 (_G_wint_t): Likewise.
29173 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29174 (_G_ssize_t): Likewise.
29175 (_G_off_t): Likewise.
29176 (_G_pid_t): Likewise.
29177 (_G_uid_t): Likewise.
29178 (_G_wchar_t): Likewise.
29179 (_G_wint_t): Likewise.
29181 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29183 * malloc/arena.c: Include malloc-sysdep.h.
29184 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29185 is sufficient to shrink the heap or an unmap is needed.
29186 * sysdeps/generic/malloc-sysdep.h: New file. Define
29187 new function check_may_shrink_heap.
29188 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29189 new function check_may_shrink_heap.
29191 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29193 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29196 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29198 * catgets/test-gencat.sh: Add "set -e".
29199 * elf/tst-pathopt.sh: Likewise.
29200 * grp/tst_fgetgrent.sh: Likewise.
29201 * iconvdata/run-iconv-test.sh: Likewise.
29202 * intl/tst-gettext.sh: Likewise.
29203 * intl/tst-gettext2.sh: Likewise.
29204 * intl/tst-gettext4.sh: Likewise.
29205 * intl/tst-gettext6.sh: Likewise.
29206 * intl/tst-translit.sh: Likewise.
29207 * io/ftwtest-sh: Likewise.
29208 * libio/test-freopen.sh: Likewise.
29209 * malloc/tst-mtrace.sh: Likewise.
29210 * posix/globtest.sh: Likewise.
29211 * posix/tst-getconf.sh: Likewise.
29212 * posix/wordexp-tst.sh: Likewise.
29213 * stdio-common/tst-printf.sh: Likewise.
29214 * stdio-common/tst-unbputc.sh: Likewise.
29215 * stdlib/tst-fmtmsg.sh: Likewise.
29216 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29217 * catgets/Makefile: Do not specify -e option when running
29218 testsuite shell scripts.
29219 * elf/Makefile: Likewise.
29220 * grp/Makefile: Likewise.
29221 * iconvdata/Makefile: Likewise.
29222 * intl/Makefile: Likewise.
29223 * io/Makefile: Likewise.
29224 * libio/Makefile: Likewise.
29225 * malloc/Makefile: Likewise.
29226 * posix/Makefile: Likewise.
29227 * stdio-common/Makefile: Likewise.
29228 * stdlib/Makefile: Likewise.
29229 * sysdeps/x86_64/Makefile: Likewise.
29231 * io/ftwtest-sh: Add copyright header.
29232 * posix/globtest.sh: Likewise.
29233 * posix/tst-getconf.sh: Likewise.
29234 * posix/wordexp-tst.sh: Likewise.
29235 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29237 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29240 * Makeconfig (+link): Defined as $(+link-static) if
29241 $(build-shared) isn't yes.
29242 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29244 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29246 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29249 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29250 new chunk size with MALLOC_ALIGN_MASK.
29252 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29255 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29257 (__printf_fphex): Determine rounding using get_rounding_mode and
29259 * stdio-common/tst-printf-round.c (struct hex_test): New
29261 (hex_tests): New variable.
29262 (test_hex_in_one_mode): New function.
29263 (do_test): Also run tests for hex float output.
29265 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29267 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29268 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29269 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29270 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29271 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29272 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29273 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29274 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29276 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29278 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29279 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29280 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29281 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29283 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29286 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29288 * elf/tst-rtld-load-self.sh: New test.
29289 * elf/Makefile: Run it.
29291 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29293 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29294 (tst-writev-ENV): Remove.
29295 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29297 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29299 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29301 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29303 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29305 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29307 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29308 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29309 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29312 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29315 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29316 * config.make.in (have-cpp-asm-debuginfo): Removed.
29317 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29318 * configure: Regenerated.
29320 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29323 * stdio-common/printf_fp.c: Include <stdbool.h> and
29325 (___printf_fp): Determine rounding using get_rounding_mode and
29327 * stdio-common/tst-printf-round.c: New file.
29328 * stdio-common/Makefile (tests): Add tst-printf-round.
29329 (link-libm): New variable.
29330 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29332 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29335 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29336 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29338 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29341 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29343 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29344 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29345 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29346 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29348 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29351 * include/rounding-mode.h: New file.
29352 * sysdeps/generic/get-rounding-mode.h: Likewise.
29353 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29354 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29355 (MAX_VALUE): New macro.
29356 (MIN_VALUE): Likewise.
29357 (overflow_value): New function.
29358 (underflow_value): Likewise.
29359 (round_and_return): Use overflow_value and underflow_value to
29360 determine return values in overflow and underflow cases. Use
29361 round_away to determine rounding depending on rounding mode.
29362 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29363 determine return values in overflow and underflow cases.
29364 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29365 (struct test_results): New structure.
29366 (struct test): Use struct test_results to store expected results
29367 for all rounding modes.
29368 (TEST): Include expected results for all rounding modes.
29369 (test_in_one_mode): New function.
29370 (do_test): Use test_in_one_mode to compute and check results.
29371 Check results for all rounding modes.
29372 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29375 2012-12-09 Allan McRae <allan@archlinux.org>
29377 * sysdeps/i386/fpu/libm-test-ulps: Update
29379 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29381 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29382 (_G_int32_t): Likewise.
29383 (_G_uint16_t): Likewise.
29384 (_G_uint32_t): Likewise.
29385 (_G_HAVE_BOOL): Likewise.
29386 (_G_HAVE_ATEXIT): Likewise.
29387 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29388 (_G_HAVE_IO_FILE_OPEN): Likewise.
29389 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29390 (_G_int32_t): Likewise.
29391 (_G_uint16_t): Likewise.
29392 (_G_uint32_t): Likewise.
29393 (_G_HAVE_BOOL): Likewise.
29394 (_G_HAVE_ATEXIT): Likewise.
29395 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29396 (_G_HAVE_IO_FILE_OPEN): Likewise.
29397 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29398 (_G_int32_t): Likewise.
29399 (_G_uint16_t): Likewise.
29400 (_G_uint32_t): Likewise.
29401 (_G_HAVE_BOOL): Likewise.
29402 (_G_HAVE_ATEXIT): Likewise.
29403 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29404 (_G_HAVE_IO_FILE_OPEN): Likewise.
29406 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29408 * csu/libc-tls.c: Update copyright years.
29410 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29412 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29413 [!_G_USING_THUNKS]: Remove conditional code.
29414 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29415 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29417 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29418 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29419 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29420 (_G_VTABLE_LABEL_PREFIX): Likewise.
29421 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29422 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29423 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29424 (_G_VTABLE_LABEL_PREFIX): Likewise.
29425 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29426 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29427 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29428 (_G_VTABLE_LABEL_PREFIX): Likewise.
29429 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29431 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29433 * libio/Makefile: Include ../Makeconfig before tests.
29434 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29435 only if $(build-shared) is yes.
29437 * iconv/gconv_db.c: Update copyright years.
29439 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29441 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29442 unwind info if defined PIC. Fix special cases description.
29443 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29445 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29447 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29449 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29451 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29453 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29456 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29457 (LDLIBS-tst-chk4): This.
29458 (LDFLAGS-tst-chk5): Renamed to ...
29459 (LDLIBS-tst-chk5): This.
29460 (LDFLAGS-tst-chk6): Renamed to ...
29461 (LDLIBS-tst-chk6): This.
29462 (LDFLAGS-tst-lfschk4): Renamed to ...
29463 (LDLIBS-tst-lfschk4): This.
29464 (LDFLAGS-tst-lfschk5): Renamed to ...
29465 (LDLIBS-tst-lfschk5): This.
29466 (LDFLAGS-tst-lfschk6): Renamed to ...
29467 (LDLIBS-tst-lfschk6): This.
29469 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29470 on $(common-objpfx)soversions.mk.
29472 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29475 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29478 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29480 * malloc/arena.c (arena_get_retry): New function that gets
29481 another arena for the caller to try its request on.
29482 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29483 current arena cannot fulfill the request.
29484 (__libc_memalign): Likewise.
29485 (__libc_memalign): Likewise.
29486 (__libc_pvalloc): Likewise.
29487 (__libc_calloc): Likewise.
29489 2012-09-05 John Tobey <john.tobey@gmail.com>
29492 * manual/arith.texi (Operations on Complex): Fix description
29493 of carg branch cut.
29495 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29498 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29502 * manual/memory.texi (Memory): Make order of menu items match
29505 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29507 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29508 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29509 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29511 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29513 * csu/libc-tls.c (static_dtv): Renamed to ...
29514 (_dl_static_dtv): This. Make it global.
29515 (_dl_initial_dtv): Removed.
29516 (__libc_setup_tls): Updated.
29517 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29518 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29521 2012-09-06 Petr Machata <pmachata@redhat.com>
29523 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29524 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29525 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29526 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29528 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29531 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29532 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29535 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29538 * Makeconfig (link-static-before-libc): Replace $(+prector)
29540 (link-static-after-libc): Replace $(+postctor) with
29542 (link-bounded): Replace $(+prector)/$(+postctor) with
29543 $(+prectorT)/$(+postctorT).
29544 (+prectorT): New macro.
29545 (+postctorT): Likewise.
29547 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29549 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29550 (round_str): Handle values above the maximum for IBM long double
29552 * stdlib/tst-strtod-round.c (tests): Regenerated.
29554 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29556 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29558 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29559 zarch_nohighgprs around the zarch optimized routines.
29560 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29561 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29562 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29565 2012-09-05 David S. Miller <davem@davemloft.net>
29567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29569 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29570 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29571 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29572 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29575 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29577 * malloc/arena.c: Fold copyright years.
29578 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29580 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29582 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29584 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29586 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29588 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29590 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29591 change internal state upon failure.
29593 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29595 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29596 * malloc/memusage.c (mmap): Likewise.
29597 (mmap64, mremap): Likewise. Adjust name in comment.
29599 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29601 * libio/fileops.c: Fix typos in comments.
29602 * libio/oldfileops.c: Likewise.
29603 * libio/wfileops.c: Likewise.
29605 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29608 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29609 (tst-malloc-usable-ENV): Set environment for test case.
29610 * malloc/hooks.c (malloc_check_get_size): New function to get
29612 * malloc/malloc.c (musable): Use malloc_check_get_size.
29613 * malloc/tst-malloc-usable.c: New test case.
29615 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29617 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29619 2012-09-05 Allan McRae <allan@archlinux.org>
29622 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29623 determine header location.
29624 * configure: Regenerated.
29626 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29628 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29630 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29631 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29633 (test): Regenerate.
29635 2012-09-04 David S. Miller <davem@davemloft.net>
29637 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29638 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29639 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29641 2012-09-04 Florian Weimer <fweimer@redhat.com>
29643 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29646 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29648 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29651 * libio/iogetdelim.c: Include <limits.h>.
29652 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29653 + len + 1 would overflow.
29655 2012-09-03 Andreas Jaeger <aj@suse.de>
29657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29658 * sysdeps/i386/fpu/libm-test-ulps: Update.
29660 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29662 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29663 Add s_sinf-sse2, s_conf-sse2.
29665 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29666 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29667 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29668 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29670 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29671 for using routine as __sinf_ia32.
29672 Use macro for function declaration and weak_alias.
29673 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29674 for using routine as __cosf_ia32.
29675 Use macro for function declaration and weak_alias.
29677 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29678 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29680 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29681 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29684 * math/libm-test.inc (cos_test): Add more test cases.
29685 (sin_test): Likewise.
29686 (sincos_test): Likewise.
29688 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29690 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29691 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29693 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29695 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29698 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29699 first element of the GOT.
29700 (elf_machine_load_address): Return the difference between
29701 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29703 2012-09-01 Allan McRae <allan@archlinux.org>
29706 * configure.in (AWK): Require gawk version 3.0 or later.
29707 * configure: Regenerated.
29709 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29711 * sysdeps/unix/sysv/linux/kernel-features.h
29712 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29713 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29714 [__NR_clock_getres]: Make code unconditional.
29715 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29716 (clock_getcpuclockid): Remove code left unreachable by removal of
29718 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29719 code unconditional.
29720 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29721 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29722 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29723 Make code unconditional.
29724 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29725 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29726 * sysdeps/unix/sysv/linux/clock_settime.c
29727 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29729 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29730 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29732 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29735 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29736 scripts/test-installation.pl.
29738 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29739 and $ld_so_version if it is set.
29741 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29744 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29745 failure if reading from procfs failed.
29746 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29748 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29750 * sysdeps/unix/sysv/linux/kernel-features.h
29751 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29752 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29753 Remove conditional code.
29754 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29755 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29756 Remove conditional code.
29757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29758 * sysdeps/unix/sysv/linux/i386/fxstat.c
29759 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29761 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29762 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29764 * sysdeps/unix/sysv/linux/i386/lxstat.c
29765 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29767 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29768 Remove conditional code.
29769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29770 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29771 Remove conditional code.
29772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29773 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29774 <kernel-features.h>.
29775 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29777 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29778 Remove conditional code.
29779 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29780 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29781 Remove conditional.
29783 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29786 * NEWS: Add fixed bug number.
29788 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29791 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29792 underflowing exponent in case of negative sign.
29793 * stdlib/tst-strtod-round-data: Add more tests.
29794 * stdlib/tst-strtod-round.c (tests): Regenerated.
29797 * stdlib/strtod_l.c (NDIG): Remove.
29798 (HEXNDIG): Likewise.
29799 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29800 smallest representable value.
29801 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29802 lie within an exact representation of 1/2 ulp of the result.
29803 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29805 (TENS_P9_IDX): Define unconditionally.
29806 (TENS_P9_SIZE): Likewise.
29807 (TENS_P10_IDX): Likewise.
29808 (TENS_P10_SIZE): Likewise.
29809 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29810 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29811 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29812 entries for 10^2^13 and 10^2^14.
29813 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29814 (TENS_P13_IDX): Define.
29815 (TENS_P13_SIZE): Likewise.
29816 (TENS_P14_IDX): Likewise.
29817 (TENS_P14_SIZE): Likewise.
29818 (_fpioconst_pow10): Change array size to
29819 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29821 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29822 1024]: Add entries for 10^2^13 and 10^2^14.
29823 [LAST_POW10 > _LAST_POW10]: Remove #error.
29824 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29825 (_fpioconst_pow10): Change array size to
29826 FPIOCONST_POW10_ARRAY_SIZE.
29827 * stdlib/gen-fpioconst.c: New file.
29828 * stdlib/gen-tst-strtod-round.c: Likewise.
29829 * stdlib/tst-strtod-round-data: Likewise.
29830 * stdlib/tst-strtod-round.c: Likewise.
29831 * stdlib/Makefile (tests): Add tst-strtod-round.
29834 * stdlib/strtod_l.c: Include <stdint.h>.
29835 (NDEBUG): Do not define.
29836 (round_and_return): Change EXPONENT parameter to type intmax_t.
29837 Rearrange calculations to avoid internal overflow possibilities.
29838 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29839 Rearrange calculations to avoid internal overflow possibilities.
29840 Assert that number fits inside MPNSIZE limbs.
29841 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29842 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29843 calculations and add assertions to avoid internal overflow
29844 possibilities. Add casts to avoid signed/unsigned operations.
29845 * stdlib/tst-strtod-overflow.c: New file.
29846 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29848 2012-08-25 Marek Polacek <polacek@redhat.com>
29850 * time/time.h: Fix some typos in comments.
29852 2012-08-23 Roland McGrath <roland@hack.frob.com>
29854 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29855 * posix/tst-rfc3484-2.c: Likewise.
29856 * posix/tst-rfc3484-3.c: Likewise.
29858 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29860 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29861 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29863 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29865 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29866 #include of fxstatat64.c.
29868 2012-08-22 Roland McGrath <roland@hack.frob.com>
29870 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29871 * shadow/getspent_r.c: Likewise.
29872 * shadow/getspnam.c: Likewise.
29873 * shadow/getspnam_r.c: Likewise.
29874 * gshadow/getsgent.c: Likewise.
29875 * gshadow/getsgent_r.c: Likewise.
29876 * gshadow/getsgnam.c: Likewise.
29877 * gshadow/getsgnam_r.c: Likewise.
29878 * inet/getnetbyad.c: Likewise.
29879 * inet/getnetbyad_r.c: Likewise.
29880 * inet/getnetbynm.c: Likewise.
29881 * inet/getnetbynm_r.c: Likewise.
29882 * inet/getnetent.c: Likewise.
29883 * inet/getnetent_r.c: Likewise.
29884 * inet/getproto.c: Likewise.
29885 * inet/getproto_r.c: Likewise.
29886 * inet/getprtent.c: Likewise.
29887 * inet/getprtent_r.c: Likewise.
29888 * inet/getprtname.c: Likewise.
29889 * inet/getprtname_r.c: Likewise.
29890 * inet/getrpcbyname.c: Likewise.
29891 * inet/getrpcbyname_r.c: Likewise.
29892 * inet/getrpcbynumber.c: Likewise.
29893 * inet/getrpcbynumber_r.c: Likewise.
29894 * inet/getrpcent.c: Likewise.
29895 * inet/getrpcent_r.c: Likewise.
29896 * inet/getaliasent.c: Likewise.
29897 * inet/getaliasent_r.c: Likewise.
29898 * inet/getaliasname.c: Likewise.
29899 * inet/getaliasname_r.c: Likewise.
29900 * nscd/getgrgid_r.c: Likewise.
29901 * nscd/getgrnam_r.c: Likewise.
29902 * nscd/gethstbyad_r.c: Likewise.
29903 * nscd/gethstbynm3_r.c: Likewise.
29904 * nscd/getpwnam_r.c: Likewise.
29905 * nscd/getpwuid_r.c: Likewise.
29906 * nscd/getsrvbynm_r.c: Likewise.
29907 * nscd/getsrvbypt_r.c: Likewise.
29908 * nscd/gai.c: Likewise.
29910 * configure.in (build_nscd): New substituted variable, set
29911 by --disable-build-nscd and defaults to $use_nscd.
29912 * configure: Regenerated.
29913 * config.make.in (build-nscd): New substituted variable.
29914 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29915 Change conditional to require [$(build-nscd) = yes] as well.
29916 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29919 * configure.in (use_nscd): New substituted variable, set by
29920 --disable-nscd. If enabled, define USE_NSCD.
29921 * configure: Regenerated.
29922 * config.h.in: Add USE_NSCD.
29923 * config.make.in (use-nscd): New substituted variable.
29924 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29925 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29926 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29927 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29928 (CFLAGS-getgrnam_r.c): Likewise.
29929 (CFLAGS-initgroups.c): Likewise.
29930 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29931 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29933 * inet/getnetgrent_r.c
29934 (nscd_setnetgrent): New function, broken out of ...
29935 (setnetgrent): ... here. Call it.
29936 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29937 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29938 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29939 * nscd/Makefile (routines, aux): Move definitions after include of
29940 Makeconfig. Conditionalize on [$(use-nscd) != no].
29941 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29942 Conditionalize on [USE_NSCD].
29943 (is_nscd, nscd_init_cb): Likewise.
29944 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29945 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29946 * nss/nss_db/db-init.c: Likewise.
29947 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29949 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29950 (make_request): Use it.
29951 (cache_valid_p): New function.
29952 (__check_pf): Use it.
29953 * NEWS: Add item for --disable-nscd.
29955 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29957 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29958 to support sed >= 4.2.1-20-ga9bf076.
29959 * configure: Regenerated.
29961 2012-08-22 Roland McGrath <roland@hack.frob.com>
29963 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29964 Conditionalize whole body on [IREL].
29966 2012-08-22 Jeff Law <law@redhat.com>
29969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29970 if the family is PF_UNSPEC.
29972 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29974 * Makerules (lib-version): Rename from V.
29975 (install-lib-nosubdir): Change V to lib-version.
29977 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29980 * powerpc32/power6/wcschr.c: New file.
29981 * powerpc32/power6/wcscpy.c: New file.
29982 * powerpc32/power6/wcsrchr.c: New file.
29983 * powerpc64/power6/wcschr.c: New file.
29984 * powerpc64/power6/wcscpy.c: New file.
29985 * powerpc64/power6/wcsrchr.c: New file.
29987 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29989 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29990 (two_way_short_needle): Use it.
29991 * string/strstr.c (AVAILABLE1_USES_J): Define.
29992 * string/strcasestr.c: Likewise.
29994 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29996 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29999 * NEWS: Add an entry.
30000 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30001 define their defaults.
30002 (two_way_short_needle): Detect end-of-string on-the-fly.
30003 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30004 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30005 * string/bug-strcasestr1.c: New test.
30006 * string/Makefile: Run it.
30008 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30011 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30012 the first character.
30014 2012-08-21 Roland McGrath <roland@hack.frob.com>
30016 * csu/elf-init.c (__libc_csu_irel): Function removed.
30017 * csu/libc-start.c (apply_irel): New function.
30018 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30020 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30022 * sysdeps/unix/sysv/linux/kernel-features.h
30023 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30024 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30025 <kernel-features.h>.
30026 [__NR_fadvise64_64]: Make code unconditional.
30027 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30028 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30029 !__NR_fadvise64_64)]: Likewise.
30030 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30031 !__NR_fadvise64_64))]: Likewise.
30032 [__NR_fadvise64]: Make code unconditional.
30033 [!__NR_fadvise64]: Remove conditional code.
30034 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30035 <kernel-features.h>.
30036 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30038 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30041 not include <kernel-features.h>.
30042 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30044 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30046 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30047 include <kernel-features.h>.
30048 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30050 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30053 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30055 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30056 slight instruction rearrangements per scrollpipe analysis.
30057 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30059 2012-08-20 Roland McGrath <roland@hack.frob.com>
30061 * manual/syslog.texi (syslog; vsyslog, closelog):
30062 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30063 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30065 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30066 DSOCAPS to match condition on defining it.
30068 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30070 * sysdeps/unix/sysv/linux/kernel-features.h
30071 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30073 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30074 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30076 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30077 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30079 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30080 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30082 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30083 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30085 * sysdeps/unix/sysv/linux/kernel-features.h
30086 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30087 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30089 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30090 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30091 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30092 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30093 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30094 Make code unconditional.
30095 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30096 (__mmap64) [!__NR_mmap2]: Likewise.
30097 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30098 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30099 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30100 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30101 [__NR_mmap2]: Make code unconditional.
30102 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30103 (__mmap64) [!__NR_mmap2]: Likewise.
30105 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30107 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30109 2012-08-18 Andreas Jaeger <aj@suse.de>
30111 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30113 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30115 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30116 * include/unistd.h (__have_sock_cloexec): Likewise.
30117 (__have_pipe2): Likewise.
30118 (__have_dup3): Likewise.
30120 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30123 * include/unistd.h (__have_pipe2): Change define into an extern int.
30124 (__have_dup3): Likewise.
30125 * socket/have_sock_cloexec.c: Include fcntl.h.
30126 (__have_pipe2): New variable.
30127 (__have_dup3): Likewise.
30129 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30131 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30133 2012-08-17 Marek Polacek <polacek@redhat.com>
30135 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30136 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30138 2012-08-17 Roland McGrath <roland@hack.frob.com>
30140 * configure.in: Add AC_SUBST for sysheaders.
30141 * configure: Regenerated.
30142 * config.make.in (sysheaders): New substituted variable.
30144 * sysdeps/unix/mkfifo.c: Moved ...
30145 * sysdeps/posix/mkfifo.c: ... here.
30146 * sysdeps/unix/mkfifoat.c: Moved ...
30147 * sysdeps/posix/mkfifoat.c: ... here.
30149 * sysdeps/unix/utime.c: Moved ...
30150 * sysdeps/posix/utime.c: ... here.
30152 * sysdeps/unix/time.c: Moved ...
30153 * sysdeps/posix/time.c: ... here.
30154 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30155 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30157 * sysdeps/unix/nice.c: Moved ...
30158 * sysdeps/posix/nice.c: ... here.
30160 * sysdeps/unix/alarm.c: Moved ...
30161 * sysdeps/posix/alarm.c: ... here.
30163 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30165 2012-08-17 Jeff Law <law@redhat.com>
30167 * intl/Makefile (codeset_mo): New variable.
30168 ($(codeset_mo)): New target.
30169 (tst-codeset.out): Depend on that. Remove explicit rule.
30170 (tst-gettext3.out, tst-gettext5.out): Likewise.
30171 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30172 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30173 * intl/tst-codeset.sh: Remove.
30174 * intl/tst-gettext3.sh: Likewise.
30175 * intl/tst-gettext5.sh: Likewise.
30177 2012-08-17 Roland McGrath <roland@hack.frob.com>
30179 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30180 * sysdeps/unix/syscalls.list: ... here.
30182 * sysdeps/posix/getaddrinfo.c
30183 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30184 (gaiconf_init, gaiconf_reload): Use them.
30185 [!_STATBUF_ST_NSEC]
30186 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30187 Define using time_t rather than struct timespec.
30189 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30190 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30192 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30194 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30195 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30198 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30199 __libc_cleanup_push argument.
30201 * bits/param.h: New file.
30202 * misc/sys/param.h: New file.
30203 * include/sys/param.h: New file.
30204 * misc/Makefile (headers): Add bits/param.h.
30205 * sysdeps/generic/sys/param.h: File removed.
30206 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30207 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30208 * sysdeps/mach/hurd/bits/param.h: New file.
30209 * sysdeps/mach/hurd/sys/param.h: File removed.
30211 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30214 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30216 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30217 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30220 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30221 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30222 rather than -D_IO_MTSAFE_IO conditionally.
30223 * stdio-common/Makefile (CPPFLAGS): Likewise.
30224 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30225 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30226 Use $(libio-mtsafe).
30227 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30228 of -D_IO_MTSAFE_IO.
30229 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30230 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30231 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30232 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30233 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30234 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30235 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30236 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30237 (CFLAGS-fread_u_chk.c): Likewise.
30238 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30239 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30240 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30241 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30242 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30243 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30244 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30245 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30246 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30248 * libio/Makefile: Test [$(libc-reentrant) = yes]
30249 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30252 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30253 * sysdeps/pthread/configure: File removed.
30254 * sysdeps/pthread/Makeconfig: New file.
30255 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30256 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30258 2012-08-16 Gary Benson <gbenson@redhat.com>
30260 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30261 unmapping the first object in a namespace.
30263 2012-08-16 Roland McGrath <roland@hack.frob.com>
30265 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30266 (__internal_setnetgrent): ... this. Add internal_function to
30267 definition. Add libc_hidden_def.
30268 (setnetgrent): Update caller.
30269 (internal_endnetgrent): Renamed to ...
30270 (__internal_endnetgrent): ... this. Add internal_function to
30271 definition. Add libc_hidden_def.
30272 (endnetgrent): Update caller.
30273 (internal_getnetgrent_r): Renamed to ...
30274 (__internal_getnetgrent_r): ... this. Add internal_function to
30275 definition. Add libc_hidden_def.
30276 (__getnetgrent_r): Update caller.
30277 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30279 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30281 * stdlib/longlong.h: Update from GCC.
30283 2012-08-16 Roland McGrath <roland@hack.frob.com>
30285 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30286 on _QL, which is set by umul_ppmm but never used.
30287 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30288 variables, which are set by GMP macros but never used.
30289 * stdio-common/_itowa.c (_itowa): Likewise.
30290 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30291 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30293 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30295 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30296 struct La_sh_regs is not constant.
30297 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30298 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30299 and struct La_sparc64_regs are not constant.
30301 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30303 * sysdeps/unix/sysv/linux/kernel-features.h
30304 (__ASSUME_POSIX_TIMERS): Remove.
30305 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30306 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30307 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30308 Make code unconditional.
30309 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30310 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30311 Make code unconditional.
30312 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30313 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30314 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30315 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30316 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30317 Make code unconditional.
30318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30319 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30320 (__libc_missing_posix_timers): Remove.
30322 2012-08-15 Roland McGrath <roland@hack.frob.com>
30324 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30325 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30327 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30329 * elf/dl-sym.c: Include <stdlib.h>.
30331 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30332 constants, which avoids warnings in 32-bit builds.
30334 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30335 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30337 * misc/lseek.c: File moved to ...
30338 * io/lseek.c: ... here.
30340 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30342 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30343 shifting LEN more than 31 bits at once.
30345 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30348 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30349 segmentation fault for a case of two empty input strings.
30350 * string/test-strncasecmp.c (check1): Renamed to...
30351 (bz12205): ...this.
30352 (bz14195): Add new testcase for two empty input strings and N > 0.
30353 (test_main): Call new testcase, adapt for renamed function.
30355 2012-08-15 Andreas Jaeger <aj@suse.de>
30358 * crypt/md5test2.c: New test, based on test supplied by Serge
30359 Belyshev <belyshev@depni.sinp.msu.ru>.
30360 * crypt/Makefile (xtests): Add md5test-giant..
30361 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30363 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30366 * crypt/md5.c (md5_process_block): Don't assume the buffer
30367 length is less than 2**32.
30368 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30369 length is less than 2**64.
30371 2012-08-15 Roland McGrath <roland@hack.frob.com>
30373 * string/str-two-way.h: Include <sys/param.h>.
30374 (MAX): Macro removed.
30376 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30377 Move #define and #undef of memmove to just before and after
30378 including <string.h>.
30380 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30381 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30382 and after including <string.h>. Move declarations of
30383 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30384 to before #include "string/memmove.c".
30386 * include/dirent.h: Declare __getdirentries.
30388 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30389 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30391 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30393 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30394 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30395 * sysdeps/i386/configure: Regenerated.
30396 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30397 STABS_CURRENT_FILE, and STABS_FUN.
30398 (END): Remove call to STABS_FUN_END.
30399 (STABS_CURRENT_FILE1): Delete.
30400 (STABS_CURRENT_FILE): Likewise.
30401 (STABS_FUN): Likewise.
30402 (STABS_FUN_END): Likewise.
30403 (STABS_FUN2): Likewise.
30404 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30405 * sysdeps/x86_64/configure: Regenerated.
30407 2012-08-14 Roland McGrath <roland@hack.frob.com>
30409 * elf/dl-open.c: Include <atomic.h>.
30410 * elf/dl-lookup.c: Likewise.
30412 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30414 * sysdeps/unix/sysv/linux/kernel-features.h
30415 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30416 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30418 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30420 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30421 condition on __ASSUME_CLONE_THREAD_FLAGS.
30423 2012-08-14 Andreas Jaeger <aj@suse.de>
30425 * sysdeps/i386/fpu/libm-test-ulps: Update.
30427 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30429 * include/atomic.h (atomic_exchange_and_add): Split into ...
30430 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30433 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30437 2012-08-13 Jeff Law <law@redhat.com>
30439 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30440 null byte in the output string.
30442 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30444 * sysdeps/unix/sysv/linux/kernel-features.h
30445 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30446 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30447 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30448 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30449 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30450 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30451 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30453 2012-08-09 Jeff Law <law@redhat.com>
30456 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30457 When avoid_arena is set, don't retry in the that arena. Pick the
30458 next one, whatever it might be.
30459 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30460 (arena_lock): Pass in new parameter to arena_get2.
30461 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30463 (__libc_malloc): Unify retrying after main arena failure with
30464 __libc_memalign version.
30465 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30467 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30470 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30471 to __redirect_strstr.
30472 (__strstr_sse42): Use typeof __redirect_strstr.
30473 (__strstr_ia32): Likewise.
30474 (__libc_strstr): New prototype.
30475 (strstr): Renamed to ...
30476 (__libc_strstr): This.
30477 (strstr): New strong alias of __libc_strstr.
30478 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30479 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30482 (__libc_time): New prototype.
30483 (time_ifunc): Replace time with __libc_time.
30484 (time): New strong alias and hidden definition of __libc_time.
30485 (__GI_time): Remove strong alias.
30486 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30487 Include <stddef.h>.
30488 (memmove): Redefined to __redirect_memmove.
30489 (__memmove_sse2): Use typeof __redirect_memmove.
30490 (__memmove_ssse3): Likewise.
30491 (__memmove_ssse3_back): Likewise.
30492 (__libc_memmove): New prototype.
30493 (memmove): Renamed to ...
30494 (__libc_memmove): This.
30495 (memmove): New strong alias of __libc_memmove.
30497 2012-08-08 Mark Salter <msalter@redhat.com>
30500 (R_MN10300_TLS_GD): Define.
30501 (R_MN10300_TLS_LD): Likewise.
30502 (R_MN10300_TLS_LDO): Likewise.
30503 (R_MN10300_TLS_GOTIE): Likewise.
30504 (R_MN10300_TLS_IE): Likewise.
30505 (R_MN10300_TLS_LE): Likewise.
30506 (R_MN10300_TLS_DTPMOD): Likewise.
30507 (R_MN10300_TLS_DTPOFF): Likewise.
30508 (R_MN10300_TLS_TPOFF): Likewise.
30509 (R_MN10300_SYM_DIFF): Likewise.
30510 (R_MN10300_ALIGN): Likewise.
30511 (R_MN10300_NUM): Update.
30513 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30515 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30518 2012-08-08 Roland McGrath <roland@hack.frob.com>
30520 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30522 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30523 sysdeps/unix -> sysdeps/posix move.
30524 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30526 2012-08-07 Allan McRae <allan@archlinux.org>
30529 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30530 (SUNOS_CPP): Likewise.
30531 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30533 (open_input): Call CPP using execvp.
30535 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30537 * sysdeps/unix/sysv/linux/kernel-features.h
30538 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30539 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30540 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30541 (__ASSUME_WAITID_SYSCALL): Likewise.
30542 * sysdeps/unix/sysv/linux/dl-execstack.c
30543 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30544 code unconditional.
30545 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30547 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30548 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30549 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30551 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30553 [__ASSUME_WAITID_SYSCALL]: Likewise.
30554 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30556 2012-08-07 Roland McGrath <roland@hack.frob.com>
30558 * sysdeps/unix/closedir.c: Renamed to ...
30559 * sysdeps/posix/closedir.c: ... here.
30560 * sysdeps/unix/dirfd.c: Renamed to ...
30561 * sysdeps/posix/dirfd.c: ... here.
30562 * sysdeps/unix/dirstream.h: Renamed to ...
30563 * sysdeps/posix/dirstream.h: ... here.
30564 * sysdeps/unix/fdopendir.c: Renamed to ...
30565 * sysdeps/posix/fdopendir.c: ... here.
30566 * sysdeps/unix/opendir.c: Renamed to ...
30567 * sysdeps/posix/opendir.c: ... here.
30568 * sysdeps/unix/readdir.c: Renamed to ...
30569 * sysdeps/posix/readdir.c: ... here.
30570 * sysdeps/unix/readdir_r.c: Renamed to ...
30571 * sysdeps/posix/readdir_r.c: ... here.
30572 * sysdeps/unix/rewinddir.c: Renamed to ...
30573 * sysdeps/posix/rewinddir.c: ... here.
30574 * sysdeps/unix/seekdir.c: Renamed to ...
30575 * sysdeps/posix/seekdir.c: ... here.
30576 * sysdeps/unix/telldir.c: Renamed to ...
30577 * sysdeps/posix/telldir.c: ... here.
30578 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30579 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30580 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30581 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30583 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30584 * bits/fcntl.h: ... here.
30586 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30588 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30589 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30590 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30591 (struct flock): Move l_start, l_len to the beginning.
30592 Use __pid_t for l_pid.
30593 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30594 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30595 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30596 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30597 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30598 [__USE_LARGEFILE64] (struct flock64): New type.
30599 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30601 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30602 * bits/dirent.h: ... here.
30604 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30605 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30607 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30609 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30610 Change from 2.6.0 to 2.6.16.
30611 * sysdeps/unix/sysv/linux/configure: Regenerated.
30612 * sysdeps/unix/sysv/linux/kernel-features.h
30613 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30614 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30616 (__ASSUME_UTIMES): Likewise.
30617 (__ASSUME_CLONE_STOPPED): Remove.
30618 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30619 architectures, not kernel version.
30620 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30621 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30622 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30623 (__ASSUME_WAITID_SYSCALL): Likewise.
30624 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30625 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30626 * README: State 2.6.16 as minimum Linux kernel version. Do not
30627 refer to older versions.
30629 2012-08-06 Roland McGrath <roland@hack.frob.com>
30631 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30632 Define alphasort64 as an alias.
30633 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30634 Define versionsort64 as an alias.
30635 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30636 Define scandir64 as an alias.
30637 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30638 Define scandirat64 as an alias.
30639 * dirent/alphasort64.c (alphasort64):
30640 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30641 * dirent/versionsort64.c: Likewise.
30642 * dirent/scandir64.c: Likewise.
30643 * dirent/scandirat64.c: Likewise.
30644 * sysdeps/wordsize-64/alphasort.c: File removed.
30645 * sysdeps/wordsize-64/alphasort64.c: File removed.
30646 * sysdeps/wordsize-64/scandir.c: File removed.
30647 * sysdeps/wordsize-64/scandir64.c: File removed.
30648 * sysdeps/wordsize-64/scandirat.c: File removed.
30649 * sysdeps/wordsize-64/scandirat64.c: File removed.
30650 * sysdeps/wordsize-64/versionsort.c: File removed.
30651 * sysdeps/wordsize-64/versionsort64.c: File removed.
30652 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30653 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30654 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30655 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30656 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30657 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30658 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30659 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30661 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30663 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30665 [defined __arch64__ || defined __sparcv9]
30666 (__INO_T_MATCHES_INO64_T): New macro.
30667 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30668 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30669 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30670 * sysdeps/unix/sysv/linux/bits/dirent.h
30671 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30672 (_DIRENT_MATCHES_DIRENT64): New macro.
30674 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30675 Define lockf64 as an alias.
30676 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30677 Define fseeko64 as an alias.
30678 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30679 Define ftello64 as an alias.
30680 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30681 Define _IO_fgetpos64 and fgetpos64 as aliases.
30682 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30683 Define _IO_fsetpos64 and fsetpos64 as aliases.
30684 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30685 Conditionalize body on this.
30686 * libio/fseeko64.c: Likewise.
30687 * libio/ftello64.c: Likewise.
30688 * libio/iofgetpos64.c: Likewise.
30689 * libio/iofsetpos64.c: Likewise.
30690 * sysdeps/wordsize-64/lockf.c: File removed.
30691 * sysdeps/wordsize-64/lockf64.c: File removed.
30692 * sysdeps/wordsize-64/fseeko.c: File removed.
30693 * sysdeps/wordsize-64/fseeko64.c: File removed.
30694 * sysdeps/wordsize-64/ftello.c: File removed.
30695 * sysdeps/wordsize-64/ftello64.c: File removed.
30696 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30697 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30698 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30699 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30700 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30701 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30702 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30703 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30704 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30705 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30706 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30707 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30708 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30709 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30711 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30712 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30713 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30714 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30715 [defined __arch64__ || defined __sparcv9]
30716 (__OFF_T_MATCHES_OFF64_T): New macro.
30717 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30718 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30720 (__OFF_T_MATCHES_OFF64_T): New macro.
30722 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30724 * stdlib/secure-getenv.c (__secure_getenv): Replace
30725 GLIBC_2_16 with GLIBC_2_17.
30727 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30729 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30730 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30732 2012-08-03 David S. Miller <davem@davemloft.net>
30734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30736 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30738 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30740 (__ASSUME_CORRECT_SI_PID): Likewise.
30741 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30742 (__ASSUME_TMPFS_NAME): Likewise.
30743 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30744 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30745 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30746 (HAVE_AUX_SECURE): Make definition unconditional.
30747 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30748 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30750 2012-08-03 Roland McGrath <roland@hack.frob.com>
30752 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30753 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30754 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30755 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30756 __eloop_threshold instead of SYMLOOP_MAX.
30758 * sysdeps/generic/eloop-threshold.h: New file.
30759 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30761 * elf/chroot_canon.c (chroot_canon): Likewise.
30763 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30766 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30767 Change to 2.6.0 everywhere.
30768 * sysdeps/unix/sysv/linux/configure: Regenerated.
30769 * sysdeps/unix/sysv/linux/kernel-features.h
30770 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30771 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30773 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30774 (__ASSUME_FUTEX_REQUEUE): Remove.
30775 (__ASSUME_STATFS64): Define unconditionally.
30776 (__ASSUME_AT_SECURE): Likewise.
30777 (__ASSUME_CORRECT_SI_PID): Likewise.
30778 (__ASSUME_TGKILL): Define without depending on kernel version for
30780 (__ASSUME_UTIMES): Likewise.
30781 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30783 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30784 (__ASSUME_TMPFS_NAME): Likewise.
30785 * README: Update reference to Linux kernel versions.
30787 2012-08-02 Marek Polacek <polacek@redhat.com>
30790 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30791 libc_cv_asm_type_prefix with %.
30792 * configure: Regenerated.
30793 * include/libc-symbols.h: Remove comment about
30794 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30795 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30796 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30797 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30798 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30799 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30800 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30801 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30802 * elf/tst-unique2mod1.c: Likewise.
30803 * elf/tst-unique1mod2.c: Likewise.
30804 * elf/tst-unique1mod1.c: Likewise.
30805 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30806 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30807 Replace ASM_TYPE_DIRECTIVE with .type.
30808 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30809 * sysdeps/i386/sysdep.h: Likewise.
30810 * sysdeps/x86_64/sysdep.h: Likewise.
30811 * sysdeps/sh/sysdep.h: Likewise.
30812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30813 Do not define ASM_TYPE_DIRECTIVE.
30814 * sysdeps/powerpc/sysdep.h: Likewise.
30815 * sysdeps/powerpc/powerpc32/sysdep.h:
30816 Replace ASM_TYPE_DIRECTIVE with .type.
30817 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30818 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30819 * sysdeps/i386/fpu/e_powf.S: Likewise.
30820 * sysdeps/i386/fpu/e_expl.S: Likewise.
30821 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30822 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30823 * sysdeps/i386/fpu/e_pow.S: Likewise.
30824 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30825 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30826 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30827 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30828 * sysdeps/i386/fpu/e_log2.S: Likewise.
30829 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30830 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30831 * sysdeps/i386/fpu/e_powl.S: Likewise.
30832 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30833 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30834 * sysdeps/i386/fpu/e_logl.S: Likewise.
30835 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30836 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30837 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30838 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30839 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30840 * sysdeps/i386/fpu/e_log.S: Likewise.
30841 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30842 * sysdeps/i386/fpu/e_logf.S: Likewise.
30843 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30844 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30845 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30846 * sysdeps/i386/fpu/e_log10.S: Likewise.
30847 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30848 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30849 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30850 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30851 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30852 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30853 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30854 * sysdeps/i386/i686/strtok.S: Likewise.
30855 * sysdeps/i386/i386-mcount.S: Likewise.
30856 * sysdeps/i386/strtok.S: Likewise.
30857 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30858 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30859 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30860 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30861 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30862 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30863 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30864 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30865 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30866 * sysdeps/x86_64/_mcount.S: Likewise.
30867 * sysdeps/x86_64/strtok.S: Likewise.
30868 * sysdeps/sh/_mcount.S: Likewise.
30870 2012-08-01 Roland McGrath <roland@hack.frob.com>
30872 * libio/iofopen.c: Include <fcntl.h>.
30873 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30874 (_IO_fopen64, fopen64): Define as aliases.
30875 * libio/iofopen64.c: Include <fcntl.h>.
30876 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30877 Conditionalize body on this.
30878 * sysdeps/wordsize-64/iofopen.c: File removed.
30879 * sysdeps/wordsize-64/iofopen64.c: File removed.
30881 2012-08-01 Marek Polacek <polacek@redhat.com>
30883 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30884 Use dlfcn directly instead of a variable.
30885 (binfmt-subdir): Do not define.
30888 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30891 Remove all definitions.
30892 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30893 <kernel-features.h>.
30894 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30895 (miss_F_GETOWN_EX): Remove all definitions.
30896 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30898 [!__ASSUME_FCNTL64]: Remove conditional code.
30899 [__ASSUME_FCNTL64]: Make code unconditional.
30900 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30901 <kernel-features.h>.
30902 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30903 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30904 (lockf64) [__NR_fcntl64]: Make code unconditional.
30905 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30907 * sysdeps/unix/sysv/linux/kernel-features.h
30908 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30909 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30910 Make code unconditional.
30911 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30912 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30914 [__NR_vfork]: Make code unconditional.
30915 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30916 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30918 [__NR_vfork]: Make code unconditional.
30919 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30920 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30922 2012-08-01 Roland McGrath <roland@hack.frob.com>
30924 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30925 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30927 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30928 Define mkstemp64 as an alias.
30929 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30930 Define mkstemps64 as an alias.
30931 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30932 Define mkostemp64 as an alias.
30933 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30934 Define mkostemps64 as an alias.
30935 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30936 Conditionalize body on this.
30937 * misc/mkostemp64.c: Likewise.
30938 * misc/mkostemps64.c: Likewise.
30939 * misc/mkstemps64.c: Likewise.
30940 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30941 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30942 * sysdeps/wordsize-64/mkostemp.c: File removed.
30943 * sysdeps/wordsize-64/mkstemp.c: File removed.
30944 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30945 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30946 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30947 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30950 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30951 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30952 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30953 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30955 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30956 compat_symbol macros from <shlib-compat.h> rather than the underlying
30957 default_symbol_version and symbol_version macros, so that DEFAULT
30958 lines in shlib-versions are respected.
30959 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30961 2012-08-01 Florian Weimer <fweimer@redhat.com>
30963 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30964 Declare with warn_unused_result.
30965 (setgid, setregid, setegid, setresgid): Likewise.
30966 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30968 * WUR-REPORT: Remove set*id functions.
30970 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30972 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30974 2012-07-31 Roland McGrath <roland@hack.frob.com>
30977 * include/sys/socket.h (__libc_accept, __libc_accept4):
30978 Add attribute_hidden.
30979 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30981 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30983 * inet/getnetgrent_r.c (setup): Likewise.
30985 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30987 2012-07-31 David S. Miller <davem@davemloft.net>
30989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30991 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30994 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30995 value between 1.0 and 2.0 and smaller part has absolute value less
30997 * math/s_clog10.c (__clog10): Likewise.
30998 * math/s_clog10f.c (__clog10f): Likewise.
30999 * math/s_clog10l.c (__clog10l): Likewise.
31000 * math/s_clogf.c (__clogf): Likewise.
31001 * math/s_clogl.c (__clogl): Likewise.
31002 * math/libm-test.inc (clog_test): Add more tests.
31003 (clog10_test): Likewise.
31004 * sysdeps/i386/fpu/libm-test-ulps: Update.
31005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31007 2012-07-31 Florian Weimer <fweimer@redhat.com>
31009 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31010 Exit with zero in case no suitable GID is found, and write a
31011 message to standard error.
31013 2012-07-30 Roland McGrath <roland@hack.frob.com>
31015 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31017 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31018 (MAXPATHLEN): Removed.
31019 (NOGROUP, NODEV): New macros.
31020 (setbit, clrbit, isset, isclr): New macros.
31021 (howmany, roundup, powerof2): New macros.
31022 (DEV_BSIZE): New macro.
31024 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31025 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31027 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31028 definition on [!__NO_LONG_DOUBLE_MATH].
31030 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31031 PTR_MANGLE and PTR_DEMANGLE.
31033 * socket/accept4.c (accept4): Rename to __libc_accept4.
31034 Define accept4 as a weak alias.
31036 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31037 on [_DIRENT_HAVE_D_TYPE].
31038 * io/ftw.c (ftw_dir): Likewise.
31040 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31042 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31044 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31045 Use the BSD numbers rather than the arbitrary ones we had.
31046 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31047 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31048 (SIGXCPU, SIGXFSZ): New macros.
31051 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31052 initializer on [_LIBC_REENTRANT].
31054 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31055 definitions inside [_POSIX_MAPPED_FILES].
31057 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31059 * dirent/opendir.c: Include <fcntl.h>.
31061 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31062 (__libc_getspecific): Likewise.
31063 (__libc_key_create): Likewise.
31065 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31066 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31067 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31068 (tmpfile64): Define as alias.
31069 * sysdeps/wordsize-64/tmpfile.c: File removed.
31070 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31071 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31072 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31074 * stdio-common/vfscanf.c: Include <stdbool.h>.
31075 * nss/makedb.c: Likewise.
31076 * stdio-common/_i18n_number.h: Likewise.
31077 * argp/argp-help.c: Likewise.
31078 * posix/wordexp.c: Likewise.
31079 * sysdeps/posix/spawni.c: Likewise.
31080 * nss/nss_files/files-initgroups.c: Likewise.
31081 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31082 * nss/nss_files/files-initgroups.c: Likewise.
31083 * nss/nss_db/db-netgrp.c: Likewise.
31084 * nss/nss_db/db-initgroups.c: Likewise.
31085 * io/fchmodat.c: Include <sys/stat.h>.
31087 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31088 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31090 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31093 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31094 Add multiple inclusion protection.
31096 2012-07-27 David S. Miller <davem@davemloft.net>
31098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31100 2012-07-27 Gary Benson <gbenson@redhat.com>
31103 * elf/rtld.c: Include <stap-probe.h>.
31104 (dl_main): Added static probes "init_start" and "init_complete".
31105 * elf/dl-load.c: Include <stap-probe.h>.
31106 (lose): Take new parameter "nsid".
31107 Added static probe "map_failed".
31108 (_dl_map_object_from_fd): Pass namespace id to lose.
31109 Added static probe "map_start".
31110 (open_verify): Pass namespace id to lose.
31111 * elf/dl-open.c: Include <stap-probe.h>.
31112 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31113 and "reloc_complete".
31114 * elf/dl-close.c: Include <stap-probe.h>.
31115 (_dl_close_worker): Added static probes "unmap_start" and
31117 * elf/rtld-debugger-interface.txt: New file documenting the above.
31119 2012-07-26 Roland McGrath <roland@hack.frob.com>
31121 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31122 rather than a string variable.
31123 * sunrpc/rpc_main.c (h_output): Likewise.
31124 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31126 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31128 * inet/check_native.c: New file.
31130 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31133 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31134 if larger part has absolute value 1.0.
31135 * math/s_clog10.c (__clog10): Likewise.
31136 * math/s_clog10f.c (__clog10f): Likewise.
31137 * math/s_clog10l.c (__clog10l): Likewise.
31138 * math/s_clogf.c (__clogf): Likewise.
31139 * math/s_clogl.c (__clogl): Likewise.
31140 * math/libm-test.inc (clog_test): Add more tests.
31141 (clog10_test): Likewise.
31142 * sysdeps/i386/fpu/libm-test-ulps: Update.
31143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31145 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31146 (pltexit): Likewise.
31147 (La_regs): Likewise.
31148 (La_retval): Likewise.
31149 (int_retval): Likewise.
31150 Update #error for removed macros to refer only to definitions in
31152 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31154 (pltexit): Likewise.
31155 (La_regs): Likewise.
31156 (La_retval): Likewise.
31157 (int_retval): Likewise.
31158 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31160 (pltexit): Likewise.
31161 (La_regs): Likewise.
31162 (La_retval): Likewise.
31163 (int_retval): Likewise.
31164 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31166 (pltexit): Likewise.
31167 (La_regs): Likewise.
31168 (La_retval): Likewise.
31169 (int_retval): Likewise.
31170 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31172 (pltexit): Likewise.
31173 (La_regs): Likewise.
31174 (La_retval): Likewise.
31175 (int_retval): Likewise.
31176 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31178 (pltexit): Likewise.
31179 (La_regs): Likewise.
31180 (La_retval): Likewise.
31181 (int_retval): Likewise.
31182 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31184 (pltexit): Likewise.
31185 (La_regs): Likewise.
31186 (La_retval): Likewise.
31187 (int_retval): Likewise.
31188 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31189 macro definitions in tst-audit.h.
31190 * sysdeps/i386/tst-audit.h: New file.
31191 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31192 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31193 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31194 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31195 * sysdeps/sh/tst-audit.h: Likewise.
31196 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31197 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31198 * sysdeps/x86_64/tst-audit.h: Likewise.
31200 2012-07-26 Andreas Jaeger <aj@suse.de>
31202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31205 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31206 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31207 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31209 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31210 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31211 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31213 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31216 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31218 (si_call_addr, si_syscall, si_arch): Define new macro.
31219 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31221 (si_call_addr, si_syscall, si_arch): Define new marcro.
31222 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31224 (si_call_addr, si_syscall, si_arch): Define new macro.
31225 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31227 (si_call_addr, si_syscall, si_arch): Define new macro.
31229 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31232 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31233 Change to 2.4.21 where previously 2.4.1.
31234 * sysdeps/unix/sysv/linux/configure: Regenerated.
31235 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31236 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31237 Linux kernel version.
31238 (__ASSUME_STD_AUXV): Remove.
31239 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31241 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31242 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31243 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31244 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31245 (__ASSUME_NETLINK_SUPPORT): Likewise.
31246 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31247 (__no_netlink_support): Remove conditional definition.
31248 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31250 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31251 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31252 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31253 (if_nameindex_ioctl): Remove.
31254 (if_nameindex_netlink): Do not handle __no_netlink_support.
31255 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31257 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31258 Remove conditional code.
31259 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31261 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31263 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31264 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31265 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31267 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31268 [!__ASSUME_STD_AUXV]: Remove conditional code.
31269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31270 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31271 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31273 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31274 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31276 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31278 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31279 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31281 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31283 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31286 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31289 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31290 code unconditional.
31291 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31293 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31295 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31298 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31300 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31303 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31304 code unconditional.
31305 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31307 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31309 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31312 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31313 code unconditional.
31314 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31316 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31318 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31321 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31323 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31324 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31325 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31326 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31327 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31328 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31329 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31330 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31331 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31332 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31333 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31334 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31335 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31336 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31337 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31338 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31339 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31340 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31341 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31343 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31344 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31345 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31347 2012-07-25 Florian Weimer <fweimer@redhat.com>
31349 * Versions.def: Add GLIBC_2.17.
31350 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31351 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31352 Introduce __libc_secure_getenv.
31353 * stdlib/Versions (2.17): Add secure_getenv
31354 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31355 * stdlib/secure-getenv.c: Rename __secure_getenv to
31356 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31357 symbol __secure_getenv for GLIBC_2.0.
31358 * stdlib/tst-secure-getenv.c: New.
31359 * stdlib/Makefile (tests): Add testcase.
31360 * manual/startup.texi (Environment Access): Document
31362 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31363 __libc_secure_getenv.
31364 * inet/ruserpass.c (ruserpass): Likewise.
31365 * malloc/mtrace.c (mtrace): Likewise.
31366 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31367 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31368 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31369 * sysdeps/posix/tempname.c: Likewise. Evaluate
31370 HAVE_SECURE_GETENV.
31371 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31372 __secure_getenv to __libc_secure_getenv.
31373 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31386 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31388 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31389 (struct La_i86_retval): Likewise.
31390 (struct La_x86_64_regs): Likewise.
31391 (struct La_x86_64_retval): Likewise.
31392 (struct La_x32_regs): Likewise.
31393 (struct La_x32_retval): Likewise.
31394 (struct La_ppc32_regs): Likewise.
31395 (struct La_ppc32_retval): Likewise.
31396 (struct La_ppc64_regs): Likewise.
31397 (struct La_ppc64_retval): Likewise.
31398 (struct La_sh_regs): Likewise.
31399 (struct La_sh_retval): Likewise.
31400 (struct La_s390_32_regs): Likewise.
31401 (struct La_s390_32_retval): Likewise.
31402 (struct La_s390_64_regs): Likewise.
31403 (struct La_s390_64_retval): Likewise.
31404 (struct La_sparc32_regs): Likewise.
31405 (struct La_sparc32_retval): Likewise.
31406 (struct La_sparc64_regs): Likewise.
31407 (struct La_sparc64_retval): Likewise.
31408 (struct audit_ifaces): Remove architecture-specific pltenter and
31410 * sysdeps/i386/ldsodefs.h: New file.
31411 * sysdeps/powerpc/ldsodefs.h: Likewise.
31412 * sysdeps/s390/ldsodefs.h: Likewise.
31413 * sysdeps/sh/ldsodefs.h: Likewise.
31414 * sysdeps/sparc/ldsodefs.h: Likewise.
31415 * sysdeps/x86_64/ldsodefs.h: Likewise.
31417 2012-07-25 Marek Polacek <polacek@redhat.com>
31420 * math/libm-test.inc (yn_test): Add another test.
31421 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31422 to ERANGE when the result is +-Inf.
31423 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31424 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31425 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31426 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31428 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31430 * conform/data/time.h-data (NULL): Use macro-constant. Require
31432 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31434 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31436 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31438 * configure.in <sysdeps resolving>: Correct printing
31440 * configure: Regenerate.
31442 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31444 * math/w_ilogb.c: Include <limits.h>.
31445 * math/w_ilogbl.c: Likewise.
31447 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31449 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31450 va_copy. Document allowing for unavailable va_copy only as
31451 pre-C99 compatibility.
31452 * manual/string.texi (Copying and Concatenation): Use va_copy
31453 instead of __va_copy in concat example.
31455 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31457 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31458 (__sendto): Use create_address_port. Initialize APORT and deallocate
31461 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31462 with O_NOLINK passed to __file_name_lookup.
31464 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31465 with O_NOLINK passed to __file_name_lookup.
31467 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31468 negative N or less than NGIDS.
31470 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31471 type to string_t. Set ERANGE as errno and return it if NAME is not big
31472 enough. Use memcpy instead of strncpy.
31474 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31476 * elf/Makefile (check-data): Remove.
31477 (localplt.data): New vpath directive.
31478 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31479 instead of $(check-data).
31480 * scripts/data/localplt-generic.data: Move to ...
31481 * sysdeps/generic/localplt.data: ... here.
31482 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31483 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31484 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31487 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31490 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31493 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31496 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31499 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31503 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31505 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31506 PPC32 and PPC64 files.
31507 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31508 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31510 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31512 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31513 __makecontext_ret to ...
31514 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31515 ... here and call exit if uc_link is NULL. New file.
31516 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31517 __makecontext_ret.S.
31518 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31519 __makecontext_ret to ...
31520 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31521 ... here and call exit if uc_link is NULL. New file.
31522 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31523 __makecontext_ret.S.
31525 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31527 * elf/elf.h (R_390_IRELATIVE): New definition.
31528 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31529 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31530 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31531 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31532 (elf_machine_lazy_rel): Likewise.
31533 * sysdeps/s390/dl-irel.h: New file.
31534 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31535 * sysdeps/s390/s390-64/memset.S: New asm code.
31536 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31537 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31538 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31539 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31540 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31541 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31542 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31543 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31544 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31545 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31546 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31547 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31548 * sysdeps/s390/s390-32/memset.S: New asm code.
31549 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31551 2012-07-17 Marek Polacek <polacek@redhat.com>
31554 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31555 * sysdeps/s390/s390-64/configure.in: Likewise.
31556 * sysdeps/sparc/configure.in: Likewise.
31557 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31558 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31559 * sysdeps/i386/configure.in: Likewise.
31560 * sysdeps/x86_64/configure.in: Likewise.
31561 * sysdeps/sh/configure.in: Likewise.
31562 * sysdeps/s390/s390-32/configure: Regenerated.
31563 * sysdeps/s390/s390-64/configure: Likewise.
31564 * sysdeps/x86_64/configure: Likewise.
31565 * sysdeps/sh/configure: Likewise.
31566 * sysdeps/powerpc/powerpc64/configure: Likewise.
31567 * sysdeps/powerpc/powerpc32/configure: Likewise.
31568 * sysdeps/sparc/configure: Likwise.
31569 * sysdeps/i386/configure: Likewise.
31571 * elf/dl-open.c: Comment fixes.
31573 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31575 * Makefile [CXX] (check-data): Remove.
31576 [CXX] (c++-types.data): New vpath directive.
31577 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31578 vpath. Do not allow for C++ type data being missing.
31579 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31580 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31581 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31582 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31583 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31584 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31585 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31588 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31591 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31594 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31597 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31600 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31603 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31606 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31609 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31610 definitions to architecture-specific files.
31611 (TLS_IE): Likewise.
31612 (TLS_LD): Likewise.
31613 (TLS_GD): Likewise.
31614 * sysdeps/i386/tls-macros.h: New file.
31615 * sysdeps/powerpc/tls-macros.h: Likewise.
31616 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31617 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31618 * sysdeps/sh/tls-macros.h: Likewise.
31619 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31620 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31621 * sysdeps/x86_64/tls-macros.h: Likewise.
31623 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31625 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31626 zero value for regular exit case.
31628 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31629 (__start_context): Preserve zero value for regular exit case.
31631 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31632 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31634 * manual/setjmp.texi (setcontext): Clarify normal process
31635 termination when uc_link is the null pointer.
31636 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31639 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31641 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31642 preprocessor. Test for each exception mask separately.
31644 2012-07-16 Andreas Jaeger <aj@suse.de>
31646 * po/ru.po: Update from translation team.
31648 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31650 * conform/data/string.h-data (NULL): Use macro-constant. Require
31652 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31653 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31654 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31655 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31656 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31658 2012-07-13 Andreas Jaeger <aj@suse.de>
31660 * po/fr.po: Update from translation team.
31662 2012-07-12 Marek Polacek <polacek@redhat.com>
31665 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31666 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31669 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31672 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31673 Change to 2.4.1 where previously 2.4.0.
31674 * sysdeps/unix/sysv/linux/configure: Regenerated.
31675 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31676 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31678 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31679 (__ASSUME_AT_CLKTCK): Remove.
31680 (__ASSUME_AT_PAGESIZE): Likewise.
31681 (__ASSUME_AT_XID): Likewise.
31682 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31683 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31684 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31686 (HAVE_AUX_PAGESIZE): Likewise.
31687 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31688 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31689 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31691 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31695 the temporary buffer used to invoke __gethostbyname2_r,
31696 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31697 host_data / struct gaih_addrtuple.
31698 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31699 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31700 header file nss/nsswitch.h.
31701 * nss/nsswitch.h (global scope): Add definition of implementation
31702 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31703 resolv/nss_dns/dns-host.c).
31705 2012-07-11 Andreas Jaeger <aj@suse.de>
31707 * po/fr.po: Update from translation team.
31709 * po/sv.po: Update from translation team
31710 * po/fr.po: Another update from translation team.
31712 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31714 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31715 for subnormals or multiply small sinh result by itself.
31716 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31719 2012-07-11 David S. Miller <davem@davemloft.net>
31721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31723 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31726 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31727 (INTERNAL_MARK): Shift it here.
31729 2012-07-10 Marek Polacek <polacek@redhat.com>
31732 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31733 libc_cv_asm_global_directive with .globl.
31734 * configure: Regenerated.
31735 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31737 * sysdeps/i386/configure: Regenerated.
31738 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31740 * sysdeps/x86_64/configure: Regenerated.
31741 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31742 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31743 * elf/tst-unique2mod2.c: Likewise.
31744 * elf/tst-unique2mod1.c: Likewise.
31745 * elf/tst-unique1mod2.c: Likewise.
31746 * elf/tst-unique1mod1.c: Likewise.
31747 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31748 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31749 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31750 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31751 * sysdeps/mach/sysdep.h: Likewise.
31752 * sysdeps/i386/sysdep.h: Likewise.
31753 * sysdeps/i386/i386-mcount.S: Likewise.
31754 * sysdeps/x86_64/_mcount.S: Likewise.
31755 * sysdeps/x86_64/sysdep.h: Likewise.
31756 * sysdeps/sh/_mcount.S: Likewise.
31757 * sysdeps/sh/sysdep.h: Likewise.
31758 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31759 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31760 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31761 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31762 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31763 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31764 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31765 * locale/localeinfo.h: Likewise.
31766 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31767 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31769 2012-07-09 Roland McGrath <roland@hack.frob.com>
31772 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31774 * manual/message.texi (The Uniforum approach): Likewise.
31775 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31776 (glibc iconv Implementation): Likewise.
31778 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31781 * math/s_clog.c (__clog): Avoid scaling a value down where that
31782 could result in underflow.
31783 * math/s_clog10.c (__clog10): Likewise.
31784 * math/s_clog10f.c (__clog10f): Likewise.
31785 * math/s_clog10l.c (__clog10l): Likewise.
31786 * math/s_clogf.c (__clogf): Likewise.
31787 * math/s_clogl.c (__clogl): Likewise.
31788 * math/libm-test.inc (clog_test): Add more tests.
31789 (clog10_test): Likewise.
31790 * sysdeps/i386/fpu/libm-test-ulps: Update.
31791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31793 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31796 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31797 by 7 not 8 to examine high bit of fractional part.
31800 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31801 for call to __mcount_internal.
31802 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31803 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31804 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31806 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31809 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31810 approximation for values within 0x1p-13f of an odd multiple of
31812 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31813 exception. Add more tests.
31814 * sysdeps/i386/fpu/libm-test-ulps: Update.
31817 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31818 inputs and return -1 for them. Do not check for +Inf in case not
31819 reachable for +Inf.
31820 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31821 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31822 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31823 and return -1 for them. Do not check for +Inf in case not
31824 reachable for +Inf.
31825 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31827 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31828 and return -1 for them. Do not check for +Inf in case not
31829 reachable for +Inf.
31830 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31831 spurious underflow.
31832 * sysdeps/i386/fpu/libm-test-ulps: Update.
31833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31835 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31837 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31839 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31843 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31844 could result in spurious underflow. Scale down values above
31845 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31846 * math/s_csqrtf.c (__csqrtf): Likewise.
31847 * math/s_csqrtl.c (__csqrtl): Likewise.
31848 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31849 spurious underflow.
31850 * sysdeps/i386/fpu/libm-test-ulps: Update.
31851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31853 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31855 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31857 * catgets/xopen-msg.awk: New file.
31858 * catgets/xopen-msg.sed: Removed.
31860 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31862 * intl/po2test.awk: New file.
31863 * intl/po2test.sed: Removed.
31865 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31868 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31869 or multiply small sinh result by itself.
31870 * math/s_ctanf.c (__ctanf): Likewise.
31871 * math/s_ctanh.c (__ctanh): Likewise.
31872 * math/s_ctanhf.c (__ctanhf): Likewise.
31873 * math/s_ctanhl.c (__ctanhl): Likewise.
31874 * math/s_ctanl.c (__ctanl): Likewise.
31875 * math/libm-test.inc (ctan_test_tonearest): New function.
31876 (ctan_test_towardzero): Likewise.
31877 (ctan_test_downward): Likewise.
31878 (ctan_test_upward): Likewise.
31879 (ctanh_test_tonearest): Likewise.
31880 (ctanh_test_towardzero): Likewise.
31881 (ctanh_test_downward): Likewise.
31882 (ctanh_test_upward): Likewise.
31883 (main): Call these new functions.
31884 * sysdeps/i386/fpu/libm-test-ulps: Update.
31885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31887 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31889 * .gitignore: Delete /ports entry.
31891 2012-07-03 Andreas Jaeger <aj@suse.de>
31893 * po/bg.po: Update from translation team.
31894 * po/cs.po: Likewise.
31895 * po/de.po: Likewise.
31896 * po/hr.po: Likewise.
31897 * po/nl.pl: Likewise.
31898 * po/pl.po: Likewise.
31899 * po/vi.po: Likewise.
31901 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31903 * Makeconfig [!+link] (+link-before-libc): New variable.
31904 [!+link] (+link-after-libc): Likewise.
31905 [!+link] (+link-tests): Likewise.
31906 [!+link] (+link): Define in terms of $(+link-before-libc) and
31907 $(+link-after-libc).
31908 [!+link-static] (+link-static-before-libc): New variable.
31909 [!+link-static] (+link-static-after-libc): Likewise.
31910 [!+link-static] (+link-static-tests): Likewise.
31911 [!+link-static] (+link-static): Define in terms of
31912 $(+link-static-before-libc) and $(+link-static-after-libc).
31913 [build-shared] (link-libc-before-gnulib): New variable.
31914 [build-shared] (link-libc-tests): Likewise.
31915 [build-shared] (link-libc): Define in terms of
31916 $(link-libc-before-gnulib).
31917 [!build-shared] (link-libc-tests): New variable.
31918 (link-libc-static-tests): New variable.
31919 [!gnulib] (gnulib-arch): New variable.
31920 [!gnulib] (gnulib-tests): Likewise.
31921 [!gnulib] (static-gnulib-arch): Likewise.
31922 [!gnulib] (static-gnulib-tests): Likewise.
31923 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31924 Define with "=" instead of ":=".
31925 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31926 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31927 * Rules (binaries-all-notests): New variable.
31928 (binaries-all-tests): Likewise.
31929 (binaries-static-notests): Likewise.
31930 (binaries-static-tests): Likewise.
31931 (binaries-all): Define using $(binaries-all-notests) and
31932 $(binaries-all-tests).
31933 (binaries-static): Define using $(binaries-static-notests) and
31934 $(binaries-static-tests).
31935 (binaries-shared-tests): New variable.
31936 (binaries-shared-notests): Likewise.
31937 (binaries-shared): Remove variable.
31938 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31939 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31940 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31941 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31942 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31943 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31944 * elf/Makefile (sln-modules): New variable.
31945 (extra-objs): Add $(sln-modules:=.o).
31946 (ldconfig-modules): Add static-stubs.
31947 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31948 * elf/static-stubs.c: New file.
31951 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31952 by 7 not 8 to examine high bit of fractional part. Use volatile
31953 variables when splitting into final array of floats if
31954 __FLT_EVAL_METHOD__ != 0.
31955 * math/libm-test.inc (cos_test): Add another test.
31956 (sin_test): Likewise.
31957 * sysdeps/i386/fpu/libm-test-ulps: Update.
31960 * math/libm-test.inc (cosh_test): Add more tests.
31962 * version.h (RELEASE): Set to "development".
31963 (VERSION): Set to "2.16.90".
31965 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31967 * NEWS: Update copyright. Remove last-updated date.
31968 Mention math library bug fixes and timezone data changes.
31969 * README: Mention GNU/Hurd, x32, and HPPA support status.
31971 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31973 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31975 2012-06-27 Andreas Jaeger <aj@suse.de>
31977 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31979 2012-06-25 Andreas Jaeger <aj@suse.de>
31981 * sysdeps/s390/fpu/libm-test-ulps: Update.
31983 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31984 Thomas Schwinge <thomas@codesourcery.com>
31986 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31987 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31988 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31991 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31993 * sysdeps/mach/start.c: Remove file.
31994 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31995 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31996 * sysdeps/sh/init-first.c: Likewise.
31998 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31999 registers for frame unwinding purposes, add CFI directives.
32000 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32001 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32002 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32005 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32006 __fortify_fail returning.
32007 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32009 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32010 sysdeps/sh/____longjmp_chk.S.
32011 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32012 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32013 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32014 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32016 * sysdeps/sh/abort-instr.h: New file.
32017 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32018 process in case exit returns.
32020 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32021 initialize the GOT register before use.
32023 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32024 calculation of ARGC > 4.
32026 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32027 meaningful names to some local labels.
32029 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32030 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32032 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32033 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32034 (__arch_compare_and_exchange_val_16_acq): Likewise.
32035 (__arch_compare_and_exchange_val_32_acq): Likewise.
32036 (atomic_exchange_and_add): Fix gUSA sequence.
32037 (atomic_add): Likewise.
32038 (atomic_add_negative): Likewise.
32039 (atomic_add_zero): Likewise.
32040 (atomic_bit_test_set): Likewise.
32042 2012-06-22 Andreas Schwab <schwab@redhat.com>
32045 * include/link.h (struct link_map): Add l_free_initfini.
32046 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32048 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32049 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32050 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32053 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32055 * configure.in: Use AC_LANG_SOURCE.
32056 * configure: Regenerate.
32058 2012-06-22 Roland McGrath <roland@hack.frob.com>
32060 * configure.in (libc_cv_localstatedir): New substituted variable.
32061 * configure: Regenerated.
32062 * config.make.in (localstatedir): New variable, substituted from
32063 libc_cv_localstatedir.
32064 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32065 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32066 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32067 * sysdeps/gnu/configure: Regenerated.
32069 2012-06-21 Jeff Law <law@redhat.com>
32072 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32073 free. Simplify list management for _LIBC case.
32075 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32078 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32079 Clear sign bit of 64-bit integer value before comparing against
32082 * sysdeps/mach/configure: Regenerated.
32084 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32087 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32089 2012-06-21 Jeff Law <law@redhat.com>
32092 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32093 uint16_t for elements in the "seen" array to avoid char overflows.
32094 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32095 * elf/dl-open.c (dl_open_worker): Likewise.
32097 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32099 * scripts/list-sources.sh: Scan PORTS for translations.
32100 * po/libc.pot: Regenerated.
32102 2012-06-21 Andreas Jaeger <aj@suse.de>
32105 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32107 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32108 * bits/byteswap-16.h (__bswap_16): Likewise.
32109 * bits/byteswap.h (__bswap_constant_16): Likewise.
32111 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32114 * sysdeps/i386/fpu_control.h: Removed.
32115 * sysdeps/x86_64/fpu_control.h: Moved to ...
32116 * sysdeps/x86/fpu_control.h: Here.
32118 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32119 (_FPU_SETCW): Likewise.
32121 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32124 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32125 * sysdeps/x86/fpu/bits/mathinline.h: This.
32126 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32130 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32131 functions if __x86_64__ is defined.
32133 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32135 * string/endian.h: Add !__ASSEMBLER__ condition for including
32136 conversion interfaces.
32138 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32141 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32142 of ABS(x) in calculating zero to negative powers other than odd
32144 * math/libm-test.inc (pow_test): Add more tests.
32146 2012-06-15 Andreas Jaeger <aj@suse.de>
32148 * manual/contrib.texi (Contributors): Update entry of Liubov
32149 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32152 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32154 * string/string.h: Add __wur to GNU version of strerror_r.
32156 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32159 * string/Makefile (tests): Add tst-strtok_r.
32160 * string/tst-strtok_r.c: New file.
32161 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32162 RAX_LP/RDX_LP on SAVE_PTR.
32164 2012-06-14 Roland McGrath <roland@hack.frob.com>
32166 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32168 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32170 * libm_test.inc (csqrt_test): Allow more spurious underflow
32172 (j0_test): Likewise.
32173 (j1_test): Likewise.
32174 (y0_test): Likewise.
32175 (y1_test): Likewise.
32177 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32179 * po/Makefile (libc.pot): Use UTF-8 charset.
32181 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32184 Suppress sign-conversion warning from FD_SET.
32185 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32186 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32187 not unsigned long int.
32188 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32190 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32194 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32195 __extern_always_inline instead of __extern_inline.
32196 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32197 (__signbit): Likewise.
32198 (__signbitl): Support C++ namespace.
32199 (lrintf): New inline function.
32201 (llrintf): Likewise.
32202 (llrint): Likewise.
32212 (floorf): Likewise.
32213 (nearbyint): Likewise.
32214 (nearbyintf): Likewise.
32216 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32218 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32219 non-default versions.
32221 2012-06-11 Roland McGrath <roland@hack.frob.com>
32224 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32226 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32228 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32229 (FE_UPWARD, FE_DOWNWARD): Don't define.
32230 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32231 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32233 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32235 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32236 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32238 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32240 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32242 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32243 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32245 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32248 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32249 * sysdeps/i386/fpu/Implies: New file.
32250 * sysdeps/x86_64/fpu/Implies: Likewise.
32251 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32252 * sysdeps/x86/fpu/bits/fenv.h: This.
32254 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32257 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32260 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32261 character 0xffff that matches the last element of the
32264 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32266 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32269 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32271 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32272 values higher than 25.6283.
32274 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32277 subnormal exponent extraction and add some __builtin_expect.
32278 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32279 Fix for subnormal mantissa calculation.
32281 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32283 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32284 cpu2 is -1 and errno is not ENOSYS.
32286 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32289 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32290 * sysdeps/x86/bits/string.h: This.
32291 * sysdeps/x86_64/bits/string.h: Removed.
32293 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32294 if not compiling for x86-64, but compiling for >= i486.
32296 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32297 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32299 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32300 New macro from Linux kernel 3.4.0.
32301 (FP_XSTATE_MAGIC2): Likewise.
32302 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32303 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32304 (struct _fpx_sw_bytes): New struct.
32305 (struct _xsave_hdr): Likewise.
32306 (struct _ymmh_state): Likewise.
32307 (struct _xstate): Likewise.
32309 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32310 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32311 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32312 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32313 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32314 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32316 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32317 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32318 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32319 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32320 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32321 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32323 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32326 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32327 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32328 (sysdep_headers): Include sys/platform/ppc.h.
32329 * sysdeps/powerpc/test-gettimebase.c: Test for
32330 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32331 * manual/Makefile (appendices): Include platform.texi.
32332 * manual/contrib.texi (Contributors): Update @node pointers.
32333 * manual/maint.texi (Maintenance): Likewise.
32334 (Platform): New node.
32335 * manual/platform.texi: New file. Document the new features.
32337 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32338 Jakub Jelinek <jakub@redhat.com>
32341 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32342 where __builtin_expect is unavailable.
32344 2012-06-03 David S. Miller <davem@davemloft.net>
32346 * stdlib/longlong.h: Updated from GCC.
32348 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32351 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32352 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32355 (GLIBC_2.16): Likewise.
32357 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32359 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32361 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32364 (default-abi): New variable.
32365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32366 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32368 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32370 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32372 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32375 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32376 definition. Document in comment.
32378 2012-06-01 David S. Miller <davem@davemloft.net>
32380 * stdlib/longlong.h: Updated from GCC.
32382 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32385 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32386 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32387 sys/debugreg.h sys/io.h here.
32388 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32389 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32391 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32392 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32393 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32394 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32395 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32396 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32398 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32399 Define only if __x86_64__ is defined.
32401 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32404 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32405 Use int64_t for variable i.
32406 * math/libm-test.inc (fmod_test): Add more tests.
32408 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32409 z computation is not scheduled after fetestexcept.
32410 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32411 Use math_force_eval instead of asm to ensure calculation scheduled
32412 before exception test.
32413 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32414 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32416 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32419 computation is not scheduled after fetestexcept.
32421 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32424 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32425 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32427 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32429 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32430 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32432 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32435 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32437 (__WCHAR_MIN): Support __WORDSIZE == 64.
32438 (__WCHAR_MAX): Likewise.
32440 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32441 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32444 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32445 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32448 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32449 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32451 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32452 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32454 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32455 Defined to 1 if __x86_64__ isn't defined.
32456 (_STAT_VER_LINUX_OLD): New.
32457 (st_atime): Remove duplicate.
32458 (st_mtime): Likewise.
32459 (st_ctime): Likewise.
32461 2012-05-31 David S. Miller <davem@davemloft.net>
32463 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32466 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32468 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32472 * elf/dl-reloc.c: Include <_itoa.h>.
32473 (_dl_reloc_bad_type): Remove use of INTUSE.
32474 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32475 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32476 * stdio-common/psiginfo.c (psiginfo): Likewise.
32477 * stdio-common/psignal.c (psignal): Likewise.
32478 * string/strsignal.c (strsignal): Likewise.
32479 * include/signal.h (_sys_siglist): Declare hidden proto.
32480 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32481 INTVARDEF with libc_hidden_data_def.
32482 * stdio-common/itoa-udigits.c: Likewise.
32483 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32484 (_itoa_lower_digits_internal): Remove declaration.
32485 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32486 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32487 (_sys_sigabbrev_internal): Remove aliases.
32488 (_sys_siglist): Define hidden alias.
32490 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32495 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32498 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32499 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32501 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32502 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32503 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32504 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32505 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32506 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32508 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32509 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32510 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32512 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32520 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32521 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32522 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32524 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32525 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32526 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32527 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32528 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32529 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32531 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32532 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32534 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32535 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32537 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32539 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32541 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32542 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32544 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32546 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32547 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32548 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32550 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32552 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32554 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32556 * math/math.h (M_El): Use two more decimal places.
32557 (M_LOG2El): Likewise.
32558 (M_LOG10El): Likewise.
32559 (M_LN2l): Likewise.
32560 (M_LN10l): Likewise.
32562 (M_PI_2l): Likewise.
32563 (M_PI_4l): Likewise.
32564 (M_1_PIl): Likewise.
32565 (M_2_PIl): Likewise.
32566 (M_2_SQRTPIl): Likewise.
32567 (M_SQRT2l): Likewise.
32568 (M_SQRT1_2l): Likewise.
32570 2012-05-31 David S. Miller <davem@davemloft.net>
32572 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32573 values between float registers.
32574 * sysdeps/sparc/sparc64/memset.S: Likewise.
32575 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32577 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32579 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32580 -D_FORTIFY_SOURCE=1.
32581 (CPPFLAGS-tst-longjmp_chk.c): Define.
32582 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32583 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32584 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32585 CFLAGS-tst-wchar-h.c.
32587 2012-05-31 Marek Polacek <polacek@redhat.com>
32590 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32591 __endmntent_internal): Remove declaration.
32592 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32593 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32594 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32596 2012-05-30 David S. Miller <davem@davemloft.net>
32598 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32599 (___Q_simulate_exceptions): Use real FP ops rather than writing
32601 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32604 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32607 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32608 * sysdeps/x86/bits/xtitypes.h: This.
32610 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32611 * sysdeps/x86/bits/wordsize.h: This.
32613 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32614 * sysdeps/x86/bits/huge_vall.h: This.
32616 * sysdeps/i386/bits/select.h: Removed.
32617 * sysdeps/x86_64/bits/select.h: Renamed to ...
32618 * sysdeps/x86/bits/select.h: This.
32620 * sysdeps/i386/bits/setjmp.h: Removed.
32621 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32622 * sysdeps/x86/bits/setjmp.h: This.
32624 * sysdeps/i386/bits/mathdef.h: Removed.
32625 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32626 * sysdeps/x86/bits/mathdef.h: This.
32628 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32631 * include/sys/socket.h (__connect_internal)
32632 (__libc_sa_len_internal): Remove declaration.
32633 (__connect, __libc_sa_len): Declare hidden_proto.
32634 (SA_LEN): Remove use of INTUSE.
32635 * socket/connect.c: Add libc_hidden_def.
32636 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32637 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32638 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32640 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32641 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32642 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32643 of adding _internal alias.
32645 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32648 * sysdeps/i386/bits/link.h: Removed.
32649 * sysdeps/i386/bits/linkmap.h: Likewise.
32650 * sysdeps/x86_64/bits/link.h: Renamed to ...
32651 * sysdeps/x86/bits/link.h: This.
32652 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32653 * sysdeps/x86/bits/linkmap.h: This.
32655 * sysdeps/i386/bits/endian.h: Removed.
32656 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32657 * sysdeps/x86/bits/endian.h: This.
32659 * sysdeps/i386/bits/byteswap.h: Removed.
32660 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32661 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32662 * sysdeps/x86/bits/byteswap.h: This.
32663 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32664 * sysdeps/x86/bits/byteswap-16.h: This.
32665 * sysdeps/i386/Implies: Add x86.
32666 * sysdeps/x86_64/Implies: Likewise.
32668 2012-05-30 David S. Miller <davem@davemloft.net>
32670 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32671 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32672 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32673 (FP_TRAPPING_EXCEPTIONS): Define.
32674 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32675 (FP_TRAPPING_EXCEPTIONS): Define.
32676 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32677 subnormals only when inexact has been signalled or underflow
32678 exceptions are enabled.
32679 (_FP_PACK_CANONICAL): Likewise.
32681 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32684 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32685 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32687 2012-05-30 Richard Henderson <rth@twiddle.net>
32689 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32690 with #ifndef NOT_IN_libc.
32692 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32693 marked to avoid plt entry.
32695 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32698 * Makeconfig (default-abi): New macro.
32699 (abi-includes): Likewise.
32700 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32701 $(abi-$(default-abi)-lib-soname) for soname if defined.
32702 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32704 * Makefile (installed-stubs): Likewise.
32705 * include/stubs-biarch.h: Removed.
32706 * scripts/lib-names.awk: Only handle one library at a time.
32707 * scripts/soversions.awk: Remove WORDSIZE support.
32708 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32710 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32712 (syscall-list-default-condition): Likewise.
32713 (syscall-list-default-condition): Likewise.
32714 (syscall-list-includes): Likewise.
32715 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32716 syscall-list-* with abi-*. Handle undefined abi-variants.
32717 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32718 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32719 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32720 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32721 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32722 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32724 (syscall-list-32-options): Likewise.
32725 (syscall-list-32-condition): Likewise.
32726 (syscall-list-64-options): Likewise.
32727 (syscall-list-64-condition): Likewise.
32728 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32730 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32733 (abi-64-ld-soname): New macro.
32734 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32735 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32738 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32739 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32741 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32743 * sysdeps/unix/sysv/linux/kernel-features.h
32744 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32745 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32746 include <kernel-features.h>.
32747 [!__NR_ftruncate64]: Remove conditional code.
32748 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32749 [__NR_ftruncate64]: Make code unconditional.
32750 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32751 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32752 include <kernel-features.h>.
32753 [!__NR_ftruncate64]: Remove conditional code.
32754 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32755 [__NR_ftruncate64]: Make code unconditional.
32756 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32758 include <kernel-features.h>.
32759 [!__NR_ftruncate64]: Remove conditional code.
32760 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32761 [__NR_ftruncate64]: Make code unconditional.
32762 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32764 include <kernel-features.h>.
32765 [!__NR_ftruncate64]: Remove conditional code.
32766 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32767 [__NR_ftruncate64]: Make code unconditional.
32768 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32770 * configure.in (libc_cv_fpie): Weaken to a compile test using
32771 LIBC_TRY_CC_OPTION.
32772 * configure: Regenerated.
32774 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32789 2012-05-27 David S. Miller <davem@davemloft.net>
32791 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32793 (__Q_simulate_exceptions): Return void. Change to simulate
32794 exceptions by writing into the %fsr.
32795 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32796 (__Qp_handle_exceptions): Likewise.
32798 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32799 __Qp_handle_exceptions.
32800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32801 __Qp_handle_exceptions.
32802 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32803 as unused and give dummy FP_RND_NEAREST initializer.
32804 (FP_INHIBIT_RESULTS): Define.
32805 (___Q_simulate_exceptions): Update declaration.
32806 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32808 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32809 as unused and give dummy FP_RND_NEAREST initializer.
32810 (__Qp_handle_exceptions): Update declaration.
32811 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32814 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32816 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32817 the temporary FPU control word.
32818 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32819 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32820 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32821 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32822 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32823 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32824 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32825 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32826 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32827 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32828 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32830 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32832 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32835 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32837 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32838 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32839 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32840 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32842 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32843 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32846 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32848 * po/h.po: Update from translation team.
32850 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32852 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32854 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32855 handling of denormals.
32856 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32857 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32858 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32859 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32860 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32862 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32865 2012-05-26 Marek Polacek <polacek@redhat.com>
32868 * math/libm-test.inc (fma_test): Don't always expect underflow
32871 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32874 * elf/tst-execstack.c: Include stackinfo.h.
32875 (do_test): Adjust test case to ensure that pthread_getattr_np
32876 behaviour remains the same after marking stack executable.
32878 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32880 * sysdeps/unix/sysv/linux/kernel-features.h
32881 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32882 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32884 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32885 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32886 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32888 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32889 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32891 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32893 * configure.in: Define the default includes to being none.
32894 * configure: Regenerated.
32896 2012-05-25 Roland McGrath <roland@hack.frob.com>
32898 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32899 * sysdeps/x86_64/setjmp.S: Likewise.
32900 * sysdeps/i386/bsd-setjmp.S: Likewise.
32901 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32902 * sysdeps/i386/setjmp.S: Likewise.
32903 * sysdeps/i386/__longjmp.S: Likewise.
32904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32905 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32907 * include/stap-probe.h: New file.
32908 * configure.in: Handle --enable-systemtap.
32909 * configure: Regenerated.
32910 * config.h.in (USE_STAP_PROBE): New #undef.
32911 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32912 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32913 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32915 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32918 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32919 to 2.4.0 where earlier.
32920 * sysdeps/unix/sysv/linux/configure: Regenerated.
32921 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32922 <kernel-features.h>.
32923 [__ASSUME_32BITUIDS]: Make code unconditional.
32924 [!__ASSUME_32BITUIDS]: Remove conditional code.
32925 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32926 <kernel-features.h>.
32927 [__ASSUME_32BITUIDS]: Make code unconditional.
32928 [!__ASSUME_32BITUIDS]: Remove conditional code.
32929 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32930 [__ASSUME_32BITUIDS]: Make code unconditional.
32931 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32932 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32933 <kernel-features.h>.
32934 [__ASSUME_32BITUIDS]: Make code unconditional.
32935 [!__ASSUME_32BITUIDS]: Remove conditional code.
32936 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32937 <kernel-features.h>.
32938 [__ASSUME_32BITUIDS]: Make code unconditional.
32939 [!__ASSUME_32BITUIDS]: Remove conditional code.
32940 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32941 <kernel-features.h>.
32942 [__ASSUME_32BITUIDS]: Make code unconditional.
32943 [!__ASSUME_32BITUIDS]: Remove conditional code.
32944 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32945 <kernel-features.h>.
32946 [__ASSUME_32BITUIDS]: Make code unconditional.
32947 [!__ASSUME_32BITUIDS]: Remove conditional code.
32948 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32949 <kernel-features.h>.
32950 [__ASSUME_32BITUIDS]: Make code unconditional.
32951 [!__ASSUME_32BITUIDS]: Remove conditional code.
32952 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32953 <kernel-features.h>.
32954 [__ASSUME_32BITUIDS]: Make code unconditional.
32955 [!__ASSUME_32BITUIDS]: Remove conditional code.
32956 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32957 <kernel-features.h>.
32958 [__ASSUME_32BITUIDS]: Make code unconditional.
32959 [!__ASSUME_32BITUIDS]: Remove conditional code.
32960 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32961 <kernel-features.h>.
32962 [__ASSUME_32BITUIDS]: Make code unconditional.
32963 [!__ASSUME_32BITUIDS]: Remove conditional code.
32964 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32965 <kernel-features.h>.
32966 [__ASSUME_32BITUIDS]: Make code unconditional.
32967 [!__ASSUME_32BITUIDS]: Remove conditional code.
32968 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32969 <kernel-features.h>.
32970 [__ASSUME_32BITUIDS]: Make code unconditional.
32971 [!__ASSUME_32BITUIDS]: Remove conditional code.
32972 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32973 <kernel-features.h>.
32974 [__NR_setresgid] (__setresgid): Do not declare.
32975 [__ASSUME_32BITUIDS]: Make code unconditional.
32976 [!__ASSUME_32BITUIDS]: Remove conditional code.
32977 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32978 <kernel-features.h>.
32979 [__NR_setresuid] (__setresuid): Do not declare.
32980 [__ASSUME_32BITUIDS]: Make code unconditional.
32981 [!__ASSUME_32BITUIDS]: Remove conditional code.
32982 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32983 <kernel-features.h>.
32984 [__ASSUME_32BITUIDS]: Make code unconditional.
32985 [!__ASSUME_32BITUIDS]: Remove conditional code.
32986 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32987 <kernel-features.h>.
32988 [__ASSUME_32BITUIDS]: Make code unconditional.
32989 [!__ASSUME_32BITUIDS]: Remove conditional code.
32990 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32991 <kernel-features.h>.
32992 [__ASSUME_32BITUIDS]: Make code unconditional.
32993 [!__ASSUME_32BITUIDS]: Remove conditional code.
32994 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32995 <kernel-features.h>.
32996 [__ASSUME_32BITUIDS]: Make code unconditional.
32997 [!__ASSUME_32BITUIDS]: Remove conditional code.
32998 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32999 <kernel-features.h>.
33000 [__ASSUME_32BITUIDS]: Make code unconditional.
33001 [!__ASSUME_32BITUIDS]: Remove conditional code.
33002 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33003 <kernel-features.h>.
33004 [__ASSUME_32BITUIDS]: Make code unconditional.
33005 [!__ASSUME_32BITUIDS]: Remove conditional code.
33006 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33007 <kernel-features.h>.
33008 [__ASSUME_32BITUIDS]: Make code unconditional.
33009 [!__ASSUME_32BITUIDS]: Remove conditional code.
33010 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33011 <kernel-features.h>.
33012 [__ASSUME_32BITUIDS]: Make code unconditional.
33013 [!__ASSUME_32BITUIDS]: Remove conditional code.
33014 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33015 <kernel-features.h>.
33016 [__ASSUME_32BITUIDS]: Make code unconditional.
33017 [!__ASSUME_32BITUIDS]: Remove conditional code.
33018 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33019 <kernel-features.h>.
33020 [__ASSUME_32BITUIDS]: Make code unconditional.
33021 [!__ASSUME_32BITUIDS]: Remove conditional code.
33022 * sysdeps/unix/sysv/linux/kernel-features.h
33023 (__ASSUME_SETRESUID_SYSCALL): Remove.
33024 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33025 (__ASSUME_32BITUIDS): Likewise.
33026 (__ASSUME_LDT_WORKS): Likewise.
33027 (__ASSUME_O_DIRECTORY): Likewise.
33028 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33029 architecture but not kernel version.
33030 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33031 (__ASSUME_MMAP2_SYSCALL): Likewise.
33032 (__ASSUME_STAT64_SYSCALL): Likewise.
33033 (__ASSUME_IPC64): Likewise.
33034 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33035 <kernel-features.h>.
33036 [__ASSUME_32BITUIDS]: Make code unconditional.
33037 [!__ASSUME_32BITUIDS]: Remove conditional code.
33038 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33039 <kernel-features.h>.
33040 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33041 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33042 132096]: Remove conditional code.
33043 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33044 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33045 <kernel-features.h>.
33046 [__ASSUME_32BITUIDS]: Make code unconditional.
33047 [!__ASSUME_32BITUIDS]: Remove conditional code.
33048 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33049 <kernel-features.h>.
33050 [__ASSUME_32BITUIDS]: Make code unconditional.
33051 [!__ASSUME_32BITUIDS]: Remove conditional code.
33052 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33053 <kernel-features.h>.
33054 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33056 (__setresgid): Do not declare.
33057 [__ASSUME_32BITUIDS]: Make code unconditional.
33058 [!__ASSUME_32BITUIDS]: Remove conditional code.
33059 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33060 <kernel-features.h>.
33061 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33063 (__setresuid): Do not declare.
33064 [__ASSUME_32BITUIDS]: Make code unconditional.
33065 [!__ASSUME_32BITUIDS]: Remove conditional code.
33066 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33067 <kernel-features.h>.
33068 [__ASSUME_32BITUIDS]: Make code unconditional.
33069 [!__ASSUME_32BITUIDS]: Remove conditional code.
33070 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33071 <kernel-features.h>.
33072 [__ASSUME_32BITUIDS]: Make code unconditional.
33073 [!__ASSUME_32BITUIDS]: Remove conditional code.
33075 2012-05-25 Richard Henderson <rth@twiddle.net>
33077 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33078 dl_hwcap to ifunc resolver.
33079 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33081 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33082 dl_hwcap to ifunc resolver.
33083 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33085 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33088 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33089 for |x| <= 2**-26, not 2**-57.
33090 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33093 2012-05-24 Jeff Law <law@redhat.com>
33095 * stdio-common/Makefile (tests): Add bug25.
33096 * stdio-common/bug25.c: New test.
33098 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33101 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33102 multiple of MALLOC_ALIGNMENT in size.
33103 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33105 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33107 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33109 (FILENAME_MAX): Use macro-int-constant.
33110 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33111 (_IOFBF): Use macro-int-constant.
33112 (_IOLBF): Likewise.
33113 (_IONBF): Likewise.
33114 (SEEK_CUR): Likewise.
33115 (SEEK_END): Likewise.
33116 (SEEK_SET): Likewise.
33117 (TMP_MAX): Likewise.
33118 (EOF): Use macro-int-constant. Require < 0.
33119 (NULL): Use macro-constant. Require == 0.
33120 (stdin): Require type to be FILE *.
33121 (stdout): Likewise.
33122 (stderr): Likewise.
33123 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33124 macro-int-constant.
33125 (EXIT_SUCCESS): Likewise.
33126 (NULL): Use macro-constant. Require == 0.
33127 (RAND_MAX): Use macro-int-constant.
33128 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33129 [C99-based standards] (strtof): Require function.
33130 [C99-based standards] (strtold): Likewise.
33131 [C99-based standards] (strtoll): Likewise.
33132 [C99-based standards] (strtoull): Likewise.
33133 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33134 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33135 [ISO || ISO99 || ISO11] (math.h): Likewise.
33136 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33137 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33140 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33143 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33144 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33145 * intl/dgettext.c (DCGETTEXT): Likewise.
33146 * intl/gettext.c (DCGETTEXT): Likewise.
33147 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33148 * posix/regex_internal.h (gettext): Likewise.
33149 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33150 Remove declaration.
33151 * include/argz.h (__argz_count_internal)
33152 (__argz_stringify_internal): Remove declaration.
33153 (__argz_count, __argz_stringify): Declare hidden proto.
33154 * intl/dcgettext.c: Remove use of INTDEF.
33155 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33156 * string/argz-stringify.c: Likewise.
33157 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33158 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33159 Declare hidden proto.
33160 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33161 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33162 Declare hidden proto.
33163 * include/stdio.h (__asprintf_internal): Don't declare.
33164 (__asprintf): Don't define as macro. Declare hidden proto.
33165 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33166 (__fsetlocking): Declare hidden proto.
33167 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33168 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33170 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33171 (_IO_setlinebuf): Remove use of INTUSE.
33172 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33173 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33174 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33175 Remove declaration.
33176 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33177 (_IO_do_flush): Remove use of INTUSE.
33178 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33179 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33180 (_IO_adjust_column, _IO_least_wmarker)
33181 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33182 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33183 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33184 (_IO_default_doallocate, _IO_wdefault_doallocate)
33185 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33186 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33187 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33188 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33189 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33190 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33191 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33192 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33193 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33194 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33195 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33196 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33197 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33199 (_IO_flush_all_internal, _IO_adjust_column_internal)
33200 (_IO_default_uflow_internal, _IO_default_finish_internal)
33201 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33202 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33203 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33204 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33205 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33206 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33207 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33208 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33209 (_IO_file_close_internal, _IO_file_close_it_internal)
33210 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33211 (_IO_file_init_internal, _IO_file_attach_internal)
33212 (_IO_file_fopen_internal, _IO_file_read_internal)
33213 (_IO_file_sync_internal, _IO_file_seek_internal)
33214 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33215 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33216 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33217 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33218 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33219 (_IO_list_all_internal, _IO_link_in_internal)
33220 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33221 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33222 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33223 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33224 (_IO_do_write_internal, _IO_padn_internal)
33225 (_IO_getline_info_internal, _IO_getline_internal)
33226 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33227 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33228 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33229 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33230 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33231 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33232 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33233 with libc_hidden_ver, remove use of INTUSE.
33234 * libio/genops.c: Likewise.
33235 * libio/freopen.c: Likewise.
33236 * libio/freopen64.c: Likewise.
33237 * libio/iofclose.c: Likewise.
33238 * libio/iofdopen.c: Likewise.
33239 * libio/iofflush.c: Likewise.
33240 * libio/iofflush_u.c: Likewise.
33241 * libio/iofgets.c: Likewise.
33242 * libio/iofgets_u.c: Likewise.
33243 * libio/iofopen.c: Likewise.
33244 * libio/iofopncook.c: Likewise.
33245 * libio/iofread.c: Likewise.
33246 * libio/iofread_u.c: Likewise.
33247 * libio/ioftell.c: Likewise.
33248 * libio/iofwrite.c: Likewise.
33249 * libio/iogetline.c: Likewise.
33250 * libio/iogets.c: Likewise.
33251 * libio/iogetwline.c: Likewise.
33252 * libio/iopadn.c: Likewise.
33253 * libio/iopopen.c: Likewise.
33254 * libio/ioseekoff.c: Likewise.
33255 * libio/ioseekpos.c: Likewise.
33256 * libio/iosetbuffer.c: Likewise.
33257 * libio/iosetvbuf.c: Likewise.
33258 * libio/ioungetc.c: Likewise.
33259 * libio/ioungetwc.c: Likewise.
33260 * libio/iovdprintf.c: Likewise.
33261 * libio/iovsprintf.c: Likewise.
33262 * libio/iovsscanf.c: Likewise.
33263 * libio/memstream.c: Likewise.
33264 * libio/obprintf.c: Likewise.
33265 * libio/oldfileops.c: Likewise.
33266 * libio/oldiofclose.c: Likewise.
33267 * libio/oldiofdopen.c: Likewise.
33268 * libio/oldiofopen.c: Likewise.
33269 * libio/oldiopopen.c: Likewise.
33270 * libio/oldstdfiles.c: Likewise.
33271 * libio/putc.c: Likewise.
33272 * libio/setbuf.c: Likewise.
33273 * libio/setlinebuf.c: Likewise.
33274 * libio/stdfiles.c: Likewise.
33275 * libio/strops.c: Likewise.
33276 * libio/vasprintf.c: Likewise.
33277 * libio/vscanf.c: Likewise.
33278 * libio/vsnprintf.c: Likewise.
33279 * libio/vswprintf.c: Likewise.
33280 * libio/wfiledoalloc.c: Likewise.
33281 * libio/wfileops.c: Likewise.
33282 * libio/wgenops.c: Likewise.
33283 * libio/wmemstream.c: Likewise.
33284 * libio/wstrops.c: Likewise.
33285 * libio/__fpurge.c: Likewise.
33286 * libio/__fsetlocking.c: Likewise.
33287 * assert/assert.c: Likewise.
33288 * debug/fgets_chk.c: Likewise.
33289 * debug/fgets_u_chk.c: Likewise.
33290 * debug/fread_chk.c: Likewise.
33291 * debug/fread_u_chk.c: Likewise.
33292 * debug/gets_chk.c: Likewise.
33293 * debug/obprintf_chk.c: Likewise.
33294 * debug/vasprintf_chk.c: Likewise.
33295 * debug/vdprintf_chk.c: Likewise.
33296 * debug/vsnprintf_chk.c: Likewise.
33297 * debug/vsprintf_chk.c: Likewise.
33298 * malloc/mtrace.c: Likewise.
33299 * misc/error.c: Likewise.
33300 * misc/syslog.c: Likewise.
33301 * stdio-common/asprintf.c: Likewise.
33302 * stdio-common/fxprintf.c: Likewise.
33303 * stdio-common/getw.c: Likewise.
33304 * stdio-common/isoc99_fscanf.c: Likewise.
33305 * stdio-common/isoc99_scanf.c: Likewise.
33306 * stdio-common/isoc99_vfscanf.c: Likewise.
33307 * stdio-common/isoc99_vscanf.c: Likewise.
33308 * stdio-common/isoc99_vsscanf.c: Likewise.
33309 * stdio-common/printf-prs.c: Likewise.
33310 * stdio-common/printf_fp.c: Likewise.
33311 * stdio-common/printf_fphex.c: Likewise.
33312 * stdio-common/printf_size.c: Likewise.
33313 * stdio-common/putw.c: Likewise.
33314 * stdio-common/scanf.c: Likewise.
33315 * stdio-common/sprintf.c: Likewise.
33316 * stdio-common/tmpfile.c: Likewise.
33317 * stdio-common/vfprintf.c: Likewise.
33318 * stdio-common/vfscanf.c: Likewise.
33319 * stdlib/strfmon_l.c: Likewise.
33320 * sunrpc/openchild.c: Likewise.
33321 * sunrpc/xdr_stdio.c: Likewise.
33322 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33323 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33325 2012-05-24 Roland McGrath <roland@hack.frob.com>
33327 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33329 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33330 in the third column, to generate for the shared library an IFUNC
33331 that uses _dl_vdso_vsym.
33332 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33333 * Makeconfig (object-suffixes-noshared): New variable.
33335 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33336 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33337 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33338 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33341 * include/sys/time.h (__gettimeofday): Remove macro.
33342 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33343 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33345 (__gettimeofday): Add libc_hidden_def.
33346 (gettimeofday): Add libc_hidden_weak.
33347 * sysdeps/mach/gettimeofday.c: Likewise.
33348 * sysdeps/posix/gettimeofday.c: Likewise.
33349 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33350 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33351 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33352 (__gettimeofday_internal): Remove strong_alias.
33353 (__gettimeofday): Add libc_hidden_def.
33354 (gettimeofday): Add libc_hidden_weak.
33355 * sysdeps/unix/syscalls.list (gettimeofday):
33356 Remove __gettimeofday_internal alias.
33358 2012-05-24 Daniel Jacobowitz <drow@false.org>
33359 H.J. Lu <hongjiu.lu@intel.com>
33362 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33363 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33364 (largebin_index_32_big): New.
33365 (largebin_index): Use it for 16-byte alignment.
33366 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33367 correction with front_misalign.
33369 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33397 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33398 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33400 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33404 * math/libm-test.inc (exp_test): Add test from bug 14036.
33405 (pow_test): Add test from bug 10846.
33407 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33409 (special_function): Do not include flags in test name.
33410 (parse_args): Likewise.
33411 * sysdeps/i386/fpu/libm-test-ulps: Update.
33412 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33413 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33414 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33417 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33419 * math/libm-test.inc ("Philosophy"): Update comment about
33421 (UNDERFLOW_EXCEPTION): New macro.
33422 (UNDERFLOW_EXCEPTION_OK): Likewise.
33423 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33424 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33425 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33426 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33427 (INVALID_EXCEPTION_OK): Update value.
33428 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33429 (OVERFLOW_EXCEPTION_OK): Likewise.
33430 (IGNORE_ZERO_INF_SIGN): Likewise.
33431 (test_exceptions): Handle underflow exceptions.
33432 (acos_test): Update for underflow exception expectations.
33433 (cexp_test): Likewise.
33434 (clog_test): Likewise.
33435 (clog10_test): Likewise.
33436 (csqrt_test): Likewise.
33437 (ctan_test): Likewise.
33438 (ctanh_test): Likewise.
33439 (exp_test): Likewise.
33440 (exp10_test): Likewise.
33441 (exp2_test): Likewise.
33442 (expm1_test): Likewise.
33443 (fma_test): Likewise.
33444 (j0_test): Likewise.
33445 (jn_test): Likewise.
33446 (nexttoward_test): Likewise.
33447 (pow_test): Likewise.
33448 (scalbn_test): Likewise.
33449 (scalbln_test): Likewise.
33450 (tan_test): Likewise.
33451 (y1_test): Likewise.
33452 * sysdeps/i386/fpu/libm-test-ulps: Update.
33453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33455 2012-05-23 David S. Miller <davem@davemloft.net>
33457 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33458 (__libc_sigaction): Remove unused local variables.
33460 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33462 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33464 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33466 mktime: avoid signed integer overflow
33467 * time/mktime.c (__mktime_internal): Do not mishandle the case
33468 where diff == INT_MIN.
33470 mktime: simplify computation of average
33471 * time/mktime.c (ranged_convert): Use new time_t_avg function
33472 instead of rolling our own (probably-slower) code.
33474 mktime: do not assume signed right shift propagates sign bit
33475 * time/mktime.c (isdst_differ): New static function.
33476 (__mktime_internal): No need to normalize tm_isdst now.
33477 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33480 mktime: merge another wrapv change from gnulib
33481 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33482 from some compilers.
33484 mktime: remove incorrect attempt at unusual arithmetics
33485 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33486 The code didn't really work on such machines anyway.
33487 (TYPE_MINIMUM): Assume two's complement.
33488 (twos_complement_arithmetic): Verify that long_int and time_t
33489 are two's complement (or unsigned, in the latter case).
33491 mktime: check signed shifts on long_int and time_t, too
33492 * time/mktime.c (SHR): Check that shifts work as desired
33493 on the types long_int and time_t too, as SHR is used on
33496 mktime: do not assume 'long' is wide enough
33497 * time/mktime.c (verify): Move decl up.
33498 (long_int): New type.
33499 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33500 to remove assumption in the code that 'long' is wide enough to
33501 store year values. This assumption is not true on x32 and on
33502 some non-glibc platforms.
33504 mktime: merge wrapv change from gnulib
33505 * time/mktime.c (WRAPV): New macro.
33506 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33507 (guess_time_tm, __mktime_internal): Do not assume that signed
33508 integer overflow wraps around; modern compilers generate code
33509 where this assumption is no longer valid.
33511 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33513 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33514 Replace "jmp L(pseudo_end)" with "ret".
33515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33518 2012-05-23 Andreas Jaeger <aj@suse.de>
33520 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33521 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33523 2012-05-23 Andreas Jaeger <aj@suse.de>
33524 Maximilian Attems <max@stro.at>
33526 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33529 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33531 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33532 code so that pseudo_end is just ret and the stack pointer is
33533 correct also for static library in error case.
33535 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33537 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33538 move to syscalls.list.
33539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33544 * manual/install.texi (Running make install): Do not mention Linux
33545 kernel version for which pt_chown is not needed.
33546 (Linux): Do not mention problems with nscd with 2.0 kernels.
33547 * INSTALL: Regenerated.
33549 2012-05-23 Andreas Jaeger <aj@suse.de>
33551 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33552 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33554 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33555 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33556 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33558 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33560 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33562 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33564 * sysdeps/unix/sysv/linux/bits/in.h
33565 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33567 2012-05-22 Roland McGrath <roland@hack.frob.com>
33569 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33570 (PREPARE_VERSION): Just use assert instead, it will be elided
33571 under [NDEBUG] anyway.
33573 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33575 * sysdeps/unix/sysv/linux/Makefile: Include
33576 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33577 (sysdep_routines): Remove sysctl.
33578 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33579 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33580 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33581 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33582 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33584 2012-05-22 Andreas Jaeger <aj@suse.de>
33586 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33587 that pseudo_end is just ret and the stack pointer is correct also
33588 for static library in error case.
33590 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33593 * nss/nsswitch.c (defconfig_entries): New variable.
33594 (__nss_database_lookup): Don't leak defconfig entries.
33595 (nss_parse_service_list): Don't leak on error paths.
33596 (free_database_entries): New function.
33597 (free_defconfig): New function.
33598 (free_mem): Move common code to free_database_entries.
33600 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33602 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33604 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33606 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33607 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33610 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33611 (INTERNAL_SYSCALL_TYPES): Likewise.
33612 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33613 (LOAD_REGS_TYPES_[1-6]): Likewise.
33614 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33615 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33617 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33619 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33620 copysignl for GLIBC_2_0.
33621 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33622 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33624 logbl for GLIBC_2_0.
33625 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33626 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33628 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33631 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33633 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33636 * time/mktime.c: Update copyright years.
33638 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33640 mktime: merge comment-quoting-style change from gnulib
33641 * time/mktime.c: Quote 'like this' in comments.
33642 The GNU coding standards suggest that we no longer quote `like this',
33643 as "`" and "'" are typically rendered asymmetrically nowadays.
33644 The typical gnulib style is to quote 'like this' when quoting
33645 code, and "like this" when quoting English.
33647 * time/mktime.c (compile-command): Add "-I.".
33649 mktime: merge mktime-internal.h change from gnulib
33650 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33652 mktime: merge time_r change from gnulib
33653 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33655 mktime: merge DEBUG change from gnulib
33656 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33657 case system <time.h> has a #define.
33659 mktime: merge <sys/types.h> change from gnulib
33660 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33661 since <time.t> is now guaranteed to define time_t.
33663 mktime: merge HAVE_CONFIG_H change from gnulib
33664 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33666 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33671 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33673 (struct rusage): Use anonymous union to pad each field to
33676 2012-05-21 David S. Miller <davem@davemloft.net>
33678 * Makefules (o-iterator): Remove .s cases.
33679 (compile-command.s): Delete.
33680 (COMPILE.s): Delete.
33681 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33683 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33685 * configure.in (libc_cv_predef_stack_protector): Only consider
33686 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33687 * configure: Regenerated.
33689 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33692 New macro. Use R*LP on int and pointer.
33693 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33694 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33695 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33696 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33698 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33699 [__WORDSIZE_TIME64_COMPAT32] instead of
33700 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33701 (struct utmp): Likewise.
33702 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33703 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33705 (__WORDSIZE_TIME64_COMPAT32): This.
33706 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33707 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33708 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33709 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33710 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33711 (__WORDSIZE_TIME64_COMPAT32): New macro.
33713 2012-05-21 Andreas Jaeger <aj@suse.de>
33715 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33716 only if [SHARED]. Add prototype for __wcschr_ia32.
33718 2012-05-21 Roland McGrath <roland@hack.frob.com>
33720 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33721 of %rbp unmolested in the jmp_buf while mangling the low bits.
33722 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33723 unmolested high bits of %rbp while demangling the low bits.
33724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33726 2012-05-21 Andreas Jaeger <aj@suse.de>
33728 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33729 * sunrpc/svc_simple.c: Use it for registerrpc.
33730 * sunrpc/xcrypt.c: Use it for passwd2des.
33732 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33734 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33736 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33737 Don't define if [__SYSCALL_WORDSIZE != 32].
33738 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33741 2012-05-21 Bruno Haible <bruno@clisp.org>
33742 Andreas Jaeger <aj@suse.de>
33744 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33745 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33746 inptr and inend for must_buffer_ch.
33747 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33748 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33749 * stdio-common/Makefile (tests): Remove bug15.
33750 (bug15-ENV): Remove macro.
33751 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33754 2012-05-19 Andreas Jaeger <aj@suse.de>
33755 Roland McGrath <roland@hack.frob.com>
33757 * manual/contrib.texi: Completely rewritten. It contains now an
33758 alphabetical list of contributors and their contributions.
33760 2012-05-21 Richard Henderson <rth@twiddle.net>
33762 * misc/getauxval.c (__getauxval): Use unsigned long int.
33763 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33764 (getauxval): Use unsigned long int.
33766 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33768 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33770 2012-05-21 Roland McGrath <roland@hack.frob.com>
33772 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33773 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33774 __alignof__ (long double).
33776 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33780 2012-05-20 Richard Henderson <rth@twiddle.net>
33782 * misc/getauxval.c: New file.
33783 * misc/sys/auxv.h: New file.
33784 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33785 (routines): Add getauxval.
33786 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33787 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33788 * elf/dl-sysdep.c (_dl_auxv): Remove.
33789 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33790 * elf/dl-support.c (_dl_auxv): New variable.
33791 (_dl_aux_init): Initialize it.
33792 * manual/startup.texi (Auxiliary Vector): New node.
33793 * sysdeps/generic/bits/hwcap.h: New file.
33794 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33795 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33796 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33797 * sysdeps/sparc/sysdep.h: ... here. Include it.
33798 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33799 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33805 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33811 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33815 2012-05-19 David S. Miller <davem@davemloft.net>
33817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33819 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33822 * math/s_ccosh.c: Include <float.h>
33823 (__ccosh): Avoid internal overflow calculating sinh and cosh
33824 values before multiplying by sin and cos values.
33825 * math/s_ccoshf.c: Likewise.
33826 * math/s_ccoshl.c: Likewise.
33827 * math/s_csin.c: Likewise.
33828 * math/s_csinf.c: Likewise.
33829 * math/s_csinl.c: Likewise.
33830 * math/s_csinh.c: Likewise.
33831 * math/s_csinhf.c: Likewise.
33832 * math/s_csinhl.c: Likewise.
33833 * math/libm-test.inc (ccos_test): Add more tests.
33834 (ccosh_test): Likewise.
33835 (csin_test): Likewise.
33836 (csinh_test): Likewise.
33837 * sysdeps/i386/fpu/libm-test-ulps: Update.
33838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33840 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33842 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33843 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33845 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33847 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33849 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33850 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33851 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33852 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33853 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33854 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33855 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33856 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33857 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33858 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33859 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33860 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33861 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33862 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33863 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33864 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33865 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33866 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33867 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33868 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33869 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33870 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33871 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33872 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33873 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33874 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33875 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33876 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33877 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33878 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33879 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33881 2012-05-18 Andreas Jaeger <aj@suse.de>
33883 * csu/.gitignore: Delete.
33885 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33887 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33888 (timex): Use __syscall_slong_t.
33890 2012-05-18 Andreas Jaeger <aj@suse.de>
33891 Carlos O'Donell <carlos_odonell@mentor.com>
33893 * manual/install.texi (Configuring and compiling): Update
33894 description about files modified in the source directory.
33895 * INSTALL: Regenerated.
33897 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33899 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33900 value. Use "or" to set return value to -1.
33901 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33902 negate return value.
33904 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33906 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33907 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33908 failure if the compiler has Graphite support disabled.
33909 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33911 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33912 (CFLAGS-memmove.c): Likewise.
33913 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33916 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33918 * sysdeps/x86_64/x32/_itoa.h: New file.
33920 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33921 getdents system call only if kernel and user dirents have the
33922 same d_ino and d_off.
33924 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33925 LLONG_MAX != LONG_MAX.
33926 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33927 (_fitoa_word): Likewise.
33929 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33931 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33932 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33933 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33935 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33936 include <bits/wordsize.h>. Check __x86_64__ instead of
33938 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33939 if __x86_64__ is defined. Use anonymous union on fpstate.
33941 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33944 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33946 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33947 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33948 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33949 Refer to _rtld_local_ro instead of _rtld_global_ro.
33950 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33952 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33954 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33956 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33957 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33958 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33960 * sysdeps/powerpc/powerpc32/dl-machine.c
33961 (__elf_machine_runtime_setup) [PROF]: Don't reference
33964 2012-05-18 Andreas Jaeger <aj@suse.de>
33966 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33967 function only available for GCCs before 3.4 since GCC 3.4
33968 introduced a builtin.
33970 (llrintf): Likewise.
33971 (llrint): Likewise.
33978 (nearbyint): Likewise.
33979 (nearbyintf): Likewise.
33983 (floorf): Likewise.
33985 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33987 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33988 on both fields and cast pointer to __syscall_ulong_t.
33990 * bits/types.h (__fsword_t): New type.
33991 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33992 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33994 (__FSWORD_T_TYPE): Likewise.
33995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33996 (__FSWORD_T_TYPE): Likewise.
33997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33998 (__FSWORD_T_TYPE): Likewise.
33999 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34000 (__FSWORD_T_TYPE): Likewise.
34001 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34002 __SWORD_TYPE with __fsword_t.
34003 (statfs64): Likewise.
34005 2012-05-17 David S. Miller <davem@davemloft.net>
34007 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34009 2012-05-17 Andreas Jaeger <aj@suse.de>
34011 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34014 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34016 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34018 2012-05-17 Andreas Jaeger <aj@suse.de>
34020 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34023 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34025 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34027 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34029 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34030 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34032 2012-05-17 Andreas Jaeger <aj@suse.de>
34033 Carlos O'Donell <carlos_odonell@mentor.com>
34036 * sysdeps/x86_64/multiarch/init-arch.h
34037 (bit_YMM_Usable): Rename to...
34038 (bit_AVX_Usable): ... this.
34039 (bit_FMA4_Usable): New macro.
34040 (bit_XMM_state): New macro.
34041 (bit_YMM_state): New macro.
34042 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34043 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34044 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34045 (CPUID_OSXSAVE): New macro.
34046 (CPUID_AVX): New macro.
34047 (CPUID_FMA4): New macro.
34048 (index_YMM_Usable): Rename to...
34049 (index_AVX_Usable): ... this.
34050 (HAS_AVX): Use HAS_ARCH_FEATURE.
34051 (HAS_FMA4): Likewise.
34052 (HAS_YMM_USABLE): Remove.
34053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34054 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34056 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34057 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34058 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34059 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34060 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34062 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34064 * math/libm-test.c: Support platforms without multiple rounding modes.
34065 * math/bug-nextafter.c: Support platforms without FP exceptions.
34066 * math/bug-nexttoward.c: Likewise.
34067 * math/test-fenv.c: Likewise.
34068 * math/test-misc.c: Likewise.
34069 * stdlib/bug-getcontext.c: Likewise.
34071 2012-05-17 Andreas Jaeger <aj@suse.de>
34073 * manual/examples/search.c (critter_cmp): Change signature to
34075 * manual/string.texi (Collation Functions): Likewise.
34077 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34079 * bits/types.h: Fold copyright years.
34080 * bits/typesizes.h: Likewise.
34081 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34082 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34083 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34084 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34085 * time/time.h: Likewise.
34087 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34090 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34091 in instead of returning them. Return void.
34092 (__libc_mallinfo): Accumulate over all arenas.
34093 (__malloc_stats): Adjust for change in int_mallinfo interface.
34095 2012-05-16 Roland McGrath <roland@hack.frob.com>
34098 * configure.in (NM): Add AC_CHECK_TOOL for it.
34099 (libc_extra_cflags): New substituted variable.
34100 Check for -fstack-protector being used implicitly.
34101 * configure: Regenerated.
34102 * config.make.in (config-extra-cflags): New variable,
34103 gets @libc_extra_cflags@.
34104 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34107 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34108 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34109 * configure: Regenerated.
34110 * config.make.in (CPPUNDEFS): New substituted variable.
34111 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34112 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34113 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34115 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34117 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34118 (mq_attr): Use __syscall_slong_t.
34120 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34122 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34123 Check __x86_64__ instead of __WORDSIZE.
34124 (_STAT_VER_LINUX): Likewise.
34125 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34126 __syscall_ulong_t and __syscall_slong_t.
34127 (stat64): Likewise.
34129 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34131 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34133 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34135 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34137 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34139 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34142 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34143 include <bits/wordsize.h>. Check __x86_64__ instead of
34145 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34147 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34149 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34150 include <bits/wordsize.h>. Check __x86_64__ instead of
34152 (user_regs_struct): Use "__extension__ unsigned long long"
34153 instead of "unsigned long" if __x86_64__ is defined.
34154 (user): Likewise. Pad after pointer field if __ILP32__ is
34157 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34159 * configure.in (makeinfo): Require version 4.5 or later. Allow
34161 * configure: Regenerated.
34162 * manual/install.texi (texinfo): Increase version requirement to
34164 * INSTALL: Regenerated.
34166 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34168 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34170 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34172 * sysdeps/x86_64/x32/ffs.c: New file.
34174 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34176 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34177 defined. Use __syscall_ulong_t.
34178 (shminfo): Use __syscall_ulong_t.
34179 (shm_info): Likewise.
34181 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34184 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34186 (msgqnum_t): Use __syscall_ulong_t.
34187 (msglen_t): Likewise.
34188 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34191 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34192 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34194 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34196 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34197 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34199 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34202 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34203 include <bits/wordsize.h>. Check __x86_64__ instead of
34206 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34207 "unsigned long long int" if __x86_64__ is defined.
34208 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34210 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34211 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34212 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34214 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34216 (GET_PC): Cast to uintptr_t first.
34217 (GET_FRAME): Likewise.
34218 (GET_STACK): Likewise.
34220 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34221 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34222 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34223 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34224 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34225 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34226 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34227 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34228 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34229 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34230 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34231 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34232 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34233 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34234 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34235 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34236 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34237 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34238 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34239 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34240 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34241 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34242 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34243 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34244 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34245 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34246 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34247 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34248 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34250 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34252 * Makerules (+depfiles): Also collect depfiles from .oS in
34254 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34255 .oS, $(libnldbl-routines)).
34257 * Makerules (native-compile-mkdep-flags): Define.
34258 * sunrpc/Makefile (extra-objs): Add $(addprefix
34259 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34260 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34261 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34262 calling $(make-target-directory).
34264 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34266 * bits/types.h (__snseconds_t): Removed.
34267 * time/time.h (struct timespec): Replace __snseconds_t with
34269 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34270 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34273 (__SNSECONDS_T_TYPE): Likewise.
34274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34275 (__SNSECONDS_T_TYPE): Likewise.
34276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34277 (__SNSECONDS_T_TYPE): Likewise.
34279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34281 * sysdeps/mach/hurd/bits/typesizes.h
34282 (__SYSCALL_SLONG_TYPE): New macro.
34283 (__SYSCALL_ULONG_TYPE): Likewise.
34285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34287 * bits/types.h (__syscall_slong_t): New type.
34288 (__syscall_ulong_t): Likewise.
34290 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34291 (__SYSCALL_ULONG_TYPE): Likewise.
34292 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34293 (__SYSCALL_SLONG_TYPE): Likewise.
34294 (__SYSCALL_ULONG_TYPE): Likewise.
34295 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34296 (__SYSCALL_SLONG_TYPE): Likewise.
34297 (__SYSCALL_ULONG_TYPE): Likewise.
34298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34299 (__SYSCALL_SLONG_TYPE): Likewise.
34300 (__SYSCALL_ULONG_TYPE): Likewise.
34302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34304 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34305 Add sigaltstack-offsets.sym.
34306 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34307 <sigaltstack-offsets.h>.
34308 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34309 longjmp_msg pointer.
34310 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34311 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34313 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34315 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34317 * elf/stackguard-macros.h: Remove file.
34318 * sysdeps/generic/stackguard-macros.h: New file.
34319 * sysdeps/i386/stackguard-macros.h: Likewise.
34320 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34321 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34322 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34323 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34324 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34325 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34326 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34327 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34328 <elf/stackguard-macros.h>.
34331 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34332 __aligned__ in attribute.
34333 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34334 (gregset_t): Likewise.
34336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34338 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34339 * sysdeps/x86_64/64/Implies-after: Here. New file.
34340 * sysdeps/x86_64/x32/Implies-after: New file.
34342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34344 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34345 and access return value for _dl_profile_fixup. Use R10_LP to
34348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34350 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34354 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34355 * sysdeps/x86_64/x32/sysdep.h: New file.
34357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34359 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34360 * sysdeps/x86_64/setjmp.S: Likewise.
34362 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34364 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34365 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34366 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34367 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34368 remove unused global constant.
34370 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34372 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34373 include of <not-cancel.h>.
34375 2012-05-15 Roland McGrath <roland@hack.frob.com>
34377 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34379 2012-05-15 Jeff Law <law@redhat.com>
34380 Andreas Jaeger <aj@suse.de>
34383 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34385 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34386 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34387 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34388 code changing __hst_map_handle.map.
34390 2012-05-15 Roland McGrath <roland@hack.frob.com>
34392 * configure.in (sysnames): Look for Implies-before and Implies-after
34394 * configure: Regenerated.
34396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34398 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34399 8-byte data alignment with LP_SIZE alignment.
34401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34403 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34408 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34412 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34413 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34414 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34416 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34420 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34421 (stackinfo_sub_sp): Likewise.
34423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34425 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34430 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34435 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34440 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34444 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34445 into R11_LP and load __x86_64_shared_cache_size_half into
34448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34450 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34453 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34461 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34462 powerpc32/power7/fpu/s_logb.c via #include.
34463 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34464 powerpc32/power7/fpu/s_logbf.c via #include.
34465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34466 powerpc32/power7/fpu/s_logbl.c via #include.
34468 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34470 * README.libm: Remove file.
34472 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34474 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34475 count for x32. Use R*_LP and omit operand-size suffix.
34477 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34479 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34480 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34481 * sysdeps/x86_64/x32/shlib-versions: New file.
34483 2012-05-14 Roland McGrath <roland@hack.frob.com>
34485 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34486 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34487 Use _dl_fatal_printf instead.
34489 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34491 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34492 set if not set by the user. Do not allow for being unset.
34493 * sysdeps/unix/sysv/linux/configure: Regenerated.
34495 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34497 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34498 the `q' suffix from lea and replace .quad with ASM_ADDR.
34500 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34503 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34505 (PTR_DEMANGLE): Likewise.
34507 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34509 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34511 (ASM_ADDR): Likewise.
34512 (RAX_LP): Likewise.
34513 (RBP_LP): Likewise.
34514 (RBX_LP): Likewise.
34515 (RCX_LP): Likewise.
34516 (RDI_LP): Likewise.
34517 (RSI_LP): Likewise.
34518 (RSP_LP): Likewise.
34521 (R10_LP): Likewise.
34522 (R10_LP): Likewise.
34523 (R11_LP): Likewise.
34524 (R12_LP): Likewise.
34525 (R13_LP): Likewise.
34526 (R14_LP): Likewise.
34527 (R15_LP): Likewise.
34529 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34531 * sysdeps/x86_64/x32/dl-machine.h: New file.
34533 2012-05-14 Andreas Jaeger <aj@suse.de>
34535 * manual/Makefile (subdir): Remove export of subdir.
34536 (all): Remove target.
34537 (.PHONY): Remove all from list.
34538 (mkinstalldirs): Remove.
34539 (.PHONY): Remove installdirs from list.
34540 ($(inst_infodir)/libc.info): Use make-target-directory.
34541 (installdirs): Remove.
34542 (subdir_%): Remove.
34543 (glibc-targets): Remove.
34546 ($(objpfx)stubs ../po/manual.pot): Remove.
34547 ($(objpfx)stamp%): Remove.
34548 (make-target-directory): Remove.
34549 (subdir_install): Remove.
34550 (routines): Remove.
34557 * manual/.gitignore: Remove, it's not needed anymore.
34558 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34560 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34562 (texis): Renamed to $(objpfx)texis.
34563 (texis-path): New, contains path to generated files.
34564 (chapters.%): Use texis-path for complete path, add extra argument
34566 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34567 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34568 (summary,texi, stamp-summary): Use complete path of
34569 files. Generate files in build dir.
34570 (dir-add.texi): Build in build dir.
34571 (libm-err.texi,stamp-libm-err): Likewise.
34572 (version.texi, stamp-version): Likewise.
34573 (.%c.texi): Likewise.
34574 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34575 (mostlyclean): Remove target.
34576 (realclean): Remove target.
34577 (generated): Add new variable with contents from mostlyclean and
34578 realclean, remove entries duplicated in common-mostlyclean, add
34579 stamp-libm-err and stamp-version.
34580 (generated-dirs): Add libc directory.
34581 ($(inst_infodir)/libc.info): Install files from build dir.
34583 * manual/install.texi (Configuring and compiling): Adjust since
34584 the info files are not part of the tar ball anymore.
34586 2012-05-14 Andreas Jaeger <aj@suse.de>
34588 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34591 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34594 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34595 to 2.2.0 where earlier.
34596 * sysdeps/unix/sysv/linux/configure: Regenerated.
34597 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34598 Remove conditional code.
34599 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34600 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34601 Remove conditional code.
34602 [!__NR_lchown]: Likewise.
34603 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34604 [__NR_lchown]: Likewise.
34605 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34606 comment referencing __ASSUME_LCHOWN_SYSCALL.
34607 * sysdeps/unix/sysv/linux/i386/sigaction.c
34608 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34609 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34610 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34611 Remove conditional code.
34612 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34613 (__protocol_available): Remove #if 0 code.
34614 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34616 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34617 * sysdeps/unix/sysv/linux/kernel-features.h
34618 (__ASSUME_GETCWD_SYSCALL): Don't define.
34619 (__ASSUME_REALTIME_SIGNALS): Likewise.
34620 (__ASSUME_PREAD_SYSCALL): Likewise.
34621 (__ASSUME_PWRITE_SYSCALL): Likewise.
34622 (__ASSUME_POLL_SYSCALL): Likewise.
34623 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34624 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34626 (__ASSUME_SIOCGIFNAME): Don't define.
34627 (__ASSUME_MSG_NOSIGNAL): Likewise.
34628 (__ASSUME_SENDFILE): Define unconditionally.
34629 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34630 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34632 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34633 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34634 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34635 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34636 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34637 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34638 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34640 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34641 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34643 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34646 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34647 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34649 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34652 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34653 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34655 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34658 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34659 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34661 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34662 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34663 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34664 Remove conditional code.
34665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34666 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34667 Remove conditional code.
34668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34669 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34670 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34671 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34672 Remove conditional code.
34673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34674 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34675 Remove conditional code.
34676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34677 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34678 Remove conditional code.
34679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34680 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34681 Remove conditional code.
34682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34683 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34684 Remove conditional code.
34685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34686 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34687 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34689 * sysdeps/unix/sysv/linux/sigaction.c
34690 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34691 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34692 * sysdeps/unix/sysv/linux/sigpending.c
34693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34695 * sysdeps/unix/sysv/linux/sigprocmask.c
34696 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34697 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34698 * sysdeps/unix/sysv/linux/sigsuspend.c
34699 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34700 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34701 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34702 (__libc_missing_rt_sigs): Remove.
34703 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34704 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34705 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34706 Remove conditional code.
34707 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34708 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34710 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34711 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34712 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34713 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34715 2012-05-14 Andreas Jaeger <aj@suse.de>
34717 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34718 it's not used in glibc.
34719 (__coshm1): Likewise.
34720 (__acosh1p): Likewise.
34723 * manual/string.texi (Copying and Concatenation): Add missing
34724 variable in concat example.
34725 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34727 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34730 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34731 __builtin_clzl with __builtin_clzll.
34733 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34736 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34739 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34741 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34742 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34743 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34746 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34748 * NEWS: Update ia64 info.
34750 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34752 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34755 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34757 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34758 * sysdeps/unix/syscalls.list (dup3): Likewise.
34759 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34760 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34762 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34764 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34765 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34767 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34769 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34771 (TLS_IE): Use mov/add instead of movq/addq to load thread
34773 (TLS_GD_PREFIX): New.
34776 2012-05-11 David S. Miller <davem@davemloft.net>
34778 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34779 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34780 (_FPU_SETCW): Likewise.
34782 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34784 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34785 is 32-byte aligned.
34787 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34790 * iconvdata/gb18030.c: Update tables.
34791 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34792 characters specially.
34793 (BODY for TO_LOOP): Add encoding of missing ranges.
34795 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34798 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34799 * sysdeps/mach/hurd/dup3.c: Likewise.
34800 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34801 * sysdeps/powerpc/memmove.c:: Likewise.
34803 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34806 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34808 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34810 * elf/elf.h (R_X86_64_RELATIVE64): New.
34811 (R_X86_64_NUM): Updated.
34812 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34813 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34814 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34815 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34816 tst-quad1pie tst-quad2pie
34817 (modules-names): Add tst-quadmod1 tst-quadmod2.
34818 ($(objpfx)tst-quad1): New dependency.
34819 ($(objpfx)tst-quad2): Likewise.
34820 ($(objpfx)tst-quad1pie): Likewise.
34821 ($(objpfx)tst-quad2pie): Likewise.
34822 * sysdeps/x86_64/tst-quad1.c: New file.
34823 * sysdeps/x86_64/tst-quad1pie.c: New file.
34824 * sysdeps/x86_64/tst-quad2.c: Likewise.
34825 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34826 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34827 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34828 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34829 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34831 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34833 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34834 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34835 * streams/stropts.h (t_scalar_t): Define type.
34837 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34838 (_PATH_PRESERVE): Set to "/var/lib".
34839 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34841 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34844 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34845 if __dir_mkfile succeeded.
34847 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34848 checking for _hurd_dtablesize. Unlock it right after having
34849 finished _hurd_dtable allocation.
34851 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34853 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34854 * sysdeps/mach/hurd/configure: Regenerated.
34855 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34856 special-casing to...
34857 * sysdeps/gnu/configure.in: ... this new file.
34858 * sysdeps/unix/sysv/linux/configure: Regenerated.
34859 * sysdeps/gnu/configure: New generated file.
34861 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34862 for Linux: use nsec instead of usec, as well as:
34863 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34864 members of type struct timespec.
34865 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34867 (struct stat64): Likewise.
34868 (_STATBUF_ST_NSEC): New macro.
34869 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34871 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34872 __strtoul_internal rather than strtoul.
34874 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34876 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34879 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34881 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34882 which preserves existing values.
34883 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34885 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34887 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34888 TIMEOUT values. Return EINVAL for NFDS values either negative or
34889 greater than FD_SETSIZE.
34891 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34893 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34894 allocated, call __vm_protect to finish enabling the existing space, and
34895 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34896 allocate the remainder.
34898 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34900 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34901 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34905 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34906 sysdeps/mach/hurd/readlink.c.
34908 * posix/tst-sysconf.c (posix_options): Only use
34909 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34910 _POSIX_SYNCHRONIZED_IO when they are defined
34911 * sysdeps/mach/hurd/bits/posix_opt.h:
34912 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34913 (_XOPEN_REALTIME): Undefine macro.
34914 (_XOPEN_REALTIME_THREADS): Undefine macro.
34915 (_XOPEN_SHM): Undefine macro.
34916 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34918 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34920 (_POSIX_ASYNC_IO): Undefine macro.
34921 (_POSIX_PRIORITIZED_IO): Undefine macro.
34922 (_POSIX_SPIN_LOCKS): Define macro to -1.
34924 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34925 SA_NODEFER, SA_RESETHAND.
34926 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34927 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34932 * elf/Makefile (pldd-modules): Define unconditionally.
34934 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34936 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34938 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34940 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34941 Return ENOENT when name is empty.
34942 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34944 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34946 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34948 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34950 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34952 Fix mlock in all cases except non-readable pages.
34953 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34954 instead of VM_PROT_ALL as parameter to __vm_wire function.
34956 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34957 (__mkdir): When path is `/', just fail with EEXIST.
34958 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34960 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34962 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34963 <sys/uio.h> (for writev).
34964 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34965 and <sys/param.h> (for MIN).
34967 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34969 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34970 REQUESTED_TIME. Properly set the remaining time and return EINTR
34973 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34975 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34976 Depend on against $(link-rpcuserlibs).
34978 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34980 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34981 (__libc_stack_end): Do not use attribute_relro.
34982 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34983 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34984 to libthread-provided value.
34985 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34988 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34991 * bits/libc-lock.h (__libc_once_get): New macro.
34992 * sysdeps/mach/bits/libc-lock.h: Likewise.
34993 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34994 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34995 instead of using implementation details.
34997 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34998 * libio/freopen.c: Likewise.
34999 * libio/freopen64.c: Likewise.
35000 * misc/syslog.c: Likewise.
35001 * nscd/connections.c: Likewise.
35002 * nscd/netgroupcache.c: Likewise.
35003 * sysdeps/posix/getcwd.c: Likewise.
35005 2012-05-10 Roland McGrath <roland@hack.frob.com>
35007 * math/w_ilogbf.c: Add #include <limits.h>.
35009 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35011 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35012 path instead of returning without unlocking.
35014 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35015 immediate-write ioctls.
35016 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35018 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35020 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35021 __builtin_frame_address instead of making assumptions about the
35022 location of the return address relative to DATA. Force early load of
35023 the return address.
35024 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35025 __builtin_frame_address.
35028 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35029 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35030 implement dup3 and do some further code clean-ups.
35031 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35032 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35034 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35036 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35038 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35039 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35040 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35041 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35042 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35045 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35046 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35047 when handler == SIG_ERR, not when handler != SIG_ERR.
35049 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35051 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35052 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35055 accept4 for GNU Hurd.
35056 * include/sys/socket.h (__libc_accept4): New prototype.
35057 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35058 to implement __libc_accept4.
35059 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35061 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35063 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35064 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35065 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35066 signal-defines.sym.
35068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35070 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35072 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35074 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35075 assertion on O_CLOEXEC flag.
35076 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35077 * hurd/intern-fd.c: Likewise.
35078 * hurd/port2fd.c: Likewise.
35080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35083 * bits/in.h (IPV6_PKTINFO): Define new macro.
35084 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35086 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35091 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35092 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35093 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35094 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35095 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35096 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35097 * math/libm-test.inc (logb_test) : Additional logb tests.
35099 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35100 Andreas Jaeger <aj@suse.de>
35102 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35103 * configure: Regenerated.
35104 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35105 * config.make.in (link-obsolete-rpc): New substituted variable.
35106 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35107 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35108 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35109 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35110 so that libc.a contains the symbols.
35111 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35112 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35113 * sunrpc/auth_none.c: Likewise.
35114 * sunrpc/auth_unix.c: Likewise.
35115 * sunrpc/authdes_prot.c: Likewise.
35116 * sunrpc/authuxprot.c: Likewise.
35117 * sunrpc/clnt_gen.c: Likewise.
35118 * sunrpc/clnt_perr.c: Likewise.
35119 * sunrpc/clnt_raw.c: Likewise.
35120 * sunrpc/clnt_simp.c: Likewise.
35121 * sunrpc/clnt_tcp.c: Likewise.
35122 * sunrpc/clnt_udp.c: Likewise.
35123 * sunrpc/clnt_unix.c: Likewise.
35124 * sunrpc/des_crypt.c: Likewise.
35125 * sunrpc/des_soft.c: Likewise.
35126 * sunrpc/get_myaddr.c: Likewise.
35127 * sunrpc/key_call.c: Likewise.
35128 * sunrpc/key_prot.c: Likewise.
35129 * sunrpc/netname.c: Likewise.
35130 * sunrpc/pm_getmaps.c: Likewise.
35131 * sunrpc/pm_getport.c: Likewise.
35132 * sunrpc/pmap_clnt.c: Likewise.
35133 * sunrpc/pmap_prot.c: Likewise.
35134 * sunrpc/pmap_prot2.c: Likewise.
35135 * sunrpc/pmap_rmt.c: Likewise.
35136 * sunrpc/publickey.c: Likewise.
35137 * sunrpc/rpc_cmsg.c: Likewise.
35138 * sunrpc/rpc_common.c: Likewise.
35139 * sunrpc/rpc_dtable.c: Likewise.
35140 * sunrpc/rpc_prot.c: Likewise.
35141 * sunrpc/rpc_thread.c: Likewise.
35142 * sunrpc/rtime.c: Likewise.
35143 * sunrpc/svc.c: Likewise.
35144 * sunrpc/svc_auth.c: Likewise.
35145 * sunrpc/svc_raw.c: Likewise.
35146 * sunrpc/svc_run.c: Likewise.
35147 * sunrpc/svc_tcp.c: Likewise.
35148 * sunrpc/svc_udp.c: Likewise.
35149 * sunrpc/svc_unix.c: Likewise.
35150 * sunrpc/svcauth_des.c: Likewise.
35151 * sunrpc/xcrypt.c: Likewise.
35152 * sunrpc/xdr.c: Likewise.
35153 * sunrpc/xdr_array.c: Likewise.
35154 * sunrpc/xdr_float.c: Likewise.
35155 * sunrpc/xdr_intXX_t.c: Likewise.
35156 * sunrpc/xdr_mem.c: Likewise.
35157 * sunrpc/xdr_rec.c: Likewise.
35158 * sunrpc/xdr_ref.c: Likewise.
35159 * sunrpc/xdr_sizeof.c: Likewise.
35160 * sunrpc/xdr_stdio.c: Likewise.
35162 2012-05-10 Roland McGrath <roland@hack.frob.com>
35164 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35165 change. Update copyright years.
35167 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35169 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35171 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35172 Joseph Myers <joseph@codesourcery.com>
35173 Paul Pluzhnikov <ppluzhnikov@google.com>
35176 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35178 [cross-compiling] (extra-libs): Likewise.
35179 [cross-compiling] (extra-libs-others): Likewise.
35180 [cross-compiling] (librpcsvc-routines): Likewise.
35181 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35182 [cross-compiling] (omit-deps): Likewise.
35183 (sunrpc-CPPFLAGS): New variable.
35184 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35185 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35186 (cross-rpcgen-objs): New variable.
35187 (extra-objs): Append $(cross-rpcgen-objs).
35188 ($(cross-rpcgen-objs)): New rule.
35189 ($(objpfx)cross-rpcgen): Likewise.
35190 (rpcgen-cmd): Define to use $(built-program-file). Expand
35192 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35193 ($(objpfx)x%.stmp): Likewise.
35194 * sunrpc/proto.h [IS_IN_build] (_): Define.
35195 [IS_IN_build] (_libc_intl_domainname): Likewise.
35197 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35199 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35200 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35201 and R_X86_64_TPOFF64.
35203 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35205 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35206 sysdeps/unix/sysv/syscalls.list.
35209 * sysdeps/unix/sysv/syscalls.list: Remove file.
35211 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35214 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35215 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35216 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35217 (__LC_IDENTIFICATION): Make these macros useful in #if
35218 expressions, as required by C99.
35220 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35222 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35223 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35226 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35228 * stdlib/longlong.h: Updated from GCC.
35230 2012-05-09 Andreas Jaeger <aj@suse.de>
35232 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35233 default is first entry.
35234 (run_mode): Set type.
35235 (main): Remove informal message about syslog.
35236 (options): Fix typo.
35239 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35242 (llrintf): Likewise.
35243 (llrint): Likewise.
35246 (nearbyint): Likewise.
35247 (nearbyintf): Likewise.
35249 2012-05-09 Andreas Jaeger <aj@suse.de>
35250 Pedro Alves <palves@redhat.com>
35252 * nscd/nscd.c (run_mode): Use enum.
35253 (main): Cleanup coding style issue.
35255 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35256 Andreas Jaeger <aj@suse.de>
35258 * nscd/nscd.c (go_background): Replaced with...
35259 (run_mode): ... this.
35260 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35261 (options): Add -F --foreground.
35262 (main): Implement it.
35263 (parse_opt): Parse it.
35265 2012-05-09 Andreas Jaeger <aj@suse.de>
35268 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35269 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35270 -Wconversion warning.
35271 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35274 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35276 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35278 (LC_ALL): Use macro-int-constant.
35279 (LC_COLLATE): Likewise.
35280 (LC_CTYPE): Likewise.
35281 (LC_MESSAGES): Likewise.
35282 (LC_MONETARY): Likewise.
35283 (LC_NUMERIC): Likewise.
35284 (LC_TIME): Likewise.
35285 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35286 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35288 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35290 [C99-based standards] (float_t): Expect type.
35291 [C99-based standards] (double_t): Expect type.
35292 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35294 [C99-based standards] (HUGE_VALL): Likewise.
35295 [C99-based standards] (INFINITY): Likewise.
35296 [C99-based standards] (NAN): Likewise.
35297 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35298 [C99-based standards] (FP_NAN): Likewise.
35299 [C99-based standards] (FP_NORMAL): Likewise.
35300 [C99-based standards] (FP_SUBNORMAL): Likewise.
35301 [C99-based standards] (FP_ZERO): Likewise.
35302 [C99-based standards] (FP_FAST_FMA): Use
35303 optional-macro-int-constant. Specify type. Require == 1.
35304 [C99-based standards] (FP_FAST_FMAF): Likewise.
35305 [C99-based standards] (FP_FAST_FMAL): Likewise.
35306 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35307 [C99-based standards] (FP_ILOGBNAN): Likewise.
35308 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35310 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35311 [C99-based standards] (math_errhandling): Specify type.
35312 [ISO99 || ISO11] (signgam): Do not allow.
35313 [non-C99-based standards] (copysignf): Do not allow.
35314 [non-C99-based standards] (exp2f): Likewise.
35315 [non-C99-based standards] (log2f): Likewise.
35316 [non-C99-based standards] (modff): Allow.
35317 [non-C99-based standards] (erff): Do not allow.
35318 [non-C99-based standards] (erfcf): Likewise.
35319 [non-C99-based standards] (gammaf): Likewise.
35320 [non-C99-based standards] (hypotf): Likewise.
35321 [non-C99-based standards] (j0f): Likewise.
35322 [non-C99-based standards] (j1f): Likewise.
35323 [non-C99-based standards] (jnf): Likewise.
35324 [non-C99-based standards] (lgammaf): Likewise.
35325 [non-C99-based standards] (tgammaf): Likewise.
35326 [non-C99-based standards] (y0f): Likewise.
35327 [non-C99-based standards] (y1f): Likewise.
35328 [non-C99-based standards] (ynf): Likewise.
35329 [non-C99-based standards] (isnanf): Likewise.
35330 [non-C99-based standards] (acoshf): Likewise.
35331 [non-C99-based standards] (asinhf): Likewise.
35332 [non-C99-based standards] (atanhf): Likewise.
35333 [non-C99-based standards] (cbrtf): Likewise.
35334 [non-C99-based standards] (expm1f): Likewise.
35335 [non-C99-based standards] (ilogbf): Likewise.
35336 [non-C99-based standards] (log1pf): Likewise.
35337 [non-C99-based standards] (logbf): Likewise.
35338 [non-C99-based standards] (nextafterf): Likewise.
35339 [non-C99-based standards] (remainderf): Likewise.
35340 [non-C99-based standards] (rintf): Likewise.
35341 [non-C99-based standards] (scalbf): Likewise.
35342 [non-C99-based standards] (copysignl): Likewise.
35343 [non-C99-based standards] (exp2l): Likewise.
35344 [non-C99-based standards] (log2l): Likewise.
35345 [non-C99-based standards] (modfl): Allow.
35346 [non-C99-based standards] (erfl): Do not allow.
35347 [non-C99-based standards] (erfcl): Likewise.
35348 [non-C99-based standards] (gammal): Likewise.
35349 [non-C99-based standards] (hypotl): Likewise.
35350 [non-C99-based standards] (j0l): Likewise.
35351 [non-C99-based standards] (j1l): Likewise.
35352 [non-C99-based standards] (jnl): Likewise.
35353 [non-C99-based standards] (lgammal): Likewise.
35354 [non-C99-based standards] (tgammal): Likewise.
35355 [non-C99-based standards] (y0l): Likewise.
35356 [non-C99-based standards] (y1l): Likewise.
35357 [non-C99-based standards] (ynl): Likewise.
35358 [non-C99-based standards] (isnanl): Likewise.
35359 [non-C99-based standards] (acoshl): Likewise.
35360 [non-C99-based standards] (asinhl): Likewise.
35361 [non-C99-based standards] (atanhl): Likewise.
35362 [non-C99-based standards] (cbrtl): Likewise.
35363 [non-C99-based standards] (expm1l): Likewise.
35364 [non-C99-based standards] (ilogbl): Likewise.
35365 [non-C99-based standards] (log1pl): Likewise.
35366 [non-C99-based standards] (logbl): Likewise.
35367 [non-C99-based standards] (nextafterl): Likewise.
35368 [non-C99-based standards] (remainderl): Likewise.
35369 [non-C99-based standards] (rintl): Likewise.
35370 [non-C99-based standards] (scalbl): Likewise.
35371 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35372 [non-C99-based standards] (FP_*): Do not allow.
35373 [C99-based standards] (FP_*): Change to
35374 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35375 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35377 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35378 (SIG_ERR): Likewise.
35379 [X/Open-based standards] (SIG_HOLD): Likewise.
35380 (SIG_IGN): Likewise.
35381 (SIGABRT): Use macro-int-constant. Specify type. Require
35383 (SIGFPE): Likewise.
35384 (SIGILL): Likewise.
35385 (SIGINT): Likewise.
35386 (SIGSEGV): Likewise.
35387 (SIGTER): Likewise.
35388 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35389 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35390 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35391 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35392 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35393 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35394 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35395 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35396 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35397 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35398 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35399 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35400 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35401 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35402 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35403 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35404 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35405 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35406 [X/Open-based standards] (SIGTRAP): Likewise.
35407 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35408 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35409 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35410 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35411 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35414 2012-05-08 Ian Wienand <ianw@vmware.com>
35417 * time/tzset.c (__tzset_parse_tz): Update default rules for
35418 daylight time changes in the Energy Policy Act of 2005.
35420 2012-05-09 Andreas Jaeger <aj@suse.de>
35423 * elf/ldconfig.c (parse_conf): Change string to make clear that
35424 ldconfig only issued a warning if ld.so.conf does not exist.
35426 2012-05-08 David S. Miller <davem@davemloft.net>
35428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35429 movxtod instead of popping the value on the stack.
35431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35433 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35435 * config.h.in: Add HAVE_ARM_PCS_VFP.
35437 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35440 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35441 checking but the checks are disabled for any reason.
35443 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35445 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35446 and ELF64_R_TYPE with ELFW(R_TYPE).
35448 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35450 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35451 (ulimit): Likewise.
35453 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35454 (settimeofday): Likewise.
35456 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35458 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35459 a struct th_u2 inside the union, and move tu_block/tu_code into
35460 a new th_u3 union of tu_block/tu_code inside of that. Move
35461 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35462 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35463 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35464 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35465 (th_stuff): Change to th_u1.tu_stuff.
35467 (th_msg): Change to th_u1.th_u2.tu_data.
35469 2012-05-07 David S. Miller <davem@davemloft.net>
35471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35474 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35475 (SETUP_PIC_REG): Use it.
35476 (SETUP_PIC_REG_LEAF): Use it.
35478 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35482 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35484 (EXPL_FINITE): Likewise.
35485 (FLDLOG): Likewise.
35486 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35487 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35489 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35491 (EXPL_FINITE): Likewise.
35492 (FLDLOG): Likewise.
35493 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35494 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35496 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35497 test of -max_value argument for long double.
35498 * sysdeps/i386/fpu/libm-test-ulps: Update.
35499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35501 2012-05-06 David S. Miller <davem@davemloft.net>
35503 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35504 quad soft-float symbols whose references which are compiler
35506 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35508 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35512 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35514 (EXPL_FINITE): Likewise.
35515 (FLDLOG): Likewise.
35518 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35519 Adjust comments for base varying.
35520 (__expl_finite): Change alias to EXPL_FINITE.
35521 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35523 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35524 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35525 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35526 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35527 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35529 (EXPL_FINITE): Likewise.
35530 (FLDLOG): Likewise.
35533 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35534 Adjust comments for base varying.
35535 (__expl_finite): Change alias to EXPL_FINITE.
35536 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35541 * math/libm-test.inc (check_float_internal): Correct ulp
35542 calculation for subnormal expected results.
35544 2012-05-06 Andreas Jaeger <aj@suse.de>
35546 * Makeconfig (+math-flags): New, set to -frounding-math.
35547 (+cflags): Add +math-flags so that all of glibc gets compiled with
35550 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35552 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35554 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35560 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35561 (__ieee754_expl): Allow for and saturate large arguments.
35562 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35563 (u_threshold): Likewise.
35564 (__exp): Call __ieee754_exp before checking for overflow and
35566 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35567 (u_threshold): Likewise.
35568 (__expf): Call __ieee754_expf before checking for overflow and
35570 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35571 (u_threshold): Likewise.
35572 (__expl): Call __ieee754_expl before checking for overflow and
35574 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35575 (__ieee754_expl): Allow for and saturate large arguments.
35576 * math/libm-test.inc (exp_test): Add another test. Do not allow
35577 missing overflow exception on overflow.
35578 (expm1_test): Do not allow missing overflow exception on overflow.
35580 * sysdeps/i386/fpu/e_expl.c: Move to ...
35581 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35582 rather than using inline asm.
35583 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35584 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35585 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35587 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35590 (signal): Likewise.
35594 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35596 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35597 sysdeps/unix/common/syscalls.list.
35598 (fchmod): Likewise.
35599 (fchown): Likewise.
35600 (ftruncate): Likewise.
35601 (getrusage): Likewise.
35602 (gettimeofday): Likewise.
35603 (setpgid): Likewise.
35604 (setregid): Likewise.
35605 (setreuid): Likewise.
35606 (sigaction): Likewise.
35607 (truncate): Likewise.
35608 (vhangup): Likewise.
35609 * sysdeps/unix/common/syscalls.list: Remove file.
35610 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35611 * sysdeps/unix/sysv/linux/Implies: Likewise.
35613 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35615 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35617 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35621 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35624 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35627 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35630 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35633 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35636 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35639 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35643 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35647 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35650 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35654 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35658 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35660 * sysdeps/unix/common/bits/dirent.h: Remove file.
35661 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35663 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35664 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35665 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35666 * sysdeps/unix/bsd/isatty.c: Likewise.
35667 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35668 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35669 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35671 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35674 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35675 long double comparison inaccuracies.
35676 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35679 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35681 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35682 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35684 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35688 nonzero digits before rounding a hex value.
35689 * stdlib/tst-strtod.c (tests): Add another test.
35691 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35693 * sysdeps/s390/fpu/libm-test-ulps: Update.
35695 2012-05-03 Andreas Jaeger <aj@suse.de>
35697 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35698 does not get optimized out.
35699 (malloc_opt_barrier): New.
35701 2012-05-03 Andreas Jaeger <aj@suse.de>
35702 Roland McGrath <roland@hack.frob.com>
35704 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35705 intermediate file deletion.
35706 (generated): Add .symlist files.
35708 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35711 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35712 Redirect under this condition.
35713 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35714 [__USE_GNU] (__dprintf_chk): Not under this condition.
35715 [__USE_GNU] (__vdprintf_chk): Likewise.
35716 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35717 under this condition.
35718 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35719 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35720 [__USE_XOPEN2K8] (vdprintf): Likewise.
35721 [__USE_GNU] (__dprintf_chk): Not under this condition.
35722 [__USE_GNU] (__vdprintf_chk): Likewise.
35723 [__USE_GNU] (dprintf): Likewise.
35724 [__USE_GNU] (vdprintf): Likewise.
35726 2012-05-03 Roland McGrath <roland@hack.frob.com>
35728 * elf/Makefile (common-generated): Set this instead of generated for
35729 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35730 $(all-built-dso)-derived lists.
35732 2012-05-03 Andreas Jaeger <aj@suse.de>
35734 * sysdeps/i386/fpu/libm-test-ulps: Update.
35737 * FAQ.in: Likewise.
35738 * scripts/gen-FAQ.pl: Likewise.
35739 * manual/install.texi (Installation): Point to online location of
35741 * Makefile (files-for-dist): Remove FAQ.
35744 2012-05-02 Allan McRae <allan@archlinux.org>
35746 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35747 (LDFLAGS-reldepmod5.so): Likewise.
35748 (LDFLAGS-reldep6mod1.so): Likewise.
35749 (LDFLAGS-reldep6mod4.so): Likewise.
35750 (LDFLAGS-reldep8mod3.so): Likewise.
35751 (LDFLAGS-unload4mod1.so): Likewise.
35752 (LDFLAGS-unload4mod2.so): Likewise.
35753 (LDFLAGS-tst-initorder): Likewise.
35754 (LDFLAGS-tst-initordera2.so): Likewise.
35755 (LDFLAGS-tst-initordera3.so): Likewise.
35756 (LDFLAGS-tst-initordera4.so): Likewise.
35757 (LDFLAGS-tst-initorderb2.so): Likewise.
35758 (LDFLAGS-noload): Likewise.
35759 (LDFLAGS-next): Likewise.
35760 (LDFLAGS-order2mod1.so): Likewise.
35761 (LDFLAGS-order2mod2.so): Likewise.
35762 (LDFLAGS-tst-initorder2): Likewise.
35763 (LDFLAGS-tst-initorder2a.so): Likewise.
35764 (LDFLAGS-tst-initorder2b.so): Likewise.
35765 (LDFLAGS-tst-initorder2c.so): Likewise.
35766 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35768 2012-05-02 David S. Miller <davem@davemloft.net>
35770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35772 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35775 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35777 2012-05-02 Andreas Jaeger <aj@suse.de>
35779 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35780 since we manipulate rounding mode.
35781 (CPPFLAGS-test-idouble.c): Likewise.
35782 (CPPFLAGS-test-ifloat.c): Likewise.
35783 (CFLAGS-test-ldouble.c): Likewise.
35784 (CFLAGS-test-double.c): Likewise.
35785 (CFLAGS-test-float.c): Likewise.
35786 (CFLAGS-test-misc.c): Likewise.
35787 (CFLAGS-test-test-fenv.c): Likewise.
35789 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35793 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35794 comparisons to determine direction to adjust input.
35796 2012-05-01 Roland McGrath <roland@hack.frob.com>
35798 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35799 output to the target.
35801 * scripts/localplt.awk: New file.
35802 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35803 (check-localplt-CFLAGS): Variable removed.
35804 ($(all-built-dso:=.jmprel)): New static pattern rule.
35805 (generated): Add those targets.
35806 (localplt-built-dso): New variable.
35807 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35809 * elf/check-localplt.c: File removed.
35811 * scripts/check-execstack.awk: New file.
35812 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35813 (check-execstack-CFLAGS): Variable removed.
35814 ($(objpfx)check-execstack.h): Target removed.
35815 ($(objpfx)execstack-default): New target.
35816 (generated): Add that instead of check-execstack.h.
35817 ($(all-built-dso:=.phdr)): New static pattern rule.
35818 (generated): Add those targets.
35819 * elf/check-execstack.c: File removed.
35821 * scripts/check-textrel.awk: New file.
35822 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35823 (check-textrel-CFLAGS): Variable removed.
35824 (all-built-dso): Use := to define.o
35825 ($(all-built-dso:=.dyn)): New static pattern rule.
35826 (generated): Add those targets.
35827 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35828 * config.make.in (READELF): New substituted variable.
35829 * elf/check-textrel.c: File removed.
35831 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35833 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35835 * conform/data/ctype.h-data [C99-based standards] (isblank):
35837 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35838 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35839 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35840 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35841 Specify type. Require positive value.
35842 (EILSEQ): Likewise.
35843 (ERANGE): Likewise.
35844 [ISO || POSIX] (EILSEQ): Do not expect.
35845 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35846 Specify type. Require positive value.
35847 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35848 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35849 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35850 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35851 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35852 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35853 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35854 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35855 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35856 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35857 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35858 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35859 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35860 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35861 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35862 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35863 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35864 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35865 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35866 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35867 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35868 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35869 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35870 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35871 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35872 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35873 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35874 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35875 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35876 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35877 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35878 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35879 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35880 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35881 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35882 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35883 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35884 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35885 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35886 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35887 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35888 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35889 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35890 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35891 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35892 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35893 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35894 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35895 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35896 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35897 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35898 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35899 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35900 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35901 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35902 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35903 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35904 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35905 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35906 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35907 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35908 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35909 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35910 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35911 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35912 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35913 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35914 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35915 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35916 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35917 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35918 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35919 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35920 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35921 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35922 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35923 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35925 (FLT_ROUNDS): Expect as macro, not constant.
35926 (FLT_MANT_DIG): Use macro-int-constant.
35927 (DBL_MANT_DIG): Likewise.
35928 (LDBL_MANT_DIG): Likewise.
35929 (FLT_DIG): Likewise.
35930 (DBL_DIG): Likewise.
35931 (LDBL_DIG): Likewise.
35932 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35933 (DBL_MIN_EXP): Likewise.
35934 (LDBL_MIN_EXP): Likewise.
35935 (FLT_MAX_EXP): Use macro-int-constant.
35936 (DBL_MAX_EXP): Likewise.
35937 (LDBL_MAX_EXP): Likewise.
35938 (FLT_MAX_10_EXP): Likewise.
35939 (DBL_MAX_10_EXP): Likewise.
35940 (LDBL_MAX_10_EXP): Likewise.
35941 (FLT_MAX): Use macro-constant.
35942 (DBL_MAX): Likewise.
35943 (LDBL_MAX): Likewise.
35944 (FLT_EPSILON): Use macro-constant. Give upper bound.
35945 (DBL_EPSILON): Likewise.
35946 (LDBL_EPSILON): Likewise.
35947 (FLT_MIN): Likewise.
35948 (DBL_MIN): Likewise.
35949 (LDBL_MIN): Likewise.
35950 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35951 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35952 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35953 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35954 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35955 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35956 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35957 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35958 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35959 [ISO11] (FLT_TRUE_MIN): Likewise.
35960 [ISO11] (LDBL_TRUE_MIN): Likewise.
35961 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35962 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35963 (SCHAR_MIN): Use macro-int-constant. Specify type.
35964 (SCHAR_MAX): Likewise.
35965 (UCHAR_MAX): Likewise.
35966 (CHAR_MIN): Likewise.
35967 (CHAR_MAX): Likewise.
35968 (MB_LEN_MAX): Use macro-int-constant.
35969 (SHRT_MIN): Use macro-int-constant. Specify type.
35970 (SHRT_MAX): Likewise.
35971 (USHRT_MAX): Likewise.
35972 (INT_MAX): Likewise.
35973 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35975 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35977 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35979 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35980 bound negative. Suffix upper bound with "L".
35981 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35983 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35985 [C99-based standards] (LLONG_MAX): Likewise.
35986 [C99-based standards] (ULLONG_MAX): Likewise.
35987 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35989 [ISO11] (max_align_t): Require type.
35990 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35992 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35993 from $CFLAGS, without defining away __attribute__ calls.
35994 (checknamespace): Use $CFLAGS_namespace.
35996 * conform/conformtest.pl (@keywords): Only include C99 keywords
35997 for standards based on C99 or C11.
35999 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36001 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36004 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36005 usability of symbols in #if.
36007 * conform/conformtest.pl: If macro or constant types start
36008 "promoted:", expect the symbol to be of the following type
36009 promoted by the integer promotions.
36011 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36012 in one place. Also handle "macro-constant".
36014 * conform/conformtest.pl: Only accept expected macro values with
36015 "==". Parse all "macro" lines in one place.
36016 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36018 * conform/conformtest.pl: Handle braced types on "constant" lines
36019 instead of handling "typed-constant".
36020 * conform/data/signal.h-data: Use "constant" instead of
36023 * conform/conformtest.pl: Handle "optional-" at start of lines in
36024 one place rather than duplicating several cases. Handle each
36025 format of "macro" line with initial "optional-".
36027 * conform/conformtest.pl: Only accept expected constant or
36028 optional-constant values with "==". Parse all "constant" lines in
36029 one place. Parse all "optional-constant" lines in one place.
36030 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36031 * conform/data/fmtmsg.h-data: Likewise.
36032 * conform/data/netinet/in.h-data: Likewise.
36033 * conform/data/tar.h-data: Likewise.
36034 * conform/data/limits.h-data: Use "==" form on "constant" and
36035 "optional-constant" lines.
36037 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36038 Use -std=c99 for XOPEN2K.
36039 (@knownproblems): Remove.
36040 (newtoken): Don't check %isknown.
36042 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36043 Do not expect macro.
36044 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36045 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36046 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36047 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36048 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36049 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36050 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36051 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36052 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36053 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36054 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36055 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36056 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36057 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36058 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36059 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36060 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36061 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36062 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36063 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36064 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36065 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36066 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36067 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36068 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36069 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36070 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36071 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36072 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36073 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36074 [XPG3] (acosh): Likewise.
36075 [XPG3] (asinh): Likewise.
36076 [XPG3] (atanh): Likewise.
36077 [XPG3] (cbrt): Likewise.
36078 [XPG3] (expm1): Likewise.
36079 [XPG3] (ilogb): Likewise.
36080 [XPG3] (log1p): Likewise.
36081 [XPG3] (logb): Likewise.
36082 [XPG3] (nextafter): Likewise.
36083 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36084 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36085 [XPG3] (remainder): Likewise.
36086 [XPG3] (rint): Likewise.
36087 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36088 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36089 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36090 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36091 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36092 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36093 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36094 [UNIX98 || XOPEN2K] (scalb): Expect.
36095 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36096 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36097 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36098 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36099 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36100 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36101 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36102 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36103 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36104 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36105 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36106 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36107 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36108 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36109 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36110 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36111 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36112 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36113 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36114 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36115 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36116 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36117 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36118 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36119 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36120 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36121 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36122 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36123 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36124 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36125 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36126 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36127 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36128 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36129 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36130 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36131 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36132 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36133 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36134 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36135 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36136 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36137 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36138 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36139 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36140 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36141 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36142 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36143 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36144 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36145 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36146 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36147 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36148 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36149 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36150 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36151 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36152 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36153 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36154 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36155 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36156 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36157 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36158 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36159 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36160 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36161 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36162 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36163 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36164 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36165 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36166 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36167 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36168 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36169 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36170 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36171 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36172 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36173 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36174 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36175 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36176 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36177 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36178 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36179 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36180 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36181 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36182 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36183 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36184 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36185 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36186 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36187 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36188 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36189 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36190 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36191 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36192 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36193 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36194 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36195 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36196 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36197 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36198 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36199 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36200 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36201 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36202 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36203 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36204 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36205 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36206 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36207 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36208 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36209 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36210 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36211 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36212 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36213 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36214 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36215 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36216 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36217 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36218 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36219 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36220 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36221 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36222 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36223 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36224 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36225 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36226 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36227 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36228 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36229 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36230 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36231 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36233 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36234 _XOPEN_SOURCE_EXTENDED for XPG4.
36236 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36238 * Makeconfig (localtime): Remove variable.
36239 (inst_localtime-file): Likewise.
36241 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36262 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36266 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36267 comparisons to determine direction to adjust input.
36268 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36269 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36270 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36272 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36274 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36276 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36277 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36279 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36281 * math/libm-test.inc (nexttoward_test): Add more tests.
36283 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36287 in version GLIBC_2.1, not GLIBC_2.0.
36288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36291 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36294 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36296 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36297 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36298 * math/libm-test.inc (acos_test): Add more tests.
36299 (asin_test): Likewise.
36300 * sysdeps/i386/fpu/libm-test-ulps: Update.
36301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36304 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36306 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36307 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36308 * math/libm-test.inc (acos_test_tonearest): New function.
36309 (acos_test_towardzero): Likewise.
36310 (acos_test_downward): Likewise.
36311 (acos_test_upward): Likewise.
36312 (asin_test_tonearest): Likewise.
36313 (asin_test_towardzero): Likewise.
36314 (asin_test_downward): Likewise.
36315 (asin_test_upward): Likewise.
36316 (main): Call the new functions.
36317 * sysdeps/i386/fpu/libm-test-ulps: Update.
36318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36322 * math/e_exp10.c: Include <float.h>.
36323 (__ieee754_exp10): Handle underflow here rather than multiplying
36324 large negative argument by M_LN10.
36325 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36327 * math/e_exp10l.c: Include <float.h>.
36328 (__ieee754_exp10l): Handle underflow here rather than multiplying
36329 large negative argument by M_LN10l.
36330 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36331 spurious overflow exception on underflow.
36333 2012-04-29 Marek Polacek <polacek@redhat.com>
36335 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36336 (__fortify_function): New macro.
36337 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36338 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36339 __extern_always_inline.
36340 * libio/bits/stdio2.h: Likewise.
36341 * libio/bits/stdio.h: Likewise.
36342 * string/string.h: Likewise.
36343 * string/bits/string3.h: Likewise.
36344 * include/stdio.h: Likewise.
36345 * stdlib/bits/stdlib.h: Likewise.
36346 * stdlib/stdlib.h: Likewise.
36347 * rt/bits/mqueue2.h: Likewise.
36348 * rt/mqueue.h: Likewise.
36349 * posix/bits/unistd.h: Likewise.
36350 * posix/unistd.h: Likewise.
36351 * io/bits/poll2.h: Likewise.
36352 * io/bits/fcntl2.h: Likewise.
36353 * io/fcntl.h: Likewise.
36354 * io/sys/poll.h: Likewise.
36355 * misc/bits/syslog.h: Likewise.
36356 * misc/bits/syslog-ldbl.h: Likewise.
36357 * misc/sys/syslog.h: Likewise.
36358 * socket/bits/socket2.h: Likewise.
36359 * socket/sys/socket.h: Likewise.
36360 * debug/tst-chk1.c: Likewise.
36361 * wcsmbs/bits/wchar2.h: Likewise.
36362 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36363 * wcsmbs/wchar.h: Likewise.
36365 2012-04-29 Andreas Jaeger <aj@suse.de>
36367 * Makerules (tests): Remove enable-check-abi protection.
36368 (check-abi-warn): Remove.
36369 (check-abi-%): Remove check-abi-warn usage.
36371 * configure.in: Remove check-abi configure option.
36372 * configure: Regenerated.
36373 * config.make.in (enable-check-abi): Remove.
36375 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36378 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36379 double functions to double *_finite functions.
36382 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36383 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36385 * stdio-common/Makefile (tests): Add tst-sprintf3.
36386 * stdio-common/tst-sprintf3.c: New file.
36388 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36389 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36391 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36393 * conform/conformtest.pl: Remove duplicate typed-constant
36396 2012-04-28 David S. Miller <davem@davemloft.net>
36398 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36399 (check-abi-%): Remove AWK script prerequisite and explicit
36401 (check-abi): Rewrite to just diff the symlist with the abilist.
36402 (config-tls, config-abi-config): Delete, no longer used.
36403 (update-abi-%): Remove AWK script and explicit abilist directory.
36404 (update-abi): Rewrite to simply compare and conditionally copy the
36405 symlist and the sysdep abilist file. Remove update-abi-config
36407 * abilist/ld.abilist: Remove.
36408 * abilist/libBrokenLocale.abilist: Remove.
36409 * abilist/libanl.abilist: Remove.
36410 * abilist/libcrypt.abilist: Remove.
36411 * abilist/libdl.abilist: Remove.
36412 * abilist/librt.abilist: Remove.
36413 * abilist/libthread_db.abilist: Remove.
36414 * abilist/libutil.abilist: Remove.
36415 * scripts/extract-abilist.awk: Remove.
36416 * scripts/merge-abilist.awk: Remove.
36417 * sysdeps/generic/libcidn.abilist: New file.
36418 * sysdeps/generic/libnss_compat.abilist: New file.
36419 * sysdeps/generic/libnss_db.abilist: New file.
36420 * sysdeps/generic/libnss_dns.abilist: New file.
36421 * sysdeps/generic/libnss_files.abilist: New file.
36422 * sysdeps/generic/libnss_hesiod.abilist: New file.
36423 * sysdeps/generic/libnss_nis.abilist: New file.
36424 * sysdeps/generic/libnss_nisplus.abilist: New file.
36425 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36426 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36427 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36429 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36430 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36431 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36432 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36433 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36434 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36435 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36436 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36437 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36439 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36440 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36441 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36442 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36444 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36445 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36446 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36447 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36448 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36449 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36451 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36452 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36453 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36455 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36558 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36559 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36560 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36562 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36563 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36564 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36565 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36566 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36567 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36568 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36569 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36570 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36571 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36623 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36625 * conform/conformtest.pl: Fix typo in handling typed-constant from
36628 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36630 * README: Cut down references to pre-2.6 Linux kernels and
36631 Linuxthreads. Update lists of configurations in libc and ports
36632 and sort alphabetically. Say "or newer" with Linux kernel version
36635 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36637 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36640 * math/libm-test.inc (logb_test_downward): New test to expose
36641 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36644 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36647 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36649 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36650 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36652 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36654 * sysdeps/unix/i386/brk.S: Remove file.
36655 * sysdeps/unix/i386/dl-brk.S: Likewise.
36656 * sysdeps/unix/i386/pipe.S: Likewise.
36657 * sysdeps/unix/i386/sigreturn.S: Likewise.
36658 * sysdeps/unix/i386/syscall.S: Likewise.
36659 * sysdeps/unix/i386/vfork.S: Likewise.
36660 * sysdeps/unix/i386/wait.S: Likewise.
36662 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36663 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36665 * configure.in (arm*-none*): Do not allow without
36666 --enable-hacker-mode.
36667 (netbsd*): Remove case setting base_os.
36668 (386bsd*): Likewise.
36669 (freebsd*): Likewise.
36672 (sunos*): Likewise.
36673 (ultrix*): Likewise.
36674 (newsos*): Likewise.
36675 (dynix*): Likewise.
36681 (minix*): Likewise.
36682 (irix4*): Likewise.
36683 (irix6*): Likewise.
36684 (solaris[2-9]*): Likewise.
36686 * configure: Regenerated.
36688 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36691 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36692 overflow or cancellation in calculating denominator.
36693 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36694 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36695 down expression to avoid unexpected rounding in newer GCCs.
36696 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36698 2012-04-26 David S. Miller <davem@davemloft.net>
36700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36701 long-double compat symbols.
36702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36716 2012-04-25 David S. Miller <davem@davemloft.net>
36718 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36719 HWCAP_* values only after the memory barriers have been defined.
36720 (atomic_full_barrier): Define.
36721 (atomic_read_barrier): Define.
36722 (atomic_write_barrier): Define.
36724 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36726 * shlib-versions: Add libgcc_s version information.
36727 * sysdeps/generic/libgcc_s.h: Remove.
36728 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36730 * sysdeps/gnu/unwind-resume.c: Likewise.
36731 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36733 2012-04-25 David S. Miller <davem@davemloft.net>
36735 * sysdeps/unix/sparc/brk.S: Delete.
36736 * sysdeps/unix/sparc/dl-brk.S: Delete.
36737 * sysdeps/unix/sparc/pipe.S: Delete.
36738 * sysdeps/unix/sparc/sysdep.S: Delete.
36739 * sysdeps/unix/sparc/sysdep.h: Delete.
36740 * sysdeps/unix/sparc/vfork.S: Delete.
36741 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36742 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36743 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36744 (ret_ERRVAL, r0, r1, MOVE): Define.
36745 (JUMPTARGET): Remove.
36746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36747 sysdeps/unix/sparc/sysdep.h
36748 (ENTRY, END): Remove.
36749 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36751 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36753 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36754 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36757 * timezone/README: Update upstream location and email address for
36759 * timezone/zdump.c: Update from tzcode 2012b.
36760 * timezone/zic.c: Likewise.
36762 * configure.in (libc_cv_as_needed): Remove test.
36763 * configure: Regenerated.
36764 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36765 conditional definition.
36766 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36767 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36768 * config.make.in (have-as-needed): Remove variable.
36770 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36771 Paul Pluzhnikov <ppluzhnikov@google.com>
36773 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36776 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36778 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36779 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36780 * sysdeps/sh/strlen.S: Likewise.
36782 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36784 * sysdeps/unix/fork.S: Remove file.
36785 * sysdeps/unix/i386/fork.S: Likewise.
36786 * sysdeps/unix/sparc/fork.S: Likewise.
36788 * sysdeps/unix/system.c: Remove file.
36789 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36791 * sysdeps/unix/getegid.S: Remove file.
36792 * sysdeps/unix/geteuid.S: Likewise.
36794 2012-04-24 Roland McGrath <roland@hack.frob.com>
36796 * scripts/check-localplt.awk: New file.
36797 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36799 * scripts/data/localplt-generic.data: Add a comment.
36801 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36802 NODE when __dir_mkfile failed.
36803 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36804 Reported by Ludovic Courtès <ludo@gnu.org>.
36806 2012-04-24 Andreas Jaeger <aj@suse.de>
36808 * Makerules (common-clean): Also remove gen-as-const-headers
36811 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36813 * Makerules (native-compile): Do not change working directory for
36814 build. Use $(OUTPUT_OPTION) in command.
36815 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36817 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36820 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36821 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36822 * math/libm-test.inc (floor_test): Add more tests.
36823 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36825 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36827 * sysdeps/unix/getdents.c: Remove file.
36828 * sysdeps/unix/sysv/getdents.c: Likewise.
36829 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36831 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36832 sysdeps/unix/mman/syscalls.list.
36834 (mprotect): Likewise.
36836 (munmap): Likewise.
36837 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36838 * sysdeps/unix/mman/syscalls.list: Remove.
36839 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36841 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36842 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36843 * configure: Regenerated.
36844 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36845 $(libgcc_s_suffix).
36846 * config.make.in (libgcc_s_suffix): Remove variable.
36848 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36850 * sysdeps/unix/sysv/gethostname.c: Move to ...
36851 * sysdeps/posix/gethostname.c: ... here.
36853 * sysdeps/unix/execve.S: Remove file.
36855 * sysdeps/unix/_exit.S: Remove file.
36857 2012-04-23 Andreas Jaeger <aj@suse.de>
36860 * manual/Makefile: Remove make dist support, there's no
36861 need for a stand-alone documentation tar ball.
36862 (TEXI2DVI): Define always, it's not in Makeconfig.
36865 (edition): Removed.
36866 (glibc-doc-$(edition).tar): Removed
36870 (ETAGS): Remove, it's in Makeconfig.
36871 (move-if-change): Remove, it's in Makeconfig.
36873 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36876 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36877 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36878 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36879 (strtod_l, strtof_l, strtold_l): Remove __wur.
36880 It is not necessarily an error to ignore strtol's return value.
36881 One can reliably look at the stored endptr to decide whether
36882 the number had valid syntax.
36884 2012-04-21 Andreas Jaeger <aj@suse.de>
36887 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36889 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36891 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36892 * sysdeps/unix/sysv/Versions: Remove file.
36894 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36899 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36902 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36903 version from __vm86.
36905 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36907 * sysdeps/unix/common/lxstat.c: Remove file.
36908 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36910 * sysdeps/unix/sysv/Makefile: Remove file.
36912 * sysdeps/unix/sysv/direct.h: Remove file.
36914 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36915 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36916 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36917 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36918 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36919 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36920 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36922 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36924 * sysdeps/unix/xmknod.c: Remove file.
36925 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36927 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36929 * sysdeps/unix/sysv/i386/time.S: Remove file.
36931 * sysdeps/unix/fxstat.c: Remove file.
36932 * sysdeps/unix/xstat.c: Likewise.
36933 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36935 * sysdeps/unix/sysv/sigaction.c: Remove file.
36937 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36938 (sysdep_headers): Remove variable.
36939 [termio.h not in sysdep_headers] (generated): Likewise.
36940 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36941 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36942 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36943 * sysdeps/unix/sysv/tcflow.c: Likewise.
36944 * sysdeps/unix/sysv/tcflush.c: Likewise.
36945 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36946 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36947 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36948 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36949 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36951 * sysdeps/unix/siglist.c: Remove file.
36953 * sysdeps/unix/getppid.S: Remove file.
36955 * sysdeps/unix/mkdir.c: Remove file.
36956 * sysdeps/unix/rmdir.c: Likewise.
36958 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36960 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36962 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36963 errlist-compat value.
36965 2012-04-18 David S. Miller <davem@davemloft.net>
36967 * sysdeps/generic/memcopy.h (reg_char): Delete.
36968 * debug/strcat_chk.c: Use char, not reg_char.
36969 * debug/strcpy_chk.c: Likewise.
36970 * debug/strncat_chk.c: Likewise.
36971 * debug/strncpy_chk.c: Likewise.
36972 * string/memchr.c: Likewise.
36973 * string/memrchr.c: Likewise.
36974 * string/rawmemchr.c: Likewise.
36975 * string/strcat.c: Likewise.
36976 * string/strchr.c: Likewise.
36977 * string/strchrnul.c: Likewise.
36978 * string/strcmp.c: Likewise.
36979 * string/strcpy.c: Likewise.
36980 * string/strncat.c: Likewise.
36981 * string/strncmp.c: Likewise.
36982 * string/strncpy.c: Likewise.
36984 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36986 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36987 __builtin_memcopy is called when src and dest ranges are known to not
36990 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36992 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36993 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36994 fwd_align_merge macro call.
36995 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36996 bwd_align_merge macro call.
36997 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36999 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37001 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37002 bwd_align_merge macros.
37003 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37004 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37005 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37007 2012-04-18 David S. Miller <davem@davemloft.net>
37009 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37011 2012-04-18 Andreas Jaeger <aj@suse.de>
37014 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37015 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37016 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37018 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37019 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37020 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37022 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37023 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37024 Adjust for changed ldbl-128 files.
37026 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37027 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37028 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37030 2012-04-17 David S. Miller <davem@davemloft.net>
37032 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37034 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37036 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37037 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37038 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37039 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37040 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37041 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37043 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37046 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37047 * math/libm-test.inc: Add ilogb errno and exception tests.
37048 * math/w_ilogb.c: New file: ilogb wrapper.
37049 * math/w_ilogbf.c: New file: ilogbf wrapper.
37050 * math/w_ilogbl.c: New file: ilogbl wrapper.
37051 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37052 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37053 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37054 exception being thrown with 0.0 as argument.
37055 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37056 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37057 exception being thrown with 0.0 as argument.
37058 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37059 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37060 exception being thrown with 0.0 as argument.
37061 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37062 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37063 exception being thrown with 0.0 as argument.
37064 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37065 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37066 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37067 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37068 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37069 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37070 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37071 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37072 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37074 2012-04-17 Petr Baudis <pasky@ucw.cz>
37076 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37079 2012-04-16 Marek Polacek <polacek@redhat.com>
37081 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37083 2012-04-16 Marek Polacek <polacek@redhat.com>
37085 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37086 operands of fdivp instruction.
37088 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37090 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37091 * elf/tst-auditmod3b.c: Likewise.
37092 * elf/tst-auditmod4b.c: Likewise.
37093 * elf/tst-auditmod5b.c: Likewise.
37094 * elf/tst-auditmod6b.c: Likewise.
37095 * elf/tst-auditmod6c.c: Likewise.
37096 * elf/tst-auditmod7b.c: Likewise.
37097 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37098 * sysdeps/x86_64/preconfigure.in: Likewise.
37099 * sysdeps/x86_64/preconfigure: Regenerated.
37101 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37103 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37106 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37109 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37111 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37114 * locale/iso-639.def: Fix gl language name. Spotted by
37117 2012-04-12 Roland McGrath <roland@hack.frob.com>
37120 * libio/libio.h (__io_write_fn): Update comment.
37122 2012-04-12 Petr Baudis <pasky@ucw.cz>
37125 * stdio.texi (Hook Functions): The user provided writer function
37126 is not allowed to return -1.
37128 2012-04-11 David S. Miller <davem@davemloft.net>
37130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37132 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37134 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37135 Add a leading slash to rtkaio.
37137 2012-04-11 Jim Meyering <meyering@redhat.com>
37140 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37141 It is not necessarily an error to ignore fwrite's return
37142 value. One can reliably use ferror to test for errors after
37145 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37147 * bits/types.h (__snseconds_t): New type.
37148 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37150 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37151 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37152 (__SNSECONDS_T_TYPE): Likewise.
37153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37154 (__SNSECONDS_T_TYPE): Likewise.
37155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37156 (__SNSECONDS_T_TYPE): Likewise.
37158 2012-04-10 Andreas Jaeger <aj@suse.de>
37161 * manual/time.texi (Processor Time): Return type of times is
37162 elapsed real time since an arbitrary point in the past.
37163 (CPU Time): Move CLK_TCK from here...
37164 (Processor Time): ...to here. Correct description.
37165 * manual/conf.texi (Constants for Sysconf): Correct description of
37168 2012-04-10 David S. Miller <davem@davemloft.net>
37171 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37172 where the is a gap between DT_REL(A) and DT_JMPREL.
37174 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37176 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37177 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37178 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37180 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37182 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37183 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37184 (dl_main): Handle --inhibit-cache.
37185 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37187 * elf/dl-load.c (_dl_map_object): Use it.
37188 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37190 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37193 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37194 (__ieee754_powl): Saturate large exponents rather than testing for
37195 overflow of y*log2(x).
37196 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37197 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37201 * math/s_ctan.c: Include <float.h>.
37202 (__ctan): Avoid internal overflow or cancellation in calculating
37204 * math/s_ctanf.c: Likewise.
37205 * math/s_ctanl.c: Likewise.
37206 * math/s_ctanh.c: Likewise.
37207 * math/s_ctanhf.c: Likewise.
37208 * math/s_ctanhl.c: Likewise.
37209 * math/libm-test.inc (ctan_test): Add more tests.
37210 (ctanh_test): Likewise.
37211 * sysdeps/i386/fpu/libm-test-ulps: Update.
37212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37214 2012-04-09 Andreas Jaeger <aj@suse.de>
37217 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37218 is an optional BSD extension.
37221 * manual/stdio.texi (Opening Streams): Document additional fopen
37224 2012-04-09 Roland McGrath <roland@hack.frob.com>
37226 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37227 %eax without telling the compiler.
37229 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37232 * manual/install.texi: Use sourceware.org.
37234 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37237 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37238 (__ieee754_pow): Generate overflow and underflow using huge*huge
37239 and tiny*tiny rather than just returning constant infinity or zero
37240 for large exponents.
37241 * math/libm-test.inc (pow_test): Require overflow exceptions for
37242 applicable cases of large exponents.
37245 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37246 (__ieee754_pow): Use iterative multiplication algorithm only for
37247 integer exponents with absolute value below 1024. Check for odd
37248 integer exponents when using algorithm for real exponents.
37249 * math/libm-test.inc (pow_test): Add more tests.
37250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37252 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37255 * math/libm-test.inc (exp_test): Do not allow overflow exception
37258 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37261 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37262 instead of __kernel_standard_f.
37264 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37266 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37267 * sysdeps/x86_64/memset_chk.S: Likewise.
37269 2012-04-08 Andreas Jaeger <aj@suse.de>
37272 * manual/startup.texi (Environment Access): Describe return value
37273 for putenv and setenv.
37276 * manual/filesys.texi (Directory Entries): Add description for
37280 * manual/filesys.texi (Directory Entries): Clarify that it's file
37281 system not operating system in the description of DT_UNKNOWN.
37284 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37286 2012-04-08 Stephen Compall <s11@member.fsf.org>
37289 * manual/llio.texi (Opening and Closing Files): Add cross
37290 reference to explain mode argument.
37292 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37294 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37295 * sysdeps/x86_64/memset_chk.S: Likewise.
37297 2012-04-07 David S. Miller <davem@davemloft.net>
37299 * elf/elf.h (R_SPARC_WDISP10): Define.
37300 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37302 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37303 R_SPARC_SIZE64 and R_SPARC_H34.
37305 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37307 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37308 conditions and remove no longer applicable assertion.
37310 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37312 * bits/byteswap.h: Include <features.h>.
37313 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37314 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37316 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37318 * bits/byteswap.h (__bswap_16): Removed.
37319 Include <bits/byteswap-16.h> to get __bswap_16.
37320 * sysdeps/i386/bits/byteswap.h: Likewise.
37321 * sysdeps/s390/bits/byteswap.h: Likewise.
37322 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37323 * bits/byteswap-16.h: New file.
37324 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37325 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37326 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37327 * string/Makefile (headers): Add bits/byteswap-16.h.
37329 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37332 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37334 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37335 * nss/tst-nss-static.c: New.
37337 2012-04-06 Robert Millan <rmh@gnu.org>
37340 * manual/llio.texi (File Position Primitive): lseek
37341 refers to WHENCE when it really means OFFSET.
37343 2012-04-06 Andreas Jaeger <aj@suse.de>
37345 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37346 strncmp declarations.
37348 * abilist/libc.abilist: Add __poll and __ppoll.
37350 2012-04-05 David S. Miller <davem@davemloft.net>
37352 * scripts/check-local-headers.sh: Accept a host triplet in the
37353 path matched by the exclude regexp.
37355 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37357 * sysdeps/powerpc/powerpc32/dl-machine.h
37358 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37359 * sysdeps/s390/s390-32/dl-machine.h
37360 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37361 * sysdeps/sparc/sparc32/dl-machine.h
37362 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37363 * sysdeps/sparc/sparc64/dl-machine.h
37364 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37366 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37368 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37369 undefined symbol errors.
37371 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37374 2012-04-05 Michael Matz <matz@suse.de>
37377 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37379 2012-04-05 Andreas Jaeger <aj@suse.de>
37382 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37385 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37387 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37388 which ROUND is no valid rounding mode.
37390 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37392 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37394 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37396 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37398 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37399 an exception using FPU order intentionally.
37401 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37403 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37404 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37405 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37406 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37408 2012-04-05 Simon Josefsson <simon@josefsson.org>
37411 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37412 EINVAL when BUFLEN is too smal.
37414 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37417 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37418 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37420 2012-04-03 Andreas Jaeger <aj@suse.de>
37423 * manual/setjmp.texi (System V contexts): Fix sentence.
37426 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37427 New macro for this case.
37428 [!__GNUC__] (__bswap_64): New inline function for this case.
37429 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37430 * bits/byteswap.h: Likewise.
37431 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37432 ull, guard with __GLIBC_HAVE_LONG_LONG.
37434 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37435 __GLIBC_HAVE_LONG_LONG.
37437 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37438 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37440 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37443 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37444 inptr and inend, rather than using last_ch.
37446 2012-04-02 David S. Miller <davem@davemloft.net>
37448 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37449 * stdio-common/printf-parse.h (read_int): Change return type to
37450 'int', return -1 on INT_MAX overflow.
37451 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37452 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37453 overflows INT_MAX. Check for overflow of in-format-string precision
37454 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37455 SIZE_MAX not INT_MAX for integer overflow test.
37456 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37457 skip the construct in the format string but do not record anything.
37458 * stdio-common/bug22.c: Adjust to test both width/prevision
37459 INT_MAX overflow as well as total length INT_MAX overflow. Check
37460 explicitly for proper errno values.
37462 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37464 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37466 * string/test-strcmp.c [! WIDE]: Likewise.
37467 * time/tst-mktime2.c: Likewise for INT_MAX.
37468 * string/test-string.h: #include <sys/param.h> for MIN.
37470 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37471 * sysdeps/i386/init-first.c (init): Likewise.
37472 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37473 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37474 * sysdeps/sh/init-first.c (init): Likewise.
37476 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37478 * po/ru.po: Update from translation team.
37479 * po/vi.po: Likewise.
37481 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37483 * resolv/nss_dns/dns-host.c: Merge copyright years.
37485 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37487 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37488 Optimize memcpy with prefetch if
37489 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37490 src, dst pointers have unequal 16 byte alignments.
37492 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37495 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37496 from a CNAME entry and return the minimum ttl for the query.
37497 (gaih_getanswer_slice): Likewise.
37499 2012-03-30 Jeff Law <law@redhat.com>
37501 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37503 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37504 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37506 * resolv/nss_dns/dns-host.c: Update copyright year.
37508 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37510 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37511 requests to save a system call. Fix check that all bytes are sent.
37513 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37514 comments for sendmmsg.
37516 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37519 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37520 with only 1 character between 0x0041 and 0x01b0.
37521 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37522 * wcsmbs/tst-mbsnrtowcs.c: New file.
37524 2012-03-29 David S. Miller <davem@davemloft.net>
37526 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37527 small copies by hand.
37529 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37532 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37533 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37536 2012-03-28 David S. Miller <davem@davemloft.net>
37538 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37539 that branches into memcpy.
37540 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37542 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37543 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37546 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37547 implementation too.
37548 * sysdeps/sparc/mempcpy.S: New file.
37550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37551 the IFUNC routine in the libc case.
37552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37554 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37555 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37556 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37557 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37558 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37559 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37560 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37561 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37563 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37564 loop to 256 bytes instead of 64 bytes and fix test signedness.
37566 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37567 * sysdeps/sparc/sparc32/Makefile: rather than here...
37568 * sysdeps/sparc/sparc64/Makefile: and here.
37570 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37572 * malloc/mallocbug.c: Avoid warnings about unused variables.
37574 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37577 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37578 in the right place. Discard and retry query if response is
37579 larger than input buffer size.
37581 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37586 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37587 x for large integer exponent.
37588 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37589 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37590 sign of result as needed afterwards.
37591 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37592 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37593 result for underflowing pow the same as for overflow.
37594 (__kernel_standard_l): Handle powl overflow and underflow here
37595 rather than calling __kernel_standard.
37596 * math/libm-test.inc (pow_test): Add more tests.
37611 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37612 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37613 (__kernel_standard_l): New function.
37614 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37616 * math/w_acosl.c (__acosl): Likewise.
37617 * math/w_asinl.c (__asinl): Likewise.
37618 * math/w_atan2l.c (__atan2l): Likewise.
37619 * math/w_atanhl.c (__atanhl): Likewise.
37620 * math/w_coshl.c (__coshl): Likewise.
37621 * math/w_exp10l.c (__exp10l): Likewise.
37622 * math/w_exp2l.c (__exp2l): Likewise.
37623 * math/w_fmodl.c (__fmodl): Likewise.
37624 * math/w_hypotl.c (__hypotl): Likewise.
37625 * math/w_j0l.c (__j0l, __y0l): Likewise.
37626 * math/w_j1l.c (__j1l, __y1l): Likewise.
37627 * math/w_jnl.c (__jnl, __ynl): Likewise.
37628 * math/w_lgammal.c (__lgammal): Likewise.
37629 * math/w_log10l.c (__log10l): Likewise.
37630 * math/w_log2l.c (__log2l): Likewise.
37631 * math/w_logl.c (__logl): Likewise.
37632 * math/w_powl.c (__powl): Likewise.
37633 * math/w_remainderl.c (__remainderl): Likewise.
37634 * math/w_scalbl.c (sysv_scalbl): Likewise.
37635 * math/w_sinhl.c (__sinhl): Likewise.
37636 * math/w_sqrtl.c (__sqrtl): Likewise.
37637 * math/w_tgammal.c (__tgammal): Likewise.
37638 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37639 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37640 * math/libm-test.inc (acos_test): Add more tests.
37641 (acosh_test): Likewise.
37642 (asin_test): Likewise.
37643 (atanh_test): Likewise.
37644 (exp_test): Likewise.
37645 (exp10_test): Likewise.
37646 (exp2_test): Likewise.
37647 (expm1_test): Likewise.
37648 (lgamma_test): Likewise.
37649 (log_test): Likewise.
37650 (log10_test): Likewise.
37651 (log1p_test): Likewise.
37652 (log2_test): Likewise.
37653 (pow_test): Do not allow some spurious overflow exceptions.
37654 (sqrt_test): Add more tests.
37655 (tgamma_test): Likewise.
37656 (y0_test): Likewise.
37657 (y1_test): Likewise.
37658 (yn_test): Likewise.
37660 2012-03-27 Anton Blanchard <anton@samba.org>
37662 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37664 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37665 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37666 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37668 2012-03-27 David S. Miller <davem@davemloft.net>
37670 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37672 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37673 have-as-vis3 check.
37675 2012-03-27 Andreas Jaeger <aj@suse.de>
37677 * sysdeps/x86_64/elf/configure.in: Moved to ...
37678 * sysdeps/x86_64/configure.in: ... here.
37679 * sysdeps/x86_64/elf/start.S: Moved to ...
37680 * sysdeps/x86_64/start.S: ... here.
37681 * sysdeps/x86_64/elf/configure: Delete.
37683 * sysdeps/x86_64/configure.in: Merge contents from
37684 sysdeps/i386/configure.in (without i686 check).
37686 * sysdeps/i386/elf/Versions: Merge into ...
37687 * sysdeps/i386/Versions: ... this.
37688 * sysdeps/i386/elf/Versions: Delete file.
37689 * sysdeps/i386/elf/start.S: Moved to ...
37690 * sysdeps/i386/start.S: ...here.
37691 * sysdeps/i386/elf/configure.in: Merge into...
37692 * sysdeps/i386/configure.in: ...here.
37693 * sysdeps/i386/elf/configure.in: Delete file.
37694 * sysdeps/i386/elf/configure: Delete file.
37696 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37697 * debug/backtracesyms.c: ... here.
37698 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37699 * debug/backtracesymsfd.c: ... here.
37700 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37701 * sysdeps/generic/ifunc-sel.h: ... here.
37703 * sysdeps/unix/i386/start.c: Delete file.
37704 * sysdeps/unix/sparc/start.c: Delete file.
37705 * sysdeps/unix/start.c: Delete file.
37707 * sysdeps/sh/elf/configure.in: Moved to ...
37708 * sysdeps/sh/configure.in: ... here.
37709 * sysdeps/sh/elf/start.S: Moved to ...
37710 * sysdeps/sh/start.S: ... here.
37711 * sysdeps/sh/elf/configure: Delete file.
37713 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37714 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37715 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37716 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37717 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37718 * sysdeps/powerpc/powerpc64/start.S: here.
37719 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37720 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37721 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37722 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37723 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37725 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37726 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37727 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37728 * sysdeps/powerpc/powerpc32/start.S: ... here.
37729 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37730 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37731 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37733 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37734 * sysdeps/powerpc/ifunc-sel.h: ... here.
37735 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37736 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37738 * sysdeps/sparc/elf/configure.in: Moved to ...
37739 * sysdeps/sparc/configure.in: ... here.
37740 * sysdeps/sparc/elf/configure: Delete file.
37741 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37742 * sysdeps/sparc/sparc32/start.S: ... here.
37743 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37744 * sysdeps/sparc/sparc64/start.S: ... here.
37745 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37746 * sysdeps/sparc/sparc32/Makefile: ... this.
37747 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37748 * sysdeps/sparc/sparc64/Makefile: ... this.
37750 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37751 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
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/setjmp.S: Moved to ...
37755 * sysdeps/s390/s390-32/setjmp.S: ... here.
37756 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37757 * sysdeps/s390/s390-32/configure.in: ... here.
37758 * sysdeps/s390/s390-32/elf/configure: Delete file.
37759 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37760 * sysdeps/s390/s390-32/start.S: ... here.
37762 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37763 * sysdeps/s390/s390-64/bsd-_setjmp.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/setjmp.S: Moved to ...
37767 * sysdeps/s390/s390-64/setjmp.S: ... here.
37768 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37769 * sysdeps/s390/s390-64/configure.in: ... here
37770 * sysdeps/s390/s390-64/elf/configure: Delete file.
37771 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37772 * sysdeps/s390/s390-64/start.S: ... here.
37773 * sysdeps/s390/s390-64/elf/configure: Delete.
37775 * configure.in: Remove support for elf directories in sysdeps.
37777 * configure: Regenerated.
37778 * sysdeps/i386/configure: Regenerated.
37779 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37780 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37781 * sysdeps/s390/s390-32/configure: Regenerated.
37782 * sysdeps/s390/s390-64/configure: Regenerated.
37783 * sysdeps/sh/configure: Regenerated.
37784 * sysdeps/sparc/configure: Regenerated.
37785 * sysdeps/x86_64/configure: Regenerated.
37787 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37791 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37792 denormal result into account.
37794 2012-03-25 Roland McGrath <roland@hack.frob.com>
37796 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37797 Reported by Allan McRae <allan@archlinux.org>.
37799 2012-03-23 Jeff Law <law@redhat.com>
37801 * nss/getnssent.c (__nss_getent): Fix typo.
37803 2012-03-23 David S. Miller <davem@davemloft.net>
37805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37807 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37809 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37810 to pad to uint64_t for each field.
37811 (dl_tls_index): Replace unsigned long with uint64_t.
37813 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37814 Paul Pluzhnikov <ppluzhnikov@google.com>
37817 * grp/Makefile (otherlibs): Don't set it.
37818 * inet/Makefile (otherlibs): Likewise.
37819 * login/Makefile (otherlibs): Likewise.
37820 * nscd/Makefile (otherlibs): Likewise.
37821 * posix/Makefile (otherlibs): Likewise.
37822 * pwd/Makefile (otherlibs): Likewise.
37823 * rt/Makefile (otherlibs): Likewise.
37824 * sunrpc/Makefile (otherlibs): Likewise.
37825 * nss/Makefile (otherlibs): Likewise.
37826 Add libnss_files to routines and static-only-routines.
37827 ($(objpfx)getent): Remove rule.
37828 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37829 static-only-routines.
37831 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37834 * math/s_cexp.c: Include <float.h>.
37835 (__cexp): Handle exp result overflowing not necessarily
37836 overflowing both real and imaginary parts of result.
37837 * math/s_cexpf.c: Likewise.
37838 * math/s_cexpl.c: Likewise.
37839 * math/libm-test.inc (cexp_test): Add more tests.
37840 * sysdeps/i386/fpu/libm-test-ulps: Update.
37841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37843 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37845 * include/link.h (ELFW): New macro.
37846 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37847 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37849 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37851 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37854 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37856 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37858 (struct La_x32_retval): Likewise.
37860 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37862 * sysdeps/x86_64/preconfigure.in: New file.
37863 * sysdeps/x86_64/preconfigure: New generated file.
37865 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37868 * math/e_exp2l.c: Include <float.h>.
37869 (__ieee754_exp2l): Handle overflow and underflow cases
37870 separately. Only pass fractional part of argument to
37872 * math/libm-test.inc (exp2_test): Add more tests.
37874 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37875 negating x to take absolute value.
37876 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37878 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37879 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37881 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37882 computing low part if x was negated.
37883 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37885 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37887 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37888 la_x32_gnu_pltexit.
37889 (pltexit): Cast int_retval to ptrdiff_t.
37890 * elf/tst-auditmod3b.c: Likewise.
37891 * elf/tst-auditmod4b.c: Likewise.
37892 * elf/tst-auditmod5b.c: Likewise.
37893 * elf/tst-auditmod6b.c: Likewise.
37894 * elf/tst-auditmod6c.c: Likewise.
37895 * elf/tst-auditmod7b.c: Likewise.
37897 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37898 and x32_gnu_pltexit.
37900 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37901 __ELF_NATIVE_CLASS.
37902 (La_x32_regs): New macro.
37903 (La_x32_retval): Likewise.
37904 (la_x32_gnu_pltenter): New function prototype.
37905 (la_x32_gnu_pltexit): Likewise.
37907 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37909 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37914 * configure.in (libc_cv_cc_nofma): Check for option to disable
37915 generation of FMA instructions.
37916 * configure: Regenerate.
37917 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37918 * sysdeps/ieee754/dbl-64/Makefile: New file.
37919 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37920 Remove brandred-fma4.
37921 (CFLAGS-brandred-fma4.c): Remove.
37922 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37923 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37925 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37928 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37930 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37931 LLONG_MAX != LONG_MAX.
37932 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37933 (_fitoa_word): Likewise.
37934 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37935 LLONG_MAX != LONG_MAX.
37936 * stdio-common/_itowa.h: Include <_itoa.h>.
37937 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37938 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37939 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37940 only if not defined.
37941 (_ITOA_WORD_TYPE): Likewise.
37942 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37943 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37945 2012-03-21 David S. Miller <davem@davemloft.net>
37947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37949 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37951 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37952 of x86_64 when setting libc_cv_slibdir, libdir and
37954 * sysdeps/unix/sysv/linux/configure: Regenerated.
37956 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37958 * manual/lang.texi (Old Varargs): Remove section.
37959 (How Variadic): Update menu.
37960 (va_start): Do not mention varargs.h.
37962 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37963 Joseph Myers <joseph@codesourcery.com>
37965 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37967 * configure: Regenerated.
37969 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37971 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37972 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37975 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37978 * Makefile (files-for-dist): Remove NOTES.
37979 (NOTES): Remove rule.
37980 * README: Don't refer to NOTES.
37981 * manual/creature.texi: Don't include macros.texi.
37982 * manual/intro.texi (creature.texi): Remove comment referring to
37985 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37986 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37987 * configure: Regenerated.
37988 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37989 LIBC_TRY_CC_OPTION.
37990 (libc_cv_as_i686): Likewise.
37991 (libc_cv_cc_avx): Likewise.
37992 (libc_cv_cc_sse2avx): Likewise.
37993 (libc_cv_cc_fma4): Likewise.
37994 (libc_cv_cc_novzeroupper): Likewise.
37995 * sysdeps/i386/configure: Regenerated.
37998 * sysdeps/i386/fpu/s_cexp.S: Remove.
37999 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38000 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38001 * math/libm-test.inc (cexp_test): Add more tests.
38002 * sysdeps/i386/fpu/libm-test-ulps: Update.
38003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38005 2012-03-21 Allan McRae <allan@archlinux.org>
38007 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38009 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38012 * math/w_exp2.c: Do not include <float.h>.
38013 (o_threshold, u_threshold): Remove.
38014 (__exp2): Calculate result before checking finiteness and calling
38016 * math/w_exp2f.c: Likewise.
38017 * math/w_exp2l.c: Likewise.
38018 * math/libm-test.inc (exp2_test): Require overflow exception for
38022 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38023 range of signed 64-bit integers before using fistpll. Remove
38024 checks for whether integers fit in mantissa bits.
38025 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38026 the range of signed 32-bit integers before using fistpl. Remove
38027 checks for whether integers fit in mantissa bits.
38028 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38029 (__ieee754_powl): Test for y outside the range of signed 64-bit
38030 integers before using fistpll. Reduce 64-bit values to 63-bit
38032 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38033 divide-by-zero is raised for zero to large negative powers.
38034 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38035 (__ieee754_powl): Test for y outside the range of signed 64-bit
38036 integers before using fistpll. Reduce 64-bit values to 63-bit
38038 * math/libm-test.inc (pow_test): Add more tests.
38040 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38042 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38043 <stdio-common/_itoa.h>.
38044 * debug/segfault.c: Likewise.
38045 * elf/dl-cache.c: Likewise.
38046 * elf/dl-minimal.c: Likewise.
38047 * elf/dl-misc.c: Likewise.
38048 * elf/dl-sysdep.c: Likewise.
38049 * elf/dl-version.c: Likewise.
38050 * elf/rtld.c: Likewise.
38051 * hurd/hurdsock.c: Likewise.
38052 * hurd/lookup-retry.c: Likewise.
38053 * malloc/malloc.c: Likewise.
38054 * malloc/mtrace.c: Likewise.
38055 * nscd/nscd_getgr_r.c: Likewise.
38056 * nscd/nscd_getpw_r.c: Likewise.
38057 * nscd/nscd_getserv_r.c: Likewise.
38058 * posix/getopt_init.c: Likewise.
38059 * posix/wordexp.c: Likewise.
38060 * stdio-common/_itoa.c: Likewise.
38061 * stdio-common/printf_fphex.c: Likewise.
38062 * stdio-common/vfprintf.c: Likewise.
38063 * string/_strerror.c: Likewise.
38064 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38065 * sysdeps/i386/i686/hp-timing.h: Likewise.
38066 * sysdeps/mach/_strerror.c: Likewise.
38067 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38068 * sysdeps/mach/hurd/sethostid.c: Likewise.
38069 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38070 * sysdeps/mach/xpg-strerror.c: Likewise.
38071 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38072 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38073 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38074 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38075 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38076 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38077 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38078 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38079 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38080 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38081 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38082 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38083 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38084 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38085 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38086 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38087 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38088 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38089 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38090 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38091 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38093 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38095 * stdio-common/_itoa.h: Moved to ...
38096 * sysdeps/generic/_itoa.h: Here.
38098 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38100 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38101 instead of "_itoa.h" and "_itowa.h".
38102 * stdio-common/vfprintf.: Likewise.
38104 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38106 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38108 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38109 (__signbit): Likwise.
38110 (llrintf): Likwise.
38113 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38115 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38118 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38120 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38121 OVERFLOW_EXCEPTION_OK.
38122 * math/libm-test.inc ("Philosophy"): Update comment about
38124 (OVERFLOW_EXCEPTION): Define.
38125 (OVERFLOW_EXCEPTION_OK): Likewise.
38126 (INVALID_EXCEPTION_OK): Renumber.
38127 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38128 (IGNORE_ZERO_INF_SIGN): Likewise.
38129 (test_exceptions): Handle FE_OVERFLOW.
38130 (exp10_test): Expect overflow exceptions.
38131 (exp2_test): Likewise.
38132 (expm1_test): Likewise.
38133 (nextafter_test): Likewise.
38134 (pow_test): Likewise.
38135 (scalbn_test): Likewise.
38136 (scalbln_test): Likewise.
38138 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38140 * sysdeps/x86_64/bits/atomic.h
38141 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38143 (atomic_exchange_acq): Likewise.
38144 (__arch_exchange_and_add_body): Likewise.
38145 (__arch_add_body): Likewise.
38146 (atomic_add_negative): Likewise.
38147 (atomic_add_zero): Likewise.
38149 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38151 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38152 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38154 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38156 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38157 Check __x86_64__ instead of __WORDSIZE.
38159 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38161 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38163 2012-03-19 David S. Miller <davem@davemloft.net>
38165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38167 * sysdeps/sparc/fpu/fenv_private.h: New file.
38168 * sysdeps/sparc/fpu/math_private.h: Use it.
38169 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38171 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38172 (libc_feholdexcept_setroundl): Remove.
38173 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38175 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38176 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38178 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38180 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38181 int64_t instead of long int.
38182 (INSERT_WORDS64): Likwise.
38184 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38186 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38187 _Unwind_GetCFA return to _Unwind_Ptr first.
38189 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38192 * math/s_clog.c: Include <float.h>.
38193 (__clog): Scale large or subnormal inputs.
38194 * math/s_clogf.c: Likewise.
38195 * math/s_clogl.c: Likewise.
38196 * math/s_clog10.c: Include <float.h>.
38197 (M_LOG10_2): Define.
38198 (__clog10): Scale large or subnormal inputs.
38199 * math/s_clog10f.c: Likewise.
38200 * math/s_clog10l.c: Likewise.
38201 * math/libm-test.inc (clog_test): Add more tests.
38202 (clog10_test): Likewise.
38203 * sysdeps/i386/fpu/libm-test-ulps: Update.
38204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38207 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38209 * math/libm-test.inc (atan2_test): Add another test.
38211 * Makerules (common-objdir-compile): Remove.
38212 * sysdeps/unix/Makefile (config-generated): Do not add
38213 $(unix-generated) to variable.
38214 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38215 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38217 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38219 [generic bits/local_lim.h] (before-compile): Do not append to
38221 [generic bits/local_lim.h] (common-generated): Likewise.
38222 [generic sys/param.h] (before-compile): Do not append to variable.
38223 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38224 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38225 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38226 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38228 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38229 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38230 [generic sys/param.h] ($(addprefix
38231 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38232 [generic sys/param.h] (common-generated): Do not append to
38234 [generic sys/param.h] (sysdep_headers): Likewise.
38235 [generic bits/errno.h] (before-compile): Do not append to
38237 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38239 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38240 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38241 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38242 [generic bits/errno.h] (common-generated): Do not append to
38244 [generic bits/ioctls.h] (before-compile): Do not append to
38246 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38248 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38249 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38250 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38252 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38253 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38254 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38255 [generic bits/ioctls.h] (common-generated): Do not append to
38257 [generic sys/syscall.h] (syscall.h): Remove variable.
38258 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38260 [generic sys/syscall.h] (before-compile): Do not append to
38262 [generic sys/syscall.h] (common-generated): Likewise.
38263 * sysdeps/unix/errnos-tmpl.c: Remove file.
38264 * sysdeps/unix/errnos.awk: Likewise.
38265 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38266 * sysdeps/unix/ioctls.awk: Likewise.
38267 * sysdeps/unix/mk-local_lim.c: Likewise.
38268 * sysdeps/unix/snarf-ioctls: Likewise.
38270 2012-03-19 Richard Henderson <rth@twiddle.net>
38272 * sysdeps/i386/fpu/fenv_private.h: New file.
38273 * sysdeps/i386/fpu/math_private.h: Use it.
38274 (math_opt_barrier, math_force_eval): Remove.
38275 (libc_feholdexcept_setround_53bit): Remove.
38276 (libc_feupdateenv_53bit): Remove.
38277 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38278 (math_opt_barrier, math_force_eval): Remove.
38279 (libc_feholdexcept): Remove.
38280 (libc_feholdexcept_setround): Remove.
38281 (libc_fetestexcept, libc_fesetenv): Remove.
38282 (libc_feupdateenv_test): Remove.
38283 (libc_feupdateenv, libc_feholdsetround): Remove.
38284 (libc_feresetround): Remove.
38286 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38287 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38289 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38290 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38291 (libc_feupdateenv_testl): New.
38292 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38293 (libc_feupdateenv_testf): New.
38294 (libc_feupdateenv): Use libc_feupdateenv_test.
38295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38296 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38298 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38299 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38300 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38301 (libc_feresetround_noex): New.
38302 (libc_feresetround_noexf): New.
38303 (libc_feresetround_noexl): New.
38304 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38305 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38306 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38307 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38310 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38312 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38313 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38314 SET_RESTORE_ROUND_NOEX.
38315 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38316 SET_RESTORE_ROUND_NOEXF.
38317 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38318 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38319 (libc_feholdsetroundf): New.
38320 (libc_feresetround, libc_feresetroundf): New.
38322 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38323 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38324 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38326 * sysdeps/generic/math_private.h: Include <fenv.h>.
38327 (default_libc_feholdexcept): New.
38328 (default_libc_feholdexcept_setround): New.
38329 (default_libc_fesetenv, default_libc_feupdateenv): New.
38330 (libc_feholdexcept): Only define if undefined.
38331 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38332 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38333 (libc_feholdexcept_setroundl): Likewise.
38334 (libc_feholdexcept_setround_53bit): Likewise.
38335 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38336 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38337 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38338 (libc_feupdateenv_53bit): Likewise.
38339 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38340 (libc_feholdexcept): Convert from macro to inline function.
38341 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38342 (libc_fesetenv, libc_feupdateenv): Likewise.
38344 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38345 not previously defined.
38346 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38347 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38348 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38349 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38350 * sysdeps/ieee754/flt-32/math_private.h: New file.
38351 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38352 math_private.h below SET_FLOAT_WORD.
38353 (__isnan, __isinf_ns, __finite): Remove.
38354 (__isnanf, __isinf_nsf, __finitef): Remove.
38356 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38360 2012-03-17 David S. Miller <davem@davemloft.net>
38363 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38366 2012-03-16 David S. Miller <davem@davemloft.net>
38368 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38372 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38374 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38375 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38376 sysdep_routines when subdir is sysvipc.
38377 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38378 __getshmlba helper.
38380 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38382 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38384 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38387 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38389 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38390 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38391 (__lround): Renamed to ...
38392 (__llround): This. Replace long int with long long int.
38393 Define lround functions as aliases of llround functions.
38394 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38396 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38398 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38399 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38400 adresses to uintptr_t. Replace "long int" and "unsigned long
38401 int" with "greg_t" on va_arg.
38403 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38405 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38406 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38408 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38409 Move e_machine check before EI_CLASS check. Handle x32
38410 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38411 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38412 SKIP_EM_IA_64 and include
38413 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38415 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38416 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38417 (add_system_dir): New macro.
38419 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38420 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38422 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38433 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38435 * math/w_j0f.c (j0f): Likewise.
38437 * math/w_j0l.c (__j0l): Likewise.
38439 * math/w_j1.c (j1): Likewise.
38441 * math/w_j1f.c (j1f): Likewise.
38443 * math/w_j1l.c (__j1l): Likewise.
38445 * math/w_jn.c (jn): Likewise.
38447 * math/w_jnf.c (jnf): Likewise.
38449 * math/w_jnl.c (__jnl): Likewise.
38451 * math/libm-test.inc (j0_test): Add more tests.
38452 (j1_test): Likewise.
38453 (jn_test): Likewise. Add trailing semicolon to existing test.
38454 (y0_test): Likewise.
38455 (y1_test): Likewise.
38456 * sysdeps/i386/fpu/libm-test-ulps: Update.
38457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38461 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38462 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38463 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38464 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38465 (__tanl): Set errno for infinite argument.
38466 * sysdeps/i386/fpu/mptan.c: Remove.
38467 * sysdeps/i386/fpu/s_tan.S: Likewise.
38468 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38469 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38470 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38471 * math/libm-test.inc (tan_test): Add more tests and enable more
38472 tests for double and long double.
38473 * sysdeps/i386/fpu/libm-test-ulps: Update.
38474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38476 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38478 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38479 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38481 2012-03-16 Roland McGrath <roland@hack.frob.com>
38483 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38484 * configure.in: Use it for both main tree and add-ons.
38485 * configure: Regenerated.
38487 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38489 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38491 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38493 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38497 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38498 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38499 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38500 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38501 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38503 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38505 != 0 for prec == 2.
38506 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38507 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38508 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38509 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38510 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38511 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38512 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38513 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38514 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38515 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38516 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38517 * math/libm-test.inc (cos_test): Add more tests and enable more
38518 tests for long double.
38519 (sin_test): Likewise.
38520 (sincos_test): Likewise.
38521 * sysdeps/i386/fpu/libm-test-ulps: Update.
38522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38524 2012-03-16 David S. Miller <davem@davemloft.net>
38526 * sysdeps/sparc/fpu/math_private.h: New file.
38528 2012-03-15 David S. Miller <davem@davemloft.net>
38530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38540 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38544 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38545 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38547 * sysdeps/sparc/sparc-ifunc.h: New file.
38548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38575 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38590 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38591 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38593 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38595 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38599 2012-03-15 Andreas Jaeger <aj@suse.de>
38602 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38603 ieee754/flt-32 implementation for sin, cos and sincos.
38604 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38605 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38606 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38607 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38608 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38609 ieee754/flt-32 implementation for tan.
38611 * math/libm-test.inc (cos_test): Enable some large input tests for
38613 (sin_test): Likewise.
38614 (sincos_test): Likewise.
38615 (tan_test): Add tests for large input.
38617 * sysdeps/i386/fpu/libm-test-ulps: Update.
38619 2012-03-15 Andreas Jaeger <aj@suse.de>
38622 * math/libm-test.inc (cos_test): Add more test cases.
38623 (sin_test): Likewise.
38624 (sincos_test): Likewise.
38626 2012-03-15 Andreas Jaeger <aj@suse.de>
38629 * math/libm-test.inc (cos_test): Add a test case for large input
38631 (sin_test): Likewise.
38632 (sincos_test): Likewise.
38634 2012-03-15 Andreas Jaeger <aj@suse.de>
38635 Joseph Myers <joseph@codesourcery.com>
38638 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38639 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38640 * sysdeps/i386/fpu/branred.c: Likewise.
38641 * sysdeps/i386/fpu/dosincos.c: Likewise.
38642 * sysdeps/i386/fpu/mpa.c: Likewise.
38643 * sysdeps/i386/fpu/s_cos.S: Likewise.
38644 * sysdeps/i386/fpu/s_sin.S: Likewise.
38645 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38646 * sysdeps/i386/fpu/sincos32.c: Likewise.
38648 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38650 (libc_feupdateenv_53bit): Define.
38651 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38653 (libc_feupdateenv_53bit): Define.
38655 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38656 53 bit (without extend i386 double precision).
38658 * math/libm-test.inc (sincos_test): Add tests for large input.
38662 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38664 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38668 2012-03-15 David S. Miller <davem@davemloft.net>
38670 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38671 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38672 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38673 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38698 fmin/fmax sysdep routines.
38699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38701 2012-03-14 David S. Miller <davem@davemloft.net>
38703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38723 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38724 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38775 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38780 * sysdeps/sparc/configure.in: New file.
38781 * sysdeps/sparc/configure: Generate.
38782 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38783 * configure: Regenerate.
38784 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38785 * config.make.in (have-as-vis3): New.
38786 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38787 available use -Av9d instead of -Av9a.
38788 * sysdeps/sparc/sparc64/Makefile: Likewise.
38789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38798 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38800 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38804 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38805 fzeros/fnegs to load 0x80000000 into a float register instead of
38807 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38809 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38813 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38814 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38815 ($(inst_includedir)/bits/syscall.h): Remove rule.
38816 ($(objpfx)bits/syscall.d): Include instead of
38817 $(objpfx)syscall-list.d.
38818 (generated): Change syscall-list.h and syscall-list.d to
38819 bits/syscall.h and bits/syscall.d.
38821 2012-03-14 Roland McGrath <roland@hack.frob.com>
38824 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38826 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38829 * math/s_csqrt.c: Include <float.h>.
38830 (__csqrt): Scale large or subnormal inputs.
38831 * math/s_csqrtf.c: Likewise.
38832 * math/s_csqrtl.c: Likewise.
38833 * math/libm-test.inc (csqrt_test): Add more tests.
38834 * sysdeps/i386/fpu/libm-test-ulps: Update.
38835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38838 * math/libm-test.inc (hypot_test): Add more tests.
38840 2012-03-13 David S. Miller <davem@davemloft.net>
38843 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38844 double-precision for the calculation instead of scaling.
38846 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38848 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38849 manipulate bits before adding and subtracting TWO52[sx].
38850 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38851 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38853 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38855 2012-03-13 David S. Miller <davem@davemloft.net>
38857 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38858 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38859 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38860 rtld-global-offsets.h
38861 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38863 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38866 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38868 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38869 'err' in the ifdef scope in which it is actually used.
38871 * nss/nss_db/db-init.c: Include string.h
38873 2012-03-12 David S. Miller <davem@davemloft.net>
38875 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38876 masking out of the most significant byte of random value used.
38877 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38878 Fix coding style in previous change.
38880 * sysdeps/unix/sysv/linux/kernel-features.h
38881 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38882 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38884 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38887 2012-03-11 David S. Miller <davem@davemloft.net>
38889 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38890 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38891 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38892 for 'resultvar' otherwise things get truncated on 64-bit.
38894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38895 Fix masking out of the most significant byte of random value used.
38897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38899 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38903 2012-03-09 David S. Miller <davem@davemloft.net>
38905 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38906 variables with appropriate CPP guards.
38907 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38908 from the frame pointer, not the stack pointer. Correct layout
38909 comments. Fix test on resulting framesize and the management of
38910 the outregs buffer for pltexit. Preserve floating point return
38911 values across _dl_call_pltexit call.
38912 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38913 framesize and the management of the outregs buffer for pltexit.
38914 Preserve floating point return values across _dl_call_pltexit
38916 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38917 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38918 (la_sparc64_gnu_pltexit): New functions.
38919 (print_exit): Fix format string for return register value.
38921 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38923 * sunrpc/Makefile (others): Add rpcgen.
38924 ($(objpfx)rpcgen): Remove special build rule and dependency on
38926 * sunrpc/rpcgen.c: New file.
38928 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38931 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38932 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38933 * sysdeps/i386/crti.S: Likewise.
38934 * sysdeps/i386/crtn.S: Likewise.
38935 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38936 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38937 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38938 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38939 * sysdeps/sh/crti.S: Likewise.
38940 * sysdeps/sh/crtn.S: Likewise.
38941 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38944 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38946 * locale/programs/locfile-kw.gperf: Likewise.
38947 * locale/programs/charmap-kw.h: Regenerated.
38948 * locale/programs/locfile-kw.h: Likewise.
38951 * intl/plural.y: Replace FSF snail mail address with URL.
38952 * intl/plural.c: Regenerated.
38954 2012-03-09 Richard Henderson <rth@twiddle.net>
38956 * include/math_private.h: Remove file.
38957 * math/math_private.h: Move file ...
38958 * sysdeps/generic/math_private.h: ... here.
38960 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38961 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38962 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38964 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38965 and <math_private.h>.
38966 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38967 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38968 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38969 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38970 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38971 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38972 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38974 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38977 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38978 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38980 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38981 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38982 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38983 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38984 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38985 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38987 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38988 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38990 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38991 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38992 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38993 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38994 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38996 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38998 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38999 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39002 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39003 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39004 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39006 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39007 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39008 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39009 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39010 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39011 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39012 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39013 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39014 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39015 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39016 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39017 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39018 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39019 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39020 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39021 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39023 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39024 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39025 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39027 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39029 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39030 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39034 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39035 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39036 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39037 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39038 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39040 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39045 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39046 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39048 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39049 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39050 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39053 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39054 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39055 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39056 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39057 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39059 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39060 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39061 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39062 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39063 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39064 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39065 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39066 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39067 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39068 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39069 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39070 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39071 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39072 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39073 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39074 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39075 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39076 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39077 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39078 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39079 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39080 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39081 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39082 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39083 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39084 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39085 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39087 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39089 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39090 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39091 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39093 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39094 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39095 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39096 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39097 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39098 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39099 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39100 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39101 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39102 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39103 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39104 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39105 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39106 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39107 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39108 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39109 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39110 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39111 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39112 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39113 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39114 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39115 * sysdeps/ieee754/k_standard.c: Likewise.
39116 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39117 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39118 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39119 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39120 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39121 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39122 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39123 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39124 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39125 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39126 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39127 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39128 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39129 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39130 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39131 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39132 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39133 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39134 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39135 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39136 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39137 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39138 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39139 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39140 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39141 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39142 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39143 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39144 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39145 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39146 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39147 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39148 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39149 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39150 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39151 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39152 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39153 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39154 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39155 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39156 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39157 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39158 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39159 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39160 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39161 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39162 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39163 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39164 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39167 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39168 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39169 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39170 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39171 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39172 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39173 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39174 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39175 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39176 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39177 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39178 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39182 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39183 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39184 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39185 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39188 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39189 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39190 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39192 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39193 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39195 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39196 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39197 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39198 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39201 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39202 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39203 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39206 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39207 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39208 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39209 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39212 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39213 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39214 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39215 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39218 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39219 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39223 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39230 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39231 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39232 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39233 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39234 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39235 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39237 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39238 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39239 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39241 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39249 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39252 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39253 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39254 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39255 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39256 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39257 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39258 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39259 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39260 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39262 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39263 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39264 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39265 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39266 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39267 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39270 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39271 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39272 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39273 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39274 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39275 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39276 * sysdeps/ieee754/s_lib_version.c: Likewise.
39277 * sysdeps/ieee754/s_matherr.c: Likewise.
39278 * sysdeps/ieee754/s_signgam.c: Likewise.
39279 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39280 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39281 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39282 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39283 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39284 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39285 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39286 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39287 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39288 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39289 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39290 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39291 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39292 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39293 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39294 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39296 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39297 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39301 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39303 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39304 * sunrpc/rpc_main.c: Likewise.
39305 * sunrpc/rpc_svcout.c: Likewise.
39307 2012-03-09 David S. Miller <davem@davemloft.net>
39309 * include/math_private.h: New file.
39311 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39313 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39314 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39315 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39316 from <bits/socket_type.h>.
39317 (enum __socket_type): Don't define here.
39318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39320 bits/socket_type.h.
39323 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39324 checking __USE_GNU.
39326 * Makerules ($(inst_includedir)/%.h): New rule.
39327 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39328 (install-others): Remove variable setting.
39329 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39331 2012-03-08 Richard Henderson <rth@twiddle.net>
39333 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39334 from macro to inline function; merge with the
39335 !__LIBC_INTERNAL_MATH_INLINES version.
39336 (__ieee754_sqrtf): Likewise.
39338 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39339 to inline function.
39340 (__rintf, __floor, __floorf): Likewise.
39342 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39343 macro to inline function.
39344 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39346 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39347 not <math/math_private.h>.
39349 2012-03-08 David S. Miller <davem@davemloft.net>
39351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39353 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39355 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39357 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39359 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39360 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39362 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39364 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39365 be defined individually, they must be defined as a block. Define
39366 S for printing a string instead of hidint the different by using a
39367 macro for adding the 'l'.
39368 * stdio-common/tst-fphex-wide.c: Adjust.
39370 2012-03-07 Marek Polacek <polacek@redhat.com>
39372 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39374 2012-03-08 Marek Polacek <polacek@redhat.com>
39377 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39378 * stdio-common/tst-fphex.c: Define a few macros to make the
39379 test reusable. Use them.
39380 * stdio-common/tst-fphex-wide.c: New file.
39382 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39385 * manual/macros.texi (gnusystems): New macro.
39386 (nongnusystems): Likewise.
39387 (gnulinuxhurdsystems): Likewise.
39388 (gnuhurdsystems): Likewise..
39389 (gnulinuxsystems): Likewise.
39390 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39391 variants of the GNU system, not "GNU system".
39392 * manual/conf.texi: Likewise.
39393 * manual/errno.texi: Likewise. Update example of errno macro
39395 * manual/filesys.texi: Likewise.
39396 (getumask): Document as specific to GNU/Hurd.
39397 * manual/install.texi: Likewise. Reword some references to
39399 * manual/intro.texi: Likewise.
39400 * manual/io.texi: Likewise.
39401 (File Name Portability): Detail which constraints are inapplicable
39402 to all GNU systems and which are only inapplicable to GNU/Hurd.
39403 * manual/job.texi: Likewise.
39404 * manual/llio.texi: Likewise.
39405 (O_NOCTTY): Document as present on GNU/Linux.
39406 * manual/maint.texi: Likewise.
39407 * manual/memory.texi: Likewise.
39408 * manual/pattern.texi: Likewise.
39409 * manual/pipe.texi: Likewise.
39410 * manual/process.texi: Likewise.
39411 * manual/resource.texi: Likewise.
39412 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39414 * manual/setjmp.texi: Likewise.
39415 * manual/signal.texi: Likewise.
39416 * manual/startup.texi: Likewise.
39417 * manual/stdio.texi: Likewise.
39418 * manual/terminal.texi: Likewise.
39419 (ONLCR): Document as POSIX.
39420 (OXTABS): Document availability on GNU/Linux as XTABS.
39421 (ONOEOT): Document availability separately from other bits.
39422 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39423 * manual/time.texi: Likewise.
39424 * manual/users.texi: Likewise.
39425 * INSTALL: Regenerated.
39426 * sysdeps/gnu/errlist.c: Regenerated.
39428 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39429 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39430 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39432 * configure: Regenerated.
39434 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39436 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39437 default includes instead of AC_HEADER_CHECK.
39438 * sysdeps/i386/configure: Regenerated.
39441 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39442 * math/s_cacoshf.c (__cacoshf): Likewise.
39443 * math/s_cacoshl.c (__cacoshl): Likewise.
39444 * math/s_casinh.c (__casinh): Set signs of result from argument.
39445 * math/s_casinhf.c (__casinhf): Likewise.
39446 * math/s_casinhl.c (__casinhl): Likewise.
39447 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39448 (casinh_test): Add more tests.
39449 * sysdeps/i386/fpu/libm-test-ulps: Update.
39450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39452 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39454 * po/zh_TW.po: Update from translation team.
39456 * login/Makefile (distribute): Remove variable.
39457 * catgets/Makefile: Likewise.
39458 * mach/Makefile: Likewise.
39459 * malloc/Makefile: Likewise.
39460 * misc/Makefile: Likewise.
39461 * iconv/Makefile: Likewise.
39462 * nscd/Makefile: Likewise.
39463 * hurd/Makefile: Likewise.
39464 * manual/Makefile: Likewise.
39465 * locale/Makefile: Likewise.
39466 * intl/Makefile: Likewise.
39467 * conform/Makefile: Likewise.
39468 * nss/Makefile: Likewise.
39469 * time/Makefile: Likewise.
39470 * soft-fp/Makefile: Likewise.
39471 * dirent/Makefile: Likewise.
39472 * gmon/Makefile: Likewise.
39473 * po/Makefile: Likewise.
39474 * rt/Makefile: Likewise.
39475 * socket/Makefile: Likewise.
39476 * math/Makefile: Likewise.
39477 * signal/Makefile: Likewise.
39478 * debug/Makefile: Likewise.
39479 * elf/Makefile: Likewise.
39480 * timezone/Makefile: Likewise.
39481 * stdlib/Makefile: Likewise.
39482 * iconvdata/Makefile: Likewise.
39483 * sunrpc/Makefile: Likewise.
39484 * io/Makefile: Likewise.
39485 * argp/Makefile: Likewise.
39486 * inet/Makefile: Likewise.
39487 * hesiod/Makefile: Likewise.
39488 * grp/Makefile: Likewise.
39489 * csu/Makefile: Likewise.
39490 * wctype/Makefile: Likewise.
39491 * crypt/Makefile: Likewise.
39492 * libio/Makefile: Likewise.
39493 * string/Makefile: Likewise.
39494 * nis/Makefile: Likewise.
39495 * resolv/Makefile: Likewise.
39496 * stdio-common/Makefile: Likewise.
39497 * wcsmbs/Makefile: Likewise.
39498 * dlfcn/Makefile: Likewise.
39499 * posix/Makefile: Likewise.
39502 * timezone/Makefile: Don't install timezone files, just the programs
39505 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39507 * nss/databases.def: Add missing gshadow entry.
39509 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39511 2012-03-06 Marek Polacek <polacek@redhat.com>
39514 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39515 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39516 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39517 * stdio-common/tst-long-dbl-fphex.c: New file.
39519 2012-03-06 David S. Miller <davem@davemloft.net>
39521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39522 (set_obp_int): New function.
39523 (get_obp_int): New function.
39524 (__get_clockfreq_via_dev_openprom): Likewise.
39525 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39526 Avoid unused variable warnings on 'val' and use builtin_expect.
39527 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39529 (INLINE_CLONE_SYSCALL): Likewise.
39531 2012-03-05 David S. Miller <davem@davemloft.net>
39533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39535 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39540 only for |x| >= 40.
39541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39543 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39545 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39546 Replace gettimeofday with __vdso_gettimeofday.
39548 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39549 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39550 __vdso_clock_gettime and __vdso_getcpu.
39552 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39553 time with __vdso_time.
39555 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39557 * manual/lang.texi (size_t): Note types to which size_t may be
39558 equivalent with the GNU C Library, but do not describe when
39559 differences between them are significant.
39561 2012-03-05 Andreas Jaeger <aj@suse.de>
39563 * sysdeps/i386/fpu/libm-test-ulps: Update.
39565 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39568 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39569 (__ieee754_pow): Save and restore rounding mode and use
39570 round-to-nearest for main computations.
39571 * math/libm-test.inc (pow_test_tonearest): New function.
39572 (pow_test_towardzero): Likewise.
39573 (pow_test_downward): Likewise.
39574 (pow_test_upward): Likewise.
39575 (main): Call the new functions.
39576 * sysdeps/i386/fpu/libm-test-ulps: Update.
39577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39580 * math/libm-test.inc (cosh_test_tonearest): New function.
39581 (cosh_test_towardzero): Likewise.
39582 (cosh_test_downward): Likewise.
39583 (cosh_test_upward): Likewise.
39584 (sinh_test_tonearest): Likewise.
39585 (sinh_test_towardzero): Likewise.
39586 (sinh_test_downward): Likewise.
39587 (sinh_test_upward): Likewise.
39588 (main): Call the new functions.
39589 * sysdeps/i386/fpu/libm-test-ulps: Update.
39590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39592 2012-03-05 Tom de Vries <tom@codesourcery.com>
39594 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39595 default stack guard is set in last bytes.
39596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39598 2012-03-05 Kees Cook <keescook@chromium.org>
39600 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39603 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39604 possibly allocate from heap instead of stack.
39605 * stdio-common/bug-vfprintf-nargs.c: New file.
39606 * stdio-common/Makefile (tests): Add nargs overflow test.
39608 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39612 2012-03-03 Marek Polacek <polacek@redhat.com>
39614 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39615 * math/math_private.h: Likewise.
39616 * stdlib/tst-strtod.c: Likewise.
39617 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39618 * sysdeps/x86_64/bits/atomic.h: Likewise.
39620 2012-03-02 David S. Miller <davem@davemloft.net>
39622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39626 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39627 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39628 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39629 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39631 2012-03-02 Roland McGrath <roland@hack.frob.com>
39634 * manual/examples/README: New file, says the example source files
39635 can be used under GPL>=2.
39636 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39637 line containing just "*/".
39638 * manual/examples/add.c: Add copyright header (GPL>=2).
39639 * manual/examples/argp-ex1.c: Likewise.
39640 * manual/examples/argp-ex2.c: Likewise.
39641 * manual/examples/argp-ex3.c: Likewise.
39642 * manual/examples/argp-ex4.c: Likewise.
39643 * manual/examples/atexit.c: Likewise.
39644 * manual/examples/db.c: Likewise.
39645 * manual/examples/dir.c: Likewise.
39646 * manual/examples/dir2.c: Likewise.
39647 * manual/examples/execinfo.c: Likewise.
39648 * manual/examples/filecli.c: Likewise.
39649 * manual/examples/filesrv.c: Likewise.
39650 * manual/examples/fmtmsgexpl.c: Likewise.
39651 * manual/examples/genpass.c: Likewise.
39652 * manual/examples/inetcli.c: Likewise.
39653 * manual/examples/inetsrv.c: Likewise.
39654 * manual/examples/isockad.c: Likewise.
39655 * manual/examples/longopt.c: Likewise.
39656 * manual/examples/memopen.c: Likewise.
39657 * manual/examples/memstrm.c: Likewise.
39658 * manual/examples/mkfsock.c: Likewise.
39659 * manual/examples/mkisock.c: Likewise.
39660 * manual/examples/mygetpass.c: Likewise.
39661 * manual/examples/pipe.c: Likewise.
39662 * manual/examples/popen.c: Likewise.
39663 * manual/examples/rprintf.c: Likewise.
39664 * manual/examples/search.c: Likewise.
39665 * manual/examples/select.c: Likewise.
39666 * manual/examples/setjmp.c: Likewise.
39667 * manual/examples/sigh1.c: Likewise.
39668 * manual/examples/sigusr.c: Likewise.
39669 * manual/examples/stpcpy.c: Likewise.
39670 * manual/examples/strdupa.c: Likewise.
39671 * manual/examples/strftim.c: Likewise.
39672 * manual/examples/strncat.c: Likewise.
39673 * manual/examples/subopt.c: Likewise.
39674 * manual/examples/swapcontext.c: Likewise.
39675 * manual/examples/termios.c: Likewise.
39676 * manual/examples/testopt.c: Likewise.
39677 * manual/examples/testpass.c: Likewise.
39678 * manual/examples/timeval_subtract.c: Likewise.
39681 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39683 * manual/timeval_subtract.c.texi: ... here, new file.
39685 2012-03-02 David S. Miller <davem@davemloft.net>
39687 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39689 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39692 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39693 (__sin): Save and restore rounding mode and use round-to-nearest
39694 for all computations.
39695 (__cos): Save and restore rounding mode and use round-to-nearest
39696 for all computations.
39697 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39699 (tan): Save and restore rounding mode and use round-to-nearest for
39701 * math/libm-test.inc (cos_test_tonearest): New function.
39702 (cos_test_towardzero): Likewise.
39703 (cos_test_downward): Likewise.
39704 (cos_test_upward): Likewise.
39705 (sin_test_tonearest): Likewise.
39706 (sin_test_towardzero): Likewise.
39707 (sin_test_downward): Likewise.
39708 (sin_test_upward): Likewise.
39709 (tan_test_tonearest): Likewise.
39710 (tan_test_towardzero): Likewise.
39711 (tan_test_downward): Likewise.
39712 (tan_test_upward): Likewise.
39713 (main): Call the new functions.
39714 * sysdeps/i386/fpu/libm-test-ulps: Update.
39715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39718 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39719 small n, then large n, before computing and testing k+n.
39720 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39721 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39725 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39726 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39727 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39728 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39729 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39730 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39731 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39732 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39733 * math/libm-test.inc (scalbn_test): Add more tests.
39734 (scalbln_test): Likewise.
39736 * manual/filesys.texi (mode_t): Describe constraints on size and
39737 signedness, not exact equivalence to a particular type.
39739 (ino64_t): Likewise.
39741 (nlink_t): Likewise.
39742 (blkcnt_t): Likewise.
39743 (blkcnt64_t): Likewise.
39744 * manual/llio.texi (off_t): Likewise.
39747 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39748 (__ieee754_exp): Save and restore rounding mode and use
39749 round-to-nearest for all computations.
39750 * math/libm-test.inc (exp_test_tonearest): New function.
39751 (exp_test_towardzero): Likewise.
39752 (exp_test_downward): Likewise.
39753 (exp_test_upward): Likewise.
39754 (main): Call the new functions.
39755 * sysdeps/i386/fpu/libm-test-ulps: Update.
39756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39758 2012-03-01 Chris Demetriou <cgd@google.com>
39760 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39761 have predictable order.
39763 2012-03-01 David S. Miller <davem@davemloft.net>
39765 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39767 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39768 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39769 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39770 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39772 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39773 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39774 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39776 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39777 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39778 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39779 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39780 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39784 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39785 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39786 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39788 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39789 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39790 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39791 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39792 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39795 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39796 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39797 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39798 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39801 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39802 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39804 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39805 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39806 * sysdeps/sparc/elf/configure: Regenerated.
39808 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39810 * configure.in (AS, LD): Require binutils 2.20 or later.
39811 * configure: Regenerated.
39812 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39813 as required minimum version.
39814 * INSTALL: Regenerated.
39818 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39819 before squaring exponent.
39820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39821 bottom long double and 27 bits of top long double before squaring
39823 * math/libm-test.inc (erfc_test): Add more tests.
39824 * sysdeps/i386/fpu/libm-test-ulps: Update.
39825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39828 2012-03-01 Kai Tietz <ktietz@redhat.com>
39830 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39831 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39832 containing bit-fields.
39833 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39834 * soft-fp/single.h (_FP_UNION_S): Likewise.
39835 * soft-fp/double.h (_FP_UNION_D): Likewise.
39837 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39840 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39841 not include ../strcmp.S.
39842 [USE_AS_STRNCASECMP_L]: Likewise.
39843 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39844 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39845 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39846 (__strncasecmp_l_ia32): Define as alias to
39847 __strncasecmp_l_nonascii.
39850 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39851 * sysdeps/i386/fpu/libm-test-ulps: Update.
39852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39854 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39857 2012-02-29 Jeff Law <law@redhat.com>
39859 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39860 out of bounds read.
39862 2012-02-29 Marek Polacek <polacek@redhat.com>
39865 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39866 * elf/Makefile: Add rules to run tst-unused-dep.out.
39868 2012-02-28 David S. Miller <davem@davemloft.net>
39870 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39871 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39874 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39875 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39877 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39879 * math/libm-test.inc (llround_test): Move one test from
39880 lround_test. Use TEST_f_L in moved test.
39881 (lround_test): Move misplaced test to llround_test. Add testcase
39884 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39886 * sysdeps/x86_64/fpu/e_expf.S: New file.
39887 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39889 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39892 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39893 of remain_len that may cause incomplete multi-byte character and
39895 * posix/bug-regex33.c: New file.
39896 * posix/Makefile (tests): Add bug-regex33.
39898 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39900 * manual/macros.texi: New file.
39901 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39902 * manual/libc.texinfo: Include macros.texi.
39903 * manual/creatute.texi: Likewise.
39904 * manual/install.texi: Likewise.
39905 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39906 @glibcadj{} in references to the GNU C Library.
39907 * manual/charset.texi: Likewise.
39908 * manual/conf.texi: Likewise.
39909 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39910 when not using those macros.
39911 * manual/creature.texi: Likewise.
39912 * manual/crypt.texi: Likewise.
39913 * manual/errno.texi: Likewise.
39914 * manual/filesys.texi: Likewise.
39915 * manual/header.texi: Likewise.
39916 * manual/install.texi: Likewise.
39917 * manual/intro.texi: Likewise.
39918 * manual/io.texi: Likewise.
39919 * manual/job.texi: Likewise.
39920 * manual/lang.texi: Likewise.
39921 * manual/libc.texiinfo: Likewise.
39922 * manual/llio.texi: Likewise.
39923 * manual/locale.texi: Likewise.
39924 * manual/maint.texi: Likewise.
39925 * manual/math.texi: Likewise.
39926 * manual/memory.texi: Likewise.
39927 * manual/message.texi: Likewise.
39928 * manual/nss.texi: Likewise.
39929 * manual/pattern.texi: Likewise.
39930 * manual/process.texi: Likewise.
39931 * manual/resource.texi: Likewise.
39932 * manual/search.texi: Likewise.
39933 * manual/setjmp.texi: Likewise.
39934 * manual/signal.texi: Likewise.
39935 * manual/socket.texi: Likewise.
39936 * manual/startup.texi: Likewise.
39937 * manual/stdio.texi: Likewise.
39938 * manual/string.texi: Likewise.
39939 * manual/sysinfo.texi: Likewise.
39940 * manual/syslog.texi: Likewise.
39941 * manual/terminal.texi: Likewise.
39942 * manual/time.texi: Likewise.
39943 * manual/users.texi: Likewise.
39944 * INSTALL: Regenerated.
39945 * NOTES: Regenerated.
39946 * sysdeps/gnu/errlist.c: Regenerated.
39948 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39950 * include/dirent.h: Include <dirstream.h> before
39953 2012-02-28 David S. Miller <davem@davemloft.net>
39955 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39956 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39957 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39958 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39960 2012-02-27 David S. Miller <davem@davemloft.net>
39962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39964 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39965 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39968 frame pointer instead of stack pointer relative arg slot.
39969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39973 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39976 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39978 2012-02-27 David S. Miller <davem@davemloft.net>
39980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39984 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39985 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39986 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39987 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39989 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39991 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39992 later. Allow versions 5-9.
39993 * configure: Regenerated.
39994 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39995 required minimum version and 4.6 as recommended version. Do not
39996 mention bugs in GCC 2.7 and 2.8.
39997 * INSTALL: Regenerated.
39999 2012-02-27 David S. Miller <davem@davemloft.net>
40001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40005 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40006 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40007 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40008 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40011 manipulate bits before adding and subtracting TWO112[sx].
40012 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40014 2012-02-27 Roland McGrath <roland@hack.frob.com>
40017 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40018 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40019 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40020 being in POSIX, because they are in 1003.1-2008.
40022 * rt/tst-aio.c: Include <fcntl.h>.
40023 * rt/tst-aio7.c: Likewise.
40024 * rt/tst-aio64.c: Likewise.
40026 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40028 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40030 * manual/install.texi (--with-headers): Describe headers as
40031 interface headers, not private headers.
40032 (Specific advice for GNU/Linux systems): Describe use of headers
40033 from "make headers_install", not private headers from older
40035 * INSTALL: Regenerated.
40036 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40038 * sysdeps/unix/sysv/linux/configure: Regenerated.
40040 * manual/llio.texi (fclean): Remove documentation.
40042 * manual/Makefile (libc-texi-generated): New variable. Include
40044 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40045 $(libc-texi-generated), not duplicated list of files.
40046 (version.texi, stamp-version): New rules.
40047 (realclean): Remove $(libc-texi-generated), not individual files
40048 from that list. Do not remove dir-add.texinfo.
40049 * manual/libc.texinfo: Comment out uses of edition numbers and
40050 references to printed manual. Remove last-updated dates.
40051 (EDITION): Comment out.
40053 (VERSION, UPDATED): Remove.
40054 (version.texi): Include.
40056 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40058 * sysdeps/posix/spawni.c: Include <signal.h>.
40059 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40060 * sysdeps/pthread/aio_fsync.c: Likewise.
40062 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40064 * conform/Makefile (tests): Run only when not cross-compiling and
40065 when fast-check is not defined.
40067 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40068 * conform/data/limits.h-data: Fixes for POSIX2008.
40069 * conform/run-conformtest.sh: Run all tests.
40070 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40072 * include/bits/dlfcn.h: Likewise.
40073 * include/langinfo.h: Likewise.
40074 * include/monetary.h: Likewise.
40075 * include/sys/poll.h: Likewise.
40077 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40079 * posix/spawn.h: Define __need_sigset_t.
40080 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40081 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40082 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40083 to get sigevent_t only.
40084 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40085 only for __USE_GNU.
40086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40087 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40088 process_vm_writev only for __USE_GNU.
40089 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40091 * conform/Makefile: For now ignore errors from run-conformtest.
40092 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40093 POSIX to avoid namespace pollution. Don't prepend headers.
40094 * conform/data/aio.h-data: Fixes for POSIX testing.
40095 * conform/data/fcntl.h-data: Likewise.
40096 * conform/data/glob.h-data: Likewise.
40097 * conform/data/grp.h-data: Likewise.
40098 * conform/data/pthread.h-data: Likewise.
40099 * conform/data/pwd.h-data: Likewise.
40100 * conform/data/signal.h-data: Likewise.
40101 * conform/data/spawn.h-data: Likewise.
40102 * conform/data/stdio.h-data: Likewise.
40103 * conform/data/stdlib.h-data: Likewise.
40104 * conform/data/stropts.h-data: Likewise.
40105 * conform/data/sys/mman.h-data: Likewise.
40106 * conform/data/sys/stat.h-data: Likewise.
40107 * conform/data/sys/types.h-data: Likewise.
40108 * conform/data/sys/wait.h-data: Likewise.
40109 * conform/data/time.h-data: Likewise.
40110 * conform/data/unistd.h-data: Likewise.
40111 * conform/data/utime.h-data: Likewise.
40113 * io/sys/stat.h: fchmod was always in POSIX.
40114 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40115 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40116 * rt/aio.h: Define __need_timespec before including <time.h>.
40117 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40118 struct. Add forward declaration of pthread_attr_t and use it in
40120 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40122 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40123 always remove CLK_TCK definition.
40125 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40127 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40129 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40131 * conform/run-conformtest.sh: New file.
40132 * conform/Makefile: Run run-conformtest for tests.
40133 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40136 * conform/data/uchar.h-data: New file.
40137 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40138 * conform/data/arpa/inet.h-data: Likewise.
40139 * conform/data/assert.h-data: Likewise.
40140 * conform/data/complex.h-data: Likewise.
40141 * conform/data/cpio.h-data: Likewise.
40142 * conform/data/ctype.h-data: Likewise.
40143 * conform/data/dirent.h-data: Likewise.
40144 * conform/data/dlfcn.h-data: Likewise.
40145 * conform/data/errno.h-data: Likewise.
40146 * conform/data/fcntl.h-data: Likewise.
40147 * conform/data/float.h-data: Likewise.
40148 * conform/data/fmtmsg.h-data: Likewise.
40149 * conform/data/fnmatch.h-data: Likewise.
40150 * conform/data/ftw.h-data: Likewise.
40151 * conform/data/glob.h-data: Likewise.
40152 * conform/data/grp.h-data: Likewise.
40153 * conform/data/iconv.h-data: Likewise.
40154 * conform/data/inttypes.h-data: Likewise.
40155 * conform/data/langinfo.h-data: Likewise.
40156 * conform/data/libgen.h-data: Likewise.
40157 * conform/data/limits.h-data: Likewise.
40158 * conform/data/locale.h-data: Likewise.
40159 * conform/data/math.h-data: Likewise.
40160 * conform/data/monetary.h-data: Likewise.
40161 * conform/data/mqueue.h-data: Likewise.
40162 * conform/data/ndbm.h-data: Likewise.
40163 * conform/data/net/if.h-data: Likewise.
40164 * conform/data/netdb.h-data: Likewise.
40165 * conform/data/netinet/in.h-data: Likewise.
40166 * conform/data/nl_types.h-data: Likewise.
40167 * conform/data/poll.h-data: Likewise.
40168 * conform/data/pthread.h-data: Likewise.
40169 * conform/data/pwd.h-data: Likewise.
40170 * conform/data/regex.h-data: Likewise.
40171 * conform/data/sched.h-data: Likewise.
40172 * conform/data/search.h-data: Likewise.
40173 * conform/data/semaphore.h-data: Likewise.
40174 * conform/data/setjmp.h-data: Likewise.
40175 * conform/data/signal.h-data: Likewise.
40176 * conform/data/spawn.h-data: Likewise.
40177 * conform/data/stdarg.h-data: Likewise.
40178 * conform/data/stdio.h-data: Likewise.
40179 * conform/data/stdlib.h-data: Likewise.
40180 * conform/data/string.h-data: Likewise.
40181 * conform/data/strings.h-data: Likewise.
40182 * conform/data/stropts.h-data: Likewise.
40183 * conform/data/sys/ipc.h-data: Likewise.
40184 * conform/data/sys/mman.h-data: Likewise.
40185 * conform/data/sys/msg.h-data: Likewise.
40186 * conform/data/sys/resource.h-data: Likewise.
40187 * conform/data/sys/select.h-data: Likewise.
40188 * conform/data/sys/sem.h-data: Likewise.
40189 * conform/data/sys/shm.h-data: Likewise.
40190 * conform/data/sys/socket.h-data: Likewise.
40191 * conform/data/sys/stat.h-data: Likewise.
40192 * conform/data/sys/statvfs.h-data: Likewise.
40193 * conform/data/sys/time.h-data: Likewise.
40194 * conform/data/sys/timeb.h-data: Likewise.
40195 * conform/data/sys/times.h-data: Likewise.
40196 * conform/data/sys/types.h-data: Likewise.
40197 * conform/data/sys/uio.h-data: Likewise.
40198 * conform/data/sys/un.h-data: Likewise.
40199 * conform/data/sys/utsname.h-data: Likewise.
40200 * conform/data/sys/wait.h-data: Likewise.
40201 * conform/data/syslog.h-data: Likewise.
40202 * conform/data/tar.h-data: Likewise.
40203 * conform/data/termios.h-data: Likewise.
40204 * conform/data/utime.h-data: Likewise.
40205 * conform/data/utmpx.h-data: Likewise.
40206 * conform/data/varargs.h-data: Likewise.
40207 * conform/data/wchar.h-data: Likewise.
40208 * conform/data/wctype.h-data: Likewise.
40209 * conform/data/wordexp.h-data: Likewise.
40211 * include/stropts.h: New file.
40212 * include/uchar.h: New file.
40213 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40214 * include/assert.h: Likewise.
40215 * include/ctype.h: Likewise.
40216 * include/dirent.h: Likewise.
40217 * include/dlfcn.h: Likewise.
40218 * include/fcntl.h: Likewise.
40219 * include/fnmatch.h: Likewise.
40220 * include/glob.h: Likewise.
40221 * include/grp.h: Likewise.
40222 * include/libio.h: Likewise.
40223 * include/locale.h: Likewise.
40224 * include/math.h: Likewise.
40225 * include/net/if.h: Likewise.
40226 * include/netdb.h: Likewise.
40227 * include/netinet/in.h: Likewise.
40228 * include/pthread.h: Likewise.
40229 * include/pwd.h: Likewise.
40230 * include/regex.h: Likewise.
40231 * include/sched.h: Likewise.
40232 * include/search.h: Likewise.
40233 * include/setjmp.h: Likewise.
40234 * include/signal.h: Likewise.
40235 * include/stdio.h: Likewise.
40236 * include/stdlib.h: Likewise.
40237 * include/string.h: Likewise.
40238 * include/sys/cdefs.h: Likewise.
40239 * include/sys/mman.h: Likewise.
40240 * include/sys/msg.h: Likewise.
40241 * include/sys/resource.h: Likewise.
40242 * include/sys/select.h: Likewise.
40243 * include/sys/socket.h: Likewise.
40244 * include/sys/stat.h: Likewise.
40245 * include/sys/statvfs.h: Likewise.
40246 * include/sys/time.h: Likewise.
40247 * include/sys/times.h: Likewise.
40248 * include/sys/uio.h: Likewise.
40249 * include/sys/utsname.h: Likewise.
40250 * include/sys/wait.h: Likewise.
40251 * include/termios.h: Likewise.
40252 * include/time.h: Likewise.
40253 * include/ulimit.h: Likewise.
40254 * include/unistd.h: Likewise.
40255 * include/utime.h: Likewise.
40256 * include/wchar.h: Likewise.
40257 * include/wctype.h: Likewise.
40258 * include/wordexp.h: Likewise.
40260 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40262 * time/time.h: TIME_UTC must be a macro.
40263 Make timespec_get available for ISO C11 only as well.
40265 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40267 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40268 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40270 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40272 * configure.in: Use -o not -a in test for unsupported multi-arch.
40274 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40276 * manual/texinfo.tex: Update to version 2012-01-19.16.
40278 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40280 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40282 2012-02-24 Roland McGrath <roland@hack.frob.com>
40285 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40286 * manual/fdl-1.3.texi: New file.
40287 * manual/fdl-1.1.texi: File removed.
40290 * manual/libc.texinfo (FDL_VERSION): New @set.
40291 Use it for mention of FDL in cover text.
40292 (Documentation License): Use it in @include file name.
40294 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40295 Roland McGrath <roland@hack.frob.com>
40298 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40299 (not LONG_LONG_MAX and LONG_LONG_MIN.
40300 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40301 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40303 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40305 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40309 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40310 manipulate bits before adding and subtracting TWO23[sx].
40311 * math/libm-test.inc (nearbyint_test): Add more tests.
40313 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40316 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40317 bits before adding and subtracting TWO23[sx].
40318 * math/libm-test.inc (rint_test): Add more tests.
40319 (rint_test_tonearest): Likewise.
40320 (rint_test_towardzero): Likewise.
40321 (rint_test_downward): Likewise.
40322 (rint_test_upward: Likewise.
40324 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40327 * include/stdc-predef.h: New file. Extracted from features.h.
40328 * include/features.h: Include stdc-predef.h.
40329 * Makefile (headers): Add stdc-predef.h.
40330 * CONFORMANCE (Compiler limitations): Update.
40332 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40334 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40336 2012-02-21 David S. Miller <davem@davemloft.net>
40338 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40339 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40341 2012-02-20 David S. Miller <davem@davemloft.net>
40343 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40344 using a normal save/restore sequence, rather than allocating a
40345 dummy stack frame just to store a frame pointer and restore.
40346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40348 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40350 * manual/install.texi: Fix stray word in line-wrapped comment.
40352 2012-02-20 David S. Miller <davem@davemloft.net>
40354 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40355 both binutils and gcc support GOTDATA.
40357 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40358 "rd %pc" in the PIC register setup sequences.
40360 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40361 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40362 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40363 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40364 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40366 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40367 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40369 (SYSCALL_ERROR_HANDLER): Likewise.
40370 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40371 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40373 (SYSCALL_ERROR_HANDLER): Likewise.
40375 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40376 (HAVE_GCC_GOTDATA): New.
40377 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40378 relocation support in both binutils and gcc.
40379 * sysdeps/sparc/elf/configure: Regenerate.
40381 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40382 * sysdeps/sparc/sparc32/elf/configure: Delete.
40383 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40384 * sysdeps/sparc/sparc64/elf/configure: Delete.
40385 * sysdeps/sparc/elf/configure.in: New file.
40386 * sysdeps/sparc/elf/configure: Generate.
40388 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40389 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40390 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40391 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40392 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40394 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40396 * manual/install.texi: Do not mention specific glibc version
40398 * manual/libc.texinfo (VERSION, UPDATED): Update.
40399 (@copying): Use @copyright{} and range of years.
40401 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40404 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40405 [crti.S not in sysdirs] (generated): Do not append.
40406 [crti.S not in sysdirs] (omit-deps): Likewise.
40407 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40408 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40409 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40410 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40411 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40413 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40414 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40415 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40416 * csu/defs.awk: Remove file.
40417 * sysdeps/generic/initfini.c: Likewise.
40418 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40420 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40423 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40425 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40426 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40427 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40428 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40429 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40430 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40432 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40433 (__EPOLL_PACKED): Define to empty if not defined by
40435 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40439 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40441 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40442 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40443 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40444 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40446 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40450 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40452 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40454 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40455 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40456 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40459 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40462 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40464 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40466 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40467 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40469 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40471 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40474 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40476 * math/w_acos.c: Use non-signaling floating-point comparisons.
40477 * math/w_acosf.c: Likewise.
40478 * math/w_acosh.c: Likewise.
40479 * math/w_acoshf.c: Likewise.
40480 * math/w_acoshl.c: Likewise.
40481 * math/w_acosl.c: Likewise.
40482 * math/w_asin.c: Likewise.
40483 * math/w_asinf.c: Likewise.
40484 * math/w_asinl.c: Likewise.
40485 * math/w_atanh.c: Likewise.
40486 * math/w_atanhf.c: Likewise.
40487 * math/w_atanhl.c: Likewise.
40488 * math/w_exp2.c: Likewise.
40489 * math/w_exp2f.c: Likewise.
40490 * math/w_exp2l.c: Likewise.
40491 * math/w_j0.c: Likewise.
40492 * math/w_j0f.c: Likewise.
40493 * math/w_j0l.c: Likewise.
40494 * math/w_j1.c: Likewise.
40495 * math/w_j1f.c: Likewise.
40496 * math/w_j1l.c: Likewise.
40497 * math/w_jn.c: Likewise.
40498 * math/w_jnf.c: Likewise.
40499 * math/w_log.c: Likewise.
40500 * math/w_log10.c: Likewise.
40501 * math/w_log10f.c: Likewise.
40502 * math/w_log10l.c: Likewise.
40503 * math/w_log2.c: Likewise.
40504 * math/w_log2f.c: Likewise.
40505 * math/w_log2l.c: Likewise.
40506 * math/w_logf.c: Likewise.
40507 * math/w_logl.c: Likewise.
40508 * math/w_sqrt.c: Likewise.
40509 * math/w_sqrtf.c: Likewise.
40510 * math/w_sqrtl.c: Likewise.
40511 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40512 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40513 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40514 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40515 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40517 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40520 * manual/string.texi (strnlen): Use correct parameter name in
40521 equivalent expression.
40523 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40526 * manual/users.texi (seteuid): Consistently use neweuid for
40529 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40532 * manual/nss.texi (Services in the NSS configuration): Correct
40533 list of services in example configuration file.
40535 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40538 * manual/arith.texi: Remove statements about negative zero
40539 behaving identically to zero.
40541 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40544 * manual/install.texi: Do not document upgrading from libc5.
40546 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40549 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40551 2012-02-18 David S. Miller <davem@davemloft.net>
40553 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40554 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40555 %o7 across the call.
40556 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40559 SETUP_PIC_REG_LEAF.
40560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40561 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40562 * sysdeps/sparc/crtn.S: Likewise.
40564 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40566 * aout/Makefile: Remove.
40568 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40571 * manual/examples/argp-ex1.c (main): Format definition in GNU
40573 * manual/examples/argp-ex2.c (main): Likewise.
40574 * manual/examples/argp-ex3.c (main): Likewise.
40575 * manual/examples/argp-ex4.c (main): Likewise.
40576 * manual/examples/longopt.c (main): Use new-style prototype
40578 * manual/examples/strncat.c (main): Specify return type and use
40579 (void) for arguments.
40580 * manual/examples/subopt.c (main): Use char **argv argument.
40582 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40585 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40588 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40591 * manual/string.texi (strchr): Change when strchrnul is
40594 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40597 * manual/locale.texi (setlocale): Document LOCPATH.
40599 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40602 * manual/process.texi (execle): Move @dots{} before last argument.
40604 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40607 * manual/charset.texi (Generic Charset Conversion): Fix typo
40608 (LC_TYPE -> LC_CTYPE).
40610 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40613 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40614 (scalbnf): Likewise.
40615 (scalbnl): Likewise.
40616 (scalbln): Likewise.
40617 (scalblnf): Likewise.
40618 (scalblnl): Likewise.
40619 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40620 (vwarnx): Likewise.
40623 * manual/filesys.texi (telldir): Use braces around return type.
40624 * manual/llio.texi (mmap): Add space after comma.
40625 (mmap64): Likewise.
40626 * manual/math.texi (jn): Use @var{} on parameter names.
40632 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40634 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40636 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40637 (sched_get_priority_max): Likewise.
40638 * manual/signal.texi (sigvec): Add space after comma.
40639 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40641 (if_indextoname): Likewise.
40642 (if_freenameindex): Likewise.
40643 (sendto): Use ',' instead of '.' in prototype.
40644 * manual/startup.texi (syscall): Use @dots{} instead of literal
40646 * manual/stdio.texi (__fpending): Separate initial words of
40647 paragraph from @deftypefun line.
40648 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40650 (vsyslog): Use @var{} on parameter names.
40651 * manual/terminal.texi (stty): Use @var{} on parameter names.
40652 * manual/users.texi (getutmp): Use @var{} on parameter names.
40653 (getutmpx): Likewise.
40655 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40658 * manual/stdio.texi (fopen): Fix typos in description of
40661 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40664 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40665 get clock_id definition.
40667 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40670 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40671 (madvise): Cast every argument to void on its own.
40673 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40676 * manual/startup.texi (Exit Status): Fix typo.
40678 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40681 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40682 * manual/examples/argp-ex2.c: Likewise.
40683 * manual/examples/argp-ex3.c: Likewise.
40685 2012-02-16 Richard Henderson <rth@redhat.com>
40687 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40688 * sysdeps/s390/s390-32/initfini.c: Remove.
40689 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40690 * sysdeps/s390/s390-64/initfini.c: Remove.
40692 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40694 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40695 compiler output for sysdeps/generic/initfini.c.
40696 * sysdeps/sh/elf/initfini.c: Remove file.
40698 2012-02-16 David S. Miller <davem@davemloft.net>
40701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40703 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40704 * sysdeps/sparc/crti.S: New file.
40705 * sysdeps/sparc/crtn.S: New file.
40706 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40707 * sysdeps/sparc/sparc64/Makefile: Likewise.
40709 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40712 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40714 2012-02-15 Roland McGrath <roland@hack.frob.com>
40717 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40719 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40720 (write, read, close): Likewise.
40721 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40723 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40725 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40726 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40727 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40728 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40730 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40734 2012-02-14 Marek Polacek <polacek@redhat.com>
40736 * sysdeps/x86_64/crti.S: New file.
40737 * sysdeps/x86_64/crtn.S: New file.
40738 * sysdeps/x86_64/elf/initfini.c: Remove file.
40740 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40742 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40743 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40744 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40745 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40747 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40751 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40753 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40754 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40755 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40756 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40758 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40762 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40764 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40765 __feraiseexcept instead of feraiseexcept.
40767 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40768 nanosleep invocations.
40769 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40770 strings, and add error checking for a nanosleep invocations.
40772 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40774 Replace FSF snail mail address with URLs, as per GNU coding standards.
40775 Most of the snail mail addresses were wrong anyway, and omitting
40776 them makes the source code easier to maintain. Almost all of the
40777 changes are to license notices and to locale LC_IDENTIFICATION
40778 addresses, except for this one:
40779 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40780 not its snail mail address.
40782 2012-02-09 Richard Henderson <rth@twiddle.net>
40784 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40785 of kernel-features.h.
40787 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40789 2012-02-08 Marek Polacek <polacek@redhat.com>
40791 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40792 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40793 * sysdeps/gnu/_G_config.h: Likewise.
40794 * sysdeps/generic/_G_config.h: Likewise.
40796 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40798 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40802 * sysdeps/powerpc/powerpc32/crti.S: New file.
40803 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40804 * sysdeps/powerpc/powerpc64/crti.S: New file.
40805 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40807 * Makeconfig (have-initfini): Don't set.
40808 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40809 * configure.in (nopic_initfini): Don't substitute.
40810 * config.h.in (HAVE_INITFINI): Don't #undef.
40811 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40812 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40814 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40816 Support crti.S and crtn.S provided directly by architectures.
40817 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40818 [crti.S in sysdirs] (omit-deps): Likewise.
40819 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40820 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40821 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40822 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40823 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40824 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40825 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40826 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40827 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40828 compiler output for sysdeps/generic/initfini.c.
40829 * sysdeps/i386/elf/Makefile: Remove file.
40830 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40832 2012-02-07 Marek Polacek <polacek@redhat.com>
40834 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40835 * sysdeps/gnu/_G_config.h: Likewise.
40836 * sysdeps/mach/hurd/_G_config.h: Likewise.
40838 2012-02-07 Marek Polacek <polacek@redhat.com>
40840 * math/Makefile (tests): Add tst-CMPLX2.
40841 * math/tst-CMPLX2.c: New file.
40843 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40845 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40847 * math/libm-test.inc (jn_test): Add missing L suffix.
40849 2012-02-06 Marek Polacek <polacek@redhat.com>
40851 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40852 * sysdeps/i386/fpu/e_powf.S: Likewise.
40853 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40854 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40855 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40856 * sysdeps/i386/fpu/e_pow.S: Likewise.
40857 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40859 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40860 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40861 * sysdeps/i386/fpu/e_log2.S: Likewise.
40862 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40864 * sysdeps/i386/fpu/e_powl.S: Likewise.
40865 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40866 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40867 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40868 * sysdeps/i386/fpu/e_logl.S: Likewise.
40869 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40870 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40871 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40872 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40873 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40874 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40875 * sysdeps/i386/fpu/e_log.S: Likewise.
40876 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40877 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40878 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40879 * sysdeps/i386/fpu/e_logf.S: Likewise.
40880 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40881 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40882 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40883 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40884 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40885 * sysdeps/i386/fpu/e_log10.S: Likewise.
40886 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40887 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40888 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40889 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40890 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40891 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40892 * sysdeps/i386/asm-syntax.h: Likewise.
40893 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40894 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40895 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40896 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40897 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40898 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40899 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40900 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40901 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40902 * sysdeps/powerpc/sysdep.h: Likewise.
40903 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40904 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40906 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40909 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40911 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40913 * sysdeps/i386/sysdep.h: Include <features.h>.
40914 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40917 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40919 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40921 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40924 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40926 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40927 (SETUP_PIC_REG): Use GET_PC_THUNK.
40928 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40931 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40933 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40934 for non-PIC compilation.
40935 (SETUP_PIC_REG): Add .p2align directive.
40936 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40937 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40938 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40939 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40940 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40941 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40942 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40943 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40944 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40945 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40946 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40947 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40948 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40949 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40950 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40951 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40952 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40953 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40954 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40955 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40956 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40958 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40959 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40960 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40961 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40962 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40964 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40965 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40966 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40968 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40971 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40972 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40973 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40974 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40975 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40976 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40978 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40980 * math/tst-CMPLX.c: Include <stdio.h>.
40982 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40984 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40986 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40987 * sysdeps/sparc/bits/mathdef.h: Likewise.
40989 2012-01-31 Marek Polacek <polacek@redhat.com>
40991 * libio/libio.h: Don't define _PARAMS.
40992 * locale/programs/config.h: Don't define PARAMS.
40993 * stdlib/strtol_l.c: Likewise.
40994 (__strtol_l): Remove PARAMS from the prototype.
40996 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40998 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40999 names. Just use the correct names. Remove unnecessary wrapper
41001 * malloc/arena.c: Likewise.
41002 * malloc/hooks.c: Likewise.
41004 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41005 ARENA_TEST says not to. Simplify test for creation of a new arena.
41006 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41008 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41010 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41012 (update_get_addr): New function.
41013 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41014 GET_ADDR_MODULE parameter.
41016 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41018 * crypt/cert.c: Remove __STDC__ conditionals.
41019 * crypt/crypt-entry.c: Likewise.
41020 * crypt/crypt_util.c: Likewise.
41021 * libio/filedoalloc.c: Likewise.
41022 * libio/fileops.c: Likewise.
41023 * libio/genops.c: Likewise.
41024 * libio/iofclose.c: Likewise.
41025 * libio/iofdopen.c: Likewise.
41026 * libio/iofopen.c: Likewise.
41027 * libio/iofopen64.c: Likewise.
41028 * libio/iogetdelim.c: Likewise.
41029 * libio/iopopen.c: Likewise.
41030 * libio/obprintf.c: Likewise.
41031 * libio/oldfileops.c: Likewise.
41032 * libio/oldiofclose.c: Likewise.
41033 * libio/oldiofdopen.c: Likewise.
41034 * libio/oldiofopen.c: Likewise.
41035 * libio/oldiopopen.c: Likewise.
41036 * libio/wfiledoalloc.c: Likewise.
41037 * libio/wgenops.c: Likewise.
41038 * locale/programs/xmalloc.c: Likewise.
41039 * misc/syslog.c: Likewise.
41040 * stdio-common/xbug.c: Likewise.
41041 * string/memchr.c: Likewise.
41042 * string/memcmp.c: Likewise.
41043 * string/memrchr.c: Likewise.
41044 * string/rawmemchr.c: Likewise.
41045 * sysdeps/posix/getcwd.c: Likewise.
41046 * time/strftime_l.c: Likewise.
41048 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41050 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41051 * config.make.in (config-cflags-sse2avx): Define.
41052 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41055 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41057 * scripts/config.guess: Update from upstream config git repository.
41058 * scripts/config.sub: Likewise.
41060 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41062 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41064 (R_TILEPRO_*, R_TILEGX_*): New macros.
41066 * scripts/firstversions.awk: Fix bug in version range handling.
41068 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41070 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41072 * include/sys/epoll.h: New file.
41073 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41076 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41078 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41079 Avoid unnecessary __WORDSIZE == 64 test.
41080 (fmaxf): Use VEX format if possible.
41085 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41086 * math/math_private.h: Remove libc_fegetround* and
41088 * sysdeps/i386/configure.in: Check for -msse2avx.
41089 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41090 also if SSE2AVX is defined.
41091 Remove libc_fegetround* and libc_fesetround*.
41092 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41093 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41096 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41097 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41098 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41099 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41100 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41102 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41104 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41106 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41110 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41113 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41115 * Makeconfig (libm): Define.
41116 * elf/Makefile: Add rules to build and run tst-relsort1.
41117 * elf/tst-relsort1.c: New file.
41118 * elf/tst-relsort1mod1.c: New file.
41119 * elf/tst-relsort1mod2.c: New file.
41121 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41123 * math/s_ldexp.c: Remove __STDC__ conditionals.
41124 * math/s_ldexpf.c: Likewise.
41125 * math/s_ldexpl.c: Likewise.
41126 * math/s_nextafter.c: Likewise.
41127 * math/s_nexttowardf.c: Likewise.
41128 * math/s_significand.c: Likewise.
41129 * math/s_significandf.c: Likewise.
41130 * math/s_significandl.c: Likewise.
41131 * math/w_jnl.c: Likewise.
41132 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41133 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41134 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41135 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41136 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41137 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41138 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41139 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41140 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41141 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41142 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41147 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41148 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41149 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41158 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41159 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41160 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41161 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41162 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41163 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41164 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41165 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41166 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41167 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41168 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41169 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41170 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41171 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41172 * sysdeps/ieee754/k_standard.c: Likewise.
41173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41174 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41175 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41176 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41177 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41178 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41179 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41181 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41183 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41184 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41185 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41202 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41204 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41205 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41206 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41208 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41209 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41212 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41213 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41214 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41215 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41216 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41218 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41220 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41221 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41222 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41223 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41224 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41225 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41226 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41227 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41229 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41230 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41231 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41232 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41233 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41234 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41235 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41237 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41238 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41239 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41240 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41242 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41243 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41244 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41245 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41246 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41247 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41248 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41249 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41250 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41251 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41252 * sysdeps/ieee754/s_matherr.c: Likewise.
41253 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41254 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41258 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41260 * crypt/md5.h: Remove __STDC__ conditionals.
41261 * libio/libioP.h: Likewise.
41262 * locale/programs/config.h: Likewise.
41263 * sysdeps/generic/sysdep.h: Likewise.
41264 * sysdeps/i386/asm-syntax.h: Likewise.
41265 * sysdeps/s390/asm-syntax.h: Likewise.
41266 * sysdeps/unix/sysdep.h: Likewise.
41267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41270 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41272 * libio/libio.h: Remove __STDC__ conditionals.
41273 * malloc/obstack.h: Likewise.
41274 * math/complex.h: Likewise.
41275 * math/math.h: Likewise.
41276 * sysdeps/generic/_G_config.h: Likewise.
41277 * sysdeps/gnu/_G_config.h: Likewise.
41278 * sysdeps/mach/hurd/_G_config.h: Likewise.
41279 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41280 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41281 * sysdeps/sparc/bits/mathdef.h: Likewise.
41283 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41286 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41287 Clean up HAS_* macros.
41288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41289 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41291 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41293 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41294 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41295 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41296 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41297 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41299 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41301 * elf/tst-unique3.cc (gets): Remove declaration.
41302 * elf/tst-unique3lib.cc (gets): Likewise.
41303 * elf/tst-unique3lib2.cc (gets): Likewise.
41304 * elf/tst-unique4.cc (gets): Likewise.
41306 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41308 * include/stdio.h: Add C++ protection. Add gets declarations and
41310 * debug/tst-chk1.c: Don't declare gets here.
41311 * stdio-common/tst-gets.c: Likewise.
41313 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41315 * posix/glob: Remove directory.
41317 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41319 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41321 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41323 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41324 of the non-standard EPFNOSUPPORT.
41326 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41328 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41329 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41330 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41332 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41334 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41336 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41338 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41340 * nscd/grpcache.c (cache_addgr): Likewise.
41341 * nscd/hstcache.c (cache_addhst): Likewise.
41342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41343 * nscd/pwdcache.c (cache_addpw): Likewise.
41344 * nscd/servicescache.c (cache_addserv): Likewise.
41346 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41348 * malloc/malloc.c: Various cleanups.
41349 * malloc/hooks.c: Likewise.
41351 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41352 * stdlib/bug-fmtmsg1.c: New file.
41354 * stdlib/fmtmsg.c (init): Add missing unlock.
41355 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41357 2012-01-12 Marek Polacek <polacek@redhat.com>
41359 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41362 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41364 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41365 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41366 macro to ensure uniqueness of label name.
41367 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41368 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41370 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41372 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41374 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41375 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41376 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41379 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41381 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41383 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41384 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41385 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41387 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41389 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41390 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41391 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41392 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41394 * math/bits/math-finite.h: Add ldexp support.
41396 2012-01-10 Marek Polacek <polacek@redhat.com>
41398 * locale/programs/localedef.h (show_archive_content): Add noreturn
41401 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41403 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41405 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41407 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41409 * io/Makefile (headers): Add bits/poll2.h.
41411 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41414 typo #include statement.
41416 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41418 * include/sys/cdefs.h: Define __attribute_alloc_size.
41419 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41420 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41421 * elf/pldd.c: Likewise.
41422 * iconv/iconv_charmap.c: Likewise.
41423 * iconv/iconvconfig.c: Likewise.
41424 * iconv/strtab.c: Likewise.
41425 * locale/programs/locale.c: Likewise.
41426 * locale/programs/localedef.h: Likewise.
41427 * locale/programs/simple-hash.c: Likewise.
41428 * nscd/nscd.h: Likewise.
41429 * nss/makedb.c: Likewise.
41430 * sysdeps/generic/ldconfig.h: Likewise.
41431 * locale/programs/localedef.c: Remove xmalloc prototype.
41432 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41434 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41436 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41439 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41441 * math/Makefile (tests): Add tst-CMPLX.
41442 * math/tst-CMPLX.c: New file.
41444 * math/complex.h (CMPLXL): Fix typo.
41446 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41447 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41449 * debug/tst-chk1.c: Add poll and ppoll tests.
41450 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41451 * include/sys/poll.h: Add hidden proto for ppoll.
41452 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41453 * sysdeps/mach/hurd/ppoll.c: Likewise.
41454 * io/ppoll.c: Likewise.
41455 * debug/poll_chk.c: New file.
41456 * debug/ppoll_chk.c: New file.
41457 * include/bits/poll2.h: New file.
41458 * io/bits/poll2.h: New file.
41461 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41463 * configure.in: static is always set to yes. Remove.
41464 * config.make.in: Don't set build-static.
41465 * Makeconfig: Remove use of build-static.
41466 * dlfcn/Makefile: Likewise.
41467 * elf/Makefile: Likewise.
41468 * math/Makefile: Likewise.
41469 * misc/Makefile: Likewise.
41470 * nptl/Makefile: Likewise.
41471 * sysdeps/mach/hurd/Makefile: Likewise.
41473 * configure.in: PWD_P is not used anymore.
41474 * config.make.in: Remove PWD_P entry.
41476 * configure.in: Remove last remnants of RANLIB.
41477 No need to check for signed size_t anymore.
41478 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41480 Remove __builtin_expect test because we require at least gcc 3.4.
41481 * aclocal.m4: Likewise.
41483 * wcsmbs/mbrtoc16.c: Implement using towc function.
41484 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41485 * wcsmbs/wcsmbsload.c: Likewise.
41486 * iconv/gconv_simple.c: Likewise.
41487 * iconv/gconv_int.h: Likewise.
41488 * iconv/gconv_builtin.h: Likewise.
41489 * iconv/iconv_prog.c: Remove CHAR16 handling.
41491 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41493 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41495 * configure.in: Remove --with-elf and --enable-bounded options.
41496 Dont set base_machine for ia64. More non-ELF conditions removed.
41497 Remove testing and setting of leading underscore information.
41498 * config.make.in (build-bounded): Set to no.
41499 * config.h.in: Remove NO_UNDERSCORES entry.
41500 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41502 * csu/start.c: Remove !NO_UNDERSCORE code.
41503 * locale/localeinfo.h: Likewise.
41504 * sysdeps/generic/machine-gmon.h: Likewise.
41505 * sysdeps/generic/sysdep.h: Likewise.
41506 * sysdeps/i386/sysdep.h: Likewise.
41507 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41508 * sysdeps/mach/sysdep.h: Likewise.
41509 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41510 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41511 * sysdeps/sh/sysdep.h: Likewise.
41512 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41513 * sysdeps/unix/i386/sysdep.S: Likewise.
41514 * sysdeps/unix/sparc/start.c: Likewise.
41515 * sysdeps/unix/sparc/sysdep.S: Likewise.
41516 * sysdeps/unix/sparc/sysdep.h: Likewise.
41517 * sysdeps/unix/start.c: Likewise.
41518 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41519 * sysdeps/x86_64/sysdep.h: Likewise.
41521 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41524 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41526 * argp/argp-fmtstream.h: Use const instead __const.
41527 * argp/argp.h: Likewise.
41528 * assert/assert.h: Likewise.
41529 * bits/fenv.h: Likewise.
41530 * bits/sched.h: Likewise.
41531 * bits/sigset.h: Likewise.
41532 * bits/sigthread.h: Likewise.
41533 * catgets/nl_types.h: Likewise.
41534 * conform/data/pthread.h-data: Likewise.
41535 * crypt/crypt-private.h: Likewise.
41536 * crypt/crypt.h: Likewise.
41537 * crypt/crypt_util.c: Likewise.
41538 * ctype/ctype.h: Likewise.
41539 * debug/execinfo.h: Likewise.
41540 * debug/mbsnrtowcs_chk.c: Likewise.
41541 * debug/mbsrtowcs_chk.c: Likewise.
41542 * debug/wcsnrtombs_chk.c: Likewise.
41543 * debug/wcsrtombs_chk.c: Likewise.
41544 * debug/wcstombs_chk.c: Likewise.
41545 * dirent/dirent.h: Likewise.
41546 * dlfcn/dlfcn.h: Likewise.
41547 * elf/neededtest4.c: Likewise.
41548 * grp/grp.h: Likewise.
41549 * gshadow/gshadow.h: Likewise.
41550 * iconv/gconv.h: Likewise.
41551 * iconv/gconv_int.h: Likewise.
41552 * iconv/gconv_simple.c: Likewise.
41553 * iconv/iconv.h: Likewise.
41554 * iconv/loop.c: Likewise.
41555 * iconv/skeleton.c: Likewise.
41556 * include/aio.h: Likewise.
41557 * include/aliases.h: Likewise.
41558 * include/argz.h: Likewise.
41559 * include/arpa/inet.h: Likewise.
41560 * include/assert.h: Likewise.
41561 * include/dirent.h: Likewise.
41562 * include/dlfcn.h: Likewise.
41563 * include/execinfo.h: Likewise.
41564 * include/fcntl.h: Likewise.
41565 * include/fenv.h: Likewise.
41566 * include/glob.h: Likewise.
41567 * include/grp.h: Likewise.
41568 * include/libintl.h: Likewise.
41569 * include/mntent.h: Likewise.
41570 * include/netdb.h: Likewise.
41571 * include/pwd.h: Likewise.
41572 * include/rpc/netdb.h: Likewise.
41573 * include/sched.h: Likewise.
41574 * include/search.h: Likewise.
41575 * include/shadow.h: Likewise.
41576 * include/signal.h: Likewise.
41577 * include/stdio.h: Likewise.
41578 * include/stdlib.h: Likewise.
41579 * include/string.h: Likewise.
41580 * include/sys/socket.h: Likewise.
41581 * include/sys/stat.h: Likewise.
41582 * include/sys/statfs.h: Likewise.
41583 * include/sys/statvfs.h: Likewise.
41584 * include/sys/syslog.h: Likewise.
41585 * include/sys/time.h: Likewise.
41586 * include/sys/uio.h: Likewise.
41587 * include/time.h: Likewise.
41588 * include/unistd.h: Likewise.
41589 * include/utmp.h: Likewise.
41590 * include/wchar.h: Likewise.
41591 * include/wctype.h: Likewise.
41592 * inet/aliases.h: Likewise.
41593 * inet/arpa/inet.h: Likewise.
41594 * inet/netinet/ether.h: Likewise.
41595 * inet/netinet/in.h: Likewise.
41596 * intl/libintl.h: Likewise.
41597 * io/bits/fcntl2.h: Likewise.
41598 * io/fcntl.h: Likewise.
41599 * io/ftw.h: Likewise.
41600 * io/sys/poll.h: Likewise.
41601 * io/sys/stat.h: Likewise.
41602 * io/sys/statfs.h: Likewise.
41603 * io/sys/statvfs.h: Likewise.
41604 * io/utime.h: Likewise.
41605 * libio/bits/stdio.h: Likewise.
41606 * libio/bits/stdio2.h: Likewise.
41607 * libio/libio.h: Likewise.
41608 * libio/libioP.h: Likewise.
41609 * libio/stdio.h: Likewise.
41610 * locale/lc-ctype.c: Likewise.
41611 * locale/locale.h: Likewise.
41612 * login/utmp.h: Likewise.
41613 * malloc/arena.c: Likewise.
41614 * malloc/malloc.c: Likewise.
41615 * malloc/malloc.h: Likewise.
41616 * malloc/mcheck.c: Likewise.
41617 * malloc/mtrace.c: Likewise.
41618 * math/bits/mathcalls.h: Likewise.
41619 * math/fenv.h: Likewise.
41620 * math/math_private.h: Likewise.
41621 * misc/bits/error.h: Likewise.
41622 * misc/bits/syslog.h: Likewise.
41623 * misc/err.h: Likewise.
41624 * misc/error.h: Likewise.
41625 * misc/fstab.h: Likewise.
41626 * misc/mntent.h: Likewise.
41627 * misc/regexp.h: Likewise.
41628 * misc/search.h: Likewise.
41629 * misc/sgtty.h: Likewise.
41630 * misc/sys/mman.h: Likewise.
41631 * misc/sys/syslog.h: Likewise.
41632 * misc/sys/uio.h: Likewise.
41633 * misc/sys/xattr.h: Likewise.
41634 * misc/ttyent.h: Likewise.
41635 * nis/rpcsvc/ypclnt.h: Likewise.
41636 * nss/nss.h: Likewise.
41637 * posix/bits/unistd.h: Likewise.
41638 * posix/fnmatch.h: Likewise.
41639 * posix/glob.h: Likewise.
41640 * posix/sched.h: Likewise.
41641 * posix/spawn.h: Likewise.
41642 * posix/sys/wait.h: Likewise.
41643 * posix/unistd.h: Likewise.
41644 * posix/wordexp.h: Likewise.
41645 * pwd/pwd.h: Likewise.
41646 * resolv/netdb.h: Likewise.
41647 * resource/sys/resource.h: Likewise.
41648 * rt/aio.h: Likewise.
41649 * rt/bits/mqueue2.h: Likewise.
41650 * rt/mqueue.h: Likewise.
41651 * shadow/shadow.h: Likewise.
41652 * signal/signal.h: Likewise.
41653 * socket/send.c: Likewise.
41654 * socket/sendto.c: Likewise.
41655 * socket/sys/socket.h: Likewise.
41656 * stdio-common/printf.h: Likewise.
41657 * stdlib/bits/stdlib.h: Likewise.
41658 * stdlib/fmtmsg.h: Likewise.
41659 * stdlib/monetary.h: Likewise.
41660 * stdlib/stdlib.h: Likewise.
41661 * stdlib/ucontext.h: Likewise.
41662 * streams/stropts.h: Likewise.
41663 * string/argz.h: Likewise.
41664 * string/bits/string2.h: Likewise.
41665 * string/string.h: Likewise.
41666 * string/strings.h: Likewise.
41667 * sunrpc/rpc/auth.h: Likewise.
41668 * sunrpc/rpc/auth_des.h: Likewise.
41669 * sunrpc/rpc/clnt.h: Likewise.
41670 * sunrpc/rpc/netdb.h: Likewise.
41671 * sunrpc/rpc/pmap_clnt.h: Likewise.
41672 * sunrpc/rpc/xdr.h: Likewise.
41673 * sysdeps/generic/inttypes.h: Likewise.
41674 * sysdeps/generic/net/if.h: Likewise.
41675 * sysdeps/generic/sys/swap.h: Likewise.
41676 * sysdeps/gnu/net/if.h: Likewise.
41677 * sysdeps/gnu/utmpx.h: Likewise.
41678 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41679 * sysdeps/i386/i486/bits/string.h: Likewise.
41680 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41681 * sysdeps/s390/bits/string.h: Likewise.
41682 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41683 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41684 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41685 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41686 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41687 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41688 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41689 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41690 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41691 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41692 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41693 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41694 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41695 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41696 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41697 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41698 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41700 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41701 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41702 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41703 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41704 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41705 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41706 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41707 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41708 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41709 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41710 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41711 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41712 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41713 * sysvipc/sys/ipc.h: Likewise.
41714 * sysvipc/sys/msg.h: Likewise.
41715 * sysvipc/sys/sem.h: Likewise.
41716 * sysvipc/sys/shm.h: Likewise.
41717 * termios/termios.h: Likewise.
41718 * time/sys/time.h: Likewise.
41719 * time/time.h: Likewise.
41720 * wcsmbs/bits/wchar2.h: Likewise.
41721 * wcsmbs/uchar.h: Likewise.
41722 * wcsmbs/wchar.h: Likewise.
41723 * wctype/wctype.h: Likewise.
41726 * Makeconfig: Remove all but ELF support including AIX support.
41727 * Makerules: Likewise.
41728 * config.h.in: Likewise.
41729 * config.make.in: Likewise.
41730 * configure: Likewise.
41731 * configure.in: Likewise.
41732 * csu/Makefile: Likewise.
41733 * csu/version.c: Likewise.
41734 * debug/Makefile: Likewise.
41735 * dlfcn/Makefile: Likewise.
41736 * elf/Makefile: Likewise.
41737 * extra-lib.mk: Likewise.
41738 * iconv/Makefile: Likewise.
41739 * include/libc-symbols.h: Likewise.
41740 * include/shlib-compat.h: Likewise.
41741 * resolv/Makefile: Likewise.
41742 * resolv/res_libc.c: Likewise.
41743 * rt/Makefile: Likewise.
41744 * sysdeps/i386/asm-syntax.h: Likewise.
41745 * sysdeps/i386/sysdep.h: Likewise.
41746 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41747 * sysdeps/mach/sysdep.h: Likewise.
41748 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41749 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41750 * sysdeps/s390/asm-syntax.h: Likewise.
41751 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41753 * sysdeps/sh/sysdep.h: Likewise.
41754 * sysdeps/unix/sparc/sysdep.h: Likewise.
41755 * sysdeps/wordsize-32/divdi3.c: Likewise.
41756 * sysdeps/x86_64/sysdep.h: Likewise.
41758 * argp/Versions: Remove _argp_unlock_xxx.
41761 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41762 * abilist/libBrokenLocale.abilist: Likewise.
41763 * abilist/libanl.abilist: Likewise.
41764 * abilist/libc.abilist: Likewise.
41765 * abilist/libcrypt.abilist: Likewise.
41766 * abilist/libdl.abilist: Likewise.
41767 * abilist/libm.abilist: Likewise.
41768 * abilist/libnsl.abilist: Likewise.
41769 * abilist/libpthread.abilist: Likewise.
41770 * abilist/libresolv.abilist: Likewise.
41771 * abilist/librt.abilist: Likewise.
41772 * abilist/libthread_db.abilist: Likewise.
41773 * abilist/libutil.abilist: Likewise.
41774 * abilist/libnss_db.abilist: New file.
41776 * scripts/abilist.awk: Add support for indirect functions.
41778 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41780 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41782 * shlib-versions: Remove entries for ports architectures.
41784 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41786 * elf/stackguard-macros.h: Remove support for IA-64.
41787 * elf/tst-auditmod1.c: Likewise.
41788 * sysdeps/generic/ldsodefs.h: Likewise.
41790 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41791 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41795 * configure.in: Remove --enable-omitfp support.
41797 * config.make.in: Likewise.
41798 * Makeconfig: Likewise.
41799 * manual/install.texi: Likewise.
41801 In case anyone cares, the IA-64 architecture could move to ports.
41802 * sysdeps/ia64/*: Removed.
41803 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41804 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41807 * configure.in: Remove entries for unsupported architectures.
41810 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41811 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41813 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41814 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41815 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41816 fall back to using wcrtomb.
41817 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41818 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41820 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41821 * wcsmbs/tst-c16c32-1.c: New file.
41823 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41826 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41828 * elf/tst-unique3.cc: Add explicit declaration of gets.
41829 * elf/tst-unique3lib.cc: Likewise.
41830 * elf/tst-unique3lib2.cc: Likewise.
41831 * elf/tst-unique4.cc: Likewise.
41833 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41835 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41838 * assert/assert.h (static_assert): Don't define for C++.
41839 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41840 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41842 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41844 * iconv/loop.c (single loop): Fix assertion in storing of
41847 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41849 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41851 * posix/getconf.c: Update copyright year.
41852 * nss/getent.c: Likewise.
41853 * nss/makedb.c: Likewise.
41854 * iconv/iconvconfig.c: Likewise.
41855 * iconv/iconv_prog.c: Likewise.
41856 * elf/ldconfig.c: Likewise.
41857 * elf/pldd.c: Likewise.
41858 * elf/sotruss.ksh: Likewise.
41859 * catgets/gencat.c: Likewise.
41860 * csu/version.c: Likewise.
41861 * elf/ldd.bash.in: Likewise.
41862 * elf/sprof.c (print_version): Likewise.
41863 * locale/programs/locale.c: Likewise.
41864 * locale/programs/localedef.c: Likewise.
41865 * login/programs/pt_chown.c: Likewise.
41866 * nscd/nscd.c (print_version): Likewise.
41867 * debug/xtrace.sh: Likewise.
41868 * malloc/memusage.sh: Likewise.
41869 * malloc/mtrace.pl: Likewise.
41870 * debug/catchsegv.sh: Likewise.
41872 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41874 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41877 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41880 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41881 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41883 * iconv/gconv_int.h: Likewise.
41884 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41885 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41886 from libc for GLIBC_2.16.
41887 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41888 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41889 * wcsmbs/uchar.h: Really define mbstate_t.
41890 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41891 * wcsmbs/c16rtomb.c: New file.
41892 * wcsmbs/mbrtoc16.c: New file.
41893 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41894 for C/POSIX locale.
41895 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41896 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41898 * wcsmbs/wchar.h: Add missing __restrict.
41900 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41903 * time/Makefile (routines): Add timespec_get.
41904 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41905 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41906 timespec for ISO C11.
41907 * time/timespec_get.c: New file.
41908 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41909 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41912 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41913 * stdlib/stdlib.h: Declare aligned_alloc.
41914 * Versions.def: Add GLIBC_2.16 for libc.
41915 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41918 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41921 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41925 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41928 * assert/assert.h (static_assert): Define.
41930 * version.h: Update for 2.16 development version.
41933 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41936 * version.h (RELEASE): Bump for 2.15 release.
41937 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41939 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41940 Patch by Marek Polacek <mpolacek@redhat.com>.
41942 * bits/byteswap.h: Protect long long constants with __extension__.
41943 * sysdeps/i386/bits/byteswap.h: Likewise.
41944 * sysdeps/ia64/bits/byteswap.h: Likewise.
41945 * sysdeps/s390/bits/byteswap.h: Likewise.
41946 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41948 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41951 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41952 destination buffer.
41953 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41955 2011-12-23 Marek Polacek <polacek@redhat.com>
41957 * elf/dl-addr.c (determine_info): Add inline keyword.
41958 * elf/tst-auditmod4b.c (check_avx): Likewise.
41959 * elf/tst-auditmod6b.c (check_avx): Likewise.
41960 * elf/tst-auditmod6c.c (check_avx): Likewise.
41961 * elf/tst-auditmod7b.c (check_avx): Likewise.
41963 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41965 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41968 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41971 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41972 processing for last bytes.
41974 2011-08-06 Bruno Haible <bruno@clisp.org>
41977 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41978 U+0385, not to U+1FEE.
41981 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41982 entry for U+00A5 U+0301.
41984 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41987 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41988 buffer for the output is too small.
41990 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41994 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41995 SSE flags if possible.
41997 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42001 processing for last bytes.
42003 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42005 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42006 (syscall-list-default-options, syscall-list-default-condition)
42007 (syscall-list-includes): Define.
42008 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42009 list of ABIs and options and #if conditions for each ABI. Do not
42010 handle common syscalls between ABIs specially.
42011 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42013 (syscall-list-variants, syscall-list-32bit-options)
42014 (syscall-list-32bit-condition, syscall-list-64bit-options)
42015 (syscall-list-64bit-condition): Define.
42016 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42017 (syscall-list-variants, syscall-list-32bit-options)
42018 (syscall-list-32bit-condition, syscall-list-64bit-options)
42019 (syscall-list-64bit-condition): Define.
42020 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42022 (syscall-list-variants, syscall-list-32bit-options)
42023 (syscall-list-32bit-condition, syscall-list-64bit-options)
42024 (syscall-list-64bit-condition): Define.
42025 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42027 (syscall-list-variants, syscall-list-32bit-options)
42028 (syscall-list-32bit-condition, syscall-list-64bit-options)
42029 (syscall-list-64bit-condition): Define.
42031 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42033 * locale/iso-639.def: Add brx entry.
42036 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42037 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42039 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42040 __feraiseexcept_renamed.
42042 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42045 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42046 EPOLLET with unsigned values.
42047 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42048 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42050 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42051 to large cancellation.
42052 * math/s_cacoshf.c: Likewise.
42053 * math/s_cacoshl.c: Likewise.
42055 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42059 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42060 * math/s_cacoshf.c: Likewise.
42061 * math/s_cacoshl.c: Likewise.
42063 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42066 * iconv/gconv.h: Define __GCONV_SWAP.
42067 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42068 * iconvdata/utf-16.c: Likewise.
42069 * iconvdata/utf-32.c: Likewise.
42071 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42074 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42075 numerator after shifting it by one limb.
42077 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42079 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42080 under [__USE_EXTERN_INLINES].
42082 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42085 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42087 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42089 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42090 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42092 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42093 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42094 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42095 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42096 for strncasecmp/strncasecmp_l compilation.
42097 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42098 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42100 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42103 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42106 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42109 * time/tzfile.c (__tzfile_read): Check values from file header.
42111 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42113 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42114 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42115 * powerpc/powerpc32/dl-start.S: Likewise.
42116 * powerpc/powerpc32/elf/start.S: Likewise.
42117 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42118 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42119 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42120 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42121 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42122 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42123 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42124 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42125 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42126 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42127 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42128 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42129 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42130 * powerpc/powerpc32/memset.S: Likewise.
42131 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42132 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42133 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42134 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42135 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42136 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42137 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42138 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42139 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42140 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42141 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42142 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42143 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42145 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42147 * math/libm-test.inc: Added more nearbyint tests.
42148 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42153 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42155 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42158 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42160 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42161 Add wcscpy-ssse3 wcscpy-c.
42162 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42163 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42164 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42165 * sysdeps/x86_64/wcschr.S: New file.
42166 * sysdeps/x86_64/wcsrchr.S: New file.
42167 * string/test-strcmp.c: Remove checking of wcscmp function for
42169 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42170 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42171 wcsrchr-sse2 wcsrchr-c.
42172 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42173 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42174 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42175 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42176 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42177 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42178 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42179 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42180 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42181 * wcsmbc/wcschr.c (WCSCHR): New macro.
42183 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42185 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42186 * wcsmbs/test-wcsrchr.c: New file.
42187 * string/test-strrchr.c: Add wcsrchr support.
42189 * wcsmbs/test-wcscpy.c: New file.
42190 * string/test-strcpy.c: Add wcscpy support.
42193 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42198 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42201 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42203 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42206 Minor optimizations.
42208 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42209 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42210 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42212 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42214 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42215 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42216 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42217 for gcc to avoid warnings.
42218 * inet/Makefile (tests): Add tst-checks.
42219 * inet/tst-checks.c: New file.
42221 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42224 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42227 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42228 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42230 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42232 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42234 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42237 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42239 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42241 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42242 conditional on GCC version.
42243 (__arch_compare_and_exchange_val_8_acq)
42244 (__arch_compare_and_exchange_val_16_acq)
42245 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42246 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42247 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42249 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42251 * sysdeps/sh/backtrace.c: New file.
42253 2011-12-02 Andreas Schwab <schwab@redhat.com>
42255 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42258 2011-12-01 Andreas Schwab <schwab@redhat.com>
42260 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42261 falling back to utime.
42263 2011-11-30 Andreas Schwab <schwab@redhat.com>
42265 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42266 expectations for float.
42268 2011-11-29 Andreas Schwab <schwab@redhat.com>
42270 * locale/weight.h (findidx): Add parameter len.
42271 * locale/weightwc.h (findidx): Likewise.
42272 * posix/fnmatch_loop.c (FCT): Adjust caller.
42273 * posix/regcomp.c (build_equiv_class): Likewise.
42274 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42275 * posix/regexec.c (check_node_accept_bytes): Likewise.
42276 * string/strcoll_l.c (STRCOLL): Likewise.
42277 * string/strxfrm_l.c (STRXFRM): Likewise.
42279 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42281 * Makefile.in: Remove CVSOPT handling.
42282 * configure.in: Remove use of AC_REVISION.
42283 * iconvdata/Makefile (distribute): No need to filter out CVS.
42284 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42287 2011-11-16 Andreas Schwab <schwab@redhat.com>
42289 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42290 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42291 [USE_AS_STRNCASECMP_L]: Likewise.
42292 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42293 NO_TLS_DIRECT_SEG_REFS.
42294 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42295 Fix argument offsets for non-PIC.
42296 [USE_AS_STRNCASECMP_L]: Likewise.
42297 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42298 NO_TLS_DIRECT_SEG_REFS.
42300 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42302 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42304 * locale/loadlocale.c (_nl_load_locale): Likewise.
42306 2011-11-15 Andreas Schwab <schwab@redhat.com>
42308 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42309 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42310 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42311 (SYSCALL_GETTIME): Set errno on error.
42313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42314 count references to noai6ai_cached.
42316 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42318 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42320 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42321 FD_CLOEXEC for /proc/self/maps.
42323 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42324 FD_CLOEXEC for /proc/meminfo.
42326 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42329 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42330 FD_CLOEXEC for given file.
42332 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42334 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42335 FD_CLOEXEC for /etc/hosts.
42336 (_gethtent): Likewise.
42338 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42340 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42341 cancellation and set FD_CLOEXEC for /etc/netgroup.
42343 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42344 reading /etc/publickey.
42346 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42347 allow cancellation when reading /etc/group.
42349 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42351 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42353 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42354 when using data file.
42356 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42358 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42359 (write_nis_obj): Use "c" and "e" in fopen.
42361 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42363 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42365 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42367 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42369 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42372 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42374 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42376 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42378 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42379 file parsing and set FD_CLOEXEC.
42381 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42383 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42385 2011-11-14 Andreas Schwab <schwab@redhat.com>
42387 * malloc/arena.c (arena_get2): Don't call reused_arena when
42388 _int_new_arena failed.
42390 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42392 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42393 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42395 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42398 to compile strcasecmp and strncasecmp.
42399 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42400 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42404 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42406 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42407 locale-defines.sym to gen-as-const-headers.
42408 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42409 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42411 to compile strcasecmp and strncasecmp.
42412 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42413 strcasecmp_l and strncasecmp_l.
42414 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42415 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42416 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42417 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42418 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42419 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42420 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42421 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42422 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42423 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42424 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42426 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42428 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42429 result of SYSDEP_GETTIME_CPU to retval.
42430 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42431 parameter list to macro. Remove trailing semicolon. Adjust users.
42433 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42436 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42438 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42440 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42441 from unused variable.
42443 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42445 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42448 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42451 * sunrpc/rpc_prot.c (rejected): Fix case value.
42453 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42454 unsigned long long int to avoid warnings in shift.
42456 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42458 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42461 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42462 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42463 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42465 * nis/nis_table.c (nis_list): Use variable of correct type for
42466 result of __follow_path call.
42468 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42470 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42471 of math functions ceil, trunc, floor, round, and sqrt, when
42472 avaliable on the platform.
42473 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42475 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42476 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42477 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42479 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42481 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42482 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42484 2011-11-11 Roland McGrath <roland@hack.frob.com>
42486 * include/unistd.h: Fix __readlink return type.
42487 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42489 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42491 * stdlib/ucontext.h: Undo last change for makecontext.
42493 2011-11-11 Andreas Schwab <schwab@redhat.com>
42495 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42497 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42498 * setjmp/setjmp.h: Mark functions as non-leaf.
42499 * setjmp/bits/setjmp2.h: Likewise.
42500 * stdlib/ucontext.h: Likewise.
42502 2011-11-10 Andreas Schwab <schwab@redhat.com>
42504 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42505 (reused_arena): Don't check arena limit.
42506 (arena_get2): Atomically check arena limit.
42508 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42510 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42511 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42516 2011-11-07 Andreas Schwab <schwab@redhat.com>
42518 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42519 handler when locking.
42521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42522 Fix size of allocated buffer.
42524 2011-11-04 Andreas Schwab <schwab@redhat.com>
42527 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42528 declarations for long double functions.
42529 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42531 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42533 2011-11-03 Andreas Schwab <schwab@redhat.com>
42535 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42538 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42541 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42543 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42545 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42547 * include/alloca.h (stackinfo_alloca_round): Define.
42548 (extend_alloca): Use it.
42549 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42550 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42553 * scripts/check-local-headers.sh: Ignore libaudit.h.
42555 * nscd/Makefile (extra-objs): Make recursively expanded.
42557 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42559 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42562 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42563 * posix/tst-rfc3484-2.c: Likewise.
42564 * posix/tst-rfc3484-3.c: Likewise.
42566 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42568 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42570 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42571 process_vm_writev from libc using GLIBC_2.15 version.
42573 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42575 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42577 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42580 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42583 * nss/getent.c (initgroups_keys): Show error message in case no group
42586 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42587 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42588 __bump_nl_timestamp.
42589 * nscd/connections (nscd_init): When host database is served open
42590 netlink socket and request notification about configuration changes.
42591 (main_loop_poll): Track netlink file descriptor and bump timestamp
42592 in case data becomes available.
42593 (main_loop_epoll): Likewise.
42594 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42595 (database_pers_head): Add extra_data fileds.
42596 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42597 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42598 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42601 in6ai data, call __free_in6ai.
42602 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42603 Add -DHAVE_NETLINK.
42604 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42605 interface information. Reuse previous data if netlink timestamp
42607 (__bump_nl_timestamp): New function.
42608 (__free_in6ai): New function.
42610 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42612 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42613 close_not_cancel_no_status here.
42614 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42616 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42619 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42622 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42623 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42624 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42626 2011-07-03 Andreas Jaeger <aj@suse.de>
42629 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42630 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42631 * math/libm-test.inc (sin_test): Add test case.
42633 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42636 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42637 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42639 * elf/chroot_canon.c (chroot_canon): Cleanups.
42641 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42644 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42645 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42647 * string/test-strchr.c: Make usable for strchrnul testing.
42648 * string/test-strchrnul.c: New file.
42649 * string/Makefile (strop-tests): Add strchrnul.
42651 * po/it.po: Update from translation team.
42652 * po/es.po: Likewise.
42654 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42656 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42657 the three constants needed as parameters. Drop the others.
42658 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42659 __m128i_strloadu_tolower.
42660 Create and initialize variable zero and use it in all the places
42661 where _mm_setzero_si128 was used.
42663 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42664 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42665 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42666 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42668 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42669 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42670 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42671 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42672 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42673 __mpranred, __mptan.
42674 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42675 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42676 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42677 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42678 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42679 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42680 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42681 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42682 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42684 2011-10-28 Andreas Schwab <schwab@redhat.com>
42686 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42687 redefine if SHARED.
42688 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42691 wide char related routines to wcsmbs subdir.
42693 2011-10-27 Andreas Schwab <schwab@redhat.com>
42696 * misc/sys/cdefs.h (__THROWNL): Define.
42697 * posix/unistd.h: Use __THREADNL instead of __THREAD
42698 for memory synchronization functions.
42700 2011-10-26 Roland McGrath <roland@hack.frob.com>
42703 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42705 * manual/stdio.texi (Obstack Streams): Node removed.
42707 2011-10-26 Andreas Schwab <schwab@redhat.com>
42709 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42710 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42711 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42713 * math/math_private.h (math_force_eval): Allow non-addressable
42715 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42717 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42719 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42720 file is not needed.
42722 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42723 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42724 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42725 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42726 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42727 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42728 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42729 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42731 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42732 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42733 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42734 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42735 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42736 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42737 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42738 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42739 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42740 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42741 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42742 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42744 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42745 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42746 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42747 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42748 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42749 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42751 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42752 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42755 place. Use VEX encoding when compiling for AVX.
42757 2011-10-25 Andreas Schwab <schwab@redhat.com>
42759 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42760 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42762 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42764 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42766 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42767 useless if() expression.
42768 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42769 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42771 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42772 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42773 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42774 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42775 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42776 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42779 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42780 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42782 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42783 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42784 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42785 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42786 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42788 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42790 2011-10-25 Andreas Schwab <schwab@redhat.com>
42792 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42794 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42796 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42798 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42799 .text section. Avoid duplicate constants.
42800 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42802 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42808 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42809 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42810 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42811 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42812 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42813 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42814 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42815 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42816 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42817 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42820 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42821 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42822 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42823 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42824 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42825 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42826 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42827 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42828 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42829 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42830 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42831 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42833 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42834 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42836 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42838 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42840 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42841 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42842 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42843 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42844 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42846 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42848 * sysdeps/x86_64/dla.h: Move to ...
42849 * sysdeps/x86_64/fpu/dla.h: ...here.
42850 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42851 situations. Use __builtin_fma only for gcc 4.6 and up.
42853 * config.make.in: Add have-mfma4 entry.
42854 * configure.in: Substitute libc_cv_cc_fma4.
42855 * math/Makefile (dbl-only-routines): Add sincostab.
42856 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42857 Use __sincostab not sincos.
42858 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42860 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42865 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42866 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42867 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42868 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42870 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42871 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42873 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42874 define aliases when function name is a macro.
42875 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42876 sysdeps/ieee754/dbl-64/sincos.tbl.
42877 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42878 fma4-enabled routines.
42879 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42880 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42881 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42882 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42883 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42884 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42886 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42887 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42888 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42889 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42890 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42891 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42892 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42894 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42895 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42896 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42897 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42899 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42900 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42902 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42904 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42905 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42906 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42907 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42908 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42910 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42919 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42921 2011-10-24 Andreas Schwab <schwab@redhat.com>
42923 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42925 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42927 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42929 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42931 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42933 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42934 Remove unused variable magic_bits.
42935 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42937 * string/strnlen.c: Define and use STRNLEN macro.
42938 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42939 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42941 * wcsmbs/wcslen.c: Define and use WCSLEN.
42942 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42943 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42944 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42945 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42946 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42947 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42948 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42950 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42953 strnlen-sse2-no-bsf.
42954 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42955 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42956 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42957 Add strnlen support.
42958 (USE_AS_STRNLEN): New macro.
42959 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42960 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42961 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42962 * sysdeps/x86_64/wcslen.S: New file.
42964 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42966 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42967 XMM-moves are used for copying on small sizes.
42969 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42971 * wcsmbs/Makefile (strop-tests): Add wcschr.
42972 * wcsmbs/test-wcschr.c: New file.
42973 * string/test-strchr.c: Update.
42974 Add wcschr support.
42977 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42979 * wcsmbs/Makefile (strop-tests): Add wcslen.
42980 * wcsmbs/test-wcslen.c: New file.
42981 * string/test-strlen.c: Update.
42982 Add wcslen support.
42985 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42987 * po/it.po: Update from translation team.
42989 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42991 * sysdeps/x86_64/wcscmp.S: Update.
42992 Fix wrong comparison semantics.
42993 wcscmp shall use signed comparison not unsigned.
42994 Don't use substraction to avoid overflow bug.
42995 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42996 * wcsmbc/wcscmp.c: Likewise.
42997 * string/test-strcmp.c: Likewise.
42998 Add new tests to check cases with negative values.
43000 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43002 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43003 * sysdeps/x86_64/dla.h: ...here. New file.
43004 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43009 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43011 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43014 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43017 __ynl_finite aliases.
43019 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43023 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43025 [DLA_FMA] (EMULV): Use DLA_FMA.
43026 [DLA_FMA] (MUL12): Use EMULV.
43027 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43028 that are not needed.
43029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43035 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43037 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43039 * math/s_nan.c: Undef __nan.
43040 * math/s_nanf.c: Undef __nanf.
43041 * math/s_nanl.c: Undef __nanl.
43042 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43045 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43047 * math/s_catan.c: Add branch predictions.
43048 * math/s_catanf.c: Likewise.
43049 * math/s_catanh.c: Likewise.
43050 * math/s_catanhf.c: Likewise.
43051 * math/s_catanhl.c: Likewise.
43052 * math/s_catanl.c: Likewise.
43053 * math/s_cexp.c: Likewise.
43054 * math/s_cexpf.c: Likewise.
43055 * math/s_cexpl.c: Likewise.
43056 * math/s_clog.c: Likewise.
43057 * math/s_clog10.c: Likewise.
43058 * math/s_clog10f.c: Likewise.
43059 * math/s_clog10l.c: Likewise.
43060 * math/s_clogf.c: Likewise.
43061 * math/s_clogl.c: Likewise.
43062 * math/s_csqrt.c: Likewise.
43063 * math/s_csqrtf.c: Likewise.
43064 * math/s_csqrtl.c: Likewise.
43065 * math/s_ctanf.c: Likewise.
43066 * math/s_ctanh.c: Likewise.
43067 * math/s_ctanhf.c: Likewise.
43068 * math/s_ctanhl.c: Likewise.
43069 * math/s_ctanl.c: Likewise.
43071 * math/math_private.h: Define __nan, __nanf, __nanl.
43072 * math/s_cacosh.c: Include <math_private.h>.
43073 * math/s_cacoshl.c: Likewise.
43074 * math/s_casinh.c: Likewise.
43075 * math/s_casinhf.c: Likewise.
43076 * math/s_casinhl.c: Likewise.
43077 * math/s_ccos.c: Rely entire on ccosh.
43078 * math/s_ccosf.c: Rely entire on ccoshf.
43079 * math/s_ccosl.c: Rely entirely on ccoshl.
43080 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43081 Remove tests for FE_INVALID.
43082 * math/s_ccoshf.c: Likewise.
43083 * math/s_ccoshl.c: Likewise.
43084 * math/s_csin.c: Likewise.
43085 * math/s_csinf.c: Likewise.
43086 * math/s_csinh.c Likewise.
43087 * math/s_csinhf.c: Likewise.
43088 * math/s_csinhl.c: Likewise.
43089 * math/s_csinl.c: Likewise.
43090 * math/s_ctan.c: Likewise.
43091 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43092 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43095 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43098 compilation problems.
43100 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43103 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43105 * sysdeps/i386/configure.in: Test for -mfma4 option.
43106 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43107 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43108 COMMON_CPUID_INDEX_80000001.
43109 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43110 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43111 use it if FMA3 is not supported.
43112 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43114 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43115 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43117 2011-10-20 Andreas Schwab <schwab@redhat.com>
43120 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43121 it would create a cycle with a link time dependency.
43123 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43125 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43127 * string/Makefile (strop-tests): Add rawmemchr.
43128 * string/test-rawmemchr.c: New file.
43130 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43132 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43133 when compiling str{,n}casecmp and when AVX is available. Hook up
43134 new optimized code in initializers.
43136 2011-10-19 Andreas Schwab <schwab@redhat.com>
43138 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43139 __feraiseexcept instead of feraiseexcept.
43141 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43143 * math/math_private.h: Define defaults for libc_fetestexcept and
43145 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43146 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43147 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43148 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43149 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43150 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43151 libc_fetestexcept and libc_feupdateenv.
43153 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43154 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43155 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43156 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43157 libc_feholdexcept_setround.
43159 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43160 Add s_nearbyint-c and s_nearbyintf-c.
43161 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43162 nearbyintf inlines.
43163 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43164 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43165 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43166 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43168 * math/math_private.h: Define defaults for libc_fegetround,
43169 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43170 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43171 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43172 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43173 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43174 standard functions.
43175 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43176 Remove comments and hacks for old compiler versions.
43177 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43178 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43179 libc_feholdexceptl.
43181 2011-10-18 Andreas Schwab <schwab@redhat.com>
43183 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43184 (__feraiseexcept_renamed): Add __NTH.
43185 (feraiseexcept): Add __NTH. Rename local variables to fix
43186 namespace violations.
43188 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43190 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43192 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43194 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43195 recently added interfaces.
43196 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43198 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43199 about macro parameter expansion.
43201 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43202 __NO_MATH_INLINES is defined. Cleanups.
43204 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43205 and __floorf is target has SSE4.1.
43206 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43207 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43208 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43209 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43211 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43213 (floorf): Likewise.
43215 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43217 2011-10-17 Andreas Schwab <schwab@redhat.com>
43219 * misc/sys/cdefs.h: Fix last change.
43221 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43224 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43226 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43228 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43230 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43231 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43232 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43233 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43234 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43235 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43236 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43237 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43238 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43239 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43240 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43241 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43242 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43243 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43244 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43245 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43246 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43247 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43248 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43249 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43251 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43252 ceil, ceilf, floor, floorf.
43254 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43255 Perform IRELATIVE relocations last.
43257 * elf/do-rel.h: Add another parameter nrelative, replacing the
43258 local variable with the same name. Change name of the function
43259 to end in Rel or Rela (uppercase).
43260 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43261 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43262 elf_dynamic_do_##reloc function.
43264 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43266 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43267 is sufficient, at least on modern CPUs.
43269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43271 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43272 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43274 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43276 * math/bits/math-finite.h: Add entries for exp.
43277 * math/e_expl.c: Add __*_finite alias.
43278 * sysdeps/i386/fpu/e_exp.S: Likewise.
43279 * sysdeps/i386/fpu/e_expf.S: Likewise.
43280 * sysdeps/i386/fpu/e_expl.c: Likewise.
43281 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43282 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43283 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43285 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43286 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43287 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43289 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43290 is sufficient, at least on modern CPUs.
43292 * ctype/ctype-info.c (__ctype_init): Define.
43293 * include/ctype.h (__ctype_init): Declare.
43294 (__ctype_b_loc): The variable is always initialized.
43295 (__ctype_toupper_loc): Likewise.
43296 (__ctype_tolower_loc): Likewise.
43297 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43298 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43300 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43302 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43304 * configure.in: Also look in $cxxmachine/include for C++ system
43307 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43309 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43310 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43311 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43312 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43313 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43314 (USE_AS_WMEMCMP): New macro.
43316 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43317 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43318 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43319 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43321 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43322 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43323 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43324 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43325 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43326 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43327 (USE_AS_WMEMCMP): New macro.
43328 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43329 * sysdeps/string/test-memcmp.c: Update.
43330 Fix simple_wmemcmp.
43332 * wcsmbs/wmemcmp.c: Update.
43333 (WMEMCMP): New macro.
43336 2011-10-12 Andreas Jaeger <aj@suse.de>
43339 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43341 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43343 * libio/iofwide.c (do_length): Avoid warning.
43345 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43347 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43349 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43351 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43352 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43353 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43354 * sysdeps/i386/i686/fpu/e_log.S: New file.
43355 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43356 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43358 * ctype/ctype.h: Add support for inlined isXXX functions when
43359 compiling C++ code.
43361 2011-10-14 Andreas Schwab <schwab@redhat.com>
43363 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43365 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43367 2011-10-13 Roland McGrath <roland@hack.frob.com>
43370 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43372 2011-10-13 Andreas Schwab <schwab@redhat.com>
43374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43375 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43378 * sysdeps/x86_64/memrchr.S: Check for zero size.
43380 * string/stratcliff.c: Add memrchr tests.
43382 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43385 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43386 rawmemchr-sse2 rawmemchr-sse2-bsf.
43387 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43388 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43389 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43390 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43391 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43392 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43393 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43394 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43395 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43396 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43397 * string/memrchr.c (MEMRCHR): New macro.
43399 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43401 Add integration with gcc's -ffinite-math-only and optimize wrapper
43403 * Versions.def: Define GLIBC_2.15 version for libm.
43404 * math/Makefile (headers): Add bits/math-finite.h.
43405 * math/bits/math-finite.h: New file.
43406 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43407 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43408 * math/e_acoshl.c: Add __*_finite alias.
43409 * math/e_acosl.c: Likewise.
43410 * math/e_asinl.c: Likewise.
43411 * math/e_atan2l.c: Likewise.
43412 * math/e_atanhl.c: Likewise.
43413 * math/e_coshl.c: Likewise.
43414 * math/e_exp10.c: Likewise.
43415 * math/e_exp10f.c: Likewise.
43416 * math/e_exp10l.c: Likewise.
43417 * math/e_exp2l.c: Likewise.
43418 * math/e_fmodl.c: Likewise.
43419 * math/e_gammal_r.c: Likewise.
43420 * math/e_hypotl.c: Likewise.
43421 * math/e_j0l.c: Likewise.
43422 * math/e_j1l.c: Likewise.
43423 * math/e_jnl.c: Likewise.
43424 * math/e_lgammal_r.c: Likewise.
43425 * math/e_log10l.c: Likewise.
43426 * math/e_log2l.c: Likewise.
43427 * math/e_logl.c: Likewise.
43428 * math/e_powl.c: Likewise.
43429 * math/e_sinhl.c: Likewise.
43430 * math/e_sqrtl.c: Likewise.
43431 * math/e_scalb.c: Completely rewritten and optimized.
43432 * math/e_scalbf.c: Likewise.
43433 * math/e_scalbl.c: Likewise.
43434 * math/w_acos.c: Likewise.
43435 * math/w_acosf.c: Likewise.
43436 * math/w_acosl.c: Likewise.
43437 * math/w_acosh.c: Likewise.
43438 * math/w_acoshf.c: Likewise.
43439 * math/w_acoshl.c: Likewise.
43440 * math/w_asin.c: Likewise.
43441 * math/w_asinf.c: Likewise.
43442 * math/w_asinl.c: Likewise.
43443 * math/w_atan2.c: Likewise.
43444 * math/w_atan2f.c: Likewise.
43445 * math/w_atan2l.c: Likewise.
43446 * math/w_atanh.c: Likewise.
43447 * math/w_atanhf.c: Likewise.
43448 * math/w_atanhl.c: Likewise.
43449 * math/w_exp10.c: Likewise.
43450 * math/w_exp10f.c: Likewise.
43451 * math/w_exp10l.c: Likewise.
43452 * math/w_fmod.c: Likewise.
43453 * math/w_fmodf.c: Likewise.
43454 * math/w_fmodl.c: Likewise.
43455 * math/w_j0.c: Likewise.
43456 * math/w_j0f.c: Likewise.
43457 * math/w_j0l.c: Likewise.
43458 * math/w_j1.c: Likewise.
43459 * math/w_j1f.c: Likewise.
43460 * math/w_j1l.c: Likewise.
43461 * math/w_jn.c: Likewise.
43462 * math/w_jnf.c: Likewise.
43463 * math/w_log.c: Likewise.
43464 * math/w_logf.c: Likewise.
43465 * math/w_logl.c: Likewise.
43466 * math/w_log10.c: Likewise.
43467 * math/w_log10f.c: Likewise.
43468 * math/w_log10l.c: Likewise.
43469 * math/w_log2.c: Likewise.
43470 * math/w_log2f.c: Likewise.
43471 * math/w_log2l.c: Likewise.
43472 * math/w_pow.c: Likewise.
43473 * math/w_powf.c: Likewise.
43474 * math/w_powl.c: Likewise.
43475 * math/w_remainder.c: Likewise.
43476 * math/w_remainderf.c: Likewise.
43477 * math/w_remainderl.c: Likewise.
43478 * math/w_scalb.c: Likewise.
43479 * math/w_scalbf.c: Likewise.
43480 * math/w_scalbl.c: Likewise.
43481 * math/w_sqrt.c: Likewise.
43482 * math/w_sqrtf.c: Likewise.
43483 * math/w_sqrtl.c: Likewise.
43484 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43485 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43487 * math/math_private.h: Declare __kernel_standard_f.
43488 * math/w_cosh.c: Remove cruft and optimize a bit.
43489 * math/w_coshf.c: Likewise.
43490 * math/w_coshl.c: Likewise.
43491 * math/w_exp2.c: Likewise.
43492 * math/w_exp2f.c: Likewise.
43493 * math/w_exp2l.c: Likewise.
43494 * math/w_hypot.c: Likewise.
43495 * math/w_hypotf.c: Likewise.
43496 * math/w_hypotl.c: Likewise.
43497 * math/w_lgamma.c: Likewise.
43498 * math/w_lgamma_r.c: Likewise.
43499 * math/w_lgammaf.c: Likewise.
43500 * math/w_lgammaf_r.c: Likewise.
43501 * math/w_lgammal.c: Likewise.
43502 * math/w_lgammal_r.c: Likewise.
43503 * math/w_sinh.c: Likewise.
43504 * math/w_sinhf.c: Likewise.
43505 * math/w_sinhl.c: Likewise.
43506 * math/w_tgamma.c: Likewise.
43507 * math/w_tgammaf.c: Likewise.
43508 * math/w_tgammal.c: Likewise.
43509 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43511 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43512 Minor optimizations. Pretty printing. Remove cruft.
43513 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43514 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43515 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43516 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43517 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43518 * sysdeps/i386/fpu/e_asin.S: Likewise.
43519 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43520 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43521 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43522 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43523 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43524 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43525 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43526 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43527 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43528 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43529 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43530 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43531 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43532 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43533 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43534 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43535 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43536 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43537 * sysdeps/i386/fpu/e_log.S: Likewise.
43538 * sysdeps/i386/fpu/e_log10.S: Likewise.
43539 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43540 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43541 * sysdeps/i386/fpu/e_log2.S: Likewise.
43542 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43543 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43544 * sysdeps/i386/fpu/e_logf.S: Likewise.
43545 * sysdeps/i386/fpu/e_logl.S: Likewise.
43546 * sysdeps/i386/fpu/e_pow.S: Likewise.
43547 * sysdeps/i386/fpu/e_powf.S: Likewise.
43548 * sysdeps/i386/fpu/e_powl.S: Likewise.
43549 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43550 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43551 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43552 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43553 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43554 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43555 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43556 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43557 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43558 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43559 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43561 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43562 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43563 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43564 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43565 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43566 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43567 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43568 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43569 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43571 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43572 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43574 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43575 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43578 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43579 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43580 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43581 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43582 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43583 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43584 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43585 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43586 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43587 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43588 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43589 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43590 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43591 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43592 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43593 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43594 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43595 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43596 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43597 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43598 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43599 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43600 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43601 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43602 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43603 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43604 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43605 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43606 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43607 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43608 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43609 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43610 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43611 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43613 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43614 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43615 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43616 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43617 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43618 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43619 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43620 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43621 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43622 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43623 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43624 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43626 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43628 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43629 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43632 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43634 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43635 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43636 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43637 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43638 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43639 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43640 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43641 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43642 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43643 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43644 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43645 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43646 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43647 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43648 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43649 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43650 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43651 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43652 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43653 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43654 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43655 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43656 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43657 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43658 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43659 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43660 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43661 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43662 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43663 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43664 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43665 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43666 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43667 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43668 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43669 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43670 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43671 (__isnanf): Likewise.
43672 (__isinf_ns): Likewise.
43673 (__isinf_nsf): Likewise.
43674 (__finite): Likewise.
43675 (__finitef): Likewise.
43676 (__ieee754_sqrt): Define as macro.
43677 (__ieee754_sqrtf): Define as macro.
43678 (__ieee754_sqrtl): Define as macro.
43679 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43681 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43682 __FINITE_MATH_ONLY__ consistent.
43683 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43685 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43687 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43690 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43692 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43694 * po/ja.po: Update from translation team.
43696 2011-10-08 Roland McGrath <roland@hack.frob.com>
43698 * locale/programs/locarchive.c (prepare_address_space): New function.
43699 (create_archive, enlarge_archive, open_archive): Use it.
43701 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43702 inside [SHARED], where it is used.
43704 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43706 * nss/getent.c (netgroup_keys): Remove unused variable.
43707 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43709 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43711 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43712 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43714 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43715 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43716 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43717 * math/Makefile (libm-calls): Add s_isinf_ns.
43718 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43719 * math/multc3.c: Likewise.
43720 * math/s_casin.c: Likewise.
43721 * math/s_casinf.c: Likewise.
43722 * math/s_casinl.c: Likewise.
43723 * math/s_ccos.c: Likewise.
43724 * math/s_ccosf.c: Likewise.
43725 * math/s_ccosl.c: Likewise.
43726 * math/s_ctan.c: Likewise.
43727 * math/s_ctanf.c: Likewise.
43728 * math/s_ctanh.c: Likewise.
43729 * math/s_ctanhf.c: Likewise.
43730 * math/s_ctanhl.c: Likewise.
43731 * math/s_ctanl.c: Likewise.
43732 * math/w_fmod.c: Likewise.
43733 * math/w_fmodf.c: Likewise.
43734 * math/w_fmodl.c: Likewise.
43735 * math/w_remainder.c: Likewise.
43736 * math/w_remainderf.c: Likewise.
43737 * math/w_remainderl.c: Likewise.
43738 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43739 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43742 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43743 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43744 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43745 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43747 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43749 * stdio-common/printf_fphex.c: Likewise.
43750 * stdio-common/printf_size.c: Likewise.
43752 * math/e_exp10.c: Include math_private.h using <...> not "...".
43753 * math/e_exp10f.c: Likewise.
43754 * math/e_exp10l.c: Likewise.
43755 * math/e_exp2l.c: Likewise.
43756 * math/e_j0l.c: Likewise.
43757 * math/e_j1l.c: Likewise.
43758 * math/e_jnl.c: Likewise.
43759 * math/e_lgammal_r.c: Likewise.
43760 * math/e_rem_pio2l.c: Likewise.
43761 * math/e_scalb.c: Likewise.
43762 * math/e_scalbf.c: Likewise.
43763 * math/e_scalbl.c: Likewise.
43764 * math/k_cosl.c: Likewise.
43765 * math/k_sinl.c: Likewise.
43766 * math/k_tanl.c: Likewise.
43767 * math/s_cacoshf.c: Likewise.
43768 * math/s_catan.c: Likewise.
43769 * math/s_catanf.c: Likewise.
43770 * math/s_catanh.c: Likewise.
43771 * math/s_catanhf.c: Likewise.
43772 * math/s_catanhl.c: Likewise.
43773 * math/s_catanl.c: Likewise.
43774 * math/s_ccosh.c: Likewise.
43775 * math/s_ccoshf.c: Likewise.
43776 * math/s_ccoshl.c: Likewise.
43777 * math/s_cexp.c: Likewise.
43778 * math/s_cexpf.c: Likewise.
43779 * math/s_cexpl.c: Likewise.
43780 * math/s_clog.c: Likewise.
43781 * math/s_clog10.c: Likewise.
43782 * math/s_clog10f.c: Likewise.
43783 * math/s_clog10l.c: Likewise.
43784 * math/s_clogf.c: Likewise.
43785 * math/s_clogl.c: Likewise.
43786 * math/s_csin.c: Likewise.
43787 * math/s_csinf.c: Likewise.
43788 * math/s_csinh.c: Likewise.
43789 * math/s_csinhf.c: Likewise.
43790 * math/s_csinhl.c: Likewise.
43791 * math/s_csinl.c: Likewise.
43792 * math/s_csqrt.c: Likewise.
43793 * math/s_csqrtf.c: Likewise.
43794 * math/s_csqrtl.c: Likewise.
43795 * math/s_ctan.c: Likewise.
43796 * math/s_ctanf.c: Likewise.
43797 * math/s_ctanh.c: Likewise.
43798 * math/s_ctanhf.c: Likewise.
43799 * math/s_ctanhl.c: Likewise.
43800 * math/s_ctanl.c: Likewise.
43801 * math/s_ldexp.c: Likewise.
43802 * math/s_ldexpf.c: Likewise.
43803 * math/s_ldexpl.c: Likewise.
43804 * math/s_significand.c: Likewise.
43805 * math/s_significandf.c: Likewise.
43806 * math/s_significandl.c: Likewise.
43807 * math/w_acos.c: Likewise.
43808 * math/w_acosf.c: Likewise.
43809 * math/w_acosh.c: Likewise.
43810 * math/w_acoshf.c: Likewise.
43811 * math/w_acoshl.c: Likewise.
43812 * math/w_acosl.c: Likewise.
43813 * math/w_asin.c: Likewise.
43814 * math/w_asinf.c: Likewise.
43815 * math/w_asinl.c: Likewise.
43816 * math/w_atan2.c: Likewise.
43817 * math/w_atan2f.c: Likewise.
43818 * math/w_atan2l.c: Likewise.
43819 * math/w_atanh.c: Likewise.
43820 * math/w_atanhf.c: Likewise.
43821 * math/w_atanhl.c: Likewise.
43822 * math/w_cosh.c: Likewise.
43823 * math/w_coshf.c: Likewise.
43824 * math/w_coshl.c: Likewise.
43825 * math/w_dremf.c: Likewise.
43826 * math/w_exp10.c: Likewise.
43827 * math/w_exp10f.c: Likewise.
43828 * math/w_exp10l.c: Likewise.
43829 * math/w_exp2.c: Likewise.
43830 * math/w_exp2f.c: Likewise.
43831 * math/w_fmod.c: Likewise.
43832 * math/w_fmodf.c: Likewise.
43833 * math/w_fmodl.c: Likewise.
43834 * math/w_hypot.c: Likewise.
43835 * math/w_hypotf.c: Likewise.
43836 * math/w_hypotl.c: Likewise.
43837 * math/w_j0.c: Likewise.
43838 * math/w_j0f.c: Likewise.
43839 * math/w_j0l.c: Likewise.
43840 * math/w_j1.c: Likewise.
43841 * math/w_j1f.c: Likewise.
43842 * math/w_j1l.c: Likewise.
43843 * math/w_jn.c: Likewise.
43844 * math/w_jnf.c: Likewise.
43845 * math/w_jnl.c: Likewise.
43846 * math/w_lgamma.c: Likewise.
43847 * math/w_lgamma_r.c: Likewise.
43848 * math/w_lgammaf.c: Likewise.
43849 * math/w_lgammaf_r.c: Likewise.
43850 * math/w_lgammal.c: Likewise.
43851 * math/w_lgammal_r.c: Likewise.
43852 * math/w_log.c: Likewise.
43853 * math/w_log10.c: Likewise.
43854 * math/w_log10f.c: Likewise.
43855 * math/w_log10l.c: Likewise.
43856 * math/w_log2.c: Likewise.
43857 * math/w_log2f.c: Likewise.
43858 * math/w_log2l.c: Likewise.
43859 * math/w_logf.c: Likewise.
43860 * math/w_logl.c: Likewise.
43861 * math/w_pow.c: Likewise.
43862 * math/w_powf.c: Likewise.
43863 * math/w_powl.c: Likewise.
43864 * math/w_remainder.c: Likewise.
43865 * math/w_remainderf.c: Likewise.
43866 * math/w_remainderl.c: Likewise.
43867 * math/w_scalb.c: Likewise.
43868 * math/w_scalbf.c: Likewise.
43869 * math/w_scalbl.c: Likewise.
43870 * math/w_sinh.c: Likewise.
43871 * math/w_sinhf.c: Likewise.
43872 * math/w_sinhl.c: Likewise.
43873 * math/w_sqrt.c: Likewise.
43874 * math/w_sqrtf.c: Likewise.
43875 * math/w_sqrtl.c: Likewise.
43876 * math/w_tgamma.c: Likewise.
43877 * math/w_tgammaf.c: Likewise.
43878 * math/w_tgammal.c: Likewise.
43880 * po/ja.po: Update from translation team.
43882 2011-09-29 Andreas Jaeger <aj@suse.de>
43885 * sunrpc/netname.c (netname2host): Fix logic.
43889 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43891 * math/w_remainder.c (__remainder): Likewise.
43892 * math/w_remainderf.c (__remainderf): Likewise.
43893 * math/libm-test.inc (remainder_test): Add test cases.
43895 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43897 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43900 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43902 * string/test-memcmp.c: Avoid unncessary #defines.
43903 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43905 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43907 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43908 Use new sse2 version for core i3 - i7 as it's faster
43909 than sse42 version.
43910 (bit_Prefer_PMINUB_for_stringop): New.
43911 * sysdeps/x86_64/rawmemchr.S: Update.
43912 Replace with faster SSE2 version.
43913 * sysdeps/x86_64/memrchr.S: New file.
43914 * sysdeps/x86_64/memchr.S: Update.
43915 Replace with faster SSE2 version.
43917 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43919 * elf/dl-load.c (lose): Add cast to avoid warning.
43921 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43923 * po/ca.po: Update from translation team.
43925 * inet/getnetgrent_r.c: Hook up nscd.
43926 * nscd/Makefile (routines): Add nscd_netgroup.
43927 (nscd-modules): Add netgroupcache.
43928 (CFLAGS-netgroupcache.c): Define.
43929 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43930 (cache_search): Add const to second parameter.
43931 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43933 (dbs): Add netgrdb entry.
43934 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43935 (verify_persistent_db): Handle netgrdb.
43936 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43937 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43939 (netgroup_response_header): Define.
43940 (innetgroup_response_header): Define.
43941 (datahead): Add netgroup_response_header and innetgroup_response_header
43943 * nscd/nscd.conf: Add entries for netgroup cache.
43944 * nscd/nscd.h (dbtype): Add netgrdb.
43945 (_PATH_NSCD_NETGROUP_DB): Define.
43946 (netgroup_iov_disabled): Declare.
43947 (xmalloc, xcalloc, xrealloc): Move declarations here.
43948 (cache_search): Adjust prototype.
43949 Add netgroup-related prototypes.
43950 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43951 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43952 (__nscd_innetgr): Declare.
43953 * nscd/selinux.c (perms): Use access_vector_t as element type and
43954 add netgroup-related initializers.
43955 * nscd/netgroupcache.c: New file.
43956 * nscd/nscd_netgroup.c: New file.
43957 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43958 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43959 For four parameters use innetgr.
43960 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43961 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43962 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43963 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43965 * nscd/connections.c (register_traced_file): Don't register file
43966 for disabled databases.
43968 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43970 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43972 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43973 from tree and freeing node.
43975 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43977 * nss/nsswitch.c (__nss_database_lookup): Handle
43978 nss_parse_service_list out of memory case.
43980 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43982 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43983 out of memory case.
43985 2011-10-04 Andreas Schwab <schwab@redhat.com>
43987 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43988 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43990 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43991 elf_machine_rela, elf_machine_lazy_rel.
43992 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43993 (ELF_DYNAMIC_DO_REL): Likewise.
43994 (ELF_DYNAMIC_DO_RELA): Likewise.
43995 (ELF_DYNAMIC_RELOCATE): Likewise.
43996 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43997 to ELF_DYNAMIC_DO_REL.
43998 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43999 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44000 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44003 skip_ifunc, don't call ifunc function if non-zero.
44004 (elf_machine_rela): Likewise.
44005 (elf_machine_lazy_rel): Likewise.
44006 (elf_machine_lazy_rela): Likewise.
44007 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44008 (elf_machine_lazy_rel): Likewise.
44009 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44011 (elf_machine_lazy_rel): Likewise.
44012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44014 (elf_machine_lazy_rel): Likewise.
44015 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44016 (elf_machine_lazy_rel): Likewise.
44017 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44018 (elf_machine_lazy_rel): Likewise.
44019 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44020 (elf_machine_lazy_rel): Likewise.
44021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44022 (elf_machine_lazy_rel): Likewise.
44023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44024 (elf_machine_lazy_rel): Likewise.
44025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44026 (elf_machine_lazy_rel): Likewise.
44028 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44030 * nss/nss_files/files-init.c (_nss_files_init): Use static
44031 initialization for all the *_traced_file variables.
44033 2011-09-28 Andreas Schwab <schwab@redhat.com>
44035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44037 2011-09-27 Roland McGrath <roland@hack.frob.com>
44040 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44042 2011-09-27 Andreas Schwab <schwab@redhat.com>
44044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44045 Reread the line before reparsing it.
44047 2011-09-26 Andreas Schwab <schwab@redhat.com>
44049 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44051 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44052 Maxim Kuvyrkov <maxim@codesourcery.com>
44053 Joseph Myers <joseph@codesourcery.com>
44055 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44056 if needed for __stack_chk_guard.
44058 2011-09-19 Roland McGrath <roland@hack.frob.com>
44060 * sysdeps/posix/spawni.c (script_execute): Always define it.
44061 It will be optimized away if unused.
44062 (maybe_script_execute): New function.
44063 (__spawni): Call it.
44065 * Makerules: Don't include tls.make.
44066 (config-tls): Always set to thread.
44067 * tls.make.c: File removed.
44069 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44071 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44072 * config.make.in (CPPFLAGS-config): New substituted variable.
44074 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44076 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44079 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44080 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44082 2011-09-15 Roland McGrath <roland@hack.frob.com>
44084 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44085 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44086 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44087 (CALL_FAIL): Likewise.
44088 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44089 (CALL_FAIL): Macro removed.
44090 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44092 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44094 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44095 for __FINITE_MATH_ONLY__ == 1.
44097 2011-09-15 Andreas Schwab <schwab@redhat.com>
44099 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44100 __ieee754_sqrt instead of sqrt.
44101 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44102 __ieee754_sqrtf instead of sqrtf.
44103 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44104 __floorf instead of floorf.
44105 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44106 __floorf, __truncf instead of floorf, truncf.
44108 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44110 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44112 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44113 __extern_always_inline.
44114 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44117 2011-09-14 Andreas Schwab <schwab@redhat.com>
44119 * elf/rtld.c (dl_main): Also relocate in dependency order when
44120 doing symbol dependency testing.
44122 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44124 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44125 Always define `refsym'.
44127 2011-09-13 Andreas Schwab <schwab@redhat.com>
44129 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44130 (__FD_ELT): Renamed from __FDELT.
44131 * misc/bits/select2.h (__FD_ELT): Likewise.
44132 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44133 __FD_MASK instead of __FDELT, __FDMASK.
44134 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44136 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44139 * elf/Makefile (gen-ldd): Fix pattern.
44141 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44142 (init_tls): Likewise.
44144 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44146 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44148 2011-09-12 Andreas Schwab <schwab@redhat.com>
44150 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44151 `struct cmsghdr *' instead of `void *'.
44152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44155 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44157 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44159 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44160 ldd_rewrite_script.
44162 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44164 * configure.in: Remove --with-tls option.
44165 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44166 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44167 out in case it is missing.
44168 * sysdeps/ia64/elf/configure.in: Likewise.
44169 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44170 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44171 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44172 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44173 * sysdeps/sh/elf/configure.in: Likewise.
44174 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44175 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44176 * sysdeps/x86_64/elf/configure.in: Likewise.
44177 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44178 * sysdeps/mach/hurd/tls.h: Likewise.
44181 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44184 * configure.in: Fix use of AC_INIT.
44186 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44188 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44190 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44192 * malloc/hooks.c: Likewise.
44195 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44196 variables statically.
44197 (narenas): Initialize.
44198 (list_lock): Initialize.
44199 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44200 initializtion of main_arena and list_lock. Small cleanups.
44201 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44202 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44203 Add initializers to main_arena and mp_.
44204 (malloc_state): Remove pagesize member. Change all users to use
44207 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44208 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44209 is always initialized.
44211 * malloc/malloc.c: Removed unused configurations and dead code.
44212 * malloc/arena.c: Likewise.
44213 * malloc/hooks.c: Likewise.
44214 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44216 * include/tls.h: Removed. USE___THREAD must always be defined.
44217 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44218 * elf/dl-libc.c: Likewise.
44219 * elf/dl-tsd.c: Likewise.
44220 * include/errno.h: Likewise.
44221 * include/netdb.h: Likewise.
44222 * include/resolv.h: Likewise.
44223 * inet/herrno-loc.c: Likewise.
44224 * inet/herrno.c: Likewise.
44225 * malloc/arena.c: Likewise.
44226 * malloc/hooks.c: Likewise.
44227 * malloc/malloc.c: Likewise.
44228 * resolv/res-state.c: Likewise.
44229 * resolv/res_libc.c: Likewise.
44230 * sysdeps/i386/dl-machine.h: Likewise.
44231 * sysdeps/ia64/dl-machine.h: Likewise.
44232 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44233 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44234 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44235 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44236 * sysdeps/sh/dl-machine.h: Likewise.
44237 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44238 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44239 * sysdeps/unix/i386/sysdep.S: Likewise.
44240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44241 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44246 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44250 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44251 * sysdeps/x86_64/dl-machine.h: Likewise.
44252 * tls.make.c: Likewise.
44254 * configure.in: Remove --with-__thread option. Make tests for
44255 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44256 tls_model attribute fail if no support is available. Remove
44258 * Makeconfig: Adjust for dropped configure option. All features are
44260 * Makerules: Likewise.
44261 * Versions.def: Likewise.
44262 * argp/argp-fmtstream.c: Likewise.
44263 * argp/argp-fmtstream.h: Likewise.
44264 * argp/argp-help.c: Likewise.
44265 * assert/assert.c: Likewise.
44266 * config.h.in: Likewise.
44267 * config.make.in: Likewise.
44268 * configure: Likewise.
44269 * configure.in: Likewise.
44270 * csu/Versions: Likewise.
44271 * csu/init.c: Likewise.
44272 * elf/tst-audit2.c: Likewise.
44273 * elf/tst-tls10.c: Likewise.
44274 * elf/tst-tls10.h: Likewise.
44275 * elf/tst-tls11.c: Likewise.
44276 * elf/tst-tls12.c: Likewise.
44277 * elf/tst-tls14.c: Likewise.
44278 * elf/tst-tlsmod11.c: Likewise.
44279 * elf/tst-tlsmod12.c: Likewise.
44280 * elf/tst-tlsmod13.c: Likewise.
44281 * elf/tst-tlsmod13a.c: Likewise.
44282 * elf/tst-tlsmod14a.c: Likewise.
44283 * elf/tst-tlsmod15b.c: Likewise.
44284 * elf/tst-tlsmod16a.c: Likewise.
44285 * elf/tst-tlsmod16b.c: Likewise.
44286 * elf/tst-tlsmod7.c: Likewise.
44287 * elf/tst-tlsmod8.c: Likewise.
44288 * elf/tst-tlsmod9.c: Likewise.
44289 * gmon/gmon.c: Likewise.
44290 * grp/fgetgrent_r.c: Likewise.
44291 * grp/putgrent.c: Likewise.
44292 * hurd/fopenport.c: Likewise.
44293 * include/libc-symbols.h: Likewise.
44294 * include/tls.h: Likewise.
44295 * intl/gettextP.h: Likewise.
44296 * intl/loadinfo.h: Likewise.
44297 * locale/global-locale.c: Likewise.
44298 * locale/localeinfo.h: Likewise.
44299 * mach/devstream.c: Likewise.
44300 * malloc/arena.c: Likewise.
44301 * malloc/set-freeres.c: Likewise.
44302 * misc/err.c: Likewise.
44303 * misc/getttyent.c: Likewise.
44304 * misc/mntent_r.c: Likewise.
44305 * posix/getopt.c: Likewise.
44306 * posix/wordexp.c: Likewise.
44307 * pwd/fgetpwent_r.c: Likewise.
44308 * resolv/Versions: Likewise.
44309 * resolv/res_hconf.c: Likewise.
44310 * shadow/fgetspent_r.c: Likewise.
44311 * shadow/putspent.c: Likewise.
44312 * stdio-common/printf_fphex.c: Likewise.
44313 * stdio-common/tmpfile.c: Likewise.
44314 * stdlib/abort.c: Likewise.
44315 * stdlib/fmtmsg.c: Likewise.
44316 * sunrpc/auth_unix.c: Likewise.
44317 * sunrpc/clnt_perr.c: Likewise.
44318 * sunrpc/clnt_tcp.c: Likewise.
44319 * sunrpc/clnt_udp.c: Likewise.
44320 * sunrpc/clnt_unix.c: Likewise.
44321 * sunrpc/openchild.c: Likewise.
44322 * sunrpc/svc_simple.c: Likewise.
44323 * sunrpc/svc_tcp.c: Likewise.
44324 * sunrpc/svc_udp.c: Likewise.
44325 * sunrpc/svc_unix.c: Likewise.
44326 * sunrpc/xdr.c: Likewise.
44327 * sunrpc/xdr_array.c: Likewise.
44328 * sunrpc/xdr_rec.c: Likewise.
44329 * sunrpc/xdr_ref.c: Likewise.
44330 * sunrpc/xdr_stdio.c: Likewise.
44332 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44334 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44336 2011-07-03 Andreas Jaeger <aj@suse.de>
44338 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44339 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44340 regenerate with gen-libm-tests.pl.
44342 2010-05-12 Petr Baudis <pasky@suse.cz>
44345 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44346 around j0() zero points by switching to j1().
44347 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44350 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44352 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44354 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44356 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44359 Patch in part by Pavel Roskin <proski@gnu.org>.
44362 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44364 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44365 Free memory block if necessary.
44368 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44369 be NULL. Don't lock in this case.
44371 2011-09-09 Roland McGrath <roland@hack.frob.com>
44373 * elf/elf.h (ELFOSABI_GNU): New macro.
44374 (ELFOSABI_LINUX): Define to that.
44376 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44378 * string/strncat.c (strncat): Undef the symbol in case it has been
44379 defined in bits/string.h.
44381 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44383 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44385 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44388 2011-08-17 Andreas Jaeger <aj@suse.de>
44390 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44392 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44393 Ian Lance Taylor <iant@google.com>
44395 * math/libm-test.inc (lround_test): New testcase.
44396 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44398 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44400 * Makefile: Remove support for automatic cvs check-ins.
44401 * Makerules: Likewise.
44402 * config.make.in: Likewise.
44403 * configure.in: Likewise.
44404 * intl/Makefile: Likewise.
44405 * locale/Makefile: Likewise.
44406 * po/Makefile: Likewise.
44407 * posix/Makefile: Likewise.
44408 * sysdeps/gnu/Makefile: Likewise.
44409 * sysdeps/mach/hurd/Makefile: Likewise.
44410 * sysdeps/sparc/sparc32/Makefile: Likewise.
44413 * posix/Makefile (bug-regex32-ENV): Define.
44414 Patch by John Stanley <jpsinthemix@verizon.net>.
44416 * misc/Makefile (headers): Add bits/select2.h.
44417 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44418 * misc/bits/select2.h: New file.
44419 * include/bits/select2.h: New file.
44420 * debug/Makefile (routines): Add fdelt_chk.
44421 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44422 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44424 * debug/fdelt_chk.c: New file.
44426 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44427 * wcsmbs/test-wmemcmp.c: Likewise.
44428 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44429 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44431 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44433 * string/Makefile (strop-tests): Add memcmp.
44434 * string/test-wmemcmp.c: New file.
44435 * string/test-memcmp.c: Add wmemcmp support.
44437 2011-09-08 Roland McGrath <roland@hack.frob.com>
44440 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44443 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44444 garbage value in a __mach_port_mod_refs call in the cases of the
44445 task-self and thread-self ports.
44447 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44449 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44451 2011-09-08 Andreas Schwab <schwab@redhat.com>
44453 * elf/dl-load.c (lose): Check for non-null L.
44455 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44457 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44459 * elf/dl-libc.c (dlerror_run): Pass back error code from
44463 * elf/dl-load.c (lose): Free l_origin if it is valid.
44465 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44467 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44470 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44471 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44472 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44474 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44476 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44477 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44478 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44479 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44480 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44481 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44482 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44483 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44484 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44485 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44487 2011-08-15 Alan Modra <amodra@gmail.com>
44490 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44491 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44492 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44493 ppc_mcount to static-only-routines.
44494 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44496 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44497 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44499 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44501 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44502 for finite and infinity parameters.
44504 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44507 and add nop instructions for throughput optimization.
44508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44510 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44513 aligned copy for power7 with vector-scalar instructions.
44514 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44516 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44521 2011-09-07 Andreas Schwab <schwab@redhat.com>
44524 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44527 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44530 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44531 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44532 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44535 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44538 Forgot to demangle the pointer.
44540 * sysdeps/i386/sysdep.h: Define atom_text_section.
44541 * sysdeps/x86_64/sysdep.h: Likewise.
44542 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44543 section with atom_text_section.
44544 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44545 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44546 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44550 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44551 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44552 already be defined. Change to take two parameters and don't assign
44553 result to variable. Adjust all users.
44554 Define INTERNAL_GETTIME if not already defined.
44555 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44558 HAVE_CLOCK_GETTIME_VSYSCALL.
44559 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44562 gettimeofday vsyscall, just use time.
44564 2011-09-06 Andreas Schwab <schwab@redhat.com>
44566 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44569 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44571 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44573 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44575 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44576 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44577 syscall if possible.
44579 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44581 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44582 e_ident. Don't pass to find_mapsXX.
44583 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44585 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44588 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44589 * sysdeps/x86_64/multiarch/strchr.S: Update.
44590 Check bit_slow_BSF bit.
44591 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44592 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44593 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44595 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44598 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44600 (tryshell): Define.
44601 (__spawni): Change last parameter to be flag. Test
44602 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44603 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44604 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44605 * posix/spawni.c: Likewise.
44606 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44607 * posix/spawnp.c: Likewise. Change normal version to use
44608 SPAWN_XFLAGS_USE_PATH.
44609 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44610 SPAWN_XFLAGS_TRY_SHELL.
44613 * posix/glob.h: Remove gcc 1.x support.
44616 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44618 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44621 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44623 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44624 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44625 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44626 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44627 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44630 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44632 * sysdeps/x86_64/wcscmp.S: New file.
44634 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44635 wcscmp-c wcscmp-sse2
44636 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44637 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44638 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44639 * wcsmbs/wcscmp.c: Allow renaming.
44641 2011-09-05 David S. Miller <davem@davemloft.net>
44643 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44644 stack slot, rather than the struct return pointer slot.
44645 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44646 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44648 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44650 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44652 * po/ja.po: Update from translation team.
44655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44656 kernel in 64-bit binaries.
44658 2011-09-01 David S. Miller <davem@davemloft.net>
44660 * elf/elf.h (HWCAP_SPARC_*): Move to..
44661 * sysdeps/sparc/sysdep.h: this new file and add new values.
44662 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44663 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44664 _DL_HWCAP_COUNT to 24.
44665 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44667 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44668 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44669 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44671 instead of magic constants.
44672 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44674 2011-08-31 David S. Miller <davem@davemloft.net>
44676 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44678 Reimplement to do errno handling inline.
44679 (SYSCALL_ERROR_HANDLER): New macro.
44680 (__SYSCALL_STRING): Do not do errno handling in asm.
44681 (__CLONE_SYSCALL_STRING): Delete.
44682 (__INTERNAL_SYSCALL_STRING): Delete.
44683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44684 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44685 (PSEUDO): Reimplement to do errno handling inline.
44686 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44687 (SYSCALL_ERROR_HANDLER): New macro.
44688 (__SYSCALL_STRING): Do not do errno handling in asm.
44689 (__CLONE_SYSCALL_STRING): Delete.
44690 (__INTERNAL_SYSCALL_STRING): Delete.
44691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44692 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44694 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44695 (inline_syscall*): Add 'err' argument.
44696 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44697 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44698 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44699 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44701 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44702 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44704 2011-08-30 Andreas Schwab <schwab@redhat.com>
44706 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44708 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44710 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44713 2011-08-24 David S. Miller <davem@davemloft.net>
44715 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44717 2011-08-24 Andreas Schwab <schwab@redhat.com>
44719 * elf/Makefile: Add rules to build and run unload8 test.
44720 * elf/unload8.c: New file.
44721 * elf/unload8mod1.c: New file.
44722 * elf/unload8mod1x.c: New file.
44723 * elf/unload8mod2.c: New file.
44724 * elf/unload8mod3.c: New file.
44726 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44729 2011-08-23 David S. Miller <davem@davemloft.net>
44731 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44732 subtract stack bias.
44733 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44734 %sp not %fp in calculations.
44735 (_JMPBUF_UNWINDS_ADJ): Likewise.
44737 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44738 (aio_suspend): Call it to force an exception region around the
44739 AIO_MISC_WAIT() invocation.
44741 2011-08-23 Andreas Schwab <schwab@redhat.com>
44743 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44746 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44748 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44750 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44751 and <dl-machine.h>.
44752 (Elf64_FuncDesc): Remove.
44754 2011-08-22 David S. Miller <davem@davemloft.net>
44756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44757 sigaltstack check, add missing cfi directives.
44758 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44759 missing cfi directives, and sigaltstack handling.
44761 2011-08-16 Andreas Schwab <schwab@redhat.com>
44764 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44765 object is seen twice.
44766 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44768 * elf/Makefile (distribute): Add tst-initorder2.c.
44769 (tests): Add tst-initorder2.
44770 (modules-names): Add tst-initorder2a tst-initorder2b
44771 tst-initorder2c tst-initorder2d. Add rules to build them.
44772 ($(objpfx)tst-initorder2.out): New rule.
44773 * elf/tst-initorder2.c: New file.
44774 * elf/tst-initorder2.exp: New file.
44776 2011-08-22 Andreas Schwab <schwab@redhat.com>
44778 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44780 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44781 dependencies back to end of function.
44783 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44784 $(elfobjdir)/ld.so.
44786 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44789 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44791 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44792 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44793 of __vdso_gettimeofday.
44794 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44795 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44797 (_libc_vdso_platform_setup): Remove initialization of
44798 __vdso_gettimeofday and __vdso_time.
44800 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44802 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44803 and fgetc_unlocked.
44804 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44807 * elf/dl-open.c (add_to_global): Report additions to the global scope
44808 for LD_DEBUG=scopes.
44809 (dl_open_worker): Also print scope of newly loaded dependencies.
44810 (_dl_show_scope): Indicate if there is no scope.
44813 * stdio-common/Makefile (tests): Add bug24.
44814 * stdio-common/bug24.c: New file.
44816 2011-08-19 Andreas Jaeger <aj@suse.de>
44819 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44820 non-existant file when using close-on-exec mode.
44822 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44825 the very first instruction.
44827 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44828 the CFI state in the end.
44829 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44830 inclusion of dl-trampoline.h.
44831 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44833 2011-08-19 Andreas Schwab <schwab@redhat.com>
44835 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44836 expectations for long double.
44838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44839 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44841 2011-08-14 David S. Miller <davem@davemloft.net>
44843 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44844 artificual limit depends upon the system page size.
44846 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44848 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44849 * resolv/Makefile: Define CFLAGS-libresolv.
44851 2011-08-17 Andreas Schwab <schwab@redhat.com>
44853 * nss/makedb.c (compute_tables): Make variables used in nested
44856 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44858 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44859 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44860 if buffer was too small.
44862 * elf/pldd.c (main): Attach to all threads in the process.
44863 Rewrite /proc handling to use *at functions.
44865 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44867 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44868 specifies first scope to show.
44869 (dl_open_worker): Update callers. Move printing scope of new
44870 object to before the relocation.
44871 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44872 * sysdeps/generic/ldsodefs.h: Update declaration.
44874 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44875 string for the scope number.
44877 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44879 * nscd/servicescache.c (cache_addserv): Make sure written is always
44882 2011-08-14 Roland McGrath <roland@hack.frob.com>
44884 * sysdeps/i386/i486/bits/atomic.h
44885 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44886 statement expression, so as to suppress "set but not used" warning.
44887 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44889 * string/strncat.c (STRNCAT): Use prototype definition.
44891 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44892 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44894 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44895 (localedef-modules): Add localedef.
44896 (locale-modules): Add locale.
44898 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44899 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44900 to avoid a warning.
44902 2011-08-14 David S. Miller <davem@davemloft.net>
44904 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44905 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44907 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44909 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44910 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44911 * elf/rtld.c (dl_main): Set l_name of vDSO.
44912 Call _dl_show_scope when DL_DEBUG_SCOPES.
44913 (process_dl_debug): Recognize scopes flag and also set it for all.
44914 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44915 Declare _dl_show_scope.
44917 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44918 (do_dlopen): Pass caller_dlopen to dl_open.
44919 (__libc_dlopen_mode): Initialize caller_dlopen.
44921 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44922 of libc. Make tolower call locale-independent. Optimize a bit by
44923 using isdigit instead of isalnum.
44924 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44926 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44928 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44929 was a dependency or dynamically loaded.
44931 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44933 * intl/l10nflist.c: Allow architecture-specific pop function.
44934 * sysdeps/x86_64/l10nflist.c: New file.
44936 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44939 2011-08-10 Andreas Schwab <schwab@redhat.com>
44941 * include/dirent.h: Add libc_hidden_proto for scandirat and
44942 scandirat64. Don't declare __scandirat64.
44943 * dirent/scandirat.c: Add libc_hidden_def.
44944 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44945 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44947 2011-08-10 David S. Miller <davem@davemloft.net>
44949 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44951 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44952 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44953 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44955 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44957 * Versions.def [libc]: Add GLIBC_2.15.
44958 * dirent/Makefile (routines): Add scandirat and scandirat64.
44959 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44961 * dirent/dirent.h: Declare scandirat and scandirat64.
44962 * dirent/scandirat.c: New file.
44963 * dirent/scandirat64.c: New file.
44964 * sysdeps/wordsize-64/scandirat.c: New file.
44965 * sysdeps/wordsize-64/scandirat64.c: New file.
44966 * dirent/opendir.c: Define opendirat.
44967 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44969 * dirent/scandir64.c: Adjust for scandir.c change.
44970 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44971 __scandirat64, and __scandir_cancel_handler.
44972 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44973 additional parameter and use openat instead of open (outside of ld.so).
44974 Add new __opendir as wrapper around __opendirat.
44975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44976 here without requiring old scandirat implementation.
44978 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44980 * dirent/scandir.c (cancel_handler): Renamed to
44981 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44982 defined. Adjust users.
44983 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44986 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44988 * string/test-string.h (IMPL): Use __STRING to expand name and then
44991 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44994 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44996 * string/Makefile: Update.
44997 (strop-tests): Append strncat.
44998 * string/test-wcscmp.c: New file.
44999 New comprehensive test for wcscmp.
45000 * string/test-strcmp.c: Update.
45001 (WIDE): New define.
45003 2011-07-22 Andreas Schwab <schwab@redhat.com>
45005 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45008 2011-07-26 Andreas Schwab <schwab@redhat.com>
45010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45011 encoding to ACE if AI_IDN.
45013 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45016 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45018 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45020 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45021 Fix overflow bug in strncat.
45022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45024 * string/test-strncat.c: Update.
45025 Add new tests for checking overflow bugs.
45027 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45030 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45031 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45032 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45033 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45034 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45035 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45036 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45037 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45040 (USE_AS_STRCAT): Define.
45041 Add strcat and strncat support.
45042 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45044 2011-07-25 Andreas Schwab <schwab@redhat.com>
45046 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45047 __n bigger than INT_MAX+1.
45048 (__strncmp_g): Likewise.
45050 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45052 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45053 * libio/stido.h: Likewise.
45055 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45060 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45061 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45063 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45064 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45067 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45072 (_dl_x86_64_save_sse): Likewise.
45074 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45078 (_dl_x86_64_save_sse): Likewise.
45080 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45082 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45084 2011-07-21 Andreas Schwab <schwab@redhat.com>
45086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45088 (_dl_x86_64_save_sse): Use correct AVX check.
45090 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45093 bug in strncpy/strncat.
45094 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45096 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45098 * string/tester.c (test_strcat): Add tests for different alignments
45099 of source and destination.
45100 (test_strncat): Likewise.
45102 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45105 * posix/glob.c (glob): Check passed in values before using them in
45106 expressions to avoid some overflows.
45107 (glob_in_dir): Likewise.
45110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45111 check for AVX enablement so that we don't crash with old kernels and
45113 * elf/tst-audit4.c: Add same checks here.
45114 * elf/tst-audit6.c: Likewise.
45116 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45118 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45120 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45122 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45124 * po/cs.po: Update from translation team.
45125 * po/bg.po: Likewise.
45127 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45129 * misc/sys/cdefs.h: Add support for const attribute.
45130 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45131 to gnu_dev_{major,minor,makedev} functions.
45133 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45135 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45137 2011-07-20 Andreas Schwab <schwab@redhat.com>
45139 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45142 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45144 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45145 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45146 register in order to avoid conflicts with the soft frame pointer
45147 being held in r11 when necessary.
45148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45149 (INTERNAL_VSYSCALL_NCS): Likewise.
45151 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45153 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45154 * elf/dl-fini.c (_dl_fini): Adjust caller.
45155 * elf/dl-close.c (_dl_close_worker): Likewise.
45156 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45158 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45160 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45161 "aux_cache->nlibs < 0".
45163 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45164 in the reload-count case.
45166 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45169 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45170 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45171 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45172 * sysdeps/x86_64/multiarch/strcat.S: New file.
45173 * sysdeps/x86_64/multiarch/strncat.S: New file.
45174 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45175 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45176 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45177 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45179 (USE_AS_STRCAT): Define.
45180 Add strcat and strncat support.
45181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45183 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45184 * string/strncat.c: Update.
45185 (USE_AS_STRNCAT): Define.
45186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45187 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45189 * sysdeps/x86_64/multiarch/init-arch.h
45190 (bit_Prefer_PMINUB_for_stringop): New.
45191 (index_Prefer_PMINUB_for_stringop): Likewise.
45192 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45193 bit_Prefer_PMINUB_for_stringop.
45195 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45197 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45199 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45200 of casting of buffer.
45201 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45202 buffer32 and buffer64.
45203 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45204 writes instead of casting of buffer.
45205 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45207 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45210 2011-07-19 Andreas Schwab <schwab@redhat.com>
45212 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45214 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45216 * nscd/nscd.c (termination_handler): Don't do anything for a database
45217 if it has not yet been initialized.
45219 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45221 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45223 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45225 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45227 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45229 * po/nl.po: Update from translation team.
45230 * po/sv.po: Likewise.
45232 2011-07-16 Roland McGrath <roland@hack.frob.com>
45234 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45235 now disallowed by GCC.
45237 * configure.in (use-default-link): Default to yes if a test -shared
45238 link meets our qualifications.
45239 * configure: Regenerated.
45241 * config.make.in (output-format): New variable.
45242 * configure.in: Check for ld --print-output-format support.
45243 * configure: Regenerated.
45244 * Makerules ($(common-objpfx)format.lds)
45245 [$(output-format) != unknown]: Just use $(output-format),
45246 instead of the linker-script munging.
45248 2011-07-14 Roland McGrath <roland@hack.frob.com>
45250 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45251 of $(common-objpfx)shlib.lds.
45252 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45254 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45255 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45257 * configure.in (-z relro check): Adjust test code to add a large
45258 writable data section after it.
45259 * configure: Regenerated.
45261 2011-07-11 Roland McGrath <roland@hack.frob.com>
45263 * configure.in (-z relro check): Fix test code to make the variable
45265 * configure: Regenerated.
45267 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45269 * nscd/nscd.h (struct traced_file): Define.
45270 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45271 elements. Add traced_files.
45272 (inotify_fd): Declare.
45273 (register_traced_file): Declare.
45274 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45275 (inotify_fd): Export.
45276 (resolv_conf_descr): Remove.
45277 (nscd_init): Move inotify descriptor creation to main.
45278 Don't register files for notification here.
45279 (register_traced_file): New function.
45280 (invalidate_cache): Don't use reset_res to determine whether to call
45281 res_init, go through the list of registered files.
45282 (main_loop_poll): The inotify descriptors are now stored in the
45283 structures for the traced files.
45284 (main_loop_epoll): Likewise
45285 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45286 to __nss_disable_nscd.
45287 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45288 for a database anymore. Check the records for all the registered
45290 * nss/Makefile (libnss_files-routines): Add files-init.
45291 (libnss_db-routines): Add db-init.
45292 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45293 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45294 * nss/nss_db/db-init.c: New file.
45295 * nss/nss_files/files-init.c: New file.
45296 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45297 __nss_lookup_function.
45298 (__nss_lookup_function): Call nss_load_library.
45299 (nss_load_all_libraries): New function.
45300 (__nss_disable_nscd): Take parameter with callback function for files
45301 to register. Set is_nscd. Load all the DSOs for the NSS modules
45302 used for the cached services.
45303 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45304 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45305 options for features to all the files in nscd.
45307 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45309 2011-07-10 Roland McGrath <roland@hack.frob.com>
45311 * csu/elf-init.c (__libc_csu_init): Comment typo.
45313 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45315 * po/pl.po: Update from translation team.
45316 * po/ja.po: Likewise.
45317 * po/ru.po: Likewise.
45318 * po/ko.po: Likewise.
45319 * po/fr.po: Likewise.
45321 2011-07-09 Roland McGrath <roland@hack.frob.com>
45323 * configure.in (.ctors/.dtors header and trailer check):
45324 Use an empirical test on a built program.
45325 * configure: Regenerated.
45327 * configure.in (-z relro check): Use an empirical test on a built DSO.
45328 Detect, but do not require, on ia64.
45329 * configure: Regenerated.
45331 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45332 Update tests that use readelf to use $READELF instead.
45333 * configure: Regenerated.
45335 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45337 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45338 if the result is not used.
45340 2011-07-05 Andreas Jaeger <aj@suse.de>
45343 * stdlib/tst-strtod.c: Add testcase.
45345 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45347 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45348 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45349 The latter has a higher limit. Take additional parameter to pass to
45351 (__pathconf): Pass file to __statfs_link_max.
45352 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45354 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45358 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45362 (__statfs_filesize_max): Likewise.
45363 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45365 2011-07-05 Andreas Jaeger <aj@suse.de>
45367 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45369 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45371 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45373 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45376 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45378 * Makefile (strop-tests): Add strncat.
45379 * string/test-strncat.c: New file.
45381 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45383 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45385 2011-06-21 Andreas Jaeger <aj@suse.de>
45387 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45388 Copy rule from iconvdata/Makefile.
45390 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45393 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45394 but no long options are defined, just return 'W'.
45396 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45399 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45401 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45403 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45405 (innetgr): Likewise.
45407 2011-07-05 Roland McGrath <roland@hack.frob.com>
45409 * config.make.in (install_root): Default to $(DESTDIR).
45411 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45415 2011-07-02 Roland McGrath <roland@hack.frob.com>
45417 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45419 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45420 containing directory rather than embedding absolute directory names.
45422 * scripts/check-local-headers.sh: Rewritten using awk.
45423 Match by word, not by line. Print error messages for matches.
45424 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45426 * Makerules [shlib-lds-flags empty]:
45427 ($(common-objpfx)libc_pic.opts): New target.
45428 ($(common-objpfx)libc_pic.os.clean): New target.
45429 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45431 * config.make.in (OBJCOPY): New variable.
45432 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45433 * configure: Regenerated.
45435 * config.make.in (use-default-link): New variable.
45436 * configure.in (use_default_link): Grok --with-default-link to set it.
45437 * configure: Regenerated.
45438 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45439 (shlib-lds, shlib-lds-flags): Define to empty.
45441 * Makerules (shlib-lds): New variable.
45442 (shlib-lds-flags): New variable.
45443 (build-shlib, build-moduile, build-module-asneeded): Use it.
45444 ($(common-objpfx)libc.so): Use $(shlib-lds).
45445 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45446 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45448 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45449 DT_FLAGS/DT_FLAGS_1 with zero flags.
45451 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45452 linker script munging.
45454 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45456 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45458 * crypt/sha512.c (sha512_process_block): Perform total addition using
45459 128-bit if possible.
45460 (__sha512_finish_ctx): Likewise.
45461 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45463 * crypt/sha256.c (SWAP64): Define.
45464 (sha256_process_block): Perform total addition using 64-bit if
45466 (__sha256_finish_ctx): Likewise.
45468 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45470 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45472 * nscd/hstcache.c (cache_addhst): Likewise.
45473 * nscd/grpcache.c (cache_addgr): Likewise.
45474 * nscd/aicache.c (addhstaiX): Likewise
45475 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45477 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45479 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45481 * nscd/hstcache.c (cache_addhst): Likewise.
45482 * nscd/grpcache.c (cache_addgr): Likewise.
45483 * nscd/aicache.c (addhstaiX): Likewise
45485 2011-07-01 Andreas Schwab <schwab@redhat.com>
45487 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45488 domain only when needed.
45490 2011-06-30 Andreas Schwab <schwab@redhat.com>
45492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45493 is always restored.
45495 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45497 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45498 are re-adding the entry.
45499 * nscd/servicescache.c (cache_addserv): Likewise.
45501 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45503 * sysdeps/generic/dl-irel.h: fix protection against multiple
45505 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45507 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45510 * malloc/memusage.sh: Fix quoting in message.
45511 * debug/xtrace.sh: Likewise.
45513 * configure.in: Remove support for --experimental-malloc option, make
45515 * config.make.in: Likewise.
45516 * malloc/Makefile: Likewise.
45518 2011-06-27 Andreas Schwab <schwab@redhat.com>
45520 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45521 two-byte characters.
45523 2011-06-27 Roland McGrath <roland@hack.frob.com>
45525 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45526 AC_CACHE_CHECK invocation.
45527 * configure: Regenerated.
45529 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45531 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45534 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45535 bit from old_res_options.
45537 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45539 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45540 value type for setfct.
45542 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45545 __gettimeofday instead of gettimeofday.
45547 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45549 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45551 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45558 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45561 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45562 strcpy-sse2-unaligned strncpy-sse2-unaligned
45563 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45564 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45565 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45566 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45567 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45569 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45570 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45571 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45572 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45573 (STRCPY): Support SSE2 and SSSE3 versions.
45575 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45578 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45579 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45580 kernels which artificially limit size of requests.
45582 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45585 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45586 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45587 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45588 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45589 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45590 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45591 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45594 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45595 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45596 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45597 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45598 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45600 Enable unaligned load optimization for Intel Core i3, i5 and i7
45602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45604 (index_Fast_Unaligned_Load): Define.
45605 (HAS_FAST_UNALIGNED_LOAD): Define.
45607 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45609 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45611 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45615 until it is clear that the information is realy needed.
45616 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45618 2011-06-22 Andreas Schwab <schwab@redhat.com>
45620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45622 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45625 /sys/devices/system/cpu/online if it is usable.
45627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45628 reading the information from the /proc filesystem to once a second.
45630 2011-06-21 Andreas Jaeger <aj@suse.de>
45632 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45633 NULL after inclusion of kernel headers.
45635 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45637 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45638 calls to internal_setent.
45641 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45642 addresses using gethostbyname4_r ignore IPv4 addresses.
45644 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45645 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45647 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45649 2011-06-20 David S. Miller <davem@davemloft.net>
45651 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45653 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45655 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45656 (elf_irel): Use it.
45657 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45658 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45659 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45660 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45661 * sysdeps/x86_64/dl-irel.h: Likewise.
45663 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45664 * elf/dl-sym.c: Likewise.
45666 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45668 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45669 need to dereference resplen2.
45671 2011-06-14 Andreas Schwab <schwab@redhat.com>
45673 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45675 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45677 * Makeconfig: Define vardbdir and inst_vardbdir.
45678 * nss/Makefile: Add rules to install db-Makefile.
45680 * nss/nss_db/db-XXX.c: Cleanup.
45682 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45683 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45685 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45686 * nss/makedb.c: Implement -g option to specify that value strings
45687 are generated and should not be added to table iterated over for
45689 * nss/nss_db/db-initgroups.c: New file.
45691 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45694 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45695 (internal_getgrouplist): Adjust to name change.
45696 Update use_initgroups_entry if this is not the first call.
45697 * nss/databases.def: Add initgroups entry.
45699 * nss/makedb.c (compute_tables): Check result of multiple hash table
45700 sizes to minimize maximum chain length.
45702 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45704 * Versions.def: Add entry for libnss_db.
45705 * shlib-versions: Likewise.
45706 * nss/Makefile: Add rules to build libnss_db.
45707 * nss/Versions: Add libnss_db information. Organize libnss_files
45709 * nss/db-Makefile: Add gshadow support. Change rules for the new
45710 makedb progra. Some minor improvements to generate smaller files.
45711 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45713 * nss/makedb.c: ...here.
45714 Improve database format to be smaller and require less memory at
45716 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45718 * nss/nss_db/db-netgrp.c: Likewise.
45719 * nss/nss_db/db-open.c: Likewise.
45720 * nss/nss_files/flies-XXX.x: Adjust comments.
45721 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45722 * nss/nss_files/files-grp.c: Likewise.
45723 * nss/nss_files/files-hosts.c: Likewise.
45724 * nss/nss_files/files-network.c: Likewise.
45725 * nss/nss_files/files-proto.c: Likewise.
45726 * nss/nss_files/files-pwd.c: Likewise.
45727 * nss/nss_files/files-rpc.c: Likewise.
45728 * nss/nss_files/files-service.c: Likewise.
45729 * nss/nss_files/files-sgrp.c: Likewise.
45730 * nss/nss_files/files-spwd.c: Likewise.
45731 * nss/nss_db/db-alias.c: Removed.
45732 * nss/nss_db/dummy-db.h: Removed.
45734 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45736 * nss/makedb.c: Rewritten to not use database library.
45737 * nss/Makefile: Update to build new makedb program.
45739 2011-06-14 Andreas Jaeger <aj@suse.de>
45741 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45742 memset declaration.
45744 2011-06-10 Andreas Schwab <schwab@redhat.com>
45746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45749 2011-06-10 Roland McGrath <roland@hack.frob.com>
45751 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45752 * elf/Makefile ($(objpfx)ld.so): Likewise.
45754 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45755 Don't list ld.so twice in dependencies.
45757 * posix/bug-regex31.c: Include <stdlib.h>.
45759 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45761 * nis/nss_compat/compat-spwd.c
45762 (getspent_next_nss_netgr): Remove unused variable.
45763 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45765 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45766 nonmembers" output to use the right array.
45768 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45770 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45772 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45773 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45774 * catgets/gencat.c (read_input_file): Likewise.
45775 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45777 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45778 variable definition inside #if's controlling its use.
45780 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45782 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45784 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45786 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45789 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45791 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45792 * configure: Regenerated.
45794 * Makerules: Revert last change.
45795 * elf/Makefile: Likewise.
45797 2011-06-09 Roland McGrath <roland@hack.frob.com>
45799 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45800 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45801 (reloc-link): Likewise.
45803 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45805 * elf/Makefile: Add rules to build pldd.
45806 * elf/pldd.c: New file.
45807 * elf/pldd-xx.c: New file.
45809 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45811 * version.h: Update for 2.15 development version.
45813 2011-06-07 David S. Miller <davem@davemloft.net>
45815 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45818 elf_machine_lazy_rel): Likewise.
45819 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45821 elf_machine_lazy_rel): Likewise.
45822 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45823 dl_hwcap via passed in argument.
45824 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45827 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45829 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45831 2011-06-06 Roland McGrath <roland@hack.frob.com>
45834 * manual/fdl-1.1.texi: New file, verbatim from:
45835 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45836 * manual/lgpl-2.1.texi: New file, verbatim from:
45837 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45838 * manual/Makefile (licenses): New variable, list those new file names.
45840 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45842 * manual/fdl.texi: File removed.
45843 * manual/lesser.texi: File removed.
45844 * manual/libc.texinfo (Copying, Documentation License):
45845 Use new @include file names, put @appendix directive before @include.
45847 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45850 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45851 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45852 (mq_open): Add __NTH.
45854 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45857 Assume Intel Core i3/i5/i7 processor if AVX is available.
45859 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45864 2011-05-31 Andreas Schwab <schwab@redhat.com>
45866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45867 memory. Use alloca_account. Fix memory leak when retrying.
45869 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45871 * version.h (RELEASE): Bump for 2.14 release.
45872 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45874 * config.make.in (RANLIB): Remove entry.
45876 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45878 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45879 (libc.pot): Work around missing support for .ksh extension in xgettext.
45882 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45883 if both request failed.
45884 (send_dg): In case of server errors clear resplen or *resplen2.
45887 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45888 when there are multiple maps.
45889 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45890 (_dl_fini): Remove test here.
45892 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45894 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45897 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45898 bit from old_res_options.
45899 (gaih_inet): Likewise.
45902 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45905 * resolv/res_init.c (res_setoptions): Make the code more compact.
45908 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45912 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45914 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45917 * malloc/malloc.h: Declare malloc hook variables as volatile.
45919 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45923 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45924 raise in the comment.
45925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45926 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45927 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45929 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45932 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45933 grow the buffers more if it already has to be sufficient.
45934 (build_wcs_upper_buffer): Likewise.
45935 * posix/regexec.c (check_matching): Likewise.
45936 (clean_state_log_if_needed): Likewise.
45937 (extend_buffers): Don't enlarge buffers beyond size of the input
45939 Patches mostly by Emil Wojak <emil@wojak.eu>.
45940 * posix/bug-regex32.c: New file.
45941 * posix/Makefile (tests): Add bug-regex32.
45943 * locale/findlocale.c (_nl_find_locale): Return right away if
45944 _nl_explode_name failed.
45945 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45947 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45949 * debug/xtrace.sh: Unify messages.
45950 * malloc/memusage.sh: Likewise.
45953 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45954 time symbol from vDSO. Substitute with vsyscall if not available.
45955 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45958 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45959 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45960 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45961 Add sendmmsg and internal_sendmmsg.
45962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45963 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45964 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45966 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45967 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45968 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45970 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45973 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45974 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45976 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45980 * iconvdata/Makefile (tests): Add bug-iconv9.
45981 * iconvdata/bug-iconv9.c: New file.
45983 2011-05-27 Andreas Schwab <schwab@redhat.com>
45986 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45988 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45991 (struct user_regs_struct): Change intcs field back to cs.
45993 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45995 * po/ja.po: Update from translation team.
45997 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46000 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46001 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46003 2011-05-20 Andreas Schwab <schwab@redhat.com>
46005 * stdlib/longlong.h: Update from GCC.
46007 2011-05-23 Andreas Schwab <schwab@redhat.com>
46009 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46011 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46012 Add parameter name.
46013 (__sysconf): Pass it down.
46015 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46018 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46021 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46022 add in in __libc_use_alloca calls. Adjust callers.
46023 (glob): Use malloc in some situations.
46025 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46026 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46029 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46031 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46032 and CLOCK_BOOTTIME_ALARM.
46035 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46038 * string/_strerror.c (__strerror_r): Print negative errors as signed
46042 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46043 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46044 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46046 * configure.in: Fix typo in redirection and correct removal of test
46047 files in two cases.
46050 * locale/setlocale.c (new_composite_name): Fix test to check for
46051 identical name of all categories.
46054 * libio/filedoalloc.c (local_isatty): New function.
46055 (_IO_file_doallocate): Use local_isatty.
46056 * stdio-common/perror.c (perror): In case a new stream is used
46057 forward the stream error.
46058 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46061 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46066 * include/alloca.h (extend_alloca_account): Define.
46069 * posix/regex.h: Fix comments with documentation of user-accessible
46070 fields after compilation and describe correct free'ing of pattern
46071 after re_compile_pattern.
46072 Patch by Reuben Thomas <rrt@sc3d.org>.
46074 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46076 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46077 and -mno-altivec to prevent the compiler from using Altivec and/or
46078 VSX instructions when the corresponding registers are not available.
46080 2011-05-19 Andreas Schwab <schwab@redhat.com>
46082 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46084 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46086 * libio/freopen.c (freopen): Use __dup2, not dup2.
46087 * libio/freopen64.c (freopen64): Likewise.
46089 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46092 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46093 * math/Makefile (tests): Add test-powl.
46094 (CFLAGS-test-powl.c): Define.
46095 * math/test-powl.c: New file.
46097 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46099 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46101 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46104 * iconvdata/gb18030.c: Update to GB18020-2005.
46106 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46108 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46109 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46110 Patch by Aharon Robbins <arnold@skeeve.com>.
46113 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46117 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46118 through underflows.
46121 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46122 point to strings before performing equality test for error_one_per_line
46126 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46130 (struct user_fpregs_struct): Avoid __uint*_t types.
46133 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46134 symbol info. Use it instead of calling _dl_addr locally.
46135 (lock_and_info): New function.
46136 (tr_freehook): Call lock_and_info and pass symbol info as additional
46137 parameter to tr_where.
46138 (tr_mallochook): Likewise.
46139 (tr_reallochook): Likewise.
46140 (tr_memalignhook): Likewise.
46142 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46143 used and couldn't be at all thread-safe.
46145 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46147 * libio/freopen.c (freopen): Don't close old file descriptor
46148 before the new one is opened. Instead dup the new file descriptor
46149 to the old one after the new stream is created.
46150 * libio/freopen64.c (freopen64): Likewise.
46151 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46152 * libio/fileops.c (_IO_new_file_close_it): Handle new
46153 _IO_FLAGS2_NOCLOSE flag.
46154 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46155 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46156 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46157 _IO_FLAGS2_NOCLOSE flag.
46158 * include/unistd.h: Add hidden_proto for dup3.
46159 Define __have_dup3.
46160 * io/dup3.c: Define hidden symbol.
46161 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46164 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46165 when an incomplete long option is used.
46166 * posix/tst-getopt_long1.c: New file.
46167 * posix/Makefile (tests): Add tst-getopt_long1.
46170 * scripts/config.guess: Update from autoconf-2.68.
46171 * scripts/config.sub: Likewise.
46174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46176 (has_cpuclock): ...this. New function.
46177 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46178 macro here based on has_cpuclock code.
46181 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46182 First byte (not low byte) is now always NUL.
46183 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46186 Use non-cancelable interfaces.
46189 * locale/iso-639.def: Add entry for Sorani.
46192 * include/stdlib.h: Move include protection to the right place.
46193 Define abort_msg_s. Declare __abort_msg with it.
46194 * stdlib/abort.c (__abort_msg): Adjust type.
46195 * assert/assert.c (__assert_fail_base): New function. Majority
46196 of code from __assert_fail. Allocate memory for __abort_msg with
46198 (__assert_fail): Now call __assert_fail_base.
46199 * assert/assert-perr.c: Remove bulk of implementation. Use
46200 __assert_fail_base.
46201 * include/assert.hL Declare __assert_fail_base.
46202 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46204 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46206 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46210 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46211 until all modules are registered in the DTV.
46212 * elf/Makefile: Add rules to build and run tst-tls19.
46213 * elf/tst-tls19.c: New file.
46214 * elf/tst-tls19mod1.c: New file.
46215 * elf/tst-tls19mod2.c: New file.
46216 * elf/tst-tls19mod3.c: New file.
46217 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46220 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46224 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46225 two-byte sequence errors.
46226 * iconvdata/Makefile (tests): Add bug-iconv8.
46227 * iconvdata/bug-iconv8.c: New file.
46230 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46233 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46236 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46237 (dummy_getcfa): New function.
46238 (init): Get _Unwind_GetCFA address, use dummy if not found.
46239 (backtrace_helper): In recursion check, also check whether CFA changes.
46240 (__backtrace): Completely initialize arg.
46242 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46243 storing incomplete byte sequence in state object. Avoid testing for
46244 guaranteed too small input if we know there is enough data available.
46246 2011-05-11 Andreas Schwab <schwab@redhat.com>
46248 * Makeconfig (+link-pie): Indent.
46249 * Rules (binaries-pie): Define if $(have-fpie) and
46251 (binaries-shared): Also filter out $(binaries-pie).
46252 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46253 * nscd/Makefile (others-pie): Add nscd.
46254 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46255 ($(objpfx)nscd): Remove command override.
46256 * login/Makefile (others-pie): Add pt_chown.
46257 ($(objpfx)pt_chown): Remove command override.
46258 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46259 remove command overrides.
46261 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46263 * libio/tst_putwc.c: Fix error messages.
46266 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46267 currently writing and seek to current position when not.
46268 * libio/Makefile (tests): Add bug-fclose1.
46269 * libio/bug-fclose1.c: New file.
46271 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46274 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46275 don't set DF_1_NODELETE here.
46276 (do_lookup_x): When entering new entry test for copy relocation
46277 and if necessary set DF_1_NODELETE flag.
46278 * elf/tst-unique4.cc: New file.
46279 * elf/tst-unique4.h: New file.
46280 * elf/tst-unique4lib.cc: New file.
46281 * elf/Makefile: Add rules to build and run tst-unique4.
46282 Patch by Piotr Bury <pbury@goahead.com>.
46284 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46287 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46290 * misc/mntent_r.c (addmntent): Flush the stream after the output
46293 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46294 (is_trusted_path_normalize): Skip initial colon. Append slash
46295 to empty buffer. Duplicate is_trusted_path code but allow
46296 constructed patch to be prefix.
46297 (is_dst): Allow $ORIGIN followed by /.
46298 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46299 Correct testing of result of is_trusted_path_normalize
46300 (decompose_rpath): Fix warning.
46302 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46305 * grp/initgroups.c (internal_getgrouplist): When we found the service
46306 list through the initgroups entry in nsswitch.conf do not always
46307 continue on a successful lookup. Don't always use the
46308 __nss_group_database value if it is set.
46309 * nss/nsswitch.conf (initgroups): Change action for successful db
46310 lookup to continue for compatibility.
46312 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46315 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46317 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46319 * iconvdata/tst-tables.sh: Likewise.
46320 * iconvdata/cp770.c: New file.
46321 * iconvdata/cp771.c: New file.
46322 * iconvdata/cp772.c: New file.
46323 * iconvdata/cp773.c: New file.
46324 * iconvdata/cp774.c: New file.
46325 * iconvdata/testdata/CP770: New file.
46326 * iconvdata/testdata/CP770..UTF8: New file.
46327 * iconvdata/testdata/CP771: New file.
46328 * iconvdata/testdata/CP771..UTF8: New file.
46329 * iconvdata/testdata/CP772: New file.
46330 * iconvdata/testdata/CP772..UTF8: New file.
46331 * iconvdata/testdata/CP773: New file.
46332 * iconvdata/testdata/CP773..UTF8: New file.
46333 * iconvdata/testdata/CP774: New file.
46334 * iconvdata/testdata/CP774..UTF8: New file.
46336 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46338 * iconvdata/gen-8bit-gap.sh: Likewise.
46339 * iconvdata/gen-8bit.sh: Likewise.
46341 * locale/iso-639.def: Add ary entry.
46344 * locale/C-translit.h.in: Add U20A1 transliteration.
46347 * locale/iso-639.def: Add wae entry.
46348 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46351 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46355 * locale/C-translit.h.in: Add entry for U20B9.
46356 Patch by pravin.d.s@gmail.com.
46358 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46361 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46362 ENAMETOOLONG use generic getcwd.
46363 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46364 in rtld. Use *stat64.
46365 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46366 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46367 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46368 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46369 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46370 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46371 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46372 __fstatat64 macros.
46373 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46374 * dirent/rewinddir.c: Add libc_hidden_def.
46375 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46376 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46378 * include/dirent.h (__alloc_dir): Add flags parameter.
46379 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46380 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46382 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46383 from fdopendir if O_CLOEXEC is already set.
46385 2011-03-15 Alan Modra <amodra@gmail.com>
46387 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46388 l_tls_firstbyte_offset non-zero. Save padding offset in
46389 l_tls_firstbyte_offset for later use.
46390 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46391 freeing static tls block.
46393 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46395 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46396 where #ifdef was intended. The intent is to prevent ARG_MAX from
46397 being defined by the kernel headers.
46399 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46402 * resolv/resolv.h: Define RES_NOTLDQUERY.
46403 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46404 no-tld-query and set RES_NOTLDQUERY.
46405 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46406 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46407 modern BIND to search name as TLD unless forbidden.
46409 2011-05-07 Petr Baudis <pasky@suse.cz>
46410 Ulrich Drepper <drepper@gmail.com>
46413 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46414 (is_trusted_path): ...to here.
46415 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46416 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46417 using is_trusted_path_normalize() in setuid scripts.
46419 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46421 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46422 __BEGIN/__END_DECLS.
46424 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46427 NSS_STATUS_NOTFOUND if no record was found.
46429 2011-05-05 Andreas Schwab <schwab@redhat.com>
46431 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46432 (headers-not-in-tirpc): Remove rpc/netdb.h
46433 * resolv/netdb.h: Revert last change.
46435 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46437 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46438 circular dependency between libgcc.a and libc.a.
46440 2011-05-05 Andreas Schwab <schwab@redhat.com>
46442 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46443 * nis/Makefile: Don't install rpcsvc/*.
46444 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46445 instead of <rpc/types.h>.
46446 (MAXHOSTNAMELEN): Define.
46448 2011-05-03 Andreas Schwab <schwab@redhat.com>
46450 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46452 2011-04-28 Maciej Babinski <mbabinski@google.com>
46455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46456 gethostbyname4_r when IPv6 results are possible.
46458 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46461 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46462 _PC_PIPE_BUF handling.
46464 2011-04-30 Bruno Haible <bruno@clisp.org>
46467 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46468 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46470 * inet/getnameinfo.c (getnameinfo): Likewise.
46472 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46474 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46475 to groups setting in database lookup.
46476 * nss/nsswitch.conf: Add initgroups entry.
46478 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46481 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46483 Patch by Eric Blake <eblake@redhat.com>.
46485 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46487 * sunrpc/Makefile (need-export-routines): Add svc_run.
46488 (routines): Remove svc_run.
46489 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46490 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46491 * sunrpc/svc_run.c (svc_run): Likewise.
46492 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46494 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46497 problem in reallocation in last patch.
46499 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46501 * sunrpc/Makefile: Move inclusion of Rules.
46503 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46505 * nss/nss_files/files-initgroups.c: New file.
46506 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46507 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46508 _nss_files_initgroups_dyn.
46510 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46512 * elf/elf.h (R_ARM_IRELATIVE): Define.
46514 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46516 * po/ru.po: Update from translation team.
46518 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46520 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46523 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46526 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46527 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46532 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46536 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46540 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46543 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46545 * stdlib/bug-getcontext.c: New file.
46546 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46548 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46550 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46551 instructions into .machine "z9-109".
46552 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46553 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46555 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46557 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46558 between environment variables and auxiliary vector.
46560 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46562 * Makefile: Add rules to build linkobj/libc.so.
46563 * include/libc-symbols.h: Define libc_hidden_nolink.
46564 * include/rpc/auth.h: Mark functions which are to be hidden.
46565 * include/rpc/auth_des.h: Likewise.
46566 * include/rpc/auth_unix.h: Likewise.
46567 * include/rpc/clnt.h: Likewise.
46568 * include/rpc/des_crypt.h: Likewise.
46569 * include/rpc/key_prot.h: Likewise.
46570 * include/rpc/pmap_clnt.h: Likewise.
46571 * include/rpc/pmap_prot.h: Likewise.
46572 * include/rpc/pmap_rmt.h: Likewise.
46573 * include/rpc/rpc_msg.h: Likewise.
46574 * include/rpc/svc.h: Likewise.
46575 * include/rpc/svc_auth.h: Likewise.
46576 * include/rpc/xdr.h: Likewise.
46577 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46578 * nss/Makefile: Likewise.
46579 * sunrpc/Makefile: Don't install headers. Build library with normal
46580 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46581 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46582 for the compat linking library. Remove use of INTDEF/INTUSE.
46583 * sunrpc/auth_none.c: Likewise.
46584 * sunrpc/auth_unix.c: Likewise.
46585 * sunrpc/authdes_prot.c: Likewise.
46586 * sunrpc/authuxprot.c: Likewise.
46587 * sunrpc/clnt_gen.c: Likewise.
46588 * sunrpc/clnt_perr.c: Likewise.
46589 * sunrpc/clnt_raw.c: Likewise.
46590 * sunrpc/clnt_simp.c: Likewise.
46591 * sunrpc/clnt_tcp.c: Likewise.
46592 * sunrpc/clnt_udp.c: Likewise.
46593 * sunrpc/clnt_unix.c: Likewise.
46594 * sunrpc/des_crypt.c: Likewise.
46595 * sunrpc/des_soft.c: Likewise.
46596 * sunrpc/get_myaddr.c: Likewise.
46597 * sunrpc/key_call.c: Likewise.
46598 * sunrpc/key_prot.c: Likewise.
46599 * sunrpc/netname.c: Likewise.
46600 * sunrpc/pm_getmaps.c: Likewise.
46601 * sunrpc/pm_getport.c: Likewise.
46602 * sunrpc/pmap_clnt.c: Likewise.
46603 * sunrpc/pmap_prot.c: Likewise.
46604 * sunrpc/pmap_prot2.c: Likewise.
46605 * sunrpc/pmap_rmt.c: Likewise.
46606 * sunrpc/publickey.c: Likewise.
46607 * sunrpc/rpc_cmsg.c: Likewise.
46608 * sunrpc/rpc_common.c: Likewise.
46609 * sunrpc/rpc_dtable.c: Likewise.
46610 * sunrpc/rpc_prot.c: Likewise.
46611 * sunrpc/rpc_thread.c: Likewise.
46612 * sunrpc/rtime.c: Likewise.
46613 * sunrpc/svc.c: Likewise.
46614 * sunrpc/svc_auth.c: Likewise.
46615 * sunrpc/svc_authux.c: Likewise.
46616 * sunrpc/svc_raw.c: Likewise.
46617 * sunrpc/svc_run.c: Likewise.
46618 * sunrpc/svc_simple.c: Likewise.
46619 * sunrpc/svc_tcp.c: Likewise.
46620 * sunrpc/svc_udp.c: Likewise.
46621 * sunrpc/svc_unix.c: Likewise.
46622 * sunrpc/svcauth_des.c: Likewise.
46623 * sunrpc/xcrypt.c: Likewise.
46624 * sunrpc/xdr.c: Likewise.
46625 * sunrpc/xdr_array.c: Likewise.
46626 * sunrpc/xdr_float.c: Likewise.
46627 * sunrpc/xdr_intXX_t.c: Likewise.
46628 * sunrpc/xdr_mem.c: Likewise.
46629 * sunrpc/xdr_rec.c: Likewise.
46630 * sunrpc/xdr_ref.c: Likewise.
46631 * sunrpc/xdr_sizeof.c: Likewise.
46632 * sunrpc/xdr_stdio.c: Likewise.
46634 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46637 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46638 * sysdeps/ia64/dl-tls.h: Likewise.
46639 * sysdeps/powerpc/dl-tls.h: Likewise.
46640 * sysdeps/s390/dl-tls.h: Likewise.
46641 * sysdeps/sh/dl-tls.h: Likewise.
46642 * sysdeps/sparc/dl-tls.h: Likewise.
46643 * sysdeps/x86_64/dl-tls.h: Likewise.
46644 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46646 2011-03-14 Andreas Schwab <schwab@redhat.com>
46648 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46649 rpath element also skip the following colon.
46650 (expand_dynamic_string_token): Add is_path parameter and pass
46651 down to DL_DST_REQUIRED and _dl_dst_substitute.
46652 (decompose_rpath): Call expand_dynamic_string_token with
46653 non-zero is_path. Ignore empty rpaths.
46654 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46657 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46662 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46665 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46666 Patch by Filipe David Manana <fdmanana@apache.org>.
46668 2011-04-07 Andreas Schwab <schwab@redhat.com>
46670 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46671 Maintain aligned stack.
46672 (CHECK_RSP): Remove unused macro.
46674 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46676 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46677 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46679 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46681 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46683 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46685 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46688 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46689 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46690 * sysdeps/x86_64/memmove.c: New file.
46691 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46692 (memcpy): Renamed to ...
46693 (__new_memcpy): This.
46694 (memcpy): Provide GLIBC_2_14 memcpy.
46695 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46696 (memcpy): Provide GLIBC_2_2_5 memcpy.
46698 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46701 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46703 2011-03-30 Andreas Schwab <schwab@redhat.com>
46705 * misc/syncfs.c: New file.
46706 * misc/Makefile (routines): Add syncfs.
46707 * posix/unistd.h: Declare syncfs.
46708 * sysdeps/unix/syscalls.list: Add syncfs.
46710 2011-04-01 Andreas Schwab <schwab@redhat.com>
46712 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46719 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46722 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46726 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46732 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46733 sync_file_range.c with -fexceptions.
46734 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46735 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46736 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46737 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46738 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46739 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46740 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46741 sync_file_range as cancellation point
46742 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46743 now a wrapper around __call_sync_file_range with cancellation handling.
46744 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46745 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46746 function name to __call_sync_file_range.
46747 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46748 Add call_sync_file_range.
46750 2011-04-01 Andreas Schwab <schwab@redhat.com>
46752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46755 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46757 * iconv/iconv.h: Fix typo in comment.
46758 * io/fcntl.h: Likewise.
46759 * libio/stdio.h: Likewise.
46760 * posix/spawn.h: Likewise.
46761 * posix/unistd.h: Likewise.
46762 * stdlib/stdlib.h: Likewise.
46763 * time/time.h: Likewise.
46764 * wcsmbs/wchar.h: Likewise.
46766 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46767 open_by_handle): Add.
46768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46769 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46770 Augment a few comments.
46771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46773 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46776 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46779 * io/fcntl.h (AT_EMPTY_PATH): Define.
46781 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46783 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46784 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46785 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46787 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46788 * Versions.def: Add GLIBC_2.14.
46789 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46792 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46794 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46796 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46798 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46801 * string/test-strncmp.c (do_page_test): New function.
46802 (check2): Likewise.
46803 (test_main): Call check2.
46804 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46806 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46809 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46810 Handle cache information in CPU leaf 4.
46811 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46813 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46816 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46817 character representation.
46818 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46820 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46822 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46823 END(__isnan) to END(__isnanf) to match function entry point/label
46824 EALIGN(__isnanf,...).
46826 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46828 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46830 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46833 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46834 copy from the symbol referenced in the relocation to initialize the
46836 Patch by Piotr Bury <pbury@goahead.com>.
46837 * elf/Makefile: Add rules to build and tst-unique3.
46838 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46839 * elf/tst-unique3.cc: New file.
46840 * elf/tst-unique3.h: New file.
46841 * elf/tst-unique3lib.cc: New file.
46842 * elf/tst-unique3lib2.cc: New file.
46844 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46846 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46848 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46849 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46852 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46854 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46855 to-be-loaded object along a path to loader is ld.so.
46857 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46858 Ulrich Drepper <drepper@gmail.com>
46860 * sysdeps/x86_64/memset.S: After aligning destination, code
46861 branches to different locations depending on the value of
46862 misalignment, when multiarch is enabled. Fix this.
46864 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46866 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46867 Set _x86_64_preferred_memory_instruction for AMD processsors.
46868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46869 Set bit_Prefer_SSE_for_memop for AMD processors.
46871 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46873 * libio/fmemopen.c (fmemopen): Optimize a bit.
46875 2011-03-03 Andreas Schwab <schwab@redhat.com>
46877 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46879 2011-03-03 Roland McGrath <roland@redhat.com>
46881 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46883 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46885 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46886 __bzero_ultra1 instead of __memset_ultra1.
46888 2011-02-23 Andreas Schwab <schwab@redhat.com>
46889 Ulrich Drepper <drepper@gmail.com>
46892 * include/link.h (struct link_map): Add l_orig_initfini.
46893 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46894 returning unsuccessfully.
46895 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46896 close of a file loaded at startup, restore the original l_initfini
46898 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46899 list, store the pointer.
46900 * elf/Makefile ($(objpfx)noload-mem): New rule.
46901 (noload-ENV): Define.
46902 (tests): Add $(objpfx)noload-mem.
46903 * elf/noload.c: Include <memcheck.h>.
46904 (main): Call mtrace. Close all opened handles.
46906 2011-02-17 Andreas Schwab <schwab@redhat.com>
46909 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46910 dependencies are missing.
46912 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46914 Fix __if_freereq crash: Unlike the generic version which uses free,
46916 * sysdeps/mach/hurd/ifreq.h: New file.
46918 2011-01-27 Petr Baudis <pasky@suse.cz>
46919 Ulrich Drepper <drepper@gmail.com>
46922 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46923 to extend_alloca().
46924 * stdio-common/bug23.c: New file.
46925 * stdio-common/Makefile (tests): Add bug23.
46927 2010-09-28 Andreas Schwab <schwab@redhat.com>
46928 Ulrich Drepper <drepper@gmail.com>
46931 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46932 before performing relro protection. At old place add assertion
46933 to make sure nothing changed.
46935 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46936 Glauber de Oliveira Costa <glommer@gmail.com>
46938 * elf/elf.h: Add new ARM TLS relocs.
46940 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46943 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46945 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46947 * sysdeps/wordsize-64/tst-writev.c: New file.
46949 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46951 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46952 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46953 insns in _dl_start to prevent a TOC reference before relocs are
46956 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46959 * Makeconfig: Remove RANLIB definition.
46960 * Makerules: Don't use RANLIB.
46961 * aclocal.m4: Remove ranlib test.
46962 * configure.in: No need to check for ranlib.
46963 * elf/rtld-Rules: Don't use RANLIB.
46965 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46967 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46969 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46970 inclusion protection macro.
46972 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46973 SIGRTMIN and SIGRTMAX and print information in that case only when
46974 SIGRTMIN is defined.
46976 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46978 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46979 arginfo fn returning -1.
46981 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46982 and thousands string is zero terminated.
46984 2011-02-03 Andreas Schwab <schwab@redhat.com>
46986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46987 sysdeps/unix/sysv/linux/bits/socket.h.
46989 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46991 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46992 (__CPU_COUNT): Remove old macros.
46993 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46994 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46995 (__CPU_ALLOC, __CPU_FREE): Add macros.
46996 (__sched_cpualloc, __sched_cpufree): Add declarations.
46998 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47000 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47001 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47002 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47003 (readdhstai): Return value of addhstaiX call.
47004 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47005 (addgrbyX): Return value returned by cache_addgr.
47006 (readdgrbyname): Return value returned by addgrbyX.
47007 (readdgrbygid): Likewise.
47008 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47009 (addpwbyX): Return value returned by cache_addpw.
47010 (readdpwbyname): Return value returned by addhstbyX.
47011 (readdpwbyuid): Likewise.
47012 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47013 (addservbyX): Return value returned by cache_addserv.
47014 (readdservbyname): Return value returned by addservbyX:
47015 (readdservbyport): Likewise.
47016 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47017 (addhstbyX): Return value returned by cache_addhst.
47018 (readdhstbyname): Return value returned by addhstbyX.
47019 (readdhstbyaddr): Likewise.
47020 (readdhstbynamev6): Likewise.
47021 (readdhstbyaddrv6): Likewise.
47022 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47023 (readdinitgroups): Return value returned by addinitgroupsX.
47024 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47025 (prune_cache): Keep track of timeout value of re-added entries.
47026 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47027 * nscd/nscd.h: Adjust prototypes of readd* functions.
47029 2011-02-04 Roland McGrath <roland@redhat.com>
47031 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47032 (nis_stats): Likewise.
47033 * nis/nis_modify.c (nis_modify): Likewise.
47034 * nis/nis_remove.c (nis_remove): Likewise.
47035 * nis/nis_add.c (nis_add): Likewise.
47037 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47039 * posix/fnmatch_loop.c: Add some consts.
47041 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47043 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47046 * config.make.in (config-cflags-novzeroupper): Define.
47047 * configure.in: Substitute libc_cv_cc_novzeroupper.
47048 * elf/Makefile (AVX-CFLAGS): Define.
47049 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47050 (CFLAGS-tst-auditmod4a.c): Likewise.
47051 (CFLAGS-tst-auditmod4b.c): Likewise.
47052 (CFLAGS-tst-auditmod6b.c): Likewise.
47053 (CFLAGS-tst-auditmod6c.c): Likewise.
47054 (CFLAGS-tst-auditmod7b.c): Likewise.
47055 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47057 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47059 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47060 function to the callback.
47061 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47063 2011-02-02 Andreas Schwab <schwab@redhat.com>
47065 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47068 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47071 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47073 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47075 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47078 * elf/Makefile: Add rules to build and run new test.
47079 * elf/tst-initorder.c: New file.
47080 * elf/tst-initorder.exp: New file.
47081 * elf/tst-initordera1.c: New file.
47082 * elf/tst-initordera2.c: New file.
47083 * elf/tst-initordera3.c: New file.
47084 * elf/tst-initordera4.c: New file.
47085 * elf/tst-initorderb1.c: New file.
47086 * elf/tst-initorderb2.c: New file.
47087 * elf/tst-order-a1.c: New file.
47088 * elf/tst-order-a2.c: New file.
47089 * elf/tst-order-a3.c: New file.
47090 * elf/tst-order-a4.c: New file.
47091 * elf/tst-order-b1.c: New file.
47092 * elf/tst-order-b2.c: New file.
47093 * elf/tst-order-main.c: New file.
47094 New test case by George Gensure <werkt0@gmail.com>.
47096 2010-10-01 Andreas Schwab <schwab@redhat.com>
47098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47099 decoding ACE if AI_CANONIDN.
47101 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47103 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47105 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47107 * version.h (RELEASE): Bump for 2.13 release.
47108 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47110 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47112 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47114 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47115 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47116 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47121 * posix/getconf.c: Update copyright year.
47122 * catgets/gencat.c: Likewise.
47123 * csu/version.c: Likewise.
47124 * debug/catchsegv.sh: Likewise.
47125 * debug/xtrace.sh: Likewise.
47126 * elf/ldconfig.c: Likewise.
47127 * elf/ldd.bash.in: Likewise.
47128 * elf/sprof.c (print_version): Likewise.
47129 * iconv/iconv_prog.c: Likewise.
47130 * iconv/iconvconfig.c: Likewise.
47131 * locale/programs/locale.c: Likewise.
47132 * locale/programs/localedef.c: Likewise.
47133 * malloc/memusage.sh: Likewise.
47134 * malloc/mtrace.pl: Likewise.
47135 * nscd/nscd.c (print_version): Likewise.
47136 * nss/getent.c: Likewise.
47138 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47139 PF_CAIF, and PF_ALG.
47140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47142 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47144 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47145 (modules-names): Use them.
47146 (ifunc-test-modules, ifunc-pie-tests): Define.
47147 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47148 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47149 (test-extras): Likewise.
47150 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47151 $(compile-command.c).
47152 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47153 (all-built-dso): Define.
47154 (check-textrel.out, check-execstack.out): Depend on it.
47156 * configure.in: Don't override --enable-multi-arch.
47158 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47161 * nscd/hstcache.c (tryagain): Define.
47162 (cache_addhst): Return tryagain not notfound for temporary errors.
47163 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47166 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47169 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47170 to make the syscall.
47171 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47174 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47175 and fall back to matching as normal character if the string ends before
47176 the matching ']' is found. This is what POSIX requires.
47177 * posix/testfnm.c: Adjust test result.
47178 * posix/globtest.sh: Adjust test result. Add new test.
47179 * posix/tst-fnmatch.input: Likewise.
47180 * posix/tst-fnmatch2.c: Add new test.
47182 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47184 * elf/Makefile (check-execstack): Revert last change. Depend on
47186 (check-execstack.h): New target.
47187 (generated): Add check-execstack.h.
47188 * elf/check-execstack.c: Include "check-execstack.h".
47189 (main): Revert last change.
47190 (handle_file): Return zero if GNU_STACK is absent and
47191 DEFAULT_STACK_PERMS doesn't include PF_X.
47193 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47195 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47196 in child fails because the descriptor is already closed.
47197 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47198 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47199 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47202 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47206 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47207 temporary buffer used to handle multi lookups locally.
47208 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47210 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47212 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47215 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47217 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47218 alignment for SSE2.
47220 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47223 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47224 characters. When rounding increased number of integer digits recompute
47226 * stdio-common/tst-grouping.c: New file.
47227 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47229 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47231 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47232 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47234 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47236 * bits/select.h: Likewise.
47238 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47240 * po/ja.po: Update from translation team.
47242 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47245 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47246 implementation just like for lxstat, fxstatat, et al.
47248 2010-12-27 Jim Meyering <meyering@redhat.com>
47251 * posix/regexec.c (build_trtable): Return failure indication upon
47252 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47254 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47257 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47258 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47259 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47260 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47263 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47266 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47267 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47269 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47271 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47272 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47273 script has SORT_BY_INIT_PRIORITY.
47274 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47275 NO_CTORS_DTORS_SECTIONS is defined.
47276 * elf/soinit.c: Likewise.
47277 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47278 NO_CTORS_DTORS_SECTIONS is defined.
47279 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47280 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47281 * sysdeps/sh/init-first.c: Likewise.
47282 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47284 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47286 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47287 always use the slow path.
47289 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47291 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47292 similar rule which adds the sysdep directories to the header search in
47293 order to pick up the correct platform stackinfo.h.
47294 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47295 perform test if it is, otherwise return successfully without testing.
47296 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47297 DEFAULT_STACK_PERMS define in stackinfo.h.
47298 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47299 defined in stackinfo.h.
47300 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47301 DEFAULT_STACK_PERMS defined in stackinfo.h.
47302 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47303 * sysdeps/ia64/stackinfo.h: Likewise.
47304 * sysdeps/s390/stackinfo.h: Likewise.
47305 * sysdeps/sh/stackinfo.h: Likewise.
47306 * sysdeps/sparc/stackinfo.h: Likewise.
47307 * sysdeps/x86_64/stackinfo.h: Likewise.
47308 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47309 PF_X for powerpc64. Retain PF_X for powerpc32.
47311 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47313 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47315 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47316 GETDENTS_64BIT_ALIGNED.
47318 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47320 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47322 2010-12-10 Andreas Schwab <schwab@redhat.com>
47324 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47327 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47328 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47330 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47331 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47333 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47336 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47339 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47341 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47343 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47345 * po/it.po: Update from translation team.
47347 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47352 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47354 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47356 2010-11-24 Andreas Schwab <schwab@redhat.com>
47358 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47360 (gaih_getanswer_slice): Likewise.
47362 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47366 2010-05-31 Petr Baudis <pasky@suse.cz>
47369 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47370 silently even in the chroot mode.
47372 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47374 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47375 last patch a bit. Pretty printing
47377 2010-05-31 Petr Baudis <pasky@suse.cz>
47380 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47381 initialization of skip_initgroups_dyn.
47383 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47385 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47388 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47390 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47392 2010-11-11 Andreas Schwab <schwab@redhat.com>
47394 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47395 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47396 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47397 ($(objpfx)tst-fnmatch-mem): New rule.
47398 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47399 * posix/tst-fnmatch.c (main): Call mtrace.
47401 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47404 Support Intel processor model 6 and model 0x2c.
47406 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47408 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47411 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47414 * string/test-strncasecmp.c (check_result): New function.
47415 (do_one_test): Use it.
47416 (check1): New function.
47417 (test_main): Use it.
47418 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47419 Support strcasecmp and strncasecmp.
47421 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47424 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47427 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47429 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47433 * sysdeps/x86_64/multiarch/bzero.S: New file.
47434 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47435 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47436 * sysdeps/x86_64/multiarch/memset.S: New file.
47437 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47439 Set bit_Prefer_SSE_for_memop for Intel processors.
47440 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47442 (index_Prefer_SSE_for_memop): Define.
47443 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47445 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47448 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47450 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47453 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47454 (__x86_64_raw_data_cache_size_half): Likewise.
47455 (__x86_64_raw_shared_cache_size): Likewise.
47456 (__x86_64_raw_shared_cache_size_half): Likewise.
47458 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47459 (__x86_64_raw_data_cache_size_half): Likewise.
47460 (__x86_64_raw_shared_cache_size): Likewise.
47461 (__x86_64_raw_shared_cache_size_half): Likewise.
47462 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47463 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47464 and __x86_64_raw_shared_cache_size_half. Round
47465 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47466 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47467 to multiple of 256 bytes.
47469 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47472 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47473 of inacessible symlinks. Verify result of symlink before returning it.
47474 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47475 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47477 2010-10-28 Erich Ritz <erichritz@gmail.com>
47479 * math/math.h (isinf): Fix typo in comment.
47481 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47483 * po/da.po: Update from translation team.
47485 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47487 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47488 is added to the list.
47490 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47491 Ulrich Drepper <drepper@gmail.com>
47493 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47494 the global list here. Move code to...
47495 (_dl_add_to_namespace_list): ...here. New function.
47496 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47497 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47498 * elf/dl-load.c (lose): Don't remove the element from the list.
47499 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47500 (_dl_map_object): Likewise.
47502 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47505 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47506 into all bytes of SSE register.
47507 Patch by Richard Li <richardpku@gmail.com>.
47509 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47512 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47515 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47517 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47518 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47519 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47520 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47525 2010-10-22 Andreas Schwab <schwab@redhat.com>
47527 * include/dlfcn.h (__RTLD_SECURE): Define.
47528 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47529 mode & __RTLD_SECURE instead.
47530 (open_path): Rename preloaded parameter to secure.
47531 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47532 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47533 * elf/dl-deps.c (openaux): Likewise.
47534 * elf/rtld.c (struct map_args): Remove is_preloaded.
47535 (map_doit): Don't use it.
47536 (dl_main): Likewise.
47537 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47538 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47540 2010-09-09 Andreas Schwab <schwab@redhat.com>
47542 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47543 (sysd-rules-targets): Remove duplicates.
47544 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47545 rtld-%.$o dependency.
47547 2010-10-18 Andreas Schwab <schwab@redhat.com>
47549 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47550 _dl_map_object do it.
47552 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47554 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47555 fast fma builtins, define the macros in the C99 standard.
47556 (FP_FAST_FMAF): Likewise.
47557 (FP_FAST_FMAL): Likewise.
47558 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47560 * bits/mathdef.h: Update copyright year.
47561 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47563 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47565 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47566 builtins, define the macros in the C99 standard.
47567 (FP_FAST_FMAF): Likewise.
47568 (FP_FAST_FMAL): Likewise.
47569 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47571 (FP_FAST_FMAF): Likewise.
47573 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47576 * math/libm-test.inc (fma_test): Some new testcases.
47577 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47578 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47579 y and infinite z. Do multiplication by C already in long double.
47580 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47582 y and infinite z. Do bitwise or of inexact bit into u.d.
47583 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47584 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47585 * sysdeps/i386/fpu/s_fma.S: Removed.
47586 * sysdeps/i386/fpu/s_fmal.S: Removed.
47588 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47591 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47593 computation is not scheduled after fetestexcept. Fix value
47594 of minimum denormal long double.
47596 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47599 * math/libm-test.inc (fma_test): Add some more tests.
47600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47603 2010-10-15 Andreas Schwab <schwab@redhat.com>
47605 * scripts/data/localplt-s390-linux-gnu.data: New file.
47606 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47608 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47611 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47612 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47614 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47616 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47618 if one of x and y is very large and the other is subnormal.
47619 * sysdeps/s390/fpu/s_fmaf.c: New file.
47620 * sysdeps/s390/fpu/s_fma.c: New file.
47621 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47622 * sysdeps/powerpc/fpu/s_fma.S: New file.
47623 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47624 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47625 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47627 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47630 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47632 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47633 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47634 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47635 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47636 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47637 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47638 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47640 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47643 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47644 * posix/bug-regex31.input: Add test case.
47646 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47648 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47649 * posix/bug-regex31.input: New file.
47652 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47653 (parse_sub_exp): Fix last change, use postorder.
47655 * posix/bug-regex31.c: New file.
47656 * posix/Makefile: Add rules to build and run bug-regex31.
47658 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47661 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47664 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47665 to have entries in sys_siglist.
47668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47671 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47674 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47675 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47676 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47677 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47678 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47679 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47680 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47681 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47682 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47683 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47684 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47685 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47686 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47687 * math/ftestexcept.c (fetestexcept): Likewise.
47688 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47689 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47690 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47691 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47692 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47693 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47694 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47696 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47699 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47702 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47704 * string/bug-strstr1.c: New file.
47705 * string/Makefile: Add rules to build and run bug-strstr1.
47707 2010-10-05 Eric Blake <eblake@redhat.com>
47710 * string/str-two-way.h (two_way_long_needle): Always clear memory
47711 when skipping input due to the shift table.
47713 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47716 * malloc/mcheck.c: Handle large requests.
47719 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47720 for strncmp and strncasecmp.
47721 * string/stratcliff.c: Add tests for strcmp and strncmp.
47722 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47724 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47726 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47729 2010-09-30 Andreas Jaeger <aj@suse.de>
47731 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47732 (CGROUP_SUPER_MAGIC): Define.
47733 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47734 Handle btrfs and cgroup file systems.
47735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47738 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47740 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47741 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47743 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47746 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47747 trying to locate the ELF header.
47749 2010-09-27 Andreas Schwab <schwab@redhat.com>
47752 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47753 Mask out sign-bit copies when constructing f_fsid.
47755 2010-09-24 Petr Baudis <pasky@suse.cz>
47757 * debug/stack_chk_fail_local.c: Add missing licence exception.
47758 * debug/warning-nop.c: Likewise.
47760 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47762 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47763 implementing getdents64 using getdents syscall, set d_type if
47764 __ASSUME_GETDENTS32_D_TYPE.
47766 2010-09-16 Andreas Schwab <schwab@redhat.com>
47768 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47769 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47771 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47774 * posix/unistd.h: Undo change of feature selection for ftruncate from
47777 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47779 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47782 2010-09-20 Andreas Schwab <schwab@redhat.com>
47784 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47788 2010-09-14 Andreas Schwab <schwab@redhat.com>
47790 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47791 variables after CHECK_SP call.
47792 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47794 2010-09-13 Andreas Schwab <schwab@redhat.com>
47795 Ulrich Drepper <drepper@redhat.com>
47797 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47798 re-relocationg ld.so.
47799 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47800 _dl_init_paths call.
47801 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47804 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47806 * resolv/res_init.c (__res_vinit): Count the default server we added.
47808 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47809 Ulrich Drepper <drepper@redhat.com>
47812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47813 (____longjmp_chk): Use %ebx for saving value across system call.
47816 2010-09-06 Andreas Schwab <schwab@redhat.com>
47818 * manual/Makefile: Don't mix pattern rules with normal rules.
47820 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47822 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47824 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47825 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47826 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47827 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47831 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47834 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47835 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47837 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47839 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47840 * sysdeps/x86_64/addmul_1.S: Likewise.
47841 * sysdeps/x86_64/lshift.S: Likewise.
47842 * sysdeps/x86_64/mul_1.S: Likewise.
47843 * sysdeps/x86_64/rshift.S: Likewise.
47844 * sysdeps/x86_64/sub_n.S: Likewise.
47845 * sysdeps/x86_64/submul_1.S: Likewise.
47847 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47849 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47850 Define __sched_param instead of SCHED_* and sched_param when
47851 <bits/sched.h> is included with __need_schedparam defined.
47852 * bits/sched.h [__need_schedparam]
47853 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47854 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47855 (__defined_schedparam): Define to 1.
47856 (__sched_param): New structure, identical to sched_param.
47857 (__need_schedparam): Undefine.
47859 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47861 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47862 (epoll_create1): Declare.
47864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47866 2010-08-31 Andreas Schwab <schwab@redhat.com>
47869 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47870 shifting retval into place.
47872 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47874 * nis/rpcsvc/nis.h: Update copyright notice.
47875 * nis/rpcsvc/nis.x: Likewise.
47876 * nis/rpcsvc/nis_callback.h: Likewise.
47877 * nis/rpcsvc/nis_callback.x: Likewise.
47878 * nis/rpcsvc/nis_object.x: Likewise.
47879 * nis/rpcsvc/nis_tags.h: Likewise.
47880 * nis/rpcsvc/yp.h: Likewise.
47881 * nis/rpcsvc/yp.x: Likewise.
47882 * nis/rpcsvc/ypupd.h: Likewise.
47883 * nis/yp_xdr.c: Likewise.
47884 * nis/ypupdate_xdr.c: Likewise.
47886 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47887 mainly the body of pmap_getport. Add parameters to specify timeouts.
47888 (pmap_getport): Use __libc_rpc_getport.
47889 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47890 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47891 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47893 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47898 2010-08-27 Roland McGrath <roland@redhat.com>
47900 * sysdeps/i386/i686/multiarch/Makefile
47901 (CFLAGS-varshift.c): New variable.
47903 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47905 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47906 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47908 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47910 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47912 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47914 * sysdeps/x86_64/strlen.S: Unroll the loop.
47915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47916 strlen-sse2 strlen-sse2-bsf.
47917 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47918 __strlen_no_bsf if bit_Slow_BSF is set.
47919 (__strlen_sse42): Removed.
47920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47921 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47923 2010-08-25 Roland McGrath <roland@redhat.com>
47925 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47926 * sysdeps/x86_64/multiarch/varshift.c: New file.
47927 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47928 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47929 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47930 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47932 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47935 strlen-sse2 strlen-sse2-bsf.
47936 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47937 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47938 (__strlen_sse2): Removed.
47939 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47942 bit_Slow_BSF for Atom.
47943 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47944 (index_Slow_BSF): Define.
47945 (HAS_SLOW_BSF): Define.
47947 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47950 * resolv/res_init.c (__res_vinit): When no server address at all
47951 is given default to loopback.
47953 2010-08-24 Roland McGrath <roland@redhat.com>
47955 * configure.in: Remove config-name.h generation.
47956 * configure: Regenerated.
47957 * config-name.in: File removed.
47958 * scripts/config-uname.sh: New file.
47959 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47960 ($(objdir)config-name.h): New target.
47962 * sunrpc/rpc_parse.h: Avoid nested comment.
47964 2010-08-24 Richard Henderson <rth@redhat.com>
47965 Ulrich Drepper <drepper@redhat.com>
47966 H.J. Lu <hongjiu.lu@intel.com>
47968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47970 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47971 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47972 _mm_alignr_epi8 with _mm_loadu_si128.
47973 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47974 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47975 (__m128i_shift_right): Removed.
47976 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47977 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47978 * sysdeps/x86_64/multiarch/varshift.h: New file.
47979 * sysdeps/x86_64/multiarch/varshift.S: New file.
47981 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47983 * configure.in: Move assembler checks to before sysdep dir checking.
47985 2010-08-20 Petr Baudis <pasky@suse.cz>
47987 * LICENSES: Sync the sunrpc license.
47989 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47991 * sunrpc/auth_des.c: Update copyright notice once again.
47992 * sunrpc/auth_none.c: Likewise.
47993 * sunrpc/auth_unix.c: Likewise.
47994 * sunrpc/authdes_prot.c: Likewise.
47995 * sunrpc/authuxprot.c: Likewise.
47996 * sunrpc/bindrsvprt.c: Likewise.
47997 * sunrpc/clnt_gen.c: Likewise.
47998 * sunrpc/clnt_perr.c: Likewise.
47999 * sunrpc/clnt_raw.c: Likewise.
48000 * sunrpc/clnt_simp.c: Likewise.
48001 * sunrpc/clnt_tcp.c: Likewise.
48002 * sunrpc/clnt_udp.c: Likewise.
48003 * sunrpc/clnt_unix.c: Likewise.
48004 * sunrpc/des_crypt.c: Likewise.
48005 * sunrpc/des_soft.c: Likewise.
48006 * sunrpc/get_myaddr.c: Likewise.
48007 * sunrpc/getrpcport.c: Likewise.
48008 * sunrpc/key_call.c: Likewise.
48009 * sunrpc/key_prot.c: Likewise.
48010 * sunrpc/openchild.c: Likewise.
48011 * sunrpc/pm_getmaps.c: Likewise.
48012 * sunrpc/pm_getport.c: Likewise.
48013 * sunrpc/pmap_clnt.c: Likewise.
48014 * sunrpc/pmap_prot.c: Likewise.
48015 * sunrpc/pmap_prot2.c: Likewise.
48016 * sunrpc/pmap_rmt.c: Likewise.
48017 * sunrpc/rpc/auth.h: Likewise.
48018 * sunrpc/rpc/auth_unix.h: Likewise.
48019 * sunrpc/rpc/clnt.h: Likewise.
48020 * sunrpc/rpc/des_crypt.h: Likewise.
48021 * sunrpc/rpc/key_prot.h: Likewise.
48022 * sunrpc/rpc/netdb.h: Likewise.
48023 * sunrpc/rpc/pmap_clnt.h: Likewise.
48024 * sunrpc/rpc/pmap_prot.h: Likewise.
48025 * sunrpc/rpc/pmap_rmt.h: Likewise.
48026 * sunrpc/rpc/rpc.h: Likewise.
48027 * sunrpc/rpc/rpc_des.h: Likewise.
48028 * sunrpc/rpc/rpc_msg.h: Likewise.
48029 * sunrpc/rpc/svc.h: Likewise.
48030 * sunrpc/rpc/svc_auth.h: Likewise.
48031 * sunrpc/rpc/types.h: Likewise.
48032 * sunrpc/rpc/xdr.h: Likewise.
48033 * sunrpc/rpc_clntout.c: Likewise.
48034 * sunrpc/rpc_cmsg.c: Likewise.
48035 * sunrpc/rpc_common.c: Likewise.
48036 * sunrpc/rpc_cout.c: Likewise.
48037 * sunrpc/rpc_dtable.c: Likewise.
48038 * sunrpc/rpc_hout.c: Likewise.
48039 * sunrpc/rpc_main.c: Likewise.
48040 * sunrpc/rpc_parse.c: Likewise.
48041 * sunrpc/rpc_parse.h: Likewise.
48042 * sunrpc/rpc_prot.c: Likewise.
48043 * sunrpc/rpc_sample.c: Likewise.
48044 * sunrpc/rpc_scan.c: Likewise.
48045 * sunrpc/rpc_scan.h: Likewise.
48046 * sunrpc/rpc_svcout.c: Likewise.
48047 * sunrpc/rpc_tblout.c: Likewise.
48048 * sunrpc/rpc_util.c: Likewise.
48049 * sunrpc/rpc_util.h: Likewise.
48050 * sunrpc/rpcinfo.c: Likewise.
48051 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48052 * sunrpc/rpcsvc/key_prot.x: Likewise.
48053 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48054 * sunrpc/rpcsvc/mount.x: Likewise.
48055 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48056 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48057 * sunrpc/rpcsvc/rex.x: Likewise.
48058 * sunrpc/rpcsvc/rstat.x: Likewise.
48059 * sunrpc/rpcsvc/rusers.x: Likewise.
48060 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48061 * sunrpc/rpcsvc/spray.x: Likewise.
48062 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48063 * sunrpc/rtime.c: Likewise.
48064 * sunrpc/svc.c: Likewise.
48065 * sunrpc/svc_auth.c: Likewise.
48066 * sunrpc/svc_authux.c: Likewise.
48067 * sunrpc/svc_raw.c: Likewise.
48068 * sunrpc/svc_run.c: Likewise.
48069 * sunrpc/svc_simple.c: Likewise.
48070 * sunrpc/svc_tcp.c: Likewise.
48071 * sunrpc/svc_udp.c: Likewise.
48072 * sunrpc/svc_unix.c: Likewise.
48073 * sunrpc/svcauth_des.c: Likewise.
48074 * sunrpc/xcrypt.c: Likewise.
48075 * sunrpc/xdr.c: Likewise.
48076 * sunrpc/xdr_array.c: Likewise.
48077 * sunrpc/xdr_float.c: Likewise.
48078 * sunrpc/xdr_mem.c: Likewise.
48079 * sunrpc/xdr_rec.c: Likewise.
48080 * sunrpc/xdr_ref.c: Likewise.
48081 * sunrpc/xdr_sizeof.c: Likewise.
48082 * sunrpc/xdr_stdio.c: Likewise.
48084 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48087 2010-08-19 Andreas Schwab <schwab@redhat.com>
48089 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48091 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48093 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48094 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48095 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48096 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48097 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48098 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48099 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48100 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48101 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48102 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48103 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48104 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48105 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48106 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48108 2010-07-26 Anton Blanchard <anton@samba.org>
48110 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48111 * malloc/arena.c (heap_trim): Likewise.
48113 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48115 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48118 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48120 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48122 * sysdeps/i386/elf/Makefile: New file.
48124 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48126 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48127 from fanotify_init.
48128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48131 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48133 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48135 * sysdeps/multiarch/strcmp.S: Likewise.
48137 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48140 strncase_l-nonascii.
48141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48142 Add strncase_l-ssse3.
48143 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48144 * sysdeps/x86_64/strcmp.S: Likewise.
48145 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48146 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48147 * sysdeps/x86_64/strncase.S: New file.
48148 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48149 * sysdeps/x86_64/strncase_l.S: New file.
48150 * string/Makefile (strop-tests): Add strncasecmp.
48151 * string/test-strncasecmp.c: New file.
48153 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48156 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48157 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48159 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48161 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48163 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48165 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48166 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48167 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48169 2010-05-01 Alan Modra <amodra@gmail.com>
48171 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48172 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48173 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48174 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48175 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48176 tidying. Don't tail-call __sigjmp_save for static lib.
48177 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48179 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48180 (CALL_MCOUNT): Add eh info, and nop after bl.
48181 (TAIL_CALL_SYSCALL_ERROR): New macro.
48182 (PSEUDO_RET): Use it.
48183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48184 Correct save location of integer regs and cr.
48185 (_dl_profile_resolve): Correct cr save location. Delete nops
48186 after bl when SHARED. Reduce cfi size a little by better
48187 placement of cfi directives.
48188 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48189 make a stack frame. Instead use parm save area as a temp.
48190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48191 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48193 Don't make a stack frame for parent, use parm save area.
48194 Increase child stack frame to 112 bytes. Don't save unused reg,
48195 and adjust reg usage. Set up cfi on error recovery and
48196 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48198 (__makecontext): Add dummy nop after jump to exit.
48199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48200 Use correct parm save area and cr save, reduce stack frame.
48201 Correct cfi for possible PSEUDO_RET frame setup.
48202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48203 Branch to local label emitted by PSEUDO_RET rather than
48206 2010-08-12 Andreas Schwab <schwab@redhat.com>
48209 * locale/programs/locale.c (print_assignment): New function.
48210 (show_locale_vars): Use it.
48212 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48214 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48216 (struct statfs64): Likewise.
48217 (_STATFS_F_FLAGS): Define.
48218 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48220 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48221 (ST_VALID): Define locally.
48222 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48223 __statvfs_getflags, use the provided value.
48224 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48225 __ASSUME_STATFS_F_FLAGS.
48227 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48229 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48230 Add sys/fanotify.h.
48231 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48232 fanotify_mask for GLIBC_2.13.
48233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48234 fanotify_init and fanotify_mark.
48235 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48236 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48240 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48241 prlimit64 for GLIBC_2.13.
48242 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48247 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48248 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48252 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48255 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48256 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48258 * nss/Makefile: Add rules to build and run tst-nss-test1.
48259 * shlib-versions: Add entry for libnss_test1.
48260 * nss/nss_test1.c: New file.
48261 * nss/tst-nss-test1.c: New file.
48263 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48264 (__nss_configure_lookup): Set appropriate entry in
48265 __nss_configure_lookup to true.
48266 * nss/nsswitch.h: Define enum with indeces of databases in
48267 databases and __nss_database_custom arrays. Declare
48268 __nss_database_custom.
48269 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48270 to avoid using nscd when custom rules are installed.
48271 * nss/getXXbyYY_r.c: Likewise.
48272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48274 * nss/nss_files/files-parse.c: Whitespace fixes.
48276 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48279 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48280 * posix/fnmatch_loop.c: Likewise.
48282 2010-07-17 Andi Kleen <ak@linux.intel.com>
48284 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48285 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48286 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48287 * Versions.def [GLIBC_2.13]: Add.
48289 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48291 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48292 Also fail if tpwd after pwuid call is NULL.
48294 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48296 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48297 when converting to ms.
48299 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48301 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48302 EOPNOTSUPP errors with ENOTTY.
48303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48304 EOPNOTSUPP errors with ENOTTY.
48306 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48308 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48309 Add strcasecmp_l-ssse3.
48310 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48312 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48313 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48314 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48316 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48318 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48320 * string/Makefile (strop-tests): Add strcasecmp.
48321 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48322 strcasecmp_l-nonascii.
48323 (gen-as-const-headers): Add locale-defines.sym.
48324 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48325 * sysdeps/x86_64/strcasecmp.S: New file.
48326 * sysdeps/x86_64/strcasecmp_l.S: New file.
48327 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48328 * sysdeps/x86_64/locale-defines.sym: New file.
48329 * string/test-strcasecmp.c: New file.
48331 * string/test-strcasestr.c: Test both ends of the range of characters.
48332 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48334 2010-07-29 Roland McGrath <roland@redhat.com>
48337 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48339 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48341 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48344 2010-07-27 Andreas Schwab <schwab@redhat.com>
48346 * manual/memory.texi (Malloc Tunable Parameters): Document
48349 2010-07-26 Roland McGrath <roland@redhat.com>
48352 * configure.in (-fgnu89-inline check): Set and substitute
48353 gnu89_inline, not libc_cv_gnu89_inline.
48354 * configure: Regenerated.
48355 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48357 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48359 * string/test-strnlen.c: New file.
48360 * string/Makefile (strop-tests): Add strnlen.
48361 * string/tester.c (test_strnlen): Add a few more test cases.
48362 * string/tst-strlen.c: Better error reporting.
48364 * sysdeps/x86_64/strnlen.S: New file.
48366 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48368 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48369 lower-latency instructions.
48371 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48373 * string/test-strcasestr.c: New file.
48374 * string/test-strstr.c: New file.
48375 * string/Makefile (strop-tests): Add strstr and strcasestr.
48376 * string/str-two-way.h: Don't undefine MAX.
48377 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48379 2010-07-21 Andreas Schwab <schwab@redhat.com>
48381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48382 strcasestr-nonascii.
48383 (CFLAGS-strcasestr-nonascii.c): Define.
48384 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48386 Remove unused attribute.
48388 2010-07-20 Roland McGrath <roland@redhat.com>
48390 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48391 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48392 ld.so.cache was broken. With it, there is no way to disable dsocaps
48393 like LD_HWCAP_MASK can disable hwcaps.
48395 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48397 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48399 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48401 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48402 call in strcasestr.
48403 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48404 __strcasestr_sse42_nonascii.
48405 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48406 strcasestr-nonascii.c.
48407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48409 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48416 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48418 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48421 2010-07-06 Andreas Schwab <schwab@redhat.com>
48424 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48427 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48429 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48430 _PC_PIPE_BUF using F_GETPIPE_SZ.
48432 2010-07-05 Roland McGrath <roland@redhat.com>
48434 * manual/arith.texi (Rounding Functions): Fix rint description
48435 implicit in round description.
48437 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48439 * elf/Makefile: Fix linking for a few tests to make recent linker
48442 2010-06-30 Andreas Schwab <schwab@redhat.com>
48444 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48445 $(common-objpfx)libc_nonshared.a.
48447 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48449 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48450 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48451 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48452 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48453 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48454 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48455 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48456 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48471 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48472 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48473 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48474 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48475 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48476 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48477 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48478 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48479 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48480 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48481 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48482 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48498 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48500 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48501 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48502 * string/memmove.c (memmove): Renamed to ...
48503 (MEMMOVE): ...this. Default to memmove.
48504 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48505 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48508 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48509 mempcpy-ssse3-back memmove-ssse3-back.
48510 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48513 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48514 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48515 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48516 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48517 * sysdeps/x86_64/multiarch/memmove.c: New file.
48518 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48519 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48520 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48521 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48522 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48525 (index_Fast_Copy_Backward): Define.
48526 (HAS_ARCH_FEATURE): Define.
48527 (HAS_FAST_REP_STRING): Define.
48528 (HAS_FAST_COPY_BACKWARD): Define.
48530 2010-06-21 Andreas Schwab <schwab@redhat.com>
48532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48533 Restore proper fallback handling.
48535 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48538 * posix/group_member.c (__group_member): Correct checking loop.
48540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48541 OOM in getpwuid_r correctly. Return error number when the caller
48542 should return, otherwise -1.
48543 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48544 call returning > 0 value.
48545 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48547 2010-06-07 Andreas Schwab <schwab@redhat.com>
48549 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48550 libc_nonshared.a from targets in modules-names.
48552 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48554 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48557 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48559 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48560 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48564 2010-06-02 Andreas Schwab <schwab@redhat.com>
48566 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48568 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48570 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48572 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48576 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48577 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48579 2010-06-14 Roland McGrath <roland@redhat.com>
48581 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48583 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48585 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48586 __REDIRECT followed by __THROW.
48587 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48588 * posix/getopt.h (getopt): Likewise.
48590 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48592 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48593 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48594 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48596 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48597 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48599 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48601 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48603 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48607 Properly check family and model.
48609 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48611 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48613 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48615 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48617 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48619 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48622 2010-05-19 Andreas Schwab <schwab@redhat.com>
48624 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48627 2010-05-21 Andreas Schwab <schwab@redhat.com>
48629 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48630 and internal_recvmmsg.
48631 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48632 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48633 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48634 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48636 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48637 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48638 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48640 2010-05-20 Andreas Schwab <schwab@redhat.com>
48642 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48644 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48646 POWER7 optimizations.
48647 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48648 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48650 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48652 * version.h: Update for 2.13 development version.
48654 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48656 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48657 exceptions. Return 0.
48659 2010-05-07 Roland McGrath <roland@redhat.com>
48661 * elf/ldconfig.c (main): Add a const.
48663 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48665 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48666 (args_options): Add no-idn option.
48667 (ahosts_keys_int): Add idn_flags to ai_flags.
48668 (parse_option): Handle 'i' option to clear idn_flags.
48670 * malloc/malloc.c (_int_free): Possible race in the most recently
48671 added check. Only act on the data if no current modification
48674 See ChangeLog.17 for earlier changes.