1 2014-07-03 Richard Henderson <rth@redhat.com>
3 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8 (math_force_eval): New.
10 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13 * sysdeps/alpha/fpu/s_round.c: Remove file.
14 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
18 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
19 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
20 (_dl_start, print_statistics): Likewise.
21 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29 (HP_SMALL_TIMING_AVAIL): Define.
30 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32 (HP_SMALL_TIMING_AVAIL): Define.
33 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36 * sysdeps/aarch64/hp-timing.h: New file.
38 * sysdeps/generic/hp-timing.h: Remove dead comment.
39 * sysdeps/generic/hp-timing-common.h: New file.
40 * sysdeps/alpha/hp-timing.h: Include it.
41 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
42 * sysdeps/i386/i686/hp-timing.h: Likewise.
43 * sysdeps/ia64/hp-timing.h: Likewise.
44 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
49 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
52 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
53 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
54 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
55 * elf/rtld.c (_dl_start_final): Likewise.
56 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
57 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
58 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
59 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
60 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
61 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
62 (HP_TIMING_DIFF_INIT): Remove.
63 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
64 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
65 (HP_TIMING_DIFF_INIT): Remove.
66 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
67 * sysdeps/i386/i686/hp-timing.c: Remove file.
68 * sysdeps/x86_64/hp-timing.c: Remove file.
69 * sysdeps/ia64/hp-timing.c: Remove file.
70 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
71 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
72 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
73 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
75 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
76 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
77 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
78 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
79 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
80 (HP_TIMING_ACCUM): Remove.
81 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
82 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
83 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
85 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
86 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
87 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
88 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
89 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
90 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
91 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
92 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
94 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
96 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
98 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
100 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
102 Sync up with gettext.
103 * intl/loadmsgcat.c: Define O_BINARY if not defined.
104 [_MSC_VER]: Include malloc.h
105 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
106 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
107 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
108 TEMP_FAILURE_RETRY. Cast return of alloca.
109 [!_LIBC] Call gl_rwlock_init.
110 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
112 2014-07-02 Roland McGrath <roland@hack.frob.com>
114 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
115 before checking its value.
117 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
119 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
121 * debug/memcpy_chk.c: Don't include pagecopy.h.
122 * debug/mempcpy_chk.c: Likewise.
123 * string/memcpy.c: Likewise.
124 * string/memmove.c: Likewise.
125 * sysdeps/powerpc/memmove.c: Likewise.
126 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
127 definition of PAGE_COPY_FWD_MAYBE here...
128 * sysdeps/generic/pagecopy.h: ... from here.
129 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
131 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
132 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
134 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
138 (__libc_ifunc_impl_list): Likewise.
139 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
140 multiarch strcat for PPC64.
141 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
142 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
144 2014-07-02 Roland McGrath <roland@hack.frob.com>
146 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
148 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
150 * intl/loadmsgcat.c: Remove declaration of
151 get_sysdep_segment_value.
152 (get_sysdep_segment_value): Use ISO C style.
153 (_nl_load_domain): Use ISO C style. Get rid of redundant
154 semicolon. Fix typo and formatting in comment.
155 (_nl_unload_domain): Use ISO C style.
157 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
159 2014-07-02 Will Newton <will.newton@linaro.org>
161 * malloc/obstack.c: Merge from gnulib master.
162 [HAVE_CONFIG_H]: Remove conditional code.
163 [!_LIBC]: Include config.h.
164 [!ELIDE_CODE]: Don't include inttypes.h, include
165 stdint.h unconditionally.
166 (print_and_abort): Mark as _Noreturn.
167 (_obstack_allocated_p): Mark as __attribute_pure__.
168 (obstack_free): Rename to __obstack_free.
169 [!__attribute__]: Remove conditional code.
170 * malloc/obstack.h: Merge from gnulib master.
171 [__cplusplus]: Move conditional down.
172 [!__attribute_pure__]: Define __attribute_pure__ here
173 if it is not already defined.
174 (_obstack_memory_used): Mark as __attribute_pure__.
175 [!__obstack_free]: Define as obstack_free.
176 [__GNUC__]: Remove check for ancient NeXT gcc.
178 2014-07-02 Will Newton <will.newton@linaro.org>
179 Paul Eggert <eggert@cs.ucla.edu>
181 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
183 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
185 * resolv/gethnamaddr.c: Add comment warning that the file is
188 2014-07-01 Carlos O'Donell <carlos@redhat.com>
190 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
193 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
194 entry for aio_cancel and aio_cancel64.
195 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
196 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
197 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
198 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
199 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
200 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
201 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
202 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
203 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
204 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
205 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
206 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
207 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
209 2014-07-01 Roland McGrath <roland@hack.frob.com>
211 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
212 * nptl/pthread_mutex_lock.c: Likewise.
213 * nptl/pthread_mutex_timedlock.c: Likewise.
214 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
216 2014-07-01 Richard henderson <rth@redhat.com>
218 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
219 (__isnan, __isnanl): Remove.
220 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
222 * sysdeps/alpha/fpu/libm-test-ulps: Update.
224 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
226 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
228 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
230 * resolv/nss_dns/dns-host.c (getanswer_r)
231 [MULTI_PTRS_ARE_ALIASES]: Remove code.
233 2014-07-01 Joseph Myers <joseph@codesourcery.com>
235 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
236 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
238 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
239 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
241 2014-07-01 Roland McGrath <roland@hack.frob.com>
243 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
244 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
246 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
247 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
249 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
250 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
252 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
253 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
255 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
256 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
257 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
258 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
260 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
261 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
262 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
263 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
264 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
266 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
268 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
269 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
270 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
271 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
272 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
273 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
274 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
275 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
276 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
277 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
278 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
279 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
280 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
281 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
282 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
283 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
284 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
285 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
286 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
287 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
289 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
290 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
291 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
292 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
293 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
294 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
295 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
296 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
298 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
300 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
301 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
302 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
305 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
309 2014-06-30 Joseph Myers <joseph@codesourcery.com>
311 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
312 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
314 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
316 * sysdeps/arm/libm-test-ulps: Regenerated.
318 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
319 Roland McGrath <roland@hack.frob.com>
321 * test-skeleton.c (signal_handler): Kill the whole process group
322 before killing the child individually.
323 (main): Report any failure on `setpgid'.
325 2014-06-30 Roland McGrath <roland@hack.frob.com>
327 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
328 from _TLS_H to _ARM_NPTL_TLS_H.
329 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
330 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
332 2014-06-30 Joseph Myers <joseph@codesourcery.com>
335 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
336 (__expm1l): Return argument unchanged when small but not
339 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
341 (_FP_UNPACK_RAW_1_P): Likewise.
342 (_FP_PACK_RAW_1): Likewise.
343 (_FP_PACK_RAW_1_P): Likewise.
344 (_FP_MUL_MEAT_1_wide): Likewise.
345 (_FP_MUL_MEAT_DW_1_hard): Likewise.
346 (_FP_MUL_MEAT_1_hard): Likewise.
347 (_FP_DIV_MEAT_1_imm): Likewise.
348 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
349 (_FP_DIV_MEAT_1_udiv): Likewise.
350 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
351 (_FP_UNPACK_RAW_2): Likewise.
352 (_FP_UNPACK_RAW_2_P): Likewise.
353 (_FP_PACK_RAW_2): Likewise.
354 (_FP_PACK_RAW_2_P): Likewise.
355 (_FP_MUL_MEAT_DW_2_wide): Likewise.
356 (_FP_MUL_MEAT_2_wide): Likewise.
357 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
358 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
359 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
360 (_FP_MUL_MEAT_2_gmp): Likewise.
361 (_FP_DIV_MEAT_2_udiv): Likewise.
362 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
363 (_FP_FRAC_SRL_4): Likewise.
364 (_FP_FRAC_SRST_4): Likewise.
365 (_FP_FRAC_SRS_4): Likewise.
366 (_FP_UNPACK_RAW_4): Likewise.
367 (_FP_UNPACK_RAW_4_P): Likewise.
368 (_FP_PACK_RAW_4): Likewise.
369 (_FP_PACK_RAW_4_P): Likewise.
370 (_FP_MUL_MEAT_DW_4_wide): Likewise.
371 (_FP_MUL_MEAT_4_wide): Likewise.
372 (_FP_MUL_MEAT_4_gmp): Likewise.
373 (umul_ppppmnnn): Likewise.
374 (_FP_DIV_MEAT_4_udiv): Likewise.
375 (__FP_FRAC_ADD_4): Likewise.
376 (__FP_FRAC_SUB_3): Likewise.
377 (__FP_FRAC_SUB_4): Likewise.
378 (__FP_FRAC_DEC_3): Likewise.
379 (__FP_FRAC_DEC_4): Likewise.
380 (__FP_FRAC_ADDI_4): Likewise.
381 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
382 (_FP_FRAC_SRL_8): Likewise.
383 (_FP_FRAC_SRS_8): Likewise.
385 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
387 (FP_UNPACK_RAW_EP): Likewise.
388 (FP_PACK_RAW_E): Likewise.
389 (FP_PACK_RAW_EP): Likewise.
390 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
391 (_FP_ISSIGNAN): Likewise.
392 (_FP_ADD_INTERNAL): Likewise.
395 (_FP_SQRT): Likewise.
396 (_FP_TO_INT): Likewise.
397 (_FP_FROM_INT): Likewise.
398 (FP_EXTEND): Likewise.
399 (_FP_DIV_MEAT_N_loop): Likewise.
401 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
403 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
406 2014-06-29 Joseph Myers <joseph@codesourcery.com>
409 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
410 result with correct sign in case of exponents that produce
411 overflow except for X very close to 1.
413 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
415 mktime: merge #if/#ifdef usage from glibc
416 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
417 as that works with both Glibc's and Gnulib's style.
418 See thread starting at Siddhesh Poyarekar's bug report at:
419 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
421 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
423 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
424 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
425 * sysdeps/tile/tilegx/memmove.c: Remove file.
427 2014-06-27 Joseph Myers <joseph@codesourcery.com>
429 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
431 * scripts/soversions.awk: Do not handle or generate ABI lines.
432 * shlib-versions: Remove ABI entries.
433 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
434 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
436 2014-06-27 Roland McGrath <roland@hack.frob.com>
438 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
439 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
440 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
441 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
442 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
443 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
444 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
446 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
449 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
451 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
453 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
454 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
455 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
457 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
459 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
460 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
462 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
464 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
466 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
469 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
472 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
479 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
481 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
483 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
484 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
486 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
488 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
489 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
491 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
492 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
494 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
495 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
496 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
497 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
499 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
501 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
502 Identical file removed.
503 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
505 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
506 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
507 Identical file removed.
508 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
509 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
510 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
512 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
514 Identical file removed.
515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
516 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
517 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
518 Identical file removed.
519 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
520 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
521 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
522 Identical file removed.
523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
524 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
525 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
526 Identical file removed.
527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
529 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
530 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
531 Identical file removed.
532 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
534 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
536 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
537 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
538 Identical file removed.
539 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
541 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
543 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
544 Identical file removed.
545 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
547 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
548 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
549 Identical file removed.
550 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
552 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
554 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
555 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
556 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
559 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
560 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
561 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
563 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
564 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
565 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
566 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
567 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
569 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
572 * nscd/nscd.c (monitor_child): Return exit status of child
573 instead of return value from wait syscall.
575 2014-06-27 Joseph Myers <joseph@codesourcery.com>
577 * configure.ac (libc_commonpagesize): Remove variable.
578 (libc_relro_required): Likewise.
579 (libc_cv_z_relro): Remove configure test.
580 * configure: Regenerated.
581 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
583 (libc_relro_required): Likewise.
584 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
585 (libc_relro_required): Likewise.
586 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
587 (libc_relro_required): Likewise.
588 * sysdeps/arm/preconfigure: Regenerated.
589 * sysdeps/ia64/preconfigure: Remove file.
590 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
592 (libc_relro_required): Likewise.
596 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
597 (__ieee754_yn): Set FE_TONEAREST mode internally and then
598 recompute overflowing results in original rounding mode.
599 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
600 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
601 recompute overflowing results in original rounding mode.
602 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
603 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
604 recompute overflowing results in original rounding mode.
605 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
606 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
607 recompute overflowing results in original rounding mode.
608 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
609 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
610 recompute overflowing results in original rounding mode.
611 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
612 (libc_feholdsetround_ctx): New macro.
613 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
614 * sysdeps/i386/fpu/libm-test-ulps: Update.
615 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
617 2014-06-26 Joseph Myers <joseph@codesourcery.com>
619 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
620 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
621 corresponding .cpsetup call.
623 2014-06-26 Roland McGrath <roland@hack.frob.com>
625 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
626 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
627 * sysdeps/arm/Makefile [$(subdir) = csu]
628 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
629 (static-only-routines): Add aeabi_read_tp here.
630 (shared-only-routines): Add libc-aeabi_read_tp here.
631 (CFLAGS-libc-start.c): Add -fexceptions here.
632 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
633 (sysdep_routines, static-only-routines, shared-only-routines):
634 Don't add to these here.
635 (CFLAGS-libc-start.c): Likewise.
637 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
638 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
639 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
640 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
641 * sysdeps/arm/Makefile [$(subdir) = rt]
642 (librt-sysdep_routines, librt-shared-only-routines):
643 Append rt-aeabi_unwind_cpp_pr1 here.
644 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
645 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
646 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
647 (libpthread-sysdep_routines, libpthread-shared-only-routines):
648 Append nptl-aeabi_unwind_cpp_pr1 here.
649 (tests): Filter out tst-cleanupx4 here.
650 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
651 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
654 2014-06-26 Joseph Myers <joseph@codesourcery.com>
656 * scripts/list-sources.sh: Do not handle ports specially.
658 2014-06-26 Roland McGrath <roland@hack.frob.com>
660 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
661 * sysdeps/arm/feupdateenv.c: Likewise.
663 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
665 2014-06-26 Joseph Myers <joseph@codesourcery.com>
667 * manual/texinfo.tex: Update to version 2014-05-05.10 with
668 trailing whitespace removed.
669 * scripts/config.guess: Update to version 2014-03-23.
670 * scripts/config.sub: Update to version 2014-05-01
671 * scripts/install-sh: Update to version 2013-12-25.23.
672 * scripts/move-if-change: Update from gnulib.
674 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
676 * debug/memmove_chk.c: Remove pagecopy.h include.
678 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
680 * time/mktime.c (leapyear): Remove inline keyword. The code is now
681 identical to gnulib mktime.
683 2014-06-26 Joseph Myers <joseph@codesourcery.com>
685 * configure.ac: Do not test for machine being rs6000. Do not test
687 * configure: Regenerated.
689 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
691 * configure: Regenerated.
692 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
693 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
694 Remove configure test.
695 * sysdeps/arm/configure: Regenerated.
696 * sysdeps/nptl/configure.ac: Do not check
697 libc_cv_asm_cfi_directives.
698 * sysdeps/nptl/configure: Regenerated.
699 * sysdeps/x86_64/nptl/configure.ac: Remove file.
700 * sysdeps/x86_64/nptl/configure: Remove generated file.
701 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
703 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
705 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
707 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
708 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
709 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
712 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
713 instead of whether it is defined.
714 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
715 * sysdeps/hppa/dl-machine.h: Likewise.
716 * sysdeps/ia64/dl-machine.h: Likewise.
717 * sysdeps/m68k/dl-machine.h: Likewise.
718 * sysdeps/microblaze/dl-machine.h: Likewise.
719 * sysdeps/mips/dl-machine.: Likewise.
720 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
721 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
722 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
723 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
724 * sysdeps/sh/dl-machine.h: Likewise.
725 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
726 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
727 * sysdeps/tile/dl-machine.h: Likewise.
728 * sysdeps/x86_64/dl-machine.h: Likewise.
730 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
732 (verify_persistent_db): Likewise.
734 2014-06-26 Roland McGrath <roland@hack.frob.com>
736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
737 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
739 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
742 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
747 Identical file removed.
748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
749 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
751 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
760 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
762 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
764 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
767 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
769 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
771 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
773 Identical file removed.
774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
775 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
777 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
780 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
783 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
785 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
787 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
789 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
791 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
794 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
797 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
799 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
802 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
804 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
806 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
808 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
809 * sysdeps/unix/sysv/linux/s390/Versions
810 (libpthread: GLIBC_2.19): New version set.
811 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
812 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
813 (librt: GLIBC_2.3.3): New version set.
814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
815 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
816 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
817 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
818 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
819 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
820 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
821 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
822 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
823 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
824 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
825 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
826 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
827 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
828 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
829 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
830 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
831 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
832 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
833 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
834 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
835 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
836 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
837 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
838 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
839 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
840 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
841 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
842 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
843 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
844 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
845 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
847 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
849 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
850 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
852 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
854 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
855 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
856 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
857 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
858 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
860 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
861 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
862 (__libc_vfork): Define the function under this name.
863 [!NOT_IN_libc] (__vfork): Make this an alias.
864 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
865 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
866 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
867 (__libc_vfork): Define the function under this name.
868 [!NOT_IN_libc] (__vfork): Make this an alias.
869 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
870 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
871 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
873 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
874 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
876 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
877 code that was previously under [RESET_PID].
878 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
879 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
882 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
883 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
884 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
885 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
886 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
887 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
888 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
889 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
890 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
891 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
892 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
894 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
895 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
896 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
897 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
898 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
899 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
900 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
901 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
902 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
903 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
904 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
905 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
906 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
907 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
908 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
909 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
910 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
911 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
912 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
913 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
914 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
915 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
916 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
917 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
918 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
919 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
920 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
921 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
922 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
924 2014-06-25 Roland McGrath <roland@hack.frob.com>
926 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
927 that was previously under [RESET_PID].
928 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
930 2014-06-25 Joseph Myers <joseph@codesourcery.com>
932 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
933 not undefine and redefine.
934 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
935 [O_CLOEXEC]: Make code unconditional.
936 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
937 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
939 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
940 conditional variable definition.
941 (shm_open) [O_CLOEXEC]: Make code unconditional.
942 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
945 * configure.ac (USE_REGPARMS): Don't define here.
946 * configure: Regenerated.
947 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
948 * sysdeps/i386/configure: Regenerated.
950 * nptl/createthread.c: Don't include kernel-features.h.
951 * nptl/pthread_cancel.c: Likewise.
952 * nptl/pthread_condattr_setclock.c: Likewise.
953 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
954 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
955 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
956 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
957 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
958 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
959 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
960 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
961 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
962 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
963 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
964 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
965 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
966 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
967 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
968 * nscd/gai.c: Likewise.
969 * nss/nss_db/db-open.c: Likewise.
970 * sysdeps/generic/ldsodefs.h: Likewise.
971 * sysdeps/sh/nptl/tls.h: Likewise.
972 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
973 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
974 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
975 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
976 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
977 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
978 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
979 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
981 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
982 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
983 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
984 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
985 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
986 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
987 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
988 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
989 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
990 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
991 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
992 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
993 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
994 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
995 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
996 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
997 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
998 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
999 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1000 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1001 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1002 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1003 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1004 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1005 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1006 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1007 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1008 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1009 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1010 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1011 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1012 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1013 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1014 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1015 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1016 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1017 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1018 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1019 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1020 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1021 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1022 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1023 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1024 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1025 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1026 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1027 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1028 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1029 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1052 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1053 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1054 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1055 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1056 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1057 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1058 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1059 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1060 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1061 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1062 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1063 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1064 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1065 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1066 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1067 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1068 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1069 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1070 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1071 * sysdeps/unix/sysv/linux/system.c: Likewise.
1072 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1073 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1074 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1075 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1076 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1077 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1078 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1080 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1081 * configure: Regenerated.
1082 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1084 * configure.ac (base_machine): Do not set specially for particular
1086 * configure: Regenerated.
1087 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1088 settings from configure.ac.
1089 * sysdeps/i386/preconfigure: New file.
1090 * sysdeps/s390/preconfigure: Likewise.
1091 * sysdeps/sh/preconfigure: Likewise.
1092 * sysdeps/sparc/preconfigure: Likewise.
1094 2014-06-25 Roland McGrath <roland@hack.frob.com>
1096 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1097 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1098 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1099 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1100 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1101 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1102 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1103 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1104 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1105 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1106 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1107 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1108 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1109 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1110 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1111 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1112 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1113 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1114 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1116 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1117 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1118 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1119 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1120 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1121 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1122 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1123 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1124 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1125 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1126 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1127 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1128 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1129 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1130 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1131 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1132 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1133 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1134 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1135 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1136 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1137 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1138 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1139 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1140 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1141 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1142 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1143 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1144 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1145 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1146 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1147 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1148 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1149 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1150 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1151 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1152 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1153 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1156 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1158 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1161 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1166 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1169 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1178 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1181 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1186 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1190 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1192 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1194 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1197 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1200 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1202 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1205 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1207 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1209 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1211 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1214 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1217 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1219 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1222 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1224 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1226 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1228 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1230 * timezone/checktab.awk: Update from tzcode 2014e.
1231 * timezone/private.h: Likewise.
1232 * timezone/tzfile.h: Likewise.
1233 * timezone/zdump.c: Likewise.
1234 * timezone/zic.c: Likewise.
1236 * sysdeps/unix/sysv/linux/kernel-features.h
1237 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1238 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1239 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1240 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1241 Remove conditional code.
1243 2014-06-25 Will Newton <will.newton@linaro.org>
1245 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1246 (_dl_arm_cap_flags): Add HWCAP2 values.
1247 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1248 (_DL_HWCAP_COUNT): Increase to 37.
1249 (_DL_HWCAP_LAST): New define.
1250 (_DL_HWCAP2_LAST): New define.
1251 (_dl_procinfo): Add support for printing
1253 (_dl_string_hwcap): Use _dl_hwcap_string.
1255 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1259 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1261 * README: Do not mention ports directory.
1263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1265 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1266 <kernel-features.h>.
1267 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1268 conditional variable definition.
1269 (__futimes): Update comment.
1270 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1271 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1274 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1275 arguments close to 0.
1276 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1278 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1280 * math/auto-libm-test-in: Add more tests of exp10.
1281 * math/auto-libm-test-out: Regenerated.
1282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1284 * sysdeps/unix/sysv/linux/kernel-features.h
1285 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1286 * sysdeps/unix/sysv/linux/readv.c: Do not include
1287 <kernel-features.h>.
1288 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1289 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1290 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1292 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1294 * sysdeps/unix/sysv/linux/writev.c: Do not include
1295 <kernel-features.h>.
1296 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1297 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1298 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1300 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1303 2014-06-25 Will Newton <will.newton@linaro.org>
1305 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1306 comment changes throughout the file. Remove checks
1307 for HAVE_*_H definitions that are not required.
1308 (__gen_tempname): Call abort if an unknown kind value is
1311 2014-06-25 Andreas Schwab <schwab@suse.de>
1314 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1315 scalbln, scalblnf, scalblnl in libc.
1317 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1320 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1321 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1322 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1324 2014-06-24 Roland McGrath <roland@hack.frob.com>
1326 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1327 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1328 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1329 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1331 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1332 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1334 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1335 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1336 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1337 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1338 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1339 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1340 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1341 * sysdeps/x86/bits/semaphore.h: ... here.
1342 * sysdeps/x86/nptl/elide.h: Moved ...
1343 * sysdeps/x86/elide.h: ... here.
1344 * sysdeps/x86_64/nptl/Implies: File removed.
1345 * sysdeps/i386/nptl/Implies: File removed.
1347 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1350 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1351 return the argument for normal arguments with exponent below -64.
1352 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1354 * math/auto-libm-test-in: Add another test of expm1.
1355 * math/auto-libm-test-out: Regenerated.
1358 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1359 calling __erfcl for arguments at least 16.
1360 * math/auto-libm-test-in: Add more tests of erf.
1361 * math/auto-libm-test-out: Regenerated.
1363 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1364 individual architectures.
1365 * sysdeps/unix/sysv/linux/configure: Regenerated.
1366 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1367 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1368 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1369 (ldd_rewrite_script): Define variable.
1370 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1375 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1376 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1377 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1378 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1379 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1380 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1381 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1382 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1384 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1387 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1388 Rename member __data.d to __data.__elision_data.
1390 2014-06-24 Wilco <wdijkstr@arm.com>
1392 * NEWS: Add 16918 to fixed bug list.
1394 2014-06-24 Wilco <wdijkstr@arm.com>
1396 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1398 2014-06-24 Wilco <wdijkstr@arm.com>
1400 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1401 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1402 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1403 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1404 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1405 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1406 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1409 2014-06-24 Wilco <wdijkstr@arm.com>
1411 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1413 2014-06-24 Wilco <wdijkstr@arm.com>
1415 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1416 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1417 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1418 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1420 2014-06-24 Wilco <wdijkstr@arm.com>
1423 * sysdeps/arm/feupdateenv.c (feupdateenv):
1424 Rewrite to reduce FPSCR accesses and fix return value.
1426 2014-06-24 Wilco <wdijkstr@arm.com>
1428 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1429 Optimize to avoid unnecessary FPSCR writes.
1430 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1431 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1432 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1433 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1435 2014-06-24 Wilco <wdijkstr@arm.com>
1437 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1438 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1439 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1440 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1441 Call libc_fetestexcept_vfp.
1442 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1443 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1444 __SOFTFP__ ifdef so that they can be built for softfp.
1446 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1448 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1449 argument type signed char.
1451 * Makerules (check-abi): Dump diff of symlist if the test
1454 2014-06-23 Roland McGrath <roland@hack.frob.com>
1456 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1459 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1460 Remove unused variable ST.
1462 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1466 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1467 small arguments before calling __expm1.
1468 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1469 small arguments before calling __expm1f.
1470 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1471 small arguments before calling __expm1l.
1472 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1474 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1475 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1476 spurious underflow for some cosh tests.
1477 * math/auto-libm-test-out: Regenerated.
1478 * sysdeps/i386/fpu/libm-test-ulps: Update.
1481 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1482 (__ieee754_y1): Set errno if return value overflows.
1483 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1484 (__ieee754_y1f): Set errno if return value overflows.
1485 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1486 (__ieee754_y1l): Set errno if return value overflows.
1487 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1488 (__ieee754_y1l): Set errno if return value overflows.
1489 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1490 * math/auto-libm-test-out: Regenerated.
1492 * math/gen-auto-libm-tests.c: Document use of
1493 ignore-zero-inf-sign.
1494 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1495 (input_flags): Add ignore-zero-inf-sign.
1496 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1497 * math/gen-libm-test.pl (generate_testfile): Handle
1498 ignore-zero-inf-sign.
1499 * math/auto-libm-test-in: Mark some cpow tests with
1500 ignore-zero-inf-sign and some with xfail-rounding.
1501 * math/auto-libm-test-out: Regenerated.
1502 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1503 * sysdeps/i386/fpu/libm-test-ulps: Update.
1504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1507 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1508 overflowing or underflowing operations take place with sign of
1510 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1511 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1512 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1513 (__ieee754_pow): Recompute overflowing and underflowing results in
1514 original rounding mode.
1515 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1516 (__powl_helper): Allow negative argument X and scale negated value
1517 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1518 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1519 overflowing or underflowing operations take place with sign of
1521 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1523 * math/auto-libm-test-in: Add more tests of pow.
1524 * math/auto-libm-test-out: Regenerated.
1525 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1526 (pow_tonearest_test_data): Remove.
1527 (pow_test_tonearest): Likewise.
1528 (pow_towardzero_test_data): Likewise.
1529 (pow_test_towardzero): Likewise.
1530 (pow_downward_test_data): Likewise.
1531 (pow_test_downward): Likewise.
1532 (pow_upward_test_data): Likewise.
1533 (pow_test_upward): Likewise.
1534 (main): Don't call removed functions.
1535 * sysdeps/i386/fpu/libm-test-ulps: Update.
1536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1538 2014-06-23 Roland McGrath <roland@hack.frob.com>
1540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1714 2014-06-23 Will Newton <will.newton@linaro.org>
1715 Wilco <wdijkstr@arm.com>
1717 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1718 implementation. Include get-rounding-mode.h.
1719 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1720 [!libc_feholdsetround_noex_ctx]: Define
1721 libc_feholdsetround_noex_ctx.
1722 [!libc_feholdsetround_noexf_ctx]: Define
1723 libc_feholdsetround_noexf_ctx.
1724 [!libc_feholdsetround_noexl_ctx]: Define
1725 libc_feholdsetround_noexl_ctx.
1726 (libc_feholdsetround_ctx): New function.
1727 (libc_feresetround_ctx): New function.
1728 (libc_feholdsetround_noex_ctx): New function.
1729 (libc_feresetround_noex_ctx): New function.
1731 2014-06-23 Roland McGrath <roland@hack.frob.com>
1733 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1734 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1735 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1736 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1737 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1738 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1740 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1741 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1742 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1743 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1744 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1745 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1746 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1747 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1748 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1749 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1750 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1752 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1754 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1755 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1756 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1757 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1758 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1760 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1762 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1764 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1766 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1767 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1769 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1770 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1772 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1774 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1777 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1779 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1781 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1782 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1783 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1784 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1785 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1786 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1788 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1790 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1791 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1792 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1793 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1794 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1795 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1796 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1799 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1801 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1802 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1804 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1806 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1808 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1811 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1813 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1814 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1815 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1817 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1818 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1819 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1820 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1821 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1822 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1823 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1824 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1825 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1826 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1827 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1828 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1829 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1830 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1831 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1832 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1833 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1834 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1835 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1836 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1837 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1838 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1839 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1840 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1841 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1842 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1843 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1844 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1846 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1848 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1849 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1850 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1851 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1852 (IPV6_PMTUDISC_INTERFACE): Likewise.
1853 (IPV6_PMTUDISC_OMIT): Likewise.
1855 2014-06-23 Andreas Schwab <schwab@suse.de>
1857 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1858 Remove unused errout label.
1860 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1862 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1863 macro: hardware supports Vector Crypto instructions.
1865 2014-06-23 Will Newton <will.newton@linaro.org>
1867 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1868 rather than __builtin_expect.
1870 * elf/dl-lookup.c (undefined_msg): Remove variable.
1871 (_dl_lookup_symbol_x): Replace undefined_msg with string
1874 * elf/dl-lookup.c (do_lookup_unique): New function.
1875 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1876 to a separate function.
1878 2014-06-23 Andreas Schwab <schwab@suse.de>
1881 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1882 before reading the next line.
1884 2014-06-23 Will Newton <will.newton@linaro.org>
1886 * test-skeleton.c (signal_handler): Use printf and %m
1887 rather than perror. Use printf rather than fprintf to
1888 stderr. Use puts rather than fputs to stderr.
1891 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1893 * nscd/nscd.c (thread_info_t): Remove typedef.
1894 (thread_info): Remove variable.
1896 2014-06-21 Allan McRae <allan@archlinux.org>
1898 * NEWS: Mention CVE-2014-4043.
1900 2014-06-20 Roland McGrath <roland@hack.frob.com>
1902 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1903 * nptl/smp.h: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1907 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1908 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1909 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1910 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1912 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1913 * nptl/stack-aliasing.h: New file.
1914 * sysdeps/i386/i686/stack-aliasing.h: New file.
1915 * sysdeps/i386/i686/nptl/Makefile: File removed.
1916 * sysdeps/x86_64/stack-aliasing.h: New file.
1917 * sysdeps/x86_64/nptl/Makefile
1918 (CFLAGS-pthread_create.c): Variable removed.
1920 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1921 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1923 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1924 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1927 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1929 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1930 (__ASSUME_SIGFRAME_V2): Remove macro.
1931 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1932 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1933 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1934 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1935 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1936 Declare as function. Remove conditional macro definitions.
1937 (__default_rt_sa_restorer): Likewise.
1938 (__default_sa_restorer_v1): Remove declaration.
1939 (__default_sa_restorer_v2): Likewise.
1940 (__default_rt_sa_restorer_v1): Likewise.
1941 (__default_rt_sa_restorer_v2): Likewise.
1942 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1943 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1944 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1946 2014-06-20 Roland McGrath <roland@hack.frob.com>
1948 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1949 (libpthread-routines): Add sysdep.
1950 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1951 * sysdeps/unix/sysv/linux/sparc/Versions
1952 (libpthread: GLIBC_2.3.3): New version set.
1953 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1954 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1955 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1956 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1957 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1958 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1960 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1961 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1962 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1963 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1964 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1965 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1966 * sysdeps/sparc/nptl/sem_init.c: ... here.
1967 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1968 * sysdeps/sparc/nptl/sem_post.c: ... here.
1969 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1970 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1971 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1972 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1973 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1974 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1975 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1976 (libpthread-routines): Add cpu_relax.
1977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1979 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1980 (librt: GLIBC_2.3.3): New version set.
1981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1982 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1983 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1984 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1987 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1990 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1992 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1994 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1996 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1998 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2001 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2005 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2009 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2013 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2017 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2021 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2024 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2030 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2032 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2035 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2037 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2039 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2041 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2043 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2044 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2045 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2046 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2047 * nscd/nscd.c: Likewise.
2048 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2049 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2050 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2051 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2053 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2054 <kernel-features.h>.
2055 (init_mq_netlink): Remove conditional have_sock_cloexec
2056 definitions. Remove code conditional on have_sock_cloexec < 0.
2057 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2058 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2059 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2060 <kernel-features.h>.
2061 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2062 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2064 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2067 Add tests for memset_chk and memset.
2069 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2072 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2075 * elf/tst-dl-iter-static.c: New file.
2076 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2078 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2081 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2083 * sysdeps/unix/sysv/linux/kernel-features.h
2084 (__ASSUME_F_GETOWN_EX): Remove macro.
2085 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2086 <kernel-features.h>.
2087 (miss_F_GETOWN_EX): Remove variable or macro.
2088 (do_fcntl): Do not check miss_F_GETOWN_EX.
2089 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2091 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2094 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2095 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2097 * sysdeps/unix/sysv/linux/kernel-features.h
2098 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2099 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2100 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2101 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2103 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2106 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2107 Fix calculation of the symbol's value.
2108 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2109 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2110 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2111 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2112 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2113 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2114 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2115 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2116 (modules-names): Add `tst-armtlsdescmod',
2117 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2118 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2119 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2120 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2121 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2122 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2123 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2124 ($(objpfx)tst-armtlsdescloc): New dependency.
2125 ($(objpfx)tst-armtlsdescextnow): Likewise.
2126 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2127 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2129 * sysdeps/arm/configure: Regenerate.
2131 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2133 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2134 (__atfct_seterrno_2): Likewise.
2135 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2136 <kernel-features.h>.
2137 (__ASSUME_ATFCTS): Do not undefine and redefine.
2138 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2139 (__have_atfcts): Remove conditional definition.
2140 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2141 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2142 unreachable if [__ASSUME_ATFCTS].
2143 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2144 not undefine and redefine.
2145 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2146 <kernel-features.h>.
2147 (faccessat) [__NR_faccessat]: Make code unconditional.
2148 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2149 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2150 <kernel-features.h>.
2151 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2152 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2153 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2154 <kernel-features.h>.
2155 (fchownat) [__NR_fchownat]: Make code unconditional.
2156 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2157 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2158 <kernel-features.h>.
2159 (futimesat) [__NR_futimesat]: Make code unconditional.
2160 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2161 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2162 <kernel-features.h>.
2163 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2164 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2165 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2166 <kernel-features.h>.
2167 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2168 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2169 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2170 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2171 <kernel-features.h>.
2172 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2173 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2174 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2175 <kernel-features.h>.
2176 (linkat) [__NR_linkat]: Make code unconditional.
2177 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2178 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2179 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2180 <kernel-features.h>.
2181 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2182 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2183 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2184 <kernel-features.h>.
2185 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2186 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2187 * sysdeps/unix/sysv/linux/openat.c: Do not include
2188 <kernel-features.h>.
2189 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2190 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2191 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2192 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2193 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2194 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2195 <kernel-features.h>.
2196 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2197 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2198 result of INLINE_SYSCALL directly, not via int variable.
2199 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2200 <kernel-features.h>.
2201 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2202 (renameat) [__NR_renameat]: Make code unconditional.
2203 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2204 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2205 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2206 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2207 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2208 (__ASSUME_ATFCTS): Do not undefine and redefine.
2209 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2210 <kernel-features.h>.
2211 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2212 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2213 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2214 <kernel-features.h>.
2215 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2216 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2217 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2218 (__ASSUME_ATFCTS): Do not undefine and redefine.
2219 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2220 <kernel-features.h>.
2221 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2222 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2223 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2224 <kernel-features.h>.
2225 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2226 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2228 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2230 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2232 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2235 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2236 constructed tree before returning error.
2237 * posix/bug-regexp36.c: Expand test case.
2239 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2242 * math/libm-test.inc (scalbln_test_date):
2243 Add errno expectations.
2244 * math/w_scalblnf.c: New File.
2245 Add wrapper which checks for setting errno to ERANGE.
2246 Add weak_alias for corresponding scalbln function.
2247 * math/w_scalbln.c: Likewise.
2248 * math/w_scalblnl.c: Likewise.
2249 * math/Makefile (libm-calls): Add w_scalbln.
2250 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2251 Remove weak_alias for corresponding scalbln function.
2252 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2256 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2257 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2258 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2259 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2260 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2261 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2262 Remove long_double_symbol for scalblnl function in libm, libc.
2263 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2264 Add wrapper which checks for setting errno to ERANGE.
2265 Add long_double_symbol for scalblnl function in libm, libc.
2266 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2267 Remove long_double_symbol for scalblnl in libm.
2268 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2269 Add wrapper which checks for setting errno to ERANGE.
2270 Add long_double_symbol for scalblnl function in libm.
2271 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2272 Do not use wrapper because of own implementation.
2274 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2276 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2277 3 bytes for __pad1 for x32.
2278 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2280 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2281 H.J. Lu <hongjiu.lu@intel.com>
2283 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2284 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2285 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2286 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2287 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2289 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2292 * posix/regcomp.c (parse_expression): Deallocate partially
2293 constructed tree before returning error.
2294 * posix/Makefile.c (tests): Add bug-regex36.
2295 (generated): Add bug-regex36.mtrace.
2296 (tests-special): Add $(objpfx)bug-regex36-mem.out
2297 (bug-regex36-ENV): New variable.
2298 ($(objpfx)bug-regex36-mem.out): New rule.
2299 * posix/bug-regex36.c: New file.
2301 2014-06-19 Will Newton <will.newton@linaro.org>
2303 * malloc/malloc.c (systrim): If extra is zero then return
2306 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2308 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2310 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2312 * sysdeps/aarch64/strchr.S: New file.
2314 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2317 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2318 from arguments -2 or below.
2319 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2320 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2322 2014-06-18 Andreas Schwab <schwab@suse.de>
2325 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2326 of a bracket expr not to run off the end of the string.
2327 * posix/Makefile (tests): Add tst-fnmatch3.
2328 * posix/tst-fnmatch3.c: New file.
2330 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2332 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2333 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2334 [$(cross-compiling) = no]: Likewise.
2335 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2336 [$(cross-compiling) = no]: Likewise.
2338 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2341 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2342 double, adjusted for any remainder from the high double.
2343 * math/libm-test.inc (nearbyint): Add tests.
2346 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2348 * nptl/sysdeps/powerpc/Makefile: Moved ...
2349 * sysdeps/powerpc/nptl/Makefile: ... here.
2350 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2351 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2352 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2353 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2354 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2355 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2356 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2357 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2358 * nptl/sysdeps/powerpc/tls.h: Moved ...
2359 * sysdeps/powerpc/nptl/tls.h: ... here.
2361 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2364 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2365 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2366 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2367 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2368 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2369 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2370 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2371 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2372 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2374 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2376 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2378 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2380 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2383 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2386 2014-06-16 Florian Weimer <fweimer@redhat.com>
2389 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2390 non-executed part of the test.
2392 2014-06-16 Andreas Schwab <schwab@suse.de>
2394 * string/bits/string2.h (strdup, strndup): Update feature guard.
2396 2014-06-14 David S. Miller <davem@davemloft.net>
2398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2400 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2402 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2403 that was previously under [RESET_PID].
2404 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2406 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2407 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2408 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2409 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2410 (__libc_vfork): New strong alias.
2411 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2413 2014-06-14 Andi Kleen <ak@linux.intel.com>
2415 * sysdeps/generic/elide.h: New file.
2417 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2419 * Makefile (installed-headers): Adjust path of pthread.h header.
2421 2014-06-13 Roland McGrath <roland@hack.frob.com>
2423 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2424 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2426 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2428 * nptl/sysdeps/s390/Makefile: Moved ...
2429 * sysdeps/s390/nptl/Makefile: ... here.
2430 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2431 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2432 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2433 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2434 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2435 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2436 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2437 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2438 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2439 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2440 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2441 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2442 * nptl/sysdeps/s390/tls.h: Moved ...
2443 * sysdeps/s390/nptl/tls.h: ... here.
2445 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2446 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2448 2014-06-13 David S. Miller <davem@davemloft.net>
2450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2453 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2457 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2458 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2459 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2460 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2461 Remove RESET_PID cpp guards.
2462 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2463 Remove RESET_PID cpp guards.
2464 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2466 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2468 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2471 2014-06-13 Andi Kleen <ak@linux.intel.com>
2473 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2474 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2475 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2477 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2478 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2479 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2480 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2481 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2482 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2483 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2484 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2485 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2486 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2487 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2488 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2489 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2490 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2491 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2492 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2494 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2495 (pthread_rwlock_rdlock): Add elision.
2496 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2497 (pthread_rwlock_wrlock): Add elision.
2498 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2499 (pthread_rwlock_trywrlock): Add elision.
2500 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2501 (pthread_rwlock_tryrdlock): Add elision.
2502 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2503 (pthread_rwlock_tryrdlock): Add elision unlock.
2504 * nptl/sysdeps/pthread/pthread.h:
2505 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2506 (PTHREAD_RWLOCK_INITIALIZER,
2507 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2508 Handle new elision field.
2509 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2510 * sysdeps/arm/nptl/bits/pthreadtypes.h
2511 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2512 * sysdeps/sh/nptl/bits/pthreadtypes.h
2513 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2514 * sysdeps/tile/nptl/bits/pthreadtypes.h
2515 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2516 * sysdeps/a/nptl/bits/pthreadtypes.h
2517 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2518 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2519 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2520 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2522 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2523 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2524 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2526 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2527 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2528 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2529 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2530 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2531 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2532 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2533 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2534 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2535 (elision_init): Set try_xbegin to zero when no RTM.
2536 * sysdeps/x86/nptl/bits/pthreadtypes.h
2537 (pthread_rwlock_t): Change __pad1 to __rwelision.
2538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2540 2014-06-13 Andi Kleen <ak@linux.intel.com>
2542 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2543 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2544 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2545 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2547 2014-06-13 Meador Inge <meadori@codesourcery.com>
2550 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2551 that the cached result has been set before returning it.
2553 2014-06-12 Roland McGrath <roland@hack.frob.com>
2555 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2556 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2558 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2560 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2562 * nptl/sysdeps/sparc/Makefile: Moved ...
2563 * sysdeps/sparc/nptl/Makefile: ... here.
2564 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2565 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2566 * nptl/sysdeps/sparc/tls.h: Moved ...
2567 * sysdeps/sparc/nptl/tls.h: ... here.
2568 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2569 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2570 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2571 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2572 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2573 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2574 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2575 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2576 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2577 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2578 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2579 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2580 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2581 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2582 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2583 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2584 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2585 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2587 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2588 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2590 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2591 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2593 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2594 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2597 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2599 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2600 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2602 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2603 (struct list_links): Type removed.
2604 (struct thread_node, struct timer_node): Replace struct list_links
2605 with struct list_head.
2606 (list_unlink_ip): Likewise.
2607 * sysdeps/pthread/timer_routines.c
2608 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2609 (list_append, list_insbefore): Likewise.
2610 (list_init): Function removed.
2611 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2612 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2613 * sysdeps/pthread/Makefile: ... here, new file.
2615 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2616 * sysdeps/nptl/Implies: ... here.
2617 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2618 * nptl/sysdeps/pthread/list.h: Moved ...
2619 * include/list.h: ... here.
2620 * nptl/sysdeps/pthread/createthread.c: Moved ...
2621 * nptl/createthread.c: ... here.
2622 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2623 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2624 * nptl/pt-longjmp.c: ... here.
2625 * nptl/sysdeps/pthread/Makefile: Moved ...
2626 * sysdeps/nptl/Makefile: ... here.
2627 * nptl/sysdeps/pthread/Subdirs: Moved ...
2628 * sysdeps/nptl/Subdirs: ... here.
2629 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2630 * sysdeps/nptl/aio_misc.h: ... here.
2631 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2632 * sysdeps/nptl/bits/libc-lock.h: ... here.
2633 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2634 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2635 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2636 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2637 * nptl/sysdeps/pthread/configure: Moved ...
2638 * sysdeps/nptl/configure: ... here.
2639 * nptl/sysdeps/pthread/configure.ac: Moved ...
2640 * sysdeps/nptl/configure.ac: ... here.
2641 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2642 * sysdeps/nptl/gai_misc.h: ... here.
2643 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2644 * sysdeps/nptl/librt-cancellation.c: ... here.
2645 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2646 * sysdeps/nptl/malloc-machine.h: ... here.
2647 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2648 * sysdeps/nptl/pthread-functions.h: ... here.
2649 * nptl/sysdeps/pthread/pthread.h: Moved ...
2650 * sysdeps/nptl/pthread.h: ... here.
2651 * nptl/sysdeps/pthread/setxid.h: Moved ...
2652 * sysdeps/nptl/setxid.h: ... here.
2653 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2654 * sysdeps/nptl/sigfillset.c: ... here.
2655 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2656 * sysdeps/nptl/tcb-offsets.h: ... here.
2657 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2658 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2659 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2660 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2661 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2662 * sysdeps/pthread/allocalim.h: ... here.
2663 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2664 * sysdeps/pthread/bits/sigthread.h: ... here.
2665 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2666 * sysdeps/pthread/flockfile.c: ... here.
2667 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2668 * sysdeps/pthread/ftrylockfile.c: ... here.
2669 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2670 * sysdeps/pthread/funlockfile.c: ... here.
2671 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2672 * sysdeps/pthread/posix-timer.h: ... here.
2673 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2674 * sysdeps/pthread/timer_create.c: ... here.
2675 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2676 * sysdeps/pthread/timer_delete.c: ... here.
2677 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2678 * sysdeps/pthread/timer_getoverr.c: ... here.
2679 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2680 * sysdeps/pthread/timer_gettime.c: ... here.
2681 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2682 * sysdeps/pthread/timer_routines.c: ... here.
2683 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2684 * sysdeps/pthread/timer_settime.c: ... here.
2685 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2686 * sysdeps/pthread/tst-timer.c: ... here.
2687 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2688 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2690 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2691 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2693 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2694 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2695 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2696 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2697 Update #include target.
2698 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2699 * sysdeps/i386/i686/nptl/Makefile: ... here.
2700 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2701 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2702 Update #include target.
2703 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2704 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2705 * nptl/sysdeps/i386/Makefile: Moved ...
2706 * sysdeps/i386/nptl/Makefile: ... here.
2707 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2708 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2709 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2710 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2711 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2712 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2713 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2714 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2715 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2716 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2717 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2718 * nptl/sysdeps/i386/tls.h: Moved ...
2719 * sysdeps/i386/nptl/tls.h: ... here.
2721 * sysdeps/sh/Makefile [$(subdir) = csu]
2722 (gen-as-const-headers): Add tcb-offsets.sym.
2723 * nptl/sysdeps/sh/Makefile: File removed.
2724 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2725 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2726 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2727 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2728 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2729 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2730 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2731 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2732 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2733 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2734 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2735 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2736 * nptl/sysdeps/sh/tls.h: Moved ...
2737 * sysdeps/sh/nptl/tls.h: ... here.
2738 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2739 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2740 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2741 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2742 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2743 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2744 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2745 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2746 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2747 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2748 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2749 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2750 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2751 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2752 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2753 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2754 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2755 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2756 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2757 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2758 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2759 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2760 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2761 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2762 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2764 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2767 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2768 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2769 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2770 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2771 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2772 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2773 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2774 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2775 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2776 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2777 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2778 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2779 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2780 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2781 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2782 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2783 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2784 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2785 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2787 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2789 * posix/spawn_faction_addopen.c: Include string.h.
2791 2014-06-11 Roland McGrath <roland@hack.frob.com>
2793 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2794 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2795 * nptl/sysdeps/x86_64/Makefile: Moved ...
2796 * sysdeps/x86_64/nptl/Makefile: ... here.
2797 * nptl/sysdeps/x86_64/configure: Moved ...
2798 * sysdeps/x86_64/nptl/configure: ... here.
2799 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2800 * sysdeps/x86_64/nptl/configure.ac: ... here.
2801 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2802 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2803 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2804 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2805 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2806 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2807 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2808 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2809 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2810 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2811 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2812 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2813 * nptl/sysdeps/x86_64/tls.h: Moved ...
2814 * sysdeps/x86_64/nptl/tls.h: ... here.
2815 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2816 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2817 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2818 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2820 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2822 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2826 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2828 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2830 [POSIX] (off_t): Likewise.
2831 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2832 [POSIX] (S_ISBLK): Require macro.
2833 [POSIX] (S_ISCHR): Likewise.
2834 [POSIX] (S_ISDIR): Likewise.
2835 [POSIX] (S_ISFIFO): Likewise.
2836 [POSIX] (S_ISREG): Likewise.
2837 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2839 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2841 [POSIX] (time_t): Likewise.
2842 [POSIX] (timer_t): Likewise.
2844 2014-06-11 Florian Weimer <fweimer@redhat.com>
2847 * posix/spawn_int.h (struct __spawn_action): Make the path string
2848 non-const to support deallocation.
2849 * posix/spawn_faction_addopen.c
2850 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2851 * posix/spawn_faction_destroy.c
2852 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2853 path in all spawn_do_open actions.
2854 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2855 posix_spawn_file_actions_addopen.
2857 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2859 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2860 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2861 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2862 conditional code always true.
2863 (__libc_vfork): New alias.
2865 2014-06-11 Roland McGrath <roland@hack.frob.com>
2867 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2868 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2870 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2872 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2873 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2875 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2876 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2878 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2879 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2881 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2883 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2884 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2885 multiarch strcmp for PPC64.
2886 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2887 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2889 multiarch optimizations.
2890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2891 (__libc_ifunc_impl_list): Likewise.
2893 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2895 * benchtests/scripts/validate_benchout.py: New script.
2896 * benchtests/Makefile (bench-func): Call it.
2897 * benchtests/scripts/benchout.schema.json: New file.
2899 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2901 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2902 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2903 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2904 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2905 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2906 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2907 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2908 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2909 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2910 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2911 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2912 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2913 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2914 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2915 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2916 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3020 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3021 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3022 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3023 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3024 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3026 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3028 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3029 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3030 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3031 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3032 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3033 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3034 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3035 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3036 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3037 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3038 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3039 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3040 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3042 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3045 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3046 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3047 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3048 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3050 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3052 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3053 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3054 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3055 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3056 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3058 2014-06-10 Wilco <wdijkstr@arm.com>
3060 * math/test-fenv-return.c: New file.
3061 * math/Makefile: Add new test test-fenv-return.
3063 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3066 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3068 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3069 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3070 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3071 0.0L for an argument of 1.0L.
3072 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3074 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3075 value when x - 1 is zero.
3076 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3077 * sysdeps/i386/fpu/libm-test-ulps: Update.
3078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3080 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3083 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3085 2014-06-09 Roland McGrath <roland@hack.frob.com>
3087 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3088 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3090 2014-06-09 Roland McGrath <roland@hack.frob.com>
3092 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3093 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3095 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3096 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3098 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3099 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3101 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3102 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3104 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3105 if not already defined.
3106 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3107 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3108 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3109 (TLS_INIT_TP): Use it.
3110 (TLS_DEFINE_INIT_TP): New macro.
3111 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3113 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3115 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3117 [POSIX] (IXANY): Likewise.
3118 [POSIX] (OLCUC): Likewise.
3119 [POSIX || POSIX2008] (CBAUD): Do not allow.
3120 [POSIX || POSIX2008] (DEFECHO): Likewise.
3121 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3122 [POSIX || POSIX2008] (ECHOKE): Likewise.
3123 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3124 [POSIX || POSIX2008] (EXTA): Likewise.
3125 [POSIX || POSIX2008] (EXTB): Likewise.
3126 [POSIX || POSIX2008] (FLUSHO): Likewise.
3127 [POSIX || POSIX2008] (LOBLK): Likewise.
3128 [POSIX || POSIX2008] (PENDIN): Likewise.
3129 [POSIX || POSIX2008] (SWTCH): Likewise.
3130 [POSIX || POSIX2008] (VDISCARD): Likewise.
3131 [POSIX || POSIX2008] (VDSUSP): Likewise.
3132 [POSIX || POSIX2008] (VLNEXT): Likewise.
3133 [POSIX || POSIX2008] (VREPRINT): Likewise.
3134 [POSIX || POSIX2008] (VSTATUS): Likewise.
3135 [POSIX || POSIX2008] (VWERASE): Likewise.
3136 (B*): Change to B[0123456789]*.
3137 * conform/data/time.h-data [POSIX || UNIX98]
3138 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3139 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3140 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3141 [POSIX] (tm_*): Do not allow.
3143 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3145 * Makefile (install): Don't set LANGUAGE.
3146 * Makefile.in (install): Likewise.
3147 * assert/Makefile (test-assert-ENV): Remove variable.
3148 (test-assert-perr-ENV): Likewise.
3149 * elf/Makefile (neededtest4-ENV): Likewise.
3150 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3151 [$(cross-compiling) = no]: Don't set LANGUAGE.
3152 * io/ftwtest-sh (LANG): Remove variable.
3153 * libio/Makefile (tst-widetext-ENV): Likewise.
3154 * manual/install.texi (Running make install): Don't refer to
3155 environment settings for make install.
3156 * INSTALL: Regenerated.
3157 * nptl/tst-tls6.sh: Don't set LANG.
3158 * posix/globtest.sh (LANG): Remove variable.
3159 * string/Makefile (tester-ENV): Likewise.
3160 (inl-tester-ENV): Likewise.
3161 (noinl-tester-ENV): Likewise.
3162 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3163 [$(cross-compiling) = no]: Don't set LANGUAGE.
3164 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3165 without explicit environment settings.
3167 2014-06-06 Roland McGrath <roland@hack.frob.com>
3169 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3170 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3171 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3172 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3174 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3176 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3177 other files in the crypt directory.
3178 * crypt/crypt.c: Remove duplicate includes.
3179 * crypt/crypt-entry.c: Likewise.
3180 * crypt/crypt_util.c: Likewise.
3182 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3184 * Makeconfig (run-program-env): New variable.
3185 (run-program-prefix-before-env): Likewise.
3186 (run-program-prefix-after-env): Likewise.
3187 (run-program-prefix): Define in terms of new variables.
3188 (built-program-cmd-before-env): New variable.
3189 (built-program-cmd-after-env): Likewise.
3190 (built-program-cmd): Define in terms of new variables.
3191 (test-program-prefix-before-env): New variable.
3192 (test-program-prefix-after-env): Likewise.
3193 (test-program-prefix): Define in terms of new variables.
3194 (test-program-cmd-before-env): New variable.
3195 (test-program-cmd-after-env): Likewise.
3196 (test-program-cmd): Define in terms of new variables.
3197 * Rules (make-test-out): Use $(run-program-env).
3198 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3199 (help): Do not mention environment variables. Mention
3200 --timeoutfactor option.
3201 (timeoutfactor): New variable.
3202 (blacklist_exports): Remove function.
3203 (exports): Remove variable.
3204 (command): Do not include ${exports}.
3205 * manual/install.texi (Configuring and compiling): Do not mention
3206 test wrappers preserving environment variables. Mention that last
3207 assignment to a variable must take precedence.
3208 * INSTALL: Regenerated.
3209 * benchtests/Makefile (run-bench): Use $(run-program-env).
3210 * catgets/Makefile ($(objpfx)test1.cat): Use
3211 $(built-program-cmd-before-env), $(run-program-env) and
3212 $(built-program-cmd-after-env).
3213 ($(objpfx)test2.cat): Do not specify environment variables
3215 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3216 $(run-program-env) and $(built-program-cmd-after-env).
3217 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3218 $(run-program-env) and $(test-program-cmd-after-env).
3219 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3221 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3222 run_program_env and test_program_cmd_after_env arguments.
3223 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3224 * elf/tst-pathopt.sh: Use run_program_env argument.
3225 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3226 $(test-wrapper-env) and $(run-program-env).
3227 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3228 run_program_env arguments.
3229 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3230 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3231 $(test-program-prefix-before-env), $(run-program-env) and
3232 $(test-program-prefix-after-env).
3233 ($(objpfx)tst-gettext2.out): Likewise.
3234 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3235 run_program_env and test_program_prefix_after_env arguments.
3236 * intl/tst-gettext2.sh: Likewise.
3237 * intl/tst-gettext4.sh: Do not set environment variables
3239 * intl/tst-gettext6.sh: Likewise.
3240 * intl/tst-translit.sh: Likewise.
3241 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3242 $(test-program-prefix-before-env), $(run-program-env) and
3243 $(test-program-prefix-after-env).
3244 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3245 run_program_env and test_program_prefix_after_env arguments.
3246 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3247 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3248 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3249 explicitly with each use of ${test_wrapper_env}.
3250 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3251 $(test-program-prefix-before-env), $(run-program-env) and
3252 $(test-program-prefix-after-env).
3253 * posix/tst-getconf.sh: Do not set environment variables
3255 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3256 run_program_env and test_program_prefix_after_env arguments.
3257 * stdio-common/tst-printf.sh: Do not set environment variables
3259 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3260 $(test-program-prefix-before-env), $(run-program-env) and
3261 $(test-program-prefix-after-env).
3262 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3263 run_program_env and test_program_prefix_after_env arguments.
3264 Split $test calls into $test_pre and $test.
3265 * timezone/Makefile (build-testdata): Use
3266 $(built-program-cmd-before-env), $(run-program-env) and
3267 $(built-program-cmd-after-env).
3269 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3271 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3272 strlen for non SHARED builds.
3274 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3276 * nptl/allocatestack.c (check_list): Inlined function...
3277 (__reclaim_stacks): ... here.
3279 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3282 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3285 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3287 * Rules (make-test-out): Include
3288 LOCPATH=$(common-objpfx)localedata in default environment.
3289 * debug/Makefile (tst-chk1-ENV): Remove variable.
3290 (tst-chk2-ENV): Likewise.
3291 (tst-chk3-ENV): Likewise.
3292 (tst-chk4-ENV): Likewise.
3293 (tst-chk5-ENV): Likewise.
3294 (tst-chk6-ENV): Likewise.
3295 (tst-lfschk1-ENV): Likewise.
3296 (tst-lfschk2-ENV): Likewise.
3297 (tst-lfschk3-ENV): Likewise.
3298 (tst-lfschk4-ENV): Likewise.
3299 (tst-lfschk5-ENV): Likewise.
3300 (tst-lfschk6-ENV): Likewise.
3301 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3302 (tst-iconv7-ENV): Likewise.
3303 * intl/Makefile (LOCPATH-ENV): Likewise.
3304 (tst-codeset-ENV): Likewise.
3305 (tst-gettext3-ENV): Likewise.
3306 (tst-gettext5-ENV): Likewise.
3307 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3308 (tst-fopenloc-ENV): Likewise.
3309 (tst-fgetws-ENV): Remove variable.
3310 (tst-ungetwc1-ENV): Likewise.
3311 (tst-ungetwc2-ENV): Likewise.
3312 (bug-ungetwc2-ENV): Likewise.
3313 (tst-swscanf-ENV): Likewise.
3314 (bug-ftell-ENV): Likewise.
3315 (tst-fgetwc-ENV): Likewise.
3316 (tst-fseek-ENV): Likewise.
3317 (tst-ftell-partial-wide-ENV): Likewise.
3318 (tst-ftell-active-handler-ENV): Likewise.
3319 (tst-ftell-append-ENV): Likewise.
3320 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3321 (tst-regexloc-ENV): Likewise.
3322 (bug-regex1-ENV): Likewise.
3323 (tst-regex-ENV): Likewise.
3324 (tst-regex2-ENV): Likewise.
3325 (bug-regex5-ENV): Likewise.
3326 (bug-regex6-ENV): Likewise.
3327 (bug-regex17-ENV): Likewise.
3328 (bug-regex18-ENV): Likewise.
3329 (bug-regex19-ENV): Likewise.
3330 (bug-regex20-ENV): Likewise.
3331 (bug-regex22-ENV): Likewise.
3332 (bug-regex23-ENV): Likewise.
3333 (bug-regex25-ENV): Likewise.
3334 (bug-regex26-ENV): Likewise.
3335 (bug-regex30-ENV): Likewise.
3336 (bug-regex32-ENV): Likewise.
3337 (bug-regex33-ENV): Likewise.
3338 (bug-regex34-ENV): Likewise.
3339 (bug-regex35-ENV): Likewise.
3340 (tst-rxspencer-ENV): Likewise.
3341 (tst-rxspencer-no-utf8-ENV): Likewise.
3342 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3343 (tst-sscanf-ENV): Likewise.
3344 (tst-swprintf-ENV): Likewise.
3345 (tst-swscanf-ENV): Likewise.
3346 (test-vfprintf-ENV): Likewise.
3347 (scanf13-ENV): Likewise.
3348 (bug14-ENV): Likewise.
3349 (tst-grouping-ENV): Likewise.
3350 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3351 (tst-strtod3-ENV): Likewise.
3352 (tst-strtod4-ENV): Likewise.
3353 (tst-strtod5-ENV): Likewise.
3354 (testmb2-ENV): Likewise./
3355 * string/Makefile (tst-strxfrm-ENV): Likewise.
3356 (tst-strxfrm2-ENV): Likewise.
3357 (bug-strcoll1-ENV): Likewise.
3358 (test-strcasecmp-ENV): Likewise.
3359 (test-strncasecmp-ENV): Likewise.
3360 * time/Makefile (tst-strptime-ENV): Likewise.
3361 (tst-ftime_l-ENV): Likewise.
3362 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3363 (tst-mbrtowc-ENV): Likewise.
3364 (tst-wcrtomb-ENV): Likewise.
3365 (tst-mbrtowc2-ENV): Likewise.
3366 (tst-c16c32-1-ENV): Likewise.
3367 (tst-mbsnrtowcs-ENV): Likewise.
3369 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3371 * manual/resource.texi (How to get information about the memory
3372 subsystem?): Fix typo.
3373 Reported by Peon de la Parra Ivan <peon@keba.com>
3375 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3378 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3379 (pthread_spin_lock): Branch out of spin loop to proper location.
3380 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3381 (pthread_spin_lock): Likewise.
3383 * nptl/tst-spin4.c: New test.
3384 * nptl/Makefile (tests): Add tst-spin4.
3386 2014-06-03 Andreas Schwab <schwab@suse.de>
3389 * resolv/res_send.c (send_dg): Reload file descriptor after
3392 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3394 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3396 2014-06-03 Richard Henderson <rth@redhat.com>
3398 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3399 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3400 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3401 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3402 in the SAVE_PID block.
3403 (__libc_vfork): New alias.
3404 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3406 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3407 child in registers, not on the stack. Remove RESET_PID conditionals.
3408 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3410 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3412 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3414 2014-06-03 Wilco <wdijkstr@arm.com>
3416 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3417 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3418 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3419 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3420 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3423 2014-06-03 Wilco <wdijkstr@arm.com>
3425 * sysdeps/aarch64/fpu/math_private.h
3426 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3427 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3428 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3429 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3432 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3434 * crypt/crypt-private.h: Include ufc-crypt.h.
3435 (__b64_from_24bit): Declare extern.
3436 * crypt/crypt_util.c(__b64_from_24bit): New function.
3437 (b64t): New static const variable.
3438 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3439 (b64t): Remove variable.
3440 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3441 * crypt/sha256-crypt.c: Include crypt-private.h.
3442 (b64t): Remove variable.
3443 (__sha256_crypt_r): Remove b64_from_24bit and replace
3444 with __b64_from_24bit.
3445 * crypt/sha512-crypt.c: Likewise.
3447 2014-06-02 Roland McGrath <roland@hack.frob.com>
3449 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3450 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3451 Label the code __libc_vfork rather than __vfork.
3452 [!NOT_IN_libc] (vfork): Define as weak alias.
3453 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3454 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3455 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3457 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3459 * malloc/malloc.c (malloc_info): Fix format specifier for
3462 2014-06-02 Wilco <wdijkstr@arm.com>
3464 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3467 2014-06-02 Wilco <wdijkstr@arm.com>
3470 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3471 Rewrite to reduce FPCR/FPSR accesses.
3473 2014-06-01 David S. Miller <davem@davemloft.net>
3475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3477 2014-05-31 David S. Miller <davem@davemloft.net>
3479 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3480 to occur in round to nearest mode when |x| >= 2.0
3482 2014-05-30 Richard Henderson <rth@twiddle.net>
3484 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3485 (PSEUDO_RET_NOERRNO): Remove.
3486 (ret): Don't redefine.
3487 (ret_NOERRNO): Define in terms of ret.
3488 (ret_ERRVAL): Likewise.
3490 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3491 use of PSEUDO_RET; perform the error check directly.
3493 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3495 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3498 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3500 * malloc/malloc (malloc_info): Fix formatting.
3502 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3503 Roland McGrath <roland@hack.frob.com>
3505 * malloc/malloc (malloc_info): Also print mmapped statistics.
3507 2014-05-30 Roland McGrath <roland@hack.frob.com>
3509 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3510 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3512 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3514 * malloc/malloc.c (malloc_info): Inline mi_arena.
3516 2014-05-29 Richard Henderson <rth@twiddle.net>
3518 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3519 Remove comma before expanding ASM_ARGS_##nr.
3520 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3521 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3523 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3524 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3525 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3526 (ASM_ARGS_1): Add leading comma.
3528 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3529 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3530 to __errno_location.
3531 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3532 Remove the expected plt for __errno_location.
3534 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3535 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3538 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3539 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3540 it and break it down.
3541 (DOCARGS_0, DOCARGS_1): Do nothing.
3542 (DOCARGS_2): Update to store into the new stack frame.
3543 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3544 (UNDOCARGS_1): Update to restore from the new stack frame.
3545 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3546 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3548 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3549 (SINGLE_THREAD_P): New parameter for result regno.
3550 (PSEUDO): Update to match; use cbz instead of beq.
3552 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3553 Use ENTRY to define the _nocancel entry point. Share the syscall
3554 and syscall error check paths with the cancel path.
3557 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3558 whitespace; tabs before and after asm mnemonics.
3560 2014-05-29 Eric Wong <normalperson@yhbt.net>
3563 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3564 Call fstat64 or stat64 internally, depending on arguments passed.
3565 Replace stat buffer argument with file descriptor argument.
3566 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3567 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3568 Pass fd to __internal_statvfs instead of calling fstat64.
3569 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3570 Pass fd to __internal_statvfs64 instead of calling fstat64.
3571 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3572 Pass -1 to __internal_statvfs instead of calling stat64.
3573 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3574 Pass -1 to __internal_statvfs64 instead of calling stat64.
3576 2014-05-28 Roland McGrath <roland@hack.frob.com>
3578 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3579 that was previously under [RESET_PID].
3580 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3582 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3583 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3585 2014-05-27 Roland McGrath <roland@hack.frob.com>
3587 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3589 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3590 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3592 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3594 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3596 2014-05-27 Andreas Schwab <schwab@suse.de>
3598 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3600 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3601 * elf/rtld.c (init_tls, dl_main): Likewise.
3602 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3603 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3604 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3605 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3606 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3607 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3608 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3609 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3610 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3611 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3612 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3613 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3614 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3615 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3616 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3617 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3618 * sysdeps/generic/tls.h: Update description.
3620 2014-05-27 Will Newton <will.newton@linaro.org>
3623 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3624 and restore r2 rather than just restoring.
3626 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3629 * libio/tst-ftell-append.c: New test case.
3630 * libio/Makefile (tests): Add test case.
3631 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3633 * libio/wfileops.c (do_ftell_wide): Likewise.
3635 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3639 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3643 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3644 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3646 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3647 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3648 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3649 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3652 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3655 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3656 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3657 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3658 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3659 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3661 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3662 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3664 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3666 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3668 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3669 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3670 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3672 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3673 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3674 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3675 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3677 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3680 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3683 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3686 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3693 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3698 conditional [RESET_PID].
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3700 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3702 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3707 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3708 (__libc_vfork): New strong alias.
3709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3711 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3716 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3717 (__libc_vfork): New strong alias.
3718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3723 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3725 * malloc/malloc.c (mi_arena): New function.
3726 (malloc_info): Remove nested function mi_arena. Call non-nosted
3729 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3731 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3733 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3734 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3735 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3736 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3737 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3738 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3739 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3741 2014-05-26 Andreas Schwab <schwab@suse.de>
3744 * locale/programs/repertoire.c (repertoire_read): Add slash
3745 between I18NPATH element and file name.
3746 * locale/programs/locfile.c (locfile_read): Likewise.
3748 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3750 * nptl/pthread_mutexattr_settype.c
3751 (__pthread_mutexattr_settype):
3752 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3754 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3756 * nptl/tst-mutex5 (do_test):
3757 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3759 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3761 * benchtests/README: Document 'init' directive.
3762 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3764 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3765 (parse_file): Recognize 'init' directive.
3767 2014-05-26 Kyle McMartin <kyle@redhat.com>
3770 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3771 alignment of struct pthread.
3773 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3776 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3777 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3778 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3779 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3781 2014-05-25 Richard Henderson <rth@twiddle.net>
3783 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3784 (SINGLE_THREAD_P_PIC): Remove.
3785 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3786 (SINGLE_THREAD_P_PIC): Remove.
3788 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3789 branch to syscall error ...
3791 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3792 from __local_syscall_error to .Lsyscall_error.
3793 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3794 (SYSCALL_ERROR): Update label name.
3796 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3797 Do not use DOARGS/UNDOARGS.
3798 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3799 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3800 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3801 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3802 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3804 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3807 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3808 define if !NOT_IN_libc.
3809 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3810 define with non-default symbol versions.
3812 2014-05-23 Richard Henderson <rth@twiddle.net>
3814 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3815 (vfork, __vfork): Define via compat_symbol.
3817 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3818 [!HAVE_IFUNC] (vfork_compat): Remove.
3819 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3821 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3824 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3825 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3828 2014-05-23 Richard Henderson <rth@twiddle.net>
3830 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3831 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3832 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3833 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3835 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3836 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3837 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3838 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3839 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3840 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3841 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3842 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3843 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3844 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3845 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3846 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3847 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3848 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3849 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3850 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3851 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3852 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3853 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3854 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3855 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3856 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3857 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3858 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3859 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3860 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3861 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3862 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3863 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3864 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3865 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3866 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3867 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3868 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3869 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3870 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3872 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3873 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3874 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3875 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3876 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3877 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3878 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3879 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3880 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3881 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3882 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3883 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3884 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3885 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3886 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3887 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3888 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3889 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3890 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3892 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3893 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3894 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3895 before exiting on error.
3896 (__libc_vfork): New strong alias.
3897 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3898 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3900 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3901 that was previously under [RESET_PID].
3902 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3904 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3906 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3909 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3910 value when x - 1 is zero.
3911 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3912 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3913 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3914 0.0L for an argument of 1.0L.
3915 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3917 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3918 value when x - 1 is zero.
3919 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3920 * sysdeps/i386/fpu/libm-test-ulps: Update.
3921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3923 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3925 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3926 alphasort and versionsort.
3928 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3930 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3932 [copysignf]: Likewise.
3934 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3936 * crypt/md5-crypt.c: Fix formatting.
3938 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3940 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3941 (b64_from_24bit): New function.
3943 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3945 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3946 libc_hidden_builtin_def to ifunc.
3947 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3948 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3950 2014-05-21 Roland McGrath <roland@hack.frob.com>
3952 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3953 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3955 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3957 * nscd/Depend (linuxthreads): Remove.
3959 * resolv/Depend (linuxthreads): Remove.
3960 * rt/Depend (linuxthreads): Remove.
3962 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3963 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3964 $(common-objpfx)elf/.
3965 (link-libc-before-gnulib): Likewise.
3966 (elfobjdir): Remove variable.
3967 * Makefile (install): Use $(elf-objpfx) instead of
3968 $(common-objpfx)elf/.
3969 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3971 (link-libc-deps): Likewise.
3972 ($(common-objpfx)libc.so): Likewise.
3973 ($(common-objpfx)linkobj/libc.so): Likewise.
3974 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3975 instead of $(common-objpfx)elf/.
3976 (symbolic-link-list): Likewise.
3977 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3978 [$(cross-compiling) = no]: Likewise.
3979 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3981 (static-gnulib-arch): Likewise.
3982 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3983 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3984 $(common-objpfx)elf/.
3986 2014-05-21 Richard Henderson <rth@redhat.com>
3988 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3989 (SINGLE_THREAD_P): Use the correct width load. Fold
3990 into the ldr offset.
3992 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3993 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3995 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3997 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3998 (libgcc_s_resume): Use __attribute_used__.
3999 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4002 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4004 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4005 optimization when used with float constants.
4007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4009 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4012 * locale/nl_langinfo_l.c: Make direct reference to every
4013 _nl_current_CATEGORY symbol.
4014 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4015 (tests-static): Add tst-langinfo-static.
4016 (tests-special): Add tst-langinfo-static.out.
4017 ($(objpfx)tst-langinfo.out): Redirect output.
4018 ($(objpfx)tst-langinfo-static.out): New.
4019 * localedata/tst-langinfo.sh: Send output to stdout.
4020 * localedata/tst-langinfo-static.c: New file.
4023 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4024 when the shift amount is modulo the limb size.
4026 2014-05-20 Richard Henderson <rth@redhat.com>
4029 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4030 Change type of sa_flags from unsigned int to int.
4033 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4035 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4037 2014-05-20 Will Newton <will.newton@linaro.org>
4039 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4040 Test the return value of the system call in the nocancel case.
4042 2014-05-20 Will Newton <will.newton@linaro.org>
4043 Yvan Roux <yvan.roux@linaro.org>
4045 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4046 #include of asm/ptrace.h.
4047 (PTRACE_GET_THREAD_AREA): Remove #undef.
4048 (PTRACE_GETHBPREGS): Likewise.
4049 (PTRACE_SETHBPREGS): Likewise.
4050 (struct user_regs_struct): New structure.
4051 (struct user_fpsimd_struct): New structure.
4052 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4053 #include of asm/ptrace.h and second #include of sys/user.h.
4054 (PTRACE_GET_THREAD_AREA): Remove #undef.
4055 (PTRACE_GETHBPREGS): Likewise.
4056 (PTRACE_SETHBPREGS): Likewise.
4057 (ELF_NGREG): Use new struct user_regs_struct.
4058 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4060 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4062 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4063 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4065 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4068 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4069 membar to avoid block loads/stores to overlap previous stores.
4071 2014-05-17 Richard Henderson <rth@redhat.com>
4073 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4074 Create the __##syscall_name##_nocancel entry point.
4075 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4076 Remove; let the sysdep-cancel.h code create it.
4078 2014-05-17 David S. Miller <davem@davemloft.net>
4080 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4081 Protect with __USE_GNU.
4082 (TIOCSET_TEMPT): Likewise.
4083 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4084 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4085 these are already provided in bits/ioctl-types.h
4087 2014-05-16 Roland McGrath <roland@hack.frob.com>
4089 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4090 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4092 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4093 Use wait4 regardless of [__NR_waitpid].
4095 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4098 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4099 (_FP_NANSIGN_Q): Set the quiet bit.
4101 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4103 * benchtests/Makefile
4104 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4105 not $(common-objpfx)math/libm.so.
4106 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4107 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4108 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4109 $(common-objpfx)dlfcn/libdl.so.
4110 ($(objpfx)tst-audit8): Depend on $(libm), not
4111 $(common-objpfx)math/libm.so.
4112 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4113 not $(common-objpfx)dlfcn/libdl.so.
4115 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4116 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4117 [$(build-shared) = yes].
4118 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4119 $(common-objpfx)nptl/libpthread.so.
4120 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4121 $(common-objpfx)math/libm.so$(libm.so-version) or
4122 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4123 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4124 $(common-objpfx)dlfcn/libdl.so.
4125 * setjmp/Makefile (link-libm): Remove variable.
4126 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4127 * stdio-common/Makefile (link-libm): Remove variable.
4128 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4129 * stdlib/Makefile (link-libm): Remove variable.
4130 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4131 ($(objpfx)tst-strtod-round): Likewise.
4132 ($(objpfx)tst-tininess): Likewise.
4133 ($(objpfx)tst-strtod-underflow): Likewise.
4134 ($(objpfx)tst-strtod6): Likewise.
4135 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4136 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4137 $(common-objpfx)dlfcn/libdl.so.
4139 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4141 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4142 BSD terminal modes definitions.
4144 2014-05-16 Roland McGrath <roland@hack.frob.com>
4146 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4147 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4149 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4150 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4151 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4152 Don't do #include_next.
4153 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4154 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4155 Don't do #include_next.
4156 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4157 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4158 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4159 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4161 2014-05-16 Allan McRae <allan@archlinux.org>
4163 * po/sv.po: Update Swedish translation from translation project.
4165 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4168 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4171 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4172 errno if the TIOCGPTN ioctl fails with an error different than
4174 * login/tst-ptsname.c: New file.
4175 * login/Makefile (tests): Add tst-ptsname.
4178 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4181 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4185 herrno to return EAI_AGAIN.
4187 2014-05-14 Roland McGrath <roland@hack.frob.com>
4189 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4190 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4191 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4192 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4193 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4194 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4195 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4196 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4198 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4199 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4200 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4201 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4202 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4203 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4204 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4205 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4206 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4207 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4208 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4209 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4210 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4211 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4212 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4213 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4214 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4215 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4216 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4217 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4218 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4220 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4222 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4225 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4227 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4229 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4231 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4233 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4235 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4237 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4239 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4241 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4243 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4245 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4247 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4249 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4251 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4254 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4258 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4260 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4262 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4264 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4266 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4268 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4270 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4272 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4275 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4277 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4279 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4280 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4281 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4282 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4283 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4284 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4285 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4286 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4287 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4288 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4289 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4290 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4291 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4292 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4293 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4294 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4295 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4296 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4297 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4298 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4299 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4300 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4301 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4302 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4303 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4304 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4305 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4306 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4307 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4308 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4309 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4311 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4312 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4314 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4315 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4316 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4318 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4319 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4321 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4322 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4324 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4325 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4327 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4328 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4330 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4331 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4332 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4333 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4335 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4336 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4337 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4338 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4339 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4340 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4341 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4342 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4344 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4345 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4347 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4349 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4350 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4351 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4352 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4353 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4355 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4360 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4361 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4362 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4363 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4364 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4366 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4367 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4369 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4370 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4372 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4373 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4375 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4376 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4377 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4378 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4380 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4381 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4382 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4383 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4384 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4385 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4386 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4387 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4389 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4390 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4392 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4394 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4395 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4396 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4397 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4398 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4400 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4404 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4405 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4406 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4407 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4408 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4409 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4410 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4411 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4412 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4413 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4415 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4416 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4418 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4419 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4421 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4422 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4424 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4425 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4426 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4427 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4428 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4429 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4431 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4432 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4433 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4434 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4435 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4436 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4437 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4438 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4440 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4441 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4443 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4445 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4446 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4447 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4448 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4451 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4453 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4455 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4456 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4457 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4458 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4459 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4460 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4461 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4462 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4463 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4464 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4465 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4467 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4468 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4470 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4471 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4473 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4474 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4475 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4476 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4477 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4478 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4479 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4480 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4481 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4482 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4483 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4484 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4485 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4486 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4487 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4488 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4489 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4490 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4492 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4493 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4494 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4495 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4497 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4498 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4499 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4500 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4501 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4502 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4503 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4504 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4506 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4507 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4509 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4511 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4512 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4513 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4514 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4515 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4516 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4517 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4518 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4519 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4520 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4521 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4522 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4523 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4524 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4525 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4527 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4528 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4529 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4530 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4531 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4533 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4534 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4535 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4536 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4537 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4538 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4539 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4540 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4541 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4542 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4545 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4547 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4548 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4549 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4550 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4551 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4552 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4553 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4554 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4555 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4556 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4557 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4558 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4559 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4560 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4561 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4565 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4569 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4581 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4582 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4584 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4585 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4586 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4587 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4588 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4589 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4590 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4591 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4592 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4593 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4594 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4595 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4597 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4598 that was previously under [RESET_PID].
4599 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4600 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4601 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4603 * sysdeps/i386/nptl/Implies: New file.
4604 * sysdeps/x86_64/nptl/Implies: New file.
4605 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4606 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4607 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4608 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4610 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4611 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4612 (__libc_vfork): New strong alias.
4613 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4614 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4616 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4617 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4618 (__libc_vfork): New strong alias.
4619 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4620 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4622 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4623 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4624 (__libc_vfork): New strong alias.
4625 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4626 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4627 * nptl/pt-vfork.c: New file.
4628 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4629 (libpthread: GLIBC_2.20): New version set (empty).
4631 2014-05-14 Will Newton <will.newton@linaro.org>
4633 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4636 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4639 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4640 arguments with exponent 65 or above.
4641 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4642 arguments 0x1p113L or above.
4643 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4644 to arguments 0x1p107L or above.
4645 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4646 positive arguments with exponent 65 or above.
4647 * math/auto-libm-test-in: Add more tests of log1p.
4648 * math/auto-libm-test-out: Regenerated.
4651 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4652 non-finite arguments is +0.
4653 * math/s_cacosf.c (__cacosf): Likewise.
4654 * math/s_cacosl.c (__cacosl): Likewise.
4655 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4656 * sysdeps/i386/fpu/libm-test-ulps: Update.
4657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4660 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4662 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4663 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4664 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4665 for explicit high bit of mantissa when testing for argument equal
4667 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4668 * sysdeps/i386/fpu/libm-test-ulps: Update.
4669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4672 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4673 (__erf): Scale by 16 instead of 8 in potentially underflowing
4674 case. Ensure exception if result actually underflows.
4675 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4676 (__erff): Scale by 16 instead of 8 in potentially underflowing
4677 case. Ensure exception if result actually underflows.
4678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4679 (efx8): Remove variable.
4680 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4681 case. Ensure exception if result actually underflows.
4682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4683 (efx8): Remove variable.
4684 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4685 case. Ensure exception if result actually underflows.
4686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4687 (efx8): Remove variable.
4688 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4689 case. Ensure exception if result actually underflows.
4690 * math/auto-libm-test-in: Add more tests of erf.
4691 * math/auto-libm-test-out: Regenerated.
4693 2014-05-14 Andreas Schwab <schwab@suse.de>
4695 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4696 Remove code conditionalized on USE___THREAD.
4698 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4699 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4702 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4704 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4705 Define unconditionally.
4706 (__ASSUME_O_CLOEXEC): Likewise.
4707 (__ASSUME_SOCK_CLOEXEC): Likewise.
4708 (__ASSUME_IN_NONBLOCK): Likewise.
4709 (__ASSUME_PIPE2): Likewise.
4710 (__ASSUME_EVENTFD2): Likewise.
4711 (__ASSUME_SIGNALFD4): Likewise.
4712 (__ASSUME_DUP3): Likewise.
4713 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4714 (__ASSUME_DUP3): Do not define.
4715 (__ASSUME_EVENTFD2): Likewise.
4716 (__ASSUME_IN_NONBLOCK): Likewise.
4717 (__ASSUME_O_CLOEXEC): Likewise.
4718 (__ASSUME_PIPE2): Likewise.
4719 (__ASSUME_SIGNALFD4): Likewise.
4720 (__ASSUME_SOCK_CLOEXEC): Likewise.
4721 (__ASSUME_UTIMES): Undefine.
4722 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4723 (__ASSUME_UTIMES): Do not define.
4724 (__ASSUME_O_CLOEXEC): Likewise.
4725 (__ASSUME_SOCK_CLOEXEC): Likewise.
4726 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4727 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4729 (__ASSUME_PIPE2): Likewise.
4730 (__ASSUME_EVENTFD2): Likewise.
4731 (__ASSUME_SIGNALFD4): Likewise.
4732 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4733 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4735 (__ASSUME_EVENTFD2): Likewise.
4736 (__ASSUME_SIGNALFD4): Likewise.
4737 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4738 (__ASSUME_32BITUIDS): Likewise.
4739 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4740 (__ASSUME_IPC64): Likewise.
4741 (__ASSUME_ST_INO_64_BIT): Likewise.
4742 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4743 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4744 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4745 (__ASSUME_UTIMES): Do not define.
4746 (__ASSUME_PSELECT): Likewise.
4747 (__ASSUME_PPOLL): Likewise.
4748 (__ASSUME_O_CLOEXEC): Likewise.
4749 (__ASSUME_SOCK_CLOEXEC): Likewise.
4750 (__ASSUME_IN_NONBLOCK): Likewise.
4751 (__ASSUME_PIPE2): Likewise.
4752 (__ASSUME_EVENTFD2): Likewise.
4753 (__ASSUME_SIGNALFD4): Likewise.
4754 (__ASSUME_DUP3): Likewise.
4755 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4756 (__ASSUME_UTIMES): Likewise.
4757 (__ASSUME_O_CLOEXEC): Likewise.
4758 (__ASSUME_SOCK_CLOEXEC): Likewise.
4759 (__ASSUME_IN_NONBLOCK): Likewise.
4760 (__ASSUME_PIPE2): Likewise.
4761 (__ASSUME_EVENTFD2): Likewise.
4762 (__ASSUME_SIGNALFD4): Likewise.
4763 (__ASSUME_DUP3): Likewise.
4764 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4765 (__ASSUME_UTIMES): Likewise.
4766 (__ASSUME_O_CLOEXEC): Likewise.
4767 (__ASSUME_SOCK_CLOEXEC): Likewise.
4768 (__ASSUME_IN_NONBLOCK): Likewise.
4769 (__ASSUME_PIPE2): Likewise.
4770 (__ASSUME_EVENTFD2): Likewise.
4771 (__ASSUME_SIGNALFD4): Likewise.
4772 (__ASSUME_DUP3): Likewise.
4773 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4775 (__ASSUME_UTIMES): Likewise.
4776 (__ASSUME_EVENTFD2): Likewise.
4777 (__ASSUME_SIGNALFD4): Likewise.
4778 * sysdeps/unix/sysv/linux/tile/kernel-features.h
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 (__ASSUME_UTIMES): Undefine.
4788 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4789 feclearexcept. Remove symbol versioning code.
4790 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4791 symbol versioning code.
4792 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4793 symbol versioning code.
4794 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4795 feupdateenv. Remove symbol versioning code.
4796 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4797 fegetexceptflag. Remove symbol versioning code.
4798 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4799 fesetexceptflag. Remove symbol versioning code.
4800 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4801 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4802 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4803 (__posix_fadvise64_l32): Remove prototype.
4804 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4807 2014-05-13 Roland McGrath <roland@hack.frob.com>
4809 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4810 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4811 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4812 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4814 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4816 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4817 current working directory
4819 2014-05-13 Roland McGrath <roland@hack.frob.com>
4821 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4822 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4823 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4824 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4825 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4826 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4827 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4828 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4829 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4830 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4831 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4832 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4833 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4834 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4835 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4836 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4838 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4839 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4840 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4841 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4842 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4843 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4844 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4845 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4846 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4847 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4848 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4849 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4850 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4851 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4852 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4853 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4854 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4855 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4856 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4857 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4858 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4859 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4860 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4861 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4862 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4864 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4865 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4867 * sysdeps/unix/sysv/linux/arm/Makefile
4868 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4869 Add rt-aeabi_unwind_cpp_pr1.
4870 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4871 Add nptl-aeabi_unwind_cpp_pr1.
4872 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4873 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4874 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4875 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4876 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4877 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4879 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4880 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4881 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4882 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4884 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4885 Deconditionalize the code that was previously under [RESET_PID].
4886 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4888 * sysdeps/generic/exit-thread.h: New file.
4889 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4890 * include/unistd.h (__exit_thread): Remove declaration.
4891 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4892 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4893 * csu/libc-start.c: Include <exit-thread.h>.
4894 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4895 * nptl/pthread_create.c: Include <exit-thread.h>.
4896 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4897 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4898 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4899 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4900 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4901 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4902 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4903 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4904 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4905 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4906 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4907 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4908 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4909 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4910 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4911 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4912 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4914 2014-05-13 Andreas Schwab <schwab@suse.de>
4916 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4918 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4920 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4921 (__ASSUME_UTIMES): Do not condition on kernel version.
4922 (__ASSUME_PSELECT): Define unconditionally.
4923 (__ASSUME_PPOLL): Likewise.
4924 (__ASSUME_ATFCTS): Likewise.
4925 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4926 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4927 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4928 (__ASSUME_UTIMENSAT): Define unconditionally.
4929 (__ASSUME_PRIVATE_FUTEX): Likewise.
4930 (__ASSUME_FALLOCATE): Likewise.
4931 (__ASSUME_O_CLOEXEC): Likewise.
4932 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4933 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4934 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4935 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4936 (__ASSUME_IN_NONBLOCK): Likewise.
4937 (__ASSUME_PIPE2): Likewise.
4938 (__ASSUME_EVENTFD2): Likewise.
4939 (__ASSUME_SIGNALFD4): Likewise.
4940 (__ASSUME_DUP3): Likewise.
4941 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4942 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4943 (__ASSUME_AT_RANDOM): Likewise.
4944 (__ASSUME_PREADV): Likewise.
4945 (__ASSUME_PWRITEV): Likewise.
4946 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4947 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4948 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4949 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4950 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4951 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4952 (__ASSUME_O_CLOEXEC): Define unconditionally.
4953 (__ASSUME_PSELECT): Do not undefine conditionally.
4954 (__ASSUME_PPOLL): Likewise.
4955 (__ASSUME_ATFCTS): Likewise.
4956 (__ASSUME_SET_ROBUST_LIST): Likewise.
4957 (__ASSUME_UTIMENSAT): Likewise.
4958 (__ASSUME_FDATASYNC): Define unconditionally.
4959 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4960 (__ASSUME_SIGFRAME_V2): Likewise.
4961 )__ASSUME_EVENTFD2): Likewise.
4962 (__ASSUME_SIGNALFD4): Likewise.
4963 (__ASSUME_PSELECT): Do not undefine conditionally.
4964 (__ASSUME_PPOLL): Likewise.
4965 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4966 (__ASSUME_PSELECT): Define unconditionally.
4967 (__ASSUME_PPOLL): Likewise.
4968 (__ASSUME_O_CLOEXEC): Likewise.
4969 (__ASSUME_SOCK_CLOEXEC): Likewise.
4970 (__ASSUME_IN_NONBLOCK): Likewise.
4971 (__ASSUME_PIPE2): Likewise.
4972 (__ASSUME_EVENTFD2): Likewise.
4973 (__ASSUME_SIGNALFD4): Likewise.
4974 (__ASSUME_DUP3): Likewise.
4975 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4976 (__ASSUME_O_CLOEXEC): Likewise.
4977 (__ASSUME_SOCK_CLOEXEC): Likewise.
4978 (__ASSUME_IN_NONBLOCK): Likewise.
4979 (__ASSUME_PIPE2): Likewise.
4980 (__ASSUME_EVENTFD2): Likewise.
4981 (__ASSUME_SIGNALFD4): Likewise.
4982 (__ASSUME_DUP3): Likewise.
4983 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4984 (__ASSUME_EVENTFD2): Likewise.
4985 (__ASSUME_SIGNALFD4): Likewise.
4986 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4988 2014-05-12 Andreas Schwab <schwab@suse.de>
4991 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4992 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4993 than maximum RPC packet size.
4994 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4995 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4996 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4997 (_nss_nis_getservbyport_r): Likewise.
4999 2014-05-12 Will Newton <will.newton@linaro.org>
5001 * malloc/Makefile (tests): Add tst-mallopt.
5002 * malloc/tst-mallopt.c: New file.
5004 2014-05-09 Roland McGrath <roland@hack.frob.com>
5006 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5007 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5009 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5011 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5012 (tst-tlsmod6.so): Likewise.
5014 2014-05-09 Roland McGrath <roland@hack.frob.com>
5016 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5018 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5021 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5022 and <dl-procinfo.h>.
5023 (__fegetenv): Save SSE state in envp->__eip if supported.
5024 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5025 envp->__eip if supported.
5026 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5027 and <dl-procinfo.h>.
5028 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5029 __data_offset and __data_selector in environment to 0. Set SSE
5031 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5033 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5035 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5037 2014-05-09 Will Newton <will.newton@linaro.org>
5039 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5040 and libc_relro_required for ARM.
5041 * sysdeps/arm/preconfigure: Regenerate.
5043 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5044 Stefan Liebler <stli@linux.vnet.ibm.com>
5046 * config.make.in (enable-lock-elision): New Makefile variable.
5047 * configure.ac: Likewise.
5048 * configure: Regenerate.
5049 * sysdeps/s390/configure.ac:
5050 Add check for gcc transactions support.
5051 * sysdeps/s390/configure: Regenerate.
5052 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5053 Build elision files if enabled.
5054 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5055 Add lock elision support for s390.
5056 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5057 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5058 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5059 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5060 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5061 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5062 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5064 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5066 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5068 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5070 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5071 (__lll_timedlock_elision, __lll_lock_elision)
5072 (__lll_unlock_elision, __lll_trylock_elision)
5073 (lll_timedlock_elision, lll_lock_elision)
5074 (lll_unlock_elision, lll_trylock_elision): Add.
5075 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5076 (pthread_mutex_t): Add lock elision support for s390.
5078 2014-05-14 Wilco <wdijkstr@arm.com>
5080 * sysdeps/arm/fclrexcpt.c: Cleanup.
5081 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5082 * sysdeps/arm/feenablxcpt.c: Cleanup.
5083 * sysdeps/arm/fegetenv.c: Cleanup.
5084 * sysdeps/arm/fegetexcept.c: Cleanup.
5085 * sysdeps/arm/fegetround.c: Cleanup.
5086 * sysdeps/arm/feholdexcpt.c: Cleanup.
5087 * sysdeps/arm/fesetenv.c: Cleanup.
5088 * sysdeps/arm/fesetround.c: Cleanup.
5089 * sysdeps/arm/feupdateenv.c: Cleanup.
5090 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5091 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5092 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5093 * sysdeps/arm/ftestexcept.c: Cleanup.
5094 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5095 * sysdeps/arm/setfpucw.c: Cleanup.
5097 2014-05-09 Will Newton <will.newton@linaro.org>
5099 * sysdeps/arm/armv7/strcmp.S: New file.
5100 * NEWS: Mention addition of ARMv7 optimized strcmp.
5102 2014-05-08 Roland McGrath <roland@hack.frob.com>
5104 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5105 look for %.ac rather than %.in.
5107 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5108 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5109 * sysdeps/mach/hurd/configure: Regenerated.
5110 * sysdeps/unix/sysv/linux/configure: Regenerated.
5112 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5114 2014-05-07 Steve Ellcey <sellcey@mips.com>
5117 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5121 2014-05-07 Andreas Schwab <schwab@suse.de>
5123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5124 when skipping over non-matching result from nscd.
5126 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5129 * nptl/sockperf.c (client): Check socket return value.
5132 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5133 nscd security class.
5135 2014-05-06 Roland McGrath <roland@hack.frob.com>
5137 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5138 * sysdeps/arm/unwind.h: ... here.
5140 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5143 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5146 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5148 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5149 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5150 multiarch strncpy for PPC64.
5151 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5152 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5154 multiarch optimizations.
5155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5156 (__libc_ifunc_impl_list): Likewise.
5157 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5158 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5159 multiarch stpncpy for PPC64.
5160 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5161 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5163 2014-05-06 Andreas Schwab <schwab@suse.de>
5166 * gmon/mcount.c (_MCOUNT_DECL): Use
5167 atomic_compare_and_exchange_bool_acq instead of
5168 catomic_compare_and_exchange_bool_acq.
5170 2014-05-05 Roland McGrath <roland@hack.frob.com>
5172 * elf/Makefile (others, install-bin): Remove pldd.
5173 (pldd-modules): Variable removed.
5174 ($(objpfx)pldd): Target removed.
5175 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5176 (others, install-bin): Append pldd here.
5177 ($(objpfx)pldd): New target.
5179 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5180 to 0, so the first #if test emitted later doesn't see it undefined.
5181 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5182 * sysdeps/gnu/errlist.c: Regenerated.
5184 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5186 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5187 [libc_hidden_builtin_def]: Define to empty value.
5188 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5189 [libc_hidden_builtin_def]: Likewise.
5190 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5191 [libc_hidden_builtin_def]: Likewise.
5192 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5193 [libc_hidden_builtin_def]: Likewise.
5194 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5195 __redirect_memcpy and define ifunc as default hidden symbol.
5196 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5197 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5199 2014-05-04 Adam Conrad <adconrad@0c3.net>
5201 * locale/iso-4217.def: Reintroduce XDR currency.
5203 2014-05-04 Allan McRae <allan@archlinux.org>
5205 * po/eo.po: Update Esperanto translation from translation project.
5207 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5209 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5210 and FEATURE_INDEX_MAX to 1.
5211 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5213 2014-05-01 Steve Ellcey <sellcey@mips.com>
5215 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5216 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5217 * iconvdata/big5.c (ONE_DIRECTION): Define.
5218 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5219 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5220 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5221 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5222 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5223 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5224 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5225 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5226 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5227 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5228 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5229 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5230 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5231 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5232 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5233 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5234 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5235 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5236 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5237 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5238 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5239 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5240 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5241 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5242 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5243 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5244 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5245 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5246 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5247 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5248 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5249 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5250 * iconvdata/johab.c (ONE_DIRECTION): Define.
5251 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5252 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5253 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5254 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5255 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5256 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5257 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5258 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5259 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5260 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5262 2014-05-01 Roland McGrath <roland@hack.frob.com>
5264 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5265 (_IO_JUMPS_OFFSET): Define to 0.
5267 * nptl/sysdeps/pthread/bits/libc-lock.h
5268 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5269 (__libc_lock_define_initialized_recursive): Always define using
5270 initializer. Modern compilers treat uninitialized (implicit zero) and
5271 explicit zero initializers the same (i.e. put the datum in bss).
5273 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5275 * nscd/nscd-client.h: Include <string.h>.
5277 2014-05-01 David S. Miller <davem@davemloft.net>
5280 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5281 multiple zero bytes exist at the end of a string.
5282 Reported by Aurelien Jarno <aurelien@aurel32.net>
5284 * string/test-strcmp.c (check): Add explicit test for situations where
5285 there are multiple zero bytes after the first.
5287 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5290 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5291 when compiling wprintf.
5292 * stdio-common/tstdiomisc.c (t3): New function.
5295 2014-05-01 Steve Ellcey <sellcey@mips.com>
5297 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5298 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5299 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5300 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5302 2014-05-01 Steve Ellcey <sellcey@mips.com>
5304 * stdlib/longlong.h: Updated from GCC.
5306 2014-05-01 Will Newton <will.newton@linaro.org>
5307 Bernard Ogden <bernie.ogden@linaro.org>
5309 * NEWS: Update fixed bug list.
5312 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5314 2014-04-30 David S. Miller <davem@davemloft.net>
5316 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5317 (libc_feholdexcept_setround_sparc_ctx): New function.
5318 (libc_fesetenv_sparc_ctx): Likewise.
5319 (libc_feupdateenv_sparc_ctx): Likewise.
5320 (libc_feholdsetround_sparc_ctx): Likewise.
5321 (libc_feholdexcept_setround_ctx): Define.
5322 (libc_feholdexcept_setroundf_ctx): Likewise.
5323 (libc_feholdexcept_setroundl_ctx): Likewise.
5324 (libc_fesetenv_ctx): Likewise.
5325 (libc_fesetenvf_ctx): Likewise.
5326 (libc_fesetenvl_ctx): Likewise.
5327 (libc_feupdateenv_ctx): Likewise.
5328 (libc_feupdateenvf_ctx): Likewise.
5329 (libc_feupdateenvl_ctx): Likewise.
5330 (libc_feresetround_ctx): Likewise.
5331 (libc_feresetroundf_ctx): Likewise.
5332 (libc_feresetroundl_ctx): Likewise.
5333 (libc_feholdsetround_ctx): Likewise.
5334 (libc_feholdsetroundf_ctx): Likewise.
5335 (libc_feholdsetroundl_ctx): Likewise.
5337 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5338 with __USE_GNU instead of XOPEN cpp guards.
5340 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5343 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5344 with XOPEN cpp guards.
5346 2014-04-30 Julian Brown <julian@codesourcery.com>
5349 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5352 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5355 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5357 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5358 * sysdeps/unix/sysv/linux/configure: Regenerated.
5359 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5360 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5361 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5362 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5363 * README: Update reference to required Linux kernel version.
5364 * manual/install.texi (Linux): Update reference to required Linux
5365 kernel headers version.
5366 * INSTALL: Regenerated.
5368 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5370 [POSIX] (limits.h): Likewise.
5371 [POSIX] (math.h): Likewise.
5372 [POSIX] (sys/wait.h): Likewise.
5373 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5375 [POSIX] (stddef.h): Do not allow header inclusion.
5377 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5379 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5381 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5383 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5384 Return immediately after lll_futex_wake.
5386 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5389 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5391 (datahead_init_pos): Call datahead_init_common early.
5392 (datahead_init_neg): Likewise.
5394 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5395 datahead_init_neg): New functions.
5396 * nscd/aicache.c (addhstaiX): Use them.
5397 * nscd/grpcache.c (cache_addgr): Likewise.
5398 * nscd/hstcache.c (cache_addhst): Likewise.
5399 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5400 * nscd/netgroupcache.c (do_notfound): Likewise.
5401 (addgetnetgrentX): Likewise.
5402 (addinnetgrX): Likewise.
5403 * nscd/pwdcache.c (cache_addpw): Likewise.
5404 * nscd/servicescache.c (cache_addserv): Likewise.
5406 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5407 Atsushi Onoe <atsushi@onoe.org>
5412 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5413 one response is valid.
5414 * resolv/res_send.c (send_dg): Check for validity of other
5415 response if the current response is a referral.
5417 2014-04-29 Steve Ellcey <sellcey@mips.com>
5419 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5421 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5424 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5425 Always divide by positive zero when computing -Inf result.
5426 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5427 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5429 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5431 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5432 FPSCR if value do not change.
5433 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5434 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5435 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5436 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5437 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5438 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5441 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5443 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5444 * sysdeps/unix/sysv/linux/hppa: Move directory from
5445 ports/systeps/unix/sysv/linux/hppa.
5446 * README: Update listing for hppa-*-linux-gnu.
5448 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5451 * manual/stdio.texi (Hook functions): Fix types of stream hook
5454 * socket/sys/socket.h: Fix typo in comment.
5456 2014-04-28 Wilco <wdijkstr@arm.com>
5458 * sysdeps/arm/fenv_private.h: New file.
5459 * sysdeps/arm/math_private.h: New file.
5460 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5462 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5464 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5466 (La_x86_64_retval): Likewise.
5468 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5470 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5471 fpsr if value didn't change.
5472 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5473 to fpcr if value didn't change.
5474 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5475 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5476 fpsr or fpcr if value didn't change.
5477 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5478 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5479 fpcr if value didn't change.
5480 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5481 to fpsr if value didn't change.
5483 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5485 * nptl/tst-sem3.c: Use test-skeleton.c
5486 (main): Rename to do_test. Use return instead of
5488 * nptl/tst-sem4.c: Use test-skeleton.c
5489 (main): Rename to do_test.
5491 2014-04-22 David S. Miller <davem@davemloft.net>
5493 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5494 (struct sigaction): New struct member __glibc_reserved0, change
5495 type of sa_flags to int.
5497 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5499 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5500 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5502 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5504 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5505 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5507 2014-04-22 Will Newton <will.newton@linaro.org>
5508 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5510 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5511 (__longjmp): Add longjmp and longjmp_target SystemTap
5513 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5514 (__sigsetjmp): Add setjmp SystemTap probe.
5516 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5518 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5521 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5523 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5525 * sysdeps/powerpc/fpu/fenv_private.h
5526 (libc_feholdexcept_setroundl_ctx): Define to
5527 libc_feholdexcept_setround_ppc_ctx.
5528 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5529 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5530 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5531 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5533 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5535 * sysdeps/aarch64/math-tests.h: New file.
5537 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5539 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5542 Check and set bit_AVX2_Usable.
5543 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5545 (bit_AVX2): Likewise.
5546 (index_AVX2_Usable): Likewise.
5547 (CPUID_AVX2): Likewise.
5548 (HAS_AVX2): Likewise.
5550 2014-04-17 Will Newton <will.newton@linaro.org>
5552 * manual/setjmp.texi (System V contexts): Add note that
5553 calling setcontext on a context created by a call to a
5554 signal handler is undefined. Update text to note that
5555 setcontext from a signal handler is possible but not
5559 * stdlib/tst-setcontext.c: Include signal.h.
5560 (main): Check that the signal stack before and
5561 after swapcontext is the same.
5563 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5564 Re-implement to restore registers in user code and avoid
5565 rt_sigreturn system call.
5567 2014-04-17 Wilco <wdijkstr@arm.com>
5569 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5570 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5571 * math/test-fenv.c: Skip exception trap tests on targets which only
5572 support non-stop mode.
5574 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5575 Wilco Dijkstra <wilco.dijkstra@arm.com>
5577 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5578 (libc_feholdsetround_aarch64_ctx)
5579 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5580 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5581 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5582 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5583 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5584 (libc_feresetround_noexl_ctx): Define.
5586 2014-04-16 Richard Henderson <rth@redhat.com>
5588 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5590 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5593 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5594 const from the non-libc, non-ldso copy.
5596 * sysdeps/alpha/libm-test-ulps: Regenerate.
5598 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5599 Wilco Dijkstra <wilco.dijkstra@arm.com>
5601 * sysdeps/aarch64/fpu/math_private.h: New file.
5603 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5605 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5607 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5609 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5610 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5611 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5612 Intel MPX bound registers before _dl_profile_fixup.
5613 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5614 registers after _dl_profile_fixup. Save and restore bound
5615 registers bnd0/bnd1 when calling _dl_call_pltexit.
5616 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5617 (LR_BND_OFFSET): Likewise.
5618 (LRV_BND0_OFFSET): Likewise.
5619 (LRV_BND1_OFFSET): Likewise.
5621 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5623 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5625 * sysdeps/mach/hurd/i386/tls.h: ... here.
5626 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5627 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5630 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5632 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5634 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5636 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5638 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5641 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5642 * sysdeps/s390/configure: Regenerate.
5645 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5646 Set round-to-nearest internally to reduce error accumulation.
5648 2014-04-16 Alan Modra <amodra@gmail.com>
5652 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5653 * math/libm-test.inc (frexp_test_data): Add tests.
5654 * NEWS: Update fixed bug list.
5656 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5658 * benchtests/Makefile: Depend on libraries in build directory.
5659 (bench-math): Separate out math tests.
5660 (bench-pthread): Separate out pthread tests.
5661 (bench): Include math and pthread tests.
5663 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5666 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5667 _dl_debug_initialize.
5669 * configure.ac: Remove SELinux header check.
5670 * configure: Regenerate.
5671 * nscd/selinux.c (perms): Array of const char* to permission names.
5672 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5673 default policy. Call string_to_security_class and string_to_av_perm to
5674 translate strings. Enforce default policy and call avs_has_perm with
5675 results of translated strings.
5677 2014-04-13 David S. Miller <davem@davemloft.net>
5679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5681 2014-04-12 Allan McRae <allan@archlinux.org>
5684 * manual/string.texi (Collation Functions): Fix qsort argument
5686 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5688 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5690 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5691 Make the test a no-op if there are no exceptions defined.
5693 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5695 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5696 enable-hardcoded-path-in-tests
5698 2014-04-11 Will Newton <will.newton@linaro.org>
5700 * benchtests/Makefile (extra-objs): Add json-lib.o.
5701 (bench-func): Tidy up JSON output.
5702 * benchtests/bench-skeleton.c: Include json-lib.h.
5703 (main): Use JSON library functions to do output of
5705 * benchtests/bench-timing-type.c (main): Output the
5706 timing type simply, leaving formatting to the user.
5707 * benchtests/json-lib.c: New file.
5708 * benchtests/json-lib.h: Likewise.
5710 2014-04-11 Torvald Riegel <triegel@redhat.com>
5713 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5714 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5715 memory barriers. Add comments.
5716 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5717 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5718 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5719 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5720 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5721 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5723 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5725 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5726 * sysdeps/s390/s390-64/configure.ac: ... this ...
5727 * sysdeps/s390/configure.ac: ... to here.
5728 * sysdeps/s390/s390-32/configure: Delete file.
5729 * sysdeps/s390/s390-64/configure: Delete file.
5730 * sysdeps/s390/configure: Regenerate.
5732 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5734 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5736 2014-04-11 Will Newton <will.newton@linaro.org>
5738 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5739 to zero if it is not defined elsewhere. (mtrim): Test
5740 the value of MALLOC_DEBUG with #if rather than #ifdef.
5742 2014-04-10 Torvald Riegel <triegel@redhat.com>
5744 * benchtests/pthread_once-inputs: New file.
5745 * benchtests/pthread_once-source.c: New file.
5746 * benchtests/README: Update documentation.
5748 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5749 H.J. Lu <hongjiu.lu@intel.com>
5751 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5752 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5753 * sysdeps/x86_64/configure: Regenerated.
5754 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5756 (REGISTER_SAVE_RAX): Likewise.
5757 (REGISTER_SAVE_RCX): Likewise.
5758 (REGISTER_SAVE_RDX): Likewise.
5759 (REGISTER_SAVE_RSI): Likewise.
5760 (REGISTER_SAVE_RDI): Likewise.
5761 (REGISTER_SAVE_R8): Likewise.
5762 (REGISTER_SAVE_R9): Likewise.
5763 (REGISTER_SAVE_BND0): Likewise.
5764 (REGISTER_SAVE_BND1): Likewise.
5765 (REGISTER_SAVE_BND2): Likewise.
5766 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5767 bound registers when calling _dl_fixup.
5769 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5772 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5774 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5775 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5776 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5777 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5778 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5779 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5780 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5782 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5785 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5786 pathconf(_PC_NAME_MAX).
5788 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5790 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5792 (__PTHREAD_SPINS): Move definition to ...
5793 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5794 (__PTHREAD_SPINS): ... here.
5795 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5796 (__PTHREAD_SPIN): Likewise.
5797 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5798 (__PTHREAD_SPIN): Likewise.
5799 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5800 (__PTHREAD_SPIN): Likewise.
5801 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5802 (__PTHREAD_SPIN): Likewise.
5803 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5804 (__PTHREAD_SPIN): Likewise.
5805 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5806 (__PTHREAD_SPIN): Likewise.
5807 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5808 (__PTHREAD_SPIN): Likewise.
5809 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5810 (__PTHREAD_SPIN): Likewise.
5811 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5812 (__PTHREAD_SPIN): Likewise.
5813 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5814 (__PTHREAD_SPIN): Likewise.
5815 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5816 (__PTHREAD_SPIN): Likewise.
5817 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5818 (__PTHREAD_SPIN): Likewise.
5820 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5821 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5822 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5823 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5825 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5826 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5827 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5828 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5830 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5831 strlen symbol for non multi-arch builds.
5832 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5833 missing hidden_def and weak_alias.
5835 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5837 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5839 2014-04-07 Will Newton <will.newton@linaro.org>
5841 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5842 and contents. [!_LIBC] Remove #ifndef and contents.
5843 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5844 * string/memccpy.c (__memccpy): Use ANSI prototype.
5845 * string/memfrob.c (memfrob): Likewise.
5846 * string/strcoll.c (STRCOLL): Likewise.
5847 * string/strlen.c (strlen): Likewise.
5848 * string/strtok.c (STRTOK): Likewise.
5849 * string/strcat.c: Remove unused #include of memcopy.h.
5850 (strcat): Use ANSI prototype.
5851 * string/strchr.c: Remove unused #include of memcopy.h.
5852 (strchr): Use ANSI prototype.
5853 * string/strcmp.c: Remove unused #include of memcopy.h.
5854 (strcmp): Use ANSI prototype.
5855 * string/strcpy.c: Remove unused #include of memcopy.h.
5856 (strcpy): Use ANSI prototype.
5858 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5860 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5861 * config.make.in (config-extra-cppflags): Set it from
5862 libc_extra_cppflags.
5863 * configure.ac (libc_extra_cflags): Make it accumulate over
5864 configure fragments.
5865 (libc_extra_cppflags): New flag.
5866 * configure. Regenerate.
5867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5868 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5869 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5873 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5874 result for FE_DOWNWARD rounding mode.
5875 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5879 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5881 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5882 in function argument name.
5884 2014-04-03 David Svoboda <svoboda@cert.org>
5887 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5890 2014-04-03 Roland McGrath <roland@hack.frob.com>
5892 * elf/dl-unmap-segments.h: New file.
5893 * sysdeps/generic/ldsodefs.h
5894 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5895 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5896 * elf/dl-fptr.c: Likewise.
5897 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5898 * sysdeps/aarch64/tlsdesc.c: Likewise.
5899 * sysdeps/arm/tlsdesc.c: Likewise.
5900 * sysdeps/i386/tlsdesc.c: Likewise.
5901 * sysdeps/tile/dl-runtime.c: Likewise.
5902 * sysdeps/x86_64/tlsdesc.c: Likewise.
5903 * elf/dl-load.h: New file.
5904 * elf/dl-load.c: Include it.
5905 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5906 Macros moved to dl-load.h.
5907 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5908 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5909 Use _dl_unmap_segments in place of __munmap.
5910 Break out segment-mapping loop into ...
5911 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5913 2014-04-03 Will Newton <will.newton@linaro.org>
5915 * elf/dl-lookup.c (do_lookup_x): Remove comment
5916 referring to nested function and move variable
5917 declarations down to before first use.
5919 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5923 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5925 * math/s_catanf.c (__catanf): Likewise.
5926 * math/s_catanh.c (__catanh): Likewise.
5927 * math/s_catanhf.c (__catanhf): Likewise.
5928 * math/s_catanhl.c (__catanhl): Likewise.
5929 * math/s_catanl.c (__catanl): Likewise.
5930 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5931 by positive zero when computing -Inf result.
5932 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5933 (catanh_test): Likewise.
5934 * sysdeps/i386/fpu/libm-test-ulps: Update.
5935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5938 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5939 instead of using underflowing value in computing result.
5940 * math/s_clog10.c (__clog10): Likewise.
5941 * math/s_clog10f.c (__clog10f): Likewise.
5942 * math/s_clog10l.c (__clog10l): Likewise.
5943 * math/s_clogf.c (__clogf): Likewise.
5944 * math/s_clogl.c (__clogl): Likewise.
5945 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5946 (clog10_test): Likewise.
5947 * sysdeps/i386/fpu/libm-test-ulps: Update.
5948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5950 2014-04-02 Alan Modra <amodra@gmail.com>
5953 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5954 output when value is near a power of two. Use int64_t for lx and
5955 remove casts. Use decimal rather than hex exponent constants.
5956 Don't use long double multiplication when double will suffice.
5957 * math/libm-test.inc (nextafter_test_data): Add tests.
5958 * NEWS: Add 16739 and 16786 to bug list.
5960 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5962 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5964 2014-04-01 Will Newton <will.newton@linaro.org>
5966 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5967 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5969 2014-04-01 Florian Weimer <fweimer@redhat.com>
5972 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5973 * nptl/tst-setuid2.c: New file.
5974 * nptl/Makefile (xtests): Add tst-setuid2.
5976 2014-04-01 Alan Modra <amodra@gmail.com>
5979 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5981 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5985 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5986 set errno as appropriate.
5987 * math/w_scalbf.c (__scalbf): Likewise.
5988 * math/w_scalbl.c (__scalbl): Likewise.
5989 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5990 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5991 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5995 * math/w_atan2.c: Include <errno.h>.
5996 (__atan2): Set errno for result underflowing to zero.
5997 * math/w_atan2f.c: Include <errno.h>.
5998 (__atan2f): Set errno for result underflowing to zero.
5999 * math/w_atan2l.c: Include <errno.h>.
6000 (__atan2l): Set errno for result underflowing to zero.
6001 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6003 * math/auto-libm-test-out: Regenerated.
6005 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6007 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6008 Encode instruction correctly in little endian.
6009 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6011 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6013 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6015 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6018 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6021 * sysdeps/unix/sysv/linux/kernel-features.h
6022 [__sparc__ && !__arch64__ && !__sparc_v9__]
6023 (__ASSUME_SET_ROBUST_LIST): Do not define.
6024 [__sparc__ && !__arch64__ && !__sparc_v9__]
6025 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6026 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6028 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6029 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6030 (__ASSUME_REQUEUE_PI): Likewise.
6031 (__ASSUME_SET_ROBUST_LIST): Likewise.
6032 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6033 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6035 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6036 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6038 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6040 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6042 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6043 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6045 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6046 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6051 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6052 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6054 2014-03-31 Will Newton <will.newton@linaro.org>
6056 * benchtests/Makefile (bench): Add ffs and ffsll to list
6058 * benchtests/ffs-inputs: New file.
6059 * benchtests/ffsll-inputs: Likewise.
6061 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6064 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6065 too large before casting to int.
6066 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6067 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6068 * math/libm-test.inc (scalb_test_data): Add more tests.
6070 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6072 * benchtests/Makefile (DETAILED_OPT): New make option.
6073 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6075 * benchtests/bench-skeleton.c: Include stdbool.h.
6076 (main): Store and print timings per input.
6077 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6078 member to each argument value.
6079 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6080 (_print_arg_data): Initialize per-input timing to 0.
6082 * benchtests/Makefile (timing-type): New binary.
6083 (bench-clean): Also remove bench-timing-type.
6084 (bench): New target for timing-type.
6085 (bench-func): Print output in JSON format.
6086 * benchtests/bench-skeleton.c (main): Print output in JSON
6088 * benchtests/bench-timing-type.c: New file.
6089 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6090 (TIMING_PRINT_STATS): Remove.
6091 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6094 * benchtests/bench-modf.c: Remove.
6095 * benchtests/modf-inputs: New inputs file.
6097 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6100 * math/s_clog10.c (M_PI_LOG10E): New macro.
6101 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6102 imaginary parts are 0.
6103 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6104 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6105 imaginary parts are 0.
6106 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6107 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6108 imaginary parts are 0.
6109 * math/libm-test.inc (clog10_test_data): Update expected results
6110 for when real and imaginary parts are 0.
6112 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6114 * elf/dl-load.c: Finish conversion of __builtin_expect into
6117 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6120 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6121 1+x for argument with exponent below -67.
6122 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6124 * math/auto-libm-test-in: Add more tests of exp.
6125 * math/auto-libm-test-out: Regenerated.
6127 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6130 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6131 (nscd_getnetgrent): Use it.
6134 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6137 2014-03-27 Andi Kleen <ak@linux.intel.com>
6139 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6140 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6141 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6142 (lll_robust_unlock): Remove out of line section. Use cfi
6144 (LLL_STUB_UNWIND_INFO*): Remove.
6145 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6146 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6147 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6148 (lll_robust_unlock): Remove out of line section. Use cfi
6150 (LLL_STUB_UNWIND_INFO*): Remove.
6152 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6155 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6158 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6160 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6162 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6165 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6167 * math/test-fenv-preserve.c: New file.
6168 * math/Makefile (tests): Add test-fenv-preserve.
6170 2014-03-26 Will Newton <will.newton@linaro.org>
6172 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6174 2014-03-25 Roland McGrath <roland@hack.frob.com>
6176 * scripts/versionlist.awk: Partition the version sets and emit all
6177 GLIBC_* (sorted) before all others (sorted).
6179 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6181 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6182 GLIBC_2.2.5 version.
6184 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6186 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6189 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6194 2014-03-25 Andreas Schwab <schwab@suse.de>
6196 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6197 label to be used after in6ailist is initialized.
6199 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6201 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6202 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6204 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6208 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6210 (fp_formats): Update initializers.
6211 (init_fp_formats): Initialize new field.
6212 (output_for_one_input_case): Allow underflow for results up to
6214 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6215 * math/auto-libm-test-in: Don't mark some underflows from asin and
6217 * math/auto-libm-test-out: Regenerated.
6218 * sysdeps/i386/fpu/libm-test-ulps: Update.
6219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6221 2014-03-25 Andreas Schwab <schwab@suse.de>
6223 * libio/Makefile (tst-ftell-partial-wide-ENV)
6224 (tst-ftell-active-handler-ENV): Define.
6226 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6228 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6230 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6232 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6234 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6236 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6237 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6238 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6240 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6243 * elf/dl-load.c (open_verify): Add mode parameter.
6244 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6245 (open_path): Change from boolean 'secure' to complete flag 'mode'
6246 (_dl_map_object): Adjust.
6247 * elf/Makefile (tests): Add tst-dlopen-aout.
6248 * elf/tst-dlopen-aout.c: New test.
6250 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6253 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6254 (struct stat): Rename member pad0 to __glibc_reserved0.
6257 * sysdeps/s390/s390-32/bits/wordsize.h
6258 (__WORDSIZE32_SIZE_ULONG): New define.
6259 * sysdeps/s390/s390-64/bits/wordsize.h
6260 (__WORDSIZE32_SIZE_ULONG): Likewise.
6261 * sysdeps/generic/stdint.h (SIZE_MAX):
6262 Define as UL if __WORDSIZE32_SIZE_ULONG.
6265 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6266 (__glibc_reserved0): New variable.
6267 (sa_flags): Change type to int.
6269 * posix/Makefile (before-compile): Use += before-compile instead
6272 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6273 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6275 2014-03-20 Andreas Schwab <schwab@suse.de>
6278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6279 non-matching result from nscd.
6281 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6283 * scripts/bench.py: Moved to ...
6284 * benchtests/scripts/bench.py: ... here.
6285 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6287 2014-03-24 Andreas Schwab <schwab@suse.de>
6290 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6291 alloca_account and account alloca use for struct in6ailist.
6293 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6296 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6297 rounding mode to recompute results that overflow to infinity or
6299 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6301 * math/auto-libm-test-out: Regenerated.
6302 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6303 (ccosh_test): Likewise.
6304 (csin_test_data): Use plus_oflow.
6305 (csin_test): Use ALL_RM_TEST.
6306 (csinh_test_data): Use plus_oflow.
6307 (csinh_test): Use ALL_RM_TEST.
6308 * sysdeps/i386/fpu/libm-test-ulps: Update.
6309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6311 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6313 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6314 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6315 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6318 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6320 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6321 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6322 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6323 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6325 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6326 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6328 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6329 * sysdeps/i386/fpu/libm-test-ulps: Update.
6330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6332 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6334 * scripts/bench.pl: Remove file.
6335 * scripts/bench.py: New benchmark script.
6336 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6337 * benchtests/README: Mention python dependency.
6338 * scripts/pylintrc: New file.
6339 * scripts/pylint: New file.
6341 * bits/mathdef.h: Use #ifdef instead of #if.
6342 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6343 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6344 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6345 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6346 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6347 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6349 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6350 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6352 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6354 and strpbrk-ppc64 objects.
6355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6356 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6357 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6358 multiarch strpbrk for POWER7.
6359 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6360 multiarch strpbrk for PPC64.
6361 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6363 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6366 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6368 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6369 (atan_test): Likewise.
6370 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6371 (atanh_test): Use ALL_RM_TEST.
6372 (atan2_test_data): Likewise.
6373 (cabs_test): Likewise.
6374 (cacosh_test): Likewise.
6375 (carg_test): Likewise.
6376 (casin_test): Likewise.
6377 (casinh_test): Likewise.
6378 (cbrt_test): Likewise.
6379 (csqrt_test): Likewise.
6380 (erf_test): Likewise.
6381 (erfc_test): Likewise.
6382 (pow10_test): Likewise.
6383 (exp2_test): Likewise.
6384 (hypot_test): Likewise.
6385 (j0_test): Likewise.
6386 (j1_test): Likewise.
6387 (lgamma_test): Likewise.
6388 (gamma_test): Likewise.
6389 (sincos_test): Likewise.
6390 (tanh_test): Likewise.
6391 (y0_test): Likewise.
6392 (y1_test): Likewise.
6393 * sysdeps/i386/fpu/libm-test-ulps: Update.
6394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6396 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6398 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6400 and strcspn-ppc64 objects.
6401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6402 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6403 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6404 multiarch strcspn for POWER7.
6405 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6406 multiarch strcspn for PPC64.
6407 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6409 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6412 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6414 * math/gen-libm-test.pl (generate_testfile): Expect only function
6415 name as argument to AUTO_TESTS_* and pass results for all rounding
6416 modes to parse_args.
6417 (parse_auto_input): Separate inputs of automatic tests from
6418 outputs before storing in %auto_tests.
6419 * math/libm-test.inc (acos_test_data): Update call to
6421 (acos_test): Use ALL_RM_TEST.
6422 (acos_tonearest_test_data): Remove.
6423 (acos_test_tonearest): Likewise.
6424 (acos_towardzero_test_data): Likewise.
6425 (acos_test_towardzero): Likewise.
6426 (acos_downward_test_data): Likewise.
6427 (acos_test_downward): Likewise.
6428 (acos_upward_test_data): Likewise.
6429 (acos_test_upward): Likewise.
6430 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6431 (asin_test_data): Likewise.
6432 (asin_test): Use ALL_RM_TEST.
6433 (asin_tonearest_test_data): Remove.
6434 (asin_test_tonearest): Likewise.
6435 (asin_towardzero_test_data): Likewise.
6436 (asin_test_towardzero): Likewise.
6437 (asin_downward_test_data): Likewise.
6438 (asin_test_downward): Likewise.
6439 (asin_upward_test_data): Likewise.
6440 (asin_test_upward): Likewise.
6441 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6442 (atan_test_data): Likewise.
6443 (atanh_test_data): Likewise.
6444 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6445 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6446 (carg_test_data): Likewise.
6447 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6448 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6449 (ccosh_test_data): Likewise.
6450 (cexp_test_data): Likewise.
6451 (clog_test_data): Likewise.
6452 (clog10_test_data): Likewise.
6453 (cos_test_data): Update call to AUTO_TESTS_f_f.
6454 (cos_test): Use ALL_RM_TEST.
6455 (cos_tonearest_test_data): Remove.
6456 (cos_test_tonearest): Likewise.
6457 (cos_towardzero_test_data): Likewise.
6458 (cos_test_towardzero): Likewise.
6459 (cos_downward_test_data): Likewise.
6460 (cos_test_downward): Likewise.
6461 (cos_upward_test_data): Likewise.
6462 (cos_test_upward): Likewise.
6463 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6464 (cosh_test): Use ALL_RM_TEST.
6465 (cosh_tonearest_test_data): Remove.
6466 (cosh_test_tonearest): Likewise.
6467 (cosh_towardzero_test_data): Likewise.
6468 (cosh_test_towardzero): Likewise.
6469 (cosh_downward_test_data): Likewise.
6470 (cosh_test_downward): Likewise.
6471 (cosh_upward_test_data): Likewise.
6472 (cosh_test_upward): Likewise.
6473 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6474 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6475 (ctan_test_data): Likewise.
6476 (ctan_test): Use ALL_RM_TEST.
6477 (ctan_tonearest_test_data): Remove.
6478 (ctan_test_tonearest): Likewise.
6479 (ctan_towardzero_test_data): Likewise.
6480 (ctan_test_towardzero): Likewise.
6481 (ctan_downward_test_data): Likewise.
6482 (ctan_test_downward): Likewise.
6483 (ctan_upward_test_data): Likewise.
6484 (ctan_test_upward): Likewise.
6485 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6486 (ctanh_test): Use ALL_RM_TEST.
6487 (ctanh_tonearest_test_data): Remove.
6488 (ctanh_test_tonearest): Likewise.
6489 (ctanh_towardzero_test_data): Likewise.
6490 (ctanh_test_towardzero): Likewise.
6491 (ctanh_downward_test_data): Likewise.
6492 (ctanh_test_downward): Likewise.
6493 (ctanh_upward_test_data): Likewise.
6494 (ctanh_test_upward): Likewise.
6495 (erf_test_data): Update call to AUTO_TESTS_f_f.
6496 (erfc_test_data): Likewise.
6497 (exp_test_data): Likewise.
6498 (exp_test): Use ALL_RM_TEST.
6499 (exp_tonearest_test_data): Remove.
6500 (exp_test_tonearest): Likewise.
6501 (exp_towardzero_test_data): Likewise.
6502 (exp_test_towardzero): Likewise.
6503 (exp_downward_test_data): Likewise.
6504 (exp_test_downward): Likewise.
6505 (exp_upward_test_data): Likewise.
6506 (exp_test_upward): Likewise.
6507 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6508 (exp10_test): Use ALL_RM_TEST.
6509 (exp10_tonearest_test_data): Remove.
6510 (exp10_test_tonearest): Likewise.
6511 (exp10_towardzero_test_data): Likewise.
6512 (exp10_test_towardzero): Likewise.
6513 (exp10_downward_test_data): Likewise.
6514 (exp10_test_downward): Likewise.
6515 (exp10_upward_test_data): Likewise.
6516 (exp10_test_upward): Likewise.
6517 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6518 (expm1_test_data): Likewise.
6519 (expm1_test): Use ALL_RM_TEST.
6520 (expm1_tonearest_test_data): Remove.
6521 (expm1_test_tonearest): Likewise.
6522 (expm1_towardzero_test_data): Likewise.
6523 (expm1_test_towardzero): Likewise.
6524 (expm1_downward_test_data): Likewise.
6525 (expm1_test_downward): Likewise.
6526 (expm1_upward_test_data): Likewise.
6527 (expm1_test_upward): Likewise.
6528 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6529 (fma_test): Use ALL_RM_TEST.
6530 (fma_towardzero_test_data): Remove.
6531 (fma_test_towardzero): Likewise.
6532 (fma_downward_test_data): Likewise.
6533 (fma_test_downward): Likewise.
6534 (fma_upward_test_data): Likewise.
6535 (fma_test_upward): Likewise.
6536 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6537 (j0_test_data): Update call to AUTO_TESTS_f_f.
6538 (j1_test_data): Likewise.
6539 (jn_test_data): Update call to AUTO_TESTS_if_f.
6540 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6541 (log_test_data): Update call to AUTO_TESTS_f_f.
6542 (log10_test_data): Likewise.
6543 (log1p_test_data): Likewise.
6544 (log2_test_data): Likewise.
6545 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6546 (pow_tonearest_test_data): Likewise.
6547 (sin_test_data): Update call to AUTO_TESTS_f_f.
6548 (sin_test): Use ALL_RM_TEST.
6549 (sin_tonearest_test_data): Remove.
6550 (sin_test_tonearest): Likewise.
6551 (sin_towardzero_test_data): Likewise.
6552 (sin_test_towardzero): Likewise.
6553 (sin_downward_test_data): Likewise.
6554 (sin_test_downward): Likewise.
6555 (sin_upward_test_data): Likewise.
6556 (sin_test_upward): Likewise.
6557 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6558 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6559 (sinh_test): Use ALL_RM_TEST.
6560 (sinh_tonearest_test_data): Remove.
6561 (sinh_test_tonearest): Likewise.
6562 (sinh_towardzero_test_data): Likewise.
6563 (sinh_test_towardzero): Likewise.
6564 (sinh_downward_test_data): Likewise.
6565 (sinh_test_downward): Likewise.
6566 (sinh_upward_test_data): Likewise.
6567 (sinh_test_upward): Likewise.
6568 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6569 (sqrt_test): Use ALL_RM_TEST.
6570 (sqrt_tonearest_test_data): Remove.
6571 (sqrt_test_tonearest): Likewise.
6572 (sqrt_towardzero_test_data): Likewise.
6573 (sqrt_test_towardzero): Likewise.
6574 (sqrt_downward_test_data): Likewise.
6575 (sqrt_test_downward): Likewise.
6576 (sqrt_upward_test_data): Likewise.
6577 (sqrt_test_upward): Likewise.
6578 (tan_test_data): Update call to AUTO_TESTS_f_f.
6579 (tan_test): Use ALL_RM_TEST.
6580 (tan_tonearest_test_data): Remove.
6581 (tan_test_tonearest): Likewise.
6582 (tan_towardzero_test_data): Likewise.
6583 (tan_test_towardzero): Likewise.
6584 (tan_downward_test_data): Likewise.
6585 (tan_test_downward): Likewise.
6586 (tan_upward_test_data): Likewise.
6587 (tan_test_upward): Likewise.
6588 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6589 (tgamma_test_data): Likewise.
6590 (y0_test_data): Likewise.
6591 (y1_test_data): Likewise.
6592 (yn_test_data): Update call to AUTO_TESTS_if_f.
6593 (main): Do not call removed functions.
6595 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6597 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6598 (ldexp_test_data): Remove.
6599 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6601 (scalb_test): Use ALL_RM_TEST.
6603 2014-03-19 Andreas Schwab <schwab@suse.de>
6605 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6607 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6610 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6611 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6612 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6613 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6614 (__ASSUME_PREADV): Undefine.
6615 (__ASSUME_PWRITEV): Likewise.
6617 2014-03-18 Roland McGrath <roland@hack.frob.com>
6619 * bits/mman-linux.h: Add comment about non-Linux use.
6620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6621 bits/mman-linux.h resting place.
6623 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6624 * bits/mman-linux.h: ... here.
6626 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6628 * conform/conformtest.pl: Add standard definition when calling C
6629 preprocessor on data files.
6630 (checknamespace): Remove unused variable.
6632 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6634 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6635 minus_oflow, plus_uflow and minus_uflow in expected results.
6636 * math/libm-test.inc (scalbn_test_data): Add more tests of
6637 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6639 (scalbn_test): Use ALL_RM_TEST.
6640 (scalbln_test_data): Add more tests of negative arguments. Use
6641 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6642 (scalbln_test): Use ALL_RM_TEST.
6644 2014-03-18 Roland McGrath <roland@hack.frob.com>
6646 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6648 2014-03-18 Will Newton <will.newton@linaro.org>
6650 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6653 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6655 * Makerules [!subdir] (check-abi): Exit with error status if a
6658 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6660 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6661 for rint. Include results for all rounding modes.
6662 (nearbyint_test): Use ALL_RM_TEST.
6663 (rint_test_data): Include all tests used for nearbyint.
6665 2014-03-17 Will Newton <will.newton@linaro.org>
6667 * nptl/sysdeps/pthread/pthread.h: Revert previous
6670 * sysdeps/generic/ldsodefs.h: Revert previous
6673 * libio/genops.c: Revert previous change.
6674 * libio/libioP.h: Likewise.
6675 * stdio-common/vfprintf.c: Likewise.
6677 * sysdeps/generic/math_private.h: Revert previous
6680 * sysdeps/generic/math_private.h: Check whether
6681 HAVE_RM_CTX is defined with #ifdef rather
6684 * argp/argp-fmtstream.h: Check whether
6685 __STRICT_ANSI__ is defined with #ifdef rather
6687 * argp/argp.h: Likewise.
6689 * libio/genops.c: Check whether
6690 _IO_JUMPS_OFFSET is defined with #ifdef rather
6692 * libio/libioP.h: Likewise.
6693 * stdio-common/vfprintf.c: Likewise.
6695 * sysdeps/generic/ldsodefs.h: Check whether
6696 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6699 * nptl/sysdeps/pthread/pthread.h: Check
6700 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6703 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6705 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6707 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6711 * libio/fileops.c (_IO_file_open): Seek to end of file but
6712 don't cache the offset.
6713 (get_file_offset): Remove function.
6714 (do_ftell): Use cached offset when available.
6715 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6716 don't cache the offset.
6717 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6719 (do_one_test): Call it.
6720 (do_ftell_test): Fix up expected old offset for a+ mode.
6721 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6724 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6725 up test status with function return status.
6726 (do_write_test): Likewise.
6727 (do_append_test): Likewise.
6729 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6730 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6733 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6735 * math/gen-libm-test.pl (parse_args): Handle results specified for
6736 each rounding mode separately.
6737 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6738 tests and results from lrint_tonearest_test_data,
6739 lrint_towardzero_test_data, lrint_downward_test_data and
6740 lrint_upward_test_data.
6741 (lrint_test): Use ALL_RM_TEST.
6742 (lrint_tonearest_test_data): Remove.
6743 (lrint_test_tonearest): Likewise.
6744 (lrint_towardzero_test_data): Likewise.
6745 (lrint_test_towardzero): Likewise.
6746 (lrint_downward_test_data): Likewise.
6747 (lrint_test_downward): Likewise.
6748 (lrint_upward_test_data): Likewise.
6749 (lrint_test_upward): Likewise.
6750 (llrint_test_data): Merge in per-rounding-mode tests and results
6751 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6752 llrint_downward_test_data and llrint_upward_test_data.
6753 (llrint_test): Use ALL_RM_TEST.
6754 (llrint_tonearest_test_data): Remove.
6755 (llrint_test_tonearest): Likewise.
6756 (llrint_towardzero_test_data): Likewise.
6757 (llrint_test_towardzero): Likewise.
6758 (llrint_downward_test_data): Likewise.
6759 (llrint_test_downward): Likewise.
6760 (llrint_upward_test_data): Likewise.
6761 (llrint_test_upward): Likewise.
6762 (rint_test_data): Merge in per-rounding-mode tests and results
6763 from rint_tonearest_test_data, rint_towardzero_test_data,
6764 rint_downward_test_data and rint_upward_test_data. Add
6765 per-rounding-mode results for tests not in those arrays.
6766 (rint_test): Use ALL_RM_TEST.
6767 (rint_tonearest_test_data): Remove.
6768 (rint_test_tonearest): Likewise.
6769 (rint_towardzero_test_data): Likewise.
6770 (rint_test_towardzero): Likewise.
6771 (rint_downward_test_data): Likewise.
6772 (rint_test_downward): Likewise.
6773 (rint_upward_test_data): Likewise.
6774 (rint_test_upward): Likewise.
6775 (main): Don't call removed functions.
6777 2014-03-14 Roland McGrath <roland@hack.frob.com>
6779 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6780 "Compiled on ..." crapola. It is anti-useful.
6782 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6784 * scripts/evaluate-test.sh: Handle fourth argument to determine
6785 whether test run should stop on failure.
6786 * Makeconfig (stop-on-test-failure): New variable.
6787 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6788 $(stop-on-test-failure).
6789 * Makefile (tests): Give a summary of results from testing and
6790 exit with failure status if they include an ERROR or FAIL.
6792 * manual/install.texi (Configuring and compiling): Mention
6793 stop-on-test-failure=y.
6794 * INSTALL: Regenerated.
6796 2014-03-14 Roland McGrath <roland@hack.frob.com>
6798 * scripts/versionlist.awk: New file.
6799 * Makerules [$(build-shared) = yes]
6800 (postclean-generated): Add Versions.def, not Versions.def.v and
6802 ($(common-objpfx)Versions.def.v.i): Target removed.
6803 ($(common-objpfx)Versions.def): New target.
6804 ($(common-objpfx)Versions.all): Depend on that rather that
6805 $(common-objpfx)Versions.def.v.
6806 * Versions.def: File removed.
6808 * Makeconfig (+gccwarn): Add -Wundef.
6809 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6810 a dl-sysdep.h breaking its contract.
6811 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6812 * include/stackinfo.h: New file.
6813 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6814 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6815 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6816 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6817 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6818 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6819 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6820 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6821 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6822 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6823 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6824 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6825 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6826 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6827 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6829 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6832 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6834 * math/libm-test.inc (round_test_data): Add more tests.
6837 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6839 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6842 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6844 * math/libm-test.inc (ceil_test_data): Add more tests.
6846 * math/libm-test.inc (trunc_test_data): Add more tests related to
6849 2014-03-14 Roland McGrath <roland@hack.frob.com>
6851 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6852 with #if rather than #ifdef.
6853 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6855 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6857 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6858 first. Disable AVX-512 GCC support if assembler doesn't support
6860 * sysdeps/x86_64/configure: Regenerated.
6862 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6864 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6865 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6866 (__old_pthread_attr_setstack): Likewise.
6867 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6868 [!_STACK_GROWS_DOWN]: Likewise.
6870 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6872 * config.make.in (have-bash2): Delete.
6873 * configure.ac (libc_cv_have_bash2): Delete.
6874 * configure: Regenerate.
6875 * elf/Makefile (common-ldd-rewrite): Rename to ...
6876 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6877 (sh-ldd-rewrite): Delete.
6878 (bash-ldd-rewrite): Delete.
6879 (have-bash2): Delete checks.
6880 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6883 * config.make.in (have-ksh): Delete.
6885 * configure.ac (libc_cv_have_ksh): Delete.
6886 * configure: Regenerate.
6888 * elf/Makefile: Delete $(have-ksh) check.
6889 ($(objpfx)sotruss): Change KSH to BASH.
6890 * elf/sotruss.ksh: Rename to ...
6891 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6892 function style to match POSIX. Drop ksh vim mode setting.
6894 * manual/time.texi (Specifying the Time Zone with TZ): Change
6895 Tuesday to Thursday.
6897 * debug/tst-longjmp_chk2.c: Update header comment.
6898 (stackoverflow_handler): Add comment. Call assert on pass value.
6900 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6902 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6903 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6904 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6905 (La_x86_64_vector): Add zmm.
6906 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6907 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6908 ($(objpfx)tst-audit10): New target.
6909 ($(objpfx)tst-audit10.out): Likewise.
6910 (tst-audit10-ENV): New.
6911 (AVX512-CFLAGS): Likewise.
6912 (CFLAGS-tst-audit10.c): Likewise.
6913 (CFLAGS-tst-auditmod10a.c): Likewise.
6914 (CFLAGS-tst-auditmod10b.c): Likewise.
6915 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6916 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6917 * sysdeps/x86_64/configure: Regenerated.
6918 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6919 AVX-512 zmm register support.
6920 (_dl_x86_64_save_sse): Likewise.
6921 (_dl_x86_64_restore_sse): Likewise.
6922 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6923 size vector registers.
6924 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6925 (ZMM_SIZE): Likewise.
6926 * sysdeps/x86_64/tst-audit10.c: New file.
6927 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6928 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6930 2014-03-13 Roland McGrath <roland@hack.frob.com>
6932 * configure.ac (HAVE_EHDR_START): New check.
6933 * configure: Regenerated.
6934 * config.h.in (HAVE_EHDR_START): New #undef.
6935 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6936 assuming the lowest-addressed segment maps the start of the file.
6938 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6940 * INSTALL: Regenerated.
6942 2014-03-13 Will Newton <will.newton@linaro.org>
6944 * manual/setjmp.texi (System V contexts): Improve
6945 clarity and grammar of documentation.
6947 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6950 * elf/Makefile (tests): Add tst-pie2.
6951 (tests-pie): Add tst-pie2.
6952 * elf/tst-pie2.c: New file.
6953 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6955 * elf/rtld.c (map_doit): Load executable as lt_executable.
6956 (dl_main): Likewise.
6958 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6961 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6962 (__ASSUME_PSELECT): Undefine.
6964 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6968 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6970 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6971 selector for static builds.
6973 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6976 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6979 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6981 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6982 IFUNC selector for static builds.
6984 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6986 * sysdeps/mips/math_private.h [__mips_hard_float]
6987 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6988 libc_feresetround_mips_ctx.
6989 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6990 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6991 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6994 * math/s_nextafter.c (__nextafter): Do not return value from
6995 overflowing computation.
6996 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6997 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6998 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7000 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7002 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7003 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7005 2014-03-11 Roland McGrath <roland@hack.frob.com>
7007 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7008 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7009 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7010 the new mov targetting sp.
7012 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7015 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7016 Define it for static builds as well.
7017 (NO_BZERO_IMPL): Likewise.
7019 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7021 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7022 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7023 multiarch strspn for PPC64.
7024 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7025 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7027 (__libc_ifunc_impl_list): Likewise.
7028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7029 multiarch optimizations
7030 * string/strspn.c (strspn): Using macro to redefine symbol name.
7032 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7033 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7035 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7036 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7037 multiarch strncat for PPC64.
7038 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7039 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7041 (__libc_ifunc_impl_list): Likewise.
7042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7043 multiarch optimizations
7045 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7048 * nscd/nscd.service: Make service type forking.
7050 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7052 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7053 sign in non default rounding modes.
7054 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7056 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7058 * math/libm-test.inc (ALL_RM_TEST): New macro.
7059 (ceil_test): Use ALL_RM_TEST.
7060 (cimag_test): Likewise.
7061 (conj_test): Likewise.
7062 (copysign_test): Likewise.
7063 (cproj_test): Likewise.
7064 (creal_test): Likewise.
7065 (fabs_test): Likewise.
7066 (floor_test): Likewise.
7067 (fmax_test): Likewise.
7068 (fmin_test): Likewise.
7069 (fmod_test): Likewise.
7070 (fpclassify_test): Likewise.
7071 (frexp_test): Likewise.
7072 (ilogb_test): Likewise.
7073 (isfinite_test): Likewise.
7074 (finite_test): Likewise.
7075 (isgreater_test): Likewise.
7076 (isgreaterequal_test): Likewise.
7077 (isinf_test): Likewise.
7078 (isless_test): Likewise.
7079 (islessequal_test): Likewise.
7080 (islessgreater_test): Likewise.
7081 (isnan_test): Likewise.
7082 (isnormal_test): Likewise.
7083 (issignaling_test): Likewise.
7084 (isunordered_test): Likewise.
7085 (logb_test): Likewise.
7086 (logb_downward_test_data): Remove.
7087 (logb_test_downward): Likewise.
7088 (lround_test): Use ALL_RM_TEST.
7089 (llround_test): Likewise.
7090 (modf_test): Likewise.
7091 (nexttoward_test): Likewise.
7092 (remainder_test): Likewise.
7093 (drem_test): Likewise.
7094 (remainder_tonearest_test_data): Likewise.
7095 (remainder_test_tonearest): Likewise.
7096 (drem_test_tonearest): Likewise.
7097 (remainder_towardzero_test_data): Likewise.
7098 (remainder_test_towardzero): Likewise.
7099 (drem_test_towardzero): Likewise.
7100 (remainder_downward_test_data): Likewise.
7101 (remainder_test_downward): Likewise.
7102 (drem_test_downward): Likewise.
7103 (remainder_upward_test_data): Likewise.
7104 (remainder_test_upward): Likewise.
7105 (drem_test_upward): Likewise.
7106 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7107 (round_test): Use ALL_RM_TEST.
7108 (signbit_test): Likewise.
7109 (trunc_test): Likewise.
7110 (significand_test): Likewise.
7111 (main): Don't call removed functions.
7113 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7116 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7118 (ILL_ILLOPN): Likewise.
7119 (ILL_ILLADR): Likewise.
7120 (ILL_ILLTRP): Likewise.
7121 (ILL_PRVOPC): Likewise.
7122 (ILL_PRVREG): Likewise.
7123 (ILL_COPROC): Likewise.
7124 (ILL_BADSTK): Likewise.
7125 (FPE_INTDIV): Likewise.
7126 (FPE_INTOVF): Likewise.
7127 (FPE_FLTDIV): Likewise.
7128 (FPE_FLTOVF): Likewise.
7129 (FPE_FLTUND): Likewise.
7130 (FPE_FLTRES): Likewise.
7131 (FPE_FLTINV): Likewise.
7132 (FPE_FLTSUB): Likewise.
7133 (SEGV_MAPERR): Likewise.
7134 (SEGV_ACCERR): Likewise.
7135 (BUS_ADRALN): Likewise.
7136 (BUS_ADRERR): Likewise.
7137 (BUS_OBJERR): Likewise.
7138 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7139 (TRAP_TRACE): Likewise.
7140 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7142 (CLD_KILLED): Likewise.
7143 (CLD_DUMPED): Likewise.
7144 (CLD_TRAPPED): Likewise.
7145 (CLD_STOPPED): Likewise.
7146 (CLD_CONTINUED): Likewise.
7147 (POLL_IN): Likewise.
7148 (POLL_OUT): Likewise.
7149 (POLL_MSG): Likewise.
7150 (POLL_ERR): Likewise.
7151 (POLL_PRI): Likewise.
7152 (POLL_HUP): Likewise.
7153 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7155 (ILL_ILLOPN): Likewise.
7156 (ILL_ILLADR): Likewise.
7157 (ILL_ILLTRP): Likewise.
7158 (ILL_PRVOPC): Likewise.
7159 (ILL_PRVREG): Likewise.
7160 (ILL_COPROC): Likewise.
7161 (ILL_BADSTK): Likewise.
7162 (FPE_INTDIV): Likewise.
7163 (FPE_INTOVF): Likewise.
7164 (FPE_FLTDIV): Likewise.
7165 (FPE_FLTOVF): Likewise.
7166 (FPE_FLTUND): Likewise.
7167 (FPE_FLTRES): Likewise.
7168 (FPE_FLTINV): Likewise.
7169 (FPE_FLTSUB): Likewise.
7170 (SEGV_MAPERR): Likewise.
7171 (SEGV_ACCERR): Likewise.
7172 (BUS_ADRALN): Likewise.
7173 (BUS_ADRERR): Likewise.
7174 (BUS_OBJERR): Likewise.
7175 (BUS_MCEERR_AR): Likewise.
7176 (BUS_MCEERR_AO): Likewise.
7177 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7178 (TRAP_TRACE): Likewise.
7179 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7181 (CLD_KILLED): Likewise.
7182 (CLD_DUMPED): Likewise.
7183 (CLD_TRAPPED): Likewise.
7184 (CLD_STOPPED): Likewise.
7185 (CLD_CONTINUED): Likewise.
7186 (POLL_IN): Likewise.
7187 (POLL_OUT): Likewise.
7188 (POLL_MSG): Likewise.
7189 (POLL_ERR): Likewise.
7190 (POLL_PRI): Likewise.
7191 (POLL_HUP): Likewise.
7192 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7193 (ILL_ILLOPN): Likewise.
7194 (ILL_ILLADR): Likewise.
7195 (ILL_ILLTRP): Likewise.
7196 (ILL_PRVOPC): Likewise.
7197 (ILL_PRVREG): Likewise.
7198 (ILL_COPROC): Likewise.
7199 (ILL_BADSTK): Likewise.
7200 (FPE_INTDIV): Likewise.
7201 (FPE_INTOVF): Likewise.
7202 (FPE_FLTDIV): Likewise.
7203 (FPE_FLTOVF): Likewise.
7204 (FPE_FLTUND): Likewise.
7205 (FPE_FLTRES): Likewise.
7206 (FPE_FLTINV): Likewise.
7207 (FPE_FLTSUB): Likewise.
7208 (SEGV_MAPERR): Likewise.
7209 (SEGV_ACCERR): Likewise.
7210 (BUS_ADRALN): Likewise.
7211 (BUS_ADRERR): Likewise.
7212 (BUS_OBJERR): Likewise.
7213 (BUS_MCEERR_AR): Likewise.
7214 (BUS_MCEERR_AO): Likewise.
7215 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7216 (TRAP_TRACE): Likewise.
7217 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7219 (CLD_KILLED): Likewise.
7220 (CLD_DUMPED): Likewise.
7221 (CLD_TRAPPED): Likewise.
7222 (CLD_STOPPED): Likewise.
7223 (CLD_CONTINUED): Likewise.
7224 (POLL_IN): Likewise.
7225 (POLL_OUT): Likewise.
7226 (POLL_MSG): Likewise.
7227 (POLL_ERR): Likewise.
7228 (POLL_PRI): Likewise.
7229 (POLL_HUP): Likewise.
7230 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7232 (ILL_ILLOPN): Likewise.
7233 (ILL_ILLADR): Likewise.
7234 (ILL_ILLTRP): Likewise.
7235 (ILL_PRVOPC): Likewise.
7236 (ILL_PRVREG): Likewise.
7237 (ILL_COPROC): Likewise.
7238 (ILL_BADSTK): Likewise.
7239 (ILL_BADIADDR): Likewise.
7240 (ILL_BREAK): Likewise.
7241 (FPE_INTDIV): Likewise.
7242 (FPE_INTOVF): Likewise.
7243 (FPE_FLTDIV): Likewise.
7244 (FPE_FLTOVF): Likewise.
7245 (FPE_FLTUND): Likewise.
7246 (FPE_FLTRES): Likewise.
7247 (FPE_FLTINV): Likewise.
7248 (FPE_FLTSUB): Likewise.
7249 (FPE_DECOVF): Likewise.
7250 (FPE_DECDIV): Likewise.
7251 (FPE_DECERR): Likewise.
7252 (FPE_INVASC): Likewise.
7253 (FPE_INVDEC): Likewise.
7254 (SEGV_MAPERR): Likewise.
7255 (SEGV_ACCERR): Likewise.
7256 (SEGV_PSTKOVF): Likewise.
7257 (BUS_ADRALN): Likewise.
7258 (BUS_ADRERR): Likewise.
7259 (BUS_OBJERR): Likewise.
7260 (BUS_MCEERR_AR): Likewise.
7261 (BUS_MCEERR_AO): Likewise.
7262 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7263 (TRAP_TRACE): Likewise.
7264 (TRAP_BRANCH): Likewise.
7265 (TRAP_HWBKPT): Likewise.
7266 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7268 (CLD_KILLED): Likewise.
7269 (CLD_DUMPED): Likewise.
7270 (CLD_TRAPPED): Likewise.
7271 (CLD_STOPPED): Likewise.
7272 (CLD_CONTINUED): Likewise.
7273 (POLL_IN): Likewise.
7274 (POLL_OUT): Likewise.
7275 (POLL_MSG): Likewise.
7276 (POLL_ERR): Likewise.
7277 (POLL_PRI): Likewise.
7278 (POLL_HUP): Likewise.
7279 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7280 (ILL_ILLOPN): Likewise.
7281 (ILL_ILLADR): Likewise.
7282 (ILL_ILLTRP): Likewise.
7283 (ILL_PRVOPC): Likewise.
7284 (ILL_PRVREG): Likewise.
7285 (ILL_COPROC): Likewise.
7286 (ILL_BADSTK): Likewise.
7287 (FPE_INTDIV): Likewise.
7288 (FPE_INTOVF): Likewise.
7289 (FPE_FLTDIV): Likewise.
7290 (FPE_FLTOVF): Likewise.
7291 (FPE_FLTUND): Likewise.
7292 (FPE_FLTRES): Likewise.
7293 (FPE_FLTINV): Likewise.
7294 (FPE_FLTSUB): Likewise.
7295 (SEGV_MAPERR): Likewise.
7296 (SEGV_ACCERR): Likewise.
7297 (BUS_ADRALN): Likewise.
7298 (BUS_ADRERR): Likewise.
7299 (BUS_OBJERR): Likewise.
7300 (BUS_MCEERR_AR): Likewise.
7301 (BUS_MCEERR_AO): Likewise.
7302 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7303 (TRAP_TRACE): Likewise.
7304 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7306 (CLD_KILLED): Likewise.
7307 (CLD_DUMPED): Likewise.
7308 (CLD_TRAPPED): Likewise.
7309 (CLD_STOPPED): Likewise.
7310 (CLD_CONTINUED): Likewise.
7311 (POLL_IN): Likewise.
7312 (POLL_OUT): Likewise.
7313 (POLL_MSG): Likewise.
7314 (POLL_ERR): Likewise.
7315 (POLL_PRI): Likewise.
7316 (POLL_HUP): Likewise.
7317 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7318 (ILL_ILLOPN): Likewise.
7319 (ILL_ILLADR): Likewise.
7320 (ILL_ILLTRP): Likewise.
7321 (ILL_PRVOPC): Likewise.
7322 (ILL_PRVREG): Likewise.
7323 (ILL_COPROC): Likewise.
7324 (ILL_BADSTK): Likewise.
7325 (FPE_INTDIV): Likewise.
7326 (FPE_INTOVF): Likewise.
7327 (FPE_FLTDIV): Likewise.
7328 (FPE_FLTOVF): Likewise.
7329 (FPE_FLTUND): Likewise.
7330 (FPE_FLTRES): Likewise.
7331 (FPE_FLTINV): Likewise.
7332 (FPE_FLTSUB): Likewise.
7333 (SEGV_MAPERR): Likewise.
7334 (SEGV_ACCERR): Likewise.
7335 (BUS_ADRALN): Likewise.
7336 (BUS_ADRERR): Likewise.
7337 (BUS_OBJERR): Likewise.
7338 (BUS_MCEERR_AR): Likewise.
7339 (BUS_MCEERR_AO): Likewise.
7340 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7341 (TRAP_TRACE): Likewise.
7342 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7344 (CLD_KILLED): Likewise.
7345 (CLD_DUMPED): Likewise.
7346 (CLD_TRAPPED): Likewise.
7347 (CLD_STOPPED): Likewise.
7348 (CLD_CONTINUED): Likewise.
7349 (POLL_IN): Likewise.
7350 (POLL_OUT): Likewise.
7351 (POLL_MSG): Likewise.
7352 (POLL_ERR): Likewise.
7353 (POLL_PRI): Likewise.
7354 (POLL_HUP): Likewise.
7355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7356 (ILL_ILLOPN): Likewise.
7357 (ILL_ILLADR): Likewise.
7358 (ILL_ILLTRP): Likewise.
7359 (ILL_PRVOPC): Likewise.
7360 (ILL_PRVREG): Likewise.
7361 (ILL_COPROC): Likewise.
7362 (ILL_BADSTK): Likewise.
7363 (FPE_INTDIV): Likewise.
7364 (FPE_INTOVF): Likewise.
7365 (FPE_FLTDIV): Likewise.
7366 (FPE_FLTOVF): Likewise.
7367 (FPE_FLTUND): Likewise.
7368 (FPE_FLTRES): Likewise.
7369 (FPE_FLTINV): Likewise.
7370 (FPE_FLTSUB): Likewise.
7371 (SEGV_MAPERR): Likewise.
7372 (SEGV_ACCERR): Likewise.
7373 (BUS_ADRALN): Likewise.
7374 (BUS_ADRERR): Likewise.
7375 (BUS_OBJERR): Likewise.
7376 (BUS_MCEERR_AR): Likewise.
7377 (BUS_MCEERR_AO): Likewise.
7378 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7379 (TRAP_TRACE): Likewise.
7380 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7382 (CLD_KILLED): Likewise.
7383 (CLD_DUMPED): Likewise.
7384 (CLD_TRAPPED): Likewise.
7385 (CLD_STOPPED): Likewise.
7386 (CLD_CONTINUED): Likewise.
7387 (POLL_IN): Likewise.
7388 (POLL_OUT): Likewise.
7389 (POLL_MSG): Likewise.
7390 (POLL_ERR): Likewise.
7391 (POLL_PRI): Likewise.
7392 (POLL_HUP): Likewise.
7393 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7394 (ILL_ILLOPN): Likewise.
7395 (ILL_ILLADR): Likewise.
7396 (ILL_ILLTRP): Likewise.
7397 (ILL_PRVOPC): Likewise.
7398 (ILL_PRVREG): Likewise.
7399 (ILL_COPROC): Likewise.
7400 (ILL_BADSTK): Likewise.
7401 (ILL_DBLFLT): Likewise.
7402 (ILL_HARDWALL): Likewise.
7403 (FPE_INTDIV): Likewise.
7404 (FPE_INTOVF): Likewise.
7405 (FPE_FLTDIV): Likewise.
7406 (FPE_FLTOVF): Likewise.
7407 (FPE_FLTUND): Likewise.
7408 (FPE_FLTRES): Likewise.
7409 (FPE_FLTINV): Likewise.
7410 (FPE_FLTSUB): Likewise.
7411 (SEGV_MAPERR): Likewise.
7412 (SEGV_ACCERR): Likewise.
7413 (BUS_ADRALN): Likewise.
7414 (BUS_ADRERR): Likewise.
7415 (BUS_OBJERR): Likewise.
7416 (BUS_MCEERR_AR): Likewise.
7417 (BUS_MCEERR_AO): Likewise.
7418 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7419 (TRAP_TRACE): Likewise.
7420 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7422 (CLD_KILLED): Likewise.
7423 (CLD_DUMPED): Likewise.
7424 (CLD_TRAPPED): Likewise.
7425 (CLD_STOPPED): Likewise.
7426 (CLD_CONTINUED): Likewise.
7427 (POLL_IN): Likewise.
7428 (POLL_OUT): Likewise.
7429 (POLL_MSG): Likewise.
7430 (POLL_ERR): Likewise.
7431 (POLL_PRI): Likewise.
7432 (POLL_HUP): Likewise.
7433 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7434 (ILL_ILLOPN): Likewise.
7435 (ILL_ILLADR): Likewise.
7436 (ILL_ILLTRP): Likewise.
7437 (ILL_PRVOPC): Likewise.
7438 (ILL_PRVREG): Likewise.
7439 (ILL_COPROC): Likewise.
7440 (ILL_BADSTK): Likewise.
7441 (FPE_INTDIV): Likewise.
7442 (FPE_INTOVF): Likewise.
7443 (FPE_FLTDIV): Likewise.
7444 (FPE_FLTOVF): Likewise.
7445 (FPE_FLTUND): Likewise.
7446 (FPE_FLTRES): Likewise.
7447 (FPE_FLTINV): Likewise.
7448 (FPE_FLTSUB): Likewise.
7449 (SEGV_MAPERR): Likewise.
7450 (SEGV_ACCERR): Likewise.
7451 (BUS_ADRALN): Likewise.
7452 (BUS_ADRERR): Likewise.
7453 (BUS_OBJERR): Likewise.
7454 (BUS_MCEERR_AR): Likewise.
7455 (BUS_MCEERR_AO): Likewise.
7456 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7457 (TRAP_TRACE): Likewise.
7458 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7460 (CLD_KILLED): Likewise.
7461 (CLD_DUMPED): Likewise.
7462 (CLD_TRAPPED): Likewise.
7463 (CLD_STOPPED): Likewise.
7464 (CLD_CONTINUED): Likewise.
7465 (POLL_IN): Likewise.
7466 (POLL_OUT): Likewise.
7467 (POLL_MSG): Likewise.
7468 (POLL_ERR): Likewise.
7469 (POLL_PRI): Likewise.
7470 (POLL_HUP): Likewise.
7471 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7472 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7475 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7476 before #include of <time.h>.
7477 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7478 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7479 (test-xfail-UNIX98/sched.h/conform): Likewise.
7481 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7483 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7484 error absence of trapping exception support.
7485 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7487 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7489 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7490 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7491 * timezone/Makefile (testdata): Move definition above include of
7493 (test-zones): New variable.
7494 (tests-special): Add zone files.
7495 (build-testdata): Use $(evaluate-test).
7497 * elf/Makefile (tests-special): Rename tests to end with .out.
7498 ($(objpfx)noload-mem): Likewise.
7499 ($(objpfx)tst-leaks1-mem): Likewise.
7500 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7501 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7502 $(objpfx)test-iconvconfig.out.
7503 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7504 set -e inside subshell and redirect output to file.
7505 * iconvdata/Makefile (generated): Rename tests to end with .out.
7507 (tests-special): Rename tests to end with .out.
7508 ($(objpfx)mtrace-tst-loading): Likewise.
7509 * intl/Makefile (generated): Likewise.
7510 (tests-special): Likewise.
7511 ($(objpfx)mtrace-tst-gettext): Likewise.
7512 * misc/Makefile (generated): Likewise.
7513 (tests-special): Likewise.
7514 ($(objpfx)tst-error1-mem): Likewise.
7515 * nptl/Makefile (tests-special): Likewise.
7516 ($(objpfx)tst-stack3-mem): Likewise.
7517 (generated): Likewise.
7518 * posix/Makefile (generated): Likewise.
7519 (tests-special): Likewise.
7520 (xtests-special): Likewise.
7521 ($(objpfx)tst-fnmatch-mem): Likewise.
7522 ($(objpfx)bug-regex2-mem): Likewise.
7523 ($(objpfx)bug-regex14-mem): Likewise.
7524 ($(objpfx)bug-regex21-mem): Likewise.
7525 ($(objpfx)bug-regex31-mem): Likewise.
7526 ($(objpfx)tst-vfork3-mem): Likewise.
7527 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7528 ($(objpfx)tst-pcre-mem): Likewise.
7529 ($(objpfx)tst-boost-mem): Likewise.
7530 ($(objpfx)bug-ga2-mem): Likewise.
7531 ($(objpfx)bug-glob2-mem): Likewise.
7532 * resolv/Makefile (generate): Likewise.
7533 (tests-special): Likewise.
7534 (xtests-special): Likewise.
7535 (generated): Likewise.
7536 ($(objpfx)mtrace-tst-leaks): Likewise.
7537 ($(objpfx)mtrace-tst-leaks2): Likewise.
7539 * scripts/merge-test-results.sh: New file.
7540 * Makefile (tests-special-notdir): New variable.
7541 (tests): Run merge-test-results.sh.
7543 * Rules (tests-special-notdir): New variable.
7544 (xtests-special-notdir): Likewise.
7545 (tests): Run merge-test-results.sh
7548 * Makeconfig (test-xfail-name): New variable.
7549 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7550 compute variable name for expected failures.
7551 * conform/Makefile (conformtest-headers-data): New variable.
7552 (conformtest-standards): Likewise.
7553 (conformtest-headers-ISO): Likewise.
7554 (conformtest-headers-ISO99): Likewise.
7555 (conformtest-headers-ISO11): Likewise.
7556 (conformtest-headers-POSIX): Likewise.
7557 (conformtest-headers-XPG3): Likewise.
7558 (conformtest-headers-XPG4): Likewise.
7559 (conformtest-headers-UNIX98): Likewise.
7560 (conformtest-headers-XOPEN2K): Likewise.
7561 (conformtest-headers-POSIX2008): Likewise.
7562 (conformtest-headers-XOPEN2K8): Likewise.
7563 (conformtest-header-list-base): Likewise.
7564 (conformtest-header-list-tests): Likewise.
7565 (conformtest-header-base): Likewise.
7566 (conformtest-header-tests): Likewise.
7567 (tests-special): Add $(conformtest-header-list-tests). If
7568 [$(fast-check) && !$(cross-compiling)], add
7569 $(conformtest-header-tests) instead of
7570 $(objpfx)run-conformtest.out.
7571 (generated): Add $(conformtest-header-list-base). If
7572 [$(fast-check) && !$(cross-compiling)], add
7573 $(conformtest-header-base). Remove previous setting.
7574 ($(conformtest-header-list-tests)): New target.
7575 (test-xfail-run-conformtest): Remove variable.
7576 ($(objpfx)run-conformtest.out): Remove target.
7577 (test-xfail-ISO11/complex.h/conform): New variable.
7578 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7579 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7580 (test-xfail-XPG3/varargs.h/conform): Likewise.
7581 (test-xfail-XPG4/varargs.h/conform): Likewise.
7582 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7583 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7584 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7585 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7586 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7587 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7588 (test-xfail-XPG3/ftw.h/conform): Likewise.
7589 (test-xfail-XPG3/grp.h/conform): Likewise.
7590 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7591 (test-xfail-XPG3/limits.h/conform): Likewise.
7592 (test-xfail-XPG3/pwd.h/conform): Likewise.
7593 (test-xfail-XPG3/search.h/conform): Likewise.
7594 (test-xfail-XPG3/signal.h/conform): Likewise.
7595 (test-xfail-XPG3/stdio.h/conform): Likewise.
7596 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7597 (test-xfail-XPG3/string.h/conform): Likewise.
7598 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7599 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7600 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7601 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7602 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7603 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7604 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7605 (test-xfail-XPG3/termios.h/conform): Likewise.
7606 (test-xfail-XPG3/time.h/conform): Likewise.
7607 (test-xfail-XPG3/unistd.h/conform): Likewise.
7608 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7609 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7610 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7611 (test-xfail-XPG4/netdb.h/conform): Likewise.
7612 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7613 (test-xfail-XPG4/signal.h/conform): Likewise.
7614 (test-xfail-XPG4/stdio.h/conform): Likewise.
7615 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7616 (test-xfail-XPG4/stropts.h/conform): Likewise.
7617 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7618 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7619 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7620 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7621 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7622 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7623 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7624 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7625 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7626 (test-xfail-XPG4/termios.h/conform): Likewise.
7627 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7628 (test-xfail-XPG4/unistd.h/conform): Likewise.
7629 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7630 (test-xfail-POSIX/sched.h/conform): Likewise.
7631 (test-xfail-POSIX/signal.h/conform): Likewise.
7632 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7633 (test-xfail-POSIX/tar.h/conform): Likewise.
7634 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7635 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7636 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7637 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7638 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7639 (test-xfail-UNIX98/sched.h/conform): Likewise.
7640 (test-xfail-UNIX98/signal.h/conform): Likewise.
7641 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7642 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7643 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7644 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7645 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7646 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7647 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7648 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7649 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7650 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7651 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7652 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7653 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7654 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7655 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7656 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7657 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7658 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7659 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7660 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7661 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7662 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7663 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7664 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7665 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7666 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7667 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7668 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7669 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7670 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7671 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7672 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7673 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7674 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7675 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7676 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7677 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7678 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7679 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7680 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7681 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7682 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7683 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7684 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7685 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7686 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7687 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7688 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7689 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7690 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7691 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7692 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7693 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7694 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7695 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7696 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7697 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7698 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7699 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7700 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7701 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7702 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7703 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7704 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7705 (conformtest-cc-flags): Likewise.
7706 ($(conformtest-header-tests): New target.
7707 * conform/check-header-lists.sh: New file.
7708 * conform/run-conformtest.sh: Remove.
7710 * conform/conformtest.pl: Allow ' and \ in values given for
7712 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7714 [POSIX] (sys/types.h): Likewise.
7715 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7717 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7719 * conform/data/signal.h-data (SIGIO): Remove expectation.
7720 [XPG3] (SIGBUS): Do not expect.
7721 [POSIX || XPG3] (SIGPOLL): Likewise.
7722 [POSIX || XPG3] (SIGPROF): Likewise.
7723 [POSIX || XPG3] (SIGSYS): Likewise.
7724 [XPG3] (SIGTRAP): Likewise.
7725 [POSIX || XPG3] (SIGURG): Likewise.
7726 [POSIX || XPG3] (SIGVTALRM): Likewise.
7727 [POSIX || XPG3] (SIGXCPU): Likewise.
7728 [POSIX || XPG3] (SIGXFSZ): Likewise.
7729 [POSIX] (SA_SIGINFO): Expect.
7730 [XPG3] (siginfo_t): Do not expect type or contents.
7731 [POSIX] (si_pid): Do not expect element.
7732 [POSIX] (si_uid): Likewise.
7733 [POSIX] (si_addr): Likewise.
7734 [POSIX] (si_status): Likewise.
7735 [POSIX] (si_band): Likewise.
7736 [XPG4] (si_value): Likewise.
7737 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7738 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7739 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7740 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7741 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7742 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7743 [POSIX || XPG3] (ILL_COPROC): Likewise.
7744 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7745 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7746 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7747 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7748 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7749 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7750 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7751 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7752 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7753 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7754 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7755 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7756 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7757 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7758 [POSIX || XPG3] (CLD_EXITED): Likewise.
7759 [POSIX || XPG3] (CLD_KILLED): Likewise.
7760 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7761 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7762 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7763 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7764 [POSIX || XPG3] (POLL_IN): Likewise.
7765 [POSIX || XPG3] (POLL_OUT): Likewise.
7766 [POSIX || XPG3] (POLL_MSG): Likewise.
7767 [POSIX || XPG3] (POLL_ERR): Likewise.
7768 [POSIX || XPG3] (POLL_PRI): Likewise.
7769 [POSIX || XPG3] (POLL_HUP): Likewise.
7770 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7771 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7772 (SIG*): Do not allow.
7773 [XPG3] (si_*): Likewise.
7774 [XPG3] (SI_*): Likewise.
7775 [XPG3 || XPG4] (sigev_*): Likewise.
7776 [XPG3 || XPG4] (SIGEV_*): Likewise.
7777 [XPG3 || XPG4] (sival_*): Likewise.
7778 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7779 [POSIX || XPG3] (BUS_*): Likewise.
7780 [POSIX || XPG3] (CLD_*): Likewise.
7781 [POSIX || XPG3] (FPE_*): Likewise.
7782 [POSIX || XPG3] (ILL_*): Likewise.
7783 [POSIX || XPG3] (POLL_*): Likewise.
7784 [POSIX || XPG3] (SEGV_*): Likewise.
7785 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7786 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7787 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7788 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7789 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7790 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7791 Specify type and value.
7792 (TVERSLEN): Likewise.
7793 (REGTYPE): Likewise.
7794 (AREGTYPE): Likewise.
7795 (LNKTYPE): Likewise.
7796 (SYMTYPE): Likewise.
7797 (CHRTYPE): Likewise.
7798 (BLKTYPE): Likewise.
7799 (DIRTYPE): Likewise.
7800 (FIFOTYPE): Likewise.
7801 (CONTTYPE): Likewise.
7806 (TUWRITE): Likewise.
7809 (TGWRITE): Likewise.
7812 (TOWRITE): Likewise.
7814 [POSIX] (TSVTX): Expect constant.
7816 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7818 * Makefile (tests): Change dependencies to ....
7819 (tests-special): ... additions to this variable.
7820 (tests): Depend on $(tests-special).
7821 * Makerules (check-abi-list): New variable.
7822 (check-abi): Depend on $(check-abi-list).
7823 [$(subdir) = elf] (tests-special): Add
7824 $(objpfx)check-abi-libc.out.
7825 [$(build-shared) = yes && subdir] (tests-special): Add
7827 [$(build-shared) = yes && subdir] (tests): Do not depend on
7829 * Rules (tests): Depend on $(tests-special).
7830 (xtests): Depend on $(xtests-special).
7831 * catgets/Makefile (tests): Change dependencies to ....
7832 (tests-special): ... additions to this variable.
7833 * conform/Makefile (tests): Change dependencies to ....
7834 (tests-special): ... additions to this variable.
7835 * elf/Makefile (tests): Change dependencies to ....
7836 (tests-special): ... additions to this variable.
7837 * grp/Makefile (tests): Change dependencies to ....
7838 (tests-special): ... additions to this variable.
7839 * iconv/Makefile (xtests): Change dependencies to ....
7840 (xtests-special): ... additions to this variable.
7841 * iconvdata/Makefile (tests): Change dependencies to ....
7842 (tests-special): ... additions to this variable.
7843 * intl/Makefile (tests): Change dependencies to ....
7844 (tests-special): ... additions to this variable. Also add
7845 $(objpfx)tst-gettext.out.
7846 * io/Makefile (tests): Change dependencies to ....
7847 (tests-special): ... additions to this variable.
7848 * libio/Makefile (tests): Change dependencies to ....
7849 (tests-special): ... additions to this variable.
7850 * malloc/Makefile (tests): Change dependencies to ....
7851 (tests-special): ... additions to this variable.
7852 * misc/Makefile (tests): Change dependencies to ....
7853 (tests-special): ... additions to this variable.
7854 * nptl/Makefile (tests): Change dependencies to ....
7855 (tests-special): ... additions to this variable.
7856 * nptl_db/Makefile (tests): Change dependencies to ....
7857 (tests-special): ... additions to this variable.
7858 * posix/Makefile (tests): Change dependencies to ....
7859 (tests-special): ... additions to this variable.
7860 (xtests): Change dependencies to ....
7861 (xtests-special): ... additions to this variable.
7862 * resolv/Makefile (tests): Change dependencies to ....
7863 (tests-special): ... additions to this variable.
7864 (xtests): Change dependencies to ....
7865 (xtests-special): ... additions to this variable.
7866 * stdio-common/Makefile (tests): Change dependencies to ....
7867 (tests-special): ... additions to this variable.
7868 (do-tst-unbputc): Remove target.
7869 (do-tst-printf): Likewise.
7870 * stdlib/Makefile (tests): Change dependencies to ....
7871 (tests-special): ... additions to this variable.
7872 * string/Makefile (tests): Change dependencies to ....
7873 (tests-special): ... additions to this variable.
7874 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7875 (tests-special): ... additions to this variable.
7877 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7879 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7881 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7882 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7884 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7885 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7886 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7887 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7888 * conform/data/libgen.h-data [XPG3]: Likewise.
7889 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7890 * conform/data/ndbm.h-data [XPG3]: Likewise.
7891 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7892 * conform/data/netdb.h-data [XPG3]: Likewise.
7893 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7894 * conform/data/poll.h-data [XPG3]: Likewise.
7895 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7896 * conform/data/strings.h-data [XPG3]: Likewise.
7897 * conform/data/stropts.h-data [XPG3]: Likewise.
7898 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7899 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7900 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7902 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7903 * conform/data/sys/time.h-data [XPG3]: Likewise.
7904 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7905 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7906 * conform/data/sys/un.h-data [XPG3]: Likewise.
7907 * conform/data/syslog.h-data [XPG3]: Likewise.
7908 * conform/data/ucontext.h-data [XPG3]: Likewise.
7909 * conform/data/utmpx.h-data [XPG3]: Likewise.
7910 * conform/data/varargs.h-data [UNIX98]: Enable file.
7912 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7914 * math/libm-test.inc (struct test_f_f_data): Move expected results
7915 into structure for each rounding mode.
7916 (struct test_ff_f_data): Likewise.
7917 (struct test_ff_f_data_nexttoward): Likewise.
7918 (struct test_fi_f_data): Likewise.
7919 (struct test_fl_f_data): Likewise.
7920 (struct test_if_f_data): Likewise.
7921 (struct test_fff_f_data): Likewise.
7922 (struct test_c_f_data): Likewise.
7923 (struct test_f_f1_data): Likewise.
7924 (struct test_fF_f1_data): Likewise.
7925 (struct test_ffI_f1_data): Likewise.
7926 (struct test_c_c_data): Likewise.
7927 (struct test_cc_c_data): Likewise.
7928 (struct test_f_i_data): Likewise.
7929 (struct test_ff_i_data): Likewise.
7930 (struct test_f_l_data): Likewise.
7931 (struct test_f_L_data): Likewise.
7932 (struct test_fFF_11_data): Likewise.
7934 (RM_FE_DOWNWARD): Likewise.
7935 (RM_FE_TONEAREST): Likewise.
7936 (RM_FE_TOWARDZERO): Likewise.
7937 (RM_FE_UPWARD): Likewise.
7938 (RUN_TEST_LOOP_f_f): Update references to expected results.
7939 (RUN_TEST_LOOP_2_f): Likewise.
7940 (RUN_TEST_LOOP_fff_f): Likewise.
7941 (RUN_TEST_LOOP_c_f): Likewise.
7942 (RUN_TEST_LOOP_f_f1): Likewise.
7943 (RUN_TEST_LOOP_fF_f1): Likewise.
7944 (RUN_TEST_LOOP_fI_f1): Likewise.
7945 (RUN_TEST_LOOP_ffI_f1): Likewise.
7946 (RUN_TEST_LOOP_c_c): Likewise.
7947 (RUN_TEST_LOOP_cc_c): Likewise.
7948 (RUN_TEST_LOOP_f_i): Likewise.
7949 (RUN_TEST_LOOP_f_i_tg): Likewise.
7950 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7951 (RUN_TEST_LOOP_f_b): Likewise.
7952 (RUN_TEST_LOOP_f_b_tg): Likewise.
7953 (RUN_TEST_LOOP_f_l): Likewise.
7954 (RUN_TEST_LOOP_f_L): Likewise.
7955 (RUN_TEST_LOOP_fFF_11): Likewise.
7956 * math/gen-libm-test.pl (parse_args): Output four copies of
7957 expected results for each test.
7959 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7960 (__ASSUME_UTIMES): Remove.
7961 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7962 (__ASSUME_UTIMES): Likewise.
7964 * math/gen-auto-libm-tests.c: Update comment on output format.
7965 (output_for_one_input_case): Generate before-rounding and
7966 after-rounding information as conditions on output flags not
7967 floating-point format.
7968 * math/auto-libm-test-out: Regenerated.
7969 * math/gen-libm-test.pl (cond_value): New function.
7970 (or_cond_value): Use cond_value.
7971 (generate_testfile): Handle conditional exceptions.
7973 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7975 * math/libm-test.inc (max_valid_error): New variable.
7976 (init_max_error): Take new argument specifying whether function
7977 results are exactly determined. Set max_valid_error and bound
7978 other variables for errors based on this argument.
7979 (set_max_error): Do not record results above max_valid_error.
7980 (check_float_internal): Only accept errors of up to 0.5ulps if
7981 also at most max_valid_error.
7982 (START): Take new argument EXACT and pass it to init_max_error.
7983 (acos_test): Update call to START.
7984 (acos_test_tonearest): Likewise.
7985 (acos_test_towardzero): Likewise.
7986 (acos_test_downward): Likewise.
7987 (acos_test_upward): Likewise.
7988 (acosh_test): Likewise.
7989 (asin_test): Likewise.
7990 (asin_test_tonearest): Likewise.
7991 (asin_test_towardzero): Likewise.
7992 (asin_test_downward): Likewise.
7993 (asin_test_upward): Likewise.
7994 (asinh_test): Likewise.
7995 (atan_test): Likewise.
7996 (atanh_test): Likewise.
7997 (atan2_test): Likewise.
7998 (cabs_test): Likewise.
7999 (cacos_test): Likewise.
8000 (cacosh_test): Likewise.
8001 (carg_test): Likewise.
8002 (casin_test): Likewise.
8003 (casinh_test): Likewise.
8004 (catan_test): Likewise.
8005 (catanh_test): Likewise.
8006 (cbrt_test): Likewise.
8007 (ccos_test): Likewise.
8008 (ccosh_test): Likewise.
8009 (ceil_test): Likewise.
8010 (cexp_test): Likewise.
8011 (cimag_test): Likewise.
8012 (clog_test): Likewise.
8013 (clog10_test): Likewise.
8014 (conj_test): Likewise.
8015 (copysign_test): Likewise.
8016 (cos_test): Likewise.
8017 (cos_test_tonearest): Likewise.
8018 (cos_test_towardzero): Likewise.
8019 (cos_test_downward): Likewise.
8020 (cos_test_upward): Likewise.
8021 (cosh_test): Likewise.
8022 (cosh_test_tonearest): Likewise.
8023 (cosh_test_towardzero): Likewise.
8024 (cosh_test_downward): Likewise.
8025 (cosh_test_upward): Likewise.
8026 (cpow_test): Likewise.
8027 (cproj_test): Likewise.
8028 (creal_test): Likewise.
8029 (csin_test): Likewise.
8030 (csinh_test): Likewise.
8031 (csqrt_test): Likewise.
8032 (ctan_test): Likewise.
8033 (ctan_test_tonearest): Likewise.
8034 (ctan_test_towardzero): Likewise.
8035 (ctan_test_downward): Likewise.
8036 (ctan_test_upward): Likewise.
8037 (ctanh_test): Likewise.
8038 (ctanh_test_tonearest): Likewise.
8039 (ctanh_test_towardzero): Likewise.
8040 (ctanh_test_downward): Likewise.
8041 (ctanh_test_upward): Likewise.
8042 (erf_test): Likewise.
8043 (erfc_test): Likewise.
8044 (exp_test): Likewise.
8045 (exp_test_tonearest): Likewise.
8046 (exp_test_towardzero): Likewise.
8047 (exp_test_downward): Likewise.
8048 (exp_test_upward): Likewise.
8049 (exp10_test): Likewise.
8050 (exp10_test_tonearest): Likewise.
8051 (exp10_test_towardzero): Likewise.
8052 (exp10_test_downward): Likewise.
8053 (exp10_test_upward): Likewise.
8054 (pow10_test): Likewise.
8055 (exp2_test): Likewise.
8056 (expm1_test): Likewise.
8057 (expm1_test_tonearest): Likewise.
8058 (expm1_test_towardzero): Likewise.
8059 (expm1_test_downward): Likewise.
8060 (expm1_test_upward): Likewise.
8061 (fabs_test): Likewise.
8062 (fdim_test): Likewise.
8063 (floor_test): Likewise.
8064 (fma_test): Likewise.
8065 (fma_test_towardzero): Likewise.
8066 (fma_test_downward): Likewise.
8067 (fma_test_upward): Likewise.
8068 (fmax_test): Likewise.
8069 (fmin_test): Likewise.
8070 (fmod_test): Likewise.
8071 (fpclassify_test): Likewise.
8072 (frexp_test): Likewise.
8073 (hypot_test): Likewise.
8074 (ilogb_test): Likewise.
8075 (isfinite_test): Likewise.
8076 (finite_test): Likewise.
8077 (isgreater_test): Likewise.
8078 (isgreaterequal_test): Likewise.
8079 (isinf_test): Likewise.
8080 (isless_test): Likewise.
8081 (islessequal_test): Likewise.
8082 (islessgreater_test): Likewise.
8083 (isnan_test): Likewise.
8084 (isnormal_test): Likewise.
8085 (issignaling_test): Likewise.
8086 (isunordered_test): Likewise.
8087 (j0_test): Likewise.
8088 (j1_test): Likewise.
8089 (jn_test): Likewise.
8090 (ldexp_test): Likewise.
8091 (lgamma_test): Likewise.
8092 (gamma_test): Likewise.
8093 (lrint_test): Likewise.
8094 (lrint_test_tonearest): Likewise.
8095 (lrint_test_towardzero): Likewise.
8096 (lrint_test_downward): Likewise.
8097 (lrint_test_upward): Likewise.
8098 (llrint_test): Likewise.
8099 (llrint_test_tonearest): Likewise.
8100 (llrint_test_towardzero): Likewise.
8101 (llrint_test_downward): Likewise.
8102 (llrint_test_upward): Likewise.
8103 (log_test): Likewise.
8104 (log10_test): Likewise.
8105 (log1p_test): Likewise.
8106 (log2_test): Likewise.
8107 (logb_test): Likewise.
8108 (logb_test_downward): Likewise.
8109 (lround_test): Likewise.
8110 (llround_test): Likewise.
8111 (modf_test): Likewise.
8112 (nearbyint_test): Likewise.
8113 (nextafter_test): Likewise.
8114 (nexttoward_test): Likewise.
8115 (pow_test): Likewise.
8116 (pow_test_tonearest): Likewise.
8117 (pow_test_towardzero): Likewise.
8118 (pow_test_downward): Likewise.
8119 (pow_test_upward): Likewise.
8120 (remainder_test): Likewise.
8121 (drem_test): Likewise.
8122 (remainder_test_tonearest): Likewise.
8123 (drem_test_tonearest): Likewise.
8124 (remainder_test_towardzero): Likewise.
8125 (drem_test_towardzero): Likewise.
8126 (remainder_test_downward): Likewise.
8127 (drem_test_downward): Likewise.
8128 (remainder_test_upward): Likewise.
8129 (drem_test_upward): Likewise.
8130 (remquo_test): Likewise.
8131 (rint_test): Likewise.
8132 (rint_test_tonearest): Likewise.
8133 (rint_test_towardzero): Likewise.
8134 (rint_test_downward): Likewise.
8135 (rint_test_upward): Likewise.
8136 (round_test): Likewise.
8137 (scalb_test): Likewise.
8138 (scalbn_test): Likewise.
8139 (scalbln_test): Likewise.
8140 (signbit_test): Likewise.
8141 (sin_test): Likewise.
8142 (sin_test_tonearest): Likewise.
8143 (sin_test_towardzero): Likewise.
8144 (sin_test_downward): Likewise.
8145 (sin_test_upward): Likewise.
8146 (sincos_test): Likewise.
8147 (sinh_test): Likewise.
8148 (sinh_test_tonearest): Likewise.
8149 (sinh_test_towardzero): Likewise.
8150 (sinh_test_downward): Likewise.
8151 (sinh_test_upward): Likewise.
8152 (sqrt_test): Likewise.
8153 (sqrt_test_tonearest): Likewise.
8154 (sqrt_test_towardzero): Likewise.
8155 (sqrt_test_downward): Likewise.
8156 (sqrt_test_upward): Likewise.
8157 (tan_test): Likewise.
8158 (tan_test_tonearest): Likewise.
8159 (tan_test_towardzero): Likewise.
8160 (tan_test_downward): Likewise.
8161 (tan_test_upward): Likewise.
8162 (tanh_test): Likewise.
8163 (tgamma_test): Likewise.
8164 (trunc_test): Likewise.
8165 (y0_test): Likewise.
8166 (y1_test): Likewise.
8167 (yn_test): Likewise.
8168 (significand_test): Likewise.
8170 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8171 individual tests in comment.
8172 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8173 (prev_max_error): New variable.
8174 (prev_real_max_error): Likewise.
8175 (prev_imag_max_error): Likewise.
8176 (compare_ulp_data): Don't refer to test names in comment.
8177 (find_test_ulps): Remove function.
8178 (find_function_ulps): Likewise.
8179 (find_complex_function_ulps): Likewise.
8180 (init_max_error): Take function name as argument. Look up ulps
8182 (print_ulps): Remove function.
8183 (print_max_error): Use prev_max_error instead of calling
8185 (print_complex_max_error): Use prev_real_max_error and
8186 prev_imag_max_error instead of calling find_complex_function_ulps.
8187 (check_float_internal): Take max_ulp parameter instead of calling
8188 find_test_ulps. Don't call print_ulps.
8189 (check_float): Update call to check_float_internal.
8190 (check_complex): Update calls to check_float_internal.
8191 (START): Pass argument to init_max_error.
8192 * math/gen-libm-test.pl (%results): Don't include "kind"
8194 (parse_ulps): Don't handle ulps of individual tests.
8195 (print_ulps_file): Likewise.
8196 (output_ulps): Likewise.
8197 * math/README.libm-test: Update.
8198 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8200 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8201 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8202 * sysdeps/arm/libm-test-ulps: Likewise.
8203 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8204 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8205 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8206 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8207 * sysdeps/microblaze/libm-test-ulps: Likewise.
8208 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8209 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8210 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8211 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8212 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8213 * sysdeps/sh/libm-test-ulps: Likewise.
8214 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8215 * sysdeps/tile/libm-test-ulps: Likewise.
8216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8218 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8220 * math/libm-test.inc (print_complex_max_error): Check separately
8221 whether real and imaginary errors are within allowed range and
8222 pass 0 to print_complex_function_ulps instead of value within
8225 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8227 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8229 (get_handles_fopen): Likewise.
8230 (do_write_test): Likewise.
8232 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8234 * libio/fileops.c (do_ftell): Use cached offset when
8236 * libio/iofwide.c (do_ftell_wide): Likewise.
8237 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8239 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8242 * libio/libioP.h (get_file_offset): New function.
8243 * libio/fileops.c (get_file_offset): Likewise.
8244 (do_ftell): Likewise.
8245 (_IO_new_file_seekoff): Split out ftell logic.
8246 * libio/wfileops.c (do_ftell_wide): Likewise.
8247 (_IO_wfile_seekoff): Split out ftell logic.
8248 * libio/tst-ftell-active-handler.c: New test case.
8249 * libio/Makefile (tests): Add it.
8251 2014-03-03 Roland McGrath <roland@hack.frob.com>
8253 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8254 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8256 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8259 * nscd/connections.c (nscd_init): Call do_exit.
8260 (start_threads): Call do_exit and notify_parent.
8261 (begin_drop_privileges): Call do_exit.
8262 (finish_drop_privileges): Likewise.
8263 * nscd/selinux.c (preserve_capabilities): Likewise.
8264 (install_real_capabilities): Likewise.
8265 (nscd_selinux_enabled): Likewise.
8266 (avc_create_thread): Likewise.
8267 (avc_alloc_lock): Likewise.
8268 (nscd_avc_init): Likewise.
8269 * nscd/nscd.c (parent_fd): New static variable.
8270 (main): Create a pipe between parent and child processes.
8271 Skip closing parent_fd.
8272 (monitor_child): New function.
8273 (do_exit): Likewise.
8274 (notify_parent): Likewise.
8275 * nscd/nscd.h (notify_parent): Likewise.
8276 (do_exit): Likewise.
8278 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8280 * malloc/malloc.c (__libc_calloc): Revert last change.
8282 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8286 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8288 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8292 (__libc_ifunc_impl_list): Likewise.
8293 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8294 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8295 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8296 * string/strrchr.c: Define STRRCHR.
8298 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8300 * benchtest/bench-strtok.c (simple_strtok): Delete.
8301 (strtok_string): Use as benchmark.
8302 * string/strtok (STRTOK): New macro.
8304 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8306 * manual/threads.texi: Add header and standard comments to all
8309 * elf/dl-lookup.c (check_match): New function.
8310 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8311 (do_lookup_x): Remove nested function check_match. Use non-nested
8312 function check_match.
8314 2014-02-28 Roland McGrath <roland@hack.frob.com>
8316 * csu/Makefile (generated, before-compile): Use += rather than =.
8317 * catgets/Makefile (generated, generated-dirs): Likewise.
8318 * debug/Makefile (generated): Likewise.
8319 * dlfcn/Makefile (generated): Likewise.
8320 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8321 * iconvdata/Makefile (before-compile, generated): Likewise.
8322 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8323 * libio/Makefile (generated): Likewise.
8324 * malloc/Makefile (generated): Likewise.
8325 * manual/Makefile (generated, generated-dirs): Likewise.
8326 * misc/Makefile (generated): Likewise.
8327 * posix/Makefile (generated): Likewise.
8328 * resolv/Makefile (generated): Likewise.
8329 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8330 * timezone/Makefile (generated, generated-dirs): Likewise.
8332 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8334 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8337 power8 implementation.
8338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8339 file: POWER8 llround ifunc implementation.
8340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8341 (__lllround): Add POWER8 implementation.
8342 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8343 POWER8 llround implementation.
8345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8346 power8 implementation.
8347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8348 file: POWER8 llrint ifunc implementation.
8349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8350 Add POWER8 implementation.
8351 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8352 POWER8 llrint implementation.
8354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8355 power8 implementation.
8356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8357 file: POWER8 finite ifunc implementation.
8358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8359 Add POWER8 implementation.
8360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8362 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8363 POWER8 finite implementation.
8364 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8367 power8 implementation.
8368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8369 file: POWER8 isinf ifunc implementation.
8370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8371 POWER8 implementation.
8372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8374 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8375 isinf implementation.
8376 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8378 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8379 (INIT_ARCH): Add hwcap2 initialization.
8380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8381 power8 implementation.
8382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8383 file: POWER8 isnan ifunc implementation.
8384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8385 POWER8 implementation.
8386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8388 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8389 isnan implementation.
8390 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8392 2014-02-27 Joey Ye <joey.ye@arm.com>
8394 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8395 (_FP_NANFRAC_Q): Set to zero.
8397 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8400 * math/auto-libm-test-in: New test inputs.
8401 * math/auto-libm-test-out: Regenerate.
8402 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8405 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8407 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8409 * scripts/evaluate-test.sh: Take new argument indicating whether
8410 failure is expected.
8411 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8412 indicating whether failure is expected.
8413 * conform/Makefile (test-xfail-run-conformtest): New variable.
8414 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8416 * posix/Makefile (test-xfail-annexc): New variable.
8417 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8419 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8421 * argp/Makefile: Include Makeconfig immediately after defining
8423 * assert/Makefile: Likewise.
8424 * benchtests/Makefile: Likewise.
8425 * catgets/Makefile: Likewise.
8426 * conform/Makefile: Likewise.
8427 * crypt/Makefile: Likewise.
8428 * csu/Makefile: Likewise.
8429 (all): Remove target.
8430 * ctype/Makefile: Include Makeconfig immediately after defining
8432 * debug/Makefile: Likewise.
8433 * dirent/Makefile: Likewise.
8434 * dlfcn/Makefile: Likewise.
8435 * gmon/Makefile: Likewise.
8436 * gnulib/Makefile: Likewise.
8437 * grp/Makefile: Likewise.
8438 * gshadow/Makefile: Likewise.
8439 * hesiod/Makefile: Likewise.
8440 * hurd/Makefile: Likewise.
8441 (all): Remove target.
8442 * iconvdata/Makefile: Include Makeconfig immediately after
8444 * inet/Makefile: Likewise.
8445 * intl/Makefile: Likewise.
8446 * io/Makefile: Likewise.
8447 * libio/Makefile: Likewise.
8448 (all): Remove target.
8449 * locale/Makefile: Include Makeconfig immediately after defining
8451 * login/Makefile: Likewise.
8452 * mach/Makefile: Likewise.
8453 (all): Remove target.
8454 * malloc/Makefile: Include Makeconfig immediately after defining
8456 (all): Remove target.
8457 * manual/Makefile: Include Makeconfig immediately after defining
8459 * math/Makefile: Likewise.
8460 * misc/Makefile: Likewise.
8461 * nis/Makefile: Likewise.
8462 * nss/Makefile: Likewise.
8463 * po/Makefile: Likewise.
8464 (all): Remove target.
8465 * posix/Makefile: Include Makeconfig immediately after defining
8467 * pwd/Makefile: Likewise.
8468 * resolv/Makefile: Likewise.
8469 * resource/Makefile: Likewise.
8470 * rt/Makefile: Likewise.
8471 * setjmp/Makefile: Likewise.
8472 * shadow/Makefile: Likewise.
8473 * signal/Makefile: Likewise.
8474 * socket/Makefile: Likewise.
8475 * soft-fp/Makefile: Likewise.
8476 * stdio-common/Makefile: Likewise.
8477 * stdlib/Makefile: Likewise.
8478 * streams/Makefile: Likewise.
8479 * string/Makefile: Likewise.
8480 * sunrpc/Makefile: Likewise.
8481 (all): Remove target.
8482 * sysvipc/Makefile: Include Makeconfig immediately after defining
8484 * termios/Makefile: Likewise.
8485 * time/Makefile: Likewise.
8486 * timezone/Makefile: Likewise.
8487 (all): Remove target.
8488 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8490 * wctype/Makefile: Likewise.
8492 2014-02-26 Steve Ellcey <sellcey@mips.com>
8494 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8495 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8496 (libc_feholdexcept_setround_mips): Ditto.
8497 (libc_feholdsetround): New.
8498 (libc_feholdsetroundf): New.
8499 (libc_feholdsetroundl): New.
8500 (libc_feupdateenv_test_mips): New.
8501 (libc_feupdateenv_test): New.
8502 (libc_feupdateenv_testf): New.
8503 (libc_feupdateenv_testl): New.
8504 (libc_feresetround): New.
8505 (libc_feresetroundf): New.
8506 (libc_feresetroundl): New.
8507 (libc_fetestexcept_mips): New.
8508 (libc_fetestexcept): New.
8509 (libc_fetestexceptf): New.
8510 (libc_fetestexceptl): New.
8512 (libc_feholdexcept_setround_mips_ctx): New.
8513 (libc_feholdexcept_setround_ctx): New.
8514 (libc_feholdexcept_setroundf_ctx): New.
8515 (libc_feholdexcept_setroundl_ctx): New.
8516 (libc_fesetenv_mips_ctx): New.
8517 (libc_fesetenv_ctx): New.
8518 (libc_fesetenv_ctxf): New.
8519 (libc_fesetenv_ctxl): New.
8520 (libc_feupdateenv_mips_ctx): New.
8521 (libc_feupdateenv_ctx): New.
8522 (libc_feupdateenvf_ctx): New.
8523 (libc_feupdateenvl_ctx): New.
8524 (libc_feholdsetround_mips_ctx): New.
8525 (libc_feholdsetround_ctx): New.
8526 (libc_feholdsetroundf_ctx): New.
8527 (libc_feholdsetroundl_ctx): New.
8528 (libc_feresetround_mips_ctx): New.
8529 (libc_feresetround_ctx): New.
8530 (libc_feresetroundf_ctx): New.
8531 (libc_feresetroundl_ctx): New.
8533 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8535 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8537 * manual/ipc.texi: New file.
8538 * manual/Makefile (chapters): Add ipc.
8539 * manual/job.texi: Add "Inter-Process Communication" to next.
8540 * manual/process.texi: Add "Inter-Process Communication" to prev.
8542 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8546 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8548 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8550 * manual/arith.texi: Fix spaces after sentences.
8551 * manual/charset.texi: Likewise.
8552 * manual/errno.texi: Likewise.
8553 * manual/install.texi: Likewise.
8554 * manual/llio.texi: Likewise.
8555 * manual/locale.texi: Likewise.
8556 * manual/maint.texi: Likewise.
8557 * manual/math.texi: Likewise.
8558 * manual/memory.texi: Likewise.
8559 * manual/message.texi: Likewise.
8560 * manual/probes.texi: Likewise.
8561 * manual/resource.texi: Likewise.
8562 * manual/signal.texi: Likewise.
8563 * manual/socket.texi: Likewise.
8564 * manual/stdio.texi: Likewise.
8565 * manual/string.texi: Likewise.
8566 * manual/time.texi: Likewise.
8567 * manual/users.texi: Likewise.
8569 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8572 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8573 _DEFAULT_SOURCE is defined.
8575 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8576 Carlos O'Donell <carlos@redhat.com>
8579 * elf/dl-tls.c (_dl_count_modids): New function.
8580 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8581 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8582 audit library and increment generation counter.
8583 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8584 * elf/tst-audit9.c: New file.
8585 * elf/tst-auditmod9a.c: New file.
8586 * elf/tst-auditmod9b.c: New file.
8587 * elf/Makefile: Add rules to build and run tst-audit9.
8589 2014-02-25 Florian Weimer <fweimer@redhat.com>
8592 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8594 2014-02-25 Will Newton <will.newton@linaro.org>
8596 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8597 (__longjmp): Restore sp and lr before restoring callee
8598 saved registers. Add longjmp and longjmp_target
8599 SystemTap probe point.
8600 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8601 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8602 Define to zero to match jmpbuf layout.
8603 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8604 (__sigsetjmp): Save sp and lr before saving callee
8605 saved registers. Add setjmp SystemTap probe point.
8607 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8609 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8611 2014-02-24 Andreas Schwab <schwab@suse.de>
8614 * elf/pldd.c (wait_for_ptrace_stop): New function.
8615 (main): Call it after attaching.
8617 2014-02-22 Roland McGrath <roland@hack.frob.com>
8619 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8620 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8621 Versions files is now verboten.
8622 * hurd/Versions (libc: GLIBC_2.0):
8623 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8624 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8625 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8626 * mach/Versions: Likewise.
8628 * csu/Versions: Remove unused %include.
8629 * resolv/Versions: Likewise.
8631 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8633 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8634 ($(objpfx)check-local-headers.out): Likewise.
8635 ($(objpfx)begin-end-check.out): Likewise.
8636 * Makerules (check-abi-%.out): Likewise.
8637 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8638 ($(objpfx)test2.cat): Likewise.
8639 ($(objpfx)de/libc.cat): Likewise.
8640 ($(objpfx)test-gencat.out): Likewise.
8641 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8642 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8643 ($(objpfx)noload-mem): Likewise.
8644 ($(objpfx)tst-pathopt.out): Likewise.
8645 ($(objpfx)tst-rtld-load-self.out): Likewise.
8646 ($(objpfx)tst-array1-cmp.out): Likewise.
8647 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8648 ($(objpfx)tst-array2-cmp.out): Likewise.
8649 ($(objpfx)tst-array3-cmp.out): Likewise.
8650 ($(objpfx)tst-array4-cmp.out): Likewise.
8651 ($(objpfx)tst-array5-cmp.out): Likewise.
8652 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8653 ($(objpfx)check-textrel.out): Likewise.
8654 ($(objpfx)check-execstack.out): Likewise.
8655 ($(objpfx)check-localplt.out): Likewise.
8656 ($(objpfx)order2-cmp.out): Likewise.
8657 ($(objpfx)tst-leaks1-mem): Likewise.
8658 ($(objpfx)tst-leaks1-static-mem): Likewise.
8659 ($(objpfx)tst-initorder-cmp.out): Likewise.
8660 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8661 ($(objpfx)tst-unused-dep.out): Likewise.
8662 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8663 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8664 * iconv/Makefile (test-iconvconfig): Likewise.
8665 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8666 ($(objpfx)iconv-test.out): Likewise.
8667 ($(objpfx)tst-tables.out): Likewise.
8668 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8669 ($(objpfx)tst-gettext.out): Likewise.
8670 ($(objpfx)tst-translit.out): Likewise.
8671 ($(objpfx)tst-gettext2.out): Likewise.
8672 ($(objpfx)tst-gettext4.out): Likewise.
8673 ($(objpfx)tst-gettext6.out): Likewise.
8674 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8675 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8676 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8677 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8678 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8679 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8680 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8681 ($(objpfx)wordexp-tst.out): Likewise.
8682 ($(objpfx)annexc.out): Likewise.
8683 ($(objpfx)tst-fnmatch-mem): Likewise.
8684 ($(objpfx)bug-regex2-mem): Likewise.
8685 ($(objpfx)bug-regex14-mem): Likewise.
8686 ($(objpfx)bug-regex21-mem): Likewise.
8687 ($(objpfx)bug-regex31-mem): Likewise.
8688 ($(objpfx)tst-vfork3-mem): Likewise.
8689 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8690 ($(objpfx)tst-pcre-mem): Likewise.
8691 ($(objpfx)tst-boost-mem): Likewise.
8692 ($(objpfx)tst-getconf.out): Likewise.
8693 ($(objpfx)bug-ga2-mem): Likewise.
8694 ($(objpfx)bug-glob2-mem): Likewise.
8695 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8696 ($(objpfx)mtrace-tst-leaks2): Likewise.
8697 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8698 ($(objpfx)tst-printf.out): Likewise.
8699 ($(objpfx)tst-setvbuf1.out): Likewise.
8700 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8701 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8702 ($(objpfx)tst-fmtmsg.out): Likewise.
8703 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8704 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8706 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8707 * bits/sigaction.h [__USE_MISC]: Likewise.
8708 * bits/waitstatus.h: Update #endif comments.
8709 * ctype/ctype.h: Likewise.
8710 * dirent/dirent.h: Likewise.
8711 [__USE_MISC]: Remove redundant conditionals.
8712 * grp/grp.h: Update #endif comments.
8713 [__USE_GNU]: Remove redundant conditionals.
8714 [__USE_MISC]: Likewise.
8715 * inet/netinet/in.h [__USE_GNU]: Likewise.
8716 * io/sys/stat.h [__USE_MISC]: Likewise.
8717 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8718 * libio/bits/stdio.h: Update #endif comments.
8719 [__USE_MISC]: Remove redundant conditionals.
8720 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8721 * libio/stdio.h: Update #endif comments.
8722 [__USE_MISC]: Remove redundant conditionals.
8723 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8724 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8725 * math/math.h: Update #else and #endif comments.
8726 [__USE_MISC]: Remove redundant conditionals.
8727 * misc/sys/uio.h: Update #endif comments.
8728 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8729 * posix/glob.h [__USE_MISC]: Likewise.
8730 * posix/sys/types.h: Update #endif comments.
8731 [__USE_MISC]: Remove redundant conditionals.
8732 * posix/sys/wait.h: Update #endif comments.
8733 [__USE_MISC]: Remove redundant conditionals.
8734 * posix/unistd.h: Update #endif comments.
8735 [__USE_MISC]: Remove redundant conditionals.
8736 * pwd/pwd.h [__USE_GNU]: Likewise.
8737 [__USE_MISC]: Likewise.
8738 * resolv/netdb.h [__USE_GNU]: Likewise.
8739 * signal/signal.h: Update #endif comments.
8740 [__USE_MISC]: Remove redundant conditionals.
8741 * stdlib/stdlib.h: Update #else and #endif comments.
8742 [__USE_MISC]: Remove redundant conditionals.
8743 [__USE_GNU]: Likewise.
8744 * string/bits/string2.h [__USE_MISC]: Likewise.
8745 * string/string.h: Update #endif comments.
8746 [__USE_MISC]: Remove redundant conditionals.
8747 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8749 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8750 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8751 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8753 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8757 [__USE_MISC]: Remove redundant conditionals.
8758 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8759 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8760 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8761 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8762 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8764 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8765 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8767 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8768 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8770 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8772 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8773 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8775 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8777 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8778 * sysdeps/x86/bits/string.h: Update #endif comments.
8779 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8781 * time/sys/time.h: Update #endif comments.
8782 * time/time.h: Likewise.
8783 [__USE_MISC]: Remove redundant conditionals.
8785 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8788 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8790 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8792 * Versions.def (librt): Add GLIBC_2.17.
8794 2014-02-21 Adam Conrad <adconrad@0c3.net>
8796 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8797 synonym for _SYS_AUXV_H to allow direct inclusion.
8798 * sysdeps/sparc/bits/hwcap.h: Likewise.
8799 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8800 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8801 * sysdeps/sparc/sysdep.h: Likewise.
8803 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8805 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8807 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8809 * benchtests/bench-strrchr.c: Print length instead of position.
8811 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8814 * sysdeps/unix/sysv/linux/kernel-features.h
8815 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8816 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8817 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8818 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8820 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8821 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8822 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8823 (__ASSUME_SENDMMSG): Define instead of using previous
8824 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8825 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8826 (__ASSUME_SENDMMSG_SYSCALL): Define.
8827 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8828 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8830 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8831 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8833 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8834 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8836 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8837 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8838 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8839 [__ASSUME_SENDMMSG]: Change conditionals to
8840 [__ASSUME_SENDMMSG_SOCKETCALL].
8841 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8842 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8844 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8845 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8847 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8848 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8849 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8850 [!__ASSUME_SENDMMSG]: Change conditional to
8851 [!__ASSUME_SENDMMSG_SOCKETCALL].
8852 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8853 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8857 * sysdeps/unix/sysv/linux/kernel-features.h
8858 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8859 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8860 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8861 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8862 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8863 [__i386__ || __sparc__]
8864 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8865 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8866 (__ASSUME_RECVMMSG): Define instead of using previous
8867 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8868 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8869 (__ASSUME_RECVMMSG_SYSCALL): Define.
8870 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8871 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8873 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8874 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8876 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8877 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8879 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8880 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8881 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8882 [__ASSUME_RECVMMSG]: Change condition to
8883 [__ASSUME_RECVMMSG_SOCKETCALL].
8884 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8885 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8887 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8888 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8889 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8891 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8892 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8893 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8894 [!__ASSUME_RECVMMSG]: Change condition to
8895 [!__ASSUME_RECVMMSG_SOCKETCALL].
8896 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8897 (__ASSUME_RECVMMSG_SYSCALL): Define.
8900 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8901 __powerpc__ || __s390__ || __sh__ || __sparc__]
8902 (__ASSUME_SOCKETCALL): Define.
8903 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8904 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8905 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8906 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8907 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8908 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8909 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8910 (__ASSUME_ACCEPT4): Define instead of using previous
8911 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8912 __powerpc__ || __sparc__ || __s390__)] condition.
8913 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8914 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8915 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8916 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8917 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8918 [!__ASSUME_ACCEPT4]: Change condition to
8919 [!__ASSUME_ACCEPT4_SOCKETCALL].
8920 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8921 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8922 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8923 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8924 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8925 __ASSUME_ACCEPT4_SYSCALL.
8926 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8927 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8928 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8929 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8930 __ASSUME_ACCEPT4_SYSCALL.
8931 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8932 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8933 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8934 [__ASSUME_ACCEPT4]: Change condition to
8935 [__ASSUME_ACCEPT4_SOCKETCALL].
8936 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8937 (__ASSUME_SOCKETCALL): Define.
8938 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8940 (__ASSUME_SOCKETCALL): Define.
8941 (__ASSUME_ACCEPT4): Remove.
8942 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8944 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8945 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8947 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8948 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8950 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8952 (HWCAP_ARM_LPAE): Likewise.
8953 (HWCAP_ARM_EVTSTRM): Likewise.
8954 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8955 Add vpfd32, lpae and evtstrm.
8956 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8959 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8961 * math/auto-libm-test-in: Add tests of clog10.
8962 * math/auto-libm-test-out: Regenerated.
8963 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8964 * sysdeps/i386/fpu/libm-test-ulps: Update.
8965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8967 2014-02-18 Andreas Schwab <schwab@suse.de>
8970 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8971 Store non-zero if the second buffer was newly allocated.
8972 (send_dg): Likewise.
8973 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8974 to send_vc and send_dg.
8975 (res_nsend): Pass NULL for ansp2_malloced.
8976 * resolv/res_query.c (__libc_res_nquery): Add parameter
8977 answerp2_malloced and pass it down to __libc_res_nsend.
8978 (res_nquery): Pass additional NULL to __libc_res_nquery.
8979 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8980 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8981 second answer buffer if answerp2_malloced was set.
8982 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8983 (__libc_res_nquerydomain): Add parameter
8984 answerp2_malloced and pass it down to __libc_res_nquery.
8985 (res_nquerydomain): Pass additional NULL to
8986 __libc_res_nquerydomain.
8987 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8988 additional NULL to __libc_res_nsend and __libc_res_nquery.
8989 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8990 additional NULL to __libc_res_nsearch.
8991 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8992 parameter of __libc_res_nsearch to check for separately allocated
8994 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8996 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8997 additional NULL to __libc_res_nquery.
8998 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9000 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9001 * include/resolv.h: Update prototypes of __libc_res_nquery,
9002 __libc_res_nsearch, __libc_res_nsend.
9004 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9006 * math/auto-libm-test-in: Add tests of fma.
9007 * math/auto-libm-test-out: Regenerated.
9008 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9009 (fma_towardzero_test_data): Likewise.
9010 (fma_downward_test_data): Likewise.
9011 (fma_upward_test_data): Likewise.
9012 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9014 (rounding_modes): Add values for new field.
9015 (func_calc_method): Add value mpfr_fff_f.
9016 (func_calc_desc): Add mpfr_fff_f union field.
9017 (test_function): Add field exact_args.
9018 (FUNC): Add macro argument EXACT_ARGS.
9019 (FUNC_mpfr_f_f): Update call to FUNC.
9020 (FUNC_mpfr_f_f): Likewise.
9021 (FUNC_mpfr_ff_f): Likewise.
9022 (FUNC_mpfr_if_f): Likewise.
9023 (FUNC_mpc_c_f): Likewise.
9024 (FUNC_mpc_c_c): Likewise.
9025 (test_functions): Add fma. Update calls to FUNC.
9026 (handle_input_arg): Add argument exact_args.
9027 (add_test): Update call to handle_input_arg.
9028 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9029 (output_for_one_input_case): Update call to calc_generic_results.
9030 Recalculate exact zero results in each rounding mode.
9032 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9033 non-negative before setting low bit.
9034 * math/auto-libm-test-in: Mark one asin test possibly having
9036 * math/auto-libm-test-out: Regenerated.
9037 * sysdeps/i386/fpu/libm-test-ulps: Update.
9038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9040 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9042 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9043 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9044 ports/sysdeps/unix/sysv/linux/microblaze.
9045 * README: Add missing listing for microblaze*-*-linux-gnu.
9047 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9049 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9050 * sysdeps/unix/sysv/linux/ia64: Move directory from
9051 ports/sysdeps/unix/sysv/linux/ia64.
9052 * README: Update listing for ia64-*-linux-gnu.
9054 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9055 Joseph Myers <joseph@codesourcery.com>
9057 * Makeconfig (test-name): New variable.
9058 (evaluate-test): Likewise.
9059 * Makerules (do-test-clean): Remove .test-result files.
9060 (common-mostlyclean): Likewise.
9061 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9062 * scripts/evaluate-test.sh: New file.
9064 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9066 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9067 separate $(objpfx)tst-fopenloc-cmp.out and
9068 $(objpfx)tst-fopenloc-mem.out targets.
9069 (tests): Update dependencies.
9070 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9071 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9072 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9073 (tst-rxspencer-no-utf8-ARGS): New variable.
9074 (tst-rxspencer-no-utf8-ENV): Likewise.
9075 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9076 instead of $(objpfx)tst-rxspencer-mem.
9077 ($(objpfx)tst-rxspencer-mem): Change target to
9078 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9079 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9080 * posix/tst-rxspencer-no-utf8.c: New file.
9082 * elf/Makefile ($(objpfx)order.out): Remove rule.
9083 [$(run-built-tests) = yes] (tests): Depend on
9084 $(objpfx)order-cmp.out.
9085 ($(objpfx)order-cmp.out): New rule.
9086 [$(run-built-tests) = yes] (tests): Depend on
9087 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9088 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9089 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9090 $(objpfx)tst-array5-static-cmp.out.
9091 ($(objpfx)tst-array1.out): Remove rule.
9092 ($(objpfx)tst-array1-cmp.out): New rule.
9093 ($(objpfx)tst-array1-static.out): Remove rule.
9094 ($(objpfx)tst-array1-static-cmp.out): New rule.
9095 ($(objpfx)tst-array2.out): Remove rule.
9096 ($(objpfx)tst-array2-cmp.out): New rule.
9097 ($(objpfx)tst-array3.out): Remove rule.
9098 ($(objpfx)tst-array3-cmp.out): New rule.
9099 ($(objpfx)tst-array4.out): Remove rule.
9100 ($(objpfx)tst-array4-cmp.out): New rule.
9101 ($(objpfx)tst-array5.out): Remove rule.
9102 ($(objpfx)tst-array5-cmp.out): New rule.
9103 ($(objpfx)tst-array5-static.out): Remove rule.
9104 ($(objpfx)tst-array5-static-cmp.out): New rule.
9105 [$(run-built-tests) = yes] (tests): Depend on
9106 $(objpfx)order2-cmp.out.
9107 ($(objpfx)order2.out): Remove rule.
9108 ($(objpfx)order2-cmp.out): New rule.
9109 ($(objpfx)tst-initorder.out): Remove rule.
9110 [$(run-built-tests) = yes] (tests): Depend on
9111 $(objpfx)tst-initorder-cmp.out.
9112 ($(objpfx)tst-initorder-cmp.out): New rule.
9113 ($(objpfx)tst-initorder2.out): Remove rule.
9114 [$(run-built-tests) = yes] (tests): Depend on
9115 $(objpfx)tst-initorder2-cmp.out.
9116 ($(objpfx)tst-initorder2-cmp.out): New rule.
9117 [$(run-built-tests) = yes] (tests): Depend on
9118 $(objpfx)tst-unused-dep-cmp.out.
9119 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9120 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9121 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9122 on $(objpfx)tst-setvbuf1-cmp.out.
9123 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9124 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9125 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9126 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9127 ($(objpfx)tst-svc.out): Remove rule.
9128 ($(objpfx)tst-svc-cmp.out): New rule.
9130 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9132 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9133 * ctype/ctype.h [__USE_MISC]: Likewise.
9134 * dirent/dirent.h [__USE_MISC]: Likewise.
9135 * grp/grp.h [__USE_MISC]: Likewise.
9136 * io/fcntl.h [__USE_MISC]: Likewise.
9137 * io/sys/stat.h [__USE_MISC]: Likewise.
9138 * libio/stdio.h [__USE_MISC]: Likewise.
9139 * posix/unistd.h [__USE_MISC]: Likewise.
9140 * pwd/pwd.h [__USE_MISC]: Likewise.
9141 * stdlib.h [__USE_MISC]: Likewise.
9142 * string/bits/string2.h [__USE_MISC]: Likewise.
9143 * string/string.h [__USE_MISC]: Likewise.
9144 * time/time.h [__USE_MISC]: Likewise.
9146 2014-02-13 Andreas Schwab <schwab@suse.de>
9149 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9150 second answer buffer if it was separately allocated.
9152 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9154 * sysdeps/mips/math-tests.h: Include <features.h>.
9155 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9156 (ROUNDING_TESTS_long_double): Do not define.
9157 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9158 (EXCEPTION_TESTS_long_double): Likewise.
9159 * sysdeps/mips/mips64/libm-test-ulps: Update.
9161 * include/features.h (__USE_BSD): Remove macro definitions.
9162 (__USE_SVID): Likewise.
9163 (_BSD_SOURCE): Likewise.
9164 (_SVID_SOURCE): Likewise.
9165 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9166 from definition of _DEFAULT_SOURCE.
9167 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9169 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9170 * bits/mman.h [__USE_BSD]: Likewise.
9171 * bits/termios.h [__USE_BSD]: Likewise.
9172 * bits/waitstatus.h [__USE_BSD]: Likewise.
9173 * ctype/ctype.h [__USE_SVID]: Likewise.
9174 * dirent/dirent.h [__USE_BSD]: Likewise.
9175 * grp/grp.h [__USE_SVID]: Likewise.
9176 [__USE_BSD]: Likewise.
9177 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9178 * io/fcntl.h [__USE_BSD]: Likewise.
9179 * io/ftw.h [__USE_BSD]: Likewise.
9180 * io/sys/stat.h [__USE_BSD]: Likewise.
9181 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9182 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9183 * libio/stdio.h [__USE_SVID]: Likewise.
9184 [__USE_BSD]: Likewise.
9185 * math/math.h [__USE_SVID]: Likewise.
9186 [__USE_BSD]: Likewise.
9187 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9188 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9189 * misc/search.h [__USE_SVID]: Likewise.
9190 * misc/sys/mman.h [__USE_BSD]: Likewise.
9191 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9192 * misc/sys/uio.h [__USE_BSD]: Likewise.
9193 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9194 * posix/glob.h [__USE_BSD]: Likewise.
9195 * posix/regex.h [__USE_BSD]: Likewise.
9196 * posix/sys/types.h [__USE_BSD]: Likewise.
9197 [__USE_SVID]: Likewise.
9198 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9199 * posix/sys/wait.h [__USE_BSD]: Likewise.
9200 [__USE_SVID]: Likewise.
9201 * posix/unistd.h [__USE_BSD]: Likewise.
9202 [__USE_SVID]: Likewise.
9203 * pwd/pwd.h [__USE_SVID]: Likewise.
9204 * resolv/netdb.h [__USE_BSD]: Likewise.
9205 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9206 * signal/signal.h [__USE_BSD]: Likewise.
9207 [__USE_SVID]: Likewise.
9208 * socket/sys/socket.h [__USE_BSD]: Likewise.
9209 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9210 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9211 [__USE_SVID]: Likewise.
9212 * string/bits/string2.h [__USE_BSD]: Likewise.
9213 [__USE_SVID]: Likewise.
9214 * string/bits/string3.h [__USE_BSD]: Likewise.
9215 * string/endian.h [__USE_BSD]: Likewise.
9216 * string/string.h [__USE_SVID]: Likewise.
9217 [__USE_BSD]: Likewise.
9218 * string/strings.h [__USE_BSD]: Likewise.
9219 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9220 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9221 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9222 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9223 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9224 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9228 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9229 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9231 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9232 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9234 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9236 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9237 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9238 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9240 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9242 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9243 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9244 * termios/termios.h [__USE_BSD]: Likewise.
9245 * time/sys/time.h [__USE_BSD]: Likewise.
9246 * time/time.h [__USE_BSD]: Likewise.
9247 [__USE_SVID]: Likewise.
9249 * Makefile (subdir_targets): Remove subdir_lint.out.
9251 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9252 (do-tst-printf): Likewise.
9253 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9254 $(objpfx)tst-printf.out.
9256 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9258 * Makerules (check-abi-%): Change target to
9259 $(objpfx)check-abi-%.out.
9260 (check-abi target): Update dependencies.
9261 (check-abi-pattern variable): Redirect output of diff to $@.
9262 (check-abi variable): Likewise.
9263 * elf/Makefile (check-abi): Update dependencies.
9265 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9267 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9268 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9270 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9271 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9272 value has largest subnormal exponent.
9273 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9274 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9275 * sysdeps/aarch64/soft-fp/sfp-machine.h
9276 (_FP_TININESS_AFTER_ROUNDING): New macro.
9277 * sysdeps/alpha/soft-fp/sfp-machine.h
9278 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9279 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9281 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9282 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9283 * sysdeps/mips/soft-fp/sfp-machine.h
9284 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9285 * sysdeps/powerpc/soft-fp/sfp-machine.h
9286 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9287 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9289 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9290 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9291 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9292 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9293 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9296 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9299 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9302 2014-02-12 Richard Henderson <rth@redhat.com>
9304 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9305 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9306 * sysdeps/unix/sysv/linux/alpha: Move directory from
9307 ports/sysdeps/unix/sysv/linux/alpha.
9308 * README: Update listing for alpha-*-linux-gnu.
9310 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9312 * include/features.h: Update comment documenting feature test
9314 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9316 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9317 (_SVID_SOURCE): Likewise.
9318 (_DEFAULT_SOURCE): Update description of default features.
9319 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9321 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9322 (S_ISVTX): Likewise.
9323 * manual/math.texi (Mathematical Constants): Likewise.
9324 * manual/signal.texi (Interrupted Primitives): Likewise.
9325 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9326 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9327 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9328 Don't refer to _SVID_SOURCE in warning text.
9330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9332 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9334 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9335 * sysdeps/mips/dl-lookup.c: Remove.
9336 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9338 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9341 * math/auto-libm-test-in: Add testcase for expl.
9342 * math/auto-libm-test-out: Regenerate.
9343 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9344 calculation of unsafe.
9345 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9347 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9349 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9350 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9351 ports/sysdeps/unix/sysv/linux/aarch64.
9352 * README: Update listing for aarch64*-*-linux-gnu.
9354 2014-02-11 Will Newton <will.newton@linaro.org>
9356 * manual/probes.texi (Mathematical Function Probes): Use
9357 "triggered" instead of "hit".
9359 * manual/probes.texi (Internal Probes): Add documentation
9360 of setjmp, longjmp and longjmp_target probes.
9362 * include/stap-probe.h: Add comment about probe argument
9365 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9366 definition. (tr_where, tr_freehook, tr_mallochook,
9367 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9369 2014-02-11 David S. Miller <davem@davemloft.net>
9371 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9372 processing int_tests.
9374 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9376 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9377 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9378 * sysdeps/unix/sysv/linux/mips: Move directory from
9379 ports/sysdeps/unix/sysv/linux/mips.
9380 * README: Update listing for mips-*-linux-gnu and
9383 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9385 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9386 * sysdeps/unix/sysv/linux/m68k: Move directory from
9387 ports/sysdeps/unix/sysv/linux/m68k.
9388 * README: Update listing for m68k-*-linux-gnu.
9390 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9392 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9393 * sysdeps/unix/sysv/linux/generic: Move directory from
9394 ports/sysdeps/unix/sysv/linux/generic.
9395 * sysdeps/unix/sysv/linux/tile: Move directory from
9396 ports/sysdeps/unix/sysv/linux/tile.
9397 * README: Update listing for tile*-*-linux-gnu.
9399 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9401 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9403 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9404 * catgets/open_catalog.c (__open_catalog): Likewise.
9405 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9406 * debug/confstr_chk.c: Likewise.
9407 * debug/fread_chk.c (__fread_chk): Likewise.
9408 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9409 * debug/getgroups_chk.c: Likewise.
9410 * debug/mbsnrtowcs_chk.c: Likewise.
9411 * debug/mbsrtowcs_chk.c: Likewise.
9412 * debug/mbstowcs_chk.c: Likewise.
9413 * debug/memcpy_chk.c: Likewise.
9414 * debug/memmove_chk.c: Likewise.
9415 * debug/mempcpy_chk.c: Likewise.
9416 * debug/memset_chk.c: Likewise.
9417 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9418 * debug/strcat_chk.c (__strcat_chk): Likewise.
9419 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9420 * debug/strncat_chk.c (__strncat_chk): Likewise.
9421 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9422 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9423 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9424 * debug/wcpncpy_chk.c: Likewise.
9425 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9426 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9427 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9428 * debug/wcsncpy_chk.c: Likewise.
9429 * debug/wcsnrtombs_chk.c: Likewise.
9430 * debug/wcsrtombs_chk.c: Likewise.
9431 * debug/wcstombs_chk.c: Likewise.
9432 * debug/wmemcpy_chk.c: Likewise.
9433 * debug/wmemmove_chk.c: Likewise.
9434 * debug/wmempcpy_chk.c: Likewise.
9435 * debug/wmemset_chk.c: Likewise.
9436 * dirent/scandirat.c (SCANDIRAT): Likewise.
9437 * dlfcn/dladdr1.c (dladdr1): Likewise.
9438 * dlfcn/dladdr.c (dladdr): Likewise.
9439 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9440 * dlfcn/dlerror.c (__dlerror): Likewise.
9441 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9442 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9443 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9444 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9445 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9446 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9447 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9448 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9450 * elf/dl-conflict.c: Likewise.
9451 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9452 * elf/dl-dst.h: Likewise.
9453 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9454 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9455 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9456 * elf/dl-init.c (call_init, _dl_init): Likewise.
9457 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9458 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9459 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9461 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9463 * elf/dl-minimal.c (__libc_memalign): Likewise.
9464 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9465 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9466 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9467 * elf/dl-sym.c (do_sym): Likewise.
9468 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9469 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9470 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9471 * elf/dl-writev.h (_dl_writev): Likewise.
9472 * elf/ldconfig.c (search_dir): Likewise.
9473 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9474 (dl_main): Likewise.
9475 * elf/setup-vdso.h (setup_vdso): Likewise.
9476 * grp/compat-initgroups.c (compat_call): Likewise.
9477 * grp/fgetgrent.c (fgetgrent): Likewise.
9478 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9479 * grp/putgrent.c (putgrent): Likewise.
9480 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9482 * hurd/hurdinit.c: Likewise.
9483 * iconvdata/8bit-gap.c (struct): Likewise.
9484 * iconvdata/ansi_x3.110.c : Likewise.
9485 * iconvdata/big5.c : Likewise.
9486 * iconvdata/big5hkscs.c : Likewise.
9487 * iconvdata/cp1255.c: Likewise.
9488 * iconvdata/cp1258.c : Likewise.
9489 * iconvdata/cp932.c : Likewise.
9490 * iconvdata/euc-cn.c: Likewise.
9491 * iconvdata/euc-jisx0213.c : Likewise.
9492 * iconvdata/euc-jp.c: Likewise.
9493 * iconvdata/euc-jp-ms.c : Likewise.
9494 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9495 * iconvdata/gb18030.c : Likewise.
9496 * iconvdata/gbbig5.c (const): Likewise.
9497 * iconvdata/gbgbk.c: Likewise.
9498 * iconvdata/gbk.c : Likewise.
9499 * iconvdata/ibm1364.c : Likewise.
9500 * iconvdata/ibm930.c : Likewise.
9501 * iconvdata/ibm932.c: Likewise.
9502 * iconvdata/ibm933.c : Likewise.
9503 * iconvdata/ibm935.c : Likewise.
9504 * iconvdata/ibm937.c : Likewise.
9505 * iconvdata/ibm939.c : Likewise.
9506 * iconvdata/ibm943.c: Likewise.
9507 * iconvdata/iso_11548-1.c: Likewise.
9508 * iconvdata/iso-2022-cn.c : Likewise.
9509 * iconvdata/iso-2022-cn-ext.c : Likewise.
9510 * iconvdata/iso-2022-jp-3.c: Likewise.
9511 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9512 * iconvdata/iso-2022-kr.c : Likewise.
9513 * iconvdata/iso646.c (gconv_end): Likewise.
9514 * iconvdata/iso_6937-2.c : Likewise.
9515 * iconvdata/iso_6937.c : Likewise.
9516 * iconvdata/iso8859-1.c: Likewise.
9517 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9518 * iconvdata/shift_jisx0213.c : Likewise.
9519 * iconvdata/sjis.c : Likewise.
9520 * iconvdata/t.61.c : Likewise.
9521 * iconvdata/tcvn5712-1.c : Likewise.
9522 * iconvdata/tscii.c: Likewise.
9523 * iconvdata/uhc.c : Likewise.
9524 * iconvdata/unicode.c (gconv_end): Likewise.
9525 * iconvdata/utf-16.c (gconv_end): Likewise.
9526 * iconvdata/utf-32.c (gconv_end): Likewise.
9527 * iconvdata/utf-7.c (base64): Likewise.
9528 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9529 * iconv/gconv_close.c (__gconv_close): Likewise.
9530 * iconv/gconv_open.c (__gconv_open): Likewise.
9531 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9532 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9533 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9534 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9535 (ucs4le_internal_loop_single): Likewise.
9536 * iconv/iconv.c (iconv): Likewise.
9537 * iconv/iconv_close.c: Likewise.
9538 * iconv/loop.c (SINGLE): Likewise.
9539 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9540 * include/atomic.h: Likewise.
9541 * inet/inet6_option.c (option_alloc): Likewise.
9542 * intl/bindtextdom.c (set_binding_values): Likewise.
9543 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9544 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9545 * intl/localealias.c (read_alias_file): Likewise.
9546 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9547 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9548 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9549 * libio/fmemopen.c (fmemopen): Likewise.
9550 * libio/iofgets.c (_IO_fgets): Likewise.
9551 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9552 * libio/iofgetws.c (fgetws): Likewise.
9553 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9554 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9555 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9556 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9557 * locale/findlocale.c (_nl_find_locale): Likewise.
9558 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9559 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9561 * locale/setlocale.c (setlocale): Likewise.
9562 * login/programs/pt_chown.c (main): Likewise.
9563 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9564 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9565 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9566 (mmap, mmap64, mremap, munmap): Likewise.
9567 * math/e_exp2l.c: Likewise.
9568 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9569 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9570 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9571 * math/s_catan.c (__catan): Likewise.
9572 * math/s_catanf.c (__catanf): Likewise.
9573 * math/s_catanh.c (__catanh): Likewise.
9574 * math/s_catanhf.c (__catanhf): Likewise.
9575 * math/s_catanhl.c (__catanhl): Likewise.
9576 * math/s_catanl.c (__catanl): Likewise.
9577 * math/s_ccosh.c (__ccosh): Likewise.
9578 * math/s_ccoshf.c (__ccoshf): Likewise.
9579 * math/s_ccoshl.c (__ccoshl): Likewise.
9580 * math/s_cexp.c (__cexp): Likewise.
9581 * math/s_cexpf.c (__cexpf): Likewise.
9582 * math/s_cexpl.c (__cexpl): Likewise.
9583 * math/s_clog10.c (__clog10): Likewise.
9584 * math/s_clog10f.c (__clog10f): Likewise.
9585 * math/s_clog10l.c (__clog10l): Likewise.
9586 * math/s_clog.c (__clog): Likewise.
9587 * math/s_clogf.c (__clogf): Likewise.
9588 * math/s_clogl.c (__clogl): Likewise.
9589 * math/s_csin.c (__csin): Likewise.
9590 * math/s_csinf.c (__csinf): Likewise.
9591 * math/s_csinh.c (__csinh): Likewise.
9592 * math/s_csinhf.c (__csinhf): Likewise.
9593 * math/s_csinhl.c (__csinhl): Likewise.
9594 * math/s_csinl.c (__csinl): Likewise.
9595 * math/s_csqrt.c (__csqrt): Likewise.
9596 * math/s_csqrtf.c (__csqrtf): Likewise.
9597 * math/s_csqrtl.c (__csqrtl): Likewise.
9598 * math/s_ctan.c (__ctan): Likewise.
9599 * math/s_ctanf.c (__ctanf): Likewise.
9600 * math/s_ctanh.c (__ctanh): Likewise.
9601 * math/s_ctanhf.c (__ctanhf): Likewise.
9602 * math/s_ctanhl.c (__ctanhl): Likewise.
9603 * math/s_ctanl.c (__ctanl): Likewise.
9604 * math/w_pow.c: Likewise.
9605 * math/w_powf.c: Likewise.
9606 * math/w_powl.c: Likewise.
9607 * math/w_scalb.c (sysv_scalb): Likewise.
9608 * math/w_scalbf.c (sysv_scalbf): Likewise.
9609 * math/w_scalbl.c (sysv_scalbl): Likewise.
9610 * misc/error.c (error_tail): Likewise.
9611 * misc/pselect.c (__pselect): Likewise.
9612 * nis/nis_callback.c (__nis_create_callback): Likewise.
9613 * nis/nis_call.c (__nisfind_server): Likewise.
9614 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9615 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9616 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9617 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9618 * nis/nis_lookup.c (nis_lookup): Likewise.
9619 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9620 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9621 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9622 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9623 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9624 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9625 * nis/nss_compat/compat-initgroups.c (add_group)
9626 (internal_getgrent_r): Likewise.
9627 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9628 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9629 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9630 (internal_getspnam_r): Likewise.
9631 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9632 (_nss_nis_getaliasbyname_r): Likewise.
9633 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9634 (_nss_nis_getntohost_r): Likewise.
9635 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9636 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9637 (_nss_nis_getgrgid_r): Likewise.
9638 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9639 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9640 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9641 (_nss_nis_gethostbyname4_r): Likewise.
9642 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9643 (initgroups_netid): Likewise.
9644 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9645 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9646 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9647 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9648 (_nss_nis_getprotobynumber_r): Likewise.
9649 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9650 (_nss_nis_getsecretkey): Likewise.
9651 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9652 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9653 (_nss_nis_getpwuid_r): Likewise.
9654 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9655 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9656 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9657 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9658 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9659 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9660 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9662 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9663 (_nss_nisplus_getntohost_r): Likewise.
9664 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9665 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9666 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9667 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9669 * nis/nss_nisplus/nisplus-initgroups.c
9670 (_nss_nisplus_initgroups_dyn): Likewise.
9671 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9672 (_nss_nisplus_getnetbyaddr_r): Likewise.
9673 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9674 (_nss_nisplus_getprotobynumber_r): Likewise.
9675 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9676 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9677 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9679 * nis/nss_nisplus/nisplus-service.c
9680 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9681 (_nss_nisplus_getservbyport_r): Likewise.
9682 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9683 (_nss_nisplus_getspnam_r): Likewise.
9684 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9686 * nscd/aicache.c (addhstaiX): Likewise.
9687 * nscd/cache.c (cache_search, prune_cache): Likewise.
9688 * nscd/connections.c (register_traced_file, send_ro_fd)
9689 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9690 (main_loop_epoll): Likewise.
9691 * nscd/grpcache.c (addgrbyX): Likewise.
9692 * nscd/hstcache.c (addhstbyX): Likewise.
9693 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9694 * nscd/mem.c (gc, mempool_alloc): Likewise.
9695 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9696 (addinnetgrX): Likewise.
9697 * nscd/nscd-client.h (__nscd_acquire_maplock)
9698 (__nscd_drop_map_ref): Likewise.
9699 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9700 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9701 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9703 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9704 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9705 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9706 (__nscd_get_map_ref): Likewise.
9707 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9708 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9710 * nscd/pwdcache.c (addpwbyX): Likewise.
9711 * nscd/selinux.c (preserve_capabilities): Likewise.
9712 * nscd/servicescache.c (addservbyX): Likewise.
9713 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9714 * posix/fnmatch.c (fnmatch): Likewise.
9715 * posix/getopt.c (_getopt_internal_r): Likewise.
9716 * posix/glob.c (glob, glob_in_dir): Likewise.
9717 * posix/wordexp.c (exec_comm_child): Likewise.
9718 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9719 (getanswer_r, gaih_getanswer_slice): Likewise.
9720 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9721 * resolv/res_init.c: Likewise.
9722 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9723 * resolv/res_query.c (__libc_res_nquery): Likewise.
9724 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9726 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9727 * stdio-common/perror.c (perror): Likewise.
9728 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9729 * stdio-common/tmpnam.c (tmpnam): Likewise.
9730 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9731 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9732 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9734 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9735 * stdlib/putenv.c (putenv): Likewise.
9736 * stdlib/setenv.c (__add_to_environ): Likewise.
9737 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9738 * stdlib/strtol_l.c (INTERNAL): Likewise.
9739 * string/memmem.c (memmem): Likewise.
9740 * string/strerror.c (strerror): Likewise.
9741 * string/strnlen.c (__strnlen): Likewise.
9742 * string/test-memmem.c (simple_memmem): Likewise.
9743 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9744 * sunrpc/pm_getport.c (__get_socket): Likewise.
9745 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9746 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9747 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9748 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9750 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9751 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9752 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9753 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9754 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9755 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9757 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9759 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9760 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9761 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9762 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9763 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9765 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9766 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9767 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9768 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9769 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9770 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9772 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9774 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9776 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9777 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9778 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9779 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9780 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9781 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9782 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9783 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9784 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9786 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9790 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9791 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9793 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9795 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9797 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9799 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9801 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9803 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9804 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9805 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9806 * sysdeps/posix/sleep.c: Likewise.
9807 * sysdeps/posix/tempname.c: Likewise.
9808 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9809 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9811 * sysdeps/powerpc/powerpc32/dl-machine.h
9812 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9813 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9814 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9815 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9816 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9818 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9819 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9820 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9821 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9822 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9823 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9824 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9825 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9826 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9827 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9828 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9829 (elf_machine_lazy_rel): Likewise.
9830 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9831 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9832 (elf_machine_lazy_rel): Likewise.
9833 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9834 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9835 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9836 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9837 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9838 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9839 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9840 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9842 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9843 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9844 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9845 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9846 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9847 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9848 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9849 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9850 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9851 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9852 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9854 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9855 (__posix_fallocate64_l64): Likewise.
9856 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9857 (posix_fallocate): Likewise.
9858 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9860 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9861 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9862 (getifaddrs_internal): Likewise.
9863 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9864 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9865 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9866 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9867 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9868 (__posix_fallocate64_l64): Likewise.
9869 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9871 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9872 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9873 (__get_clockfreq): Likewise.
9874 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9875 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9876 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9877 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9878 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9879 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9880 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9881 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9883 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9884 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9885 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9886 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9887 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9888 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9889 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9891 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9892 (posix_fallocate): Likewise.
9893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9894 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9895 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9896 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9897 (elf_machine_rela, elf_machine_rela_relative)
9898 (elf_machine_lazy_rel): Likewise.
9899 * time/asctime.c (asctime_internal): Likewise.
9900 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9901 * time/tzset.c (__tzset_parse_tz): Likewise.
9902 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9903 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9904 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9905 * wcsmbs/wcsmbsload.h: Likewise.
9908 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9910 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9911 (arena_get2): Remove THREAD_STATS conditionals.
9912 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9913 (__malloc_stats, int): Likewise.
9915 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9917 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9918 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9920 * manual/setjmp.texi: Fix typos/grammar errors.
9922 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9923 Only return early when n is <= 0. Delete unused return statement.
9925 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9926 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9927 * debug/tst-longjmp_chk3.c: New file.
9929 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9930 (test_main): Replace code with set_fortify_handler call.
9931 * debug/test-strcpy_chk.c: Likewise.
9932 * debug/tst-chk1.c: Likewise.
9933 * debug/tst-longjmp_chk.c: Likewise.
9934 * test-skeleton.c: Include fcntl.h & paths.h
9935 (set_fortify_handler): Define.
9937 * debug/tst-longjmp_chk.c: Add header comment and include
9939 (do_test): Mark static.
9940 (TEST_FUNCTION): Define.
9942 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9943 (IP_PMTUDISC_INTERFACE): Likewise.
9944 (IP_MULTICAST_IF): Likewise.
9945 (IP_MULTICAST_TTL): Likewise.
9946 (IP_MULTICAST_LOOP): Likewise.
9947 (IP_ADD_MEMBERSHIP): Likewise.
9948 (IP_DROP_MEMBERSHIP): Likewise.
9949 (IP_UNBLOCK_SOURCE): Likewise.
9950 (IP_BLOCK_SOURCE): Likewise.
9951 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9952 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9953 (IP_MSFILTER): Likewise.
9954 (MCAST_JOIN_GROUP): Likewise.
9955 (MCAST_BLOCK_SOURCE): Likewise.
9956 (MCAST_UNBLOCK_SOURCE): Likewise.
9957 (MCAST_LEAVE_GROUP): Likewise.
9958 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9959 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9960 (MCAST_MSFILTER): Likewise.
9961 (IP_MULTICAST_ALL): Likewise.
9962 (IP_UNICAST_IF): Likewise.
9964 * timezone/Makefile: Delete $(have-ksh) check.
9965 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9966 * timezone/tzselect.ksh: Add +x mode bits.
9968 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9969 (ANON_INODE_FS_MAGIC): Likewise.
9970 (BDEVFS_MAGIC): Likewise.
9971 (BINFMTFS_MAGIC): Likewise.
9972 (BTRFS_TEST_MAGIC): Likewise.
9973 (CRAMFS_MAGIC_WEND): Likewise.
9974 (DEBUGFS_MAGIC): Likewise.
9975 (ECRYPTFS_SUPER_MAGIC): Likewise.
9976 (EXT3_SUPER_MAGIC): Likewise.
9977 (EXT4_SUPER_MAGIC): Likewise.
9978 (FUTEXFS_SUPER_MAGIC): Likewise.
9979 (HOSTFS_SUPER_MAGIC): Likewise.
9980 (HUGETLBFS_MAGIC): Likewise.
9981 (MINIX3_SUPER_MAGIC): Likewise.
9982 (MTD_INODE_FS_MAGIC): Likewise.
9983 (NILFS_SUPER_MAGIC): Likewise.
9984 (OPENPROM_SUPER_MAGIC): Likewise.
9985 (PIPEFS_MAGIC): Likewise.
9986 (PSTOREFS_MAGIC): Likewise.
9987 (QNX6_SUPER_MAGIC): Likewise.
9988 (RAMFS_MAGIC): Likewise.
9989 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9990 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9991 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9992 (SECURITYFS_MAGIC): Likewise.
9993 (SELINUX_MAGIC): Likewise.
9994 (SMACK_MAGIC): Likewise.
9995 (SOCKFS_MAGIC): Likewise.
9996 (SQUASHFS_MAGIC): Likewise.
9997 (STACK_END_MAGIC): Likewise.
9998 (TMPFS_MAGIC): Likewise.
9999 (USBDEVICE_SUPER_MAGIC): Likewise.
10000 (V9FS_MAGIC): Likewise.
10001 (XENFS_SUPER_MAGIC): Likewise.
10002 (CRAMFS_MAGIC): Fix typo in comment.
10003 (EXT2_SUPER_MAGIC): Update comment.
10004 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10006 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10008 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10009 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10010 * sysdeps/unix/sysv/linux/arm: Move directory from
10011 ports/sysdeps/unix/sysv/linux/arm.
10012 * README: Update listing for arm-*-linux-gnueabi.
10014 * README: Remove mention of am33.
10016 2014-02-07 Roland McGrath <roland@hack.frob.com>
10018 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10019 than the comma operator, to avoid "rhs of comma has no effect"
10021 (__sigfillset, __sigandset, __sigorset): Likewise.
10022 * include/signal.h (__sigemptyset): Likewise.
10023 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10025 2014-02-07 Allan McRae <allan@archlinux.org>
10027 * version.h (RELEASE): Set to "development".
10028 (VERSION): Set to "2.19.90"
10029 * NEWS: Add 2.20 section.
10031 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10034 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10036 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10038 * manual/contrib.texi: Update entry for Carlos O'Donell,
10039 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10041 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10043 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10045 * sysdeps/unix/sysv/linux/kernel-features.h
10046 [__LINUX_KERNEL_VERSION >= 0x020621]
10047 (__ASSUME_PROC_PID_TASK_COMM): Define.
10049 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10052 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10053 conversion when destination buffer does not have enough space.
10054 * libio/tst-ftell-partial-wide.c: New test case.
10055 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10057 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10058 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10059 Leonard and Allan McRae.
10061 2014-02-04 David S. Miller <davem@davemloft.net>
10063 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10066 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10095 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10097 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10098 * shlib-versions: Likewise.
10100 2014-02-04 Roland McGrath <roland@hack.frob.com>
10101 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10103 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10104 (abilist-pattern): New variable, set to %-le.abilist.
10106 * Makerules (abilist-pattern): New variable.
10107 (vpath): Use $(abilist-pattern) in place of %.abilist.
10108 (check-abi-% pattern rule): Likewise.
10109 (check-abi, update-abi): Likewise.
10111 2014-02-04 Eric Wong <normalperson@yhbt.net>
10113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10115 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10117 * manual/startup.texi: Add next, previous, and top entries for
10118 the `Program Arguments' and `Environment Variables' nodes.
10120 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10122 * manual/macros.texi: Add comments before MTASC-safety macros.
10124 * manual/users.texi: Document MTASC-safety properties.
10126 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10127 (pthread_getspecific, pthread_setspecific): Format with
10128 @deftypefun, and add @safety note.
10129 * manual/signal.texi: Move comments that analyze the above
10130 functions to their home place.
10132 2014-02-03 Allan McRae <allan@archlinux.org>
10134 * po/sl.po: Update Slovenian translation from translation project.
10136 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10138 * manual/time.texi (timegm): Add missing blank after @c.
10139 Reported by Joseph Myers <joseph@codesourcery.com>.
10141 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10143 * manual/check-safety.sh: New.
10144 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10146 * manual/terminal.texi: Document MTASC-safety properties.
10148 * manual/filesys.texi: Document MTASC-safety properties.
10150 * manual/errno.texi: Document MTASC-safety properties.
10152 * manual/intro.texi: Document safety identifiers and
10155 * manual/string.texi (wcstok): Fix prototype.
10156 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10158 * manual/time.texi: Document MTASC-safety properties.
10160 * manual/string.texi: Document MTASC-safety properties.
10162 * manual/threads.texi: Document MTASC-safety properties.
10164 * manual/stdio.texi: Document MTASC-safety properties.
10166 * manual/syslog.texi: Document MTASC-safety properties.
10168 * manual/sysinfo.texi: Document MTASC-safety properties.
10170 * manual/startup.texi: Document MTASC-safety properties.
10172 * manual/socket.texi: Document MTASC-safety properties.
10174 * manual/signal.texi: Document MTASC-safety properties.
10176 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10178 * manual/setjmp.texi: Document MTASC-safety properties.
10180 * manual/search.texi: Document MTASC-safety properties.
10182 * manual/resource.texi: Document MTASC-safety properties.
10184 * manual/process.texi: Document MTASC-safety properties.
10186 * manual/platform.texi: Document MTASC-safety properties.
10188 * manual/pipe.texi: Document MTASC-safety properties.
10190 * manual/pattern.texi: Document MTASC-safety properties.
10192 * manual/message.texi: Document MTASC-safety properties.
10195 * manual/memory.texi: Document MTASC-safety properties.
10197 * manual/math.texi: Document MTASC-safety properties.
10199 * manual/locale.texi: Document MTASC-safety properties.
10201 * manual/llio.texi: Document MTASC-safety properties.
10203 * manual/libdl.texi: New.
10205 * manual/lang.texi: Document MTASC-safety properties.
10207 * manual/job.texi: Document MTASC-safety properties.
10209 * manual/getopt.texi: Document MTASC-safety properties.
10211 * manual/ctype.texi: Document MTASC-safety properties.
10213 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10216 * csu/libc-tls.c (static_map): Remove variable.
10217 (__libc_setup_tls): Use main executable's link map for TLS data.
10218 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10219 casing for LM_ID_BASE and GL(dl_nns).
10220 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10221 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10222 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10223 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10224 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10226 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10229 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10231 * manual/debug.texi: Document MTASC-safety properties.
10233 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10236 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10237 of __x86_64__ when disabling x87 inline functions.
10239 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10241 * manual/charset.texi: Document MTASC-safety properties.
10243 * manual/crypt.texi: Document MTASC-safety properties.
10245 * manual/conf.texi: Document MTASC-safety properties.
10247 * manual/arith.texi: Document MTASC-safety properties.
10249 * manual/argp.texi: Document MTASC-safety properties.
10251 * manual/macros.texi: Introduce macros to document multi
10252 thread, asynchronous signal and asynchronous cancellation
10254 * manual/intro.texi: Introduce the properties themselves.
10256 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10258 * sysdeps/sh/sh4/Makefile: New file.
10260 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10262 * math/gen-libm-test.pl ($srcdir): New variable.
10263 ($auto_input): Use it.
10265 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10268 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10269 access beyond array bounds when parsing netgroups file.
10271 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10272 the old buffer before realloc.
10274 2014-01-27 Allan McRae <allan@archlinux.org>
10276 * po/fr.po: Update French translation from translation project.
10278 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10280 * sysdeps/sh/libm-test-ulps: Regenerate.
10282 2014-01-24 David S. Miller <davem@davemloft.net>
10284 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10286 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10288 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10289 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10291 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10294 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10295 string pointers after reallocation.
10297 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10299 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10300 __SH4A__ instead of __SH_FPU_ANY__.
10302 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10304 * sysdeps/sh/fpu_control.h: New file.
10305 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10306 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10307 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10308 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10309 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10310 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10311 * sysdeps/sh/sys/ucontext.h: Remove.
10312 * sysdeps/sh/sys: Remove directory.
10314 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10316 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10317 s390/sys/ucontext.h.
10318 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10319 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10321 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10324 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10326 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10329 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10330 Adjust the vDSO correctly for internal calls.
10331 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10333 2014-01-20 Allan McRae <allan@archlinux.org>
10335 * po/ca.po: Update Catalan translation from translation project.
10337 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10339 * sysdeps/s390/sotruss-lib.c: New file.
10341 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10344 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10345 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10346 local calls issues by not having a PLT stub required for IFUNC calls.
10347 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10349 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10351 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10352 * math/test-fpucw-static.c: Likewise.
10354 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10357 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10359 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10361 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10362 implementation for powerpc.
10364 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10367 * sysdeps/posix/system.c (__libc_system): Do not enable
10368 asynchronous cancellation.
10370 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10373 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10374 handling only for numbers special also in the IEEE case.
10376 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10378 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10380 2014-01-11 Allan McRae <allan@archlinux.org>
10382 * po/bg.po: Update Bulgarian translation from translation project.
10384 * po/de.po: Update German translation from translation project.
10386 2014-01-10 Roland McGrath <roland@hack.frob.com>
10388 * sysdeps/generic/gcc-compat.h: New file.
10390 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10392 * benchtests/asin-inputs: Correct slow inputs.
10393 * benchtests/acos-inputs: Likewise.
10395 2014-01-10 Allan McRae <allan@archlinux.org>
10397 * po:sv.po: Update Swedish translation from translation project.
10399 * po/vi.po: Update Vietnamese translation from translation project.
10401 * po/eo.po: Update Esperanto translation from translation project.
10403 * po/cs.po: Update Czech translation from translation project.
10405 * po/nl.po: Update Dutch translation from translation project.
10407 * po/pl.po: Update Polish translation from translation project.
10409 * po/ru.po: Update Russian translation from translation project.
10411 * po/uk.po: Update Ukrainian translation from translation project.
10413 2014-01-08 Brooks Moses <bmoses@google.com>
10415 * elf/dl-load.c: Fix comment typo.
10417 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10419 * po/header.pot: Rename to...
10420 * po/pot.header: ... this.
10421 * po/Makefile: Use pot.header.
10423 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10424 Maxim Kuvyrkov <maxim@kugelworks.com>
10427 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10428 SRC and DEST against LEN.
10430 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10433 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10435 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10437 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10441 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10444 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10445 for large positive arguments.
10447 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10449 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10451 * math/auto-libm-test-in: Mark various tests with
10452 xfail-rounding:ldbl-128ibm.
10453 * math/auto-libm-test-out: Regenerated.
10456 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10457 Increase overflow threshold.
10459 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10462 * stdio-common/vfprintf.c: Check for integer overflow.
10464 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10466 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10467 the first argument and return value of __tls_get_addr_internal.
10469 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10471 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10472 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10474 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10476 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10477 * sysdeps/s390/rtld-global-offsets.sym: New file.
10478 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10480 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10481 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10482 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10484 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10485 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10491 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10492 halfs of GPRs for high_gprs contexts.
10493 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10494 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10496 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10498 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10500 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10501 for high GPRs (uc_high_gprs) and for future extensions
10503 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10504 for future extensions (__reserved).
10505 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10507 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10508 SC_HIGHGPRS offset definition.
10509 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10510 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10512 * Versions.def: Add GLIBC_2.19 for libpthread.
10513 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10514 siglongjmp for libpthread with GLIBC_2.19 symver.
10515 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10516 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10517 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10518 * sysdeps/s390/__longjmp.c: New file.
10519 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10520 * sysdeps/s390/longjmp.c: New file.
10521 * sysdeps/s390/setjmp.S: New file.
10522 * sysdeps/s390/sigjmp.S: New file.
10523 * sysdeps/s390/v1-longjmp.c: New file.
10524 * sysdeps/s390/v1-setjmp.h: New file.
10525 * sysdeps/s390/v1-sigjmp.c: New file.
10526 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10527 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10528 GLIBC_2.19 version.
10529 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10530 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10531 versioned symbols for ____longjmp_chk.
10532 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10542 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10543 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10544 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10545 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10546 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10547 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10548 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10549 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10550 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10551 * sysdeps/s390/rtld-__longjmp.c: New file.
10552 * sysdeps/s390/rtld-setjmp.S: New file.
10554 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10557 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10558 Return -__logl (x) for small positive arguments without evaluating
10561 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10563 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10565 (__ptrace_peeksiginfo_args): ... this.
10566 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10567 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10568 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10570 2014-01-06 Allan McRae <allan@archlinux.org>
10572 * inet/netinet/in.h: Fix typo in comment.
10574 2014-01-05 Andreas Jaeger <aj@suse.de>
10576 * sysdeps/i386/fpu/libm-test-ulps: Update.
10578 2014-01-05 Allan McRae <allan@archlinux.org>
10580 * po/libc.pot: Regenerated.
10582 * malloc/memusagestat.c: Fix gettext call formatting.
10584 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10586 * nscd/nscd.c: Improve usage() output.
10588 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10590 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10591 * sysdeps/unix/sysv/linux/configure: Regenerated.
10592 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10593 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10595 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10598 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10599 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10601 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10603 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10604 extra tokens at end of #undef directive.
10605 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10606 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10607 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10609 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10611 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10613 * math/auto-libm-test-in: Mark various tests with
10614 xfail-rounding:ldbl-128ibm.
10615 * math/auto-libm-test-out: Regenerated.
10617 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10620 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10621 numbers with subnormal high part when calculating exponent.
10624 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10628 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10630 (__ieee754_acoshl): Use __log1pl not __log1p.
10632 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10634 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10635 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10636 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10637 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10638 (reused_arena, arena_get2): Convert to GNU style.
10639 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10640 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10641 (memalign_check, __malloc_set_state): Likewise.
10642 * malloc/mallocbug.c (main): Likewise.
10643 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10644 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10645 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10646 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10647 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10648 (__posix_memalign, malloc_info): Likewise.
10649 * malloc/malloc.h: Likewise.
10650 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10651 (mallochook, memalignhook, reallochook, mabort): Likewise.
10652 * malloc/mcheck.h: Likewise.
10653 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10654 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10655 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10656 * malloc/morecore.c (__default_morecore): Likewise.
10657 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10658 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10659 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10660 (print_and_abort): Likewise.
10661 * malloc/obstack.h: Likewise.
10662 * malloc/set-freeres.c (__libc_freeres): Likewise.
10663 * malloc/tst-mallocstate.c (main): Likewise.
10664 * malloc/tst-mtrace.c (main): Likewise.
10665 * malloc/tst-realloc.c (do_test): Likewise.
10667 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10670 * nscd/netgroupcache.c (do_notfound): New function.
10671 (addgetnetgrentX): Use it.
10674 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10675 NSS_STATUS_NOTFOUND.
10677 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10679 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10682 2014-01-01 Allan McRae <allan@archlinux.org>
10684 * scripts/update-copyrights: Update configure input file suffix.
10686 * NEWS: Update copyright year.
10687 * catgets/gencat.c: Likewise.
10688 * csu/version.c: Likewise.
10689 * debug/catchsegv.sh: Likewise.
10690 * debug/pcprofiledump.c: Likewise.
10691 * debug/xtrace.sh: Likewise.
10692 * elf/ldconfig.c: Likewise.
10693 * elf/ldd.bash.in: Likewise.
10694 * elf/pldd.c: Likewise.
10695 * elf/sotruss.ksh: Likewise.
10696 * elf/sprof.c: Likewise.
10697 * iconv/iconv_prog.c: Likewise.
10698 * iconv/iconvconfig.c: Likewise.
10699 * locale/programs/locale.c: Likewise.
10700 * locale/programs/localedef.c: Likewise.
10701 * login/programs/pt_chown.c: Likewise.
10702 * malloc/memusage.sh: Likewise.
10703 * malloc/memusagestat.c: Likewise.
10704 * malloc/mtrace.pl: Likewise.
10705 * manual/libc.texinfo: Likewise.
10706 * nscd/nscd.c: Likewise.
10707 * nss/getent.c: Likewise.
10708 * nss/makedb.c: Likewise.
10709 * posix/getconf.c: Likewise.
10710 * scripts/test-installation.pl: Likewise.
10712 * All files with FSF copyright notices: Update copyright dates
10713 using scripts/update-copyrights.
10714 * intl/plural.c: Regenerated.
10715 * locale/programs/charmap-kw.h: Likewise.
10716 * locale/programs/locfile-kw.h: Likewise.
10718 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10720 * sysdeps/unix/sysv/linux/configure: Regenerated.
10721 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10722 the linux/fanotify.h header.
10723 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10724 HAVE_LINUX_FANOTIFY_H is defined.
10726 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10728 * benchtests/cos-inputs: New inputs.
10729 * benchtests/sin-inputs: Likewise.
10731 * benchtests/atan-inputs: New inputs. Fix name of multiple
10732 precision fallback inputs.
10734 * benchtests/atanh-inputs: New inputs.
10735 * benchtests/tanh-inputs: Likewise.
10737 * benchtests/acosh-inputs: New inputs.
10738 * benchtests/asinh-inputs: Likewise.
10740 * benchtests/cosh-inputs: New inputs.
10741 * benchtests/sinh-inputs: Likewise.
10743 * benchtests/acos-inputs: Add more inputs.
10744 * benchtests/asin-inputs: Likewise.
10746 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10749 * manual/arith.texi: Fix spelling.
10750 * manual/charset.texi: Likewise.
10751 * manual/errno.texi: Likewise.
10752 * manual/filesys.texi: Likewise.
10753 * manual/lang.texi: Likewise.
10754 * manual/llio.texi: Likewise.
10755 * manual/locale.texi: Likewise.
10756 * manual/message.texi: Likewise.
10757 * manual/resource.texi: Likewise.
10758 * manual/search.texi: Likewise.
10759 * manual/setjmp.texi: Likewise.
10760 * manual/stdio.texi: Likewise.
10761 * manual/string.texi: Likewise.
10762 * manual/sysinfo.texi: Likewise.
10763 * manual/time.texi: Likewise.
10765 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10767 * po/sl.po: New file.
10769 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10771 * .gitignore: Add core/.gdbinit/.gdb_history.
10773 2013-12-27 Allan McRae <allan@archlinux.org>
10776 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10777 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10779 2013-12-24 Brooks Moses <bmoses@google.com>
10781 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10782 all compilers that claim C++98 compliance, not just GCC.
10783 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10786 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10788 * NEWS: Restore accidentally deleted bug-fix entries.
10790 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10791 Ondřej Bílka <neleai@seznam.cz>
10794 * malloc/malloc.c (_int_free): Perform sanity check only if we
10797 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10800 * manual/stdio.texi (String Input Conversions): Clarify that character
10801 classes are not supported.
10803 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10807 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10810 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10811 Calculate results for small negative arguments directly rather
10812 than using reflection formula with special underflow handling.
10814 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10815 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10816 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10817 (fchflags): Likewise.
10818 (revoke): Likewise.
10819 (setlogin): Likewise.
10820 (sigaltstack): Likewise.
10822 (sigblock): Remove.
10823 (sigsetmask): Likewise.
10825 (waitpid): Likewise.
10826 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10827 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10829 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10830 * sysdeps/unix/bsd/Makefile: ... here.
10831 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10832 * sysdeps/unix/bsd/Versions: ... here.
10833 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10834 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10835 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10836 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10837 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10838 * sysdeps/unix/bsd/sigblock.c: ... here.
10839 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10840 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10841 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10842 * sysdeps/unix/bsd/sigvec.c: ... here.
10843 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10844 * sysdeps/unix/bsd/tcdrain.c: ... here.
10845 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10846 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10847 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10848 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10849 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10850 * sysdeps/unix/bsd/wait.c: ... here.
10851 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10852 * sysdeps/unix/bsd/wait3.c: ... here.
10853 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10854 * sysdeps/unix/bsd/waitpid.c: ... here.
10856 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10859 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10860 round-to-nearest for [!USE_AS_EXPM1L].
10861 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10862 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10863 more tests of exp and exp10. Expect some exp10 tests to miss
10864 exceptions or fail in directed rounding modes.
10865 * math/auto-libm-test-out: Regenerated.
10866 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10867 (exp10_test_tonearest): New function.
10868 (exp10_towardzero_test_data): New array.
10869 (exp10_test_towardzero): New function.
10870 (exp10_downward_test_data): New array.
10871 (exp10_test_downward): New function.
10872 (exp10_upward_test_data): New array.
10873 (exp10_test_upward): New function.
10874 (main): Call the new functions.
10875 * sysdeps/i386/fpu/libm-test-ulps: Update.
10876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10878 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10880 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10881 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10882 * math/auto-libm-test-out: Regenerated.
10883 * math/libm-test.inc (acosh_test_data): Add more tests.
10884 (atanh_test_data): Likewise.
10885 (ceil_test_data): Likewise.
10886 (copysign_test_data): Likewise.
10887 * sysdeps/i386/fpu/libm-test-ulps: Update.
10888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10890 * timezone/checktab.awk: Update from tzcode 2013i.
10891 * timezone/private.h: Likewise.
10892 * timezone/scheck.c: Likewise.
10893 * timezone/tzfile.h: Likewise.
10894 * timezone/tzselect.ksh: Likewise.
10895 * timezone/zdump.c: Likewise.
10896 * timezone/zic.c: Likewise.
10898 * math/auto-libm-test-in: Add tests of cpow.
10899 * math/auto-libm-test-out: Regenerated.
10900 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10901 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10903 (func_calc_desc): Add mpc_cc_c union field.
10904 (test_functions): Add cpow.
10905 (special_fill_2pi): New function.
10906 (special_real_inputs): Add 2pi.
10907 (calc_generic_results): Handle mpc_cc_c.
10908 * sysdeps/i386/fpu/libm-test-ulps: Update.
10909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10911 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10912 csqrt, ctan and ctanh.
10913 * math/auto-libm-test-out: Regenerated.
10914 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10915 (TEST_COND_x86): Likewise.
10916 (ccos_test_data): Use AUTO_TESTS_c_c.
10917 (ccosh_test_data): Likewise.
10918 (cexp_test_data): Likewise.
10919 (clog_test_data): Likewise.
10920 (csqrt_test_data): Likewise.
10921 (ctan_test_data): Likewise.
10922 (ctan_tonearest_test_data): Likewise.
10923 (ctan_towardzero_test_data): Likewise.
10924 (ctan_downward_test_data): Likewise.
10925 (ctan_upward_test_data): Likewise.
10926 (ctanh_test_data): Likewise.
10927 (ctanh_tonearest_test_data): Likewise.
10928 (ctanh_towardzero_test_data): Likewise.
10929 (ctanh_downward_test_data): Likewise.
10930 (ctanh_upward_test_data): Likewise.
10931 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10933 (func_calc_desc): Add mpc_c_c union field.
10934 (FUNC_mpc_c_c): New macro.
10935 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10936 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10938 (special_fill_min_subnorm_p120): New function.
10939 (special_real_inputs): Add min_subnorm_p120.
10940 (calc_generic_results): Handle mpc_c_c.
10941 * sysdeps/i386/fpu/libm-test-ulps: Update.
10942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10944 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10946 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10947 (do_sin_slow): New functions.
10948 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10949 (cslow2, csloww1, csloww2): Use the new functions.
10951 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10952 Use M to change sign of result instead of X. Assume X is
10954 (csloww1): Likewise.
10958 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10959 arguments A and DA.
10963 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10965 (sloww1): Don't adjust sign of DX.
10966 (csloww1): Likewise.
10967 (sloww2): Use X directly and don't adjust sign of DX.
10968 (csloww2): Likewise.
10970 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10972 * math/auto-libm-test-in: Add tests of cabs and carg.
10973 * math/auto-libm-test-out: Regenerated.
10974 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10975 (carg_test_data): Likewise.
10976 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10978 (func_calc_desc): Add mpc_c_f union field.
10979 (test_functions): Add cabs and carg.
10980 (calc_generic_results): Handle mpc_c_f.
10982 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10983 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10984 as a macro and a compat symbol.
10985 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10986 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10987 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10988 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10989 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10990 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10992 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10994 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10996 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10998 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11000 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11002 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11003 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11006 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11010 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11012 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11013 trailing whitespace removed.
11014 * scripts/config.guess: Update to version 2013-11-29.
11015 * scripts/config.sub: Update to version 2013-10-01.
11017 * math/auto-libm-test-in: Add tests of sincos.
11018 * math/auto-libm-test-out: Regenerated.
11019 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11020 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11022 (func_calc_desc): Add mpfr_f_11 union field.
11023 (test_functions): Add sincos.
11024 (calc_generic_results): Handle mpfr_f_11.
11025 * sysdeps/i386/fpu/libm-test-ulps: Update.
11026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11028 2013-12-19 Andreas Schwab <schwab@suse.de>
11030 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11032 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11033 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11034 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11036 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11038 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11039 * sysdeps/i386/fpu/libm-test-ulps: Update.
11040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11043 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11044 round-to-nearest mode when using frndint.
11045 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11046 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11047 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11049 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11051 * math/auto-libm-test-out: Regenerated.
11052 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11053 (TEST_COND_x86): Likewise.
11054 (expm1_tonearest_test_data): New array.
11055 (expm1_test_tonearest): New function.
11056 (expm1_towardzero_test_data): New array.
11057 (expm1_test_towardzero): New function.
11058 (expm1_downward_test_data): New array.
11059 (expm1_test_downward): New function.
11060 (expm1_upward_test_data): New array.
11061 (expm1_test_upward): New function.
11062 (main): Run the new test functions.
11063 * sysdeps/i386/fpu/libm-test-ulps: Update.
11064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11066 * include/features.h: Update comment documenting feature test
11067 macros. Mention _DEFAULT_SOURCE in comment.
11068 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11069 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11070 _BSD_SOURCE and _SVID_SOURCE.
11071 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11072 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11073 !_SVID_SOURCE]: Likewise.
11074 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11075 (__USE_POSIX_IMPLICITLY): Define.
11076 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11077 (_POSIX_SOURCE): Undefine and redefine.
11078 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11079 (_POSIX_C_SOURCE): Likewise.
11080 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11081 (Feature Test Macros): Update documentation of default features.
11083 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11085 * benchtests/Makefile: Add bench-strtok.
11086 * benchtests/bench-strtok.c: New file: strtok benchtest.
11088 2013-12-19 Allan McRae <allan@archlinux.org>
11090 * manual/install.texi: Suppress menu for plain text output.
11091 * INSTALL: Regenerated.
11093 2013-12-18 Brooks Moses <bmoses@google.com>
11096 * misc/getauxval.c: Include errno.h.
11097 (__getauxval): Set errno to ENOENT if the requested type is not
11099 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11100 don't declare with __attribute_const__.
11101 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11102 * manual/startup.texi: Document that getauxval sets errno.
11104 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11106 * math/auto-libm-test-in: Add tests of jn and yn.
11107 * math/auto-libm-test-out: Regenerated.
11108 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11109 (yn_test_data): Likewise.
11110 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11112 (func_calc_desc): Add mpfr_if_f union field.
11113 (FUNC_mpfr_if_f): New macro.
11114 (test_functions): Add jn and yn.
11115 (calc_generic_results): Assert type of second input for
11116 mpfr_ff_f. Handle mpfr_if_f.
11117 (output_for_one_input_case): Disable all checking for arguments
11118 fitting floating-point types in case of an integer argument.
11119 * sysdeps/i386/fpu/libm-test-ulps: Update.
11120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11123 Don't expect fegetround reference in libm.so.
11125 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11127 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11128 $(config-cflags-nofma).
11130 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11132 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11133 * math/auto-libm-test-out: Regenerated.
11136 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11137 to determine exponent and adjust argument to have exponent of -1.
11138 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11140 * math/auto-libm-test-out: Regenerated.
11141 * sysdeps/i386/fpu/libm-test-ulps: Update.
11142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11144 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11146 * manual/probes.texi: Remove cases when per-thread arenas are
11149 2013-12-18 Andreas Schwab <schwab@suse.de>
11151 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11152 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11153 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11154 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11155 * sysdeps/i386/i686/multiarch/Makefile: Update.
11156 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11158 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11160 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11161 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11163 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11166 Support TZ transition times < 00:00:00.
11167 This is needed for version-3 tz-format files; it supports time
11168 stamps past 2037 for America/Godthab (the only entry in the tz
11169 database for which this change is relevant).
11170 * manual/time.texi (TZ Variable): Document transition times
11171 from -167:59:59 through -00:00:01.
11172 * time/tzset.c (tz_rule): Time of day is now signed.
11173 (__tzset_parse_tz): Parse negative time of day.
11175 Document TZ transition times >= 25:00:00.
11176 * manual/time.texi (TZ Variable): Document transition times from
11177 25:00:00 through 167:59:59. These are already supported, and this
11178 support will help with version-3 tz-format files.
11180 * manual/time.texi (TZ Variable): Modernize North America example
11181 to reflect current (i.e., 2007-and-later) daylight saving rules.
11183 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11185 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11187 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11188 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11190 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11191 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11192 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11193 * sysdeps/unix/bsd/clock.c: Likewise.
11194 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11195 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11196 * sysdeps/unix/bsd/init-posix.c: Likewise.
11197 * sysdeps/unix/bsd/poll.c: Likewise.
11198 * sysdeps/unix/bsd/ptsname.c: Likewise.
11199 * sysdeps/unix/bsd/seekdir.c: Likewise.
11200 * sysdeps/unix/bsd/setegid.c: Likewise.
11201 * sysdeps/unix/bsd/seteuid.c: Likewise.
11202 * sysdeps/unix/bsd/setgid.c: Likewise.
11203 * sysdeps/unix/bsd/setrgid.c: Likewise.
11204 * sysdeps/unix/bsd/setruid.c: Likewise.
11205 * sysdeps/unix/bsd/setsid.c: Likewise.
11206 * sysdeps/unix/bsd/setuid.c: Likewise.
11207 * sysdeps/unix/bsd/sigaction.c: Likewise.
11208 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11209 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11210 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11211 * sysdeps/unix/bsd/telldir.c: Likewise.
11212 * sysdeps/unix/bsd/times.c: Likewise.
11213 * sysdeps/unix/bsd/usleep.c: Likewise.
11215 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11216 ($(objpfx)libbsd-compat.a): Remove rule.
11218 * include/features.h (__FAVOR_BSD): Do not define.
11219 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11220 features conflicting with POSIX.
11221 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11222 (_BSD_SOURCE): Remove description of not being a subset of other
11223 feature test macros.
11224 * manual/job.texi (getpgrp): Do not document BSD version.
11225 (getpgid): Do not document by reference to BSD getpgrp.
11226 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11227 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11228 * signal/signal.h [__FAVOR_BSD]: Likewise.
11229 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11230 instead of making contents conditional on [__FAVOR_BSD].
11231 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11233 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11237 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11240 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11241 values below 2**-450, not 2**-500.
11242 * math/auto-libm-test-in: Don't allow spurious underflow from
11244 * math/auto-libm-test-out: Regenerated.
11248 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11249 values of ha and hb and sort them after adjusting subnormal
11251 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11253 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11254 values of ea and eb and sort them after adjusting subnormal
11256 * math/auto-libm-test-in: Do not expect some hypot tests of
11257 subnormals to fail. Add more hypot tests.
11258 * math/auto-libm-test-out: Regenerated.
11260 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11263 * sysdeps/sh/s_fma.c: New file.
11264 * sysdeps/sh/s_fmaf.c: New file.
11265 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11267 * sysdeps/sh/Implies: Add sh/soft-fp.
11269 2013-12-16 Roland McGrath <roland@hack.frob.com>
11271 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11272 level of indirection to members `objname', `errstring', `malloced'.
11273 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11274 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11275 it as the __longjmp argument (just pass 1 instead).
11276 (_dl_catch_error): Initialize C with argument pointers and address of
11277 volatile local ERRCODE rather than copying values out of C at return.
11279 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11281 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11282 * math/auto-libm-test-out: Regenerated.
11283 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11284 (hypot_test_data): Likewise.
11285 (pow_test_data): Likewise.
11286 (pow_tonearest_test_data): Likewise.
11287 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11289 (func_calc_desc): Add mpfr_ff_f union field.
11290 (FUNC_mpfr_ff_f): New macro.
11291 (test_functions): Add atan2, hypot and pow.
11292 (special_fill_min): New function.
11293 (special_fill_minus_min): Likewise.
11294 (special_fill_min_subnorm): Likewise.
11295 (special_fill_minus_min_subnorm): Likewise.
11296 (special_real_inputs): Add min, -min, min_subnorm and
11298 (calc_generic_results): Handle mpfr_ff_f.
11299 * sysdeps/i386/fpu/libm-test-ulps: Update.
11300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11302 2013-12-16 Will Newton <will.newton@linaro.org>
11304 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11305 (Aligned Memory Blocks): Add documentation for aligned_alloc
11306 and suggest it as an alternative to posix_memalign.
11307 (Hooks for Malloc): Document __memalign_hook is also called
11308 for aligned_alloc. (Summary of Malloc): Add summary for
11309 aligned alloc. Document __memalign_hook is also called
11312 2013-12-16 Will Newton <will.newton@linaro.org>
11314 * manual/memory.texi (Malloc Examples): Clarify default
11315 alignment documentation. Suggest posix_memalign rather
11316 than memalign or valloc.
11317 (Aligned Memory Blocks): Remove suggestion to use memalign
11318 or valloc. Remove obsolete comment about BSD.
11319 Document memalign errno values and mark the function obsolete.
11320 Document posix_memalign returned error codes. Mark valloc
11321 as obsolete. (Hooks for Malloc): __memalign_hook is also
11322 called for posix_memalign and valloc.
11323 (Summary of Malloc): Add posix_memalign to function summary.
11324 __memalign_hook is also called for posix_memalign and valloc.
11326 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11328 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11332 (sloww): Use mynumber union. Expand ternary operator into
11333 if-else statements.
11334 (cslow): use mynumber union.
11336 2013-12-16 Allan McRae <allan@archlinux.org>
11338 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11339 * configure: Regenerated.
11341 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11344 * configure.ac: Added --enable-maintainer-mode. Check for
11345 autoconf when enabled.
11346 * configure: Regenerated.
11348 * nscd/nscd.service: New file.
11349 * nscd/nscd.tmpfiles: New file.
11351 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11354 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11355 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11356 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11357 (strstr): Add __strstr_sse2_unaligned ifunc.
11358 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11359 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11360 (strcasestr): Remove __strcasestr_sse42 ifunc.
11361 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11362 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11365 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11367 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11368 * sysdeps/sh/bits/fenv.h: ... here.
11369 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11371 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11373 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11376 hypotf multiarch implementations.
11377 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11378 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11379 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11380 multiarch hypot for PPC64.
11381 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11382 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11383 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11384 multiarch hypotf for PPC64.
11386 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11387 modff multiarch implementations.
11388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11391 multiarch modf for PPC64.
11392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11395 multiarch modff for PPC64.
11397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11398 and logl multiarch implementations.
11399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11402 multiarch logb for PPC64.
11403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11406 multiarch logb for PPC64.
11407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11410 multiarch logb for PPC64.
11412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11413 isinff multiarch implementation.
11414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11418 multiarch isinf for PPC64.
11419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11422 multiarch isinff for PPC64.
11424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11425 finitef multiarch implementation.
11426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11430 multiarch finite for PPC64.
11431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11434 multiarch finitef for PPC64.
11436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11437 lrint multiarch implementation.
11438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11442 multiarch llrint for PPC64.
11443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11444 multiarch lrint for PPC64.
11446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11447 copysignf multiarch implementation.
11448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11453 multiarch copysign for PPC64.
11454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11455 multiarch copysignf for PPC64.
11457 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11458 multiarch implementation.
11459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11467 multiarch llround for PPC64.
11468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11469 multiarch trunc for PPC64.
11470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11471 multiarch truncf for PPC64.
11473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11474 multiarch implementation.
11475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11483 multiarch llround for PPC64.
11484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11485 multiarch round for PPC64.
11486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11487 multiarch roundf for PPC64.
11489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11490 multiarch implementation.
11491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11499 multiarch llround for PPC64.
11500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11501 multiarch floor for PPC64.
11502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11503 multiarch floorf for PPC64.
11505 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11506 multiarch implementation.
11507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11515 multiarch llround for PPC64.
11516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11517 multiarch ceil for PPC64.
11518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11519 multiarch ceilf for PPC64.
11521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11522 multiarch implementation.
11523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11530 multiarch llround for PPC64.
11531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11532 multiarch lround for PPC64.
11534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11535 multiarch implementation.
11536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11543 multiarch isnan for PPC64.
11544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11545 multiarch isnanf for PPC64.
11547 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11548 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11549 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11550 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11551 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11554 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11555 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11556 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11557 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11560 multiarch implementations.
11561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11562 (__libc_ifunc_impl_list): Likewise.
11563 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11564 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11565 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11566 multiarch stpcpy for PPC64.
11568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11569 multiarch implementations.
11570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11571 (__libc_ifunc_impl_list): Likewise.
11572 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11573 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11574 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11575 multiarch strcpy for PPC64.
11577 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11578 redefine function name.
11579 (_wordcopy_fwd_dest_aligned): Likewise.
11580 (_wordcopy_bwd_aligned): Likewise.
11581 (_wordcopy_bwd_dest_aligned): Likewise.
11582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11583 multiarch implementations.
11584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11585 (__libc_ifunc_impl_list): Likewise.
11586 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11587 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11588 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11589 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11590 multiarch wcscpy for PPC64.
11592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11593 multiarch implementations.
11594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11595 (__libc_ifunc_impl_list): Likewise.
11596 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11597 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11598 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11599 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11600 multiarch wcscpy for PPC64.
11602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11603 multiarch implementations.
11604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11605 (__libc_ifunc_impl_list): Likewise.
11606 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11607 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11608 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11609 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11610 multiarch wcsrchr for PPC64.
11612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11613 multiarch implementations.
11614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11615 (__libc_ifunc_impl_list): Likewise.
11616 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11617 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11618 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11619 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11620 multiarch wcschr for PPC64.
11622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11623 multiarch implementations.
11624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11625 (__libc_ifunc_impl_list): Likewise.
11626 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11627 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11628 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11629 multiarch strchrnul for PPC64.
11631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11634 (__libc_ifunc_impl_list): Likewise.
11635 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11636 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11637 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11638 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11644 (__libc_ifunc_impl_list): Likewise.
11645 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11646 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11647 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11648 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11652 multiarch implementations.
11653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11654 (__libc_ifunc_impl_list): Likewise.
11655 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11656 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11657 strncasecmp for PPC64.
11658 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11659 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11660 multiarch strncasecmp_l for PPC64.
11662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11663 multiarch implementations.
11664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11665 (__libc_ifunc_impl_list): Likewise.
11666 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11667 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11668 multiarch strcasecmp for PPC64.
11669 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11671 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11672 multiarch strcasecmp_l for PPC64.
11674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11677 (__libc_ifunc_impl_list): Likewise.
11678 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11679 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11680 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11686 (__libc_ifunc_impl_list): Likewise.
11687 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11688 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11689 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11695 (__libc_ifunc_impl_list): Likewise.
11696 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11697 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11698 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11699 rawmemrchr for PPC64.
11701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11704 (__libc_ifunc_impl_list): Likewise.
11705 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11706 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11707 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11713 (__libc_ifunc_impl_list): Likewise.
11714 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11715 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11716 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11722 (__libc_ifunc_impl_list): Likewise.
11723 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11724 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11725 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11728 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11729 avoid cretion of __bzero symbol.
11730 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11732 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11734 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11737 multiarch implementations.
11738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11739 (__libc_ifunc_impl_list): Likewise.
11740 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11741 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11742 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11743 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11745 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11746 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11747 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11748 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11749 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11751 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11753 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11757 (__libc_ifunc_impl_list): Likewise.
11758 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11759 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11760 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11761 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11765 multiarch for POWER/PPC64.
11766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11767 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11768 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11769 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11770 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11771 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11774 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11777 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11778 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11779 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11780 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11781 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11782 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11783 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11784 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11785 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11786 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11787 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11788 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11789 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11790 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11791 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11800 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11802 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11804 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11806 * benchtests/Makefile (bench): Add exp2 and log2.
11807 (LDLIBS-bench-exp2): Add -lm.
11808 (LDLIBS-bench-log2): Likewise.
11809 * benchtests/exp2-inputs: New inputs file.
11810 * benchtests/log2-inputs: New inputs file.
11811 * benchtests/log-inputs: Add new inputs.
11812 * benchtests/tan-inputs: Likewise.
11814 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11816 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11818 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11819 (csloww2): ... from here.
11821 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11822 instead of structures.
11823 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11824 (POLYNOMIAL): Likewise.
11825 (TAYLOR_SLOW): Likewise.
11831 (sloww1); Likewise.
11832 (sloww2): Likewise.
11833 (bsloww1): Likewise.
11834 (bsloww2): Likewise.
11835 (cslow2): Likewise.
11836 (csloww): Likewise.
11837 (csloww1): Likewise.
11838 (csloww2): Likewise.
11840 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11842 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11843 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11844 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11845 * malloc/hooks.c (realloc_check): Likewise.
11847 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11848 * malloc/arena.c: Remove PER_THREAD conditional.
11849 [!PER_THREAD]: Remove code.
11850 (ptmalloc_unlock_all2): Likewise.
11851 (ptmalloc_init): Likewise.
11852 (_int_new_arena): Likewise.
11853 (arena_get2): Likewise.
11854 * malloc/hooks.c (__malloc_get_state): Likewise.
11855 (__malloc_set_state): Likewise.
11856 * malloc/malloc.c: Likewise.
11857 (struct malloc_state): Likewise.
11858 (struct malloc_par): Likewise.
11859 (__libc_realloc): Likewise.
11860 (__libc_mallopt): Likewise.
11862 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11864 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11866 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11868 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11869 macro to a function. Check for zero perturb_byte.
11870 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11872 * malloc/malloc.c: (force_reg): Remove.
11873 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11874 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11875 force_reg by atomic_forced_read.
11876 * malloc/arena.c (ptmalloc_init): Likewise.
11877 * malloc/hooks.c (top_check): Likewise.
11879 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11883 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11887 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11889 * math/auto-libm-test-in: Add tests of lgamma.
11890 * math/auto-libm-test-out: Regenerated.
11891 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11892 (M_LOG_2_SQRT_PIl): Likewise.
11893 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11894 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11896 (func_calc_desc): Add mpfr_f_f1 union field.
11897 (ARGS1): New macro.
11905 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11906 (test_functions): Add lgamma.
11907 (calc_generic_results): Handle mpfr_f_f1.
11908 * sysdeps/i386/fpu/libm-test-ulps: Update.
11909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11911 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11913 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11914 __mpn_add_n for PowerPC64/POWER7.
11915 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11916 __mpn_sub_n for PowerPC64/POWER7.
11918 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11919 __mpn_addmul_1 for PowerPC64.
11920 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11921 __mpn_submul_1 for PowerPC64.
11922 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11924 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11927 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11930 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11932 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11934 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11936 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11937 add multiarch folders.
11938 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11939 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11940 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11941 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11942 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11943 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11944 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11945 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11946 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11947 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11948 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11957 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11963 multiarch __ieee754_hypot for PowerPC32.
11964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11969 multiarch __ieee754_hypotf for PowerPC32.
11971 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11972 long_double_symbol only if __logbl is defined.
11973 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11974 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11975 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11976 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11977 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11978 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11979 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11980 path for implementation.
11981 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11982 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11984 logb, and logbl multiarch implementations for PowerPC32.
11985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11990 multiarch logb for PowerPC32.
11991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11996 multiarch logbf for PowerPC32.
11997 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12001 multiarch logbl implementation for PowerPC32.
12003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12004 and modff multiarch implementations.
12005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12010 multiarch modf for PowerPC32.
12011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12016 multiarch modff for PowerPC32.
12018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12019 and lrintf multiarch implementations.
12020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12025 multiarch lrint for PowerPC32.
12026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12027 file: multiarch lrintf for PowerPC32.
12029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12030 and lroundf multiarch implementations.
12031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12038 multiarch lround for PowerPC32.
12039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12040 file: multiarch lroundf for PowerPC32.
12042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12043 copysign and copysignf multiarch implementations.
12044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12049 file: multiarch copysign for PowerPC32.
12050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12051 file: multiarch copysignf for PowerPC32.
12053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12054 and truncf multiarch implementations.
12055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12060 multiarch trunc for PowerPC32.
12061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12066 multiarch truncf for PowerPC32.
12068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12069 and roundf multiarch implementations.
12070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12075 multiarch round for PowerPC32.
12076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12081 multiarch roundf for PowerPC32.
12083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12084 and floorf multiarch implementations.
12085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12090 multiarch floor for PowerPC32.
12091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12096 multiarch floorf for PowerPC32.
12098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12099 and ceilf multiarch implementations.
12100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12105 multiarch ceil for PowerPC32.
12106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12111 multiarch ceilf for PowerPC32.
12113 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12115 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12116 FINITEF is defined.
12117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12118 and finitef multiarch implementations.
12119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12124 multiarch finite for PowerPC32.
12125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12128 file: multiarch finitef for PowerPC32.
12130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12131 and isinff multiarch implementations.
12132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12137 multiarch isinf for PowerPC32.
12138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12141 multiarch isinff for PowerPC32.
12143 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12144 alias when __isnan is defined.
12145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12146 and isnanf multiarch implementations.
12147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12156 multiarch isnan for PowerPC32.
12157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12162 multiarch isnanf for PowerPC32.
12164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12165 and sqrtf multiarch implementations.
12166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12171 multiarch sqrt for PowerPC32.
12172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12177 multiarch sqrtf for PowerPC32.
12179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12180 and llroundf multiarch implementations.
12181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12188 file: multiarch llround for PowerPC32.
12189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12190 file: multiarch llroundf for PowerPC32.
12192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12193 multiarch PowerPC32 fpu implementations.
12194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12199 multiarch llrint for PowerPC32.
12200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12209 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12211 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12213 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12215 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12216 multiarch wordcopy for PPC32.
12217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12220 (__libc_ifunc_impl_list): Likewise.
12221 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12222 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12223 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12224 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12225 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12226 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12228 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12229 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12231 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12233 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12235 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12236 multiarch wcscpy for PPC32.
12237 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12239 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12240 (__libc_ifunc_impl_list): Likewise.
12241 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12242 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12243 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12244 sysdeps/powerpc/power6/wcscpy.c.
12246 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12254 multiarch wcsrchr for PPC32.
12255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12258 (__libc_ifunc_impl_list): Likewise.
12259 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12260 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12261 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12262 sysdeps/powerpc/power6/wcsrchr.c.
12264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12270 multiarch wcschr for PPc32.
12271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12274 (__libc_ifunc_impl_list): Likewise.
12275 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12276 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12277 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12278 sysdeps/powerpc/power6/wcschr.c.
12280 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12281 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12283 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12284 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12285 file: multiarch strchr for PPC32.
12286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12289 (__libc_ifunc_impl_list): Likewise.
12291 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12293 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12295 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12297 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12298 multiarch strchrnul for PPC32.
12299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12302 (__libc_ifunc_impl_list): Likewise.
12304 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12306 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12307 multiarch strncasecmp for PPC32.
12308 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12310 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12311 multiarch strncasecmp_l for PPC32.
12312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12313 strncasecmp multiarch objects.
12314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12315 (__libc_ifunc_impl_list): Likewise.
12317 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12319 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12320 multiarch strncasecmp for PPC32.
12321 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12323 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12324 multiarch strcasecmp_l for PPC32.
12325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12328 (__libc_ifunc_impl_list): Likewise.
12330 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12332 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12334 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12335 multiarch strncmp for PPC32.
12336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12339 (__libc_ifunc_impl_list): Likewise.
12341 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12342 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12344 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12345 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12349 (__libc_ifunc_impl_list): Likewise.
12351 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12353 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12355 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12359 (__libc_ifunc_impl_list): Likewise.
12361 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12363 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12365 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12366 multiarch rawmemchr for PPC32.
12367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12370 (__libc_ifunc_impl_list): Likewise.
12372 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12374 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12376 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12377 file: memrchr multiarch for PPC32.
12378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12381 (__libc_ifunc_impl_list): Likewise.
12383 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12384 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12386 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12387 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12388 multiarch memchr for PPC32.
12389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12392 (__libc_ifunc_impl_list): Likewise.
12394 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12395 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12397 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12399 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12400 file: multiarch mempcpy for PPC32.
12401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12404 (__libc_ifunc_impl_list): Likewise.
12406 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12407 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12408 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12409 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12410 multiarch bzero for PPC32.
12411 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12413 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12415 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12416 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12417 file: multiarch memset for PPC32.
12418 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12420 memset multiarch objects.
12421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12422 (__libc_ifunc_impl_list): Likewise.
12424 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12426 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12427 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12429 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12433 (__libc_ifunc_impl_list): Likewise.
12435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12436 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12441 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12443 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12444 multiarch memcpy for PPC32.
12445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12448 (__libc_ifunc_impl_list): Likewise.
12450 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12451 support multiarch for POWER/PPC32.
12452 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12454 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12456 Implies file to make multiarch folder appers before the fpu and
12457 default folder for power4 configuration.
12459 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12461 * scripts/bench.pl: Append volatile keyword to type.
12463 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12465 * sysdeps/sh/sotruss-lib.c: New file.
12466 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12468 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12472 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12475 * math/w_tgamma.c: Include <errno.h>.
12476 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12477 * math/w_tgammaf.c: Include <errno.h>.
12478 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12479 * math/w_tgammal.c: Include <errno.h>.
12480 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12481 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12482 underflow. Add more tgamma tests.
12483 * math/auto-libm-test-out: Regenerated.
12484 * sysdeps/i386/fpu/libm-test-ulps: Update.
12485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12487 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12488 sin, sinh, tan, tanh, tgamma, y0 and y1.
12489 * math/auto-libm-test-out: Regenerated.
12490 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12491 (TEST_COND_x86): Likewise.
12492 (M_E2l): Remove macro.
12494 (M_2_SQRT_PIl): Likewise.
12495 (M_SQRT_PIl): Likewise.
12496 (M_1_DIV_El): Likewise.
12497 (log_test_data): Use AUTO_TESTS_f_f.
12498 (log10_test_data): Likewise.
12499 (log1p_test_data): Likewise.
12500 (log2_test_data): Likewise.
12501 (sin_test_data): Likewise.
12502 (sin_tonearest_test_data): Likewise.
12503 (sin_towardzero_test_data): Likewise.
12504 (sin_downward_test_data): Likewise.
12505 (sin_upward_test_data): Likewise.
12506 (sinh_test_data): Likewise.
12507 (sinh_tonearest_test_data): Likewise.
12508 (sinh_towardzero_test_data): Likewise.
12509 (sinh_downward_test_data): Likewise.
12510 (sinh_upward_test_data): Likewise.
12511 (tan_test_data): Likewise.
12512 (tan_tonearest_test_data): Likewise.
12513 (tan_towardzero_test_data): Likewise.
12514 (tan_downward_test_data): Likewise.
12515 (tan_upward_test_data): Likewise.
12516 (tanh_test_data): Likewise.
12517 (tgamma_test_data): Likewise.
12518 (y0_test_data): Likewise.
12519 (y1_test_data): Likewise.
12520 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12521 (special_real_inputs): Add pi/4.
12522 * sysdeps/i386/fpu/libm-test-ulps: Update.
12523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12525 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12527 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12528 "longjmp_target" static probes.
12529 (__longjmp): Rename to __longjmp_symbol.
12530 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12531 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12532 on which longjmp to generate.
12533 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12534 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12536 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12537 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12538 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12539 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12540 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12541 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12543 __longjmp_symbol based on which __longjmp to generate.
12544 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12546 (setjmp): Rename to setjmp_symbol.
12547 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12548 (_setjmp): Rename to _setjmp_symbol.
12549 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12550 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12551 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12552 which setjmp to generate.
12553 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12554 "longjmp_target" static probes.
12556 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12558 * benchtests/README: Add note about output arguments.
12559 * benchtests/bench-sincos.c: Remove file.
12560 * benchtests/sincos-inputs: New file.
12561 * scripts/bench.pl: Identify output arguments and define
12562 static variables for them.
12564 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12567 * Makefile (INSTALL): Add install-plain.texi as the primary
12569 * manual/install-plain.texi: New file.
12570 * manual/install.texi: Include node directive only for
12571 non-plaintext output.
12573 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12575 * stdlib/longlong.h: Update from GCC.
12579 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12580 * math/w_j0f.c (y0f): Likewise.
12581 * math/w_j0l.c (__y0l): Likewise.
12582 * math/w_j1.c (y1): Likewise.
12583 * math/w_j1f.c (y1f): Likewise.
12584 * math/w_j1l.c (__y1l): Likewise
12585 * math/w_jn.c (yn): Likewise.
12586 * math/w_jnf.c (ynf): Likewise.
12587 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12588 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12589 value for Bessel function domain errors outside _SVID_ mode.
12590 Adjust sign of return value for yn (negative integer, 0).
12591 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12592 by zero in return for negative x and set sign appropriately for
12594 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12595 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12596 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12597 expectations in error cases.
12598 (y1_test_data): Likewise.
12599 (yn_test_data): Likewise.
12600 * sysdeps/i386/fpu/libm-test-ulps: Update.
12601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12603 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12605 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12606 "64" to "64-v1". Add "64-v2".
12607 (abi-64-options): Rename to ...
12608 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12609 (abi-64-condition): Rename to ...
12610 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12611 (abi-64-ld-soname): Rename to ...
12612 (abi-64-v1-ld-soname): ... this.
12613 (abi-64-v2-options): Define.
12614 (abi-64-v2-condition): Likewise.
12615 (abi-64-v2-ld-soname): Likewise.
12616 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12617 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12622 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12623 Alan Modra <amodra@gmail.com>
12625 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12626 New versions for use with the ELFv2 ABI.
12627 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12628 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12630 (struct La_ppc64v2_retval): Likewise.
12631 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12632 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12633 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12634 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12635 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12636 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12637 Do not save or restore CR.
12638 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12639 (_dl_profile_resolve): Do no save or restore CR. Support extended
12640 return values for ELFv2 ABI. Fix location of FPR return registers.
12641 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12642 updated values for _CALL_ELF == 2.
12643 (La_regs, La_retval, int_retval): Likewise.
12645 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12647 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12648 (FRAME_MIN_SIZE_PARM): Likewise.
12649 (FRAME_BACKCHAIN): Likewise.
12650 (FRAME_CR_SAVE): Likewise.
12651 (FRAME_LR_SAVE): Likewise.
12652 (FRAME_TOC_SAVE): Likewise.
12653 (FRAME_PARM_SAVE): Likewise.
12654 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12655 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12656 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12657 (call_mcount_parm_offset): New macro.
12658 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12659 (PROF): Use symbolic stack frame offsets.
12660 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12661 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12662 Redefine in terms of FRAME_MIN_SIZE.
12663 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12664 (_dl_profile_resolve): Likewise. Update comment.
12665 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12666 symbols stack frame offsets.
12667 (__sigsetjmp): Likewise.
12668 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12669 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12670 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12671 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12674 (FRAME_BACKCHAIN): Remove.
12675 (FRAME_CR_SAVE): Likewise.
12676 (FRAME_LR_SAVE): Likewise.
12677 (FRAME_COMPILER_DW): Likewise.
12678 (FRAME_LINKER_DW): Likewise.
12679 (FRAME_TOC_SAVE): Likewise.
12680 (FRAME_PARM_SAVE): Likewise.
12681 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12682 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12683 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12685 (CHECK_SP): Use symbolic stack frame offsets.
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12687 zone" instead of caller's parameter save area for temp storage.
12688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12689 Likewise. Also, use symbolic stack frame offsets.
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12691 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12692 our own stack frame instead of the caller's.
12693 (__socket): Use symbolic stack frame offsets.
12695 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12696 Alan Modra <amodra@gmail.com>
12698 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12700 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12701 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12702 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12704 (elf_machine_fixup_plt): Call it.
12705 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12707 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12708 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12709 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12710 r2 before calling target.
12712 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12713 Alan Modra <amodra@gmail.com>
12715 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12716 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12717 versions of macros to support ELFv2 ABI.
12718 (LOCALENTRY): New macro.
12719 (ENTRY, EALIGN): Use it.
12720 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12721 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12722 fall through into ENTRY entry point.
12723 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12724 Only define if _CALL_ELF != 2.
12726 (elf_machine_matches_host): Verify ABI version matches.
12727 (RTLD_START): Use LOCALENTRY.
12728 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12729 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12730 (PLT_ENTRY_WORDS): New macro.
12731 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12732 (elf_machine_runtime_setup): Support ELFv2 ABI.
12733 (elf_machine_fixup_plt): Likewise.
12734 (elf_machine_plt_conflict): Likewise.
12735 (resolve_ifunc): Likewise.
12736 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12737 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12740 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12742 (makecontext): Support ELFv2 ABI.
12743 * elf/elf.h (EF_PPC64_ABI): Define.
12745 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12747 * sysdeps/powerpc/powerpc64/sysdep.h
12748 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12749 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12750 (ENTRY) [ASSEMBLER]: ... but instead here ...
12751 (EALIGN) [ASSEMBLER]: ... and here.
12752 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12753 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12754 (ENTRY_2) [!ASSEMBLER]: Use it.
12755 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12756 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12757 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12758 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12759 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12761 Use PPC64_LOAD_FUNCPTR.
12763 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12765 2013-12-04 Alan Modra <amodra@gmail.com>
12767 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12768 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12769 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12770 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12772 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12773 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12774 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12775 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12776 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12777 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12779 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12782 (__makecontext): Fix incorrect CFI when backtracing out of
12783 context created via makecontext.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12785 (__setcontext): Fix incorrect CFI during switch to new context.
12786 (__novec_setcontext): Likewise.
12788 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12791 * time/strptime_l.c (__strptime_internal): Allow modifiers
12793 * time/tst-strptime.c (day_tests): Add testcase.
12795 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12797 * scripts/bench.pl: Skip over blank lines.
12799 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12802 * manual/time.texi (Calendar Time): Clarify what timezone functions
12805 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12809 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12811 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12813 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12814 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12815 * debug/memset_chk.c (__memset_chk): Likewise.
12816 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12817 * debug/strncpy_chk.c: Likewise.
12819 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12823 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12824 (__ieee754_exp): For possibly underflowing results, check size of
12825 result and force underflow exception if required.
12826 * math/auto-libm-test-in: Add more tests of exp.
12827 * math/auto-libm-test-out: Regenerated.
12828 * sysdeps/i386/fpu/libm-test-ulps: Update.
12829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12832 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12833 * math/w_exp2f.c (__exp2f): Likewise.
12834 * math/w_exp2l.c (__exp2l): Likewise.
12835 * math/auto-libm-test-in: Do not allow missing errno on exp2
12837 * math/auto-libm-test-out: Regenerated.
12839 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12842 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12843 handle filename validation.
12844 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12847 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12850 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12851 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12852 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12854 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12855 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12856 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12858 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12859 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12860 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12861 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12862 Add more erfc tests.
12863 * math/auto-libm-test-out: Regenerated.
12864 * sysdeps/i386/fpu/libm-test-ulps: Update.
12865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12867 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12868 exp2, expm1, j0 and j1.
12869 * math/auto-libm-test-out: Regenerated.
12870 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12871 (erfc_test_data): Likewise.
12872 (exp_test_data): Likewise.
12873 (exp_tonearest_test_data): Likewise.
12874 (exp_towardzero_test_data): Likewise.
12875 (exp_downward_test_data): Likewise.
12876 (exp_upward_test_data): Likewise.
12877 (exp10_test_data): Likewise.
12878 (exp2_test_data): Likewise.
12879 (expm1_test_data): Likewise.
12880 (j0_test_data): Likewise.
12881 (j1_test_data): Likewise.
12882 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12883 (input_flag_type): Add flag_xfail_rounding.
12884 (input_flags): Add xfail-rounding.
12885 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12886 (output_for_one_input_case): Handle flag_xfail_rounding.
12887 * sysdeps/i386/fpu/libm-test-ulps: Update.
12888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12890 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12893 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12896 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12899 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12900 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12901 (STAP_PROBE0): New macro.
12902 (STAP_PROBE1): Likewise.
12903 (STAP_PROBE2): Likewise.
12904 (STAP_PROBE3): Likewise.
12905 (STAP_PROBE4): Likewise.
12907 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12909 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12911 2013-12-02 Steve Ellcey <sellcey@mips.com>
12913 * benchtests/Makefile (bench): Add sqrt.
12914 (LDLIBS-bench-sqrt): New.
12915 * benchtests/sqrt-input: New.
12917 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12919 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12920 (GAIH_EAI): Likewise.
12921 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12922 (gaih_inet): Likewise.
12923 (getaddrinfo): Don't use GAIH_EAI.
12925 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12926 (struct gaih): Remove definition.
12928 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12930 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12931 Use HERRNOP directly.
12933 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12937 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12939 * math/gen-auto-libm-tests.c (test_functions): Add more
12940 single-argument functions.
12941 (special_fill_pi_2): New function.
12942 (special_fill_minus_pi_2): Likewise.
12943 (special_fill_pi_6): Likewise.
12944 (special_fill_minus_pi_6): Likewise.
12945 (special_fill_pi_3): Likewise.
12946 (special_fill_2pi_3): Likewise.
12947 (special_fill_e): Likewise.
12948 (special_fill_1_e): Likewise.
12949 (special_fill_e_minus_1): Likewise.
12950 (special_real_inputs): Add more special inputs.
12951 (output_for_one_input_case): Do not require ERANGE on underflow to
12952 zero if round-to-nearest result does not underflow to zero, unless
12953 exact results required.
12954 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12955 atan, atanh, cbrt, cos and cosh.
12956 * math/auto-libm-test-out: Regenerated.
12957 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12958 (acos_tonearest_test_data): Likewise.
12959 (acos_towardzero_test_data): Likewise.
12960 (acos_downward_test_data): Likewise.
12961 (acos_upward_test_data): Likewise.
12962 (acosh_test_data): Likewise.
12963 (asin_test_data): Likewise.
12964 (asin_tonearest_test_data): Likewise.
12965 (asin_towardzero_test_data): Likewise.
12966 (asin_upward_test_data): Likewise.
12967 (asinh_test_data): Likewise.
12968 (atan_test_data): Likewise.
12969 (atanh_test_data): Likewise.
12970 (cbrt_test_data): Likewise.
12971 (cos_test_data): Likewise.
12972 (cos_tonearest_test_data): Likewise.
12973 (cos_towardzero_test_data): Likewise.
12974 (cos_downward_test_data): Likewise.
12975 (cos_upward_test_data): Likewise.
12976 (cosh_test_data): Likewise.
12977 (cosh_tonearest_test_data): Likewise.
12978 (cosh_towardzero_test_data): Likewise.
12979 (cosh_downward_test_data): Likewise.
12980 (cosh_upward_test_data): Likewise.
12981 * sysdeps/i386/fpu/libm-test-ulps: Update.
12982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12984 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12987 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12988 * math/w_exp10f.c (__exp10f): Likewise.
12989 * math/w_exp10l.c (__exp10l): Likewise.
12990 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12991 errno settings in existing tests.
12994 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12995 precision control set to double precision.
12996 * sysdeps/i386/fpu/w_sqrt.c: New file.
12997 * math/auto-libm-test-in: Add more tests.
12998 * math/auto-libm-test-out: Update.
13000 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13001 (sqrt_test_tonearest): New function.
13002 (sqrt_towardzero_test_data): New variable.
13003 (sqrt_test_towardzero): New function.
13004 (sqrt_downward_test_data): New variable.
13005 (sqrt_test_downward): New function.
13006 (sqrt_upward_test_data): New variable.
13007 (sqrt_test_upward): New function.
13008 (main): Call the new functions.
13010 * math/gen-auto-libm-tests.c: New file.
13011 * math/auto-libm-test-in: Likewise.
13012 * math/auto-libm-test-out: New generated file.
13013 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13015 (%beautify): Add generated representations of zero.
13016 (top level): Set $auto_input and call parse_auto_input.
13017 (beautify): Remove trailing "f" from hex float constants.
13018 (parse_args): Handle XFAIL_TEST.
13019 (convert_condition): New function.
13020 (or_value): Likewise.
13021 (or_cond_value): Likewise.
13022 (generate_testfile): Handle AUTO_TESTS_* lines.
13023 (parse_auto_input): New function.
13024 * math/libm-test.inc (XFAIL_TEST): New macro.
13025 (ERRNO_UNCHANGED): Update value.
13026 (ERRNO_EDOM): Likewise.
13027 (ERRNO_ERANGE): Likewise.
13028 (IGNORE_RESULT): Likewise.
13029 (TEST_COND_flt_32): New macro.
13030 (TEST_COND_dbl_64): Likewise.
13031 (TEST_COND_ldbl_96_intel): Likewise.
13032 (TEST_COND_ldbl_96_m68k): Likewise.
13033 (TEST_COND_ldbl_128): Likewise.
13034 (TEST_COND_ldbl_128ibm): Likewise.
13035 (TEST_COND_long32): Likewise.
13036 (TEST_COND_long64): Likewise.
13037 (TEST_COND_before_rounding): Likewise.
13038 (TEST_COND_after_rounding): Likewise.
13039 (enable_test): Handle XFAIL_TEST flag.
13040 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13041 with finite results.
13042 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13043 auto-libm-test-out.
13045 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13046 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13049 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13050 __tls_get_addr_internal instead of __tls_get_offset in order to
13051 avoid GOT pointer dependency. Make rtld export
13052 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13053 __tls_get_addr since we are a __tls_get_offset platform.
13054 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13055 GOT pointer being set up before.
13056 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13058 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13060 * manual/math.texi (Errors in Math Functions): Document accuracy
13064 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13065 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13066 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13067 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13068 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13070 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13071 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13073 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13074 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13075 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13076 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13081 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13082 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13083 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13084 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13085 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13087 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13089 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13091 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13092 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13093 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13094 atomic-feupdateenv and flt-rounds.
13095 * sysdeps/powerpc/nofpu/Versions (libc): Add
13096 __atomic_feholdexcept, __atomic_feclearexcept,
13097 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13098 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13099 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13100 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13101 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13106 * manual/arith.texi (FP Exceptions): Document that exceptions may
13107 not be raised when matherr is used.
13108 (Math Error Reporting): Document overflow in directed rounding
13109 modes. Document that errno may not be set when finite values are
13110 returned on overflow. Document intent to set errno on underflow
13111 only for underflow to zero.
13114 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13115 round-to-nearest then adjust result for other rounding modes.
13116 * include/fenv.h (fegetround): Use libm_hidden_proto.
13117 * math/fegetround.c (fegetround): Use libm_hidden_def.
13118 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13119 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13120 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13121 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13123 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13124 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13125 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13126 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13128 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13131 * nss/Versions (libnss_files): Add
13132 _nss_files_gethostbyname3_r.
13133 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13135 (HOST_DB_LOOKUP): Remove macro.
13136 (_nss_files_gethostbyname_r): Implement function without the
13137 HOST_DB_LOOKUP macro.
13138 (_nss_files_gethostbyname2_r): Likewise.
13140 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13142 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13144 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13146 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13147 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13150 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13152 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13153 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13154 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13155 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13156 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13157 __fe_nomask_env_priv and attribute_hidden.
13158 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13159 (libc_feupdateenv_test_ppc): Likewise.
13160 (libc_feresetround_ppc): Likewise.
13161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13162 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13163 compat_symbol macro.
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13165 (__fe_nomask_env): Likewise.
13166 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13168 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13170 * string/Makefile: Remove ifunc tests.
13171 * string/test-string.h: Define TEST_IFUNC.
13172 * string/test-bcopy-ifunc.c: Remove.
13173 * string/test-bzero-ifunc.c: Likewise.
13174 * string/test-memccpy-ifunc.c: Likewise.
13175 * string/test-memchr-ifunc.c: Likewise.
13176 * string/test-memcmp-ifunc.c: Likewise.
13177 * string/test-memcpy-ifunc.c: Likewise.
13178 * string/test-memmem-ifunc.c: Likewise.
13179 * string/test-memmove-ifunc.c: Likewise.
13180 * string/test-mempcpy-ifunc.c: Likewise.
13181 * string/test-memrchr-ifunc.c: Likewise.
13182 * string/test-memset-ifunc.c: Likewise.
13183 * string/test-rawmemchr-ifunc.c: Likewise.
13184 * string/test-stpcpy-ifunc.c: Likewise.
13185 * string/test-stpncpy-ifunc.c: Likewise.
13186 * string/test-strcasecmp-ifunc.c: Likewise.
13187 * string/test-strcasestr-ifunc.c: Likewise.
13188 * string/test-strcat-ifunc.c: Likewise.
13189 * string/test-strchr-ifunc.c: Likewise.
13190 * string/test-strchrnul-ifunc.c: Likewise.
13191 * string/test-strcmp-ifunc.c: Likewise.
13192 * string/test-strcpy-ifunc.c: Likewise.
13193 * string/test-strcspn-ifunc.c: Likewise.
13194 * string/test-strlen-ifunc.c: Likewise.
13195 * string/test-strncasecmp-ifunc.c: Likewise.
13196 * string/test-strncat-ifunc.c: Likewise.
13197 * string/test-strncmp-ifunc.c: Likewise.
13198 * string/test-strncpy-ifunc.c: Likewise.
13199 * string/test-strnlen-ifunc.c: Likewise.
13200 * string/test-strpbrk-ifunc.c: Likewise.
13201 * string/test-strrchr-ifunc.c: Likewise.
13202 * string/test-strspn-ifunc.c: Likewise.
13203 * string/test-strstr-ifunc.c: Likewise.
13205 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13207 * benchtests/Makefile: Remove ifunc tests.
13208 * benchtests/bench-string.h: Define TEST_IFUNC.
13209 * benchtests/bench-bcopy-ifunc.c: Remove.
13210 * benchtests/bench-bzero-ifunc.c: Likewise.
13211 * benchtests/bench-memccpy-ifunc.c: Likewise.
13212 * benchtests/bench-memchr-ifunc.c: Likewise.
13213 * benchtests/bench-memcmp-ifunc.c: Likewise.
13214 * benchtests/bench-memcpy-ifunc.c: Likewise.
13215 * benchtests/bench-memmem-ifunc.c: Likewise.
13216 * benchtests/bench-memmove-ifunc.c: Likewise.
13217 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13218 * benchtests/bench-memrchr-ifunc.c: Likewise.
13219 * benchtests/bench-memset-ifunc.c: Likewise.
13220 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13221 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13222 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13223 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13224 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13225 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13226 * benchtests/bench-strcat-ifunc.c: Likewise.
13227 * benchtests/bench-strchr-ifunc.c: Likewise.
13228 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13229 * benchtests/bench-strcmp-ifunc.c: Likewise.
13230 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13231 * benchtests/bench-strcpy-ifunc.c: Likewise.
13232 * benchtests/bench-strcspn-ifunc.c: Likewise.
13233 * benchtests/bench-strlen-ifunc.c: Likewise.
13234 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13235 * benchtests/bench-strncat-ifunc.c: Likewise.
13236 * benchtests/bench-strncmp-ifunc.c: Likewise.
13237 * benchtests/bench-strncpy-ifunc.c: Likewise.
13238 * benchtests/bench-strnlen-ifunc.c: Likewise.
13239 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13240 * benchtests/bench-strrchr-ifunc.c: Likewise.
13241 * benchtests/bench-strsep-ifunc.c: Likewise.
13242 * benchtests/bench-strspn-ifunc.c: Likewise.
13243 * benchtests/bench-strstr-ifunc.c: Likewise.
13245 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13247 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13249 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13251 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13252 * rt/aio.h: Likewise.
13253 * sysdeps/gnu/bits/utmp.h: Likewise.
13254 * sysdeps/gnu/bits/utmpx.h: Likewise.
13255 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13256 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13257 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13258 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13259 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13260 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13261 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13262 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13263 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13264 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13265 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13266 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13267 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13269 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13270 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13271 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13272 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13273 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13274 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13275 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13276 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13277 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13278 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13279 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13281 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13282 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13283 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13284 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13285 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13286 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13287 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13288 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13289 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13290 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13291 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13292 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13293 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13294 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13295 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13296 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13298 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13301 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13302 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13304 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13306 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13307 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13310 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13312 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13313 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13314 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13315 (__fesetround): Remove define.
13316 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13317 rounding and exceptions handling.
13318 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13319 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13320 (__fe_nomask_env): Likewise.
13321 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13322 __fegetround instead of fegetround.
13323 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13324 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13326 2013-11-21 Roland McGrath <roland@hack.frob.com>
13328 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13331 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13333 2013-11-21 Meador Inge <meadori@codesourcery.com>
13336 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13337 (encrypt_r): Likewise.
13338 * malloc/obstack.h (obstack_free): Likewise.
13339 * posix/unistd.h (encrypt): Likewise.
13341 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13343 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13344 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13345 DL_CALL_DT_FINI() that call the functions directly.
13346 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13347 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13348 * elf/dl-fini.c: Likewise.
13350 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13352 * malloc/hooks.c (memalign_check): Add alignment rounding.
13353 * malloc/malloc.c (_mid_memalign): New function.
13354 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13355 Implement by calling _mid_memalign.
13356 * manual/probes.texi (Memory Allocation Probes): Remove
13357 memory_valloc_retry and memory_pvalloc_retry.
13359 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13361 * locale/programs/locarchive.c (open_archive): Add const
13362 qualifier to ARCHIVEFNAME and copy default fname to
13366 * libio/tst-widetext.input: Rename Oriya to Odia.
13367 * locale/iso-639.def: Likewise.
13369 * manual/probes.texi (Mathematical Function Probes): Add
13370 documentation for sin, cos, asin and acos probes.
13371 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13372 (__sin32): Add slowasin probe.
13373 (__cos32): Add slowacos probe.
13374 (__mpsin): Add slowsin probe.
13375 (__mpcos): Add slowcos probe.
13377 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13380 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13381 thread-local __sim_exceptions_thread and global
13382 __sim_exceptions_global.
13383 (__sim_disabled_exceptions): Change to thread-local
13384 __sim_disabled_exceptions_thread and global
13385 __sim_disabled_exceptions_global.
13386 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13387 and global __sim_round_mode_global.
13388 (__simulate_exceptions): Use thread-local floating-point state and
13389 set global state from it as needed.
13390 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13391 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13392 __sim_round_mode_thread.
13393 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13394 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13395 and global __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 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13402 (SIM_SET_GLOBAL): Likewise.
13403 * sysdeps/powerpc/soft-fp/sfp-machine.h
13404 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13405 __sim_round_mode_thread.
13406 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13407 __sim_disabled_exceptions_thread.
13408 (__sim_exceptions): Change to __sim_exceptions_thread.
13409 (__sim_disabled_exceptions): Change to
13410 __sim_disabled_exceptions_thread.
13411 (__sim_round_mode): Change to __sim_round_mode_thread.
13412 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13413 thread-local floating-point state and set global state from it as
13415 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13416 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13417 (__sim_disabled_exceptions): Remove extern declaration.
13418 (feenableexcept): Use thread-local floating-point state and set
13419 global state from it as needed.
13420 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13421 extern declaration.
13422 (__sim_disabled_exceptions): Likewise.
13423 (__sim_round_mode): Likewise.
13424 (__fegetenv): Use thread-local floating-point state.
13425 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13426 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13427 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13428 floating-point state and set global state from it as needed.
13429 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13430 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13431 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13433 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13434 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13436 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13437 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13438 Use __sim_round_mode_thread.
13439 * math/test-fenv-tls.c: New file.
13440 * math/Makefile (tests): Add test-fenv-tls.
13441 ($(objpfx)test-fenv-tls): Depend on
13442 $(common-objpfx)nptl/libpthread.so.
13444 2013-11-19 Andreas Schwab <schwab@suse.de>
13446 * locale/programs/locale.c (show_info): Decode wordarray elements.
13447 * locale/categories.def (LC_MONETARY): Add element for
13448 _NL_MONETARY_CRNCYSTR.
13449 * locale/C-monetary.c (conversion_rate): New variable.
13450 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13453 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13455 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13456 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13458 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13460 * elf/Makefile (tst-auxv): New test.
13461 * elf/tst-auxv.c: New
13462 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13464 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13466 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13467 (hidden_proto): Caller changed.
13468 (hidden_tls_proto): New macro.
13469 (libc_hidden_tls_proto): Likewise.
13470 (rtld_hidden_tls_proto): Likewise.
13471 (libm_hidden_tls_proto): Likewise.
13472 (libresolv_hidden_tls_proto): Likewise.
13473 (librt_hidden_tls_proto): Likewise.
13474 (libdl_hidden_tls_proto): Likewise.
13475 (libnss_files_hidden_tls_proto): Likewise.
13476 (libnsl_hidden_tls_proto): Likewise.
13477 (libnss_nisplus_hidden_tls_proto): Likewise.
13478 (libutil_hidden_tls_proto): Likewise.
13480 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13483 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13484 (decompose_rpath): Defer expansion to fillin_rpath.
13485 (_dl_init_paths): Pass linkmap to fillin_rpath.
13487 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13489 * benchtests/Makefile: Add strsep.
13490 * benchtests/bench-strsep.c: New file: strsep benchtest.
13491 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13493 2013-11-18 Andreas Schwab <schwab@suse.de>
13495 * locale/programs/locale.c (show_info) [case byte]: Check for
13496 '\377' instead of '\177'.
13497 * locale/C-monetary.c (not_available): Always use "\377".
13498 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13499 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13500 detect unavailable sign_posn locale elements.
13501 * locale/localeconv.c (__localeconv): For grouping and
13502 mon_grouping handle "\177" and "\377" like no grouping.
13503 (INT_ELEM): New macro. Use it to set all numeric members.
13504 * locale/programs/ld-monetary.c (monetary_read)
13505 <tok_mon_grouping>: Normalize single -1 to the empty string.
13506 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13509 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13512 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13513 when we match (nil).
13514 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13516 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13518 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13519 (NO_TEST_INLINE): Update value.
13520 (ERRNO_UNCHANGED): Likewise.
13521 (ERRNO_EDOM): Likewise.
13522 (ERRNO_ERANGE): Likewise.
13523 (IGNORE_RESULT): Likewise.
13524 (check_float_internal): Check signs of NaN results if
13525 TEST_NAN_SIGN used.
13526 (check_complex): Pass TEST_NAN_SIGN flag through to second
13527 check_float_internal call.
13528 (copysign_test_data): Add tests with quiet NaNs as second
13529 argument. Use TEST_NAN_SIGN.
13530 (fabs_test_data): Add test of negative quiet NaN argument. Use
13532 (signbit_test_data): Add tests of quiet NaN argument.
13533 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13535 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13537 (parse_args): Handle function results specified as IGNORE.
13538 * math/libm-test.inc (IGNORE_RESULT): New macro.
13539 (check_float_internal): Do not check numerical result if flag
13541 (check_complex): Pass through IGNORE_RESULT to second
13542 check_float_internal call.
13543 (check_int): Do not check numerical result if flag IGNORE_RESULT
13545 (check_long): Likewise.
13546 (check_bool): Likewise.
13547 (check_longlong): Likewise.
13548 (lrint_test_data): Add tests of infinite and NaN arguments.
13549 (lrint_tonearest_test_data): Likewise.
13550 (lrint_towardzero_test_data): Likewise.
13551 (lrint_downward_test_data): Likewise.
13552 (lrint_upward_test_data): Likewise.
13553 (llrint_test_data): Likewise.
13554 (llrint_tonearest_test_data): Likewise.
13555 (llrint_towardzero_test_data): Likewise.
13556 (llrint_downward_test_data): Likewise.
13557 (llrint_upward_test_data): Likewise.
13558 (lround_test_data): Likewise.
13559 (llround_test_data): Likewise.
13561 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13562 (ERRNO_UNCHANGED): Update value.
13563 (ERRNO_EDOM): Likewise.
13564 (ERRNO_ERANGE): Likewise.
13565 (NO_TEST_INLINE_FLOAT): New macro.
13566 (NO_TEST_INLINE_DOUBLE): Likewise.
13567 (enable_test): New function.
13568 (RUN_TEST_f_f): Check enable_test before running test.
13569 (RUN_TEST_2_f): Likewise.
13570 (RUN_TEST_fff_f): Likewise.
13571 (RUN_TEST_c_f): Likewise.
13572 (RUN_TEST_f_f1): Likewise.
13573 (RUN_TEST_fF_f1): Likewise.
13574 (RUN_TEST_fI_f1): Likewise.
13575 (RUN_TEST_ffI_f1): Likewise.
13576 (RUN_TEST_c_c): Likewise.
13577 (RUN_TEST_cc_c): Likewise.
13578 (RUN_TEST_f_i): Likewise.
13579 (RUN_TEST_f_i_tg): Likewise.
13580 (RUN_TEST_ff_i_tg): Likewise.
13581 (RUN_TEST_f_b): Likewise.
13582 (RUN_TEST_f_b_tg): Likewise.
13583 (RUN_TEST_f_l): Likewise.
13584 (RUN_TEST_f_L): Likewise.
13585 (RUN_TEST_fFF_11): Likewise.
13586 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13588 (cosh_test_data): Likewise.
13589 (exp_test_data): Likewise.
13590 (expm1_test_data): Likewise.
13591 (hypot_test_data): Likewise.
13592 (pow_test_data): Likewise.
13593 (sinh_test_data): Likewise.
13594 (tanh_test_data): Likewise.
13595 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13598 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13599 tests with quiet NaN input and output.
13600 (acosh_test_data): Likewise.
13601 (asin_test_data): Likewise.
13602 (asinh_test_data): Likewise.
13603 (atan_test_data): Likewise.
13604 (atanh_test_data): Likewise.
13605 (atan2_test_data): Likewise.
13606 (cbrt_test_data): Likewise.
13607 (cos_test_data): Likewise.
13608 (cosh_test_data): Likewise.
13609 (erf_test_data): Likewise.
13610 (erfc_test_data): Likewise.
13611 (exp_test_data): Likewise.
13612 (exp10_test_data): Likewise.
13613 (exp2_test_data): Likewise.
13614 (expm1_test_data): Likewise.
13615 (hypot_test_data): Likewise.
13616 (j0_test_data): Likewise.
13617 (j1_test_data): Likewise.
13618 (jn_test_data): Likewise.
13619 (lgamma_test_data): Likewise.
13620 (log_test_data): Likewise.
13621 (log10_test_data): Likewise.
13622 (log1p_test_data): Likewise.
13623 (log2_test_data): Likewise.
13624 (pow_test_data): Likewise.
13625 (scalb_test_data): Likewise.
13626 (sin_test_data): Likewise.
13627 (sincos_test_data): Likewise.
13628 (sinh_test_data): Likewise.
13629 (tan_test_data): Likewise.
13630 (tanh_test_data): Likewise.
13631 (tgamma_test_data): Likewise.
13632 (y0_test_data): Likewise.
13633 (y1_test_data): Likewise.
13634 (yn_test_data): Likewise.
13637 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13638 argument being NaN and avoid computations with second argument in
13640 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13641 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13642 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13644 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13646 * locale/iso-639.def: Add Chitwani Tharu (the).
13648 2013-11-14 Andreas Schwab <schwab@suse.de>
13650 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13651 word instead of empty string.
13653 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13656 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13658 (__fe_nomask_env): Likewise.
13660 2013-11-13 Steve Ellcey <sellcey@mips.com>
13662 * benchtests/bench-timing.h: Include time.h.
13664 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13667 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13669 * sysdeps/unix/sysv/linux/configure: Regenerated.
13671 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13674 * stdlib/strtod_l.c (round_and_return): Do not consider
13675 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13676 exponent one less than half the least subnormal exponent.
13677 * stdlib/test-strtod-round-data: Add more tests.
13678 * stdlib/tst-strtod-round.c (tests): Regenerated.
13680 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13683 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13684 (__fe_mask_env): Likewise.
13685 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13686 libm_hidden_proto and add function prototype.
13687 (__fe_mask_env): Add function prototype.
13688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13689 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13691 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13693 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13695 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13697 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13698 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13700 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13702 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13703 of htab_find_slot().
13705 2013-11-11 David S. Miller <davem@davemloft.net>
13708 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13709 symbol in the non-vis3 case in static builds.
13710 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13711 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13712 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13713 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13715 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13718 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13721 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13723 * benchtests/Makefile: Add bench-strtod.
13724 * benchtests/bench-strtod.c: New file: strtod benchtest
13726 2013-11-11 Andreas Schwab <schwab@suse.de>
13729 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13730 terminating NUL in key length.
13732 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13734 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13735 Add artificial ODP entry for vDSO symbol for PPC64.
13736 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13737 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13739 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13742 * nss/getent.c (services_keys): Recognize services starting with digit.
13744 2013-11-06 David S. Miller <davem@davemloft.net>
13747 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13748 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13750 2013-11-06 Will Newton <will.newton@linaro.org>
13752 * manual/memory.texi (Malloc Examples): Remove register
13753 keyword from examples.
13755 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13757 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13759 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13762 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13763 depending on [__GCC_IEC_559 > 0].
13764 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13765 depending on [__GCC_IEC_559_COMPLEX > 0].
13767 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13769 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13772 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13774 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13776 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13779 * malloc/malloc (malloc_info): Do not handle first bin as
13782 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13784 * locale/iso-639.def: Add Central Nahuatl (nhn).
13786 2013-11-01 Bruno Haible <bruno@clisp.org>
13789 * manual/math.texi (BSD Random): Specify range upper bound as
13792 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13794 * locale/iso-639.def: Add Meadow Mari (mhr).
13796 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13798 [BZ #14752], [BZ #15763]
13799 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13801 * rt/tst_shm.c: Add test for escaping directory.
13803 2013-10-31 Andreas Schwab <schwab@suse.de>
13806 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13807 followed by 'x' as part of digit sequence.
13808 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13810 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13813 * configure.ac: allow GNU Make 4.0 and greater.
13814 * configure: Regenerated.
13816 2013-10-30 Will Newton <will.newton@linaro.org>
13819 * malloc/hooks.c (memalign_check): Limit alignment to the
13820 maximum representable power of two.
13821 * malloc/malloc.c (__libc_memalign): Likewise.
13822 * malloc/tst-memalign.c (do_test): Add test for very
13823 large alignment values.
13824 * malloc/tst-posix_memalign.c (do_test): Likewise.
13826 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13829 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13830 (munmap_chunk): Likewise.
13831 (mremap_chunk): Likewise.
13833 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13836 * stdlib/div.c (div): Remove obsolete code.
13837 * stdlib/ldiv.c (ldiv): Likewise.
13838 * stdlib/lldiv.c (lldiv): Likewise.
13840 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13843 * nss/nss_files/files-XXX.c (get_contents_ret): New
13845 (get_contents): New function.
13846 (internal_getent): Use it. Expand size of LINEBUFLEN.
13848 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13850 * configure.in: Moved to ...
13851 * configure.ac: ... here. Change reference to configure.in
13853 * sysdeps/arm/preconfigure.ac: ... here.
13854 configure.in to configure.ac.
13855 * sysdeps/gnu/configure.in: Moved to ...
13856 * sysdeps/gnu/configure.ac: ... here.
13857 * sysdeps/i386/configure.in: Moved to ...
13858 * sysdeps/i386/configure.ac: ... here.
13859 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13860 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13861 * sysdeps/mach/configure.in: Moved to ...
13862 * sysdeps/mach/configure.ac: ... here.
13863 * sysdeps/mach/hurd/configure.in: Moved to ...
13864 * sysdeps/mach/hurd/configure.ac: ... here.
13865 * sysdeps/powerpc/configure.in: Moved to ...
13866 * sysdeps/powerpc/configure.ac: ... here.
13867 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13868 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13869 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13870 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13871 * sysdeps/s390/s390-32/configure.in: Moved to ...
13872 * sysdeps/s390/s390-32/configure.ac: ... here.
13873 * sysdeps/s390/s390-64/configure.in: Moved to ...
13874 * sysdeps/s390/s390-64/configure.ac: ... here.
13875 * sysdeps/sh/configure.in: Moved to ...
13876 * sysdeps/sh/configure.ac: ... here.
13877 * sysdeps/sparc/configure.in: Moved to ...
13878 * sysdeps/sparc/configure.ac: ... here.
13879 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13880 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13881 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13882 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13883 * sysdeps/x86_64/configure.in: Moved to ...
13884 * sysdeps/x86_64/configure.ac: ... here.
13885 * sysdeps/x86_64/preconfigure.in: Moved to ...
13886 * sysdeps/x86_64/preconfigure.ac: ... here.
13887 * aclocal.m4: Change reference to configure.in to configure.ac.
13888 * config.h.in: Likewise.
13889 * manual/install.texi: Likewise.
13890 * manual/maint.texi: Likewise.
13891 * Makefile: Likewise.
13892 * malloc/Makefile: Likewise.
13893 * nscd/Makefile: Likewise.
13894 * Makeconfig: Change reference to configure.in and
13895 preconfigure.in to configure.ac and preconfigure.ac
13897 * INSTALL: Regenerated.
13898 * configure: Likewise.
13899 * sysdeps/gnu/configure: Likewise.
13900 * sysdeps/i386/configure: Likewise.
13901 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13902 * sysdeps/mach/configure: Likewise.
13903 * sysdeps/mach/hurd/configure: Likewise.
13904 * sysdeps/powerpc/configure: Likewise.
13905 * sysdeps/powerpc/powerpc32/configure: Likewise.
13906 * sysdeps/powerpc/powerpc64/configure: Likewise.
13907 * sysdeps/s390/s390-32/configure: Likewise.
13908 * sysdeps/s390/s390-64/configure: Likewise.
13909 * sysdeps/sh/configure: Likewise.
13910 * sysdeps/sparc/configure: Likewise.
13911 * sysdeps/unix/sysv/linux/configure: Likewise.
13912 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13913 * sysdeps/x86_64/configure: Likewise.
13914 * sysdeps/x86_64/preconfigure: Likewise.
13916 2013-10-29 Andreas Schwab <schwab@suse.de>
13918 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13920 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13922 * benchtests/pow-inputs: Add new inputs.
13924 * benchtests/exp-inputs: Add new inputs.
13926 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13927 conditional check for return value.
13928 (__cos32): Likewise.
13930 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13932 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13933 to provide a boost for large inputs with word alignment.
13934 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13935 implementation based on optimized PPC64 strcpy.
13936 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13937 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13938 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13939 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13941 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13944 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13946 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13949 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13950 * time/tst-strptime.c (day_tests): Add testcase.
13952 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13955 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13957 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13960 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13961 MAP_FAILED on error.
13963 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13966 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13967 heap for large requests.
13969 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13972 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13973 result if the result has no associated interface.
13974 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13975 interface for all 127.X.Y.Z addresses.
13977 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13979 * locale/iso-639.def: Add Ligurian (lij)
13981 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13984 * sunrpc/rpc_main.c: Document rpcgen -5.
13986 2013-10-19 Michael Stahl <mstahl@redhat.com>
13988 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13990 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13993 * posix/glob.c: Match only directories when trailing slash is present.
13994 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13995 (main): Add testcase.
13997 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14000 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14002 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14004 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14005 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14006 AUTH_DES and cindex for FIPS 140-2.
14007 (DES Encryption): Add cindex FIPS 46-3.
14009 * locale/locarchive.h (struct locarhandle): Add fname.
14010 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14011 if an optional argument was specified to --list-archive,
14013 * locale/programs/locarchive.c (show_archive_content): Take new
14014 argument fname and pass it via ah.fname to open_archive.
14015 * locale/programs/localedef.h: Update decl.
14016 (open_archive): If AH->fname is non-null, open that file
14017 rather than the default file name, and don't ignore ENOENT.
14018 (create_archive): Set AH.fname to NULL.
14019 (delete_locales_from_archive): Likewise.
14020 (add_locales_to_archive): Likewise.
14021 * locale/programs/locfile.c (write_all_categories): Likewise.
14023 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14024 Aldy Hernandez <aldyh@redhat.com>
14026 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14027 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14028 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14029 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14030 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14031 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14032 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14033 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14034 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14035 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14036 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14037 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14038 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14039 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14040 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14042 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14044 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14046 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14048 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14049 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14051 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14052 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14053 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14054 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14056 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14057 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14058 * sysdeps/powerpc/preconfigure: Likewise.
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14061 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14062 Replace contents of file by #include of <fenv_libc.h>.
14063 * sysdeps/powerpc/soft-fp/sfp-machine.h
14064 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14066 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14067 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14068 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14069 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14070 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14071 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14075 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14076 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14079 Allow copysignl PLT reference to be missing.
14081 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14082 Joseph Myers <joseph@codesourcery.com
14085 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14087 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14089 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14091 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14092 * elf/tst-tls1.c: Likewise.
14093 * elf/tst-tls10.h: Likewise.
14094 * elf/tst-tls14.c: Likewise.
14095 * elf/tst-tls2.c: Likewise.
14096 * elf/tst-tls3.c: Likewise.
14097 * elf/tst-tls4.c: Likewise.
14098 * elf/tst-tls5.c: Likewise.
14099 * elf/tst-tls6.c: Likewise.
14100 * elf/tst-tls7.c: Likewise.
14101 * elf/tst-tls8.c: Likewise.
14102 * elf/tst-tls9.c: Likewise.
14103 * elf/tst-tlsmod1.c: Likewise.
14104 * elf/tst-tlsmod13.c: Likewise.
14105 * elf/tst-tlsmod13a.c: Likewise.
14106 * elf/tst-tlsmod14a.c: Likewise.
14107 * elf/tst-tlsmod16a.c: Likewise.
14108 * elf/tst-tlsmod16b.c: Likewise.
14109 * elf/tst-tlsmod2.c: Likewise.
14110 * elf/tst-tlsmod3.c: Likewise.
14111 * elf/tst-tlsmod4.c: Likewise.
14112 * elf/tst-tlsmod5.c: Likewise.
14113 * elf/tst-tlsmod6.c: Likewise.
14115 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14118 * malloc/malloc.c: remove checks for statistics.
14120 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14123 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14124 * inet/tst-network.c: Add testcase.
14126 2013-10-17 Andreas Schwab <schwab@suse.de>
14129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14130 to determine canonical name.
14132 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14134 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14135 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14136 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14143 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14146 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14147 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14148 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14149 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14151 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14153 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14154 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14158 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14159 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14164 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14180 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14193 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14196 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14197 make result into a quiet NaN.
14199 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14201 * soft-fp/adddf3.c: Fix horizontal whitespace.
14202 * soft-fp/addsf3.c: Likewise.
14203 * soft-fp/addtf3.c: Likewise.
14204 * soft-fp/divdf3.c: Likewise.
14205 * soft-fp/divsf3.c: Likewise.
14206 * soft-fp/divtf3.c: Likewise.
14207 * soft-fp/double.h: Likewise.
14208 * soft-fp/eqdf2.c: Likewise.
14209 * soft-fp/eqsf2.c: Likewise.
14210 * soft-fp/eqtf2.c: Likewise.
14211 * soft-fp/extenddftf2.c: Likewise.
14212 * soft-fp/extended.h: Likewise.
14213 * soft-fp/extendsfdf2.c: Likewise.
14214 * soft-fp/extendsftf2.c: Likewise.
14215 * soft-fp/extendxftf2.c: Likewise.
14216 * soft-fp/fixdfdi.c: Likewise.
14217 * soft-fp/fixdfsi.c: Likewise.
14218 * soft-fp/fixdfti.c: Likewise.
14219 * soft-fp/fixsfdi.c: Likewise.
14220 * soft-fp/fixsfsi.c: Likewise.
14221 * soft-fp/fixsfti.c: Likewise.
14222 * soft-fp/fixtfdi.c: Likewise.
14223 * soft-fp/fixtfsi.c: Likewise.
14224 * soft-fp/fixtfti.c: Likewise.
14225 * soft-fp/fixunsdfdi.c: Likewise.
14226 * soft-fp/fixunsdfsi.c: Likewise.
14227 * soft-fp/fixunsdfti.c: Likewise.
14228 * soft-fp/fixunssfdi.c: Likewise.
14229 * soft-fp/fixunssfsi.c: Likewise.
14230 * soft-fp/fixunssfti.c: Likewise.
14231 * soft-fp/fixunstfdi.c: Likewise.
14232 * soft-fp/fixunstfsi.c: Likewise.
14233 * soft-fp/fixunstfti.c: Likewise.
14234 * soft-fp/floatdidf.c: Likewise.
14235 * soft-fp/floatdisf.c: Likewise.
14236 * soft-fp/floatditf.c: Likewise.
14237 * soft-fp/floatsidf.c: Likewise.
14238 * soft-fp/floatsisf.c: Likewise.
14239 * soft-fp/floatsitf.c: Likewise.
14240 * soft-fp/floattidf.c: Likewise.
14241 * soft-fp/floattisf.c: Likewise.
14242 * soft-fp/floattitf.c: Likewise.
14243 * soft-fp/floatundidf.c: Likewise.
14244 * soft-fp/floatundisf.c: Likewise.
14245 * soft-fp/floatunditf.c: Likewise.
14246 * soft-fp/floatunsidf.c: Likewise.
14247 * soft-fp/floatunsisf.c: Likewise.
14248 * soft-fp/floatunsitf.c: Likewise.
14249 * soft-fp/floatuntidf.c: Likewise.
14250 * soft-fp/floatuntisf.c: Likewise.
14251 * soft-fp/floatuntitf.c: Likewise.
14252 * soft-fp/fmadf4.c: Likewise.
14253 * soft-fp/fmasf4.c: Likewise.
14254 * soft-fp/fmatf4.c: Likewise.
14255 * soft-fp/gedf2.c: Likewise.
14256 * soft-fp/gesf2.c: Likewise.
14257 * soft-fp/getf2.c: Likewise.
14258 * soft-fp/ledf2.c: Likewise.
14259 * soft-fp/lesf2.c: Likewise.
14260 * soft-fp/letf2.c: Likewise.
14261 * soft-fp/muldf3.c: Likewise.
14262 * soft-fp/mulsf3.c: Likewise.
14263 * soft-fp/multf3.c: Likewise.
14264 * soft-fp/negdf2.c: Likewise.
14265 * soft-fp/negsf2.c: Likewise.
14266 * soft-fp/negtf2.c: Likewise.
14267 * soft-fp/op-1.h: Likewise.
14268 * soft-fp/op-2.h: Likewise.
14269 * soft-fp/op-4.h: Likewise.
14270 * soft-fp/op-8.h: Likewise.
14271 * soft-fp/op-common.h: Likewise.
14272 * soft-fp/quad.h: Likewise.
14273 * soft-fp/single.h: Likewise.
14274 * soft-fp/soft-fp.h: Likewise.
14275 * soft-fp/sqrtdf2.c: Likewise.
14276 * soft-fp/sqrtsf2.c: Likewise.
14277 * soft-fp/sqrttf2.c: Likewise.
14278 * soft-fp/subdf3.c: Likewise.
14279 * soft-fp/subsf3.c: Likewise.
14280 * soft-fp/subtf3.c: Likewise.
14281 * soft-fp/truncdfsf2.c: Likewise.
14282 * soft-fp/trunctfdf2.c: Likewise.
14283 * soft-fp/trunctfsf2.c: Likewise.
14284 * soft-fp/trunctfxf2.c: Likewise.
14285 * soft-fp/unorddf2.c: Likewise.
14286 * soft-fp/unordsf2.c: Likewise.
14287 * soft-fp/unordtf2.c: Likewise.
14289 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14291 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14292 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14294 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14296 * elf/dl-libc.c: Clear initfini list after freeing.
14298 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14300 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14301 * soft-fp/addsf3.c: Likewise.
14302 * soft-fp/addtf3.c: Likewise.
14303 * soft-fp/divdf3.c: Likewise.
14304 * soft-fp/divsf3.c: Likewise.
14305 * soft-fp/divtf3.c: Likewise.
14306 * soft-fp/double.h: Likewise.
14307 * soft-fp/eqdf2.c: Likewise.
14308 * soft-fp/eqsf2.c: Likewise.
14309 * soft-fp/eqtf2.c: Likewise.
14310 * soft-fp/extenddftf2.c: Likewise.
14311 * soft-fp/extended.h: Likewise.
14312 * soft-fp/extendsfdf2.c: Likewise.
14313 * soft-fp/extendsftf2.c: Likewise.
14314 * soft-fp/extendxftf2.c: Likewise.
14315 * soft-fp/fixdfdi.c: Likewise.
14316 * soft-fp/fixdfsi.c: Likewise.
14317 * soft-fp/fixdfti.c: Likewise.
14318 * soft-fp/fixsfdi.c: Likewise.
14319 * soft-fp/fixsfsi.c: Likewise.
14320 * soft-fp/fixsfti.c: Likewise.
14321 * soft-fp/fixtfdi.c: Likewise.
14322 * soft-fp/fixtfsi.c: Likewise.
14323 * soft-fp/fixtfti.c: Likewise.
14324 * soft-fp/fixunsdfdi.c: Likewise.
14325 * soft-fp/fixunsdfsi.c: Likewise.
14326 * soft-fp/fixunsdfti.c: Likewise.
14327 * soft-fp/fixunssfdi.c: Likewise.
14328 * soft-fp/fixunssfsi.c: Likewise.
14329 * soft-fp/fixunssfti.c: Likewise.
14330 * soft-fp/fixunstfdi.c: Likewise.
14331 * soft-fp/fixunstfsi.c: Likewise.
14332 * soft-fp/fixunstfti.c: Likewise.
14333 * soft-fp/floatdidf.c: Likewise.
14334 * soft-fp/floatdisf.c: Likewise.
14335 * soft-fp/floatditf.c: Likewise.
14336 * soft-fp/floatsidf.c: Likewise.
14337 * soft-fp/floatsisf.c: Likewise.
14338 * soft-fp/floatsitf.c: Likewise.
14339 * soft-fp/floattidf.c: Likewise.
14340 * soft-fp/floattisf.c: Likewise.
14341 * soft-fp/floattitf.c: Likewise.
14342 * soft-fp/floatundidf.c: Likewise.
14343 * soft-fp/floatundisf.c: Likewise.
14344 * soft-fp/floatunsidf.c: Likewise.
14345 * soft-fp/floatunsisf.c: Likewise.
14346 * soft-fp/floatuntidf.c: Likewise.
14347 * soft-fp/floatuntisf.c: Likewise.
14348 * soft-fp/floatuntitf.c: Likewise.
14349 * soft-fp/fmadf4.c: Likewise.
14350 * soft-fp/fmasf4.c: Likewise.
14351 * soft-fp/fmatf4.c: Likewise.
14352 * soft-fp/gedf2.c: Likewise.
14353 * soft-fp/gesf2.c: Likewise.
14354 * soft-fp/getf2.c: Likewise.
14355 * soft-fp/ledf2.c: Likewise.
14356 * soft-fp/lesf2.c: Likewise.
14357 * soft-fp/letf2.c: Likewise.
14358 * soft-fp/muldf3.c: Likewise.
14359 * soft-fp/mulsf3.c: Likewise.
14360 * soft-fp/multf3.c: Likewise.
14361 * soft-fp/negdf2.c: Likewise.
14362 * soft-fp/negsf2.c: Likewise.
14363 * soft-fp/negtf2.c: Likewise.
14364 * soft-fp/op-1.h: Likewise.
14365 * soft-fp/op-2.h: Likewise.
14366 * soft-fp/op-4.h: Likewise.
14367 * soft-fp/op-8.h: Likewise.
14368 * soft-fp/op-common.h: Likewise.
14369 * soft-fp/quad.h: Likewise.
14370 * soft-fp/single.h: Likewise.
14371 * soft-fp/soft-fp.h: Likewise.
14372 * soft-fp/sqrtdf2.c: Likewise.
14373 * soft-fp/sqrtsf2.c: Likewise.
14374 * soft-fp/sqrttf2.c: Likewise.
14375 * soft-fp/subdf3.c: Likewise.
14376 * soft-fp/subsf3.c: Likewise.
14377 * soft-fp/subtf3.c: Likewise.
14378 * soft-fp/truncdfsf2.c: Likewise.
14379 * soft-fp/trunctfdf2.c: Likewise.
14380 * soft-fp/trunctfsf2.c: Likewise.
14381 * soft-fp/trunctfxf2.c: Likewise.
14382 * soft-fp/unorddf2.c: Likewise.
14383 * soft-fp/unordsf2.c: Likewise.
14384 * soft-fp/unordtf2.c: Likewise.
14386 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14389 * misc/error.c (error_tail): Fix possible buffer overflow.
14391 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14394 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14397 2013-10-14 P. J. McDermott <pj@pehjota.net>
14400 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14401 testing pipefail option.
14403 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14405 * soft-fp/double.h: Indent preprocessor directives inside #if.
14406 * soft-fp/extended.h: Likewise.
14407 * soft-fp/op-2.h: Likewise.
14408 * soft-fp/op-4.h: Likewise.
14409 * soft-fp/op-common.h: Likewise.
14410 * soft-fp/quad.h: Likewise.
14411 * soft-fp/single.h: Likewise.
14412 * soft-fp/soft-fp.h: Likewise.
14414 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14416 * iconv/iconv_prog.c: Fix typos.
14417 * stdio-common/psiginfo-data.h: Likewise.
14419 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14422 * locale/setlocale.c: Fix typo.
14424 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14427 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14428 signaling NaN arguments.
14429 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14430 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14433 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14434 unordered operands.
14435 * soft-fp/gesf2.c (__gesf2): Likewise.
14436 * soft-fp/getf2.c (__getf2): Likewise.
14437 * soft-fp/ledf2.c (__ledf2): Likewise.
14438 * soft-fp/lesf2.c (__lesf2): Likewise.
14439 * soft-fp/letf2.c (__letf2): Likewise.
14441 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14442 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14443 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14444 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14445 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14446 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14447 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14448 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14449 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14450 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14451 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14452 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14453 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14454 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14455 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14456 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14457 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14458 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14459 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14460 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14461 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14462 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14463 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14464 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14465 * soft-fp/floattidf.c (__floattidf): Likewise.
14466 * soft-fp/floattisf.c (__floattisf): Likewise.
14467 * soft-fp/floattitf.c (__floattitf): Likewise.
14468 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14469 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14470 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14471 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14472 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14473 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14474 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14475 * soft-fp/gesf2.c (__gesf2): Likewise.
14476 * soft-fp/getf2.c (__getf2): Likewise.
14477 * soft-fp/ledf2.c (__ledf2): Likewise.
14478 * soft-fp/lesf2.c (__lesf2): Likewise.
14479 * soft-fp/letf2.c (__letf2): Likewise.
14481 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14482 Undefine and redefine.
14483 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14484 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14485 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14486 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14487 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14488 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14489 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14490 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14491 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14492 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14493 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14494 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14495 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14496 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14497 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14500 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14501 without decrementing exponent if mantissa >= that for the
14502 denominator, not >.
14503 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14504 denominator, not >. Decrement exponent in < case instead of
14505 incrementing in >= case.
14506 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14507 without decrementing exponent if mantissa >= that for the
14508 denominator, not >.
14510 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14511 computing saturated result for unsigned overflow.
14513 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14514 Jeff Law <law@redhat.com>
14516 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14517 (atan2Mp): Add systemtap probe marker.
14518 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14519 (__ieee754_log): Add systemtap probe marker.
14520 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14521 (atanMp): Add systemtap probe marker.
14522 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14523 (tanMp): Add systemtap probe marker.
14524 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14525 (__slowexp): Add systemtap probe marker.
14526 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14527 (__slowpow): Add systemtap probe marker.
14528 * manual/probes.texi: Document probes.
14530 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14533 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14535 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14537 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14538 written to buffer but not flushed.
14539 * libio/iofwrite_u.c: Likewise.
14540 * libio/iopadn.c: Return bytes returned even if EOF was
14542 * libio/iowpadn.c: Likewise.
14543 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14544 if _IO_padn does not write the whole buffer.
14545 [!COMPILE_WPRINTF] (PAD): Likewise.
14547 2013-10-10 David S. Miller <davem@davemloft.net>
14549 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14552 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14554 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14555 instead of FSF address.
14556 * soft-fp/fixdfti.c: Likewise.
14557 * soft-fp/fixsfti.c: Likewise.
14558 * soft-fp/fixtfti.c: Likewise.
14559 * soft-fp/fixunsdfti.c: Likewise.
14560 * soft-fp/fixunssfti.c: Likewise.
14561 * soft-fp/fixunstfti.c: Likewise.
14562 * soft-fp/floattidf.c: Likewise.
14563 * soft-fp/floattisf.c: Likewise.
14564 * soft-fp/floattitf.c: Likewise.
14565 * soft-fp/floatuntidf.c: Likewise.
14566 * soft-fp/floatuntisf.c: Likewise.
14567 * soft-fp/floatuntitf.c: Likewise.
14568 * soft-fp/trunctfxf2.c: Likewise.
14570 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14571 * soft-fp/fixdfti.c: Likewise.
14572 * soft-fp/fixsfti.c: Likewise.
14573 * soft-fp/fixtfti.c: Likewise.
14574 * soft-fp/fixunsdfti.c: Likewise.
14575 * soft-fp/fixunssfti.c: Likewise.
14576 * soft-fp/fixunstfti.c: Likewise.
14577 * soft-fp/floattidf.c: Likewise.
14578 * soft-fp/floattisf.c: Likewise.
14579 * soft-fp/floattitf.c: Likewise.
14580 * soft-fp/floatuntidf.c: Likewise.
14581 * soft-fp/floatuntisf.c: Likewise.
14582 * soft-fp/floatuntitf.c: Likewise.
14583 * soft-fp/trunctfxf2.c: Likewise.
14585 2013-10-10 David S. Miller <davem@davemloft.net>
14587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14589 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14591 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14592 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14593 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14594 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14595 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14596 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14597 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14599 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14600 for NaNs before doing comparisons on argument.
14601 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14604 2013-10-10 Will Newton <will.newton@linaro.org>
14606 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14607 passed to _int_memalign does not overflow.
14609 2013-10-10 Torvald Riegel <triegel@redhat.com>
14611 * scripts/bench.pl: Add include-sources directive.
14612 * benchtests/README: Update documentation.
14614 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14616 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14617 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14618 instead of FP_INIT_ROUNDMODE.
14619 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14620 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14623 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14624 copy class of input value.
14625 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14626 not handle exceptions.
14627 * soft-fp/negsf2.c (__negsf2): Likewise.
14628 * soft-fp/negtf2.c (__negtf2): Likewise.
14629 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14631 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14633 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14634 semicolon. From Linux kernel.
14636 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14638 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14640 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14643 * manual/socket.texi: Added statement about buffer
14644 for gethostbyname2_r.
14646 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14648 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14649 Use .p2align directive instead, throughout.
14650 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14651 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14652 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14653 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14654 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14655 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14656 * sysdeps/x86_64/strchr.S: Likewise.
14657 * sysdeps/x86_64/strrchr.S: Likewise.
14659 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14661 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14663 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14665 * sysdeps/generic/math_private.h (__mpsin1): Remove
14667 (__mpcos1): Likewise.
14668 (__mpsin): New argument __range_reduce.
14669 (__mpcos): Likewise.
14670 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14671 (slow): Use __mpsin and __mpcos.
14675 (sloww1): Likewise.
14676 (sloww2): Likewise.
14677 (bsloww): Likewise.
14678 (bsloww1): Likewise.
14679 (bsloww2): Likewise.
14680 (cslow2): Likewise.
14681 (csloww): Likewise.
14682 (csloww1): Likewise.
14683 (csloww2): Likewise.
14684 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14685 range_reduce. Merge in __mpsin1.
14686 (__mpcos): Likewise.
14687 (__mpsin1): Remove.
14688 (__mpcos1): Likewise.
14690 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14692 * locale/loadlocale.c (_nl_intern_locale_data): Use
14694 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14695 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14696 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14697 obstack data is appropriately aligned.
14698 (obstack_int32_grow_fast): Likewise.
14699 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14700 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14701 (add_locale_uint32_array): Likewise.
14703 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14705 * benchtests/Makefile: Remove ARGLIST and RET variables.
14706 ($(objpfx)bench-%.c): Pass only function name to the script.
14707 * benchtests/README: Update documentation.
14708 * benchtests/acos-inputs: Add new directives.
14709 * benchtests/acosh-inputs: Likewise.
14710 * benchtests/asin-inputs: Likewise.
14711 * benchtests/asinh-inputs: Likewise.
14712 * benchtests/atan-inputs: Likewise.
14713 * benchtests/atanh-inputs: Likewise.
14714 * benchtests/cos-inputs: Likewise.
14715 * benchtests/cosh-inputs: Likewise.
14716 * benchtests/exp-inputs: Likewise.
14717 * benchtests/log-inputs: Likewise.
14718 * benchtests/pow-inputs: Likewise.
14719 * benchtests/rint-inputs: Likewise.
14720 * benchtests/sin-inputs: Likewise.
14721 * benchtests/sinh-inputs: Likewise.
14722 * benchtests/tan-inputs: Likewise.
14723 * benchtests/tanh-inputs: Likewise.
14724 * scripts/bench.pl: Add support for new directives.
14726 2013-10-07 Alan Modra <amodra@gmail.com>
14728 * README: Fix careless merge.
14730 2013-10-05 Alan Modra <amodra@gmail.com>
14732 * NEWS: Mention powerpc64le support and bugs fixed.
14733 * README: Both big-endian and little-endian powerpc64 supported.
14735 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14737 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14738 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14739 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14740 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14742 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14744 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14747 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14749 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14750 Move -mhard-float appending from
14751 ports/sysdeps/powerpc/powerpc32/Makefile.
14752 [$(with-fp) = yes] (ASFLAGS): Likewise.
14753 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14754 * sysdeps/powerpc/nofpu: Move directory from
14755 ports/sysdeps/powerpc/nofpu.
14756 * sysdeps/powerpc/soft-fp: Move directory from
14757 ports/sysdeps/powerpc/soft-fp.
14758 * sysdeps/powerpc/powerpc32/405: Move directory from
14759 ports/sysdeps/powerpc/powerpc32/405.
14760 * sysdeps/powerpc/powerpc32/440: Move directory from
14761 ports/sysdeps/powerpc/powerpc32/440.
14762 * sysdeps/powerpc/powerpc32/464: Move directory from
14763 ports/sysdeps/powerpc/powerpc32/464.
14764 * sysdeps/powerpc/powerpc32/476: Move directory from
14765 ports/sysdeps/powerpc/powerpc32/476.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14767 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14769 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14771 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14773 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14775 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14776 * README: Update for powerpc-*-linux-gnu software floating point
14779 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14780 case to powerpc/powerpc32*.
14781 * sysdeps/unix/sysv/linux/configure: Regenerated.
14783 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14784 (_FPU_MASK_OM): Define as 0x04.
14785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14793 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14796 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14799 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14800 and setcontext_e500.
14802 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14804 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14806 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14808 * manual/threads.texi (Default Thread Attributes): Fix typo.
14810 2013-10-04 Will Newton <will.newton@linaro.org>
14812 * malloc/Makefile: Add tst-memalign.
14813 * malloc/tst-memalign.c: New file.
14815 * malloc/tst-posix_memalign.c: Add comments.
14816 (do_test): Add comments and call free on all potentially
14817 allocated pointers. Add space after cast.
14819 * malloc/tst-pvalloc.c: Add comments.
14820 (do_test): Add comments and call free on all potentially
14821 allocated pointers. Remove duplicate check for NULL pointer.
14822 Add space after cast.
14824 * malloc/tst-valloc.c: Add comments.
14825 (do_test): Add comments and call free on all potentially
14826 allocated pointers. Remove duplicate check for NULL pointer.
14827 Add space after cast.
14829 2013-10-04 Alan Modra <amodra@gmail.com>
14831 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14832 Use stdint types in rather than __attribute__((mode())).
14833 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14835 2013-10-04 Alan Modra <amodra@gmail.com>
14837 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14838 Correct handling of unaligned relocs for little-endian.
14839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14841 2013-10-04 Alan Modra <amodra@gmail.com>
14843 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14844 * configure: Regenerate.
14845 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14846 * shlib-versions: Likewise.
14848 2013-10-04 Alan Modra <amodra@gmail.com>
14850 * string/tester.c (test_memrchr): Increment reported test cycle.
14852 2013-10-04 Alan Modra <amodra@gmail.com>
14854 * string/test-memcpy.c (do_one_test): When reporting errors, print
14855 string address and don't overrun end of string.
14857 2013-10-04 Alan Modra <amodra@gmail.com>
14859 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14860 insrdi. Make better use of reg selection to speed exit slightly.
14861 Schedule entry path a little better. Remove useless "are we done"
14862 checks on entry to main loop. Handle wrapping around zero address.
14863 Correct main loop count. Handle single left-over word from main
14864 loop inline rather than by using loop_small. Remove extra word
14865 case in loop_small caused by wrong loop count. Add little-endian
14867 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14868 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14870 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14871 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14872 support. Avoid rlwimi.
14873 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14875 2013-10-04 Alan Modra <amodra@gmail.com>
14877 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14878 insrdi. Formatting.
14879 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14880 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14881 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14882 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14883 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14884 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14886 2013-10-04 Alan Modra <amodra@gmail.com>
14888 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14889 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14890 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14891 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14892 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14893 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14894 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14895 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14896 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14897 use of regs. Use power7 mtocrf. Tidy function tails.
14899 2013-10-04 Alan Modra <amodra@gmail.com>
14901 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14902 Formatting. Consistently use rXXX register defines or rN defines.
14903 Use early exit labels that avoid restoring unused non-volatile regs.
14904 Make cr field use more consistent with rWORDn compares. Rename
14905 regs used as shift registers for unaligned loop, using rN defines
14906 for short lifetime/multiple use regs.
14907 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14908 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14909 addi 1,1,64 to pop stack frame. Simplify return value code.
14910 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14912 2013-10-04 Alan Modra <amodra@gmail.com>
14914 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14915 support. Correct typos, formatting. Optimize tail. Use insrdi
14916 rather than rlwimi.
14917 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14918 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14919 little-endian support. Correct typos.
14920 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14921 rather than rlwimi.
14922 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14923 in loop and entry code to keep "and." results.
14924 (strchr): Add little-endian support. Comment. Move cntlzd
14926 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14928 2013-10-04 Alan Modra <amodra@gmail.com>
14930 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14931 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14932 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14933 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14935 2013-10-04 Alan Modra <amodra@gmail.com>
14937 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14938 (rTMP): Define as r11.
14939 (strcmp): Add little-endian support. Optimise tail.
14940 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14941 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14942 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14943 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14944 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14945 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14946 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14948 2013-10-04 Alan Modra <amodra@gmail.com>
14950 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14951 little-endian support. Remove unnecessary "are we done" tests.
14952 Handle "s" wrapping around zero and extremely large "size".
14953 Correct main loop count. Handle single left-over word from main
14954 loop inline rather than by using small_loop. Correct comments.
14955 Delete "zero" tail, use "end_max" instead.
14956 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14958 2013-10-04 Alan Modra <amodra@gmail.com>
14960 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14961 support. Don't branch over align.
14962 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14963 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14964 support. Rearrange tmp reg use to suit. Comment.
14965 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14967 2013-10-04 Alan Modra <amodra@gmail.com>
14969 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14971 2013-10-04 Alan Modra <amodra@gmail.com>
14973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14974 conditional form of branch and link when obtaining pc.
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14977 2013-10-04 Alan Modra <amodra@gmail.com>
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14984 2013-10-04 Alan Modra <amodra@gmail.com>
14986 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14987 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14988 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14989 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14990 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14991 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14992 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14993 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14994 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14995 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14997 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14998 Alistair Popple <alistair@ozlabs.au.ibm.com>
14999 Alan Modra <amodra@gmail.com>
15002 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15003 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15004 _dl_hwcap access for little-endian.
15005 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15006 destroy vmx regs when saving unaligned.
15007 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15008 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15009 destroy vmx regs when saving unaligned.
15011 2013-10-04 Alan Modra <amodra@gmail.com>
15013 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15014 Don't use a union to pack hi/low value.
15016 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15018 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15020 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15021 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15022 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15023 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15024 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15026 2013-10-04 Alan Modra <amodra@gmail.com>
15028 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15029 constants to usual value for .cst8 section, and remove redundant
15031 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15032 constant for 0x1p52. Load little-endian words of double from
15033 correct stack offsets.
15035 2013-10-04 Alan Modra <amodra@gmail.com>
15037 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15038 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15039 words of double from correct stack offsets.
15040 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15041 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15042 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15043 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15044 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15045 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15046 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15047 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15048 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15049 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15050 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15051 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15052 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15053 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15054 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15055 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15056 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15058 2013-10-04 Alan Modra <amodra@gmail.com>
15060 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15061 64-bit int/double union.
15062 (_FPU_SETCW): Likewise.
15063 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15064 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15066 2013-10-04 Alan Modra <amodra@gmail.com>
15068 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15069 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15071 2013-10-04 Alan Modra <amodra@gmail.com>
15073 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15074 use vector int constants.
15075 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15077 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15079 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15080 array with long long.
15081 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15082 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15083 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15084 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15085 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15086 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15087 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15088 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15089 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15090 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15091 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15092 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15093 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15095 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15097 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15098 (__signbit): Likewise. Correct for little-endian.
15099 (__signbitl): Call __signbit.
15100 (lrint): Correct for little-endian.
15101 (lrintf): Call lrint.
15103 2013-10-04 Alan Modra <amodra@gmail.com>
15105 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15106 union 32-bit int array member with 64-bit int array.
15107 (t515, tm256): Double rather than long double.
15108 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15110 2013-10-04 Alan Modra <amodra@gmail.com>
15112 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15114 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15115 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15116 version of math_ldbl.h.
15118 2013-10-04 Alan Modra <amodra@gmail.com>
15120 [BZ #15734], [BZ #15735]
15121 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15122 all uses of ieee875 long double macros and unions. Simplify test
15123 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15124 ldbl_extract_mantissa value for ix,iy exponents. Properly
15125 normalize after ldbl_extract_mantissa, and don't add hidden bit
15126 already handled. Don't treat low word of ieee854 mantissa like
15127 low word of IBM long double and mask off bit when testing for
15129 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15130 all uses of ieee875 long double macros and unions. Simplify tests
15131 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15132 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15133 two1022, instead use their values. Recognise that tests for large
15134 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15135 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15136 Rewrite all uses of ieee875 long double macros and unions. Simplify
15137 test for 0.0L and nan. Correct negation.
15138 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15139 ieee875 long double macros and unions. Correct output for large
15140 magnitude x. Correct absolute value calculation.
15141 (__erfcl): Likewise.
15142 * math/libm-test.inc: Add tests for errors discovered in IBM long
15143 double versions of fmodl, remainderl, erfl and erfcl.
15145 2013-10-04 Alan Modra <amodra@gmail.com>
15147 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15148 all uses of ieee854 long double macros and unions. Simplify tests
15149 for long doubles that are fully specified by the high double.
15150 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15152 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15153 Remove dead code too.
15154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15155 (__ieee754_ynl): Likewise.
15156 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15157 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15158 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15159 Remove dead code too.
15160 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15161 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15162 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15163 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15165 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15167 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15168 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15169 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15170 Comment on variable precision.
15171 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15172 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15174 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15175 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15176 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15177 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15178 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15180 2013-10-04 Alan Modra <amodra@gmail.com>
15182 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15183 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15184 all uses of ieee854 long double macros and unions.
15185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15186 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15187 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15188 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15189 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15190 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15192 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15193 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15194 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15195 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15196 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15197 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15198 Simplify sign and nan test too.
15199 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15200 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15201 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15202 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15204 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15205 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15207 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15208 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15209 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15210 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15211 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15212 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15214 2013-10-04 Alan Modra <amodra@gmail.com>
15216 * stdio-common/printf_size.c (__printf_size): Don't use
15217 union ieee854_long_double in fpnum union.
15218 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15219 signbit macro to retrieve sign from long double.
15220 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15221 retrieve sign from long double.
15222 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15223 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15224 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15225 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15226 * math/test-misc.c (main): Don't use union ieee854_long_double.
15228 2013-10-04 Alan Modra <amodra@gmail.com>
15231 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15232 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15233 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15234 calculation. Remove unnecessary test for denormal exponent.
15235 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15236 Correct handling of denormals. Avoid undefined shift behaviour.
15237 Correct normalisation of low mantissa when low double is denormal.
15238 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15239 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15240 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15241 Correct normalisation of low mantissa. Test for overflow of high
15242 mantissa and normalise.
15243 (ldbl_nearbyint): Use more readable constant for two52.
15244 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15245 (__mpn_construct_long_double): Fix test for overflow of high
15246 mantissa and correct normalisation. Avoid undefined shift.
15248 2013-10-04 Alan Modra <amodra@gmail.com>
15250 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15251 (union ibm_extended_long_double): Define as an array of ieee754_double.
15252 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15253 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15254 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15255 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15256 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15257 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15259 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15260 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15264 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15266 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15267 page size instead of calling getpagesize.
15269 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15270 (LOCFILE_ALIGN_MASK): Likewise.
15271 (LOCFILE_ALIGN_UP): Likewise.
15272 (LOCFILE_ALIGNED_P): Likewise.
15273 * locale/programs/ld-collate.c (collate_output): Use the new
15274 macros instead of __alignof__ (int32_t).
15275 * locale/weight.h (findidx): Likewise.
15277 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15280 * manual/string.texi: Fix strncat and wcsncat.
15282 2013-10-03 Brooks Moses <bmoses@google.com>
15285 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15286 * Makerules: ...here, and adjust associated comments.
15288 2013-10-02 Will Newton <will.newton@linaro.org>
15290 * malloc/Makefile: Add tst-pvalloc.
15291 * malloc/tst-pvalloc.c: New file.
15293 2013-10-02 Will Newton <will.newton@linaro.org>
15295 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15296 improve test coverage.
15298 2013-10-02 Will Newton <will.newton@linaro.org>
15300 * malloc/Makefile: Add tst-posix_memalign.
15301 * malloc/tst-posix_memalign.c: New file.
15303 2013-10-01 Eric Blake <eblake@redhat.com>
15305 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15306 Use __THROWNL rather than __THROW on static functions.
15308 2013-09-30 Petr Machata <pmachata@redhat.com>
15310 * elf/elf.h (R_AARCH64_ABS16): New macro.
15311 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15312 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15313 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15314 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15315 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15316 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15317 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15318 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15319 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15320 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15321 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15322 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15323 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15324 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15325 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15326 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15327 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15328 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15329 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15330 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15331 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15332 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15333 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15334 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15335 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15336 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15337 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15338 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15339 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15340 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15341 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15342 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15343 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15344 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15345 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15346 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15347 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15348 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15349 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15350 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15351 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15352 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15353 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15354 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15355 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15356 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15357 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15358 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15359 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15360 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15361 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15362 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15363 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15364 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15365 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15366 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15367 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15368 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15369 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15370 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15371 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15372 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15373 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15374 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15375 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15376 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15377 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15378 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15379 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15380 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15381 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15382 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15383 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15384 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15385 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15386 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15387 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15388 (R_AARCH64_TLSDESC_LDR): Likewise.
15389 (R_AARCH64_TLSDESC_ADD): Likewise.
15390 (R_AARCH64_TLSDESC_CALL): Likewise.
15392 2013-09-30 Andreas Schwab <schwab@suse.de>
15395 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15396 the nss database lookup.
15397 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15400 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15402 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15404 2013-09-28 P. J. McDermott <pj@pehjota.net>
15406 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15407 ${Bash-specific parameter/pattern/string} parameter expansion.
15408 * sysdeps/unix/make-syscalls.sh: Likewise.
15410 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15412 * sysdeps/sh/stackguard-macros.h: New file.
15414 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15418 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15419 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15420 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15421 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15423 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15425 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15426 Fix thread ID register.
15428 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15430 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15431 [POSIX || UNIX98]: Require rather than permitting all symbols from
15433 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15434 element of struct sched_param.
15435 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15436 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15437 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15438 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15441 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15443 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15444 argument calculation.
15446 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15448 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15450 [POSIX] (pthread_attr_t): Do not require type.
15451 [POSIX] (pthread_cond_t): Likewise.
15452 [POSIX] (pthread_condattr_t): Likewise.
15453 [POSIX] (pthread_key_t): Likewise.
15454 [POSIX] (pthread_mutex_t): Likewise.
15455 [POSIX] (pthread_mutexattr_t): Likewise.
15456 [POSIX] (pthread_once_t): Likewise.
15457 [POSIX] (pthread_t): Likewise.
15458 [POSIX-based standards] (pthread_atfork): Expect function.
15460 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15461 Richard Sandiford <richard@codesourcery.com>
15463 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15464 (swap_endianness_p): New extern variable.
15465 (set_big_endian): New inline function.
15466 (maybe_swap_uint32): Likewise.
15467 (maybe_swap_uint32_array): Likewise.
15468 (maybe_swap_uint32_obstack): Likewise.
15469 * locale/programs/locfile.c: Include <stdbool.h>.
15470 (swap_endianness_p): New variable.
15471 (add_locale_uint32): Call maybe_swap_uint32.
15472 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15473 (write_locale_data): Call maybe_swap_uint32_array.
15474 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15476 (obstack_int32_grow_fast): Likewise.
15477 (output_weightwc): Call maybe_swap_uint32_obstack.
15478 (collate_output): Likewise.
15479 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15480 (OPT_LITTLE_ENDIAN): Likewise.
15481 (options): Add --little-endian and --big-endian options.
15482 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15483 * locale/programs/locarchive.c: Include "locfile.h".
15487 (create_archive): Use the new macros to access fields of
15488 structures directly mapped from or written to locale archives.
15489 (oldlocrecentcmp): Likewise.
15490 (enlarge_archive): Likewise.
15491 (insert_name): Likewise.
15492 (add_alias): Likewise.
15493 (add_locale): Likewise.
15494 (delete_locales_from_archive): Likewise.
15495 (show_archive_content): Likewise.
15496 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15499 2013-09-24 Roland McGrath <roland@hack.frob.com>
15501 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15502 http://www.gnu.org/doc/freemanuals.texi.
15503 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15505 2013-09-24 Will Newton <will.newton@linaro.org>
15507 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15510 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15512 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15515 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15517 * manual/threads.texi (POSIX Threads): Fix a typo.
15519 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15522 * string/tst-strcoll-overflow.c: New test case.
15523 * string/Makefile (xtests): Add tst-strcoll-overflow.
15524 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15525 cache if string sizes may cause integer overflow.
15528 * string/strcoll_l.c (coll_seq): New members rule, idx,
15529 save_idx and back_us.
15530 (get_next_seq_nocache): New function.
15531 (do_compare_nocache): New function.
15532 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15535 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15538 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15539 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15540 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15543 * elf/Makefile (tests): Add tst-ptrguard1.
15544 (tests-static): Add tst-ptrguard1-static.
15545 (tst-ptrguard1-ARGS): Define.
15546 (tst-ptrguard1-static-ARGS): Define.
15547 * elf/tst-ptrguard1.c: New file.
15548 * elf/tst-ptrguard1-static.c: New file.
15549 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15550 * sysdeps/i386/stackguard-macros.h: Likewise.
15551 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15552 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15553 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15554 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15555 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15556 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15558 2013-09-23 Hector Marco <hecmargi@upv.es>
15559 Ismael Ripoll <iripoll@disca.upv.es>
15560 Carlos O'Donell <carlos@redhat.com>
15563 * sysdeps/generic/stackguard-macros.h: Define
15564 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15565 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15566 Define __pointer_chk_guard_local.
15567 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15568 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15570 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15573 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15575 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15577 * include/string.h (__ffs): Declare as hidden.
15578 * string/ffs.c (__ffs): Define as hidden.
15579 * sysdeps/i386/ffs.c (__ffs): Likewise.
15580 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15581 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15582 * sysdeps/s390/ffs.c (__ffs): Likewise.
15583 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15585 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15587 * NEWS: Mention malloc probes.
15589 * malloc/arena.c (new_heap): New memory_heap_new probe.
15590 (grow_heap): New memory_heap_more probe.
15591 (shrink_heap): New memory_heap_less probe.
15592 (heap_trim): New memory_heap_free probe.
15593 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15594 (systrim): New memory_sbrk_less probe.
15595 * manual/probes.texi: Document them.
15597 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15598 * manual/probes.texi: Document it.
15600 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15601 (__libc_realloc): Add memory_realloc_retry probe.
15602 (__libc_memalign): Add memory_memalign_retry probe.
15603 (__libc_valloc): Add memory_valloc_retry probe.
15604 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15605 (__libc_calloc): Add memory_calloc_retry probe.
15606 * manual/probes.texi: Document them.
15608 * malloc/arena.c (get_free_list): Add probe
15609 memory_arena_reuse_free_list.
15610 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15611 and memory_arena_reuse.
15612 (arena_get2) [!PER_THREAD]: Likewise.
15613 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15614 memory_arena_reuse_realloc.
15615 * manual/probes.texi: Document them.
15617 * malloc/malloc.c (__libc_free): Add
15618 memory_mallopt_free_dyn_thresholds probe.
15619 (__libc_mallopt): Add multiple memory_mallopt probes.
15620 * manual/probes.texi: Document them.
15622 * malloc/malloc.c: Include stap-probe.h.
15623 (__libc_mallopt): Add memory_mallopt probe.
15624 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15625 * manual/probes.texi: New.
15626 * manual/Makefile (chapters): Add probes.
15627 * manual/threads.texi: Set next node.
15629 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15631 [BZ #15963, #13985]
15632 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15633 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15634 Add `Chinese' to `nan' entry name.
15636 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15638 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15639 (POLYNOMIAL): Likewise.
15640 (TAYLOR_SINCOS): Likewise.
15641 (TAYLOR_SLOW): Likewise.
15642 (__sin): Use TAYLOR_SINCOS.
15644 (slow): Use TAYLOR_SLOW.
15646 (bsloww): Likewise.
15647 (csloww): Likewise.
15649 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15651 * stdlib/strtod_l.c: Fix buffer overrun.
15653 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15655 * benchtests/Makefile (bench): Add sincos.
15656 * benchtests/bench-sincos.c: New file.
15658 * math/libm-test.inc (cos_test_data): New test inputs.
15659 (sin_test_data): Likewise.
15661 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15667 (sloww1): Likewise.
15668 (sloww2): Likewise.
15669 (bsloww1): Likewise.
15670 (bsloww2): Likewise.
15671 (cslow2): Likewise.
15672 (csloww1): Likewise.
15673 (csloww2): Likewise.
15675 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15680 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15684 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15686 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15687 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15688 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15689 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15690 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15691 * elf/cache.c (print_entry): Handle the new cache flags.
15693 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15694 Aldy Hernandez <aldyh@redhat.com>
15696 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15697 Change condition to [_SOFT_FLOAT].
15698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15710 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15713 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15716 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15718 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15719 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15720 (__longjmp): Use LOAD_GP to load saved GPRs.
15721 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15722 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15723 (__sigsetjmp): Use SAVE_GP to save GPRs.
15725 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15726 Do not append -msoft-float.
15727 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15729 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15731 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15733 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15736 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15737 (_FPU_GETCW): Use initial "__" on variable and field names but not
15738 on macro parameter name.
15739 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15740 parentheses around reference to macro parameter.
15742 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15744 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15746 (ctype_startup): Use uint32_t in cast and sizeof for
15749 2013-09-11 Jia Liu <proljc@gmail.com>
15751 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15753 [__FreeBSD__]: Likewise.
15755 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15758 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15759 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15760 (strchr): Remove __strchr_sse42 ifunc selection.
15761 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15762 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15764 2013-09-11 Will Newton <will.newton@linaro.org>
15766 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15767 parameter to RES. Remove hardcoded 1000 value.
15768 * benchtests/bench-skeleton.c (main): Pass RES parameter
15769 to TIMING_INIT and multiply result by 1000.
15771 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15775 2013-09-11 Andreas Schwab <schwab@suse.de>
15777 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15779 (O_TMPFILE) [__USE_GNU]: Define.
15780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15783 2013-09-11 Will Newton <will.newton@linaro.org>
15786 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15789 2013-09-11 Will Newton <will.newton@linaro.org>
15792 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15795 2013-09-11 Will Newton <will.newton@linaro.org>
15798 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15801 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15803 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15804 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15805 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15806 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15807 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15809 2013-09-10 Allan McRae <allan@archlinux.org>
15812 * manual/arith.texi (Parsing of Floats): Clarify
15816 * manual/install.texi (Running make install): Mention
15818 * INSTALL: Regenerated.
15820 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15822 * csu/init-first.c (_init): Remove the !SHARED condition around
15823 FPU control word initialization.
15824 * elf/dl-support.c (_dl_fpu_control): New variable.
15825 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15826 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15827 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15828 * math/test-fpucw-static.c: New file.
15829 * math/test-fpucw-ieee.c: New file.
15830 * math/test-fpucw-ieee-static.c: New file.
15831 * math/Makefile (tests): Add `test-fpucw-ieee' and
15833 (tests-static): New variable.
15834 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15836 [($(build-shared),yes)]
15837 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15839 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15842 2013-09-09 Allan McRae <allan@archlinux.org>
15845 * manual/string.texi (Collation Functions): Fix typo in
15847 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15850 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15853 * libio/memstream.c (open_memstream): Fix memory leak.
15854 * libio/wmemstream.c (open_wmemstream): Likewise.
15857 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15859 2013-09-09 Will Newton <will.newton@linaro.org>
15861 * malloc/Makefile: Add tst-realloc to tests.
15862 * malloc/tst-realloc.c: New file.
15864 2013-09-09 Allan McRae <allan@archlinux.org>
15867 * COPYING: Update from GNU website to fix FSF address.
15868 * COPYING.LIB: Likewise.
15870 2013-09-06 David S. Miller <davem@davemloft.net>
15872 * po/zh_TW.po: Update Chinese (traditional) translation from
15873 translation project.
15875 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15876 Joseph Myers <joseph@codesourcery.com>
15878 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15880 (obstack_chunk_alloc): New macro.
15881 (obstack_chunk_free): Likewise.
15882 (record_offset): New function.
15883 (init_locale_data): Likewise.
15884 (align_locale_data): Likewise.
15885 (add_locale_empty): Likewise.
15886 (add_locale_raw_data): Likewise.
15887 (add_locale_raw_obstack): Likewise.
15888 (add_locale_string): Likewise.
15889 (add_locale_wstring): Likewise.
15890 (add_locale_uint32): Likewise.
15891 (add_locale_uint32_array): Likewise.
15892 (add_locale_char): Likewise.
15893 (start_locale_structure): Likewise.
15894 (end_locale_structure): Likewise.
15895 (start_locale_prelude): Likewise.
15896 (end_locale_prelude): Likewise.
15897 (write_locale_data): Take locale_file structure rather than an
15899 * locale/programs/locfile.h: Include "obstack.h".
15900 (struct locale_file): Change to store locale file contents instead
15902 (init_locale_data): New prototype.
15903 (align_locale_data): Likewise.
15904 (add_locale_empty): Likewise.
15905 (add_locale_raw_data): Likewise.
15906 (add_locale_raw_obstack): Likewise.
15907 (add_locale_string): Likewise.
15908 (add_locale_wstring): Likewise.
15909 (add_locale_uint32): Likewise.
15910 (add_locale_uint32_array): Likewise.
15911 (add_locale_char): Likewise.
15912 (start_locale_structure): Likewise.
15913 (end_locale_structure): Likewise.
15914 (start_locale_prelude): Likewise.
15915 (end_locale_prelude): Likewise.
15916 (write_locale_data): Update prototype.
15917 * locale/programs/3level.h (struct TABLE): Remove result field.
15918 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15919 Use new locale_file interface.
15920 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15921 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15922 * locale/programs/ld-address.c (address_output): Use new
15923 locale_file interface.
15924 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15926 (collate_finish): Don't call collseq_table_finalize.
15927 (collate_output): Use new locale_file interface.
15928 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15930 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15931 (TABLE): Move defines earlier in file.
15932 (ELEMENT): Likewise.
15933 (DEFAULT): Likewise.
15934 (wctrans_table_add): Move macro and inline function earlier in
15936 (struct wctype_table): Move type earlier in file.
15937 (add_locale_wctype_table): New static prototype.
15938 (struct locale_ctype_t): Use logical types instead of struct iovec
15939 pointers for members.
15940 (ctype_output): Use new locale_file interface.
15941 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15942 new locale_file interface.
15943 (allocate_arrays): Update for use of new locale_file interface.
15944 * locale/programs/ld-identification.c (identification_output): Use
15945 new locale_file interface.
15946 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15947 * locale/programs/ld-messages.c (messages_output): Likewise.
15948 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15949 * locale/programs/ld-name.c (name_output): Likewise.
15950 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15951 * locale/programs/ld-paper.c (paper_output): Likewise.
15952 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15953 * locale/programs/ld-time.c (time_output): Likewise.
15955 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15957 * benchtests/Makefile: Add memrchr benchmark.
15958 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15959 benchmark as memrchr.
15960 * benchtests/bench-memrchr-ifunc.c: New file.
15961 * benchtests/bench-memrchr.c: New file.
15963 2013-09-06 Will Newton <will.newton@linaro.org>
15965 * benchtests/Makefile (string-bench): Add memcpy.
15967 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15968 Cong Wang <amwang@redhat.com>
15971 * sysdeps/unix/sysv/linux/bits/in.h
15972 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15973 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15974 before __USE_KERNEL_IPV6_DEFS uses.
15975 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15977 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15978 sockaddr_in6, or ipv6_mreq.
15980 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15982 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15983 memory access for final bytes in some large inputs.
15984 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15986 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15988 * string/test-memrchr.c: New file.
15989 * string/test-memrchr-ifunc.c: New file.
15990 * string/Makefile: Add new memrchr testcase.
15992 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15994 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15995 fanotify_init returns EPERM.
15997 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15999 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16001 (top level): Treat second token from macro or constant entries for
16002 allowed headers as allowed.
16003 * include/complex.h: Condition internal declarations on
16005 * include/fenv.h: Condition include of <stdbool.h> and internal
16006 declarations on [!_ISOMAC].
16008 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16011 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16013 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16015 * configure.in (--enable-versioning): Remove configure option.
16016 (libc_cv_asm_symver_directive): Remove configure test.
16017 (libc_cv_ld_version_script_option): Likewise.
16018 (VERSIONING): Remove variable and AC_SUBST.
16019 (DO_VERSIONING): Remove AC_DEFINE.
16020 * configure: Regenerated.
16021 * config.h.in (DO_VERSIONING): Remove macro.
16022 * Makerules [$(versioning) = yes]: Change conditionals to
16023 [$(build-shared) = yes].
16024 * config.make.in (versioning): Remove variable.
16025 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16026 [$(build-shared) = yes].
16027 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16028 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16029 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16030 [$(build-shared) = yes].
16031 * extra-lib.mk [$(versioning) = yes]: Likewise.
16032 * hurd/Makefile [$(versioning) = yes]: Likewise.
16033 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16035 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16037 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16038 [SHARED && !NO_HIDDEN].
16039 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16041 [SHARED && DO_VERSIONING]: Likewise..
16042 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16043 [$(build-shared) = yes].
16044 * manual/install.texi (--disable-versioning): Remove
16046 * INSTALL: Regenerated.
16047 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16049 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16050 [$(build-shared) = yes].
16051 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16052 * sysdeps/i386/i686/multiarch/strstr-c.c
16053 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16054 [SHARED && !NO_HIDDEN].
16055 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16056 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16057 * sysdeps/powerpc/powerpc32/dl-machine.c
16058 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16059 * sysdeps/powerpc/powerpc32/sysdep.h
16060 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16061 to [SHARED && PIC && !NO_HIDDEN].
16062 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16063 conditional to [SHARED].
16065 2013-09-04 Will Newton <will.newton@linaro.org>
16067 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16068 * benchtests/bench-string.h: Include bench-timing.h instead
16069 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16070 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16071 call to HP_TIMING_DIFF_INIT.
16072 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16073 instead of hp-timing.h macros.
16074 * benchtests/bench-memchr.c: Likewise.
16075 * benchtests/bench-memcmp.c: Likewise.
16076 * benchtests/bench-memcpy.c: Likewise.
16077 * benchtests/bench-memmem.c: Likewise.
16078 * benchtests/bench-memmove.c: Likewise.
16079 * benchtests/bench-memset.c: Likewise.
16080 * benchtests/bench-rawmemchr.c: Likewise.
16081 * benchtests/bench-strcasecmp.c: Likewise.
16082 * benchtests/bench-strcasestr.c: Likewise.
16083 * benchtests/bench-strcat.c: Likewise.
16084 * benchtests/bench-strchr.c: Likewise.
16085 * benchtests/bench-strcmp.c: Likewise.
16086 * benchtests/bench-strcpy.c: Likewise.
16087 * benchtests/bench-strcpy_chk.c: Likewise.
16088 * benchtests/bench-strlen.c: Likewise.
16089 * benchtests/bench-strncasecmp.c: Likewise.
16090 * benchtests/bench-strncat.c: Likewise.
16091 * benchtests/bench-strncmp.c: Likewise.
16092 * benchtests/bench-strncpy.c: Likewise.
16093 * benchtests/bench-strnlen.c: Likewise.
16094 * benchtests/bench-strpbrk.c: Likewise.
16095 * benchtests/bench-strrchr.c: Likewise.
16096 * benchtests/bench-strspn.c: Likewise.
16097 * benchtests/bench-strstr.c: Likewise.
16099 2013-09-04 Will Newton <will.newton@linaro.org>
16101 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16103 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16106 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16107 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16108 * math/libm-test.inc (lgamma_test_data): Add more tests.
16109 * sysdeps/i386/fpu/libm-test-ulps: Update.
16110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16112 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16114 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16118 Add strcmp-sse2-unaligned
16119 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16121 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16123 * Versions.def (libc): Add GLIBC_2.19.
16125 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16127 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16128 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16130 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16133 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16134 intermediate calculations in recurrence.
16135 (__ieee754_ynf): Likewise.
16136 * math/libm-test.inc (jn_test_data): Do not allow spurious
16137 underflow exception. Add more tests.
16138 (yn_test_data): Add more tests.
16139 * sysdeps/i386/fpu/libm-test-ulps: Update.
16140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16142 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16144 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16146 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16148 * csu/init-first.c: Fix then/than typos.
16149 * locale/programs/ld-collate.c: Likewise.
16150 * locale/programs/linereader.h: Likewise.
16151 * manual/charset.texi: Likewise.
16152 * manual/filesys.texi: Likewise.
16153 * manual/stdio.texi: Likewise.
16154 * manual/string.texi: Likewise.
16155 * stdlib/fmtmsg.c: Likewise.
16156 * sysdeps/i386/stpncpy.S: Likewise.
16157 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16158 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16159 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16160 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16162 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16164 * elf/dl-open.c: Fix typos.
16165 * iconvdata/gbbig5.c: Likewise.
16166 * iconvdata/iso-2022-jp.c: Likewise.
16167 * iconv/gconv_int.h: Likewise.
16168 * iconv/loop.c: Likewise.
16169 * nis/rpcsvc/nis.h: Likewise.
16170 * resolv/ns_name.c: Likewise.
16171 * stdio-common/vfscanf.c: Likewise.
16172 * streams/stropts.h: Likewise.
16173 * sunrpc/rpc_thread.c: Likewise.
16174 * sysdeps/i386/strpbrk.S: Likewise.
16175 * sysdeps/ieee754/k_standard.c: Likewise.
16176 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16178 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16179 * sysdeps/mach/hurd/profil.c: Likewise.
16180 * sysdeps/s390/dl-procinfo.h: Likewise.
16181 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16182 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16183 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16184 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16185 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16187 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16189 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16192 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16194 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16195 aix specific files.
16196 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16197 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16198 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16199 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16200 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16201 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16202 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16203 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16205 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16206 Roland McGrath <roland@hack.frob.com>
16208 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16209 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16211 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16213 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16214 __executable_start symbol instead of _start.
16216 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16218 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16219 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16221 * sysdeps/gnu/ldsodefs.h: ... this new file.
16223 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16224 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16225 instead of ELFOSABI_LINUX.
16227 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16228 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16229 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16230 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16232 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16233 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16234 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16236 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16237 (ibm_extended_long_double): Add ieee_nan member.
16238 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16239 (do_test): New function.
16241 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16243 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16244 functions, renamed from truncdfsf_test, trunctfsf_test,
16246 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16248 (do_test): Run all these.
16250 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16252 * argp/argp-help.c: Fix typos.
16253 * argp/argp-parse.c: Likewise.
16254 * debug/backtracesyms.c: Likewise.
16255 * elf/elf.h: Likewise.
16256 * malloc/malloc.c: Likewise.
16257 * nis/nis_print.c: Likewise.
16258 * resolv/res_comp.c: Likewise.
16259 * stdlib/stdlib.h: Likewise.
16260 * sunrpc/clnt_tcp.c: Likewise.
16261 * sunrpc/clnt_udp.c: Likewise.
16262 * sunrpc/clnt_unix.c: Likewise.
16263 * sysdeps/unix/bsd/ptsname.c: Likewise.
16264 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16265 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16272 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16274 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16276 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16279 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16282 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16283 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16284 ($(objpfx)bug-dl-leaf): New rule.
16285 ($(objpfx)bug-dl-leaf.so): Likewise.
16286 ($(objpfx)bug-dl-leaf.out): Likewise.
16287 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16288 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16289 * dlfcn/bug-dl-leaf.c: New test.
16290 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16291 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16292 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16293 (dlclose): Likewise.
16294 (dlmopen): Likewise.
16296 2013-08-27 Roland McGrath <roland@hack.frob.com>
16298 * include/netdb.h [!_ISOMAC]:
16299 Don't include <tls.h>.
16300 (h_errno, __libc_h_errno): Move declaration and macros out of
16303 * include/resolv.h [_RESOLV_H_]:
16304 Don't include <tls.h>.
16305 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16306 * resolv/res_libc.c: Don't include <tls.h>.
16307 (_res): Use __attribute__ ((nocommon)) in place of
16308 __attribute__ ((section (".bss"))).
16310 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16311 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16313 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16315 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16316 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16318 * resolv/res_mkquery.c: Include <sys/time.h>.
16320 * inet/ifreq.c: Moved to ...
16321 * sysdeps/unix/ifreq.c: ... here.
16322 * inet/ifreq.c: New file, true stub version.
16324 * socket/sa_len.c: New file.
16325 * socket/Makefile (aux): Add it.
16326 * sysdeps/unix/sysv/linux/Makefile
16327 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16328 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16329 and #include <socket/sa_len.c>.
16330 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16331 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16333 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16334 * bits/socket.h: ... here.
16336 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16337 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16338 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16340 2013-08-27 Andreas Schwab <schwab@suse.de>
16343 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16344 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16345 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16346 * string/test-strcasecmp.c (test_main): Run tests in several
16348 * string/test-strncasecmp.c (test_main): Likewise.
16350 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16351 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16352 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16354 (__strncasecmp_ssse3) [PIC]: Likewise.
16356 2013-08-26 Roland McGrath <roland@hack.frob.com>
16358 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16360 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16361 instead of explicitly declaring xdecrypt.
16362 * nis/nss_nis/nis-publickey.c: Likewise.
16364 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16367 * nscd/aicache.c: Include res_hconf.h.
16368 (addhstaiX): Initialize res_hconf.
16370 2013-08-26 Andreas Schwab <schwab@suse.de>
16372 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16373 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16375 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16377 * nscd/aicache.c (addhstaiX): Fix indentation.
16379 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16381 * configure.ac: Quote $build_pt_chown test.
16382 * configure: Regenerated.
16384 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16387 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16388 * math/s_cexpf.c (__cexpf): Likewise.
16389 * math/s_cexpl.c (__cexpl): Likewise.
16390 * math/libm-test.inc (cexp_test_data): Correct expected return
16391 value for NaN + i0. Add another test.
16393 2013-08-22 David S. Miller <davem@davemloft.net>
16395 * po/ca.po: Update Catalan translation from translation project.
16396 * po/uk.po: Add Ukrainian translations from translation project.
16398 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16401 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16402 is infinite, not alongside NaN test.
16403 * math/s_fdimf.c (__fdimf): Likewise.
16404 * math/s_fdiml.c (__fdiml): Likewise.
16405 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16406 errno is unchanged.
16408 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16410 * argp/argp-help.c: Fix typos.
16411 * crypt/speeds.c: Likewise.
16412 * csu/check_fds.c: Likewise.
16413 * elf/dl-load.c: Likewise.
16414 * elf/dl-open.c: Likewise.
16415 * elf/reldep3.c: Likewise.
16416 * elf/reldep.c: Likewise.
16417 * elf/sprof.c: Likewise.
16418 * iconv/iconv_charmap.c: Likewise.
16419 * iconv/skeleton.c: Likewise.
16420 * iconv/strtab.c: Likewise.
16421 * io/lockf64.c: Likewise.
16422 * libio/libioP.h: Likewise.
16423 * resolv/gai_notify.c: Likewise.
16424 * resolv/ns_name.c: Likewise.
16425 * resolv/ns_samedomain.c: Likewise.
16426 * resolv/res_send.c: Likewise.
16427 * stdlib/random.c: Likewise.
16428 * sunrpc/rpc/xdr.h: Likewise.
16429 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16430 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16431 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16432 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16433 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16436 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16437 * sysdeps/mach/hurd/check_fds.c: Likewise.
16438 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16439 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16440 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16441 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16442 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16443 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16444 * sysdeps/pthread/aio_notify.c: Likewise.
16445 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16446 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16447 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16448 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16449 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16451 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16453 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16454 version if bit_Slow_SSE4_2 is set.
16455 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16456 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16458 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16461 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16462 trampoline stack frame information.
16463 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16464 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16465 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16466 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16467 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16468 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16469 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16470 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16472 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16473 interrupting a syscall and set with option SA_SIGINFO.
16475 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16478 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16479 argument is infinite.
16480 * math/s_cprojf.c (__cprojf): Likewise.
16481 * math/s_cprojl.c (__cprojl): Likewise.
16482 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16483 * math/libm-test.inc (cproj_test_data): Add more tests.
16485 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16487 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16488 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16489 size. Use __ffs to determine corresponding shift.
16491 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16492 Roland McGrath <roland@hack.frob.com>
16494 * Makefile (INSTALL): Remove trailing blank lines from output of
16497 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16499 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16500 Align 32 bit compat elf_greg to 8 bytes.
16502 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16504 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16506 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16508 * string/strcoll_l.c (coll_seq): New structure.
16509 (get_next_seq_cached): New function.
16510 (get_next_seq): New function.
16511 (do_compare): New function.
16512 (STRCOLL): Use GNU style definition. Simplify implementation
16513 by using get_next_seq, get_next_seq_cached and do_compare.
16515 2013-08-16 Florian Weimer <fweimer@redhat.com>
16519 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16521 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16523 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16524 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16525 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16527 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16528 GETDENTS_64BIT_ALIGNED.
16529 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16530 * manual/filesys.texi (Reading/Closing Directory): Document
16531 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16533 * manual/conf.texi (Limits for Files): Add portability note to
16534 NAME_MAX, PATH_MAX.
16535 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16537 2013-08-13 Andreas Schwab <schwab@suse.de>
16540 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16542 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16543 LDBL_MAX_EXP >= 16384]: Add tests for it.
16545 2013-08-12 David S. Miller <davem@davemloft.net>
16547 * version.h (RELEASE): Set to "development".
16548 (VERSION): Set to "2.18.90".
16549 * NEWS: Add 2.19 section.
16551 2013-08-03 David S. Miller <davem@davemloft.net>
16553 * po/ko.po: Update Korean translation from translation project.
16555 2013-08-01 David S. Miller <davem@davemloft.net>
16557 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16558 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16561 2013-07-30 David S. Miller <davem@davemloft.net>
16563 * po/fr.po: Update French translation from translation project.
16565 2013-07-28 David S. Miller <davem@davemloft.net>
16567 * po/cs.po: Update Czech translation from translation project.
16569 * po/sv.po: Update Swedish translation from translation project.
16571 2013-07-27 David S. Miller <davem@davemloft.net>
16573 * po/eo.po: Update Esperanto translation from translation project.
16575 * po/vi.po: Update Vietnamese translation from translation project.
16577 * po/de.po: Update German translation from translation project.
16579 2013-07-26 David S. Miller <davem@davemloft.net>
16581 * po/bg.po: Update Bulgarian translation from translation project.
16583 * po/nl.po: Update Dutch translation from translation project.
16584 * po/pl.po: Update Polish translation from translation project.
16585 * po/ru.po: Update Russian translation from translation project.
16587 2013-07-24 David S. Miller <davem@davemloft.net>
16589 * po/libc.pot: Update.
16591 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16593 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16594 variable page size.
16595 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16596 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16597 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16599 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16601 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16603 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16604 Andreas Schwab <schwab@suse.de>
16605 Roland McGrath <roland@hack.frob.com>
16606 Joseph Myers <joseph@codesourcery.com>
16607 Carlos O'Donell <carlos@redhat.com>
16610 * config.h.in: Define HAVE_PT_CHOWN.
16611 * config.make.in (build-pt-chown): New variable.
16612 * configure.in (--enable-pt_chown): New configure option.
16613 * configure: Regenerate.
16614 * login/Makefile: Include Makeconfig. Build pt_chown only if
16615 build-pt-chown is enabled.
16616 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16617 pt_chown to fix pty ownership.
16618 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16620 * manual/install.texi (Configuring and compiling): Mention
16621 --enable-pt_chown. Add @findex for grantpt.
16622 * INSTALL: Regenerate.
16624 2013-07-20 David S. Miller <davem@davemloft.net>
16626 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16627 difference between 32-bit and 64-bit.
16629 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16632 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16633 Avoid system header dependency with -ffreestanding.
16634 ($(objpfx)bits/syscall%d): Likewise.
16636 2013-07-13 David S. Miller <davem@davemloft.net>
16638 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16639 underflows from atanl/atan2l due to bug 15319.
16640 (casinh_test_data): Likewise.
16642 2013-07-07 David S. Miller <davem@davemloft.net>
16644 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16646 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16648 * sysdeps/i386/fpu/libm-test-ulps: Update.
16649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16651 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16653 * configure.in (--enable-lock-elision): Fix message text.
16654 * INSTALL: Regenerate.
16655 * configure: Regenerate.
16657 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16661 2013-07-03 Andreas Jaeger <aj@suse.de>
16663 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16665 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16666 (ptrace_peeksiginfo_args): Add.
16667 (__ptrace_peeksiginfo_flags): Add.
16668 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16669 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16670 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16672 2013-07-03 Allan McRae <allan@archlinux.org>
16674 * sysdeps/i386/fpu/libm-test-ulps: Update.
16676 2013-07-02 David S. Miller <davem@davemloft.net>
16678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16680 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16684 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16686 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16689 2013-07-02 Andi Kleen <ak@linux.intel.com>
16691 * config.h.in (ENABLE_LOCK_ELISION): Add.
16692 * configure.in (--enable-lock-elision): Add option.
16693 * manual/install.texi: Document --enable lock elision.
16694 * configure: Regenerate
16695 * INSTALL: Regenerate.
16697 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16699 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16700 SSE4.2 strcasecmp for libc.a.
16701 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16703 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16706 * soft-fp/op-common.h (_FP_FMA): New macro.
16707 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16708 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16709 (_FP_MUL_MEAT_1_imm): ... here.
16710 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16711 (_FP_MUL_MEAT_1_wide): ... here.
16712 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16713 (_FP_MUL_MEAT_1_hard): ... here.
16714 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16715 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16716 (_FP_MUL_MEAT_2_wide): ... here.
16717 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16718 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16719 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16720 (_FP_MUL_MEAT_2_gmp): ... here.
16721 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16722 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16723 (_FP_MUL_MEAT_4_wide): ... here.
16724 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16725 (_FP_MUL_MEAT_4_gmp): ... here.
16726 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16727 (_FP_WFRACBITS_DW_S): Likewise.
16728 (_FP_WFRACXBITS_DW_S): Likewise.
16729 (_FP_HIGHBIT_DW_S): Likewise.
16730 (FP_FMA_S): Likewise.
16731 (_FP_FRAC_HIGH_DW_S): Likewise.
16732 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16733 (_FP_WFRACBITS_DW_D): Likewise.
16734 (_FP_WFRACXBITS_DW_D): Likewise.
16735 (_FP_HIGHBIT_DW_D): Likewise.
16736 (FP_FMA_D): Likewise.
16737 (_FP_FRAC_HIGH_DW_D): Likewise.
16738 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16739 (_FP_WFRACBITS_DW_E): Likewise.
16740 (_FP_WFRACXBITS_DW_E): Likewise.
16741 (_FP_HIGHBIT_DW_E): Likewise.
16742 (FP_FMA_E): Likewise.
16743 (_FP_FRAC_HIGH_DW_E): Likewise.
16744 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16745 (_FP_WFRACBITS_DW_Q): Likewise.
16746 (_FP_WFRACXBITS_DW_Q): Likewise.
16747 (_FP_HIGHBIT_DW_Q): Likewise.
16748 (FP_FMA_Q): Likewise.
16749 (_FP_FRAC_HIGH_DW_Q): Likewise.
16750 * soft-fp/fmasf4.c: New file.
16751 * soft-fp/fmadf4.c: Likewise.
16752 * soft-fp/fmatf4.c: Likewise.
16754 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16757 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16759 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16761 (index_Slow_SSE4_2): Likewise.
16762 (index_Prefer_PMINUB_for_stringop): Likewise.
16763 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16764 bit_Slow_SSE4_2 is set.
16765 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16766 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16768 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16770 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16771 rtld_global._dl_hwcap2.
16772 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16774 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16775 POWER8 feature descriptions defined in _dl_hwcap2.
16776 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16777 string handling for POWER8 feature bits.
16778 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16779 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16780 _dl_powerpc_cap_flags.
16781 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16782 * sysdeps/powerpc/rtld-global-offsets.sym
16783 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16784 _dl_hwcap2 in the rtld_global_ro structure.
16786 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16788 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16789 hardware capabilities in support of AT_HWCAP2.
16790 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16791 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16793 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16794 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16795 explicitly the unknown a_type display mechanism is used.
16796 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16797 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16799 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16800 to macro prototype for AT_HWCAP2 support.
16801 * sysdeps/i386/dl-procinfo.h: Likewise.
16802 * sysdeps/s390/dl-procinfo.h: Likewise.
16803 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16804 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16805 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16806 return -1 for unknown a_type display fallback.
16807 * sysdeps/sparc/dl-procinfo.h: Likewise.
16808 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16809 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16811 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16813 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16814 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16816 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16819 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16820 mprotect making __stack_prot writable.
16822 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16823 Joseph Myers <joseph@codesourcery.com>
16825 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16826 as being properly aligned.
16828 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16830 * dlfcn/modstatic5.c: New file.
16831 * dlfcn/tststatic5.c: New file.
16832 * dlfcn/Makefile (tests): Add tststatic5.
16833 (tests-static): Likewise.
16834 (modules-names): Add modstatic5.
16835 (tststatic5-ENV): New variable.
16836 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16839 * elf/dl-support.c (_dl_main_map): New variable.
16840 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16841 (_dl_nns, _dl_load_adds): Set to 1.
16842 (_dl_initial_searchlist): Refer to _dl_main_map.
16843 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16844 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16845 call to _dl_get_origin.
16846 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16848 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16849 * dlfcn/modstatic3.c: New file.
16850 * dlfcn/tststatic3.c: New file.
16851 * dlfcn/tststatic4.c: New file.
16852 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16853 (tests-static): Likewise.
16854 (modules-names): Add modstatic3.
16855 (tststatic3-ENV, tststatic4-ENV): New variables.
16856 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16857 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16859 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16861 * configure.in (CC): Require GCC version 4.4 or later.
16862 * configure: Regenerated.
16863 * manual/install.texi (Tools for Compilation): Update GCC version
16865 * INSTALL: Regenerated.
16867 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16870 * string/test-memcmp.c (check2): New.
16871 (main): Call check2.
16873 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16875 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16878 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16880 (dl_open_worker) [!SHARED]: ... here.
16882 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16884 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16886 2013-06-25 Richard Henderson <rth@redhat.com>
16888 * locale/programs/locarchive.c: Include <libc-internal.h>
16890 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16892 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16893 trailing whitespace removed.
16895 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16898 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16899 * locale/programs/locarchive.c: Include libc-mmap.h.
16900 (prepare_address_space): Take two new outputs (the mmap base and len).
16901 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16903 (create_archive): Declare new mmap base and len values for
16904 prepare_address_space, and store the result in ah.
16905 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16906 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16907 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16908 Declare new mmap base and len values for
16909 prepare_address_space, and store the result in new_ah.
16910 (open_archive): Declare new mmap base and len values for
16911 prepare_address_space, and store the result in ah.
16912 (close_archive): If ah->mmap_base is not NULL, use that and
16913 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16914 * sysdeps/generic/libc-mmap.h: New file.
16916 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16918 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16919 (ALIGN_UP): Likewise.
16920 (PTR_ALIGN_DOWN): Likewise.
16921 (PTR_ALIGN_UP): Likewise.
16923 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16925 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16926 entry mapped to PPC_PLATFORM_POWER8.
16927 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16929 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16930 (_dl_string_platform): Add case for exporting platform position for
16932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16933 search path to sysdeps/powerpc/powerpc32/power8 directory.
16934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16935 search path to sysdeps/powerpc/powerpc64/power8 directory.
16936 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16937 power7 directories.
16938 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16939 power7 directories.
16941 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16943 * INSTALL: Regenerate.
16945 * nscd/connections.c (nscd_init): Fix comment.
16947 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16949 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16952 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16953 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16955 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16957 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16959 (DL_DST_REQ_STATIC): Remove macro.
16961 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16964 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16965 with a shift of 0 bits.
16967 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16969 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16972 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16975 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16977 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16979 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16980 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16981 accepts -fno-tree-loop-distribute-patterns.
16982 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16983 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16985 * string/memset.c (memset): Likewise.
16986 * string/test-memmove.c (simple_memmove): Disable loop transformation
16988 * string/test-memset.c (simple_memset): Likewise.
16989 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16990 * benchtests/bench-memset.c (simple_memset): Likewise.
16991 * configure: Regenerated.
16993 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16995 * math/test-misc.c (main): Ignore fesetround failure when failures
16996 of subsequent rounding tests would be ignored.
16999 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17000 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17001 * math/fegetenv.c (__fegetenv): Return 0.
17002 * math/fegetexcept.c (fegetexcept): Return 0.
17003 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17005 * math/feholdexcpt.c (feholdexcept): Return 0.
17006 * math/fesetenv.c (__fesetenv): Return 0.
17007 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17008 argument FE_TONEAREST.
17009 * math/feupdateenv.c (__feupdateenv): Return 0.
17010 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17012 2013-06-18 Roland McGrath <roland@hack.frob.com>
17014 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17015 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17016 ($(objpfx)rtld-%.os rules): Use them.
17018 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17020 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17023 2013-06-17 Roland McGrath <roland@hack.frob.com>
17025 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17026 length of target pattern, then descending length of dependency pattern.
17027 * configure.in (AWK): Require gawk 3.1.2 or newer.
17028 * manual/install.texi (Tools for Compilation): Say that we do.
17029 * configure: Regenerated.
17031 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17032 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17033 * scripts/sysd-rules.awk: ... this new script.
17034 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17035 than a glob-style pattern.
17037 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17039 * math/test-misc.c (main): Do not treat incorrectly rounded
17040 conversions as failure unless ROUNDING_TESTS passes.
17042 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17045 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17046 restore exception state around main square root computation, then
17047 check for inexactness explicitly.
17049 * math/libm-test.inc (fma_test_data): Add another test.
17051 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17053 * manual/threads.texi (Non-POSIX Extensions): New document
17054 node. Document pthread_getattr_default_np and
17055 pthread_setattr_default_np.
17057 * Versions.def (libpthread): Add GLIBC_2.18.
17058 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17067 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17078 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17081 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17083 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17084 H.J. Lu <hjl.tools@gmail.com>
17087 * sysdeps/x86_64/rtld-memset.c: Remove file.
17088 * sysdeps/x86_64/rtld-memset.S: New file.
17090 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17092 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17093 (test_in_one_mode): Take arguments for whether the rounding mode
17094 is supported for each floating-point type.
17095 (do_test): Pass new arguments to test_in_one_mode using
17098 2013-06-13 Roland McGrath <roland@hack.frob.com>
17100 * posix/tst-waitid.c (do_test): Distinguish different instances of
17101 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17102 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17103 before entering the kernel for waitpid.
17105 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17107 * NEWS: Fix note on clock function precision. Text by Roland
17110 2013-06-13 Roland McGrath <roland@hack.frob.com>
17112 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17113 it into place only when and if the sanity check passes.
17115 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17117 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17118 output for whether conversion result is exact. Take argument
17119 indicating whether type is IBM long double.
17120 (round_for_all): Change need_exact field to ibm_ld.
17121 * stdlib/tst-strtod-round.c (struct exactness): New type.
17122 (struct test): Change bool ld_ok field to struct exactness exact.
17123 (TEST): Update all definitions for change to field.
17124 (tests): Regenerate array contents.
17125 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17126 field value. Check for IBM long double here.
17127 (do_test): Update calls to test_in_one_mode.
17129 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17132 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17133 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17135 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17138 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17139 generated by the compiler on loop optimizations.
17140 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17141 general definitions.
17143 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17145 * math/bug-nextafter.c: Include <math-tests.h>.
17146 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17148 * math/bug-nexttoward.c: Include <math-tests.h>.
17149 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17151 * math/test-misc.c: Include <math-tests.h>.
17152 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17155 2013-06-12 Andreas Jaeger <aj@suse.de>
17157 * po/ia.po: Update Interlingua translation from translation
17160 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17162 * include/fenv.h: Include stdbool.h.
17163 (struct rm_ctx): New structure.
17164 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17166 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17167 (SET_RESTORE_ROUNDF): Likewise.
17168 (SET_RESTORE_ROUNDL): Likewise.
17169 (SET_RESTORE_ROUND_NOEX): Likewise.
17170 (SET_RESTORE_ROUND_NOEXF): Likewise.
17171 (SET_RESTORE_ROUND_NOEXL): Likewise.
17172 (SET_RESTORE_ROUND_53BIT): Likewise.
17173 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17174 (libc_feresetround_noexf_ctx): Likewise.
17175 (libc_feresetround_noexl_ctx): Likewise.
17176 (libc_feholdsetround_53bit_ctx): Likewise.
17177 (libc_feresetround_53bit_ctx): Likewise.
17178 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17179 (libc_feholdexcept_setround_sse_ctx): New function.
17180 (libc_fesetenv_sse_ctx): Likewise.
17181 (libc_feupdateenv_sse_ctx): Likewise.
17182 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17183 (libc_feholdexcept_setround_387_ctx): Likewise.
17184 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17185 (libc_feholdsetround_387_prec_ctx): Likewise.
17186 (libc_feholdsetround_387_ctx): Likewise.
17187 (libc_feholdsetround_387_53bit_ctx): Likewise.
17188 (libc_feholdsetround_sse_ctx): Likewise.
17189 (libc_feresetround_sse_ctx): Likewise.
17190 (libc_feresetround_387_ctx): Likewise.
17191 (libc_feupdateenv_387_ctx): Likewise.
17192 (libc_feholdexcept_setroundf_ctx): Define macro.
17193 (libc_fesetenvf_ctx): Likewise.
17194 (libc_feupdateenvf_ctx): Likewise.
17195 (libc_feholdsetroundf_ctx): Likewise.
17196 (libc_feresetroundf_ctx): Likewise.
17197 (libc_feholdexcept_setround_ctx): Likewise.
17198 (libc_fesetenv_ctx): Likewise.
17199 (libc_feupdateenv_ctx): Likewise.
17200 (libc_feholdsetround_ctx): Likewise.
17201 (libc_feresetround_ctx): Likewise.
17202 (libc_feholdexcept_setroundl_ctx): Likewise.
17203 (libc_feupdateenvl_ctx): Likewise.
17204 (libc_feholdsetroundl_ctx): Likewise.
17205 (libc_feresetroundl_ctx): Likewise.
17206 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17207 (libc_feresetround_53bit_ctx): Likewise.
17209 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17211 * locale/iso-639.def: Convert to UTF-8.
17213 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17215 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17216 (EXCEPTION_TESTS_double): Likewise.
17217 (EXCEPTION_TESTS_long_double): Likewise.
17218 (EXCEPTION_TESTS): Likewise.
17219 * math/libm-test.inc (test_exceptions): Only test exceptions if
17220 EXCEPTION_TESTS (FLOAT).
17222 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17224 * benchtests/Makefile (string-bench): Add strcpy_chk and
17226 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17227 * benchtests/bench-stpcpy_chk.c: New file.
17228 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17229 * benchtests/bench-strcpy_chk.c: New file.
17230 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17232 (do_test): Likewise.
17234 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17236 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17237 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17238 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17239 with tabs where appropriate.
17240 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17242 [PPC_PLATFORM_PPC440]: Likewise.
17243 [PPC_PLATFORM_PPC464]: Likewise.
17244 [PPC_PLATFORM_PPC476]: Likewise.
17245 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17246 ppc464, and ppc476 platform strings merging from ports/
17249 2013-06-11 Andreas Schwab <schwab@suse.de>
17252 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17253 (from_ucs4_idx): Regenerate.
17254 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17255 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17256 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17257 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17258 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17259 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17260 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17261 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17262 from FROM_LOOP and TO_LOOP specific macros.
17263 (BODY): Handle combining characters.
17264 * iconvdata/BIG5HKSCS.irreversible: Update.
17265 * iconvdata/BIG5HKSCS.precomposed: New file.
17266 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17268 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17270 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17272 * include/sys/time.h: Fix indentation and add copyright header.
17274 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17275 (do_test): Likewise.
17276 * string/test-memchr.c (do_one_test): Likewise.
17277 (do_test): Likewise.
17278 * string/test-memcmp.c (do_one_test): Likewise.
17279 (do_test): Likewise.
17280 * string/test-memcpy.c (do_one_test): Likewise.
17281 (do_test): Likewise.
17282 * string/test-memmem.c (do_one_test): Likewise.
17283 (do_test): Likewise.
17284 (do_random_tests): Likewise.
17285 * string/test-memmove.c (do_one_test): Likewise.
17286 (do_test): Likewise.
17287 * string/test-memset.c (do_one_test): Likewise.
17288 (do_test): Likewise.
17289 * string/test-rawmemchr.c (do_one_test): Likewise.
17290 (do_test): Likewise.
17291 * string/test-strcasecmp.c (do_one_test): Likewise.
17292 (do_test): Likewise.
17293 * string/test-strcasestr.c (do_one_test): Likewise.
17294 (do_test): Likewise.
17295 * string/test-strcat.c (do_one_test): Likewise.
17296 (do_test): Likewise.
17297 * string/test-strchr.c (do_one_test): Likewise.
17298 (do_test): Likewise.
17299 * string/test-strcmp.c (do_one_test): Likewise.
17300 (do_test): Likewise.
17301 * string/test-strcpy.c (do_one_test): Likewise.
17302 (do_test): Likewise.
17303 * string/test-string.h: Likewise.
17304 (test_init): Likewise.
17305 * string/test-strlen.c (do_one_test): Likewise.
17306 (do_test): Likewise.
17307 * string/test-strncasecmp.c (do_one_test): Likewise.
17308 (do_test): Likewise.
17309 * string/test-strncat.c (do_one_test): Likewise.
17310 (do_test): Likewise.
17311 * string/test-strncmp.c (do_one_test): Likewise.
17312 (do_test_limit): Likewise.
17313 (do_test): Likewise.
17314 * string/test-strncpy.c (do_one_test): Likewise.
17315 (do_test): Likewise.
17316 * string/test-strnlen.c (do_one_test): Likewise.
17317 (do_test): Likewise.
17318 * string/test-strpbrk.c (do_one_test): Likewise.
17319 (do_test): Likewise.
17320 * string/test-strrchr.c (do_one_test): Likewise.
17321 (do_test): Likewise.
17322 * string/test-strspn.c (do_one_test): Likewise.
17323 (do_test): Likewise.
17324 * string/test-strstr.c (do_one_test): Likewise.
17325 (do_test): Likewise.
17327 * benchtests/Makefile (string-bench): Add string benchmarks.
17328 * benchtests/bench-bcopy-ifunc.c: New file.
17329 * benchtests/bench-bcopy.c: New file.
17330 * benchtests/bench-bzero-ifunc.c: New file.
17331 * benchtests/bench-bzero.c: New file.
17332 * benchtests/bench-memccpy-ifunc.c: New file.
17333 * benchtests/bench-memccpy.c: New file.
17334 * benchtests/bench-memchr-ifunc.c: New file.
17335 * benchtests/bench-memchr.c: New file.
17336 * benchtests/bench-memcmp-ifunc.c: New file.
17337 * benchtests/bench-memcmp.c: New file.
17338 * benchtests/bench-memmem-ifunc.c: New file.
17339 * benchtests/bench-memmem.c: New file.
17340 * benchtests/bench-memmove-ifunc.c: New file.
17341 * benchtests/bench-memmove.c: New file.
17342 * benchtests/bench-mempcpy-ifunc.c: New file.
17343 * benchtests/bench-mempcpy.c: New file.
17344 * benchtests/bench-memset-ifunc.c: New file.
17345 * benchtests/bench-memset.c: New file.
17346 * benchtests/bench-rawmemchr-ifunc.c: New file.
17347 * benchtests/bench-rawmemchr.c: New file.
17348 * benchtests/bench-stpcpy-ifunc.c: New file.
17349 * benchtests/bench-stpcpy.c: New file.
17350 * benchtests/bench-stpncpy-ifunc.c: New file.
17351 * benchtests/bench-stpncpy.c: New file.
17352 * benchtests/bench-strcasecmp-ifunc.c: New file.
17353 * benchtests/bench-strcasecmp.c: New file.
17354 * benchtests/bench-strcasestr-ifunc.c: New file.
17355 * benchtests/bench-strcasestr.c: New file.
17356 * benchtests/bench-strcat-ifunc.c: New file.
17357 * benchtests/bench-strcat.c: New file.
17358 * benchtests/bench-strchr-ifunc.c: New file.
17359 * benchtests/bench-strchr.c: New file.
17360 * benchtests/bench-strchrnul-ifunc.c: New file.
17361 * benchtests/bench-strchrnul.c: New file.
17362 * benchtests/bench-strcmp-ifunc.c: New file.
17363 * benchtests/bench-strcmp.c: New file.
17364 * benchtests/bench-strcpy-ifunc.c: New file.
17365 * benchtests/bench-strcpy.c: New file.
17366 * benchtests/bench-strcspn-ifunc.c: New file.
17367 * benchtests/bench-strcspn.c: New file.
17368 * benchtests/bench-strlen-ifunc.c: New file.
17369 * benchtests/bench-strlen.c: New file.
17370 * benchtests/bench-strncasecmp-ifunc.c: New file.
17371 * benchtests/bench-strncasecmp.c: New file.
17372 * benchtests/bench-strncat-ifunc.c: New file.
17373 * benchtests/bench-strncat.c: New file.
17374 * benchtests/bench-strncmp-ifunc.c: New file.
17375 * benchtests/bench-strncmp.c: New file.
17376 * benchtests/bench-strncpy-ifunc.c: New file.
17377 * benchtests/bench-strncpy.c: New file.
17378 * benchtests/bench-strnlen-ifunc.c: New file.
17379 * benchtests/bench-strnlen.c: New file.
17380 * benchtests/bench-strpbrk-ifunc.c: New file.
17381 * benchtests/bench-strpbrk.c: New file.
17382 * benchtests/bench-strrchr-ifunc.c: New file.
17383 * benchtests/bench-strrchr.c: New file.
17384 * benchtests/bench-strspn-ifunc.c: New file.
17385 * benchtests/bench-strspn.c: New file.
17386 * benchtests/bench-strstr-ifunc.c: New file.
17387 * benchtests/bench-strstr.c: New file.
17389 * benchtests/Makefile: Disable parallel execution of targets.
17390 (string-bench): Add memcpy.
17391 (benchset): New variable to store a list of benchmark sets.
17392 (bench-func): Renamed from bench.
17393 (bench-set): New target.
17394 (bench): Depend on bench-func and bench-set.
17395 * benchtests/README: Add section on benchmark sets.
17396 * benchtests/bench-memcpy-ifunc.c: New file.
17397 * benchtests/bench-memcpy.c: New file.
17398 * benchtests/bench-string.h: New file.
17400 2013-06-11 Andreas Schwab <schwab@suse.de>
17403 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17404 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17405 values in the triple.
17406 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17407 terminator in the group key.
17409 2013-06-11 Andreas Jaeger <aj@suse.de>
17411 * po/zh_TW.po: Update Chinese (traditional) translation from
17412 translation project.
17414 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17416 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17417 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17418 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17419 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17420 (clock_getcpuclockid): Likewise.
17421 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17422 Add weak_alias and libc_hidden_def.
17423 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17424 * rt/clock_gettime.c (clock_gettime): Rename to
17425 __clock_gettime. Add weak_alias and libc_hidden_def.
17426 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17427 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17428 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17429 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17430 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17432 * rt/clock_settime.c (clock_settime): Rename to
17433 __clock_settime. Add weak_alias and libc_hidden_def.
17434 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17436 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17438 * mach/err_boot.sub: Remove trailing whitespace.
17439 * mach/err_ipc.sub: Likewise.
17440 * mach/err_mach.sub: Likewise.
17442 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17443 (ROUNDING_TESTS_double): Likewise.
17444 (ROUNDING_TESTS_long_double): Likewise.
17445 (ROUNDING_TESTS): Likewise.
17446 * math/libm-test.inc: Include <math-tests.h>.
17447 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17448 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17449 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17450 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17452 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17454 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17457 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17459 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17460 otherwise empty TRANS lines.
17461 * sysdeps/gnu/errlist.c: Regenerated.
17463 * catgets/gencat.c (error_print): Use (void) in function
17465 * crypt/crypt_util.c (__init_des): Likewise.
17466 * crypt/speeds.c (Stop): Likewise.
17468 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17469 * inet/ruserpass.c (token): Likewise.
17470 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17471 * intl/localealias.c (extend_alias_table): Likewise.
17472 * intl/plural-exp.c (init_germanic_plural): Likewise.
17473 * libio/fcloseall.c (__fcloseall): Likewise.
17474 * libio/genops.c (_IO_flush_all): Likewise.
17475 (_IO_flush_all_linebuffered): Likewise.
17476 (_IO_cleanup): Likewise.
17477 (_IO_iter_begin): Likewise.
17478 (_IO_iter_end): Likewise.
17479 (_IO_list_lock): Likewise.
17480 (_IO_list_unlock): Likewise.
17481 (_IO_list_resetlock): Likewise.
17482 * libio/getchar.c (getchar): Likewise.
17483 * libio/getchar_u.c (getchar_unlocked): Likewise.
17484 * libio/getwchar.c (getwchar): Likewise.
17485 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17486 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17487 * login/getpt.c (__getpt): Likewise.
17488 * login/tst-utmp.c (main): Likewise.
17489 * malloc/hooks.c (__malloc_check_init): Likewise.
17490 * malloc/malloc.c (__malloc_stats): Likewise.
17491 * malloc/mtrace.c (tr_break): Likewise.
17492 (mtrace): Likewise.
17493 (muntrace): Likewise.
17494 * misc/fstab.c (endfsent): Likewise.
17495 * misc/getclktck.c (__getclktck): Likewise.
17496 * misc/getdtsz.c (__getdtablesize): Likewise.
17497 * misc/gethostid.c (gethostid): Likewise.
17498 * misc/getpagesize.c (__getpagesize): Likewise.
17499 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17500 (__get_nprocs): Likewise.
17501 (__get_phys_pages): Likewise.
17502 (__get_avphys_pages): Likewise.
17503 * misc/getttyent.c (getttyent): Likewise.
17504 (setttyent): Likewise.
17505 (endttyent): Likewise.
17506 * misc/getusershell.c (getusershell): Likewise.
17507 (endusershell): Likewise.
17508 (setusershell): Likewise.
17509 (initshells): Likewise.
17510 * misc/hsearch.c (__hdestroy): Likewise.
17511 * misc/sync.c (sync): Likewise.
17512 * misc/syslog.c (closelog_internal): Likewise.
17513 (closelog): Likewise.
17514 * misc/ttyslot.c (ttyslot): Likewise.
17515 * misc/vhangup.c (vhangup): Likewise.
17516 * posix/fork.c (__fork): Likewise.
17517 * posix/getegid.c (__getegid): Likewise.
17518 * posix/geteuid.c (__geteuid): Likewise.
17519 * posix/getgid.c (__getgid): Likewise.
17520 * posix/getpid.c (__getpid): Likewise.
17521 * posix/getppid.c (__getppid): Likewise.
17522 * posix/getuid.c (__getuid): Likewise.
17523 * posix/pause.c (pause): Likewise.
17524 * posix/setpgrp.c (setpgrp): Likewise.
17525 * posix/setsid.c (__setsid): Likewise.
17526 * posix/test-vfork.c (noop): Likewise.
17527 * resolv/gethnamaddr.c (_endhtent): Likewise.
17528 (_gethtent): Likewise.
17529 (ht_endhostent): Likewise.
17530 (gethostent): Likewise.
17531 (dns_service): Likewise.
17532 * stdlib/drand48.c (drand48): Likewise.
17533 * stdlib/lrand48.c (lrand48): Likewise.
17534 * stdlib/mrand48.c (mrand48): Likewise.
17535 * stdlib/rand.c (rand): Likewise.
17536 * stdlib/random.c (__random): Likewise.
17537 * stdlib/setenv.c (clearenv): Likewise.
17538 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17539 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17540 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17541 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17542 (__get_nprocs): Likewise.
17543 (__get_phys_pages): Likewise.
17544 (__get_avphys_pages): Likewise.
17545 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17546 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17547 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17548 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17549 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17550 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17551 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17552 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17553 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17554 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17555 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17556 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17557 * sysdeps/posix/clock.c (clock): Likewise.
17558 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17559 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17560 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17561 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17562 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17563 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17564 (__get_nprocs_conf): Likewise.
17565 (__get_phys_pages): Likewise.
17566 (__get_avphys_pages): Likewise.
17567 * time/clock.c (clock): Likewise.
17568 * time/tzset.c (__tzname_max): Likewise.
17570 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17572 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17573 (__bswap_32): Do not use "register".
17574 * crypt/crypt.c (_ufc_doit_r): Likewise.
17575 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17576 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17577 * gmon/gmon.c (__monstartup): Likewise.
17578 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17579 * hurd/hurdmalloc.c (more_memory): Likewise.
17580 (malloc): Likewise.
17582 (realloc): Likewise.
17583 (malloc_fork_prepare): Likewise.
17584 (malloc_fork_parent): Likewise.
17585 (malloc_fork_child): Likewise.
17586 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17587 (_svcauth_des): Likewise.
17588 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17589 * inet/inet_net.c (inet_network): Likewise.
17590 * inet/inet_netof.c (inet_netof): Likewise.
17591 * inet/rcmd.c (__validuser2_sa): Likewise.
17592 * io/fts.c (fts_open): Likewise.
17593 (fts_load): Likewise.
17594 (fts_close): Likewise.
17595 (fts_read): Likewise.
17596 (fts_children): Likewise.
17597 (fts_build): Likewise.
17598 (fts_stat): Likewise.
17599 (fts_sort): Likewise.
17600 (fts_alloc): Likewise.
17601 (fts_lfree): Likewise.
17602 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17603 (_IO_file_xsgetn): Likewise.
17604 (_IO_file_xsgetn_mmap): Likewise.
17605 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17606 (_IO_cookie_write): Likewise.
17607 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17608 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17609 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17610 * malloc/obstack.c (_obstack_begin): Likewise.
17611 (_obstack_begin_1): Likewise.
17612 (_obstack_newchunk): Likewise.
17613 (_obstack_allocated_p): Likewise.
17614 (obstack_free): Likewise.
17615 (_obstack_memory_used): Likewise.
17616 * misc/getttyent.c (getttynam): Likewise.
17617 (getttyent): Likewise.
17620 * misc/getusershell.c (initshells): Likewise.
17621 * misc/syslog.c (__vsyslog_chk): Likewise.
17622 * misc/ttyslot.c (ttyslot): Likewise.
17623 * nis/nis_hash.c (__nis_hash): Likewise.
17624 * posix/fnmatch_loop.c (FCT): Likewise.
17625 * posix/getconf.c (print_all): Likewise.
17627 * posix/getopt.c (exchange): Likewise.
17628 * posix/glob.c (globfree): Likewise.
17629 (prefix_array): Likewise.
17630 (__glob_pattern_type): Likewise.
17631 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17632 (NS_GET32): Likewise.
17633 (NS_PUT16): Likewise.
17634 (NS_PUT32): Likewise.
17635 * resolv/gethnamaddr.c (getanswer): Likewise.
17636 (gethostbyname2): Likewise.
17637 (gethostbyaddr): Likewise.
17638 (_gethtent): Likewise.
17639 (_gethtbyname2): Likewise.
17640 (_gethtbyaddr): Likewise.
17641 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17642 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17643 * resolv/res_init.c (__res_vinit): Likewise.
17644 (net_mask): Likewise.
17645 * resolv/res_mkquery.c (outchar): Likewise.
17647 * stdio-common/printf_fp.c (outchar): Likewise.
17649 * stdio-common/printf_fphex.c (outchar): Likewise.
17651 * stdio-common/printf_size.c (outchar): Likewise.
17653 * stdio-common/test_rdwr.c (main): Likewise.
17654 * stdio-common/tfformat.c (matches): Likewise.
17655 * stdio-common/vfprintf.c (outchar): Likewise.
17656 (printf_unknown): Likewise.
17657 (buffered_vfprintf): Likewise.
17658 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17659 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17660 (ReadFile): Likewise.
17661 * stdlib/qsort.c (SWAP): Likewise.
17662 (_quicksort): Likewise.
17663 * stdlib/setenv.c (__add_to_environ): Likewise.
17664 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17665 * stdlib/strtol_l.c (__strtol_l): Likewise.
17666 * stdlib/tst-strtod.c (main): Likewise.
17667 * stdlib/tst-strtol.c (main): Likewise.
17668 * stdlib/tst-strtoll.c (main): Likewise.
17669 * string/bits/string2.h (__strcmp_cc): Likewise.
17670 (__strcmp_cg): Likewise.
17671 (__strcspn_c1): Likewise.
17672 (__strcspn_c2): Likewise.
17673 (__strcspn_c3): Likewise.
17674 (__strspn_c1): Likewise.
17675 (__strspn_c2): Likewise.
17676 (__strspn_c3): Likewise.
17677 (__strsep_1c): Likewise.
17678 (__strsep_2c): Likewise.
17679 (__strsep_3c): Likewise.
17680 * string/memccpy.c (__memccpy): Likewise.
17681 * string/stpcpy.c (__stpcpy): Likewise.
17682 * string/strcmp.c (strcmp): Likewise.
17683 * string/strrchr.c (strrchr): Likewise.
17684 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17686 * sysdeps/mach/hurd/getcwd.c
17687 (_hurd_canonicalize_directory_name_internal): Likewise.
17688 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17689 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17690 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17691 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17692 Likewise, in both definitions.
17693 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17695 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17696 64] (__bswap_64): Likewise.
17697 * time/test_time.c (main): Likewise.
17698 * time/tzfile.c (__tzfile_read): Likewise.
17699 (__tzfile_compute): Likewise.
17700 * time/tzset.c (__tzset_parse_tz): Likewise.
17701 (tzset_internal): Likewise.
17702 (compute_change): Likewise.
17703 * wcsmbs/wcscat.c (__wcscat): Likewise.
17704 * wcsmbs/wcschr.c (wcschr): Likewise.
17705 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17706 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17707 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17708 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17709 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17710 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17711 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17712 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17713 * wcsmbs/wmemset.c (wmemset): Likewise.
17715 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17717 * scripts/config.guess: Update to version 2013-05-16.
17718 * scripts/config.sub: Update to version 2013-04-24.
17719 * scripts/install-sh: Update to version 2011-11-20.07.
17720 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17721 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17723 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17725 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17726 * elf/sln.c: Likewise.
17727 * hurd/hurd/ioctl.h: Likewise.
17728 * hurd/hurdmalloc.c: Likewise.
17729 * hurd/xattr.c: Likewise.
17730 * include/shlib-compat.h: Likewise.
17731 * inet/ruserpass.c: Likewise.
17732 * libio/iofgets_u.c: Likewise.
17733 * libio/iofgetws_u.c: Likewise.
17734 * locale/programs/ld-identification.c: Likewise.
17735 * locale/programs/ld-time.c: Likewise.
17736 * mach/msg-destroy.c: Likewise.
17737 * nss/nss_files/files-netgrp.c: Likewise.
17738 * resolv/res_data.c: Likewise.
17739 * soft-fp/op-1.h: Likewise.
17740 * soft-fp/op-2.h: Likewise.
17741 * soft-fp/op-4.h: Likewise.
17742 * soft-fp/op-common.h: Likewise.
17743 * stdio-common/printf_fphex.c: Likewise.
17744 * stdlib/strtod_l.c: Likewise.
17745 * sunrpc/rpc/clnt.h: Likewise.
17746 * sysdeps/generic/framestate.c: Likewise.
17747 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17748 * sysdeps/i386/bsd-setjmp.S: Likewise.
17749 * sysdeps/i386/__longjmp.S: Likewise.
17750 * sysdeps/i386/setjmp.S: Likewise.
17751 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17752 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17753 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17762 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17764 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17765 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17766 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17769 * sysdeps/ieee754/support.c: Likewise.
17770 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17771 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17772 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17773 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17774 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17775 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17776 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17777 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17778 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17779 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17780 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17781 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17782 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17783 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17784 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17785 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17786 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17789 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17791 * posix/transbug.c: Remove executable mode.
17793 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17795 * crypt/speeds.c: Remove trailing whitespace.
17796 * dlfcn/default.c: Likewise.
17797 * elf/ifuncdep2.c: Likewise.
17798 * elf/ifuncmain1.c: Likewise.
17799 * elf/ifuncmain1vis.c: Likewise.
17800 * elf/testobj.h: Likewise.
17801 * elf/tst-stackguard1.c: Likewise.
17802 * gmon/sys/gmon.h: Likewise.
17803 * hurd/hurdmsg.c: Likewise.
17804 * hurd/new-fd.c: Likewise.
17805 * hurd/ports-get.c: Likewise.
17806 * iconvdata/ibm1008_420.c: Likewise.
17807 * inet/tst-getni1.c: Likewise.
17808 * inet/tst-getni2.c: Likewise.
17809 * libio/ioungetc.c: Likewise.
17810 * libio/wfiledoalloc.c: Likewise.
17811 * manual/libm-err-tab.pl: Likewise.
17812 * math/w_dremf.c: Likewise.
17813 * misc/ftruncate.c: Likewise.
17814 * posix/bug-glob2.c: Likewise.
17815 * posix/tst-pcre.c: Likewise.
17816 * posix/wait4.c: Likewise.
17817 * resolv/README: Likewise.
17818 * resolv/res_debug.h: Likewise.
17819 * resolv/tst-inet_ntop.c: Likewise.
17820 * setjmp/bug269-setjmp.c: Likewise.
17821 * soft-fp/extended.h: Likewise.
17822 * soft-fp/op-1.h: Likewise.
17823 * soft-fp/op-2.h: Likewise.
17824 * soft-fp/op-4.h: Likewise.
17825 * soft-fp/op-8.h: Likewise.
17826 * soft-fp/testit.c: Likewise.
17827 * stdio-common/bug16.c: Likewise.
17828 * stdlib/random.c: Likewise.
17829 * sunrpc/rpcsvc/rquota.x: Likewise.
17830 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17831 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17832 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17833 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17834 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17835 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17836 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17837 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17838 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17839 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17840 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17842 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17843 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17844 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17845 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17846 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17847 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17848 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17849 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17854 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17855 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17857 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17858 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17859 * sysdeps/ieee754/s_lib_version.c: Likewise.
17860 * sysdeps/mach/hurd/check_fds.c: Likewise.
17861 * sysdeps/mach/hurd/getsockname.c: Likewise.
17862 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17863 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17864 * sysdeps/powerpc/bits/link.h: Likewise.
17865 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17866 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17867 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17868 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17869 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17870 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17871 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17872 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17873 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17874 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17875 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17876 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17877 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17878 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17879 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17880 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17881 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17882 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17883 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17884 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17885 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17886 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17887 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17888 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17889 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17890 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17891 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17892 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17893 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17894 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17895 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17896 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17897 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17898 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17899 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17900 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17901 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17902 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17903 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17904 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17905 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17906 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17907 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17908 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17909 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17910 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17911 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17912 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17913 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17914 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17915 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17916 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17917 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17918 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17919 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17920 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17921 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17922 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17923 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17924 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17925 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17926 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17927 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17928 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17929 * sysdeps/powerpc/sysdep.h: Likewise.
17930 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17931 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17932 * sysdeps/sh/dl-trampoline.S: Likewise.
17933 * sysdeps/sh/memset.S: Likewise.
17934 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17935 * sysdeps/sh/strlen.S: Likewise.
17936 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17937 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17938 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17939 * sysdeps/sparc/sparc32/rem.S: Likewise.
17940 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17941 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17942 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17943 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17944 * sysdeps/sparc/sparc32/urem.S: Likewise.
17945 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17946 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17947 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17948 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17949 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17950 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17951 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17952 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17953 * sysdeps/unix/bsd/times.c: Likewise.
17954 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17955 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17959 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17960 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17961 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17962 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17963 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17964 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17965 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17966 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17967 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17968 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17969 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17970 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17971 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17972 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17973 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17974 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17975 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17976 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17977 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17978 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17979 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17980 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17981 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17982 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17983 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17984 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17985 * sysdeps/x86_64/strcspn.S: Likewise.
17987 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17989 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17990 generated file. Regenerate properly from gen-translit.pl.
17991 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17992 locale/C-translit.h.
17994 2013-06-05 Andreas Schwab <schwab@suse.de>
17997 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17998 week as 6 instead of -1.
17999 * time/tst-strptime.c (day_tests): Add test case.
18001 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18003 * sysdeps/generic/math_private.h
18004 (libc_feholdexcept_setround_53bit): Replace with
18005 libc_feholdsetround_53bit.
18006 (libc_feupdateenv_53bit): Replace with
18007 libc_feresetround_53bit.
18008 (SET_RESTORE_ROUND_53BIT): Adjust.
18010 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18012 * string/test-strchrnul.c: Add copyright header.
18014 * posix/tst-getaddrinfo4.c: Increase test timeout.
18016 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18019 * math/libm-test.inc (MAX_EXP): Remove
18021 (ulp): Use MIN_EXP - MANT_DIG.
18022 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18024 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18026 * po/be.po: Revert last change.
18027 * po/zh_CN.po: Likewise.
18028 * po/header.pot: Likewise.
18030 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18032 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18033 link-libc-deps to empty as target-specific variable.
18034 * Makerules (link-libc-args): New variable.
18035 (libc-for-link): Likewise.
18036 (link-libc-deps): Likewise.
18037 (lib%.so): Depend on $(link-libc-deps). Link with
18039 (build-module): Link with $(link-libc-args).
18040 (build-module-asneeded): Likewise.
18041 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18043 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18044 target-specific variable.
18045 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18046 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18047 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18049 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18051 ($(objpfx)libpcprofile.so): Likewise.
18052 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18054 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18055 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18056 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18058 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18059 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18060 * login/Makefile ($(objpfx)libutil.so): Likewise.
18061 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18062 * math/Makefile ($(objpfx)libm.so): Likewise.
18063 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18064 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18065 variable instead of depending directly on libc.
18066 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18067 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18069 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18071 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18072 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18073 ($(objpfx)libanl.so): Likewise.
18074 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18076 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18078 * sysdeps/i386/fpu/Makefile: Remove file.
18079 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18080 ($(objpfx)libm.so): Remove dependency on ld.so.
18082 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18085 * nis/yp_xdr.c (XDRMAXNAME): Define.
18086 (XDRMAXRECORD): Define.
18087 (xdr_domainname): Use XDRMAXNAME.
18088 (xdr_mapname): Likewise.
18089 (xdr_peername): Likewise.
18090 (xdr_keydat): Use XDRMAXRECORD.
18091 (xdr_valdat): Likewise.
18093 2013-05-30 Jeff Law <law@redhat.com>
18096 * manual/errno.texi (ESTALE): Update to account for more than
18097 just NFS file systems.
18098 * sysdeps/gnu/errlist.c: Regenerated.
18100 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18103 * elf/Makefile (tests): Add tst-null-argv.
18104 (modules-names): Add tst-null-argv-lib.
18105 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18106 (tst-null-argv-ENV): Set environment for tst-null-argv.
18107 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18108 (RTLD_PROGNAME): New macro.
18109 * elf/tst-null-argv.c: New test case.
18110 * elf/tst-null-argv-lib.c: Library for test case.
18111 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18112 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18113 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18114 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18115 * elf/dl-init.c (call_init): Likewise.
18116 (_dl_init): Likewise.
18117 * elf/dl-load.c (print_search_path): Likewise.
18118 (_dl_map_object): Likewise.
18119 * elf/dl-lookup.c (do_lookup_x): Likewise.
18120 (add_dependency): Likewise.
18121 (_dl_lookup_symbol_x): Likewise.
18122 (_dl_debug_bindings): Likewise.
18123 * elf/dl-open.c (_dl_show_scope): Likewise.
18124 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18125 * elf/dl-version.c (match_symbol): Likewise.
18126 (_dl_check_map_versions): Likewise.
18127 * elf/rtld.c (dl_main): Likewise.
18128 (print_unresolved): Use RTLD_PROGNAME.
18129 (print_missing_version): Likewise.
18130 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18131 (elf_machine_rela): Likewise.
18132 * sysdeps/powerpc/powerpc32/dl-machine.c
18133 (__process_machine_rela): Likewise.
18134 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18136 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18138 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18140 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18141 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18143 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18145 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18147 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18149 * po/be.po: Add descriptive title.
18150 * po/zh_CN.po: Likewise.
18151 * po/header.pot: Likewise.
18153 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18155 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18157 (enlarge_archive): Likewise.
18159 2013-05-28 Ben North <ben@redfrontdoor.org>
18161 * manual/arith.texi (frexp): It is the magnitude of the return
18162 value which lies in [0.5, 1), not the return value itself.
18164 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18168 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18170 * stdio-common/bug26.c (main): Correct fscanf template.
18172 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18173 declare _dl_skip_args.
18175 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18178 * manual/platform.texi: Add missing @end deftypefun.
18180 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18183 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18184 bit of mantissa of 2^16382.
18185 * math/libm-test.inc (hypot_test_data): Add more tests.
18187 * math/libm-test.inc: Add drem and pow10 to list of tested
18189 (pow10_test): New function.
18190 (drem_test): Likewise.
18191 (drem_test_tonearest): Likewise.
18192 (drem_test_towardzero): Likewise.
18193 (drem_test_downward): Likewise.
18194 (drem_test_upward): Likewise.
18195 (main): Call the new functions.
18197 * math/libm-test.inc (finite_test_data): Remove.
18198 (finite_test): Run tests from isfinite_test_data.
18199 (gamma_test_data): Remove.
18200 (gamma_test): Run tests from lgamma_test_data.
18201 * sysdeps/i386/fpu/libm-test-ulps: Update.
18202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18204 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18206 * manual/platform.texi: Add PowerPC PPR function set documentation.
18207 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18210 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18212 * math/libm-test.inc (MAX_EXP): Define.
18214 (ulp): New function.
18215 (check_float_internal): Use ULPDIFF.
18216 (cpow_test): Disable failing test.
18217 (check_ulp): Test ulp() implemetnation.
18218 (main): Call check_ulp before starting tests.
18220 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18222 * math/gen-libm-test.pl (generate_testfile): Do not handle
18223 START_DATA and END_DATA.
18224 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18226 (acos_tonearest_test_data): Likewise.
18227 (acos_towardzero_test_data): Likewise.
18228 (acos_downward_test_data): Likewise.
18229 (acos_upward_test_data): Likewise.
18230 (acosh_test_data): Likewise.
18231 (asin_test_data): Likewise.
18232 (asin_tonearest_test_data): Likewise.
18233 (asin_towardzero_test_data): Likewise.
18234 (asin_downward_test_data): Likewise.
18235 (asin_upward_test_data): Likewise.
18236 (asinh_test_data): Likewise.
18237 (atan_test_data): Likewise.
18238 (atanh_test_data): Likewise.
18239 (atan2_test_data): Likewise.
18240 (cabs_test_data): Likewise.
18241 (cacos_test_data): Likewise.
18242 (cacosh_test_data): Likewise.
18243 (carg_test_data): Likewise.
18244 (casin_test_data): Likewise.
18245 (casinh_test_data): Likewise.
18246 (catan_test_data): Likewise.
18247 (catanh_test_data): Likewise.
18248 (cbrt_test_data): Likewise.
18249 (ccos_test_data): Likewise.
18250 (ccosh_test_data): Likewise.
18251 (ceil_test_data): Likewise.
18252 (cexp_test_data): Likewise.
18253 (cimag_test_data): Likewise.
18254 (clog_test_data): Likewise.
18255 (clog10_test_data): Likewise.
18256 (conj_test_data): Likewise.
18257 (copysign_test_data): Likewise.
18258 (cos_test_data): Likewise.
18259 (cos_tonearest_test_data): Likewise.
18260 (cos_towardzero_test_data): Likewise.
18261 (cos_downward_test_data): Likewise.
18262 (cos_upward_test_data): Likewise.
18263 (cosh_test_data): Likewise.
18264 (cosh_tonearest_test_data): Likewise.
18265 (cosh_towardzero_test_data): Likewise.
18266 (cosh_downward_test_data): Likewise.
18267 (cosh_upward_test_data): Likewise.
18268 (cpow_test_data): Likewise.
18269 (cproj_test_data): Likewise.
18270 (creal_test_data): Likewise.
18271 (csin_test_data): Likewise.
18272 (csinh_test_data): Likewise.
18273 (csqrt_test_data): Likewise.
18274 (ctan_test_data): Likewise.
18275 (ctan_tonearest_test_data): Likewise.
18276 (ctan_towardzero_test_data): Likewise.
18277 (ctan_downward_test_data): Likewise.
18278 (ctan_upward_test_data): Likewise.
18279 (ctanh_test_data): Likewise.
18280 (ctanh_tonearest_test_data): Likewise.
18281 (ctanh_towardzero_test_data): Likewise.
18282 (ctanh_downward_test_data): Likewise.
18283 (ctanh_upward_test_data): Likewise.
18284 (erf_test_data): Likewise.
18285 (erfc_test_data): Likewise.
18286 (exp_test_data): Likewise.
18287 (exp_tonearest_test_data): Likewise.
18288 (exp_towardzero_test_data): Likewise.
18289 (exp_downward_test_data): Likewise.
18290 (exp_upward_test_data): Likewise.
18291 (exp10_test_data): Likewise.
18292 (exp2_test_data): Likewise.
18293 (expm1_test_data): Likewise.
18294 (fabs_test_data): Likewise.
18295 (fdim_test_data): Likewise.
18296 (finite_test_data): Likewise.
18297 (floor_test_data): Likewise.
18298 (fma_test_data): Likewise.
18299 (fma_towardzero_test_data): Likewise.
18300 (fma_downward_test_data): Likewise.
18301 (fma_upward_test_data): Likewise.
18302 (fmax_test_data): Likewise.
18303 (fmin_test_data): Likewise.
18304 (fmod_test_data): Likewise.
18305 (fpclassify_test_data): Likewise.
18306 (frexp_test_data): Likewise.
18307 (gamma_test_data): Likewise.
18308 (hypot_test_data): Likewise.
18309 (ilogb_test_data): Likewise.
18310 (isfinite_test_data): Likewise.
18311 (isgreater_test_data): Likewise.
18312 (isgreaterequal_test_data): Likewise.
18313 (isinf_test_data): Likewise.
18314 (isless_test_data): Likewise.
18315 (islessequal_test_data): Likewise.
18316 (islessgreater_test_data): Likewise.
18317 (isnan_test_data): Likewise.
18318 (isnormal_test_data): Likewise.
18319 (issignaling_test_data): Likewise.
18320 (isunordered_test_data): Likewise.
18321 (j0_test_data): Likewise.
18322 (j1_test_data): Likewise.
18323 (jn_test_data): Likewise.
18324 (ldexp_test_data): Likewise.
18325 (lgamma_test_data): Likewise.
18326 (lrint_test_data): Likewise.
18327 (lrint_tonearest_test_data): Likewise.
18328 (lrint_towardzero_test_data): Likewise.
18329 (lrint_downward_test_data): Likewise.
18330 (lrint_upward_test_data): Likewise.
18331 (llrint_test_data): Likewise.
18332 (llrint_tonearest_test_data): Likewise.
18333 (llrint_towardzero_test_data): Likewise.
18334 (llrint_downward_test_data): Likewise.
18335 (llrint_upward_test_data): Likewise.
18336 (log_test_data): Likewise.
18337 (log10_test_data): Likewise.
18338 (log1p_test_data): Likewise.
18339 (log2_test_data): Likewise.
18340 (logb_test_data): Likewise.
18341 (logb_downward_test_data): Likewise.
18342 (lround_test_data): Likewise.
18343 (llround_test_data): Likewise.
18344 (modf_test_data): Likewise.
18345 (nearbyint_test_data): Likewise.
18346 (nextafter_test_data): Likewise.
18347 (nexttoward_test_data): Likewise.
18348 (pow_test_data): Likewise.
18349 (pow_tonearest_test_data): Likewise.
18350 (pow_towardzero_test_data): Likewise.
18351 (pow_downward_test_data): Likewise.
18352 (pow_upward_test_data): Likewise.
18353 (remainder_test_data): Likewise.
18354 (remainder_tonearest_test_data): Likewise.
18355 (remainder_towardzero_test_data): Likewise.
18356 (remainder_downward_test_data): Likewise.
18357 (remainder_upward_test_data): Likewise.
18358 (remquo_test_data): Likewise.
18359 (rint_test_data): Likewise.
18360 (rint_tonearest_test_data): Likewise.
18361 (rint_towardzero_test_data): Likewise.
18362 (rint_downward_test_data): Likewise.
18363 (rint_upward_test_data): Likewise.
18364 (round_test_data): Likewise.
18365 (scalb_test_data): Likewise.
18366 (scalbn_test_data): Likewise.
18367 (scalbln_test_data): Likewise.
18368 (signbit_test_data): Likewise.
18369 (sin_test_data): Likewise.
18370 (sin_tonearest_test_data): Likewise.
18371 (sin_towardzero_test_data): Likewise.
18372 (sin_downward_test_data): Likewise.
18373 (sin_upward_test_data): Likewise.
18374 (sincos_test_data): Likewise.
18375 (sinh_test_data): Likewise.
18376 (sinh_tonearest_test_data): Likewise.
18377 (sinh_towardzero_test_data): Likewise.
18378 (sinh_downward_test_data): Likewise.
18379 (sinh_upward_test_data): Likewise.
18380 (sqrt_test_data): Likewise.
18381 (tan_test_data): Likewise.
18382 (tan_tonearest_test_data): Likewise.
18383 (tan_towardzero_test_data): Likewise.
18384 (tan_downward_test_data): Likewise.
18385 (tan_upward_test_data): Likewise.
18386 (tanh_test_data): Likewise.
18387 (tgamma_test_data): Likewise.
18388 (trunc_test_data): Likewise.
18389 (y0_test_data): Likewise.
18390 (y1_test_data): Likewise.
18391 (yn_test_data): Likewise.
18392 (significand_test_data): Likewise.
18394 * math/gen-libm-test.pl (@functions): Remove variable.
18395 (generate_testfile): Don't handle START and END lines.
18396 * math/libm-test.inc (START): New macro.
18398 (END_COMPLEX): Likewise.
18399 (acos_test): Use END macro without arguments.
18400 (acos_test_tonearest): Likewise.
18401 (acos_test_towardzero): Likewise.
18402 (acos_test_downward): Likewise.
18403 (acos_test_upward): Likewise.
18404 (acosh_test): Likewise.
18405 (asin_test): Likewise.
18406 (asin_test_tonearest): Likewise.
18407 (asin_test_towardzero): Likewise.
18408 (asin_test_downward): Likewise.
18409 (asin_test_upward): Likewise.
18410 (asinh_test): Likewise.
18411 (atan_test): Likewise.
18412 (atanh_test): Likewise.
18413 (atan2_test): Likewise.
18414 (cabs_test): Likewise.
18415 (cacos_test): Use END_COMPLEX macro without arguments.
18416 (cacosh_test): Likewise.
18417 (carg_test): Use END macro without arguments.
18418 (casin_test): Use END_COMPLEX macro without arguments.
18419 (casinh_test): Likewise.
18420 (catan_test): Likewise.
18421 (catanh_test): Likewise.
18422 (cbrt_test): Use END macro without arguments.
18423 (ccos_test): Use END_COMPLEX macro without arguments.
18424 (ccosh_test): Likewise.
18425 (ceil_test): Use END macro without arguments.
18426 (cexp_test): Use END_COMPLEX macro without arguments.
18427 (cimag_test): Use END macro without arguments.
18428 (clog_test): Use END_COMPLEX macro without arguments.
18429 (clog10_test): Likewise.
18430 (conj_test): Likewise.
18431 (copysign_test): Use END macro without arguments.
18432 (cos_test): Likewise.
18433 (cos_test_tonearest): Likewise.
18434 (cos_test_towardzero): Likewise.
18435 (cos_test_downward): Likewise.
18436 (cos_test_upward): Likewise.
18437 (cosh_test): Likewise.
18438 (cosh_test_tonearest): Likewise.
18439 (cosh_test_towardzero): Likewise.
18440 (cosh_test_downward): Likewise.
18441 (cosh_test_upward): Likewise.
18442 (cpow_test): Use END_COMPLEX macro without arguments.
18443 (cproj_test): Likewise.
18444 (creal_test): Use END macro without arguments.
18445 (csin_test): Use END_COMPLEX macro without arguments.
18446 (csinh_test): Likewise.
18447 (csqrt_test): Likewise.
18448 (ctan_test): Likewise.
18449 (ctan_test_tonearest): Likewise.
18450 (ctan_test_towardzero): Likewise.
18451 (ctan_test_downward): Likewise.
18452 (ctan_test_upward): Likewise.
18453 (ctanh_test): Likewise.
18454 (ctanh_test_tonearest): Likewise.
18455 (ctanh_test_towardzero): Likewise.
18456 (ctanh_test_downward): Likewise.
18457 (ctanh_test_upward): Likewise.
18458 (erf_test): Use END macro without arguments.
18459 (erfc_test): Likewise.
18460 (exp_test): Likewise.
18461 (exp_test_tonearest): Likewise.
18462 (exp_test_towardzero): Likewise.
18463 (exp_test_downward): Likewise.
18464 (exp_test_upward): Likewise.
18465 (exp10_test): Likewise.
18466 (exp2_test): Likewise.
18467 (expm1_test): Likewise.
18468 (fabs_test): Likewise.
18469 (fdim_test): Likewise.
18470 (finite_test): Likewise.
18471 (floor_test): Likewise.
18472 (fma_test): Likewise.
18473 (fma_test_towardzero): Likewise.
18474 (fma_test_downward): Likewise.
18475 (fma_test_upward): Likewise.
18476 (fmax_test): Likewise.
18477 (fmin_test): Likewise.
18478 (fmod_test): Likewise.
18479 (fpclassify_test): Likewise.
18480 (frexp_test): Likewise.
18481 (gamma_test): Likewise.
18482 (hypot_test): Likewise.
18483 (ilogb_test): Likewise.
18484 (isfinite_test): Likewise.
18485 (isgreater_test): Likewise.
18486 (isgreaterequal_test): Likewise.
18487 (isinf_test): Likewise.
18488 (isless_test): Likewise.
18489 (islessequal_test): Likewise.
18490 (islessgreater_test): Likewise.
18491 (isnan_test): Likewise.
18492 (isnormal_test): Likewise.
18493 (issignaling_test): Likewise.
18494 (isunordered_test): Likewise.
18495 (j0_test): Likewise.
18496 (j1_test): Likewise.
18497 (jn_test): Likewise.
18498 (ldexp_test): Likewise.
18499 (lgamma_test): Likewise.
18500 (lrint_test): Likewise.
18501 (lrint_test_tonearest): Likewise.
18502 (lrint_test_towardzero): Likewise.
18503 (lrint_test_downward): Likewise.
18504 (lrint_test_upward): Likewise.
18505 (llrint_test): Likewise.
18506 (llrint_test_tonearest): Likewise.
18507 (llrint_test_towardzero): Likewise.
18508 (llrint_test_downward): Likewise.
18509 (llrint_test_upward): Likewise.
18510 (log_test): Likewise.
18511 (log10_test): Likewise.
18512 (log1p_test): Likewise.
18513 (log2_test): Likewise.
18514 (logb_test): Likewise.
18515 (logb_test_downward): Likewise.
18516 (lround_test): Likewise.
18517 (llround_test): Likewise.
18518 (modf_test): Likewise.
18519 (nearbyint_test): Likewise.
18520 (nextafter_test): Likewise.
18521 (nexttoward_test): Likewise.
18522 (pow_test): Likewise.
18523 (pow_test_tonearest): Likewise.
18524 (pow_test_towardzero): Likewise.
18525 (pow_test_downward): Likewise.
18526 (pow_test_upward): Likewise.
18527 (remainder_test): Likewise.
18528 (remainder_test_tonearest): Likewise.
18529 (remainder_test_towardzero): Likewise.
18530 (remainder_test_downward): Likewise.
18531 (remainder_test_upward): Likewise.
18532 (remquo_test): Likewise.
18533 (rint_test): Likewise.
18534 (rint_test_tonearest): Likewise.
18535 (rint_test_towardzero): Likewise.
18536 (rint_test_downward): Likewise.
18537 (rint_test_upward): Likewise.
18538 (round_test): Likewise.
18539 (scalb_test): Likewise.
18540 (scalbn_test): Likewise.
18541 (scalbln_test): Likewise.
18542 (signbit_test): Likewise.
18543 (sin_test): Likewise.
18544 (sin_test_tonearest): Likewise.
18545 (sin_test_towardzero): Likewise.
18546 (sin_test_downward): Likewise.
18547 (sin_test_upward): Likewise.
18548 (sincos_test): Likewise.
18549 (sinh_test): Likewise.
18550 (sinh_test_tonearest): Likewise.
18551 (sinh_test_towardzero): Likewise.
18552 (sinh_test_downward): Likewise.
18553 (sinh_test_upward): Likewise.
18554 (sqrt_test): Likewise.
18555 (tan_test): Likewise.
18556 (tan_test_tonearest): Likewise.
18557 (tan_test_towardzero): Likewise.
18558 (tan_test_downward): Likewise.
18559 (tan_test_upward): Likewise.
18560 (tanh_test): Likewise.
18561 (tgamma_test): Likewise.
18562 (trunc_test): Likewise.
18563 (y0_test): Likewise.
18564 (y1_test): Likewise.
18565 (yn_test): Likewise.
18566 (significand_test): Likewise.
18568 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18571 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18573 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18576 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18577 __ppc_mdoio and __ppc_mdoom.
18578 * manual/platform.texi: Document new functions __ppc_yield,
18579 __ppc_mdoio and __ppc_mdoom.
18581 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18583 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18584 (main): Mention "tls" pseudo-hwcap is legacy.
18585 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18587 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18589 * math/gen-libm-test.pl (parse_args): Output only string of
18590 arguments as text for test name, not full call or descriptions of
18591 tests for extra outputs.
18592 (generate_testfile): Do not pass function name to parse_args.
18593 Generate this_func variable from START.
18594 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18596 (struct test_ff_f_data): Likewise.
18597 (test_ff_f_data_nexttoward): Likewise.
18598 (struct test_fi_f_data): Likewise.
18599 (struct test_fl_f_data): Likewise.
18600 (struct test_if_f_data): Likewise.
18601 (struct test_fff_f_data): Likewise.
18602 (struct test_c_f_data): Likewise.
18603 (struct test_f_f1_data): Likewise. Remove field extra_name.
18604 (struct test_fF_f1_data): Likewise.
18605 (struct test_ffI_f1_data): Likewise.
18606 (struct test_c_c_data): Rename test_name field to arg_str.
18607 (struct test_cc_c_data): Likewise.
18608 (struct test_f_i_data): Likewise.
18609 (struct test_ff_i_data): Likewise.
18610 (struct test_f_l_data): Likewise.
18611 (struct test_f_L_data): Likewise.
18612 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18614 (COMMON_TEST_SETUP): New macro.
18615 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18616 (COMMON_TEST_CLEANUP): Likewise.
18617 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18618 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18620 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18621 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18623 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18624 (RUN_TEST_fff_f): Take argument string. Call new setup and
18626 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18627 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18629 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18630 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18632 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18633 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18635 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18636 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18638 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18639 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18641 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18642 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18644 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18645 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18647 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18648 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18650 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18651 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18653 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18654 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18656 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18657 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18659 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18660 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18662 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18663 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18665 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18666 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18668 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18669 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18671 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18673 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18675 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18676 to _sifields.sigfault.
18677 (si_addr_lsb): Define new macro.
18678 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18679 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18680 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18682 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18685 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18687 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18689 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18690 loading the domain.
18692 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18694 * math/gen-libm-test.pl (parse_args): Do not include expected
18695 result in test name.
18696 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18697 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18698 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18699 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18700 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18703 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18705 * benchtests/Makefile: Sort function entries.
18707 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18708 tanh, asinh, acosh, atanh.
18709 * benchtests/acos-inputs: New file.
18710 * benchtests/acosh-inputs: New file.
18711 * benchtests/asin-inputs: New file.
18712 * benchtests/asinh-inputs: New file.
18713 * benchtests/atanh-inputs: New file.
18714 * benchtests/cosh-inputs: New file.
18715 * benchtests/log-inputs: New file.
18716 * benchtests/sinh-inputs: New file.
18717 * benchtests/tanh-inputs: New file.
18719 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18722 * posix/tst-getaddrinfo4.c: New test.
18723 * posix/Makefile (tests): Add it.
18725 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18728 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18729 when no services were used.
18730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18731 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18733 2013-05-21 Andreas Schwab <schwab@suse.de>
18736 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18737 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18739 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18740 redundant variable declarations and reallocation of buffer when
18741 parsing as IPv6 address. Always set NSS status when called from
18742 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18743 buffer too small. Correct computation of needed size.
18744 * nss/Makefile (tests): Add test-digits-dots.
18745 * nss/test-digits-dots.c: New test.
18747 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18749 * benchtests/Makefile: Remove instructions for adding
18751 * benchtests/README: New file to explain how to execute and
18752 enhance the benchmark tests.
18754 2013-05-21 Andreas Schwab <schwab@suse.de>
18757 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18758 * setjmp/tst-sigsetjmp.c: New test.
18760 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18762 * sysdeps/x86_64/memset.S (memset): New implementation.
18763 (__bzero): Likewise.
18764 (__memset_tail): New function.
18766 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18768 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18769 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18770 __memcpy_sse2_unaligned ifunc selection.
18771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18772 Add memcpy-sse2-unaligned.S.
18773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18774 Add: __memcpy_sse2_unaligned.
18776 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18779 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18780 math_force_eval before restoring floating-point envrionment.
18781 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18782 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18784 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18786 (__nearbyintl): Use math_force_eval before restoring
18787 floating-point environment.
18788 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18790 * math/gen-libm-test.pl (special_functions): Remove.
18791 (parse_args): Don't handle TEST_extra. Handle functions with no
18793 * math/libm-test.inc (struct test_sincos_data): Replace with
18794 struct test_fFF_11_data.
18795 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18796 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18797 (sincos_test_data): Change element type to struct
18798 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18799 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18800 RUN_TEST_LOOP_sincos.
18801 * math/README.libm-test: Don't mention special handling of
18802 individual functions.
18803 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18804 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18805 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18806 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18807 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18810 * math/gen-libm-test.pl (get_variable): Remove function.
18811 (parse_args): Don't show pointer parameters to call in test
18812 names. Use "extra output N" in test names for extra outputs
18813 rather than naming variables.
18815 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18818 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18819 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18820 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18822 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18824 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18827 * math/gen-libm-test.pl (@tests): Remove variable.
18828 ($count): Likewise.
18829 (new_test): Remove function.
18830 (show_exceptions): New function.
18831 (special_functions): Use show_exceptions instead of new_test.
18832 (parse_args): Likewise.
18833 (generate_testfile): Pass only function name in generated call to
18834 print_max_error or print_complex_max_error.
18835 (get_ulps): Do not handle complex tests specially.
18836 (output_test): Rename to ...
18837 (get_all_ulps_for_test): ... this. Return a string rather than
18838 printing to a file. Require ulps to be present.
18839 (output_ulps): Generate arrays rather than #defines.
18840 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18841 (struct ulp_data): New type.
18842 (BUILD_COMPLEX_ULP): Remove macro.
18843 (compare_ulp_data): New function.
18844 (find_ulps): Likewise.
18845 (find_test_ulps): Likewise.
18846 (find_function_ulps): Likewise.
18847 (find_complex_function_ulps): Likewise.
18848 (print_max_error): Determine allowed ulps using
18849 find_function_ulps.
18850 (print_complex_max_error): Determine allowed ulps using
18851 find_complex_function_ulps.
18852 (check_float_internal): Determine max ulps using find_test_ulps.
18853 (check_float): Do not take max_ulp parameter. Update call to
18854 check_float_internal.
18855 (check_complex): Likewise.
18856 (check_int): Do not take max_ulp parameter.
18857 (check_long): Likewise.
18858 (check_bool): Likewise.
18859 (check_longlong): Likewise.
18860 (struct test_f_f_data): Remove max_ulp field.
18861 (struct test_ff_f_data): Likewise.
18862 (struct test_ff_f_data_nexttoward): Likewise.
18863 (struct test_fi_f_data): Likewise.
18864 (struct test_fl_f_data): Likewise.
18865 (struct test_if_f_data): Likewise.
18866 (struct test_fff_f_data): Likewise.
18867 (struct test_c_f_data): Likewise.
18868 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18869 (struct test_fF_f1_data): Likewise.
18870 (struct test_ffI_f1_data): Likewise.
18871 (struct test_c_c_data): Remove max_ulp field.
18872 (struct test_cc_c_data): Likewise.
18873 (struct test_f_i_data): Likewise.
18874 (struct test_ff_i_data): Likewise.
18875 (struct test_f_l_data): Likewise.
18876 (struct test_f_L_data): Likewise.
18877 (struct test_sincos_data): Likewise.
18878 (RUN_TEST_f_f): Do not handle ulps.
18879 (RUN_TEST_LOOP_f_f): Likewise.
18880 (RUN_TEST_2_f): Likewise.
18881 (RUN_TEST_LOOP_2_f): Likewise.
18882 (RUN_TEST_fff_f): Likewise.
18883 (RUN_TEST_LOOP_fff_f): Likewise.
18884 (RUN_TEST_c_f): Likewise.
18885 (RUN_TEST_LOOP_c_f): Likewise.
18886 (RUN_TEST_f_f1): Likewise.
18887 (RUN_TEST_LOOP_f_f1): Likewise.
18888 (RUN_TEST_fF_f1): Likewise.
18889 (RUN_TEST_LOOP_fF_f1): Likewise.
18890 (RUN_TEST_fI_f1): Likewise.
18891 (RUN_TEST_LOOP_fI_f1): Likewise.
18892 (RUN_TEST_ffI_f1): Likewise.
18893 (RUN_TEST_LOOP_ffI_f1): Likewise.
18894 (RUN_TEST_c_c): Likewise.
18895 (RUN_TEST_LOOP_c_c): Likewise.
18896 (RUN_TEST_cc_c): Likewise.
18897 (RUN_TEST_LOOP_cc_c): Likewise.
18898 (RUN_TEST_f_i): Likewise.
18899 (RUN_TEST_LOOP_f_i): Likewise.
18900 (RUN_TEST_f_i_tg): Likewise.
18901 (RUN_TEST_LOOP_f_i_tg): Likewise.
18902 (RUN_TEST_ff_i_tg): Likewise.
18903 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18904 (RUN_TEST_f_b): Likewise.
18905 (RUN_TEST_LOOP_f_b): Likewise.
18906 (RUN_TEST_f_b_tg): Likewise.
18907 (RUN_TEST_LOOP_f_b_tg): Likewise.
18908 (RUN_TEST_f_l): Likewise.
18909 (RUN_TEST_LOOP_f_l): Likewise.
18910 (RUN_TEST_f_L): Likewise.
18911 (RUN_TEST_LOOP_f_L): Likewise.
18912 (RUN_TEST_sincos): Likewise.
18913 (RUN_TEST_LOOP_sincos): Likewise.
18915 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18919 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18920 main case of finite arguments, set rounding mode to FE_TONEAREST
18921 and discard exceptions.
18922 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18924 (remainder_tonearest_test_data): New variable.
18925 (remainder_test_tonearest): New function.
18926 (remainder_towardzero_test_data): New variable.
18927 (remainder_test_towardzero): New function.
18928 (remainder_downward_test_data): New variable.
18929 (remainder_test_downward): New function.
18930 (remainder_upward_test_data): New variable.
18931 (remainder_test_upward): New function.
18932 (main): Call the new test functions.
18934 * math/libm-test.inc (struct test_f_f1_data): Remove field
18936 (struct test_fF_f1_data): Likewise.
18937 (struct test_ffI_f1_data): Likewise.
18938 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18939 based on value of EXTRA_EXPECTED.
18940 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18941 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18942 EXTRA_VAR based on value of EXTRA_EXPECTED.
18943 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18944 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18945 EXTRA_VAR based on value of EXTRA_EXPECTED.
18946 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18947 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18948 EXTRA_VAR based on value of EXTRA_EXPECTED.
18949 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18950 * math/gen-libm-test.pl (parse_args): Don't output initializers
18951 for extra output values.
18953 * math/libm-test.inc (check_int): Expect result to be exactly
18954 equal to expected value and do not handle ulps.
18955 (check_long): Likewise.
18956 (check_longlong): Likewise.
18958 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18960 (cimag_test_data): Likewise.
18961 (conj_test_data): Likewise.
18962 (copysign_test_data): Likewise.
18963 (cproj_test_data): Likewise.
18964 (creal_test_data): Likewise.
18965 (fabs_test_data): Likewise.
18966 (fdim_test_data): Likewise.
18967 (finite_test_data): Likewise.
18968 (floor_test_data): Likewise.
18969 (fmax_test_data): Likewise.
18970 (fmin_test_data): Likewise.
18971 (fmod_test_data): Likewise.
18972 (fpclassify_test_data): Likewise.
18973 (frexp_test_data): Likewise.
18974 (ilogb_test_data): Likewise.
18975 (isfinite_test_data): Likewise.
18976 (isgreater_test_data): Likewise.
18977 (isgreaterequal_test_data): Likewise.
18978 (isinf_test_data): Likewise.
18979 (isless_test_data): Likewise.
18980 (islessequal_test_data): Likewise.
18981 (islessgreater_test_data): Likewise.
18982 (isnan_test_data): Likewise.
18983 (isnormal_test_data): Likewise.
18984 (issignaling_test_data): Likewise.
18985 (isunordered_test_data): Likewise.
18986 (ldexp_test_data): Likewise.
18987 (lrint_test_data): Likewise.
18988 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18989 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18990 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18991 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18992 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18993 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18995 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18996 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18997 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18998 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19000 (lrint_downward_test_data): Test for "inexact" exceptions.
19001 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19002 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19003 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19005 (lrint_upward_test_data): Test for "inexact" exceptions.
19006 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19008 (llrint_test_data): Test for "inexact" exceptions.
19009 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19010 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19011 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19012 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19013 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19014 (llrint_downward_test_data): Test for "inexact" exceptions.
19015 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19016 (llrint_upward_test_data): Test for "inexact" exceptions.
19017 (logb_test_data): Likewise.
19018 (logb_downward_test_data): Likewise.
19019 (nextafter_test_data): Likewise.
19020 (nexttoward_test_data): Likewise.
19021 (remainder_test_data): Likewise.
19022 (remquo_test_data): Likewise.
19023 (scalbn_test_data): Likewise.
19024 (scalbln_test_data): Likewise.
19025 (signbit_test_data): Likewise.
19026 (sqrt_test_data): Likewise.
19027 (significand_test_data): Likewise.
19029 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19032 * benchtests/bench-modf.c (struct args): Mark arg0 as
19034 * scripts/bench.pl: Mark members of struct args as volatile.
19036 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19039 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19040 negative infinity on POWER6 or lower.
19041 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19043 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19046 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19047 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19048 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19049 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19050 (_FP_SETQNAN): New macro.
19051 (_FP_SETQNAN_SEMIRAW): Likewise.
19052 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19053 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19054 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19055 (FP_EXTEND): Use _FP_FRAC_SNANP.
19056 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19057 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19059 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19061 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19064 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19066 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19067 with DIVIDE_BY_ZERO_EXCEPTION.
19068 (gamma_test_data): Likewise.
19069 (lgamma_test_data): Likewise.
19070 (log_test_data): Likewise.
19071 (log10_test_data): Likewise.
19072 (log2_test_data): Likewise.
19073 (tgamma_test_data): Likewise.
19075 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19076 (acos_test_tonearest): Likewise.
19077 (acos_test_towardzero): Likewise.
19078 (acos_test_downward): Likewise.
19079 (acos_test_upward): Likewise.
19080 (acosh_test): Likewise.
19081 (asin_test): Likewise.
19082 (asin_test_tonearest): Likewise.
19083 (asin_test_towardzero): Likewise.
19084 (asin_test_downward): Likewise.
19085 (asin_test_upward): Likewise.
19086 (asinh_test): Likewise.
19087 (atan_test): Likewise.
19088 (atanh_test): Likewise.
19089 (atan2_test): Likewise.
19090 (cabs_test): Likewise.
19091 (cacos_test): Likewise.
19092 (cacosh_test): Likewise.
19093 (casin_test): Likewise.
19094 (casinh_test): Likewise.
19095 (catan_test): Likewise.
19096 (catanh_test): Likewise.
19097 (cbrt_test): Likewise.
19098 (ccos_test): Likewise.
19099 (ccosh_test): Likewise.
19100 (cexp_test): Likewise.
19101 (clog_test): Likewise.
19102 (clog10_test): Likewise.
19103 (cos_test): Likewise.
19104 (cos_test_tonearest): Likewise.
19105 (cos_test_towardzero): Likewise.
19106 (cos_test_downward): Likewise.
19107 (cos_test_upward): Likewise.
19108 (cosh_test): Likewise.
19109 (cosh_test_tonearest): Likewise.
19110 (cosh_test_towardzero): Likewise.
19111 (cosh_test_downward): Likewise.
19112 (cosh_test_upward): Likewise.
19113 (cpow_test): Likewise.
19114 (csin_test): Likewise.
19115 (csinh_test): Likewise.
19116 (csqrt_test): Likewise.
19117 (ctan_test): Likewise.
19118 (ctan_test_tonearest): Likewise.
19119 (ctan_test_towardzero): Likewise.
19120 (ctan_test_downward): Likewise.
19121 (ctan_test_upward): Likewise.
19122 (ctanh_test): Likewise.
19123 (ctanh_test_tonearest): Likewise.
19124 (ctanh_test_towardzero): Likewise.
19125 (ctanh_test_downward): Likewise.
19126 (ctanh_test_upward): Likewise.
19127 (erf_test): Likewise.
19128 (erfc_test): Likewise.
19129 (exp_test): Likewise.
19130 (exp_test_tonearest): Likewise.
19131 (exp_test_towardzero): Likewise.
19132 (exp_test_downward): Likewise.
19133 (exp_test_upward): Likewise.
19134 (exp10_test): Likewise.
19135 (exp2_test): Likewise.
19136 (expm1_test): Likewise.
19137 (fmod_test): Likewise.
19138 (gamma_test): Likewise.
19139 (hypot_test): Likewise.
19140 (j0_test): Likewise.
19141 (j1_test): Likewise.
19142 (jn_test): Likewise.
19143 (lgamma_test): Likewise.
19144 (log_test): Likewise.
19145 (log10_test): Likewise.
19146 (log1p_test): Likewise.
19147 (log2_test): Likewise.
19148 (logb_test_downward): Likewise.
19149 (pow_test): Likewise.
19150 (pow_test_tonearest): Likewise.
19151 (pow_test_towardzero): Likewise.
19152 (pow_test_downward): Likewise.
19153 (pow_test_upward): Likewise.
19154 (remainder_test): Likewise.
19155 (remquo_test): Likewise.
19156 (sin_test): Likewise.
19157 (sin_test_tonearest): Likewise.
19158 (sin_test_towardzero): Likewise.
19159 (sin_test_downward): Likewise.
19160 (sin_test_upward): Likewise.
19161 (sincos_test): Likewise.
19162 (sinh_test): Likewise.
19163 (sinh_test_tonearest): Likewise.
19164 (sinh_test_towardzero): Likewise.
19165 (sinh_test_downward): Likewise.
19166 (sinh_test_upward): Likewise.
19167 (sqrt_test): Likewise.
19168 (tan_test): Likewise.
19169 (tan_test_tonearest): Likewise.
19170 (tan_test_towardzero): Likewise.
19171 (tan_test_downward): Likewise.
19172 (tan_test_upward): Likewise.
19173 (tanh_test): Likewise.
19174 (tgamma_test): Likewise.
19175 (y0_test): Likewise.
19176 (y1_test): Likewise.
19177 (yn_test): Likewise.
19179 * math/gen-libm-test.pl (adjust_arg): Remove function.
19180 (special_function): Remove argument $in_func. Only handle
19181 generating output for tables of tests, not inside functions.
19182 (parse_args): Likewise.
19183 (generate_testfile): Remove variable $in_func. Update call to
19185 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19186 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19187 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19188 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19189 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19190 (MAX_VALUE_INIT): Rename macro to max_value.
19191 (MIN_VALUE_INIT): Rename macro to min_value.
19192 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19193 (plus_zero): Remove variable.
19194 (minus_zero): Likewise.
19195 (plus_infty): Likewise.
19196 (minus_infty): Likewise.
19197 (qnan_value): Likewise.
19198 (max_value): Likewise.
19199 (min_value): Likewise.
19200 (min_subnorm_value): Likewise.
19202 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19204 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19205 uint64_t or uint32_t usage.
19206 * crypt/sha256-block.c: Likewise.
19207 * crypt/sha256-crypt.c: Likewise.
19208 * crypt/sha256.c: Likewise.
19209 * crypt/sha512-block.c: Likewise.
19210 * crypt/sha512-crypt.c: Likewise.
19211 * crypt/sha512.c: Likewise.
19212 * debug/backtrace-tst.c: Likewise.
19213 * debug/pcprofiledump.c: Likewise.
19214 * elf/cache.c: Likewise.
19215 * elf/dl-cache.c: Likewise.
19216 * elf/dl-misc.c: Likewise.
19217 * elf/dl-profile.c: Likewise.
19218 * elf/dl-support.c: Likewise.
19219 * elf/ldconfig.c: Likewise.
19220 * elf/sprof.c: Likewise.
19221 * iconv/dummy-repertoire.c: Likewise.
19222 * iconv/iconv_charmap.c: Likewise.
19223 * iconv/skeleton.c: Likewise.
19224 * iconvdata/8bit-generic.c: Likewise.
19225 * iconvdata/cp737.h: Likewise.
19226 * iconvdata/cp775.h: Likewise.
19227 * iconvdata/ibm1008.h: Likewise.
19228 * iconvdata/ibm1025.h: Likewise.
19229 * iconvdata/ibm1046.h: Likewise.
19230 * iconvdata/ibm1097.h: Likewise.
19231 * iconvdata/ibm1112.h: Likewise.
19232 * iconvdata/ibm1122.h: Likewise.
19233 * iconvdata/ibm1123.h: Likewise.
19234 * iconvdata/ibm1124.h: Likewise.
19235 * iconvdata/ibm1129.h: Likewise.
19236 * iconvdata/ibm1130.h: Likewise.
19237 * iconvdata/ibm1132.h: Likewise.
19238 * iconvdata/ibm1133.h: Likewise.
19239 * iconvdata/ibm1137.h: Likewise.
19240 * iconvdata/ibm1140.h: Likewise.
19241 * iconvdata/ibm1141.h: Likewise.
19242 * iconvdata/ibm1142.h: Likewise.
19243 * iconvdata/ibm1143.h: Likewise.
19244 * iconvdata/ibm1144.h: Likewise.
19245 * iconvdata/ibm1145.h: Likewise.
19246 * iconvdata/ibm1146.h: Likewise.
19247 * iconvdata/ibm1147.h: Likewise.
19248 * iconvdata/ibm1148.h: Likewise.
19249 * iconvdata/ibm1149.h: Likewise.
19250 * iconvdata/ibm1153.h: Likewise.
19251 * iconvdata/ibm1154.h: Likewise.
19252 * iconvdata/ibm1155.h: Likewise.
19253 * iconvdata/ibm1156.h: Likewise.
19254 * iconvdata/ibm1157.h: Likewise.
19255 * iconvdata/ibm1158.h: Likewise.
19256 * iconvdata/ibm1160.h: Likewise.
19257 * iconvdata/ibm1161.h: Likewise.
19258 * iconvdata/ibm1162.h: Likewise.
19259 * iconvdata/ibm1163.h: Likewise.
19260 * iconvdata/ibm1164.h: Likewise.
19261 * iconvdata/ibm1166.h: Likewise.
19262 * iconvdata/ibm1167.h: Likewise.
19263 * iconvdata/ibm12712.h: Likewise.
19264 * iconvdata/ibm1390.h: Likewise.
19265 * iconvdata/ibm1399.h: Likewise.
19266 * iconvdata/ibm16804.h: Likewise.
19267 * iconvdata/ibm4517.h: Likewise.
19268 * iconvdata/ibm4899.h: Likewise.
19269 * iconvdata/ibm4909.h: Likewise.
19270 * iconvdata/ibm4971.h: Likewise.
19271 * iconvdata/ibm5347.h: Likewise.
19272 * iconvdata/ibm803.h: Likewise.
19273 * iconvdata/ibm856.h: Likewise.
19274 * iconvdata/ibm901.h: Likewise.
19275 * iconvdata/ibm902.h: Likewise.
19276 * iconvdata/ibm9030.h: Likewise.
19277 * iconvdata/ibm9066.h: Likewise.
19278 * iconvdata/ibm921.h: Likewise.
19279 * iconvdata/ibm922.h: Likewise.
19280 * iconvdata/ibm9448.h: Likewise.
19281 * iconvdata/isiri-3342.h: Likewise.
19282 * iconvdata/jis0201.h: Likewise.
19283 * include/link.h: Likewise.
19284 * include/netdb.h: Likewise.
19285 * inet/check_native.c: Likewise.
19286 * inet/check_pf.c: Likewise.
19287 * inet/getipv4sourcefilter.c: Likewise.
19288 * inet/getnameinfo.c: Likewise.
19289 * inet/getsourcefilter.c: Likewise.
19290 * inet/htonl.c: Likewise.
19291 * inet/setipv4sourcefilter.c: Likewise.
19292 * inet/setsourcefilter.c: Likewise.
19293 * inet/test-inet6_opt.c: Likewise.
19294 * inet/tst-network.c: Likewise.
19295 * locale/C-collate.c: Likewise.
19296 * locale/C-ctype.c: Likewise.
19297 * locale/C-time.c: Likewise.
19298 * locale/C-translit.h: Likewise.
19299 * locale/loadarchive.c: Likewise.
19300 * locale/programs/3level.h: Likewise.
19301 * locale/programs/charmap.c: Likewise.
19302 * locale/programs/charmap.h: Likewise.
19303 * locale/programs/ld-address.c: Likewise.
19304 * locale/programs/ld-collate.c: Likewise.
19305 * locale/programs/ld-ctype.c: Likewise.
19306 * locale/programs/ld-identification.c: Likewise.
19307 * locale/programs/ld-measurement.c: Likewise.
19308 * locale/programs/ld-messages.c: Likewise.
19309 * locale/programs/ld-monetary.c: Likewise.
19310 * locale/programs/ld-name.c: Likewise.
19311 * locale/programs/ld-numeric.c: Likewise.
19312 * locale/programs/ld-paper.c: Likewise.
19313 * locale/programs/ld-telephone.c: Likewise.
19314 * locale/programs/ld-time.c: Likewise.
19315 * locale/programs/linereader.c: Likewise.
19316 * locale/programs/locale.c: Likewise.
19317 * locale/programs/locarchive.c: Likewise.
19318 * locale/programs/locfile.h: Likewise.
19319 * locale/programs/repertoire.c: Likewise.
19320 * locale/programs/simple-hash.c: Likewise.
19321 * locale/programs/simple-hash.h: Likewise.
19322 * malloc/memusage.c: Likewise.
19323 * malloc/memusagestat.c: Likewise.
19324 * nis/nis_defaults.c: Likewise.
19325 * nis/nis_hash.c: Likewise.
19326 * nis/nis_print.c: Likewise.
19327 * nis/nis_xdr.c: Likewise.
19328 * nscd/connections.c: Likewise.
19329 * nscd/hstcache.c: Likewise.
19330 * nscd/nscd_gethst_r.c: Likewise.
19331 * nscd/nscd_getserv_r.c: Likewise.
19332 * nscd/nscd_helper.c: Likewise.
19333 * nscd/servicescache.c: Likewise.
19334 * nss/makedb.c: Likewise.
19335 * nss/nss_db/db-XXX.c: Likewise.
19336 * nss/nss_db/db-initgroups.c: Likewise.
19337 * nss/nss_db/db-netgrp.c: Likewise.
19338 * nss/nss_files/files-network.c: Likewise.
19339 * nss/nss_files/files-parse.c: Likewise.
19340 * posix/bug-regex5.c: Likewise.
19341 * posix/fnmatch_loop.c: Likewise.
19342 * posix/regcomp.c: Likewise.
19343 * posix/regexec.c: Likewise.
19344 * posix/tst-rfc3484-2.c: Likewise.
19345 * posix/tst-rfc3484-3.c: Likewise.
19346 * posix/tst-rfc3484.c: Likewise.
19347 * resolv/nss_dns/dns-canon.c: Likewise.
19348 * resolv/nss_dns/dns-network.c: Likewise.
19349 * resolv/res_init.c: Likewise.
19350 * resolv/res_mkquery.c: Likewise.
19351 * resolv/tst-aton.c: Likewise.
19352 * stdlib/cxa_atexit.c: Likewise.
19353 * stdlib/cxa_finalize.c: Likewise.
19354 * stdlib/gen-fpioconst.c: Likewise.
19355 * stdlib/strtol_l.c: Likewise.
19356 * string/tst-endian.c: Likewise.
19357 * sunrpc/auth_des.c: Likewise.
19358 * sunrpc/clnt_udp.c: Likewise.
19359 * sunrpc/rtime.c: Likewise.
19360 * sunrpc/svcauth_des.c: Likewise.
19361 * sunrpc/xdr.c: Likewise.
19362 * sunrpc/xdr_intXX_t.c: Likewise.
19363 * sunrpc/xdr_rec.c: Likewise.
19364 * sysdeps/generic/ldconfig.h: Likewise.
19365 * sysdeps/generic/ldsodefs.h: Likewise.
19366 * sysdeps/generic/memusage.h: Likewise.
19367 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19368 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19369 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19370 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19371 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19375 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19376 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19377 * sysdeps/posix/getaddrinfo.c: Likewise.
19378 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19379 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19380 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19381 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19382 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19383 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19384 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19385 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19386 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19387 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19388 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19389 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19390 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19391 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19392 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19393 * sysdeps/x86_64/dl-tls.h: Likewise.
19394 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19395 * time/alt_digit.c: Likewise.
19396 * time/era.c: Likewise.
19397 * wcsmbs/tst-c16c32-1.c: Likewise.
19399 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19401 * math/libm-test.inc (struct test_sincos_data): New type.
19402 (RUN_TEST_LOOP_sincos): New macro.
19403 (sincos_test_data): New variable.
19404 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19406 2013-05-16 Richard Henderson <rth@redhat.com>
19408 * math/atest-exp2.c (LIMB64): New macro.
19409 (CONSTSZ): New macro.
19410 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19412 (print_mpn_fp): ... to function scope.
19413 (read_mpn_hex): Remove.
19414 (get_log2): Remove.
19415 (exp2_mpn): Use mp_log2.
19416 (main): Use mp_exp1.
19418 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19420 * math/libm-test.inc: Remove comment about not testing "inexact"
19422 (INEXACT_EXCEPTION): New macro.
19423 (NO_INEXACT_EXCEPTION): Likewise.
19424 (INVALID_EXCEPTION_OK): Update value.
19425 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19426 (OVERFLOW_EXCEPTION_OK): Likewise.
19427 (UNDERFLOW_EXCEPTION_OK): Likewise.
19428 (IGNORE_ZERO_INF_SIGN): Likewise.
19429 (ERRNO_UNCHANGED): Likewise.
19430 (ERRNO_EDOM): Likewise.
19431 (ERRNO_ERANGE): Likewise.
19432 (test_exceptions): Handle testing "inexact" exceptions.
19433 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19434 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19435 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19436 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19438 (rint_towardzero_test_data): Likewise.
19439 (rint_downward_test_data): Likewise.
19440 (rint_upward_test_data): Likewise.
19442 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19443 with OVERFLOW_EXCEPTION.
19444 (exp10_test_data): Likewise.
19445 (exp2_test_data): Likewise.
19446 (expm1_test_data): Likewise.
19447 (lgamma_test_data): Likewise.
19448 (pow_test_data): Likewise.
19449 (tgamma_test_data): Likewise.
19450 (yn_test_data): Remove duplicate test of overflow.
19452 * math/libm-test.inc (struct test_cc_c_data): New type.
19453 (RUN_TEST_LOOP_cc_c): New macro.
19454 (cpow_test_data): New variable.
19455 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19457 * math/libm-test.inc (struct test_f_L_data): New type.
19458 (RUN_TEST_LOOP_f_L): New macro.
19459 (llrint_test_data): New variable.
19460 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19461 (llrint_tonearest_test_data): New variable.
19462 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19463 (llrint_towardzero_test_data): New variable.
19464 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19465 (llrint_downward_test_data): New variable.
19466 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19467 (llrint_upward_test_data): New variable.
19468 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19469 (llround_test_data): New variable.
19470 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19472 2013-05-13 Peter Collingbourne <pcc@google.com>
19474 * math/atest-exp2.c (get_log2): Remove const attribute.
19476 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19478 * math/libm-test.inc (struct test_f_l_data): New type.
19479 (RUN_TEST_LOOP_f_l): New macro.
19480 (lrint_test_data): New variable.
19481 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19482 (lrint_tonearest_test_data): New variable.
19483 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19484 (lrint_towardzero_test_data): New variable.
19485 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19486 (lrint_downward_test_data): New variable.
19487 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19488 (lrint_upward_test_data): New variable.
19489 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19490 (lround_test_data): New variable.
19491 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19493 2013-05-15 Peter Collingbourne <pcc@google.com>
19495 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19496 (EXTRACT_WORDS64) Use where appropriate.
19497 (INSERT_WORDS64) Likewise.
19499 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19500 constraints with x constraints.
19501 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19503 * malloc/obstack.c (_obstack_compat): Add initializer.
19505 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19507 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19508 si_trapno and add si_addr_lsb to _sifields.sigfault.
19509 (si_trapno): Remove macro.
19510 (si_addr_lsb): Define new macro.
19511 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19513 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19515 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19516 instead of TEST_f_l.
19517 (llrint_test_tonearest): Likewise.
19518 (llrint_test_towardzero): Likewise.
19519 (llrint_test_downward): Likewise.
19520 (llrint_test_upward): Likewise.
19521 (llround_test): Likewise.
19523 * math/libm-test.inc (struct test_f_i_data): Add comment.
19524 (RUN_TEST_LOOP_f_b): New macro.
19525 (RUN_TEST_LOOP_f_b_tg): Likewise.
19526 (finite_test_data): New variable.
19527 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19528 (isfinite_test_data): New variable.
19529 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19530 (isinf_test_data): New variable.
19531 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19532 (isnan_test_data): New variable.
19533 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19534 (isnormal_test_data): New variable.
19535 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19536 (issignaling_test_data): New variable.
19537 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19538 (signbit_test_data): New variable.
19539 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19541 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19542 with INVALID_EXCEPTION.
19543 (acosh_test_data): Likewise.
19544 (asin_test_data): Likewise.
19545 (atanh_test_data): Likewise.
19546 (fmod_test_data): Likewise.
19547 (log_test_data): Likewise.
19548 (log10_test_data): Likewise.
19549 (log2_test_data): Likewise.
19550 (pow_test_data): Likewise.
19551 (sqrt_test_data): Likewise.
19552 (y0_test_data): Likewise.
19553 (y1_test_data): Likewise.
19554 (yn_test_data): Likewise.
19556 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19559 * math/libm-test.inc (struct test_ff_i_data): New type.
19560 (RUN_TEST_LOOP_ff_i_tg): New macro.
19561 (isgreater_test_data): New variable.
19562 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19563 (isgreaterequal_test_data): New variable.
19564 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19565 (isless_test_data): New variable.
19566 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19567 (islessequal_test_data): New variable.
19568 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19569 (islessgreater_test_data): New variable.
19570 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19571 (isunordered_test_data): New variable.
19572 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19574 2013-05-14 David S. Miller <davem@davemloft.net>
19576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19578 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19580 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19582 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19584 (struct test_f_i_data): Change type of max_ulp to int.
19586 * math/libm-test.inc (test_ffI_f1_data): New type.
19587 (RUN_TEST_LOOP_ffI_f1): New macro.
19588 (remquo_test_data): New variable.
19589 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19591 * setjmp/tst-setjmp-fp.c: New file.
19592 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19593 (link-libm): New variable.
19594 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19596 * math/libm-test.inc (struct test_f_i_data): New type.
19597 (RUN_TEST_LOOP_f_i): New macro.
19598 (RUN_TEST_LOOP_f_i_tg): Likewise.
19599 (fpclassify_test_data): New variable.
19600 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19601 (ilogb_test_data): New variable.
19602 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19604 * math/libm-test.inc (scalbln_test): Correct function name in END
19607 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19608 (RUN_TEST_LOOP_fI_f1): New macro.
19609 (frexp_test_data): New variable.
19610 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19612 * math/libm-test.inc (struct test_fF_f1_data): New type.
19613 (RUN_TEST_LOOP_fF_f1): New macro.
19614 (modf_test_data): New variable.
19615 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19617 * math/libm-test.inc (struct test_f_f1_data): New type.
19618 (RUN_TEST_LOOP_f_f1): New macro.
19619 (gamma_test_data): New variable.
19620 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19621 (lgamma_test_data): New variable.
19622 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19624 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19626 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19627 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19628 (main): Comment "tls" pseudo-hwcap.
19630 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19632 * math/libm-test.inc (struct test_fl_f_data): New type.
19633 (RUN_TEST_LOOP_fl_f): New variable.
19634 (scalbln_test_data): New variable.
19635 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19637 * math/libm-test.inc (struct test_fi_f_data): New type.
19638 (RUN_TEST_LOOP_fi_f): New macro.
19639 (ldexp_test_data): New variable.
19640 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19641 (scalbn_test_data): New variable.
19642 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19644 * math/libm-test.inc (struct test_c_f_data): New type.
19645 (RUN_TEST_LOOP_c_f): New macro.
19646 (cabs_test_data): New variable.
19647 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19648 (carg_test_data): New variable.
19649 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19650 (cimag_test_data): New variable.
19651 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19652 (creal_test_data): New variable.
19653 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19655 * math/libm-test.inc (struct test_if_f_data): New type.
19656 (RUN_TEST_LOOP_if_f): New macro.
19657 (jn_test_data): New variable.
19658 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19659 (yn_test_data): New variable.
19660 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19662 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19664 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19666 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19667 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19669 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19671 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19672 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19673 (bench-deps): Add bench-timing.h.
19674 * benchtests-bench-skeleton.c: Include bench-timing.h.
19675 (main): Use TIMING_* macros instead of clock_gettime.
19676 * benchtests/bench-timing.h: New file.
19679 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19680 Renamed from _LIB_VERSION.
19681 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19683 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19685 * math/libm-test.inc (struct test_fff_f_data): New type.
19686 (RUN_TEST_LOOP_fff_f): New macro.
19687 (fma_test_data): New variable.
19688 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19689 (fma_towardzero_test_data): New variable.
19690 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19691 (fma_downward_test_data): New variable.
19692 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19693 (fma_upward_test_data): New variable.
19694 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19696 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19697 (struct test_c_c_data): New type.
19698 (RUN_TEST_LOOP_c_c): New macro.
19699 (cacos_test_data): New variable.
19700 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19701 (cacosh_test_data): New variable.
19702 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19703 (casin_test_data): New variable.
19704 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19705 (casinh_test_data): New variable.
19706 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19707 (catan_test_data): New variable.
19708 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19709 (catanh_test_data): New variable.
19710 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19711 (ccos_test_data): New variable.
19712 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19713 (ccosh_test_data): New variable.
19714 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19715 (cexp_test_data): New variable.
19716 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19717 (clog_test_data): New variable.
19718 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19719 (clog10_test_data): New variable.
19720 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19721 (conj_test_data): New variable.
19722 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19723 (cproj_test_data): New variable.
19724 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19725 (csin_test_data): New variable.
19726 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19727 (csinh_test_data): New variable.
19728 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19729 (csqrt_test_data): New variable.
19730 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19731 (ctan_test_data): New variable.
19732 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19733 (ctan_tonearest_test_data): New variable.
19734 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19735 (ctan_towardzero_test_data): New variable.
19736 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19737 (ctan_downward_test_data): New variable.
19738 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19739 (ctan_upward_test_data): New variable.
19740 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19741 (ctanh_test_data): New variable.
19742 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19743 (ctanh_tonearest_test_data): New variable.
19744 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19745 (ctanh_towardzero_test_data): New variable.
19746 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19747 (ctanh_downward_test_data): New variable.
19748 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19749 (ctanh_upward_test_data): New variable.
19750 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19751 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19754 * math/libm-test.inc (struct test_ff_f_data): New type.
19755 (struct test_ff_f_data_nexttoward): Likewise.
19756 (RUN_TEST_LOOP_2_f): New macro.
19757 (RUN_TEST_LOOP_ff_f): Likewise.
19758 (atan2_test_data): New variable.
19759 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19760 (copysign_test_data): New variable.
19761 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19762 (fdim_test_data): New variable.
19763 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19764 (fmax_test_data): New variable.
19765 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19766 (fmin_test_data): New variable.
19767 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19768 (fmod_test_data): New variable.
19769 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19770 (hypot_test_data): New variable.
19771 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19772 (nextafter_test_data): New variable.
19773 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19774 (nexttoward_test_data): New variable.
19775 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19776 (pow_test_data): New variable.
19777 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19778 (pow_tonearest_test_data): New variable.
19779 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19780 (pow_towardzero_test_data): New variable.
19781 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19782 (pow_downward_test_data): New variable.
19783 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19784 (pow_upward_test_data): New variable.
19785 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19786 (remainder_test_data): New variable.
19787 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19788 (scalb_test_data): New variable.
19789 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19790 * sysdeps/i386/fpu/libm-test-ulps: Update.
19792 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19794 * math/libm-test.inc (fma_test): Use max_value instead of local
19796 (nextafter_test): Likewise.
19798 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19799 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19800 (acos_downward_test_data): New variable.
19801 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19802 (acos_upward_test_data): New variable.
19803 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19804 (acosh_test_data): New variable.
19805 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19806 (asin_test_data): New variable.
19807 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19808 (asin_tonearest_test_data): New variable.
19809 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19810 (asin_towardzero_test_data): New variable.
19811 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19812 (asin_downward_test_data): New variable.
19813 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19814 (asin_upward_test_data): New variable.
19815 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19816 (asinh_test_data): New variable.
19817 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19818 (atan_test_data): New variable.
19819 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19820 (atanh_test_data): New variable.
19821 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19822 (cbrt_test_data): New variable.
19823 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19824 (ceil_test_data): New variable.
19825 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19826 (cos_test_data): New variable.
19827 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19828 (cos_tonearest_test_data): New variable.
19829 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19830 (cos_towardzero_test_data): New variable.
19831 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19832 (cos_downward_test_data): New variable.
19833 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19834 (cos_upward_test_data): New variable.
19835 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19836 (cosh_test_data): New variable.
19837 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19838 (cosh_tonearest_test_data): New variable.
19839 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19840 (cosh_towardzero_test_data): New variable.
19841 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19842 (cosh_downward_test_data): New variable.
19843 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19844 (cosh_upward_test_data): New variable.
19845 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19846 (erf_test_data): New variable.
19847 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19848 (erfc_test_data): New variable.
19849 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19850 (exp_test_data): New variable.
19851 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19852 (exp_tonearest_test_data): New variable.
19853 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19854 (exp_towardzero_test_data): New variable.
19855 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19856 (exp_downward_test_data): New variable.
19857 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19858 (exp_upward_test_data): New variable.
19859 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19860 (exp10_test_data): New variable.
19861 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19862 (exp2_test_data): New variable.
19863 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19864 (expm1_test_data): New variable.
19865 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19866 (fabs_test_data): New variable.
19867 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19868 (floor_test_data): New variable.
19869 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19870 (j0_test_data): New variable.
19871 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19872 (j1_test_data): New variable.
19873 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19874 (log_test_data): New variable.
19875 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19876 (log10_test_data): New variable.
19877 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19878 (log1p_test_data): New variable.
19879 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19880 (log2_test_data): New variable.
19881 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19882 (logb_test_data): New variable.
19883 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19884 (logb_downward_test_data): New variable.
19885 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19886 (nearbyint_test_data): New variable.
19887 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19888 (rint_test_data): New variable.
19889 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19890 (rint_tonearest_test_data): New variable.
19891 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19892 (rint_towardzero_test_data): New variable.
19893 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19894 (rint_downward_test_data): New variable.
19895 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19896 (rint_upward_test_data): New variable.
19897 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19898 (round_test_data): New variable.
19899 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19900 (sin_test_data): New variable.
19901 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19902 (sin_tonearest_test_data): New variable.
19903 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19904 (sin_towardzero_test_data): New variable.
19905 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19906 (sin_downward_test_data): New variable.
19907 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19908 (sin_upward_test_data): New variable.
19909 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19910 (sinh_test_data): New variable.
19911 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19912 (sinh_tonearest_test_data): New variable.
19913 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19914 (sinh_towardzero_test_data): New variable.
19915 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19916 (sinh_downward_test_data): New variable.
19917 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19918 (sinh_upward_test_data): New variable.
19919 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19920 (sqrt_test_data): New variable.
19921 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19922 (tan_test_data): New variable.
19923 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19924 (tan_tonearest_test_data): New variable.
19925 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19926 (tan_towardzero_test_data): New variable.
19927 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19928 (tan_downward_test_data): New variable.
19929 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19930 (tan_upward_test_data): New variable.
19931 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19932 (tanh_test_data): New variable.
19933 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19934 (tgamma_test_data): New variable.
19935 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19936 (trunc_test_data): New variable.
19937 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19938 (y0_test_data): New variable.
19939 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19940 (y1_test_data): New variable.
19941 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19942 (significand_test_data): New variable.
19943 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19945 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19948 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19950 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19952 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19954 2013-05-10 Andreas Jaeger <aj@suse.de>
19957 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19958 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19960 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19962 * math/gen-libm-test.pl (adjust_arg): New function.
19963 (special_functions): Handle generating output in both functions
19965 (parse_args): Likewise.
19966 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19967 $in_func argument to parse_args.
19968 * math/libm-test.inc (struct test_f_f_data): New type.
19969 (IF_ROUND_INIT_): New macro.
19970 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19971 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19972 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19973 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19974 (ROUND_RESTORE_): Likewise.
19975 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19976 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19977 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19978 (ROUND_RESTORE_FE_UPWARD): Likewise.
19979 (RUN_TEST_LOOP_f_f): New macro.
19980 (acos_test_data): New variable.
19981 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19982 (acos_tonearest_test_data): New variable.
19983 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19985 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19987 * benchtests/bench-skeleton.c (startup): Fix coding style.
19989 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19992 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19993 negative infinity argument.
19994 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19995 negative infinity argument.
19996 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19997 negative infinity argument.
19998 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20001 2013-05-10 Florian Weimer <fweimer@redhat.com>
20003 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20004 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20005 * iconv/iconv_prog.c (main): Likewise.
20006 * locale/programs/charmap-dir.c (charmap_readdir)
20007 (fopen_uncompressed): Likewise.
20008 * locale/programs/locfile.c (siblings_uncached)
20009 (write_locale_data): Use lstat64 instead of lstat.
20010 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20013 2013-05-10 Andreas Jaeger <aj@suse.de>
20016 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20018 Include <locale.h>.
20020 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20022 * elf/dl-close.c (_dl_close_worker): Add comments.
20024 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20027 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20029 (__ieee754_rem_pio2l): Update comments.
20032 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20034 (__ieee754_rem_pio2l): Update comments.
20036 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20037 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20039 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20042 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20043 (M_PI_34_LOG10El): Likewise.
20044 (M_PI2_LOG10El): Likewise.
20045 (M_PI4_LOG10El): Likewise.
20046 (M_PI_LOG10El): Likewise.
20048 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20052 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20054 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20055 (MINUS_ZERO_INIT): Likewise.
20056 (PLUS_INFTY_INIT): Likewise.
20057 (MINUS_INFTY_INIT): Likewise.
20058 (QNAN_VALUE_INIT): Likewise.
20059 (MAX_VALUE_INIT): Likewise.
20060 (MIN_VALUE_INIT): Likewise.
20061 (MIN_SUBNORM_VALUE_INIT): Likewise.
20062 (plus_zero): Initialize with PLUS_ZERO_INIT.
20063 (minus_zero): Initialize with MINUS_ZERO_INIT.
20064 (plus_infty): Initialize with PLUS_INFTY_INIT.
20065 (minus_infty): Initialize with MINUS_INFTY_INIT.
20066 (qnan_value): Initialize with QNAN_VALUE_INIT.
20067 (max_value): Initialize with MAX_VALUE_INIT.
20068 (min_value): Initialize with MIN_VALUE_INIT.
20069 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20071 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20072 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20073 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20074 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20076 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20077 (RUN_TEST_2_f): Likewise.
20078 (RUN_TEST_ff_f): Likewise.
20079 (RUN_TEST_fi_f): Likewise.
20080 (RUN_TEST_fl_f): Likewise.
20081 (RUN_TEST_fff_f): Likewise.
20082 (RUN_TEST_c_f): Likewise.
20083 (RUN_TEST_f_f1): Likewise.
20084 (RUN_TEST_fF_f1): Likewise.
20085 (RUN_TEST_fI_f1): Likewise.
20086 (RUN_TEST_ffI_f1): Likewise.
20087 (RUN_TEST_c_c): Likewise.
20088 (RUN_TEST_cc_c): Likewise.
20089 (RUN_TEST_f_i): Likewise.
20090 (RUN_TEST_f_i_tg): Likewise.
20091 (RUN_TEST_ff_i_tg): Likewise.
20092 (RUN_TEST_f_b): Likewise.
20093 (RUN_TEST_f_b_tg): Likewise.
20094 (RUN_TEST_f_l): Likewise.
20095 (RUN_TEST_f_L): Likewise.
20096 (RUN_TEST_sincos): Likewise.
20097 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20098 whether to show exceptions. Do not include ");\n" in return
20100 (special_functions): Output call to RUN_TEST_sincos instead of
20101 check_float calls. Update calls to new_test.
20102 (parse_args): Output call to single RUN_TEST_* macro instead of
20103 check_* calls and other assignments. Update calls to new_test.
20109 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20110 input to result for tgamma overflow.
20111 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20112 (gamma_coeff): New variable.
20113 (NCOEFF): New macro.
20114 (gamma_positive): New function.
20115 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20116 underflow here. Use gamma_positive instead of exp (lgamma) for
20118 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20119 (gamma_coeff): New variable.
20120 (NCOEFF): New macro.
20121 (gammaf_positive): New function.
20122 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20123 underflow here. Use gamma_positive instead of exp (lgamma) for
20125 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20126 (gamma_coeff): New variable.
20127 (NCOEFF): New macro.
20128 (gammal_positive): New function.
20129 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20130 underflow here. Use gamma_positive instead of exp (lgamma) for
20132 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20133 (gamma_coeff): New variable.
20134 (NCOEFF): New macro.
20135 (gammal_positive): New function.
20136 (__ieee754_gammal_r): Handle positive infinity, overflow and
20137 underflow here. Handle NaN the same as positive infinity. Remove
20138 check x < 0xffffffff for negative integers. Use gamma_positive
20139 instead of exp (lgamma) for other arguments.
20140 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20141 (gamma_coeff): New variable.
20142 (NCOEFF): New macro.
20143 (gammal_positive): New function.
20144 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20145 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20146 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20147 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20148 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20149 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20150 * sysdeps/generic/math_private.h (__gamma_productf): New
20152 (__gamma_product): Likewise.
20153 (__gamma_productl): Likewise.
20154 * math/Makefile (libm-calls): Add gamma_product.
20155 * math/libm-test.inc (tgamma_test): Add more tests.
20156 * sysdeps/i386/fpu/libm-test-ulps: Update.
20157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20159 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20161 * benchtests/bench-skeleton.c (main): Preheat CPU.
20163 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20165 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20167 2013-05-07 Roland McGrath <roland@hack.frob.com>
20169 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20170 and _dl_skip_args_internal.
20172 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20174 * manual/message.texi (Message Translation): Talk about users.
20175 Message to key mapping impacts design.
20177 2013-05-06 Roland McGrath <roland@hack.frob.com>
20179 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20181 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20183 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20184 * sysdeps/wordsize-64/glob64.c: ... here.
20186 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20187 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20190 * debug/getlogin_r_chk.c: Moved to ...
20191 * login/getlogin_r_chk.c: ... here.
20192 * debug/Makefile (routines): Move getlogin_r_chk to ...
20193 * login/Makefile (routines): ... here.
20194 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20195 * login/Versions (libc: GLIBC_2.4): ... here.
20197 * io/poll.c (__poll): Renamed from poll.
20198 Add libc_hidden_def.
20199 (poll): Define as weak alias.
20201 * debug/ptsname_r_chk.c: Moved to ...
20202 * login/ptsname_r_chk.c: ... here.
20203 * debug/Makefile (routines): Move ptsname_r_chk to ...
20204 * login/Makefile (routines): ... here.
20205 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20206 * login/Versions (libc: GLIBC_2.4): ... here.
20208 * posix/getlogin.c: Moved to ...
20209 * login/getlogin.c: ... here.
20210 * posix/getlogin_r.c: Moved to ...
20211 * login/getlogin_r.c: ... here.
20212 * posix/getlogin_r.c: Moved to ...
20213 * login/getlogin_r.c: ... here.
20214 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20215 * login/Makefile (routines): ... here.
20216 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20217 * login/Versions (libc: GLIBC_2.0): ... here.
20219 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20220 (setrlimit): Define as weak alias.
20222 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20223 Call __ names for open, ftruncate, and close.
20224 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20225 (truncate): Define as weak alias.
20227 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20229 * math/gen-libm-test.pl (parse_args): Initialize x before each
20230 test of frexp, modf and remquo.
20232 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20233 test signgam value.
20235 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20239 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20241 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20243 2013-05-06 Roland McGrath <roland@hack.frob.com>
20245 * elf/dl-writev.h: New file.
20246 * elf/dl-misc.c: Include it.
20247 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20248 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20250 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20252 * math/libm-test.inc (noXFails): Remove variable.
20253 (noXPasses): Likewise.
20254 (BUILD_COMPLEX_INT): Remove macro.
20255 (print_screen): Remove xfail argument.
20256 (print_screen_max_error): Likewise.
20257 (update_stats): Likewise.
20258 (print_max_error): Likewise. Update calls to other affected
20260 (print_complex_max_error): Likewise.
20261 (test_single_exception): Update calls to print_screen.
20262 (test_single_errno): Likewise.
20263 (check_float_internal): Remove xfail argument. Update calls to
20264 other affected functions.
20265 (check_float): Likewise.
20266 (check_complex): Likewise.
20267 (check_int): Likewise.
20268 (check_long): Likewise.
20269 (check_bool): Likewise.
20270 (check_longlong): Likewise.
20271 (main): Don't print noXFails and noXPasses.
20272 * math/gen-libm-test.pl (top level): Don't mention expected
20273 failure handling in comment.
20274 (new_test): Don't handle expected failures.
20275 (parse_args): Don't mention expected failure handling in comment.
20276 (generate_testfile): Don't handle expected failures.
20277 (parse_ulps): Likewise.
20278 (print_ulps_file): Likewise.
20279 (get_failure): Remove function.
20280 (output_test): Don't handle expected failures.
20281 * make/README.libm-test: Don't mention expected failure handling.
20283 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20284 (minus_zero): Likewise.
20285 (plus_infty): Likewise.
20286 (minus_infty): Likewise.
20287 (qnan_value): Likewise.
20288 (max_value): Likewise.
20289 (min_value): Likewise.
20290 (min_subnorm_value): Likewise.
20291 (initialize): Do not initialize those variables dynamically.
20293 2013-05-03 Roland McGrath <roland@hack.frob.com>
20295 * io/open.c (__open_2): Moved to ...
20296 * io/open_2.c: ... this new file.
20297 * io/open64.c (__open64_2): Moved to ...
20298 * io/open64_2.c: ... this new file.
20299 * io/openat.c (__openat_2): Moved to ...
20300 * io/openat_2.c: ... this new file.
20301 * io/openat64.c (__openat64_2): Moved to ...
20302 * io/openat64_2.c: ... this new file.
20303 * io/Makefile (routines): Add them.
20304 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20305 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20306 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20307 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20308 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20309 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20310 (__openat64): Add hidden_ver.
20311 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20312 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20314 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20315 Separately conditionalize setting of GLRO(dl_sysinfo) so
20316 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20317 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20319 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20321 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20322 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20324 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20325 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20326 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20327 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20328 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20330 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20332 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20333 test signgam value.
20335 * math/libm-test.inc (hypot_test): Do not use
20336 IGNORE_ZERO_INF_SIGN.
20338 2013-05-03 Andreas Jaeger <aj@suse.de>
20340 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20342 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20343 (PF_MAX): Adjust for VSOCK change.
20345 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20349 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20352 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20353 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20354 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20356 2013-05-02 David S. Miller <davem@davemloft.net>
20358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20360 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20362 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20364 2013-05-01 Roland McGrath <roland@hack.frob.com>
20366 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20368 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20371 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20372 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20373 Use __attribute__ ((__gnu_inline__)).
20374 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20375 Don't use __attribute__ ((__gnu_inline__)).
20377 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20380 * math/s_catan.c (__catan): Handle small real or imaginary part of
20381 input specially to avoid spurious underflow.
20382 * math/s_catanf.c (__catanf): Likewise.
20383 * math/s_catanh.c (__catanh): Likewise.
20384 * math/s_catanhf.c (__catanhf): Likewise.
20385 * math/s_catanhl.c (__catanhl): Likewise.
20386 * math/s_catanl.c (__catanl): Likewise.
20387 * math/libm-test.inc (catan_test): Add more tests.
20388 (catanh_test): Likewise.
20389 * sysdeps/i386/fpu/libm-test-ulps: Update.
20390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20392 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20396 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20399 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20400 accurately for denominator in atan2.
20401 * math/s_catanf.c (__catanf): Likewise.
20402 * math/s_catanh.c (__catanh): Likewise.
20403 * math/s_catanhf.c (__catanhf): Likewise.
20404 * math/s_catanhl.c (__catanhl): Likewise.
20405 * math/s_catanl.c (__catanl): Likewise.
20406 * math/libm-test.inc (catan_test): Add more tests.
20407 (catanh_test): Likewise.
20408 * sysdeps/i386/fpu/libm-test-ulps: Update.
20409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20411 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20413 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20415 * benchtests/Makefile (bench): Remove slow benchmarks.
20416 * benchtests/atan-inputs: Add slow benchmark inputs.
20417 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20418 (BENCH_FUNC): Accept variant offset.
20420 * benchtests/bench-skeleton.c (main): Run benchmark for each
20422 * benchtests/cos-inputs: Add slow benchmark inputs.
20423 * benchtests/exp-inputs: Likewise.
20424 * benchtests/pow-inputs: Likewise.
20425 * benchtests/sin-inputs: Likewise.
20426 * benchtests/slowatan-inputs: Remove.
20427 * benchtests/slowatan.c: Remove.
20428 * benchtests/slowcos-inputs: Remove.
20429 * benchtests/slowcos.c: Remove.
20430 * benchtests/slowexp-inputs: Remove.
20431 * benchtests/slowexp.c: Remove.
20432 * benchtests/slowpow-inputs: Remove.
20433 * benchtests/slowpow.c: Remove.
20434 * benchtests/slowsin-inputs: Remove.
20435 * benchtests/slowsin.c: Remove.
20436 * benchtests/slowtan-inputs: Remove.
20437 * benchtests/slowtan.c: Remove.
20438 * benchtests/tan-inputs: Add slow benchmark inputs.
20439 * scripts/bench.pl: Parse comments and directives.
20441 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20443 ($(objpfx)bench-%.c): Remove *-ITER.
20444 * benchtests/bench-modf.c: Remove definition of ITER.
20445 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20446 (main): Loop for DURATION seconds instead of fixed number of
20448 * scripts/bench.pl: Don't expect iterations in parameters.
20450 2013-04-29 Roland McGrath <roland@hack.frob.com>
20452 * io/fchdir.c (__fchdir): Renamed from fchdir.
20453 (fchdir): Define as weak alias.
20455 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20457 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20458 (ERRNO_EDOM): Likewise.
20459 (ERRNO_ERANGE): Likewise.
20460 (noErrnoTests): New variable.
20461 (init_max_error): Set errno to 0.
20462 (test_single_errno): New function.
20463 (test_errno): Likewise.
20464 (check_float_internal): Call test_errno. Set errno to 0.
20465 (check_complex): Refer to errno tests in comment.
20466 (check_int): Call test_errno. Set errno to 0.
20467 (check_long): Likewise.
20468 (check_bool): Likewise.
20469 (check_longlong): Likewise.
20470 (cos_test): Use ERRNO_* flags for errno tests instead of
20472 (expm1_test): Likewise.
20473 (fmod_test): Likewise.
20474 (ilogb_test): Likewise.
20475 (lgamma_test): Likewise.
20476 (pow_test): Likewise.
20477 (remainder_test): Likewise.
20478 (sin_test): Likewise.
20479 (tan_test): Likewise.
20480 (yn_test): Likewise.
20481 (initialize): Set errno to 0.
20482 (main): Print number of errno tests.
20483 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20485 2013-04-29 Andreas Jaeger <aj@suse.de>
20488 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20492 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20493 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20497 * stdlib/random.c (__initstate): Return NULL if
20501 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20502 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20505 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20509 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20511 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20512 of individual tests.
20513 (casin_test): Likewise.
20514 (casinh_test): Likewise.
20516 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20519 * math/s_catan.c (__catan): Handle arguments with large real or
20520 imaginary part separately without squaring.
20521 * math/s_catanf.c (__catanf): Likewise.
20522 * math/s_catanh.c (__catanh): Likewise.
20523 * math/s_catanhf.c (__catanhf): Likewise.
20524 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20526 (__catanhl): Handle arguments with large real or imaginary part
20527 separately without squaring.
20528 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20530 (__catanl): Handle arguments with large real or imaginary part
20531 separately without squaring.
20532 * math/libm-test.inc (catan_test): Add more tests.
20533 (catanh_test): Likewise.
20534 * sysdeps/i386/fpu/libm-test-ulps: Update.
20535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20537 2013-04-27 Andreas Jaeger <aj@suse.de>
20540 * stdlib/stdlib.h: Update guards for qecvt.
20541 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20544 2013-04-27 Allan McRae <allan@archlinux.org>
20546 * sysdeps/i386/fpu/libm-test-ulps: Update.
20548 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20551 * math/s_catan.c: Include <float.h>.
20552 (__catan): Ensure underflow exception occurs for underflowed
20554 * math/s_catanf.c: Include <float.h>.
20555 (__catanf): Ensure underflow exception occurs for underflowed
20557 * math/s_catanh.c: Include <float.h>.
20558 (__catanh): Ensure underflow exception occurs for underflowed
20560 * math/s_catanhf.c: Include <float.h>.
20561 (__catanhf): Ensure underflow exception occurs for underflowed
20563 * math/s_catanhl.c: Include <float.h>.
20564 (__catanhl): Ensure underflow exception occurs for underflowed
20566 * math/s_catanl.c: Include <float.h>.
20567 (__catanl): Ensure underflow exception occurs for underflowed
20569 * math/libm-test.inc (catan_test): Add more tests.
20570 (catanh_test): Likewise.
20573 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20574 underflowed result.
20575 * math/s_ccoshf.c (__ccoshf): Likewise.
20576 * math/s_ccoshl.c (__ccoshl): Likewise.
20577 * math/s_csin.c (__csin): Likewise.
20578 * math/s_csinf.c (__csinf): Likewise.
20579 * math/s_csinh.c (__csinh): Likewise.
20580 * math/s_csinhf.c (__csinhf): Likewise.
20581 * math/s_csinhl.c (__csinhl): Likewise.
20582 * math/s_csinl.c (__csinl): Likewise.
20583 * math/libm-test.inc (ccos_test): Add more tests.
20584 (ccosh_test): Likewise.
20585 (csin_test): Likewise.
20586 (csinh_test): Likewise.
20588 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20590 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20591 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20592 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20593 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20594 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20595 powerpc/power5+/fpu folders.
20596 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20599 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20603 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20605 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20606 additions to variable.
20607 [$(config-machine) = x86_64] (modules-names): Likewise.
20608 ($(objpfx)tst-audit3): Remove dependency.
20609 ($(objpfx)tst-audit3.out): Likewise.
20610 ($(objpfx)tst-audit4): Likewise.
20611 ($(objpfx)tst-audit4.out): Likewise.
20612 ($(objpfx)tst-audit5): Likewise.
20613 ($(objpfx)tst-audit5.out): Likewise.
20614 ($(objpfx)tst-audit6): Likewise.
20615 ($(objpfx)tst-audit6.out): Likewise.
20616 ($(objpfx)tst-audit7): Likewise.
20617 ($(objpfx)tst-audit7.out): Likewise.
20618 (tst-audit3-ENV): Remove variable.
20619 (tst-audit4-ENV): Likewise.
20620 (tst-audit5-ENV): Likewise.
20621 (tst-audit6-ENV): Likewise.
20622 (tst-audit7-ENV): Likewise.
20623 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20624 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20625 addition to variable.
20626 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20627 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20628 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20629 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20630 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20631 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20632 tst-audit3, tst-audit4 and tst-audit5.
20633 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20634 tst-audit6 and tst-audit7.
20635 [$(subdir) = elf] (modules-names): Add audit modules for those
20637 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20638 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20639 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20640 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20641 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20642 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20643 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20644 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20645 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20646 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20647 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20648 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20649 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20650 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20651 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20652 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20654 [$(subdir) = elf && $(config-cflags-avx) = yes]
20655 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20656 [$(subdir) = elf && $(config-cflags-avx) = yes]
20657 (CFLAGS-tst-auditmod4a.c): Likewise.
20658 [$(subdir) = elf && $(config-cflags-avx) = yes]
20659 (CFLAGS-tst-auditmod4b.c): Likewise.
20660 [$(subdir) = elf && $(config-cflags-avx) = yes]
20661 (CFLAGS-tst-auditmod6b.c): Likewise.
20662 [$(subdir) = elf && $(config-cflags-avx) = yes]
20663 (CFLAGS-tst-auditmod6c.c): Likewise.
20664 [$(subdir) = elf && $(config-cflags-avx) = yes]
20665 (CFLAGS-tst-auditmod7b.c): Likewise.
20666 * elf/tst-audit3.c: Move to ...
20667 * sysdeps/x86_64/tst-audit3.c: ... here.
20668 * elf/tst-audit4.c: Move to ...
20669 * sysdeps/x86_64/tst-audit4.c: ... here.
20670 * elf/tst-audit5.c: Move to ...
20671 * sysdeps/x86_64/tst-audit5.c: ... here.
20672 * elf/tst-audit6.c: Move to ...
20673 * sysdeps/x86_64/tst-audit6.c: ... here.
20674 * elf/tst-audit7.c: Move to ...
20675 * sysdeps/x86_64/tst-audit7.c: ... here.
20676 * elf/tst-auditmod3a.c: Move to ...
20677 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20678 * elf/tst-auditmod3b.c: Move to ...
20679 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20680 * elf/tst-auditmod4a.c: Move to ...
20681 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20682 * elf/tst-auditmod4b.c: Move to ...
20683 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20684 * elf/tst-auditmod5a.c: Move to ...
20685 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20686 * elf/tst-auditmod5b.c: Move to ...
20687 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20688 * elf/tst-auditmod6a.c: Move to ...
20689 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20690 * elf/tst-auditmod6b.c: Move to ...
20691 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20692 * elf/tst-auditmod6c.c: Move to ...
20693 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20694 * elf/tst-auditmod7a.c: Move to ...
20695 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20696 * elf/tst-auditmod7b.c: Move to ...
20697 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20699 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20702 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20703 define unconditionally.
20704 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20705 define unconditionally.
20706 (INT8_C, INT16_C, etc.): Likewise.
20708 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20710 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20711 __ehdr_start with hidden visibility.
20713 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20715 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20717 * math/libm-test.inc (cos_test): Use accurate hex constants.
20718 (sincost_test): Likewise.
20720 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20722 * math/libm-test.inc (catan_test): Add more tests.
20723 (catanh_test): Likewise.
20725 * math/s_catanf.c (__catanf): Use suffixed floating-point
20727 * math/s_catanhf.c (__catanhf): Likewise.
20728 * math/s_catanhl.c (__catanhl): Likewise.
20729 * math/s_catanl.c (__catanl): Likewise.
20732 * math/s_catan.c (__catan): Calculate imaginary part of result
20733 with log1p not log unless computing log of number close to 0.
20734 * math/s_catanf.c (__catanf): Likewise.
20735 * math/s_catanl.c (__catanl): Likewise.
20736 * math/s_catanh.c (__catanh): Calculate real part of result with
20737 log1p not log unless computing log of number close to 0.
20738 * math/s_catanhf.c (__catanhf): Likewise.
20739 * math/s_catanhl.c (__catanhl): Likewise.
20740 * math/libm-test.inc (catan_test): Add more tests.
20741 (catanh_test): Likewise.
20742 * sysdeps/i386/fpu/libm-test-ulps: Update.
20743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20745 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20747 * benchtests/Makefile: Mention files in which fast and slow
20748 paths of math functions are implemented.
20750 2013-04-23 Roland McGrath <roland@hack.frob.com>
20752 * sysdeps/posix/timespec_get.c: New file.
20754 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20756 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20758 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20760 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20761 powerpc/power5/fpu folders.
20762 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20763 * benchtests/Makefile: Add modf testcase.
20764 * benchtests/bench-modf.c: New file: Benchmark test for mo
20766 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20769 * time/Makefile (tests): Add tst-strptime-whitespace.
20770 * time/strptime_l.c (get_number): Use ISSPACE.
20771 (__strptime_internal): Likewise.
20772 * time/tst-strptime-whitespace.c: New test case.
20774 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20776 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20778 (_nss_files_init): Set it here.
20780 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20782 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20783 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20786 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20788 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20790 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20792 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20795 2013-04-21 David S. Miller <davem@davemloft.net>
20797 * po/ru.po: Update Russion translation from translation project.
20799 2013-04-17 Adam Conrad <adconrad@0c3.net>
20801 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20804 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20806 * configure.in: Remove i386 configure warning. Remove i386 case.
20807 * configure: Regenerate.
20808 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20809 Add example to error message.
20810 * sysdeps/i386/configure: Regenerate.
20812 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20814 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20816 * benchtests/cos-inputs: New file.
20817 * benchtests/slowcos-inputs: New file.
20818 * benchtests/slowcos.c: New file.
20819 * benchtests/slowtan-inputs: New file.
20820 * benchtests/slowtan.c: New file.
20821 * benchtests/tan-inputs: New file.
20823 2013-04-16 Roland McGrath <roland@hack.frob.com>
20825 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20828 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20830 * benchtests/Makefile: Include cppflags-iterator.mk to add
20831 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20833 * Makefile.in (bench-clean): New target.
20834 * benchtests/Makefile (bench-clean): Likewise.
20836 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20838 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20840 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20842 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20844 2013-04-15 Andreas Schwab <schwab@suse.de>
20846 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20847 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20848 * nscd/pwdcache.c (cache_addpw): Likewise.
20849 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20852 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20854 * benchtests/Makefile (bench): Write all output to
20855 bench-out.tmp together.
20857 2013-04-15 Andreas Schwab <schwab@suse.de>
20859 * nscd/nscd.c (main): Don't fork again after closing files.
20861 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20863 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20865 * benchtests/Rules (bench-deps): Collect dependencies into a
20866 single variable. Add Makefile to dependencies.
20867 ($(objpfx)bench-%.c): Depend on bench-deps.
20869 2013-04-12 Roland McGrath <roland@hack.frob.com>
20870 Xavier Roche <roche+kml2@exalead.com>
20873 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20874 just that it's a file descriptor.
20875 * manual/llio.texi (Synchronizing AIO Operations): Update description
20876 for EBADF error from aio_fsync.
20878 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20880 * Rules (bench): Move target definition...
20881 * benchtests/Makefile: ... here.
20883 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20885 * math/libm-test.inc (cos_test): Fix PI/2 test.
20886 (sincos_test): Likewise.
20887 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20888 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20890 2013-04-11 Andreas Schwab <schwab@suse.de>
20893 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20894 accept exponent character only when digits were seen.
20895 * stdio-common/Makefile (tests): Add bug26.
20896 * stdio-common/bug26.c: New file.
20899 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20902 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20904 * Makeconfig (rtld-prefix): Define built linker prefix.
20905 * Rules (run-bench): Use it.
20906 * math/Makefile (run-regen-ulps): Likewise.
20908 * Rules (bench): Remove eval.
20910 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20911 Roland McGrath <roland@hack.frob.com>
20912 Ondrej Bilka <neleai@seznam.cz>
20915 * time/getdate.c: Include ctype.h and alloca.h.
20916 (__getdate_r): Trim leading and trailing spaces of input.
20917 * time/tst-getdate.c (tests): Add tests with leading and
20920 2013-04-08 Roland McGrath <roland@hack.frob.com>
20923 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20924 when computing value.
20926 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20928 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20929 Use testrun.sh to run libm tests.
20932 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20934 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20937 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20939 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20941 * Makefile.in (regen-ulps): New target.
20942 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20943 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20944 [ifneq (no,$(PERL)] (regen-ulps): New target.
20945 [ifeq (no,$(PERL)] (regen-ulps): New target.
20946 * math/libm-test.inc (ulps_file_name): Define.
20947 (output_dir): New variable.
20948 (options): Add "output-dir" option.
20949 (parse_opt): Handle 'o' case.
20950 (main): If output_dir is non-NULL use it as a prefix
20952 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20954 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20956 [BZ #10060, #10062]
20957 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20958 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20959 fail configure if __sync_val_compare_and_swap is not inlined.
20960 * sysdeps/i386/configure: Regenerate.
20961 * configure.in: Build for i686 when configured for i386.
20962 * configure: Regenerate.
20963 * README: Remove i386 reference.
20965 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20967 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20968 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20970 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20972 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20973 (lmsnanval): New variables.
20974 (F): Add conversion tests.
20975 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20976 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20978 * stdio-common/tstdiomisc.c (F): Properly collect individual
20981 [BZ #14686, #15336]
20982 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20983 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20984 Instead, use input NaN values or generate a qNaN by arithmetic
20985 operation. Also fix bugs to comply with the standard.
20986 * math/libm-test.inc (remainder_test): Add more tests.
20988 [BZ #15335, #15342]
20989 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20990 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20991 input NaN values or generate a qNaN by arithmetic operation.
20993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20996 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20999 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21002 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21003 underflowed result.
21004 * math/s_cexpf.c (__cexpf): Likewise.
21005 * math/s_cexpl.c (__cexpl): Likewise.
21006 * math/libm-test.inc (cexp_test): Add more tests.
21008 2013-04-03 Andreas Schwab <schwab@suse.de>
21011 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21012 order arrays from heap if bigger than alloca cutoff.
21014 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21016 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21017 (SNAN_TESTS_double): Refer to GCC PR56831.
21018 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21021 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21023 * Rules (bench): Move bench.out after the run is complete.
21025 * Rules (bench): Echo currently running benchmark.
21027 * benchtests/Makefile (bench): Add atan and slowatan.
21028 * benchtests/atan-inputs: New file.
21029 * benchtests/slowatan-inputs: New file.
21030 * benchtests/slowatan.c: New file.
21032 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21033 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21037 * sysdeps/unix/sysv/linux/kernel-features.h
21038 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21039 __ASSUME_XFS_RESTRICTED_CHOWN.
21040 * sysdeps/unix/sysv/linux/pathconf.c
21041 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21042 Save and restore errno.
21044 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21047 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21048 arguments using __kernel_casinh.
21049 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21050 arguments using __kernel_casinhf.
21051 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21052 arguments using __kernel_casinhl.
21053 * math/libm-test.inc (cacosh_test): Add more tests.
21054 * sysdeps/i386/fpu/libm-test-ulps: Update.
21055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21057 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21059 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21062 * bench/Makefile (bench): Add sin and slowsin.
21063 * benchtests/sin-inputs: New file.
21064 * benchtests/slowsin-inputs: New file.
21065 * benchtests/slowsin.c: New file.
21067 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21068 (bench): Add slowexp and slowpow.
21069 (exp-ITER): Increase iterations.
21070 (pow-ITER): Likewise.
21071 * benchtests/exp-inputs: Change input.
21072 * benchtests/pow-inputs: Likewise.
21073 * benchtests/slowexp-inputs: New file.
21074 * benchtests/slowexp.c: New file.
21075 * benchtests/slowpow-inputs: New file.
21076 * benchtests/slowpow.c: New file.
21078 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21080 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21082 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21083 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21084 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21085 * benchtests/Makefile: Add rint benchtest.
21086 * benchtests/rint-inputs: Input for rint benchtest.
21088 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21090 * Versions.def (libm): Add GLIBC_2.18.
21091 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21092 hidden libm prototypes.
21093 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21094 * math/Makefile (libm-calls): Add s_issignaling.
21095 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21096 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21097 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21099 * math/math.h [__USE_GNU] (issignaling): New macro.
21100 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21101 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21102 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21103 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21104 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21105 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21106 * manual/arith.texi (issignaling): New section.
21107 * manual/libm-err-tab.pl (@all_functions): Update comment.
21108 * math/gen-libm-test.pl (parse_args): Apply special handling for
21110 * math/libm-test.inc (print_float, issignaling_test): New
21112 (check_float_internal): Add issignaling checks.
21113 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21114 default definition.
21115 * sysdeps/powerpc/math-tests.h: New file.
21116 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21118 * math/test-snan.c (TEST_FUNC): Likewise.
21120 2013-03-30 David S. Miller <davem@davemloft.net>
21122 * po/de.po: Update from translation team.
21124 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21127 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21128 imaginary part less than 1.0 and real part less than 0.5
21130 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21131 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21132 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21133 (cacos_test): Add more tests.
21134 (casin_test): Likewise.
21135 (casinh_test): Likewise.
21136 * sysdeps/i386/fpu/libm-test-ulps: Update.
21137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21139 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21141 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21142 ONE with its value.
21144 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21145 (__pow_mp): Replace ONE and MONE with their values.
21146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21148 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21149 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21150 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21151 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21153 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21155 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21156 (__pow_mp): Replace ZERO and MZERO with their values.
21157 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21158 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21159 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21161 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21162 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21165 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21167 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21169 2013-03-28 Roland McGrath <roland@hack.frob.com>
21171 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21172 Declare with __attribute__ ((weak)).
21173 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21174 Call __call_tls_dtors only if it's not NULL.
21176 2013-03-28 Roland McGrath <roland@hack.frob.com>
21178 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21179 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21180 magic __ehdr_start linker symbol if it's defined.
21181 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21182 them up here if it was already done.
21184 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21185 (_dl_aux_init): Use const in cast when setting it.
21186 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21187 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21188 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21190 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21192 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21193 * csu/libc-tls.c: Nor here.
21194 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21196 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21197 (__libc_message): Never call vsyslog.
21199 2013-03-28 Alan Modra <amodra@gmail.com>
21201 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21203 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21206 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21209 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21213 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21216 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21217 Don't add gid passed as argument.
21219 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21221 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21224 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21225 imaginary part between 1.0 and 1.5 and real part less than 0.5
21227 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21228 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21229 * math/libm-test.inc (cacos_test): Add more tests.
21230 (casin_test): Likewise.
21231 (casinh_test): Likewise.
21232 * sysdeps/i386/fpu/libm-test-ulps: Update.
21233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21235 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21237 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21240 (denorm): Likewise.
21241 (__dbl_mp): Likewise.
21242 (add_magnitudes): Likewise.
21243 (sub_magnitudes): Likewise.
21251 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21253 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21254 (__dubcos): Likewise.
21255 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21256 (__ieee754_acos): Likewise.
21257 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21258 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21259 (__exp1): Likewise.
21260 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21261 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21263 (my_log2): Likewise.
21264 (checkint): Likewise.
21265 * sysdeps/ieee754/dbl-64/e_remainder.c
21266 (__ieee754_remainder): Likewise.
21267 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21268 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21269 (bsloww): Likewise.
21270 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21272 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21273 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21274 MANTISSA_STORE_T to store computations on mantissa. Use
21275 macros for rounding and division.
21276 (denorm): Likewise.
21277 (__dbl_mp): Likewise.
21278 (add_magnitudes): Likewise.
21279 (sub_magnitudes): Likewise.
21282 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21283 powers of two in terms of TWOPOW macro.
21284 (mp_no): Make type of mantissa as MANTISSA_T.
21285 [!RADIXI]: Define RADIXI.
21286 [!TWO52]: Define TWO52.
21287 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21289 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21291 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21292 llroundl symbol when building for PPC32.
21294 2013-03-24 Mark H Weaver <mhw@netris.org>
21296 * manual/arith.texi (Normalization Functions): Fix prototypes for
21297 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21299 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21303 high value to check if expl overflow.
21304 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21305 to check for underflow and overflow.
21306 * math/libm-test.inc: Add exp test.
21308 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21311 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21314 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21316 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21319 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21321 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21322 wrap blocks consisting of several statements.
21324 * sysdeps/generic/math-tests.h: New file.
21325 * sysdeps/i386/fpu/math-tests.h: Likewise.
21326 * math/test-snan.c: Include it.
21327 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21329 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21332 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21333 (__ieee754_j0l): Do not improve calculations using cos of twice
21334 input for inputs above LDBL_MAX / 2.0L.
21335 (__ieee754_y0l): Likewise.
21336 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21337 (__ieee754_j1l): Do not improve calculations using cos of twice
21338 input for inputs above LDBL_MAX / 2.0L.
21339 (__ieee754_y1l): Likewise.
21340 * math/libm-test.inc (j0_test): Add another test.
21341 (j1_test): Likewise.
21342 (y0_test): Likewise.
21343 (y1_test): Likewise.
21344 * sysdeps/i386/fpu/libm-test-ulps: Update.
21346 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21348 * Rules ($(objpfx)bench-%.c): Include code from a C source
21351 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21354 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21355 imaginary part 1.0 and real part less than 0.5 specially.
21356 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21357 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21358 * math/libm-test.inc (cacos_test): Add more tests.
21359 (casin_test): Likewise.
21360 (casinh_test): Likewise.
21361 * sysdeps/i386/fpu/libm-test-ulps: Update.
21362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21364 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21366 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21367 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21369 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21371 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21372 * config.make.in (config-cflags-sse4): Remove variable.
21373 (config-cflags-avx): Likewise.
21374 (config-cflags-sse2avx): Likewise.
21375 (config-cflags-novzeroupper): Likewise.
21376 (config-asflags-i686): Likewise.
21377 (have-mfma4): Likewise.
21378 (have-as-vis3): Likewise.
21380 * configure.in (MIG): Do not AC_SUBST.
21381 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21382 (libc_cv_cc_sse4): Do not AC_SUBST.
21383 (libc_cv_cc_avx): Likewise.
21384 (libc_cv_cc_sse2avx): Likewise.
21385 (libc_cv_cc_novzeroupper): Likewise.
21386 (libc_cv_cc_fma4): Likewise.
21387 (libc_cv_as_i686): Likewise.
21388 (libc_cv_sparc_as_vis3): Likewise.
21389 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21391 (config-asflags-i686): Likewise.
21392 (config-cflags-avx): Likewise.
21393 (config-cflags-sse2avx): Likewise.
21394 (have-mfma4): Likewise.
21395 (config-cflags-novzeroupper): Likewise.
21396 * sysdeps/mach/configure.in (MIG): Likewise.
21397 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21398 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21400 (config-cflags-avx): Likewise.
21401 (config-cflags-sse2avx): Likewise.
21402 (have-mfma4): Likewise.
21403 (config-cflags-novzeroupper): Likewise.
21404 * configure: Regenerated.
21405 * sysdeps/i386/configure: Likewise.
21406 * sysdeps/mach/configure: Likewise.
21407 * sysdeps/sparc/configure: Likewise.
21408 * sysdeps/x86_64/configure: Likewise.
21410 2013-03-20 Roland McGrath <roland@hack.frob.com>
21413 * locale/programs/localedef.c (options): Put N_ translation marker
21414 on argument names, not just descriptions.
21416 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21418 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21420 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21423 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21425 2013-03-19 Roland McGrath <roland@hack.frob.com>
21427 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21428 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21429 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21430 [!BEFORE_ABORT] (before_abort): New function.
21431 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21432 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21433 (writev_for_fatal): New function.
21434 (WRITEV_FOR_FATAL): New macro; call that.
21435 (backtrace_and_maps): New function.
21436 (BEFORE_ABORT): New macro; call that.
21437 (struct str_list): Type removed.
21438 (__libc_message, __libc_fatal): Functions removed.
21439 Include <sysdeps/posix/libc_fatal.c> instead.
21441 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21443 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21445 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21448 2013-03-19 Andreas Schwab <schwab@suse.de>
21450 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21451 * sysdeps/gnu/configure: Regenerate.
21453 * configure.in: Substitute libc_cv_rtlddir.
21454 * configure: Regenerate.
21455 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21456 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21457 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21458 * elf/Makefile (install-others, CFLAGS-interp.c)
21459 (ldso_install, common-ldd-rewrite): Likewise.
21460 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21461 $(inst_slibdir)/$(rtld-installed-name).
21462 * scripts/rellns-sh: Add -p option.
21463 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21466 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21468 * manual/nptl.texi: Renamed to ...
21469 * manual/threads.texi: ... this.
21470 * manual/Makefile (chapters): Update.
21472 2013-03-18 Roland McGrath <roland@hack.frob.com>
21475 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21476 on argument names, not just descriptions.
21477 * malloc/memusagestat.c (options): Likewise.
21478 * nss/getent.c (options): Likewise.
21480 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21483 * iconv/iconv_prog.c (options): Put N_ translation marker
21484 on argument names, not just descriptions.
21485 * iconv/iconvconfig.c (options): Likewise.
21487 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21489 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21490 implementation which is faster on all x86_64 architectures.
21491 Tested on AMD, Intel Nehalem, SNB, IVB.
21492 * sysdeps/x86_64/strnlen.S: Likewise.
21494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21495 Remove all multiarch strlen and strnlen versions.
21496 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21497 Remove strlen and strnlen related parts.
21499 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21500 Inline strlen part.
21501 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21503 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21504 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21505 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21506 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21507 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21508 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21510 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21512 * manual/memory.texi (Malloc Tunable Parameters):
21513 Sort parameters alphabetically. Add comments for missing entries.
21515 2013-03-17 David S. Miller <davem@davemloft.net>
21517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21519 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21522 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21523 for arguments at most half maximum finite value.
21524 * math/libm-test.inc (j0_test): Add more tests.
21525 (j1_test): Likewise.
21526 (y0_test): Likewise.
21527 (y1_test): Likewise.
21528 * sysdeps/i386/fpu/libm-test-ulps: Update.
21529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21532 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21533 1 / x and functions P and Q for arguments above 0x1p256L.
21534 (__ieee754_y0l): Likewise.
21535 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21536 (__ieee754_y1l): Likewise.
21537 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21538 (j1_test): Likewise.
21539 (y0_test): Likewise.
21540 (y1_test): Likewise.
21542 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21544 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21547 2013-03-15 Roland McGrath <roland@hack.frob.com>
21549 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21550 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21551 zero since it's initialized to EXEC_PAGESIZE.
21553 * sysdeps/unix/sysv/linux/ldsodefs.h
21554 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21555 * sysdeps/generic/ldsodefs.h: ... here.
21557 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21559 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21561 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21563 * math/test-snan.c: Renamed from
21564 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21565 * math/Makefile (tests): Add test-snan.
21566 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21569 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21570 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21572 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21573 __builtin_nan family of functions.
21574 * math/libm-test.inc (initialize): Initialize qnan_value with
21575 __builtin_nan family of functions.
21576 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21578 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21580 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21581 storage class. Initialize qNaN_var and sNaN_var with
21582 __builtin_nan and __builtin_nans families of functions,
21585 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21586 (sqrt_test): Remove duplicate test with qNaN input.
21587 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21588 (round_test, signbit_test, significand_test): Note missing +/-Inf
21589 as well as qNaN tests.
21591 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21592 qNaN_var. Fix a few strings, too.
21593 * math/libm-test.inc (nan_value): Rename to qnan_value.
21594 * math/gen-libm-test.pl (%beautify): Adjust to that.
21595 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21596 * math/test-misc.c (main): Likewise.
21597 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21598 to __qnan_bytes, and __qnan_union, respectively.
21599 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21601 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21602 and lqnanval, respectively.
21603 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21604 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21605 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21606 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21608 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21609 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21612 * math/test-misc.c (main): Fix copy'n'pastos.
21613 * misc/tst-efgcvt.c (special): Likewise.
21615 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21616 Remove declarations.
21618 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21620 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21621 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21622 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21623 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21625 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21627 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21628 macro to return vdso values correctly in IFUNC implementations.
21629 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21630 Optimization by using IFUNC.
21632 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21633 Richard Henderson <rth@redhat.com>
21634 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21636 * Makefile.in (bench): New target.
21637 * NEWS: Mention the benchmark framework.
21638 * Rules (bench): Likewise.
21639 (binaries-bench): Generate binaries for functions to
21641 * benchtests/Makefile: New makefile for benchmark tests.
21642 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21644 * benchtests/exp-inputs: New input file for EXP function.
21645 * benchtests/pow-inputs: New input file for POW function.
21646 * scripts/bench.pl: New script to generate source files for
21647 benchmark programs.
21649 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21651 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21652 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21653 computations on mantissa. Use macros for rounding and
21655 (denorm): Likewise.
21656 (__dbl_mp): Likewise.
21657 (add_magnitudes): Likewise.
21658 (sub_magnitudes): Likewise.
21661 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21662 powers of two in terms of TWOPOW macro.
21663 (mp_no): Make type of mantissa as MANTISSA_T.
21664 [!RADIXI]: Define RADIXI.
21665 [!TWO52]: Define TWO52.
21666 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21668 * manual/nptl.texi (cindex): Modify threads to pthreads.
21670 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21672 * sysdeps/x86_64/preconfigure: Regenerated.
21674 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21677 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21679 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21680 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21682 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21683 * math/libm-test.inc (j0_test): Do not allow one spurious
21684 underflow exception.
21685 (y1_test): Likewise.
21687 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21689 * manual/Makefile (chapters): Add nptl.
21690 * manual/debug.texi (Debugging Support): Add link to Threads
21692 * manual/nptl.texi: New file.
21694 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21696 2013-03-14 Petr Baudis <pasky@ucw.cz>
21698 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21699 for non-NULL pointer before the memory validity test. Pointed
21700 out by Holger Brunck <holger.brunck@keymile.com>.
21702 2013-03-13 Andreas Schwab <schwab@suse.de>
21704 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21707 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21709 * timezone/zic.c: Update from tzcode 2013b.
21711 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21713 * manual/install.texi (Configuring and compiling):
21714 Mention i686 and i586.
21715 * INSTALL: Regenerate.
21717 2013-03-12 Roland McGrath <roland@hack.frob.com>
21719 * sysdeps/init_array/elf-init.c: New file.
21721 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21722 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21724 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21725 __gmon_start__ as global, but as static with a .preinit_array pointer.
21726 * sysdeps/init_array/gmon-start.c: New file. Use that.
21727 * sysdeps/init_array/crti.S: New file, empty except for comments.
21728 * sysdeps/init_array/crtn.S: Likewise.
21730 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21732 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21735 Remove Prefer_SSE_for_memop.
21736 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21737 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21738 HAS_PREFER_SSE_FOR_MEMOP.
21739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21741 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21742 Remove bzero, memset ifunc support.
21743 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21744 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21745 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21746 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21748 2013-03-11 Andreas Schwab <schwab@suse.de>
21751 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21754 (GLIBC_2.16): Remove pthread_atfork.
21756 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21758 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21759 (ptestcases.h): Likewise.
21761 2013-03-08 Roland McGrath <roland@hack.frob.com>
21763 * Makeconfig ($(common-objpfx)config.status): Depend on
21764 sysdeps/*/preconfigure{,.in} too.
21766 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21768 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21769 (__free_hook): Use void * instead of __malloc_ptr_t.
21770 (__malloc_hook): Likewise.
21771 (__realloc_hook): Likewise.
21772 (__memalign_hook): Likewise.
21773 (__after_morecore_hook): Likewise.
21774 * malloc/arena.c (save_malloc_hook): Likewise.
21775 (save_free_hook): Likewise.
21776 * malloc/hooks.c (malloc_hook_ini): Likewise.
21777 (realloc_hook_ini): Likewise.
21778 (memalign_hook_ini): Likewise.
21779 * malloc/malloc.c (malloc_hook_ini): Likewise.
21780 (realloc_hook_ini): Likewise.
21781 (memalign_hook_ini): Likewise.
21782 (__free_hook): Likewise.
21783 (__malloc_hook): Likewise.
21784 (__realloc_hook): Likewise.
21785 (__memalign_hook): Likewise.
21786 (__libc_malloc): Likewise.
21787 (__libc_free): Likewise.
21788 (__libc_realloc): Likewise.
21789 (__libc_memalign): Likewise.
21790 (__libc_valloc): Likewise.
21791 (__libc_pvalloc): Likewise.
21792 (__libc_calloc): Likewise.
21793 (__posix_memalign): Likewise.
21794 * malloc/morecore.c (__sbrk): Likewise.
21795 (__default_morecore): Likewise.
21797 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21799 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21800 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21801 __malloc_ptrdiff_t.
21803 * malloc/malloc.h (__malloc_size_t): Remove macro.
21804 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21806 (old_memalign_hook): Likewise.
21807 (old_realloc_hook): Likewise.
21808 (struct hdr): Likewise.
21810 (mallochook): Likewise.
21811 (memalignhook): Likewise.
21812 (reallochook): Likewise.
21813 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21814 (tr_old_realloc_hook): Likewise.
21815 (tr_old_memalign_hook): Likewise.
21816 (tr_mallochook): Likewise.
21817 (tr_reallochook): Likewise.
21818 (tr_memalignhook): Likewise.
21820 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21823 default_ldbl_pack and using as default implementation.
21824 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21826 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21827 redundant definition.
21828 (ldbl_insert_mantissa): Likewise.
21829 (ldbl_canonicalize): Likewise.
21830 (ldbl_nearbyint): Likewise.
21831 (ldbl_pack): Rename to ldbl_pack_ppc.
21832 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21833 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21834 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21836 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21839 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21840 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21841 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21843 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21844 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21845 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21847 2013-03-07 Andreas Jaeger <aj@suse.de>
21849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21852 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21854 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21855 Include mpa.h and declare __MPEXP.
21856 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21857 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21858 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21859 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21860 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21861 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21862 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21864 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21865 (__slowpow): Use long double EXPL and LOGL functions to
21867 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21868 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21869 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21870 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21871 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21872 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21875 intermediate variable to calculate exponent.
21877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21881 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21882 [!NO__SQR]: Define __sqr.
21883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21884 and NO__SQR. Remove all code except __mul and __sqr. Include
21885 sysdeps/ieee754/dbl-64/mpa.c.
21886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21889 * posix/Makefile (tests): Add tst-pathconf.
21890 * posix/tst-pathconf.c: New test case.
21891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21893 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21895 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21897 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21899 2013-03-06 Andreas Jaeger <aj@suse.de>
21901 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21902 definition via __MAP_ANONYMOUS.
21904 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21905 it's not part of Linux headers.
21907 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21908 (MAP_HUGE_MASK): Define.
21910 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21912 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21913 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21915 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21916 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21918 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21919 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21921 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21923 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21924 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21925 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21926 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21927 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21928 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21930 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21933 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21934 Handle f2fs and efivarfs.
21936 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21939 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21940 (EFIVARFS_MAGIC): Add.
21941 (F2FS_LINK_MAX): Add.
21943 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21945 * stdio-common/vfprintf.c: Replace __builtin_expect with
21948 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21951 * sysdeps/generic/bp-sym.h: Remove file.
21952 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21953 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21954 <bp-sym.h> and <bp-asm.h>.
21955 (__longjmp): Don't use BP_SYM.
21956 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21958 (memcpy): Don't use BP_SYM.
21959 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21960 <bp-sym.h> and <bp-asm.h>.
21961 (memcpy): Don't use BP_SYM.
21962 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21964 (memcpy): Don't use BP_SYM.
21965 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21967 (memset): Don't use BP_SYM.
21968 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21969 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21970 (__bzero): Don't use BP_SYM.
21971 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21972 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21973 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21974 <bp-sym.h> and <bp-asm.h>.
21975 (memcmp): Don't use BP_SYM. Remove comment about bounded
21977 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21978 <bp-sym.h> and <bp-asm.h>.
21979 (memcpy): Don't use BP_SYM.
21980 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21981 <bp-sym.h> and <bp-asm.h>.
21982 (memset): Don't use BP_SYM.
21983 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21984 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21985 (__bzero): Don't use BP_SYM.
21986 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21987 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21988 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21989 <bp-sym.h> and <bp-asm.h>.
21990 (strncmp): Don't use BP_SYM. Remove comment about bounded
21992 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21993 <bp-sym.h> and <bp-asm.h>.
21994 (memcpy): Don't use BP_SYM.
21995 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21996 <bp-sym.h> and <bp-asm.h>.
21997 (memset): Don't use BP_SYM.
21998 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21999 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22000 (__bzero): Don't use BP_SYM.
22001 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22002 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22003 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22004 <bp-sym.h> and <bp-asm.h>.
22005 (__memchr): Don't use BP_SYM.
22006 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22007 <bp-sym.h> and <bp-asm.h>.
22008 (memcmp): Don't use BP_SYM. Remove comment about bounded
22010 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22011 <bp-sym.h> and <bp-asm.h>.
22012 (memcpy): Don't use BP_SYM.
22013 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22014 <bp-sym.h> and <bp-asm.h>.
22015 (__mempcpy): Don't use BP_SYM.
22016 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22017 <bp-sym.h> and <bp-asm.h>.
22018 (__memrchr): Don't use BP_SYM.
22019 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22020 <bp-sym.h> and <bp-asm.h>.
22021 (memset): Don't use BP_SYM.
22022 (__bzero): Likewise.
22023 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22024 <bp-sym.h> and <bp-asm.h>.
22025 (__rawmemchr): Don't use BP_SYM.
22026 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22027 <bp-sym.h> and <bp-asm.h>.
22028 (__STRCMP): Don't use BP_SYM.
22029 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22030 <bp-sym.h> and <bp-asm.h>.
22031 (strchr): Don't use BP_SYM.
22032 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22033 <bp-sym.h> and <bp-asm.h>.
22034 (__strchrnul): Don't use BP_SYM.
22035 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22036 <bp-sym.h> and <bp-asm.h>.
22037 (strlen): Don't use BP_SYM.
22038 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22039 <bp-sym.h> and <bp-asm.h>.
22040 (strncmp): Don't use BP_SYM. Remove comment about bounded
22042 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22043 <bp-sym.h> and <bp-asm.h>.
22044 (__strnlen): Don't use BP_SYM.
22045 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22046 <bp-sym.h> and <bp-asm.h>.
22047 (__GI__setjmp): Don't use BP_SYM.
22048 (_setjmp): Likewise.
22049 (__sigsetjmp): Likewise.
22050 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22051 (L(start_addresses)): Don't use BP_SYM.
22052 (_start): Likewise.
22053 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22055 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22056 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22057 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22058 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22059 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22061 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22062 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22063 about bounded pointers.
22064 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22065 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22066 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22068 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22069 about bounded pointers. Remove GKM FIXME comments.
22070 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22071 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22073 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22074 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22075 Remove GKM FIXME comments.
22076 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22077 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22078 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22080 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22081 about bounded pointers. Remove GKM FIXME comment.
22082 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22084 (strncmp): Don't use BP_SYM. Remove comment about bounded
22086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22087 <bp-sym.h> and <bp-asm.h>.
22088 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22090 <bp-sym.h> and <bp-asm.h>.
22091 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22094 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22096 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22099 2013-03-05 David S. Miller <davem@davemloft.net>
22101 * po/es.po: Update from translation team.
22103 2013-03-05 Andreas Jaeger <aj@suse.de>
22105 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22106 <bits/mman-linux.h>.
22107 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22109 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22110 <bits/mman-linux.h> to end of file.
22111 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22113 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22114 <bits/mman-linux.h> to end of file.
22115 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22117 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22118 <bits/mman-linux.h> to end of file.
22120 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22121 (MCL_CURRENT, MCL_FUTURE): Define here.
22123 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22126 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22128 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22130 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22132 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22133 fourth parameter needed for rt_sigprocmask syscall.
22134 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22135 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22136 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22137 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22138 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22139 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22141 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22144 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22145 comment about bounded pointers.
22146 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22147 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22149 2013-03-04 Andreas Jaeger <aj@suse.de>
22151 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22152 common definitions.
22154 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22155 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22156 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22157 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22158 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22159 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22161 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22164 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22165 __ieee754_sqrl instead of __sqrl.
22167 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22169 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22170 * sysdeps/powerpc/fpu_control.h: ... here.
22171 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22172 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22173 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22174 * sysdeps/powerpc/bits/mathinline.h: ... here.
22176 2013-03-01 Roland McGrath <roland@hack.frob.com>
22178 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22179 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22180 to just [NEED_DL_SYSINFO_DSO].
22181 * elf/dl-support.c: Likewise.
22182 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22183 * elf/rtld.c (dl_main): Likewise.
22184 * elf/setup-vdso.h (setup_vdso): Likewise.
22185 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22186 * sysdeps/unix/sysv/linux/dl-sysdep.c
22187 (_dl_discover_osversion): Likewise.
22189 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22191 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22192 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22194 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22196 * NEWS: Mention libm performance improvements and non-x86 PI
22199 * csu/libc-start.c (__pthread_initialize_minimal): Change
22200 function arguments.
22201 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22203 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22206 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22207 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22208 <bp-sym.h> and <bp-asm.h>.
22209 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22210 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22212 (memcpy): Don't use BP_SYM.
22213 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22215 (__mpn_add_n): Don't use BP_SYM.
22216 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22217 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22219 (__mpn_addmul_1): Don't use BP_SYM.
22220 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22221 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22223 (_setjmp): Don't use BP_SYM.
22224 (__novmx_setjmp): Likewise.
22225 (__GI__setjmp): Likewise.
22226 (__vmx_setjmp): Likewise.
22227 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22229 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22230 (__bzero): Don't use BP_SYM.
22231 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22232 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22233 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22234 <bp-sym.h> and <bp-asm.h>.
22235 (memcpy): Don't use BP_SYM.
22236 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22237 <bp-sym.h> and <bp-asm.h>.
22238 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22239 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22240 <bp-sym.h> and <bp-asm.h>.
22241 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22242 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22244 (__mpn_lshift): Don't use BP_SYM.
22245 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22246 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22248 (memset): Don't use BP_SYM.
22249 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22250 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22251 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22253 (__mpn_mul_1): Don't use BP_SYM.
22254 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22255 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22256 <bp-sym.h> and <bp-asm.h>.
22257 (memcmp): Don't use BP_SYM.
22258 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22259 <bp-sym.h> and <bp-asm.h>.
22260 (memcpy): Don't use BP_SYM.
22261 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22262 <bp-sym.h> and <bp-asm.h>.
22263 (memset): Don't use BP_SYM.
22264 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22265 <bp-sym.h> and <bp-asm.h>.
22266 (strncmp): Don't use BP_SYM.
22267 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22268 <bp-sym.h> and <bp-asm.h>.
22269 (memcpy): Don't use BP_SYM.
22270 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22271 <bp-sym.h> and <bp-asm.h>.
22272 (memset): Don't use BP_SYM.
22273 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22274 <bp-sym.h> and <bp-asm.h>.
22275 (__memchr): Don't use BP_SYM.
22276 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22277 <bp-sym.h> and <bp-asm.h>.
22278 (memcmp): Don't use BP_SYM.
22279 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22280 <bp-sym.h> and <bp-asm.h>.
22281 (memcpy): Don't use BP_SYM.
22282 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22283 <bp-sym.h> and <bp-asm.h>.
22284 (__mempcpy): Don't use BP_SYM.
22285 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22286 <bp-sym.h> and <bp-asm.h>.
22287 (__memrchr): Don't use BP_SYM.
22288 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22289 <bp-sym.h> and <bp-asm.h>.
22290 (memset): Don't use BP_SYM.
22291 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22292 <bp-sym.h> and <bp-asm.h>.
22293 (__rawmemchr): Don't use BP_SYM.
22294 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22295 <bp-sym.h> and <bp-asm.h>.
22296 (__STRCMP): Don't use BP_SYM.
22297 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22298 <bp-sym.h> and <bp-asm.h>.
22299 (strchr): Don't use BP_SYM.
22300 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22301 <bp-sym.h> and <bp-asm.h>.
22302 (__strchrnul): Don't use BP_SYM.
22303 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22304 <bp-sym.h> and <bp-asm.h>.
22305 (strlen): Don't use BP_SYM.
22306 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22307 <bp-sym.h> and <bp-asm.h>.
22308 (strncmp): Don't use BP_SYM.
22309 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22310 <bp-sym.h> and <bp-asm.h>.
22311 (__strnlen): Don't use BP_SYM.
22312 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22314 (__mpn_rshift): Don't use BP_SYM.
22315 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22316 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22317 <bp-sym.h> and <bp-asm.h>.
22318 (__sigsetjmp): Don't use BP_SYM.
22319 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22320 (L(start_addresses)): Don't use BP_SYM.
22321 (_start): Likewise.
22322 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22324 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22325 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22326 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22327 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22329 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22330 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22331 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22332 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22334 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22336 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22337 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22339 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22341 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22342 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22343 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22345 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22347 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22349 (strncmp): Don't use BP_SYM,
22350 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22352 (__mpn_sub_n): Don't use BP_SYM.
22353 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22354 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22356 (__mpn_submul_1): Don't use BP_SYM.
22357 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22359 <bp-sym.h> and <bp-asm.h>.
22360 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22362 <bp-sym.h> and <bp-asm.h>.
22363 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22366 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22369 Use ZK to minimize writes to Z.
22370 (sub_magnitudes): Simplify code a bit.
22371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22372 Use ZK to minimize writes to Z.
22373 (sub_magnitudes): Simplify code a bit.
22375 2013-02-27 Roland McGrath <roland@hack.frob.com>
22377 * csu/gmon-start.c: Add special exception to license text.
22379 2013-02-27 Richard Henderson <rth@redhat.com>
22381 * scripts/config.guess: Update from config.git.
22382 * scripts/config.sub: Likewise.
22384 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22386 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22388 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22390 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22392 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22394 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22396 2013-02-26 Roland McGrath <roland@hack.frob.com>
22398 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22399 [$(build-shared = yes].
22401 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22403 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22404 (__mul): Reduce iterations for calculating mantissa.
22406 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22408 (__mpranred): Likewise.
22411 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22412 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22414 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22416 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22417 Define __attribute__.
22419 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22421 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22423 * posix/regex_internal.h (__attribute): Remove.
22424 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22425 (re_string_context_at): Likewise.
22426 (bitset_not): Use __attribute__ and mark function as possibly
22428 (bitset_merge): Likewise.
22429 (bitset_mask): Likewise.
22430 (re_string_char_size_at): Likewise.
22431 (re_string_wchar_at): Likewise.
22432 (re_string_elem_size_at): Likewise.
22434 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22436 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22440 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22444 (denorm): Likewise.
22445 (__dbl_mp): Likewise.
22446 (add_magnitudes): Likewise.
22447 (sub_magnitudes): Likewise.
22451 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22454 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22457 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22461 up changes with default code.
22462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22465 2013-02-24 Allan McRae <allan@archlinux.org>
22467 * manual/socket.texi (The Internet Namespace): Order menu items
22468 to match that in the file.
22470 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22471 node listing of the info page menu.
22473 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22476 * sysdeps/i386/bp-asm.h: Remove file.
22477 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22478 (PARMS): Do not use macros from bp-asm.h.
22482 (__mpn_add_n): Do not use BP_SYM
22483 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22485 (PARMS): Do not use macros from bp-asm.h.
22488 (__mpn_addmul_1): Do not use BP_SYM
22489 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22491 (PARMS): Do not use macros from bp-asm.h.
22492 (SIGMSK): Likewise.
22493 (_setjmp): Likewise. Do not use BP_SYM.
22494 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22496 (PARMS): Do not use macros from bp-asm.h.
22497 (SIGMSK): Likewise.
22498 (setjmp): Likewise. Do not use BP_SYM.
22499 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22501 (PARMS): Do not use macros from bp-asm.h.
22502 (__frexp): Do not use BP_SYM.
22504 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22506 (PARMS): Do not use macros from bp-asm.h.
22507 (__frexpf): Do not use BP_SYM.
22508 (frexpf): Likewise.
22509 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22511 (PARMS): Do not use macros from bp-asm.h.
22512 (__frexpl): Do not use BP_SYM.
22513 (frexpl): Likewise.
22514 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22516 (PARMS): Do not use macros from bp-asm.h.
22517 (__remquo): Do not use BP_SYM.
22518 (remquo): Likewise.
22519 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22521 (PARMS): Do not use macros from bp-asm.h.
22522 (__remquof): Do not use BP_SYM.
22523 (remquof): Likewise.
22524 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22526 (PARMS): Do not use macros from bp-asm.h.
22527 (__remquol): Do not use BP_SYM.
22528 (remquol): Likewise.
22529 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22531 (PARMS): Do not use macros from bp-asm.h.
22534 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22535 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22537 (PARMS): Do not use macros from bp-asm.h.
22538 (strlen): Do not use BP_SYM.
22539 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22541 (PARMS): Do not use macros from bp-asm.h.
22545 (__mpn_add_n): Do not use BP_SYM.
22546 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22548 (PARMS): Do not use macros from bp-asm.h.
22551 (__mpn_addmul_1): Do not use BP_SYM.
22552 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22555 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22557 (PARMS): Do not use macros from bp-asm.h.
22560 (__mpn_lshift): Do not use BP_SYM.
22561 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22563 (PARMS): Do not use macros from bp-asm.h.
22567 (memcpy): Likewise. Do not use BP_SYM.
22568 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22569 libc_hidden_def and weak_alias.
22570 (mempcpy): Do not use BP_SYM in weak_alias.
22571 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22573 (PARMS): Do not use macros from bp-asm.h.
22576 [!BZERO_P] (CHR): Likewise.
22577 (memset): Likewise. Do not use BP_SYM.
22578 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22580 (PARMS): Do not use macros from bp-asm.h.
22583 (__mpn_mul_1): Do not use BP_SYM.
22584 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22586 (PARMS): Do not use macros from bp-asm.h.
22589 (__mpn_rshift): Do not use BP_SYM.
22590 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22592 (PARMS): Do not use macros from bp-asm.h.
22595 (strchr): Likewise. Do not use BP_SYM.
22596 (index): Do not use BP_SYM in weak_alias.
22597 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22599 (PARMS): Do not use macros from bp-asm.h.
22602 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22603 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22605 (PARMS): Do not use macros from bp-asm.h.
22606 (strlen): Do not use BP_SYM.
22607 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22609 (PARMS): Do not use macros from bp-asm.h.
22613 (__mpn_sub_n): Do not use BP_SYM.
22614 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22616 (PARMS): Do not use macros from bp-asm.h.
22619 (__mpn_submul_1): Do not use BP_SYM.
22620 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22622 (PARMS): Do not use macros from bp-asm.h.
22626 (__mpn_add_n): Do not use BP_SYM.
22627 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22630 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22632 (PARMS): Do not use macros from bp-asm.h.
22635 (memcmp): Do not use BP_SYM.
22636 (bcmp): Do not use BP_SYM in weak_alias.
22637 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22639 (PARMS): Do not use macros from bp-asm.h.
22643 (memcpy): Likewise. Do not use BP_SYM.
22644 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22646 (PARMS): Do not use macros from bp-asm.h.
22650 (memmove): Likewise. Do not use BP_SYM.
22651 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22653 (PARMS): Do not use macros from bp-asm.h.
22657 (__mempcpy): Likewise. Do not use BP_SYM.
22658 (mempcpy): Do not use BP_SYM in weak_alias.
22659 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22661 (PARMS): Do not use macros from bp-asm.h.
22664 [!BZERO_P] (CHR): Likewise.
22665 (memset): Likewise. Do not use BP_SYM.
22666 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22668 (PARMS): Do not use macros from bp-asm.h.
22670 (strcmp): Do not use BP_SYM.
22671 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22673 (PARMS): Do not use macros from bp-asm.h.
22676 [USE_AS_STRTOK_R] (SAVE): Likewise.
22677 (FUNCTION): Likewise. Do not use BP_SYM.
22678 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22680 (strtok_r): Likewise.
22681 (__GI___strtok_r): Likewise.
22682 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22683 (PARMS): Do not use macros from bp-asm.h.
22686 (__mpn_lshift): Do not use BP_SYM.
22687 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22688 (PARMS): Do not use macros from bp-asm.h.
22691 (__memchr): Do not use BP_SYM.
22692 (memchr): Do not use BP_SYM in weak_alias.
22693 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22694 (PARMS): Do not use macros from bp-asm.h.
22697 (memcmp): Do not use BP_SYM.
22698 (bcmp): Do not use BP_SYM in weak_alias.
22699 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22700 (PARMS): Do not use macros from bp-asm.h.
22703 (__mpn_mul_1): Do not use BP_SYM.
22704 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22706 (PARMS): Do not use macros from bp-asm.h.
22709 (__rawmemchr): Do not use BP_SYM.
22710 (rawmemchr): Do not use BP_SYM in weak_alias.
22711 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22712 (PARMS): Do not use macros from bp-asm.h.
22715 (__mpn_rshift): Do not use BP_SYM.
22716 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22717 (PARMS): Do not use macros from bp-asm.h.
22718 (SIGMSK): Likewise.
22719 (__sigsetjmp): Likewise. Do not use BP_SYM.
22720 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22721 (_start): Do not use BP_SYM.
22722 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22723 (PARMS): Do not use macros from bp-asm.h.
22726 (__stpcpy): Likewise. Do not use BP_SYM.
22727 (stpcpy): Do not use BP_SYM in weak_alias.
22728 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22730 (PARMS): Do not use macros from bp-asm.h.
22734 (__stpncpy): Likewise. Do not use BP_SYM.
22735 (stpncpy): Do not use BP_SYM in weak_alias.
22736 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22737 (PARMS): Do not use macros from bp-asm.h.
22740 (strchr): Likewise. Do not use BP_SYM.
22741 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22743 (PARMS): Do not use macros from bp-asm.h.
22746 (__strchrnul): Likewise. Do not use BP_SYM.
22747 (strchrnul): Do not use BP_SYM in weak_alias.
22748 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22750 (PARMS): Do not use macros from bp-asm.h.
22752 (strcspn): Do not use BP_SYM.
22753 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22755 (PARMS): Do not use macros from bp-asm.h.
22758 (strpbrk): Likewise. Do not use BP_SYM.
22759 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22761 (PARMS): Do not use macros from bp-asm.h.
22764 (strrchr): Likewise. Do not use BP_SYM.
22765 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22766 (PARMS): Do not use macros from bp-asm.h.
22768 (strspn): Do not use BP_SYM.
22769 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22770 (PARMS): Do not use macros from bp-asm.h.
22774 (FUNCTION): Likewise. Do not use BP_SYM.
22775 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22777 (strtok_r): Likewise.
22778 (__GI___strtok_r): Likewise.
22779 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22780 (PARMS): Do not use macros from bp-asm.h.
22784 (__mpn_sub_n): Do not use BP_SYM.
22785 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22787 (PARMS): Do not use macros from bp-asm.h.
22790 (__mpn_submul_1): Do not use BP_SYM.
22791 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22793 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22795 (PARMS): Do not use macros from bp-asm.h.
22800 (__clone): Do not use BP_SYM.
22801 (clone): Do not use BP_SYM in weak_alias.
22802 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22804 (PARMS): Do not use macros from bp-asm.h.
22806 (__mmap64): Do not use BP_SYM.
22807 (mmap64): Do not use BP_SYM in weak_alias.
22808 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22809 <bp-sym.h> and <bp-asm.h>.
22810 (PARMS): Do not use macros from bp-asm.h.
22811 (__posix_fadvise64_l64): Do not use BP_SYM.
22812 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22813 (PARMS): Do not use macros from bp-asm.h.
22815 (semtimedop): Do not use BP_SYM.
22816 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22819 2013-02-21 Allan McRae <allan@archlinux.org>
22821 * manual/message.texi (Charset conversion in gettext):
22822 Move @end statement to beginning of line.
22824 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22831 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22832 (denorm): Likewise.
22833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22836 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22838 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22839 tail-call to the resolved function if pltexit isn't needed.
22841 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22844 or Y being zero as being unlikely.
22845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22848 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22850 * manual/nss.texi (System Databases and Name Service Switch):
22851 Remove frobnicate @pxref.
22853 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22855 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22856 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22858 2013-02-20 Petr Machata <pmachata@redhat.com>
22860 * elf/elf.h (R_ARM_TARGET1): New macro.
22861 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22862 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22863 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22864 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22865 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22866 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22867 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22868 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22869 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22870 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22871 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22872 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22873 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22874 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22875 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22876 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22877 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22878 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22879 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22880 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22881 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22882 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22883 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22884 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22885 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22886 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22887 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22888 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22889 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22890 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22891 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22892 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22893 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22894 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22895 (R_ARM_THM_GOT_BREL12): Likewise.
22896 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22897 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22898 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22899 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22900 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22901 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22902 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22903 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22904 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22906 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22908 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22909 __attribute_used__ to __attribute__ ((unused)).
22911 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22913 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22916 comment formatting.
22917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22919 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22922 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22924 (ENTER): Remove both macro definitions.
22926 (CHECK_BOUNDS_LOW): Likewise.
22927 (CHECK_BOUNDS_HIGH): Likewise.
22928 (CHECK_BOUNDS_BOTH): Likewise.
22929 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22930 (RETURN_BOUNDED_POINTER): Likewise.
22931 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22932 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22933 (POP_ERRNO_LOCATION_RETURN): Likewise.
22934 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22935 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22936 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22938 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22939 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22940 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22941 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22942 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22943 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22944 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22945 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22946 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22947 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22948 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22949 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22950 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22951 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22953 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22954 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22956 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22957 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22958 * sysdeps/i386/i586/memset.S (memset): Likewise.
22959 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22960 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22961 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22963 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22964 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22965 Change uses of L(2) to L(out).
22966 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22967 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22968 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22969 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22970 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22972 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22973 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22975 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22976 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22977 (RETURN): Do not use macro LEAVE.
22978 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22979 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22980 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22981 * sysdeps/i386/i686/memset.S (memset): Likewise.
22982 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22983 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22984 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22985 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22987 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22988 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22989 L(1_2) and L(1_3) into L(1).
22990 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22991 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22992 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22993 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22994 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22995 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22996 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22997 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22998 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23000 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23001 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23002 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23003 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23004 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23005 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23006 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23007 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23008 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23009 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23010 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23011 * sysdeps/i386/strspn.S (strspn): Likewise.
23012 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23014 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23015 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23016 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23017 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23018 L(1_3) into L(1_1).
23019 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23020 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23021 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23023 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23025 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23027 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23030 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23032 * math/atest-exp.c (exp_mpn): Remove ROUND.
23033 * math/atest-exp2.c (exp_mpn): Likewise.
23034 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23036 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23037 * stdlib/tst-tls-atexit-lib.c: Likewise.
23038 * stdlib/tst-tls-atexit.c: Likewise.
23040 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23042 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23043 and __attribute_alloc_size__.
23045 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23047 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23048 __attribute_alloc_size__.
23049 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23050 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23052 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23054 * include/programs/xmalloc.h: New file.
23055 * catgets/gencat.c: Include it.
23056 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23057 * elf/pldd.c: Likewise.
23058 * iconv/iconv_charmap.c: Likewise.
23059 * iconv/iconvconfig.c: Likewise.
23060 * iconv/strtab.c: Likewise.
23061 * locale/programs/locale.c: Likewise.
23062 * locale/programs/localedef.h: Likewise.
23063 * locale/programs/simple-hash.c: Likewise.
23064 * nscd/nscd.h: Likewise.
23065 * nss/makedb.c: Likewise.
23066 * sysdeps/generic/ldconfig.h: Likewise.
23068 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23070 * Versions.def: Add GLIBC_2.18.
23071 * include/link.h (struct link_map): New member l_tls_dtor_count.
23072 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23073 (__call_tls_dtors): Likewise.
23074 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23075 __cxa_thread_atexit_impl.
23076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23084 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23092 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23093 (tests): Add test case tst-tls-atexit.
23094 (modules-names): Add shared library for tst-tls-atexit.
23095 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23096 (GLIBC_PRIVATE): Add __call_tls_dtors.
23097 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23099 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23100 * stdlib/tst-tls-atexit.c: New test case.
23101 * stdlib/tst-tls-atexit-lib.c: New test case.
23103 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23105 * elf/Versions (ld): Add _dl_find_dso_for_object.
23106 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23107 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23108 (dl_open_worker): Use _dl_find_dso_for_object.
23109 * elf/dl-sym.c (do_sym): Likewise.
23110 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23112 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23114 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23115 Syntactic changes only.
23116 (_dl_runtime_profile): Do a tail-call to the resolved function.
23118 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23121 * sysdeps/x86_64/bp-asm.h: Remove file.
23122 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23123 <bp-sym.h> and <bp-asm.h>.
23124 (__clone): Do not use BP_SYM.
23125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23126 <bp-sym.h> and <bp-asm.h>.
23127 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23128 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23130 (_setjmp): Do not use BP_SYM.
23131 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23133 (setjmp): Do not use BP_SYM.
23134 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23136 (mempcpy): Do not use BP_SYM in weak_alias.
23137 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23139 (strchr): Do not use BP_SYM.
23140 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23142 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23143 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23144 (_start): Do not use BP_SYM.
23145 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23147 (strcat): Do not use BP_SYM.
23148 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23150 (STRCMP): Do not use BP_SYM.
23151 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23153 (STRCPY): Do not use BP_SYM.
23154 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23156 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23158 (FUNCTION): Do not use BP_SYM.
23159 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23161 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23163 2013-02-17 Andreas Jaeger <aj@suse.de>
23165 * time/Versions: Sort entries.
23166 * string/Versions: Likewise.
23167 * resolv/Versions: Likewise.
23168 * posix/Versions: Likewise.
23169 * iconv/Versions: Likewise.
23170 * elf/Versions: Likewise.
23171 * wcsmbs/Versions: Likewise.
23173 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23175 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23176 loop termination condition.
23178 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23179 variable to calculate EZ.
23182 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23183 the lower precision input.
23185 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23188 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23189 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23190 (run-via-rtld-prefix): Do not handle %-bp tests.
23191 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23192 (all-object-suffixes): Remove .ob.
23193 (bppfx): Remove variable.
23194 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23195 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23196 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23197 [$(build-bounded) = yes] (libtype.ob): Likewise.
23198 * Makerules (elide-routines.ob): Remove variable.
23199 (do-tests-clean): Do not handle *-bp.out.
23200 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23201 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23202 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23203 (tests): Do not include $(tests-bp.out).
23204 (xtests): Do not include $(xtests-bp.out).
23205 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23206 [$(build-bounded) = yes] ($(addprefix
23207 $(objpfx),$(binaries-bounded))): Remove rule.
23208 ($(objpfx)%-bp.out): Remove rule.
23209 * config.make.in (build-bounded): Remove variable.
23210 * crypt/Makefile [$(build-bounded) = yes]
23211 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23212 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23213 append to variable.
23214 [$(build-bounded) = yes] (install-lib): Likewise.
23215 [$(build-bounded) = yes] (generated): Likewise.
23216 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23218 * intl/Makefile [$(build-bounded) = yes]
23219 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23220 * math/Makefile [$(build-bounded) = yes]
23221 ($(tests:%=$(objpfx)%-bp): Likewise.
23222 * misc/Makefile [$(build-bounded) = yes]
23223 ($(objpfx)tst-tsearch-bp): Likewise.
23224 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23225 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23227 * string/Makefile (o-objects.ob): Remove variable.
23228 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23229 (CFLAGS-.ob): Remove variable.
23230 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23231 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23232 both definitions of variable.
23233 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23234 (ASFLAGS-.ob): Remove variable.
23236 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23239 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23240 Remove __BOUNDED_POINTERS__ from condition.
23241 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23242 * string/bits/string2.h [!__NO_STRING_INLINES &&
23243 !__BOUNDED_POINTERS__]: Likewise.
23244 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23246 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23247 Remove conditional code.
23248 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23249 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23250 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23254 * csu/libc-start.c: Do not include <bp-sym.h>.
23255 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23256 * elf/dl-open.c: Do not include <bp-sym.h>.
23257 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23258 * math/fegetenv.c: Do not include <bp-sym.h>.
23259 (fegetenv): Do not use BP_SYM in versioned symbols.
23260 * nptl/sysdeps/pthread/bits/libc-lockP.h
23261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23264 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23266 (__pthread_mutex_destroy): Likewise.
23267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23268 (__pthread_mutex_lock): Likewise.
23269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23270 (__pthread_mutex_trylock): Likewise.
23271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23272 (__pthread_mutex_unlock): Likewise.
23273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23274 (__pthread_mutexattr_init): Likewise.
23275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23276 (__pthread_mutexattr_destroy): Likewise.
23277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23278 (__pthread_mutexattr_settype): Likewise.
23279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23280 (__pthread_rwlock_init): Likewise.
23281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23282 (__pthread_rwlock_destroy): Likewise.
23283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23284 (__pthread_rwlock_rdlock): Likewise.
23285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23286 (__pthread_rwlock_tryrdlock): Likewise.
23287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23288 (__pthread_rwlock_wrlock): Likewise.
23289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23290 (__pthread_rwlock_trywrlock): Likewise.
23291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23292 (__pthread_rwlock_unlock): Likewise.
23293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23294 (__pthread_key_create): Likewise.
23295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23296 (__pthread_setspecific): Likewise.
23297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23298 (__pthread_getspecific): Likewise.
23299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23302 (_pthread_cleanup_push_defer): Likewise.
23303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23304 (_pthread_cleanup_pop_restore): Likewise.
23305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23306 (pthread_setcancelstate): Likewise.
23307 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23309 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23310 (memchr): Do not use BP_SYM in weak_alias.
23311 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23312 (fegetenv): Do not use BP_SYM in versioned symbols.
23313 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23314 (fesetenv): Do not use BP_SYM in versioned symbols.
23315 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23316 (feupdateenv): Do not use BP_SYM in versioned symbols.
23317 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23318 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23319 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23320 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23321 (open64): Do not use BP_SYM in weak_alias.
23322 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23323 (fegetenv): Do not use BP_SYM in versioned symbols.
23324 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23325 (fesetenv): Do not use BP_SYM in versioned symbols.
23326 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23327 (feupdateenv): Do not use BP_SYM in versioned symbols.
23328 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23329 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23330 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23331 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23332 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23333 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23334 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23336 (__libc_start_main): Do not use BP_SYM.
23338 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23341 redundant return line.
23343 (denorm): Likewise.
23344 (dbl_mp): Likewise.
23345 (sub_magnitudes): Likewise.
23351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23353 (denorm): Likewise.
23354 (dbl_mp): Likewise.
23355 (sub_magnitudes): Likewise.
23362 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23364 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23365 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23368 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23369 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23371 of __mul for squares.
23372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23376 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23377 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23379 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23382 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23384 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23385 prototype or function definition. Rename ubp_* variables and
23386 parameters. Remove argv definitions conditional on
23387 [__BOUNDED_POINTERS__].
23388 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23389 * elf/dl-runtime.c (_dl_fixup): Likewise.
23390 * include/set-hooks.h (RUN_HOOK): Likewise.
23391 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23393 * string/strcpy.c (strcpy): Do not use __unbounded.
23394 * sysdeps/generic/frame.h (struct layout): Likewise.
23395 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23396 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23397 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23398 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23399 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23400 (__backtrace): Likewise.
23401 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23403 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23404 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23405 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23407 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23408 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23409 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23410 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23411 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23412 Do not use __unbounded.
23413 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23414 Rename __unboundedrlimits parameter to rlimits in prototype.
23415 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23416 Do not use __unbounded.
23417 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23418 not use __ptrvalue.
23419 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23420 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23421 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23422 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23423 __ptrvalue or __unbounded.
23424 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23425 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23427 (__new_msgctl): Do not use __ptrvalue.
23428 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23430 (__libc_msgrcv): Do not use __ptrvalue.
23431 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23432 startup_info): Do not use __unbounded.
23433 (__libc_start_main): Likewise. Rename ubp_* variables and
23434 parameters. Remove argv definitions conditional on
23435 [__BOUNDED_POINTERS__].
23436 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23438 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23440 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23442 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23444 (__new_shmctl): Do not use __ptrvalue.
23445 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23446 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23448 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23449 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23450 (__libc_sigaction): Likewise.
23451 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23452 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23454 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23456 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23458 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23460 * string/mempcpy.c: Implement by calling memcpy.
23462 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23464 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23466 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23469 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23470 values in the mantissa.
23472 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23473 minimize writes to Z.
23474 (sub_magnitudes): Simplify code a bit.
23476 2013-02-12 Roland McGrath <roland@hack.frob.com>
23478 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23479 from the message. The linker prefixes all warnings with that already.
23481 2013-02-12 Andreas Schwab <schwab@suse.de>
23484 * posix/regexec.c (extend_buffers): Add parameter min_len.
23485 (check_matching): Pass minimum needed length.
23486 (clean_state_log_if_needed): Likewise.
23487 (get_subexp): Likewise.
23488 * posix/Makefile (tests): Add bug-regex34.
23489 (bug-regex34-ENV): Define.
23490 * posix/bug-regex34.c: New file.
23493 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23494 elements compare against the byte sequence of it, not its name.
23495 * posix/Makefile (tests): Add bug-regex35.
23496 (bug-regex35-ENV): Define.
23497 * posix/bug-regex35.c: New file.
23499 2013-02-11 Tom de Vries <tom@codesourcery.com>
23501 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23503 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23504 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23505 (CHECK_EOL): Add undef.
23507 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23509 * bits/stdlib-bsearch.h: New file.
23510 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23511 * stdlib/stdlib.h: Likewise.
23513 2013-02-11 Roland McGrath <roland@hack.frob.com>
23515 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23516 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23518 * manual/search.texi (Array Search Function): Add missing const in
23520 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23521 declaration to use rlim_t.
23522 (Basic Scheduling Functions): Remove erroneous const from
23523 sched_getparam prototype. Remove erroneous * from
23524 sched_get_priority_max and sched_get_priority_min prototypes.
23525 (Resource Usage): Fix summary @comment on vtimes to refer to
23526 sys/vtimes.h rather than vtimes.h.
23527 Add missing *s in vtimes prototype.
23528 (Limits on Resources): Fix ulimit prototype to return long int.
23529 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23530 prototypes to use long int rather than double.
23531 (BSD Random): Fix initstate and setstate to use char *, not void *.
23532 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23533 prototype to make second argument 'struct aiocb64 *const[]'.
23534 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23535 (Status of AIO Operations): Remove erroneous const in aio_return and
23536 aio_return64 prototypes.
23537 (Synchronizing I/O): Fix sync prototype to return void.
23538 * manual/startup.texi (Suboptions): Remove an erroneous const in
23539 getsubopt prototype.
23540 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23541 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23542 use size_t rather than int.
23543 (Scanning All Users): Likewise for getpwent_r.
23544 (Setting Groups): Add missing const to setgroups prototype.
23545 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23546 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23547 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23548 'const void *' rather than 'const char *'.
23549 (Host Address Functions): Likewise for inet_ntop.
23550 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23551 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23552 ssize_t for return value.
23553 (Sending Data): Likewise for send, sendto, sendmsg.
23554 (Socket Option Functions): Add a missing const in setsockopt prototype.
23555 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23556 use wchar_t for the argument.
23557 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23558 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23560 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23561 double/float/long double for second argument.
23562 Fix return types of significand, significandf, significandl.
23563 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23564 argument in fchmod prototype.
23565 (File Owner): Use uid_t and gid_t in fchown prototype.
23566 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23567 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23568 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23569 use 'const struct dirent **' as argument types to CMP function pointer
23571 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23572 (File Times): Fix summary magic @comment for struct utimbuf and utime
23573 to refer to utime.h, not time.h.
23574 * manual/string.texi (Argz Functions): Add missing const in
23575 argz_extract and argz_next prototypes.
23576 (Finding Tokens in a String): Likewise for basename.
23577 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23578 (Copying and Concatenation): Fix typo in wmemmove prototype.
23579 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23580 (Signal Stack): Remove erroneous const in sigstack prototype.
23581 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23583 (Simple Calendar Time): Likewise for stime.
23584 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23586 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23587 say sys/sysctl.h instead.
23588 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23589 and vsyslog prototypes.
23591 2013-02-11 Tom de Vries <tom@codesourcery.com>
23593 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23596 2013-02-11 Roland McGrath <roland@hack.frob.com>
23598 * misc/sys/mman.h: Fix typo in mremap comment.
23600 2013-02-08 Roland McGrath <roland@hack.frob.com>
23602 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23603 the '\0' terminator.
23605 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23608 * debug/segfault.c: Don't include <bp-checks.h>.
23609 * sysdeps/generic/bp-checks.h: Remove file.
23610 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23611 (__GETDENTS): Don't use CHECK_N.
23612 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23613 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23614 (__getgroups): Don't use CHECK_N.
23615 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23616 (setgroups): Don't use CHECK_N.
23617 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23618 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23619 (__libc_msgrcv): Don't use CHECK_N.
23620 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23621 (__libc_msgsnd): Don't use CHECK_N.
23622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23624 (__libc_pread): Don't use CHECK_N.
23625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23626 include <bp-checks.h>.
23627 (__libc_pread64): Don't use CHECK_N.
23628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23629 include <bp-checks.h>.
23630 (__libc_pwrite): Don't use CHECK_N.
23631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23632 include <bp-checks.h>.
23633 (__libc_pwrite64): Don't use CHECK_N.
23634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23636 (__libc_pread): Don't use CHECK_N.
23637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23638 include <bp-checks.h>.
23639 (__libc_pread64): Don't use CHECK_N.
23640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23641 include <bp-checks.h>.
23642 (__libc_pwrite): Don't use CHECK_N.
23643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23644 include <bp-checks.h>.
23645 (__libc_pwrite64): Don't use CHECK_N.
23646 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23647 (do_pread): Don't use CHECK_N.
23648 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23649 (do_pread64): Don't use CHECK_N.
23650 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23651 (do_pwrite): Don't use CHECK_N.
23652 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23653 (do_pwrite64): Don't use CHECK_N.
23654 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23655 (__libc_readv): Don't use CHECK_N.
23656 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23657 (semop): Don't use CHECK_N.
23658 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23660 (semtimedop): Don't use CHECK_N.
23661 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23662 (__libc_pread): Don't use CHECK_N.
23663 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23665 (__libc_pread64): Don't use CHECK_N.
23666 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23668 (__libc_pwrite): Don't use CHECK_N.
23669 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23671 (__libc_pwrite64): Don't use CHECK_N.
23672 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23674 (__libc_msgrcv): Don't use CHECK_N.
23675 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23676 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23677 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23678 (__libc_writev): Don't use CHECK_N.
23680 2013-02-08 Roland McGrath <roland@hack.frob.com>
23682 * string/strcpy.c: Removed unused variable.
23684 * Makeconfig (+sysdep-includes): Define with := rather than =.
23685 Use an existing include/ subdir of each sysdeps dir before it.
23687 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23689 * nscd/connection.c (register_traced_file): Comment function.
23690 [HAVE_INOTIFY] (union __inev): Define.
23691 [HAVE_INOTIFY] (inotify_check_files): New function.
23692 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23693 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23695 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23697 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23699 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23700 loaded if not already and that a failure is permanent.
23702 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23705 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23706 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23708 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23711 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23712 (CHECK_1_NULL_OK): Likewise.
23713 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23714 (__fxstat): Do not use CHECK_1.
23715 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23717 (___fxstat64): Do not use CHECK_1.
23718 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23720 (__fxstatat): Do not use CHECK_1.
23721 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23723 (__fxstatat64): Do not use CHECK_1.
23724 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23726 (__fxstat): Do not use CHECK_1.
23727 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23729 (__fxstatat): Do not use CHECK_1.
23730 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23732 (__getresgid): Do not use CHECK_1.
23733 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23735 (__getresuid): Do not use CHECK_1.
23736 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23738 (__lxstat): Do not use CHECK_1.
23739 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23741 (__old_msgctl): Do not use CHECK_1.
23742 (__new_msgctl): Likewise.
23743 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23745 (__new_setrlimit): Do not use CHECK_1.
23746 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23748 (__old_shmctl): Do not use CHECK_1.
23749 (__new_shmctl): Likewise.
23750 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23752 (__xstat): Do not use CHECK_1.
23753 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23754 (__lxstat): Do not use CHECK_1.
23755 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23757 (___lxstat64): Do not use CHECK_1.
23758 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23759 (__old_msgctl): Do not use CHECK_1.
23760 (__new_msgctl): Likewise.
23761 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23763 (__gettimeofday): Do not use CHECK_1.
23764 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23765 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23766 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23768 (__gettimeofday): Do not use CHECK_1.
23769 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23770 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23771 (__new_shmctl): Do not use CHECK_1.
23772 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23774 (do_sigtimedwait): Do not use CHECK_1.
23775 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23777 (do_sigwaitinfo): Do not use CHECK_1.
23778 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23780 (msgctl): Do not use CHECK_1.
23781 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23783 (shmctl): Do not use CHECK_1.
23784 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23785 (ustat): Do not use CHECK_1.
23786 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23788 (__fxstat): Do not use CHECK_1.
23789 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23791 (__fxstatat): Do not use CHECK_1.
23792 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23794 (__lxstat): Do not use CHECK_1.
23795 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23797 (__xstat): Do not use CHECK_1.
23798 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23799 (__xstat): Do not use CHECK_1.
23800 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23801 (___xstat64): Do not use CHECK_1.
23804 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23806 (CHECK_BOUNDS_HIGH): Likewise.
23807 * string/strcpy.c: Do not include <bp-checks.h>.
23808 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23810 2013-02-07 Roland McGrath <roland@hack.frob.com>
23812 * nscd/nscd-client.h (__nscd_drop_map_ref):
23813 Add __attribute__ ((unused)).
23814 * nis/nss-nisplus.h (niserr2nss): Likewise.
23816 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23817 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23819 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23820 Remove inline keyword.
23821 * include/rounding-mode.h (round_away): Likewise.
23822 * libio/wfileops.c (adjust_wide_data): Likewise.
23823 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23824 (__m128i_strloadu_tolower): Likewise.
23825 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23826 (__m128i_strloadu_tolower): Likewise.
23827 * time/mktime.c (ydhms_diff): Likewise.
23828 * locale/elem-hash.h (elem_hash): Likewise.
23829 * locale/setlocale.c (setdata): Likewise.
23830 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23831 (re_string_wchar_at): Likewise.
23832 (bitset_not, bitset_merge, bitset_mask): Likewise.
23833 [!(__GNUC__ > 3)] (inline): Remove macro.
23834 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23835 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23836 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23837 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23838 * string/memcmp.c (memcmp_bytes): Likewise.
23839 * locale/programs/locarchive.c (compute_hashval): Likewise.
23840 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23841 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23842 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23843 * nss/getent.c (print_rpc, print_protocols): Likewise.
23844 (print_passwd, print_group, print_aliases): Likewise.
23845 * nis/nss-nisplus.h (niserr2nss): Likewise.
23846 * nscd/connections.c (restart_p): Likewise.
23847 Change return type to bool.
23849 2013-02-05 Roland McGrath <roland@hack.frob.com>
23851 * Makeconfig (all-Depend-files): Add existing
23852 $(sorted-subdirs:=/Depend) files.
23853 (all-subdirs): Remove nss.
23854 * sysdeps/unix/inet/Subdirs: Add it here instead.
23855 * hesiod/Depend: New file.
23857 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23858 instead of calling alloca.
23860 * io/lseek.c (__lseek): Rename to __libc_lseek.
23861 Define __lseek as an alias.
23863 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23865 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23867 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23868 else clause and remove check for non-standard endianness.
23870 2013-02-04 David S. Miller <davem@davemloft.net>
23872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23874 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23877 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23878 (__ubp_memchr): Remove prototype.
23879 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23880 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23881 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23882 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23883 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23885 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23886 (__ubp_memchr): Likewise.
23887 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23888 (__ubp_memchr): Likewise.
23889 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23890 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23891 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23892 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23894 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23895 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23896 (__getcwd): Do not use CHECK_STRING.
23897 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23899 (__real_chown): Do not use CHECK_STRING.
23900 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23902 (fchownat): Do not use CHECK_STRING.
23903 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23905 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23907 (__lchown): Do not use CHECK_STRING.
23908 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23909 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23910 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23911 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23913 include <bp-checks.h>.
23914 (truncate64): Do not use CHECK_STRING.
23915 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23917 (__real_chown): Do not use CHECK_STRING.
23918 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23920 (__lchown): Do not use CHECK_STRING.
23921 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23923 (__chown): Do not use CHECK_STRING.
23924 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23926 (truncate64): Do not use CHECK_STRING.
23927 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23929 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23930 (__xmknod): Do not use CHECK_STRING.
23931 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23933 (__xmknodat): Do not use CHECK_STRING.
23934 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23935 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23937 2013-02-04 Andreas Schwab <schwab@suse.de>
23940 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23941 * include/netdb.h: Likewise for h_errno.
23942 * elf/tst-stackguard1.c: Include <tls.h>.
23944 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23946 * elf/link.h (struct link_map): Extend the l_addr comment.
23947 * include/link.h (struct link_map): Likewise.
23949 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23952 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23953 (BOUNDED_1): Remove macro.
23954 * debug/backtrace.c: Don't include <bp-checks.h>.
23955 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23956 (__backtrace): Likewise.
23957 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23959 (__backtrace): Don't use BOUNDED_1.
23960 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23962 (__backtrace): Don't use BOUNDED_1.
23963 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23964 (__backtrace): Don't use BOUNDED_1.
23965 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23966 (shmat): Don't use BOUNDED_N.
23968 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23971 * sysdeps/generic/bp-start.h: Remove file.
23972 * csu/libc-start.c: Don't include <bp-start.h>.
23973 (LIBC_START_MAIN): Set up __environ directly instead of using
23974 INIT_ARGV_and_ENVIRON.
23975 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23979 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23981 (CHECK_FCNTL): Likewise.
23982 (CHECK_N_PAGES): Likewise.
23985 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23987 (CHECK_SIGSET_NULL_OK): Likewise.
23988 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23990 (sigpending): Don't use CHECK_SIGSET.
23991 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23993 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23994 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23996 (do_sigsuspend): Don't use CHECK_SIGSET.
23997 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23999 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24000 (do_sigwait): Don't use CHECK_SIGSET.
24001 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24003 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24004 include <bp-checks.h>.
24005 (sigpending): Don't use CHECK_SIGSET.
24006 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24007 include <bp-checks.h>.
24008 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24009 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24011 (sigpending): Don't use CHECK_SIGSET.
24012 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24014 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24017 * sysdeps/generic/bp-semctl.h: Remove file.
24018 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24019 <bp-checks.h> and <bp-semctl.h>.
24020 (__old_semctl): Don't use CHECK_SEMCTL.
24021 (__new_semctl): Likewise.
24022 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24024 (__old_semctl): Don't use CHECK_SEMCTL.
24025 (__new_semctl): Likewise.
24026 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24027 <bp-checks.h> and <bp-semctl.h>.
24028 (__old_semctl): Don't use CHECK_SEMCTL.
24029 (__new_semctl): Likewise.
24030 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24031 <bp-checks.h> and <bp-semctl.h>.
24032 (semctl): Don't use CHECK_SEMCTL.
24035 * Makerules (elide-bp-thunks): Remove variable.
24036 (elide-routines.oS): Don't use $(elide-bp-thunks).
24037 (elide-routines.os): Likewise.
24038 (elide-routines.o): Likewise.
24039 (elide-routines.op): Likewise.
24040 (elide-routines.og): Likewise.
24041 (objects): Don't use $(bp-thunks).
24042 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24044 (common-generated): Do not add s-proto-bp.d.
24045 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24048 Do not generate makefile rules for bounded-pointer thunks.
24049 * sysdeps/generic/bp-thunks.h: Remove file.
24050 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24051 * sysdeps/unix/s-proto-bp.S: Likewise.
24054 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24055 parts of result separately when argument is not close to line from
24056 -i to i and one part of argument is small.
24057 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24058 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24059 * math/libm-test.inc (cacos_test): Add more tests.
24060 (casin_test): Likewise.
24061 (casinh_test): Likewise.
24062 * sysdeps/i386/fpu/libm-test-ulps: Update.
24063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24065 2013-01-31 David S. Miller <davem@davemloft.net>
24067 * po/de.po: Update from translation team.
24069 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24071 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24073 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24075 * configure.in (_AC_PROG_CC_C89): New definition.
24076 * configure: Regenerate.
24078 * configure.in (AC_PROG_CPP): New definition.
24079 * configure: Regenerate.
24081 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24083 * debug/tst-backtrace.h: New file.
24084 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24085 (ret): Remove variable.
24087 (FAIL): Remove macro.
24088 (NO_INLINE): Likewise.
24089 (fn1): Use match function instead of strstr.
24090 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24091 (ret): Remove variable.
24093 (FAIL): Remove macro.
24094 (NO_INLINE): Likewise.
24095 (fn): Use match function instead of strstr.
24096 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24097 (ret): Remove variable.
24099 (FAIL): Remove macro.
24100 (NO_INLINE): Likewise.
24101 (handle_signal): Use match function instead of strstr.
24102 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24103 (ret): Remove variable.
24105 (FAIL): Remove macro.
24106 (NO_INLINE): Likewise.
24107 (handle_signal): Use match function instead of strstr.
24109 2013-01-23 Roland McGrath <roland@hack.frob.com>
24111 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24113 2013-01-23 David S. Miller <davem@davemloft.net>
24115 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24116 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24117 argument of CAS if possible.
24118 * sysdeps/sparc/sparc64/bits/atomic.h
24119 (__arch_compare_and_exchange_val_32_acq): Likewise.
24120 (__arch_compare_and_exchange_val_64_acq): Likewise.
24122 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24124 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24125 * sysdeps/posix/ulimit.c: ... this.
24126 Include <limits.h>.
24127 * sysdeps/unix/bsd/ulimit.c: Remove file.
24129 2013-01-23 Adam Conrad <adconrad@0c3.net>
24131 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24132 (LDFLAGS-tst-array5): Likewise.
24134 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24137 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24138 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24139 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24140 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24142 2013-01-21 David S. Miller <davem@davemloft.net>
24144 * sysdeps/sparc/backtrace.c: New file.
24145 * sysdeps/sparc/sparc32/backtrace.h: New file.
24146 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24147 * sysdeps/sparc/sparc64/backtrace.h: New file.
24148 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24149 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24152 2013-01-21 Andreas Schwab <schwab@suse.de>
24155 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24158 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24162 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24164 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24165 Mark Mitchell <mark@codesourcery.com>
24166 Tom de Vries <tom@codesourcery.com>
24167 Paul Pluzhnikov <ppluzhnikov@google.com>
24169 * debug/tst-backtrace2.c: New file.
24170 * debug/tst-backtrace3.c: Likewise.
24171 * debug/tst-backtrace4.c: Likewise.
24172 * debug/tst-backtrace5.c: Likewise.
24173 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24174 (CFLAGS-tst-backtrace3.c): Likewise.
24175 (CFLAGS-tst-backtrace4.c): Likewise.
24176 (CFLAGS-tst-backtrace5.c): Likewise.
24177 (LDFLAGS-tst-backtrace2): Likewise.
24178 (LDFLAGS-tst-backtrace3): Likewise.
24179 (LDFLAGS-tst-backtrace4): Likewise.
24180 (LDFLAGS-tst-backtrace5): Likewise.
24181 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24182 tst-backtrace4 and tst-backtrace5.
24184 2013-01-18 Anton Blanchard <anton@samba.org>
24185 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24187 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24188 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24189 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24190 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24192 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24193 "+r" and remove output regs list as redundant. Add explicit inline
24194 asm to specify register of return val to work around compiler codegen
24195 bug. Remove (int) cast on return value. Add return type parameter to
24196 use in macro so that this macro does not truncate return value for
24198 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24199 pass to INTERNAL_VSYSCALL_NCS.
24200 (INLINE_VSYSCALL): Add 'long int' as return type to
24201 INTERNAL_VSYSCALL_NCS macro invocation.
24202 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24203 INTERNAL_VSYSCALL_NCS macro invocation.
24204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24206 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24209 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24210 Fix application of SIMD FP exception mask.
24212 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24213 mp_no from a power of two.
24214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24215 __mpexp_twomm1. Use __pow_mp.
24217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24220 2013-01-17 David S. Miller <davem@davemloft.net>
24222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24224 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24227 * include/complex.h: Condition contents on [!_COMPLEX_H].
24228 (__kernel_casinhf): New prototype.
24229 (__kernel_casinh): Likewise.
24230 (__kernel_casinhl): Likewise.
24231 * math/Makefile (libm_calls): Add k_casinh.
24232 * math/k_casinh.c: New file.
24233 * math/k_casinhf.c: Likewise.
24234 * math/k_casinhl.c: Likewise.
24235 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24236 finite nonzero arguments.
24237 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24238 finite nonzero arguments.
24239 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24240 finite nonzero arguments.
24241 * math/s_casinh.c: Do not include <float.h>.
24242 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24243 * math/s_casinhf.c: Do not include <float.h>.
24244 (__casinhf): Move code for finite nonzero arguments to
24246 * math/s_casinhl.c: Do not include <float.h>.
24247 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24249 (__casinhl): Move code for finite nonzero arguments to
24251 * math/libm-test.inc (cacos_test): Add more tests.
24252 * sysdeps/i386/fpu/libm-test-ulps: Update.
24253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24255 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24257 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24258 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24259 [!HAVE_MREMAP]: Remove [defined linux] case.
24260 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24262 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24264 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24266 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24268 * elf/elf.h (R_386_SIZE32): New relocation.
24269 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24271 (elf_machine_rela): Likewise.
24272 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24273 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24275 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24277 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24278 (FP_FAST_FMA): Do not define.
24279 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24280 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24281 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24282 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24283 !_SOFT_FLOAT]: Likewise.
24284 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24285 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24287 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24288 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24289 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24290 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24291 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24292 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24295 2013-01-16 Andreas Schwab <schwab@suse.de>
24298 * include/stdlib.h (__mktemp): Add declaration.
24299 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24300 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24302 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24304 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24306 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24307 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24308 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24310 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24311 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24313 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24315 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24316 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24317 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24319 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24320 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24322 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24324 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24326 2013-01-15 David S. Miller <davem@davemloft.net>
24328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24329 trunc{,f} to libm-sysdep_routes.
24330 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24340 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24341 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24342 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24343 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24344 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24345 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24348 nearbyint{,f} to libm-sysdep_routes.
24349 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24360 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24362 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24363 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24365 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24366 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24367 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24369 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24370 libc_feholdexcept and libc_fesetenv.
24372 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24374 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24376 2013-01-14 David S. Miller <davem@davemloft.net>
24378 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24379 (SPARC_ASM_VIS2_IFUNC): Likewise.
24380 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24382 use of 'siam' instruction.
24383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24403 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24404 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24416 routines to libm-sysdep_routines.
24417 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24420 fdim/fdimf to libm-sysdep_routines.
24421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24429 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24430 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24431 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24432 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24434 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24436 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24437 to optimize copies.
24439 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24444 local variable MPTWO.
24445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24448 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24450 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24453 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24455 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24457 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24459 * manual/pattern.texi (glob_t): Document gl_flags.
24460 (glob64_t): Likewise.
24462 2013-01-11 David S. Miller <davem@davemloft.net>
24464 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24465 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24466 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24467 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24468 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24469 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24470 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24471 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24472 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24473 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24474 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24475 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24476 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24478 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24479 sparc V9 rather than using V8 code.
24480 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24481 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24483 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24485 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24488 2013-01-11 Roland McGrath <roland@hack.frob.com>
24490 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24491 not in the main loop.
24492 * configure: Regenerated.
24494 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24496 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24497 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24499 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24500 [!__GLIBC_HAVE_LONG_LONG] case.
24501 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24502 condition to just #else.
24503 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24504 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24505 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24506 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24508 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24509 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24510 #elif condition to just #else.
24511 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24512 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24513 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24514 #elif condition to just #else.
24516 2013-01-11 Steve Ellcey <sellcey@mips.com>
24518 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24519 (EF_MIPS_ARCH_64): Fix value.
24520 (EF_MIPS_ARCH_32R2): New.
24521 (EF_MIPS_ARCH_64R2): New.
24523 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24525 * Makeconfig (+link-pie-before-libc): New.
24526 (+link-pie-after-libc): Likewise.
24527 (+link-pie-tests): Likewise.
24528 (+link-pie): Rewritten.
24529 (link-before-libc): Remove $(config-LDFLAGS).
24530 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24531 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24532 (config-LDFLAGS): Renamed to ...
24533 (rtld-LDFLAGS): This.
24534 (rtld-tests-LDFLAGS): New macro.
24535 (link-libc-rpath-link): Likewise.
24536 (link-libc-tests-rpath-link): Likewise.
24537 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24538 (link-libc): Prepand $(link-libc-rpath-link).
24539 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24540 (test-program-prefix): New macro.
24541 (test-via-rtld-prefix): Likewise.
24542 (test-program-cmd): Likewise.
24543 (host-test-program-cmd): Likewise.
24544 * Makefile ($(common-objpfx)testrun.sh): Replace
24545 $(run-program-prefix) with $(test-program-prefix).
24546 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24548 ($(common-objpfx)shlib.lds): Likewise.
24549 (build-module-helper): Likewise.
24550 ($(common-objpfx)format.lds): Likewise.
24551 * Rules (binaries-pie-tests): New.
24552 (binaries-pie-notests): Likewise.
24553 (binaries-pie): Rewritten.
24554 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24555 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24556 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24557 (make-test-out): Replace $(host-built-program-cmd) with
24558 $(host-test-program-cmd).
24559 * config.make.in (build-hardcoded-path-in-tests): New variable.
24560 * configure.in (--enable-hardcoded-path-in-tests): New configure
24562 (hardcoded_path_in_tests): New AC_SUBST.
24563 * configure: Regenerated.
24564 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24565 $(built-program-cmd) with $(test-program-cmd).
24566 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24567 (test_program_cmd): This.
24568 * elf/Makefile ($(objpfx)order.out): Run test with
24569 $(test-program-prefix).
24570 ($(objpfx)order2.out): Likewise.
24571 ($(objpfx)tst-initorder.out): Likewise.
24572 ($(objpfx)tst-initorder2.out): Likewise.
24573 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24574 $(test-program-cmd).
24575 ($(objpfx)tst-array1-static.out): Likewise.
24576 ($(objpfx)tst-array2.out): Likewise.
24577 ($(objpfx)tst-array3.out): Likewise.
24578 ($(objpfx)tst-array4.out): Likewise.
24579 ($(objpfx)tst-array5.out): Likewise.
24580 ($(objpfx)tst-array5-static.out): Likewise.
24581 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24582 $(test-program-cmd).
24583 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24584 $(run-program-prefix) with $(test-program-prefix).
24585 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24586 (test_program_prefix): This.
24587 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24588 $(run-program-prefix) with $(test-program-prefix).
24589 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24590 (test_program_prefix): This.
24591 * iconvdata/tst-tables.sh: Likewise.
24592 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24593 $(run-program-prefix) with $(test-program-prefix).
24594 ($(objpfx)tst-translit.out): Likewise.
24595 ($(objpfx)tst-gettext2.out): Likewise.
24596 ($(objpfx)tst-gettext4.out): Likewise.
24597 ($(objpfx)tst-gettext6.out): Likewise.
24598 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24599 (test_program_prefix): This.
24600 * intl/tst-gettext2.sh: Likewise.
24601 * intl/tst-gettext4.sh Likewise.
24602 * intl/tst-gettext6.sh: Likewise.
24603 * intl/tst-translit.sh: Likewise.
24604 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24605 with $(test-program-cmd).
24606 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24607 $(run-program-prefix) with $(test-program-prefix).
24608 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24609 (test_program_prefix): This.
24610 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24611 $(run-program-prefix) with $(test-program-prefix).
24612 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24613 (test_program_prefix): This.
24614 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24615 * posix/Makefile ($(objpfx)globtest.out): Replace
24616 $(run-via-rtld-prefix) and $(test-wrapper) with
24617 $(test-program-prefix) and $(test-via-rtld-prefix).
24618 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24619 $(test-program-prefix).
24620 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24621 $(host-test-program-cmd).
24622 (tst-spawn-ARGS): Likewise.
24623 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24624 $(test-program-prefix).
24625 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24626 (test_via_rtld_prefix): This.
24627 (test_wrapper): Renamed to ...
24628 (test_program_prefix): This.
24629 (run_program_prefix): Replaced by test_program_prefix.
24630 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24631 (test_program_prefix): This.
24632 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24633 with $(host-test-program-cmd).
24634 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24635 $(run-program-prefix) with $(test-program-prefix).
24636 ($(objpfx)tst-printf.out): Likewise.
24637 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24638 $(test-program-cmd).
24639 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24640 (test_program_prefix): This.
24641 * stdio-common/tst-unbputc.sh: Likewise.
24642 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24643 $(run-program-prefix) with $(test-program-prefix).
24644 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24645 (test_program_prefix): This.
24646 * string/Makefile ($(objpfx)tst-svc.out): Replace
24647 $(built-program-cmd) with $(test-program-cmd).
24649 2013-01-11 Andreas Jaeger <aj@suse.de>
24652 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24653 value. Sync with Linux 3.7.
24655 2013-01-10 David S. Miller <davem@davemloft.net>
24657 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24658 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24659 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24661 2013-01-10 Roland McGrath <roland@hack.frob.com>
24663 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24665 * configure: Regenerated.
24667 2013-01-10 David S. Miller <davem@davemloft.net>
24669 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24670 sparc V9 rather than using V8 code.
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 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24677 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24678 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24679 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24680 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24681 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24682 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24683 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24684 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24685 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24686 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24687 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24688 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24689 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24690 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24691 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24692 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24693 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24694 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24695 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24696 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24697 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24698 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24699 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24700 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24701 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24702 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24704 2013-01-10 David S. Miller <davem@davemloft.net>
24706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24708 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24710 * posix/Makefile (tests-static): New variable.
24711 (tests): Add $(tests-static).
24712 (tst-exec-static-ARGS): New variable.
24713 (tst-spawn-static-ARGS): Likewise.
24714 * posix/tst-exec-static.c: New file.
24715 * posix/tst-spawn-static.c: Likewise.
24716 * posix/tst-exec.c: Support run directly.
24717 * posix/tst-spawn.c: Likewise.
24719 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24721 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24723 * math/bits/mathcalls.h (llrint): Likewise.
24724 (llround): Likewise.
24725 * stdlib/stdlib.h (struct drand48_data): Likewise.
24726 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24727 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24728 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24730 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24732 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24733 (elf_greg_t): Likewise.
24734 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24735 (__jmp_buf): Likewise.
24736 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24738 (llrint): Likewise, for all definitions.
24739 (llrintl): Likewise.
24741 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24742 Remove [__GNUC__] condition.
24743 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24744 condition to just [__USE_ISOC99].
24745 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24747 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24750 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24751 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24753 (_POSIX_V6_ILP32_OFF32): Likewise.
24754 (_XBS5_ILP32_OFF32): Likewise.
24755 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24756 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24758 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24760 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24762 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24763 doubles __mpexp_twomm1. Adjust usage.
24764 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24767 2013-01-10 Andreas Schwab <schwab@suse.de>
24770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24771 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24773 2013-01-09 David S. Miller <davem@davemloft.net>
24776 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24777 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24778 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24779 (TCP_FASTOPEN): Define.
24780 (tcp_repair_opt): New structure.
24781 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24783 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24784 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24785 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24786 (tcp_cookie_transactions): New structure.
24788 2013-01-09 Anton Blanchard <anton@samba.org>
24790 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24791 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24792 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24793 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24795 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24797 * include/features.h (__USE_ANSI): Remove.
24799 2013-01-09 Roland McGrath <roland@hack.frob.com>
24801 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24803 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24805 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24807 * sysdeps/s390/fpu/libm-test-ulps: Update.
24809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24811 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24815 (denorm): Likewise.
24816 (__mp_dbl): Likewise.
24817 (__dbl_mp): Likewise.
24818 (add_magnitudes): Likewise.
24819 (sub_magnitudes): Likewise.
24825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24829 (denorm): Likewise.
24830 (__mp_dbl): Likewise.
24831 (__dbl_mp): Likewise.
24832 (add_magnitudes): Likewise.
24833 (sub_magnitudes): Likewise.
24839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24843 (denorm): Likewise.
24844 (__mp_dbl): Likewise.
24845 (__dbl_mp): Likewise.
24846 (add_magnitudes): Likewise.
24847 (sub_magnitudes): Likewise.
24854 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24856 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24857 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24858 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24859 2 && __USE_EXTERN_INLINES]: Likewise.
24861 2013-01-08 Andreas Jaeger <aj@suse.de>
24864 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24866 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24867 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24869 2013-01-07 Anton Blanchard <anton@samba.org>
24871 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24872 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24873 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24874 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24875 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24876 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24877 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24878 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24880 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24881 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24882 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24883 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24884 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24885 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24886 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24887 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24888 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24889 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24890 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24891 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24892 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24893 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24894 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24895 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24896 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24897 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24898 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24899 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24900 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24901 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24903 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24904 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24905 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24906 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24907 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24908 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24909 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24910 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24911 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24912 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24913 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24915 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24917 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24918 (__MALLOC_PMT): Likewise.
24919 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24920 [__GNUC__], only on [_LIBC].
24921 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24922 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24923 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24924 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24925 forward declaration.
24926 (realloc_hook_ini): Likewise.
24927 (memalign_hook_ini): Likewise.
24928 (__libc_memalign): Do not use __MALLOC_PMT in variable
24930 (__libc_valloc): Likewise.
24931 (__libc_pvalloc): Likewise.
24932 (__libc_calloc): Likewise.
24933 (__posix_memalign): Likewise.
24936 * math/s_casinh.c: Include <float.h>.
24937 (__casinh): Do not do computation with squaring and square root
24938 for large arguments.
24939 * math/s_casinhf.c: Include <float.h>.
24940 (__casinhf): Do not do computation with squaring and square root
24941 for large arguments.
24942 * math/s_casinhl.c: Include <float.h>.
24943 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24944 (__casinhl): Do not do computation with squaring and square root
24945 for large arguments.
24946 * math/libm-test.inc (casin_test): Add more tests.
24947 (casinh_test): Likewise.
24948 * sysdeps/i386/fpu/libm-test-ulps: Update.
24949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24951 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24953 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24954 (__x86_64_raw_data_cache_size): Likewise.
24955 (__x86_64_data_cache_size_half): Likewise.
24956 (__x86_64_raw_data_cache_size_half): Likewise.
24957 (__x86_64_shared_cache_size): Likewise.
24958 (__x86_64_raw_shared_cache_size): Likewise.
24959 (__x86_64_shared_cache_size_half): Likewise.
24960 (__x86_64_raw_shared_cache_size_half): Likewise.
24961 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24963 (__x86_data_cache_size): This.
24964 (__x86_64_raw_data_cache_size): Renamed to ...
24965 (__x86_raw_data_cache_size): This.
24966 (__x86_64_data_cache_size_half): Renamed to ...
24967 (__x86_data_cache_size_half): This.
24968 (__x86_64_raw_data_cache_size_half): Renamed to ...
24969 (__x86_raw_data_cache_size_half): This.
24970 (__x86_64_shared_cache_size): Renamed to ...
24971 (__x86_shared_cache_size): This.
24972 (__x86_64_raw_shared_cache_size): Renamed to ...
24973 (__x86_raw_shared_cache_size): This.
24974 (__x86_64_shared_cache_size_half): Renamed to ...
24975 (__x86_shared_cache_size_half): This.
24976 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24977 (__x86_raw_shared_cache_size_half): This.
24978 * sysdeps/x86_64/memcpy.S: Updated.
24979 * sysdeps/x86_64/memset.S: Likewise.
24980 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24981 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24982 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24984 2013-01-04 David S. Miller <davem@davemloft.net>
24986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24988 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24990 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24991 1 to avoid redefinition warning.
24992 (__USE_GNU): Don't define.
24993 (init_signaling_nan): Protoize.
24995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24997 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24999 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25001 (__cpymn): Likewise.
25002 (norm): Remove commented code.
25003 (denorm): Likewise.
25004 (__mp_dbl): Likewise.
25006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25007 (__cpymn): Likewise.
25008 (norm): Remove commented code.
25009 (denorm): Likewise.
25010 (__mp_dbl): Likewise.
25013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25014 mp_no value for 1.0 and 2.0.
25015 (norm): Use RADIXI instead of radixi.d.
25016 (denorm): Likewise.
25017 (__mul): Use 0.0 instead of zero.d.
25018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25019 mp_no value for 1.0 and 2.0.
25020 (norm): Use RADIXI instead of radixi.d.
25021 (denorm): Likewise.
25022 (__mul): Use 0.0 instead of zero.d.
25024 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25027 * math/s_casinh.c (__casinh): Reduce finite argument to first
25028 quadrant then set signs of results at the end.
25029 * math/s_casinhf.c (__casinhf): Likewise.
25030 * math/s_casinhl.c (__casinhl): Likewise.
25031 * math/libm-test.inc (casin_test): Add more tests.
25032 (casinh_test): Likewise.
25033 * sysdeps/i386/fpu/libm-test-ulps: Update.
25034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25036 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25038 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25040 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25042 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25044 (denorm): Likewise.
25045 (__mp_dbl): Likewise.
25048 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25049 and adjust the header comment.
25051 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25052 variable name from declaration.
25054 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25057 Initialize COMMON_CPUID_INDEX_7 element.
25058 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25059 (CPUID_RTM): Likewise.
25060 (HAS_RTM): Likewise.
25061 (COMMON_CPUID_INDEX_7): New enum.
25063 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25066 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25067 size is zero, record memory as freed.
25069 2013-01-03 Andreas Jaeger <aj@suse.de>
25071 * po/ia.po: Add new Interlingua translation.
25073 2012-01-03 Allan McRae <allan@archlinux.org>
25075 * locale/programs/localedef.c: Fix description of '--posix' flag.
25077 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25079 * NEWS: Update dates in second copyright notice.
25080 * README: Update copyright dates in example.
25081 * manual/libc.texinfo: Update copyright dates.
25082 * scripts/test-installation.pl: Update copyright date in --version
25085 * hurd/ctty-input.c: Fix copyright notice formatting.
25086 * hurd/ctty-output.c: Likewise.
25087 * hurd/dtable.c: Likewise.
25088 * hurd/hurd-raise.c: Likewise.
25089 * hurd/hurdprio.c: Likewise.
25090 * hurd/msgportdemux.c: Likewise.
25091 * misc/sys/file.h: Likewise.
25092 * misc/sys/ioctl.h: Likewise.
25093 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25094 * sysdeps/mach/hurd/chdir.c: Likewise.
25095 * sysdeps/mach/hurd/fchdir.c: Likewise.
25096 * sysdeps/mach/hurd/rename.c: Likewise.
25097 * sysdeps/mach/hurd/rmdir.c: Likewise.
25098 * sysdeps/mach/hurd/seekdir.c: Likewise.
25099 * sysdeps/mach/hurd/setsid.c: Likewise.
25100 * sysdeps/posix/wait3.c: Likewise.
25102 * All files with FSF copyright notices: Update copyright dates
25103 using scripts/update-copyrights.
25104 * intl/plural.c: Regenerated.
25105 * locale/programs/charmap-kw.h: Likewise.
25106 * locale/programs/locfile-kw.h: Likewise.
25108 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25110 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25113 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25114 calculation loop and add branch prediction.
25116 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25117 check access beyond bounds of m1np.
25119 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25121 (__inv): Remove local variable MPTWO to use the global
25123 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25124 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25126 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25127 MP3HALFS static const.
25129 2013-01-01 David S. Miller <davem@davemloft.net>
25131 * po/ca.po: Update from translation team.
25133 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25135 * scripts/update-copyrights: New file.
25136 * Makeconfig: Reformat copyright notice.
25137 * ctype/ctype.h: Likewise.
25138 * debug/swprintf_chk.c: Likewise.
25139 * elf/dl-cache.c: Likewise.
25140 * elf/dl-debug.c: Likewise.
25141 * elf/dl-object.c: Likewise.
25142 * grp/initgroups.c: Likewise.
25143 * hurd/Makefile: Likewise.
25144 * hurd/hurd/signal.h: Likewise.
25145 * hurd/hurdfault.c: Likewise.
25146 * hurd/hurdioctl.c: Likewise.
25147 * hurd/hurdlookup.c: Likewise.
25148 * hurd/intr-msg.c: Likewise.
25149 * iconv/gconv_open.c: Likewise.
25150 * libio/swprintf.c: Likewise.
25151 * locale/lc-ctype.c: Likewise.
25152 * locale/nl_langinfo.c: Likewise.
25153 * mach/Machrules: Likewise.
25154 * mach/Makefile: Likewise.
25155 * malloc/obstack.h: Likewise.
25156 * manual/Makefile: Likewise.
25157 * manual/tsort.awk: Likewise.
25158 * misc/bits/stab.def: Likewise.
25159 * nis/nis_print_group_entry.c: Likewise.
25160 * nis/nis_table.c: Likewise.
25161 * nis/nss_compat/compat-pwd.c: Likewise.
25162 * nis/nss_compat/compat-spwd.c: Likewise.
25163 * po/Makefile: Likewise.
25164 * posix/fnmatch.c: Likewise.
25165 * posix/regex.h: Likewise.
25166 * resolv/Makefile: Likewise.
25167 * resolv/nss_dns/dns-network.c: Likewise.
25168 * resolv/res_hconf.c: Likewise.
25169 * scripts/gen-sorted.awk: Likewise.
25170 * soft-fp/soft-fp.h: Likewise.
25171 * stdio-common/printf.h: Likewise.
25172 * stdlib/monetary.h: Likewise.
25173 * stdlib/random.c: Likewise.
25174 * stdlib/random_r.c: Likewise.
25175 * sysdeps/generic/Makefile: Likewise.
25176 * sysdeps/gnu/Makefile: Likewise.
25177 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25179 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25180 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25181 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25184 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25185 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25186 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25187 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25188 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25189 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25190 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25191 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25192 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25193 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25194 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25195 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25197 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25198 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25199 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25200 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25201 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25202 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25203 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25204 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25205 * sysdeps/mach/hurd/errnos.awk: Likewise.
25206 * sysdeps/mach/hurd/fork.c: Likewise.
25207 * sysdeps/mach/hurd/getcwd.c: Likewise.
25208 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25209 * sysdeps/mach/hurd/mmap.c: Likewise.
25210 * sysdeps/mach/hurd/utimes.c: Likewise.
25211 * sysdeps/mach/hurd/xmknod.c: Likewise.
25212 * sysdeps/posix/profil.c: Likewise.
25213 * sysdeps/posix/readdir_r.c: Likewise.
25214 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25215 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25216 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25217 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25219 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25220 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25221 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25223 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25224 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25225 * sysdeps/pthread/lio_listio.c: Likewise.
25226 * sysdeps/sparc/dl-procinfo.h: Likewise.
25227 * sysdeps/unix/i386/sysdep.S: Likewise.
25228 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25229 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25230 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25231 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25233 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25234 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25235 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25236 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25237 * sysdeps/wordsize-32/divdi3.c: Likewise.
25238 * time/sys/time.h: Likewise.
25239 * wcsmbs/Makefile: Likewise.
25241 2013-01-01 David S. Miller <davem@davemloft.net>
25243 * po/fr.po: Update from translation team.
25245 * catgets/gencat.c: Update copyright year.
25246 * csu/version.c: Likewise.
25247 * debug/catchsegv.sh: Likewise.
25248 * debug/pcprofiledump.c: Likewise.
25249 * debug/xtrace.sh: Likewise.
25250 * elf/ldconfig.c: Likewise.
25251 * elf/ldd.bash.in: Likewise.
25252 * elf/pldd.c: Likewise.
25253 * elf/sotruss.ksh: Likewise.
25254 * elf/sprof.c: Likewise.
25255 * iconv/iconv_prog.c: Likewise.
25256 * iconv/iconvconfig.c: Likewise.
25257 * locale/programs/locale.c: Likewise.
25258 * locale/programs/localedef.c: Likewise.
25259 * login/programs/pt_chown.c: Likewise.
25260 * malloc/memusage.sh: Likewise.
25261 * malloc/memusagestat.c: Likewise.
25262 * malloc/mtrace.pl: Likewise.
25263 * nscd/nscd.c: Likewise.
25264 * nss/getent.c: Likewise.
25265 * nss/makedb.c: Likewise.
25266 * posix/getconf.c: Likewise.
25268 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25270 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25273 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25275 * math/bits/mathcalls.h (modf): Use __nonnull.
25277 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25279 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25280 (split): Use macro CN instead of the bare value.
25281 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25284 instead of the bare value.
25285 (power1): Likewise.
25287 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25289 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25291 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25293 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25295 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25296 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25297 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25298 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25300 2012-12-28 Andreas Jaeger <aj@suse.de>
25302 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25303 values are from Linux 3.7.
25305 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25306 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25308 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25310 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25313 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25315 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25316 variables with preprocessor constants.
25317 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25318 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25319 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25321 2012-12-27 Bruno Haible <bruno@clisp.org>
25324 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25327 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25329 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25330 and use variable directly.
25331 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25333 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25335 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25336 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25338 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25339 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25340 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25341 include directive. Remove local variable MPONE.
25342 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25343 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25344 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25346 2012-12-25 David S. Miller <davem@davemloft.net>
25348 * version.h (RELEASE): Set to "development".
25349 (VERSION): Set to "2.17.90".
25350 * NEWS: Add 2.18 section.
25352 2012-12-21 David S. Miller <davem@davemloft.net>
25354 * po/hr.po: Update from translation team.
25356 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25358 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25360 2012-12-19 Steve Ellcey <sellcey@mips.com>
25362 * NEWS: Mention new memcpy for MIPS.
25364 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25366 * manual/contrib.texi (Contributors): Spelling correction.
25368 2012-12-15 David S. Miller <davem@davemloft.net>
25370 * po/ru.po: Update from translation team.
25372 2012-12-13 David S. Miller <davem@davemloft.net>
25374 * NEWS: Mention IFUNC testsuite enhancements.
25376 * po/pl.po: Update from translation team.
25377 * po/bg.po: Likewise.
25379 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25380 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25382 2012-12-11 David S. Miller <davem@davemloft.net>
25384 * po/sv.po: Update from translation team.
25386 * po/vi.po: Update from translation team.
25388 * po/cs.po: Update from translation team.
25390 * po/de.po: Update from translation team.
25391 * po/eo.po: Likewise.
25392 * po/nl.po: Likewise.
25394 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25397 * manual/argp.texi (Argp Helper Functions): Move node to follow
25398 Argp Parsing State.
25401 * manual/conf.texi (Limits on File System Capacity): Mention if
25402 terminating null is included in the max size.
25404 2012-12-10 Andreas Jaeger <aj@suse.de>
25406 * po/cs.po: Update from translation team.
25408 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25410 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25411 void pointer and cast to uintptr_t.
25412 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25414 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25415 * sysdeps/s390/s390-64/memset.S: Likewise.
25417 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25420 * menual/message.texi (Message Translation): Fix typos.
25421 (Helper programs for gettext): Likewise.
25423 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25426 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25429 2012-12-07 David S. Miller <davem@davemloft.net>
25431 * po/libc.pot: Update.
25433 2012-12-07 Richard Henderson <rth@redhat.com>
25436 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25437 normal/normal case to before the switch.
25438 (_FP_DIV): Likewise.
25440 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25441 Mike Frysinger <vapier@gentoo.org>
25443 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25444 check for __NR_fadvise64_64.
25446 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25448 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25449 0, not just to plain "0" as a statement.
25450 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25453 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25455 * NEWS: Use sourceware.org in Bugzilla URL.
25457 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25460 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25462 * stdio-common/tst-put-error.c (do_test): Add newline to the
25463 padded test to ensure flush.
25465 2012-12-05 Jeff Law <law@redhat.com>
25467 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25469 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25471 * README: Don't refer to ports add-on as distributed separately.
25472 Mention AArch64 in list of systems supported in the ports add-on.
25474 * LICENSES: Add more non-FSF copyright and license notices.
25476 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25479 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25481 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25482 10000 as width of padded output.
25484 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25486 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25488 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25489 variable LX with __attribute__ ((unused)).
25490 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25492 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25494 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25495 with __attribute__ ((unused)).
25497 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25499 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25501 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25503 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25504 (CFLAGS-nldbl-acos.c): New variable.
25505 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25506 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25507 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25508 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25509 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25510 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25511 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25512 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25513 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25514 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25515 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25516 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25517 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25518 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25519 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25520 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25521 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25522 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25523 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25524 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25525 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25526 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25527 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25528 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25529 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25530 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25531 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25532 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25533 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25534 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25535 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25536 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25537 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25538 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25539 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25540 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25541 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25542 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25543 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25544 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25545 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25546 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25547 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25548 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25549 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25550 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25551 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25552 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25553 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25554 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25555 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25556 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25557 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25558 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25559 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25560 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25561 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25562 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25563 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25564 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25565 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25566 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25567 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25568 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25569 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25570 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25571 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25572 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25573 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25574 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25575 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25576 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25577 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25578 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25579 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25580 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25581 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25582 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25583 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25584 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25585 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25586 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25587 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25588 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25589 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25590 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25591 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25592 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25593 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25594 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25595 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25596 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25597 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25598 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25599 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25600 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25601 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25604 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25607 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25608 whole low double instead of just low 47 bits when splitting values
25611 2012-12-03 Allan McRae <allan@archlinux.org>
25613 * manual/stdio.texi (Predefined Printf Handlers): Remove
25614 @hsep and @vsep usage.
25616 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25618 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25619 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25621 2012-12-03 Jeff Law <law@redhat.com>
25623 * time/sys/time.h (settimeofday): Do not mark TV argument
25626 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25628 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25629 when currently writing and seek to current position when not.
25630 * libio/Makefile (tests): Remove bug-fclose1.
25631 * libio/bug-fclose1.c: Delete.
25633 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25635 * manual/arith.texi (feenableexcept): Fix typo.
25636 (fedisableexcept): Likewise.
25638 2012-11-30 Roland McGrath <roland@hack.frob.com>
25640 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25641 second, differently-typed declaration, rather than a cast.
25643 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25645 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25646 * include/rpc/svc.h: ... here.
25648 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25651 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25652 depending n and resplen2 to catch cases where answer
25655 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25657 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25658 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25660 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25662 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25664 2012-11-29 Roland McGrath <roland@hack.frob.com>
25666 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25668 2012-11-28 Jeff Law <law@redhat.com>
25671 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25672 dataset_temporary. Track alloca usage into alloca_used.
25673 If dataset is large allocate and release it via malloc/free.
25675 2012-06-04 Florian Weimer <fweimer@redhat.com>
25678 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25680 2012-11-28 David S. Miller <davem@davemloft.net>
25682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25684 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25687 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25688 of pi/2 rounded to nearest to 64 bits.
25689 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25690 nearest to 64 bits.
25691 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25694 2012-11-28 Jeff Law <law@redhat.com>
25695 Martin Osvald <mosvald@redhat.com>
25698 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25699 * sunrpc/svc.c: Include time.h.
25700 (__svc_accept_failed): New function.
25701 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25702 any reason other than EINTR, call __svc_accept_failed.
25703 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25704 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25706 2012-11-28 Andreas Schwab <schwab@suse.de>
25708 * scripts/abilist.awk: Also handle indirect functions in .opd
25711 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25714 * sysdeps/x86/fpu/powl_helper.c: New file.
25715 * sysdeps/x86/fpu/Makefile: Likewise.
25716 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25718 (__ieee754_powl): Use __powl_helper for finite arguments except
25719 integer exponents below 8.
25720 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25722 (__ieee754_powl): Use __powl_helper for finite arguments except
25723 integer exponents below 8.
25724 * math/libm-test.inc (pow_test): Add more tests and enable some
25725 previously disabled tests.
25726 * sysdeps/i386/fpu/libm-test-ulps: Update.
25727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25729 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25730 Carlos O'Donell <carlos_odonell@mentor.com>
25732 * nss/makedb.c (is_prime): Assert that input is odd and greater
25733 than 4. Note that fact in a comment too.
25734 (next_prime): Add 4 to input.
25736 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25739 * libio/Makefile (tests): Add test case tst-fwrite-error.
25740 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25741 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25742 * libio/tst-fwrite-error.c: New test case.
25744 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25746 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25747 before casting to void *.
25748 * include/libc-internal.h (__pointer_type): New macro.
25749 (__integer_if_pointer_type_sub): Likewise.
25750 (__integer_if_pointer_type): Likewise.
25751 (cast_to_integer): Likewise.
25752 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25753 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25754 before casting to atomic64_t.
25755 (atomic_exchange_acq): Likewise.
25756 (__arch_exchange_and_add_body): Likewise.
25757 (__arch_add_body): Likewise.
25758 (atomic_add_negative): Likewise.
25759 (atomic_add_zero): Likewise.
25761 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25763 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25764 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25765 (add_fdes): Likewise.
25766 (linear_search_fdes): Likewise.
25767 (binary_search_unencoded_fdes): Likewise.
25769 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25771 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25773 2012-11-24 Adam Conrad <adconrad@0c3.net>
25775 * configure.in: Autodetect C++ header directories.
25776 * configure: Regenerated.
25778 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25780 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25782 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25786 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25788 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25789 LDBL_MANT_DIG == 106]: Disable some tests.
25790 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25792 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25797 input for small inputs. Return +/- pi/2 for large inputs.
25798 * math/libm-test.inc (atan_test): Add more tests.
25800 * sysdeps/generic/unwind-dw2-fde-glibc.c
25801 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25802 __attribute__ ((unused)).
25805 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25806 x * y if x and y are nonzero and z is zero.
25809 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25810 nonzero exponents with absolute value below 0x1p-117 to +/-
25814 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25815 up arguments below 2**-450, not just those below 2**-500.
25816 * math/libm-test.inc (hypot_test): Add another test.
25819 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25820 Return a+b for ratio over 2**120, not 2**60.
25821 * math/libm-test.inc (hypot_test): Add another test.
25823 * math/libm-test.inc (clog_test): Use
25824 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25825 (clog10_test): Likewise.
25828 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25830 2012-11-22 Andreas Schwab <schwab@suse.de>
25832 * sysdeps/i386/fpu/libm-test-ulps: Update.
25834 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25836 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25837 printf output with newline.
25839 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25842 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25843 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25844 -z nodlopen, -z initfirst and -z execstack support.
25845 * configure: Regenerated.
25847 * elf/elf.h (DF_1_NODIRECT): New macro.
25848 (DF_1_IGNMULDEF): Likewise.
25849 (DF_1_NOKSYMS): Likewise.
25850 (DF_1_NOHDR): Likewise.
25851 (DF_1_EDITED): Likewise.
25852 (DF_1_NORELOC): Likewise.
25853 (DF_1_SYMINTPOSE): Likewise.
25854 (DF_1_GLOBAUDIT): Likewise.
25855 (DF_1_SINGLETON): Likewise.
25856 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25857 DT_1_SUPPORTED_MASK bits.
25858 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25860 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25862 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25864 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25866 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25869 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25870 (sendmmsg): Move declarations...
25871 * socket/sys/socket.h: ... here.
25872 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25873 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25875 * socket/recvmmsg.c: ... this new file.
25876 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25877 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25878 definition of __sendmmsg hidden.
25879 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25880 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25881 Move ENOSYS stub into and include it from...
25882 * socket/sendmmsg.c: ... this new file.
25883 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25884 (sysdep_routines): Move recvmmsg and sendmmsg...
25885 * socket/Makefile (routines): ... here.
25886 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25887 (GLIBC_PRIVATE): Add __sendmmsg.
25888 * include/sys/socket.h (__sendmmsg): Add declarations.
25889 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25892 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25894 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25895 variable I1 with __attribute__ ((unused)).
25896 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25898 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25900 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25901 DUMMY variables with __attribute__ ((unused)).
25903 * bits/byteswap.h: Include <bits/types.h>.
25904 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25906 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25908 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25909 string_t. Do not manually set errno.
25910 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25911 length with __strnlen. Make sure to both set errno and return it on
25914 2012-11-19 David S. Miller <davem@davemloft.net>
25916 With help from Joseph Myers.
25917 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25918 very large arguments properly.
25919 * math/libm-test.inc (atan_test): New tests.
25920 (atan2_test): New tests.
25921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25924 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25927 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25930 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25931 [POSIX] (EADDRNOTAVAIL): Likewise.
25932 [POSIX] (EAFNOSUPPORT): Likewise.
25933 [POSIX] (EALREADY): Likewise.
25934 [POSIX] (ECONNABORTED): Likewise.
25935 [POSIX] (ECONNREFUSED): Likewise.
25936 [POSIX] (ECONNRESET): Likewise.
25937 [POSIX] (EDESTADDRREQ): Likewise.
25938 [POSIX] (EDQUOT): Likewise.
25939 [POSIX] (EHOSTUNREACH): Likewise.
25940 [POSIX] (EIDRM): Likewise.
25941 [POSIX] (EISCONN): Likewise.
25942 [POSIX] (ELOOP): Likewise.
25943 [POSIX] (EMULTIHOP): Likewise.
25944 [POSIX] (ENETDOWN): Likewise.
25945 [POSIX] (ENETUNREACH): Likewise.
25946 [POSIX] (ENOBUFS): Likewise.
25947 [POSIX] (ENODATA): Likewise.
25948 [POSIX] (ENOLINK): Likewise.
25949 [POSIX] (ENOMSG): Likewise.
25950 [POSIX] (ENOPROTOOPT): Likewise.
25951 [POSIX] (ENOSR): Likewise.
25952 [POSIX] (ENOSTR): Likewise.
25953 [POSIX] (ENOTCONN): Likewise.
25954 [POSIX] (ENOTSOCK): Likewise.
25955 [POSIX] (EOPNOTSUPP): Likewise.
25956 [POSIX] (EOVERFLOW): Likewise.
25957 [POSIX] (EPROTO): Likewise.
25958 [POSIX] (EPROTONOSUPPORT): Likewise.
25959 [POSIX] (EPROTOTYPE): Likewise.
25960 [POSIX] (ESTALE): Likewise.
25961 [POSIX] (ETIME): Likewise.
25962 [POSIX] (ETXTBSY): Likewise.
25963 [POSIX] (EWOULDBLOCK): Likewise.
25964 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25965 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25966 [POSIX] (SEEK_CUR): Likewise.
25967 [POSIX] (SEEK_END): Likewise.
25968 [POSIX || UNIX98] (mode_t): Do not require.
25969 [POSIX] (off_t): Likewise.
25970 [POSIX] (pid_t): Likewise.
25971 [POSIX] (sys/stat.h): Do not allow header.
25972 [POSIX] (unistd.h): Likewise.
25973 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25974 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25975 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25976 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25978 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25979 sigevent): Specify elements.
25980 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25982 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25983 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25985 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25986 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25987 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25988 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25989 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25990 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25991 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25992 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25993 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25994 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25995 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25996 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25997 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25998 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26000 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26002 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26004 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26006 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26007 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26008 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26009 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26010 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26011 Specify lower bound on value.
26012 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26013 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26014 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26015 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26016 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26017 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26018 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26019 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26021 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26023 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26024 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26025 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26026 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26027 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26028 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26029 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26030 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26031 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26032 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26033 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26034 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26035 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26036 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26037 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26038 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26040 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26042 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26043 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26044 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26045 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26046 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26047 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26049 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26050 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26051 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26052 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26053 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26054 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26055 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26057 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26058 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26059 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26060 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26061 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26062 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26063 specify as optional.
26064 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26065 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26066 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26067 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26068 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26069 [XPG3] (NL_LANGMAX): Likewise.
26070 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26071 [POSIX || XPG3] (NL_NMAX): Likewise.
26072 [POSIX || XPG3] (NL_SETMAX): Likewise.
26073 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26074 [XPG3] (NZERO): Likewise.
26075 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26076 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26077 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26078 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26079 (REG_ERANGE): Expect.
26080 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26082 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26083 Use (void) in prototype.
26084 [POSIX] (*_t): Allow.
26085 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26086 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26087 (WRDE_BADVAL): Expect.
26089 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26091 [XPG3 || XPG4] (O_RSYNC): Likewise.
26092 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26094 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26095 [XPG3 || XPG4] (sigqueue): Likewise.
26096 [XPG3 || XPG4] (sigtimedwait): Likewise.
26097 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26098 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26099 [XPG3 || XPG4] (vsnprintf): Likewise.
26100 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26102 [XPG3 || XPG4] (blksize_t): Likewise.
26103 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26105 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26106 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26107 [XPG3 || XPG4] (struct itimerspec): Likewise.
26108 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26109 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26110 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26111 [XPG3 || XPG4] (clockid_t): Likewise.
26112 [XPG3 || XPG4] (timer_t): Likewise.
26113 [XPG3 || XPG4] (clock_getres): Likewise.
26114 [XPG3 || XPG4] (clock_gettime): Likewise.
26115 [XPG3 || XPG4] (clock_settime): Likewise.
26116 [XPG3 || XPG4] (nanosleep): Likewise.
26117 [XPG3 || XPG4] (timer_create): Likewise.
26118 [XPG3 || XPG4] (timer_delete): Likewise.
26119 [XPG3 || XPG4] (timer_gettime): Likewise.
26120 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26121 [XPG3 || XPG4] (timer_settime): Likewise.
26122 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26123 [XPG3 || XPG4] (getlogin_r): Likewise.
26124 [XPG3 || XPG4] (pread): Likewise.
26125 [XPG3 || XPG4] (pthread_atfork): Likewise.
26126 [XPG3 || XPG4] (pwrite): Likewise.
26129 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26132 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26134 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26135 finalizing MALLSTREAM.
26137 * sysdeps/mach/hurd/syncfs.c: New file.
26139 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26142 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26143 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26144 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26145 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26146 (_nss_dns_gethostbyname4_r): Likewise.
26147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26148 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26150 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26153 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26155 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26157 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26158 * elf/cache.c (print_entry): Print ",AArch64" for
26161 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26162 * elf/cache.c (print_entry): Print ",hard-float" for
26165 2012-11-18 David S. Miller <davem@davemloft.net>
26167 With help from Joseph Myers.
26168 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26170 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26172 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26173 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26175 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26176 * math/libm-test.inc (y0_test): New tests.
26177 (y1_test): New tests.
26178 * sysdeps/i386/fpu/libm-test-ulps: Update.
26179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26182 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26184 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26186 * configure: Regenerated.
26188 2012-11-17 David S. Miller <davem@davemloft.net>
26191 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26192 nonzero exponents with absolute value below 0x1p-128 to +/-
26195 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26197 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26199 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26201 * posix/getconf-speclist.c: New file.
26202 * posix/posix-envs.def: Likewise.
26203 * posix/confstr.c (START_ENV_GROUP): New macro.
26204 (END_ENV_GROUP): Likewise.
26205 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26206 (KNOWN_PRESENT_ENV_STRING): Likewise.
26207 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26208 (UNKNOWN_ENVIRONMENT): Likewise.
26209 (confstr): Include posix-envs.def instead of handling
26210 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26211 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26212 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26213 (END_ENV_GROUP): Likewise.
26214 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26215 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26216 (UNKNOWN_ENVIRONMENT): Likewise.
26217 (__sysconf): Include posix-envs.def instead of handling associated
26218 cases directly here.
26219 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26220 preprocessing getconf-speclist.c rather than running getconf or
26221 generating empty file.
26223 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26225 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26227 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26230 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26232 2012-11-16 David S. Miller <davem@davemloft.net>
26234 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26235 smaller than LDBL_EPSILON/2.0L, just return xm1.
26237 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26239 * elf/tst-array1.c (init): Set constructor priority to 1000.
26240 (fini): Set destructor priority to 1000.
26241 * elf/tst-array2dep.c: Likewise.
26243 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26246 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26247 (_IO_new_file_xsputn): Also return EOF if none of the input
26248 data was written when overflow failed.
26249 * libio/iopadn.c (_IO_padn): Likewise.
26250 * libio/iowpadn.c (_IO_wpadn): Likewise.
26251 * stdio-common/tst-put-error.c: Add copyright notice.
26252 (do_test): Add case for printing padded string.
26253 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26254 _IO_padn returned error.
26255 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26256 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26259 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26261 * libio/libioP.h: Add comment note that the references to C++
26262 bits are now obsolete.
26264 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26266 * math/libm-test.inc (check_complex): Use asprintf.
26268 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26270 * debug/pcprofiledump.c (print_version): Update copyright year.
26271 * malloc/memusagestat.c (print_version): Likewise.
26273 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26276 * elf/Makefile (tests): Add tst-audit8.
26277 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26278 ($(objpfx)tst-audit8.out): New target.
26279 (tst-audit8-ENV): New variable.
26280 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26281 audit if l_reloc_result is NULL.
26282 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26283 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26284 * elf/tst-audit8.c: New file.
26286 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26288 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26289 * misc/Makefile (CFLAGS-select.c): Define.
26290 * posix/Makefile (CFLAGS-pause.c): Define.
26292 2012-11-13 David S. Miller <davem@davemloft.net>
26294 * crypt/Makefile: Move test targets after toplevel Rules
26295 inclusion. Grab any necessary sysdep routines when linking.
26296 * crypt/md5.c (md5_process_block): Remove define, we will always
26297 name it __md5_process_block.
26298 (md5_finish_ctx): Update md5_process_block call.
26299 (md5_stream): Likewise.
26300 (md5_process_bytes): Likewise.
26301 (md5_process_block): Rename to __md5_process_block and move to ...
26302 * crypt/md5-block.c: ... here.
26303 * crypt/sha256.c (sha256_process_block): Move to ...
26304 * crypt/sha256-block.c: ... here.
26305 * crypt/sha512.c (sha512_process_block): Move to ...
26306 * crypt/sha512-block.c: ... here.
26307 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26309 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26310 * sysdeps/sparc/sparc64/multiarch/Makefile
26311 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26313 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26314 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26316 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26317 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26318 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26319 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26320 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26321 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26322 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26323 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26324 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26326 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26327 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26329 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26331 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26333 * timezone/tzselect.ksh: Update from tzcode git revision
26334 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26335 * timezone/zdump.c: Likewise.
26336 * timezone/zic.c: Likewise.
26337 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26338 in TZVERSION setting, not $(PKGVERSION).
26339 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26340 REPORT_BUGS_TO settings.
26343 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26346 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26348 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26349 detection to immediately after _FP_ROUND().
26350 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26353 2012-11-11 David S. Miller <davem@davemloft.net>
26355 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26357 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26358 __close rather than their public counterparts.
26360 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26362 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26364 [UNIX98] (sem_timedwait): Do not expect.
26365 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26366 [XPG4 || UNIX98] (sockatmark): Do not expect.
26367 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26368 (clock_getcpuclockid): Do not expect.
26369 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26370 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26372 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26373 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26374 [UNIX98] (vwscanf): Likewise.
26375 [UNIX98] (vswscanf): Likewise.
26377 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26379 * timezone/version.h: Remove file.
26380 * timezone/README: Do not refer to version.h.
26381 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26382 $(objpfx)version.h.
26383 ($(objpfx)zdump.o): Likewise.
26384 ($(objpfx)version.h): New target.
26386 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26388 * timezone/README: Don't mention modification to tzselect.ksh.
26389 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26390 work on unmodified tzselect.ksh. Substitute version numbers in
26393 * Makefile (format-me): Remove.
26394 (INSTALL): Adjust indentation. Use commands directly instead of
26395 using $(format-me).
26397 * aclocal.m4 (ACX_PKGVERSION): New macro.
26398 (ACX_BUGURL): Likewise.
26399 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26400 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26401 (REPORT_BUGS_TO): Likewise.
26402 * configure: Regenerated.
26403 * config.h.in (PKGVERSION): New macro.
26404 (REPORT_BUGS_TO): Likewise.
26405 * config.make.in (PKGVERSION): New variable.
26406 (PKGVERSION_TEXI): Likewise.
26407 (REPORT_BUGS_TO): Likewise.
26408 (REPORT_BUGS_TEXI): Likewise.
26409 * Makefile (format-me): Use -I$(common-objpfx)manual.
26410 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26411 ($(common-objpfx)manual/%): New target.
26412 (manual/%): Remove target.
26413 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26414 (print_version): Use PKGVERSION.
26415 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26416 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26417 and REPORT_BUGS_TO.
26418 ($(objpfx)xtrace): Likewise.
26419 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26420 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26421 (print_version): Use PKGVERSION.
26422 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26423 (do_version): Use PKGVERSION.
26424 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26426 (common-ldd-rewrite): Likewise.
26427 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26428 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26429 (print_version): Use PKGVERSION.
26430 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26431 * elf/pldd.c (argp_program_bug_address): Remove variable.
26432 (more_help): New function.
26433 (argp): Use more_help.
26434 (print_version): Use PKGVERSION.
26435 * elf/sln.c (main): Use PKGVERSION.
26436 (usage): Use REPORT_BUGS_TO.
26437 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26438 (top level): Use PKGVERSION.
26439 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26440 (print_version): Use PKGVERSION.
26441 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26442 (print_version): Use PKGVERSION.
26443 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26444 (print_version): Use PKGVERSION.
26445 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26446 (print_version): Use PKGVERSION.
26447 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26448 (print_version): Use PKGVERSION.
26449 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26450 (print_version): Use PKGVERSION.
26451 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26453 ($(objpfx)memusage): Likewise.
26454 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26455 (do_version): Use PKGVERSION.
26456 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26457 (print_version): Use PKGVERSION.
26458 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26459 ($PKGVERSION): New variable.
26460 ($REPORT_BUGS_TO): Likewise.
26461 (usage): Use $REPORT_BUGS_TO.
26462 (top level): Use $PKGVERSION.
26463 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26464 ($(objpfx)pkgvers.texi): New rule.
26465 ($(objpfx)stamp-pkgvers): Likewise.
26466 * manual/install.texi: Include pkgvers.texi.
26467 (--with-pkgversion): Document new configure option.
26468 (--with-bugurl): Likewise.
26469 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26470 than necessarily for this particular distribution. Use
26471 REPORT_BUGS_TO for where to report bugs.
26472 * INSTALL: Regenerated.
26473 * manual/libc.texinfo: Include pkgvers.texi.
26474 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26475 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26476 (print_version): Use PKGVERSION.
26477 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26478 (print_version): Use PKGVERSION.
26479 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26480 (print_version): Use PKGVERSION.
26481 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26482 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26484 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26485 (print_version): Use PKGVERSION.
26486 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26487 (print_version): Use PKGVERSION.
26488 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26491 * timezone/checktab.awk: Update from tzcode 2012i.
26492 * timezone/ialloc.c: Likewise.
26493 * timezone/private.h: Likewise.
26494 * timezone/scheck.c: Likewise.
26495 * timezone/tzfile.h: Likewise.
26496 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26497 (TZVERSION): Hardcode tzcode version number.
26498 * timezone/zdump.c: Update from tzcode 2012i.
26499 * timezone/zic.c: Likewise.
26500 * timezone/version.h: New file.
26501 * timezone/README: Describe version.h. Update upstream location.
26504 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26505 (mktemp): Enable declaration.
26506 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26507 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26509 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26523 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26524 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26525 for copies of such integer values.
26526 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26527 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26529 2012-11-09 Andreas Jaeger <aj@suse.de>
26531 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26532 definitions and declarations that are provided by
26533 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26535 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26537 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26538 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26539 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26542 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26544 * elf/elf.h: Update comment before AArch64 relocations.
26546 2012-11-07 David S. Miller <davem@davemloft.net>
26548 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26549 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26550 (__start_context): Declare.
26551 (__makecontext_ret): Delete.
26552 (__makecontext): Hook up __start_context instead of
26554 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26555 (sysdep_routines): Add __start_context when in stdlib.
26557 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26559 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26560 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26561 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26563 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26564 (READELF): New variable. Use it instead of hardcoded "readelf".
26566 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26568 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26569 * sysdeps/x86/Makefile: Here.
26570 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26571 * sysdeps/x86/tst-xmmymm.sh: This.
26573 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26575 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26577 [UNIX98] (pthread_barrier_t): Do not expect.
26578 [UNIX98] (pthread_barrierattr_t): Likewise.
26579 [UNIX98] (pthread_spinlock_t): Likewise.
26580 [UNIX98] (pthread_barrier_destroy): Likewise.
26581 [UNIX98] (pthread_barrier_init): Likewise.
26582 [UNIX98] (pthread_barrier_wait): Likewise.
26583 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26584 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26585 [UNIX98] (pthread_barrierattr_init): Likewise.
26586 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26587 [UNIX98] (pthread_getcpuclockid): Likewise.
26588 [UNIX98] (pthread_mutex_timedlock): Likewise.
26589 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26590 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26591 [UNIX98] (pthread_sigmask): Likewise.
26592 [UNIX98] (pthread_spin_destroy): Likewise.
26593 [UNIX98] (pthread_spin_init): Likewise.
26594 [UNIX98] (pthread_spin_lock): Likewise.
26595 [UNIX98] (pthread_spin_trylock): Likewise.
26596 [UNIX98] (pthread_spin_unlock): Likewise.
26597 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26599 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26600 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26601 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26602 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26603 [XPG3 || XPG4] (pthread_key_t): Likewise.
26604 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26605 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26606 [XPG3 || XPG4] (pthread_once_t): Likewise.
26607 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26608 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26609 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26610 [XPG3 || XPG4] (pthread_t): Likewise.
26612 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26614 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26616 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26617 Change function return type to int.
26619 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26620 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26621 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26622 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26623 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26624 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26625 [!POSIX] (posix_madvise): Likewise.
26626 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26628 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26629 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26630 (mode_t): Likewise.
26631 (posix_mem_offset): Likewise.
26632 (posix_typed_mem_get_info): Likewise.
26633 (posix_typed_mem_open): Likewise.
26635 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26636 Change condition to [XOPEN2K8].
26638 * conform/conformtest.pl: Preprocess allow-header data with -x c
26639 instead of from stdin.
26640 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26641 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26642 [C99-based standards] (cerfc): Likewise.
26643 [C99-based standards] (cexp2): Likewise.
26644 [C99-based standards] (cexpm1): Likewise.
26645 [C99-based standards] (clog10): Likewise.
26646 [C99-based standards] (clog1p): Likewise.
26647 [C99-based standards] (clog2): Likewise.
26648 [C99-based standards] (clgamma): Likewise.
26649 [C99-based standards] (ctgamma): Likewise.
26650 [C99-based standards] (cerff): Likewise.
26651 [C99-based standards] (cerfcf): Likewise.
26652 [C99-based standards] (cexp2f): Likewise.
26653 [C99-based standards] (cexpm1f): Likewise.
26654 [C99-based standards] (clog10f): Likewise.
26655 [C99-based standards] (clog1pf): Likewise.
26656 [C99-based standards] (clog2f): Likewise.
26657 [C99-based standards] (clgammaf): Likewise.
26658 [C99-based standards] (ctgammaf): Likewise.
26659 [C99-based standards] (cerfl): Likewise.
26660 [C99-based standards] (cerfcl): Likewise.
26661 [C99-based standards] (cexp2l): Likewise.
26662 [C99-based standards] (cexpm1l): Likewise.
26663 [C99-based standards] (clog10l): Likewise.
26664 [C99-based standards] (clog1pl): Likewise.
26665 [C99-based standards] (clog2l): Likewise.
26666 [C99-based standards] (clgammal): Likewise.
26667 [C99-based standards] (ctgammal): Likewise.
26668 * conform/data/inttypes.h-data [C99-based standards]: Include
26669 stdint.h-data. Remove all expectations for stdint.h contents.
26670 [C99-based standards] (PRI*): Do not allow.
26671 [C99-based standards] (SCN*): Likewise.
26672 [C99-based standards] (*_t): Likewise.
26673 [C99-based-standards] (PRId8): Expect macro.
26674 [C99-based-standards] (PRIi8): Likewise.
26675 [C99-based-standards] (PRIo8): Likewise.
26676 [C99-based-standards] (PRIu8): Likewise.
26677 [C99-based-standards] (PRIx8): Likewise.
26678 [C99-based-standards] (PRIX8): Likewise.
26679 [C99-based-standards] (SCNd8): Likewise.
26680 [C99-based-standards] (SCNi8): Likewise.
26681 [C99-based-standards] (SCNo8): Likewise.
26682 [C99-based-standards] (SCNu8): Likewise.
26683 [C99-based-standards] (SCNx8): Likewise.
26684 [C99-based-standards] (PRIdLEAST8): Likewise.
26685 [C99-based-standards] (PRIiLEAST8): Likewise.
26686 [C99-based-standards] (PRIoLEAST8): Likewise.
26687 [C99-based-standards] (PRIuLEAST8): Likewise.
26688 [C99-based-standards] (PRIxLEAST8): Likewise.
26689 [C99-based-standards] (PRIXLEAST8): Likewise.
26690 [C99-based-standards] (SCNdLEAST8): Likewise.
26691 [C99-based-standards] (SCNiLEAST8): Likewise.
26692 [C99-based-standards] (SCNoLEAST8): Likewise.
26693 [C99-based-standards] (SCNuLEAST8): Likewise.
26694 [C99-based-standards] (SCNxLEAST8): Likewise.
26695 [C99-based-standards] (PRIdFAST8): Likewise.
26696 [C99-based-standards] (PRIiFAST8): Likewise.
26697 [C99-based-standards] (PRIoFAST8): Likewise.
26698 [C99-based-standards] (PRIuFAST8): Likewise.
26699 [C99-based-standards] (PRIxFAST8): Likewise.
26700 [C99-based-standards] (PRIXFAST8): Likewise.
26701 [C99-based-standards] (SCNdFAST8): Likewise.
26702 [C99-based-standards] (SCNiFAST8): Likewise.
26703 [C99-based-standards] (SCNoFAST8): Likewise.
26704 [C99-based-standards] (SCNuFAST8): Likewise.
26705 [C99-based-standards] (SCNxFAST8): Likewise.
26706 [C99-based-standards] (PRId16): Likewise.
26707 [C99-based-standards] (PRIi16): Likewise.
26708 [C99-based-standards] (PRIo16): Likewise.
26709 [C99-based-standards] (PRIu16): Likewise.
26710 [C99-based-standards] (PRIx16): Likewise.
26711 [C99-based-standards] (PRIX16): Likewise.
26712 [C99-based-standards] (SCNd16): Likewise.
26713 [C99-based-standards] (SCNi16): Likewise.
26714 [C99-based-standards] (SCNo16): Likewise.
26715 [C99-based-standards] (SCNu16): Likewise.
26716 [C99-based-standards] (SCNx16): Likewise.
26717 [C99-based-standards] (PRIdLEAST16): Likewise.
26718 [C99-based-standards] (PRIiLEAST16): Likewise.
26719 [C99-based-standards] (PRIoLEAST16): Likewise.
26720 [C99-based-standards] (PRIuLEAST16): Likewise.
26721 [C99-based-standards] (PRIxLEAST16): Likewise.
26722 [C99-based-standards] (PRIXLEAST16): Likewise.
26723 [C99-based-standards] (SCNdLEAST16): Likewise.
26724 [C99-based-standards] (SCNiLEAST16): Likewise.
26725 [C99-based-standards] (SCNoLEAST16): Likewise.
26726 [C99-based-standards] (SCNuLEAST16): Likewise.
26727 [C99-based-standards] (SCNxLEAST16): Likewise.
26728 [C99-based-standards] (PRIdFAST16): Likewise.
26729 [C99-based-standards] (PRIiFAST16): Likewise.
26730 [C99-based-standards] (PRIoFAST16): Likewise.
26731 [C99-based-standards] (PRIuFAST16): Likewise.
26732 [C99-based-standards] (PRIxFAST16): Likewise.
26733 [C99-based-standards] (PRIXFAST16): Likewise.
26734 [C99-based-standards] (SCNdFAST16): Likewise.
26735 [C99-based-standards] (SCNiFAST16): Likewise.
26736 [C99-based-standards] (SCNoFAST16): Likewise.
26737 [C99-based-standards] (SCNuFAST16): Likewise.
26738 [C99-based-standards] (SCNxFAST16): Likewise.
26739 [C99-based-standards] (PRId32): Likewise.
26740 [C99-based-standards] (PRIi32): Likewise.
26741 [C99-based-standards] (PRIo32): Likewise.
26742 [C99-based-standards] (PRIu32): Likewise.
26743 [C99-based-standards] (PRIx32): Likewise.
26744 [C99-based-standards] (PRIX32): Likewise.
26745 [C99-based-standards] (SCNd32): Likewise.
26746 [C99-based-standards] (SCNi32): Likewise.
26747 [C99-based-standards] (SCNo32): Likewise.
26748 [C99-based-standards] (SCNu32): Likewise.
26749 [C99-based-standards] (SCNx32): Likewise.
26750 [C99-based-standards] (PRIdLEAST32): Likewise.
26751 [C99-based-standards] (PRIiLEAST32): Likewise.
26752 [C99-based-standards] (PRIoLEAST32): Likewise.
26753 [C99-based-standards] (PRIuLEAST32): Likewise.
26754 [C99-based-standards] (PRIxLEAST32): Likewise.
26755 [C99-based-standards] (PRIXLEAST32): Likewise.
26756 [C99-based-standards] (SCNdLEAST32): Likewise.
26757 [C99-based-standards] (SCNiLEAST32): Likewise.
26758 [C99-based-standards] (SCNoLEAST32): Likewise.
26759 [C99-based-standards] (SCNuLEAST32): Likewise.
26760 [C99-based-standards] (SCNxLEAST32): Likewise.
26761 [C99-based-standards] (PRIdFAST32): Likewise.
26762 [C99-based-standards] (PRIiFAST32): Likewise.
26763 [C99-based-standards] (PRIoFAST32): Likewise.
26764 [C99-based-standards] (PRIuFAST32): Likewise.
26765 [C99-based-standards] (PRIxFAST32): Likewise.
26766 [C99-based-standards] (PRIXFAST32): Likewise.
26767 [C99-based-standards] (SCNdFAST32): Likewise.
26768 [C99-based-standards] (SCNiFAST32): Likewise.
26769 [C99-based-standards] (SCNoFAST32): Likewise.
26770 [C99-based-standards] (SCNuFAST32): Likewise.
26771 [C99-based-standards] (SCNxFAST32): Likewise.
26772 [C99-based-standards] (PRId64): Likewise.
26773 [C99-based-standards] (PRIi64): Likewise.
26774 [C99-based-standards] (PRIo64): Likewise.
26775 [C99-based-standards] (PRIu64): Likewise.
26776 [C99-based-standards] (PRIx64): Likewise.
26777 [C99-based-standards] (PRIX64): Likewise.
26778 [C99-based-standards] (SCNd64): Likewise.
26779 [C99-based-standards] (SCNi64): Likewise.
26780 [C99-based-standards] (SCNo64): Likewise.
26781 [C99-based-standards] (SCNu64): Likewise.
26782 [C99-based-standards] (SCNx64): Likewise.
26783 [C99-based-standards] (PRIdLEAST64): Likewise.
26784 [C99-based-standards] (PRIiLEAST64): Likewise.
26785 [C99-based-standards] (PRIoLEAST64): Likewise.
26786 [C99-based-standards] (PRIuLEAST64): Likewise.
26787 [C99-based-standards] (PRIxLEAST64): Likewise.
26788 [C99-based-standards] (PRIXLEAST64): Likewise.
26789 [C99-based-standards] (SCNdLEAST64): Likewise.
26790 [C99-based-standards] (SCNiLEAST64): Likewise.
26791 [C99-based-standards] (SCNoLEAST64): Likewise.
26792 [C99-based-standards] (SCNuLEAST64): Likewise.
26793 [C99-based-standards] (SCNxLEAST64): Likewise.
26794 [C99-based-standards] (PRIdFAST64): Likewise.
26795 [C99-based-standards] (PRIiFAST64): Likewise.
26796 [C99-based-standards] (PRIoFAST64): Likewise.
26797 [C99-based-standards] (PRIuFAST64): Likewise.
26798 [C99-based-standards] (PRIxFAST64): Likewise.
26799 [C99-based-standards] (PRIXFAST64): Likewise.
26800 [C99-based-standards] (SCNdFAST64): Likewise.
26801 [C99-based-standards] (SCNiFAST64): Likewise.
26802 [C99-based-standards] (SCNoFAST64): Likewise.
26803 [C99-based-standards] (SCNuFAST64): Likewise.
26804 [C99-based-standards] (SCNxFAST64): Likewise.
26805 [C99-based-standards] (PRIdMAX): Likewise.
26806 [C99-based-standards] (PRIiMAX): Likewise.
26807 [C99-based-standards] (PRIoMAX): Likewise.
26808 [C99-based-standards] (PRIuMAX): Likewise.
26809 [C99-based-standards] (PRIxMAX): Likewise.
26810 [C99-based-standards] (PRIXMAX): Likewise.
26811 [C99-based-standards] (SCNdMAX): Likewise.
26812 [C99-based-standards] (SCNiMAX): Likewise.
26813 [C99-based-standards] (SCNoMAX): Likewise.
26814 [C99-based-standards] (SCNuMAX): Likewise.
26815 [C99-based-standards] (SCNxMAX): Likewise.
26816 [C99-based-standards] (PRIdPTR): Likewise.
26817 [C99-based-standards] (PRIiPTR): Likewise.
26818 [C99-based-standards] (PRIoPTR): Likewise.
26819 [C99-based-standards] (PRIuPTR): Likewise.
26820 [C99-based-standards] (PRIxPTR): Likewise.
26821 [C99-based-standards] (PRIXPTR): Likewise.
26822 [C99-based-standards] (SCNdPTR): Likewise.
26823 [C99-based-standards] (SCNiPTR): Likewise.
26824 [C99-based-standards] (SCNoPTR): Likewise.
26825 [C99-based-standards] (SCNuPTR): Likewise.
26826 [C99-based-standards] (SCNxPTR): Likewise.
26827 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26829 * conform/data/stdint.h-data: Update comments to clarify
26831 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26833 [C99-based standards] (INT8_MAX): Likewise.
26834 [C99-based standards] (INT16_MIN): Likewise.
26835 [C99-based standards] (INT16_MAX): Likewise.
26836 [C99-based standards] (INT32_MIN): Likewise.
26837 [C99-based standards] (INT32_MAX): Likewise.
26838 [C99-based standards] (INT64_MIN): Likewise.
26839 [C99-based standards] (INT64_MAX): Likewise.
26840 [C99-based standards] (UINT8_MAX): Likewise.
26841 [C99-based standards] (UINT16_MAX): Likewise.
26842 [C99-based standards] (UINT32_MAX): Likewise.
26843 [C99-based standards] (UINT64_MAX): Likewise.
26844 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26845 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26846 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26847 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26848 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26849 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26850 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26851 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26852 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26853 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26854 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26855 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26856 [C99-based standards] (INT_FAST8_MIN): Likewise.
26857 [C99-based standards] (INT_FAST8_MAX): Likewise.
26858 [C99-based standards] (INT_FAST16_MIN): Likewise.
26859 [C99-based standards] (INT_FAST16_MAX): Likewise.
26860 [C99-based standards] (INT_FAST32_MIN): Likewise.
26861 [C99-based standards] (INT_FAST32_MAX): Likewise.
26862 [C99-based standards] (INT_FAST64_MIN): Likewise.
26863 [C99-based standards] (INT_FAST64_MAX): Likewise.
26864 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26865 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26866 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26867 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26868 [C99-based standards] (INTPTR_MIN): Likewise.
26869 [C99-based standards] (INTPTR_MAX): Likewise.
26870 [C99-based standards] (UINTPTR_MAX): Likewise.
26871 [C99-based standards] (INTMAX_MIN): Likewise.
26872 [C99-based standards] (INTMAX_MAX): Likewise.
26873 [C99-based standards] (UINTMAX_MAX): Likewise.
26874 [C99-based standards] (PTRDIFF_MIN): Likewise.
26875 [C99-based standards] (PTRDIFF_MAX): Likewise.
26876 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26877 [C99-based standards] (SIZE_MAX): Likewise.
26878 [C99-based standards] (WCHAR_MAX): Likewise.
26879 [C99-based standards] (WINT_MAX): Likewise.
26880 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26881 constraint on value.
26882 [C99-based standards] (WCHAR_MIN): Likewise.
26883 [C99-based standards] (WINT_MIN): Likewise.
26884 [C99-based standards] (*_t): Allow.
26885 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26886 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26887 Include math.h-data and complex.h-data. Remove all expectations
26888 of math.h and complex.h contents.
26889 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26891 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26892 (struct tm): Expect tag.
26893 [C99-based-standards] (wcstof): Expect function.
26894 [C99-based-standards] (wcstold): Likewise.
26895 [C99-based-standards] (wcstoll): Likewise.
26896 [C99-based-standards] (wcstoull): Likewise.
26897 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26898 macro-int-constant. Specify type.
26899 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26900 constraint on value.
26901 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26903 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26905 [ISO C standards]: Do not allow headers.
26906 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26907 wcs[abcdefghijklmnopqrstuvwxyz]*.
26908 [ISO C standards] (*_t): Do not allow.
26909 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26911 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26912 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26914 [ISO C standards]: Do not allow headers.
26915 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26916 is[abcdefghijklmnopqrstuvwxyz]*.
26917 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26918 to[abcdefghijklmnopqrstuvwxyz]*.
26919 [ISO C standards] (*_t): Do not allow.
26920 * conform/data/stdalign.h-data: New file.
26921 * conform/data/stdbool.h-data: Likewise.
26922 * conform/data/stdnoreturn.h-data: Likewise.
26924 2012-11-07 Roland McGrath <roland@hack.frob.com>
26927 * manual/filesys.texi (Directory Entries): Typo fix.
26928 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26930 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26932 * elf/elf.h (EM_AARCH64): New macro.
26933 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26934 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26935 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26936 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26937 (R_AARCH64_TLSDESC): Likewise.
26938 (NT_ARM_TLS): Likewise.
26939 (NT_ARM_HW_BREAK): Likewise.
26940 (NT_ARM_HW_WATCH): Likewise.
26942 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26945 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26946 (__ieee754_powl): Saturate nonzero exponents with absolute value
26947 below 0x1p-79 to +/- 0x1p-79.
26948 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26949 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26950 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26951 nonzero exponents with absolute value below 0x1p-32 to +/-
26953 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26954 (__ieee754_powl): Saturate nonzero exponents with absolute value
26955 below 0x1p-79 to +/- 0x1p-79.
26956 * math/libm-test.inc (pow_test): Add more tests.
26958 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26960 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26961 _dl_s390_cap_flags with kernel. Increase string length.
26962 (_dl_s390_platforms): Add z196 and zEC12.
26964 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26966 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26967 Change XOPEN21K to XOPEN2K.
26969 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26971 * string/memmove.c: Use memcpy when possible.
26973 2012-11-06 Andreas Jaeger <aj@suse.de>
26975 * po/eo.po: Update from translation team.
26977 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26981 exponent and small x and y exponents, scale x or y up. Increase
26982 by 2 the exponent used in scaling up.
26983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26984 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26985 * math/libm-test.inc (fma_test): Add more tests.
26986 (fma_test_towardzero): Likewise.
26987 (fma_test_downward): Likewise.
26988 (fma_test_upward): Likewise.
26990 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26993 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26997 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26998 namespace for names of struct fields.
26999 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27001 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27002 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27004 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27007 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27009 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27011 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27015 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27018 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27022 definitely overflow as x * y not x * y + z.
27023 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27024 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27025 * math/libm-test.inc (fma_test): Add more tests.
27026 (fma_test_towardzero): Likewise.
27027 (fma_test_downward): Likewise.
27028 (fma_test_upward): Likewise.
27030 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27034 * include/stub-tag.h: Remove file.
27035 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27037 * manual/maint.texi (Porting): Don't reference it.
27038 * Makerules ($(objpfx)stubs): Likewise.
27039 * dirent/closedir.c: Don't include <stub-tag.h>.
27040 * dirent/dirfd.c: Likewise.
27041 * dirent/fdopendir.c: Likewise.
27042 * dirent/getdents.c: Likewise.
27043 * dirent/getdents64.c: Likewise.
27044 * dirent/opendir.c: Likewise.
27045 * dirent/readdir.c: Likewise.
27046 * dirent/readdir64.c: Likewise.
27047 * dirent/readdir64_r.c: Likewise.
27048 * dirent/readdir_r.c: Likewise.
27049 * dirent/rewinddir.c: Likewise.
27050 * dirent/seekdir.c: Likewise.
27051 * dirent/telldir.c: Likewise.
27052 * gmon/profil.c: Likewise.
27053 * grp/setgroups.c: Likewise.
27054 * inet/if_index.c: Likewise.
27055 * io/access.c: Likewise.
27056 * io/chdir.c: Likewise.
27057 * io/chmod.c: Likewise.
27058 * io/chown.c: Likewise.
27059 * io/close.c: Likewise.
27060 * io/dup.c: Likewise.
27061 * io/dup2.c: Likewise.
27062 * io/dup3.c: Likewise.
27063 * io/euidaccess.c: Likewise.
27064 * io/faccessat.c: Likewise.
27065 * io/fchdir.c: Likewise.
27066 * io/fchmod.c: Likewise.
27067 * io/fchmodat.c: Likewise.
27068 * io/fchown.c: Likewise.
27069 * io/fchownat.c: Likewise.
27070 * io/fcntl.c: Likewise.
27071 * io/flock.c: Likewise.
27072 * io/fstatfs.c: Likewise.
27073 * io/fstatfs64.c: Likewise.
27074 * io/fstatvfs.c: Likewise.
27075 * io/fstatvfs64.c: Likewise.
27076 * io/futimens.c: Likewise.
27077 * io/fxstat.c: Likewise.
27078 * io/fxstat64.c: Likewise.
27079 * io/fxstatat.c: Likewise.
27080 * io/fxstatat64.c: Likewise.
27081 * io/getcwd.c: Likewise.
27082 * io/isatty.c: Likewise.
27083 * io/lchmod.c: Likewise.
27084 * io/lchown.c: Likewise.
27085 * io/link.c: Likewise.
27086 * io/linkat.c: Likewise.
27087 * io/lseek.c: Likewise.
27088 * io/lseek64.c: Likewise.
27089 * io/lxstat64.c: Likewise.
27090 * io/mkdir.c: Likewise.
27091 * io/mkdirat.c: Likewise.
27092 * io/mkfifo.c: Likewise.
27093 * io/mkfifoat.c: Likewise.
27094 * io/open.c: Likewise.
27095 * io/open64.c: Likewise.
27096 * io/openat.c: Likewise.
27097 * io/openat64.c: Likewise.
27098 * io/pipe.c: Likewise.
27099 * io/pipe2.c: Likewise.
27100 * io/poll.c: Likewise.
27101 * io/posix_fadvise.c: Likewise.
27102 * io/posix_fadvise64.c: Likewise.
27103 * io/posix_fallocate.c: Likewise.
27104 * io/posix_fallocate64.c: Likewise.
27105 * io/read.c: Likewise.
27106 * io/readlink.c: Likewise.
27107 * io/readlinkat.c: Likewise.
27108 * io/rmdir.c: Likewise.
27109 * io/sendfile.c: Likewise.
27110 * io/sendfile64.c: Likewise.
27111 * io/statfs.c: Likewise.
27112 * io/statfs64.c: Likewise.
27113 * io/statvfs.c: Likewise.
27114 * io/statvfs64.c: Likewise.
27115 * io/symlink.c: Likewise.
27116 * io/symlinkat.c: Likewise.
27117 * io/ttyname.c: Likewise.
27118 * io/ttyname_r.c: Likewise.
27119 * io/umask.c: Likewise.
27120 * io/unlink.c: Likewise.
27121 * io/unlinkat.c: Likewise.
27122 * io/utime.c: Likewise.
27123 * io/utimensat.c: Likewise.
27124 * io/write.c: Likewise.
27125 * io/xmknod.c: Likewise.
27126 * io/xmknodat.c: Likewise.
27127 * io/xstat.c: Likewise.
27128 * io/xstat64.c: Likewise.
27129 * login/getpt.c: Likewise.
27130 * login/grantpt.c: Likewise.
27131 * login/unlockpt.c: Likewise.
27132 * math/e_acoshl.c: Likewise.
27133 * math/e_acosl.c: Likewise.
27134 * math/e_asinl.c: Likewise.
27135 * math/e_atan2l.c: Likewise.
27136 * math/e_atanhl.c: Likewise.
27137 * math/e_coshl.c: Likewise.
27138 * math/e_expl.c: Likewise.
27139 * math/e_fmodl.c: Likewise.
27140 * math/e_gammal_r.c: Likewise.
27141 * math/e_hypotl.c: Likewise.
27142 * math/e_j0l.c: Likewise.
27143 * math/e_j1l.c: Likewise.
27144 * math/e_jnl.c: Likewise.
27145 * math/e_lgammal_r.c: Likewise.
27146 * math/e_log10l.c: Likewise.
27147 * math/e_log2l.c: Likewise.
27148 * math/e_logl.c: Likewise.
27149 * math/e_powl.c: Likewise.
27150 * math/e_rem_pio2l.c: Likewise.
27151 * math/e_sinhl.c: Likewise.
27152 * math/e_sqrtl.c: Likewise.
27153 * math/fclrexcpt.c: Likewise.
27154 * math/fedisblxcpt.c: Likewise.
27155 * math/feenablxcpt.c: Likewise.
27156 * math/fegetenv.c: Likewise.
27157 * math/fegetexcept.c: Likewise.
27158 * math/fegetround.c: Likewise.
27159 * math/feholdexcpt.c: Likewise.
27160 * math/fesetenv.c: Likewise.
27161 * math/fesetround.c: Likewise.
27162 * math/feupdateenv.c: Likewise.
27163 * math/fgetexcptflg.c: Likewise.
27164 * math/fraiseexcpt.c: Likewise.
27165 * math/fsetexcptflg.c: Likewise.
27166 * math/ftestexcept.c: Likewise.
27167 * math/k_cosl.c: Likewise.
27168 * math/k_rem_pio2l.c: Likewise.
27169 * math/k_sinl.c: Likewise.
27170 * math/k_tanl.c: Likewise.
27171 * math/s_asinhl.c: Likewise.
27172 * math/s_atanl.c: Likewise.
27173 * math/s_cbrtl.c: Likewise.
27174 * math/s_erfl.c: Likewise.
27175 * math/s_expm1l.c: Likewise.
27176 * math/s_log1pl.c: Likewise.
27177 * math/s_tanhl.c: Likewise.
27178 * misc/acct.c: Likewise.
27179 * misc/brk.c: Likewise.
27180 * misc/chflags.c: Likewise.
27181 * misc/chroot.c: Likewise.
27182 * misc/fchflags.c: Likewise.
27183 * misc/fgetxattr.c: Likewise.
27184 * misc/flistxattr.c: Likewise.
27185 * misc/fremovexattr.c: Likewise.
27186 * misc/fsetxattr.c: Likewise.
27187 * misc/fsync.c: Likewise.
27188 * misc/ftruncate.c: Likewise.
27189 * misc/futimes.c: Likewise.
27190 * misc/futimesat.c: Likewise.
27191 * misc/getdomain.c: Likewise.
27192 * misc/getdtsz.c: Likewise.
27193 * misc/gethostid.c: Likewise.
27194 * misc/gethostname.c: Likewise.
27195 * misc/getloadavg.c: Likewise.
27196 * misc/getpagesize.c: Likewise.
27197 * misc/getsysstats.c: Likewise.
27198 * misc/getxattr.c: Likewise.
27199 * misc/gtty.c: Likewise.
27200 * misc/ioctl.c: Likewise.
27201 * misc/lgetxattr.c: Likewise.
27202 * misc/listxattr.c: Likewise.
27203 * misc/llistxattr.c: Likewise.
27204 * misc/lremovexattr.c: Likewise.
27205 * misc/lsetxattr.c: Likewise.
27206 * misc/lutimes.c: Likewise.
27207 * misc/madvise.c: Likewise.
27208 * misc/mincore.c: Likewise.
27209 * misc/mlock.c: Likewise.
27210 * misc/mlockall.c: Likewise.
27211 * misc/mmap.c: Likewise.
27212 * misc/mprotect.c: Likewise.
27213 * misc/msync.c: Likewise.
27214 * misc/munlock.c: Likewise.
27215 * misc/munlockall.c: Likewise.
27216 * misc/munmap.c: Likewise.
27217 * misc/preadv.c: Likewise.
27218 * misc/preadv64.c: Likewise.
27219 * misc/ptrace.c: Likewise.
27220 * misc/pwritev.c: Likewise.
27221 * misc/pwritev64.c: Likewise.
27222 * misc/readv.c: Likewise.
27223 * misc/reboot.c: Likewise.
27224 * misc/remap_file_pages.c: Likewise.
27225 * misc/removexattr.c: Likewise.
27226 * misc/revoke.c: Likewise.
27227 * misc/select.c: Likewise.
27228 * misc/setdomain.c: Likewise.
27229 * misc/setegid.c: Likewise.
27230 * misc/seteuid.c: Likewise.
27231 * misc/sethostid.c: Likewise.
27232 * misc/sethostname.c: Likewise.
27233 * misc/setregid.c: Likewise.
27234 * misc/setreuid.c: Likewise.
27235 * misc/setxattr.c: Likewise.
27236 * misc/sstk.c: Likewise.
27237 * misc/stty.c: Likewise.
27238 * misc/swapoff.c: Likewise.
27239 * misc/swapon.c: Likewise.
27240 * misc/sync.c: Likewise.
27241 * misc/syncfs.c: Likewise.
27242 * misc/syscall.c: Likewise.
27243 * misc/truncate.c: Likewise.
27244 * misc/ualarm.c: Likewise.
27245 * misc/usleep.c: Likewise.
27246 * misc/ustat.c: Likewise.
27247 * misc/utimes.c: Likewise.
27248 * misc/vhangup.c: Likewise.
27249 * misc/writev.c: Likewise.
27250 * posix/_exit.c: Likewise.
27251 * posix/alarm.c: Likewise.
27252 * posix/execve.c: Likewise.
27253 * posix/fexecve.c: Likewise.
27254 * posix/fork.c: Likewise.
27255 * posix/fpathconf.c: Likewise.
27256 * posix/getaddrinfo.c: Likewise.
27257 * posix/getegid.c: Likewise.
27258 * posix/geteuid.c: Likewise.
27259 * posix/getgid.c: Likewise.
27260 * posix/getgroups.c: Likewise.
27261 * posix/getlogin.c: Likewise.
27262 * posix/getlogin_r.c: Likewise.
27263 * posix/getpgid.c: Likewise.
27264 * posix/getpid.c: Likewise.
27265 * posix/getppid.c: Likewise.
27266 * posix/getresgid.c: Likewise.
27267 * posix/getresuid.c: Likewise.
27268 * posix/getsid.c: Likewise.
27269 * posix/getuid.c: Likewise.
27270 * posix/glob64.c: Likewise.
27271 * posix/nanosleep.c: Likewise.
27272 * posix/pathconf.c: Likewise.
27273 * posix/pause.c: Likewise.
27274 * posix/posix_madvise.c: Likewise.
27275 * posix/pread.c: Likewise.
27276 * posix/pread64.c: Likewise.
27277 * posix/pwrite.c: Likewise.
27278 * posix/pwrite64.c: Likewise.
27279 * posix/sched_getaffinity.c: Likewise.
27280 * posix/sched_getp.c: Likewise.
27281 * posix/sched_gets.c: Likewise.
27282 * posix/sched_primax.c: Likewise.
27283 * posix/sched_primin.c: Likewise.
27284 * posix/sched_rr_gi.c: Likewise.
27285 * posix/sched_setaffinity.c: Likewise.
27286 * posix/sched_setp.c: Likewise.
27287 * posix/sched_sets.c: Likewise.
27288 * posix/sched_yield.c: Likewise.
27289 * posix/setgid.c: Likewise.
27290 * posix/setlogin.c: Likewise.
27291 * posix/setpgid.c: Likewise.
27292 * posix/setresgid.c: Likewise.
27293 * posix/setresuid.c: Likewise.
27294 * posix/setsid.c: Likewise.
27295 * posix/setuid.c: Likewise.
27296 * posix/sleep.c: Likewise.
27297 * posix/spawni.c: Likewise.
27298 * posix/sysconf.c: Likewise.
27299 * posix/times.c: Likewise.
27300 * posix/wait.c: Likewise.
27301 * posix/wait3.c: Likewise.
27302 * posix/wait4.c: Likewise.
27303 * posix/waitpid.c: Likewise.
27304 * resolv/gai_sigqueue.c: Likewise.
27305 * resource/getpriority.c: Likewise.
27306 * resource/getrlimit.c: Likewise.
27307 * resource/getrusage.c: Likewise.
27308 * resource/nice.c: Likewise.
27309 * resource/setpriority.c: Likewise.
27310 * resource/setrlimit.c: Likewise.
27311 * resource/ulimit.c: Likewise.
27312 * rt/aio_cancel.c: Likewise.
27313 * rt/aio_fsync.c: Likewise.
27314 * rt/aio_read.c: Likewise.
27315 * rt/aio_sigqueue.c: Likewise.
27316 * rt/aio_suspend.c: Likewise.
27317 * rt/aio_write.c: Likewise.
27318 * rt/clock_getres.c: Likewise.
27319 * rt/clock_gettime.c: Likewise.
27320 * rt/clock_nanosleep.c: Likewise.
27321 * rt/clock_settime.c: Likewise.
27322 * rt/lio_listio.c: Likewise.
27323 * rt/mq_close.c: Likewise.
27324 * rt/mq_getattr.c: Likewise.
27325 * rt/mq_notify.c: Likewise.
27326 * rt/mq_open.c: Likewise.
27327 * rt/mq_receive.c: Likewise.
27328 * rt/mq_send.c: Likewise.
27329 * rt/mq_setattr.c: Likewise.
27330 * rt/mq_timedreceive.c: Likewise.
27331 * rt/mq_timedsend.c: Likewise.
27332 * rt/mq_unlink.c: Likewise.
27333 * rt/shm_open.c: Likewise.
27334 * rt/shm_unlink.c: Likewise.
27335 * rt/timer_create.c: Likewise.
27336 * rt/timer_delete.c: Likewise.
27337 * rt/timer_getoverr.c: Likewise.
27338 * rt/timer_gettime.c: Likewise.
27339 * rt/timer_settime.c: Likewise.
27340 * setjmp/__longjmp.c: Likewise.
27341 * setjmp/setjmp.c: Likewise.
27342 * signal/kill.c: Likewise.
27343 * signal/killpg.c: Likewise.
27344 * signal/raise.c: Likewise.
27345 * signal/sigaction.c: Likewise.
27346 * signal/sigaltstack.c: Likewise.
27347 * signal/sigblock.c: Likewise.
27348 * signal/sigignore.c: Likewise.
27349 * signal/sigintr.c: Likewise.
27350 * signal/signal.c: Likewise.
27351 * signal/sigpause.c: Likewise.
27352 * signal/sigpending.c: Likewise.
27353 * signal/sigqueue.c: Likewise.
27354 * signal/sigreturn.c: Likewise.
27355 * signal/sigset.c: Likewise.
27356 * signal/sigsetmask.c: Likewise.
27357 * signal/sigstack.c: Likewise.
27358 * signal/sigsuspend.c: Likewise.
27359 * signal/sigtimedwait.c: Likewise.
27360 * signal/sigvec.c: Likewise.
27361 * signal/sigwait.c: Likewise.
27362 * signal/sigwaitinfo.c: Likewise.
27363 * signal/sysv_signal.c: Likewise.
27364 * socket/accept.c: Likewise.
27365 * socket/accept4.c: Likewise.
27366 * socket/bind.c: Likewise.
27367 * socket/connect.c: Likewise.
27368 * socket/getpeername.c: Likewise.
27369 * socket/getsockname.c: Likewise.
27370 * socket/getsockopt.c: Likewise.
27371 * socket/isfdtype.c: Likewise.
27372 * socket/listen.c: Likewise.
27373 * socket/recv.c: Likewise.
27374 * socket/recvfrom.c: Likewise.
27375 * socket/recvmsg.c: Likewise.
27376 * socket/send.c: Likewise.
27377 * socket/sendmsg.c: Likewise.
27378 * socket/sendto.c: Likewise.
27379 * socket/setsockopt.c: Likewise.
27380 * socket/shutdown.c: Likewise.
27381 * socket/sockatmark.c: Likewise.
27382 * socket/socket.c: Likewise.
27383 * socket/socketpair.c: Likewise.
27384 * stdio-common/ctermid.c: Likewise.
27385 * stdio-common/cuserid.c: Likewise.
27386 * stdio-common/remove.c: Likewise.
27387 * stdio-common/rename.c: Likewise.
27388 * stdio-common/renameat.c: Likewise.
27389 * stdio-common/tempname.c: Likewise.
27390 * stdlib/getcontext.c: Likewise.
27391 * stdlib/makecontext.c: Likewise.
27392 * stdlib/setcontext.c: Likewise.
27393 * stdlib/swapcontext.c: Likewise.
27394 * stdlib/system.c: Likewise.
27395 * streams/fattach.c: Likewise.
27396 * streams/fdetach.c: Likewise.
27397 * streams/getmsg.c: Likewise.
27398 * streams/getpmsg.c: Likewise.
27399 * streams/putmsg.c: Likewise.
27400 * streams/putpmsg.c: Likewise.
27401 * sysdeps/unix/bsd/getpt.c: Likewise.
27402 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27403 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27404 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27407 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27408 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27409 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27410 * sysvipc/msgctl.c: Likewise.
27411 * sysvipc/msgget.c: Likewise.
27412 * sysvipc/msgrcv.c: Likewise.
27413 * sysvipc/msgsnd.c: Likewise.
27414 * sysvipc/semctl.c: Likewise.
27415 * sysvipc/semget.c: Likewise.
27416 * sysvipc/semop.c: Likewise.
27417 * sysvipc/semtimedop.c: Likewise.
27418 * sysvipc/shmat.c: Likewise.
27419 * sysvipc/shmctl.c: Likewise.
27420 * sysvipc/shmdt.c: Likewise.
27421 * sysvipc/shmget.c: Likewise.
27422 * termios/tcdrain.c: Likewise.
27423 * termios/tcflow.c: Likewise.
27424 * termios/tcflush.c: Likewise.
27425 * termios/tcgetattr.c: Likewise.
27426 * termios/tcgetpgrp.c: Likewise.
27427 * termios/tcsendbrk.c: Likewise.
27428 * termios/tcsetattr.c: Likewise.
27429 * termios/tcsetpgrp.c: Likewise.
27430 * time/adjtime.c: Likewise.
27431 * time/clock.c: Likewise.
27432 * time/getitimer.c: Likewise.
27433 * time/gettimeofday.c: Likewise.
27434 * time/setitimer.c: Likewise.
27435 * time/settimeofday.c: Likewise.
27436 * time/stime.c: Likewise.
27437 * time/time.c: Likewise.
27439 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27441 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27444 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27446 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27448 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27452 FE_TONEAREST before applying Dekker multiplication and Knuth
27453 addition. Clear inexact exceptions and check for exact zero
27454 results afterwards.
27455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27456 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27457 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27458 * math/libm-test.inc (fma_test): Add more tests.
27459 (fma_test_towardzero): Likewise.
27460 (fma_test_downward): Likewise.
27461 (fma_test_upward): Likewise.
27462 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27464 (libc_fesetround): New macro.
27465 (libc_fesetroundf): Likewise.
27466 (libc_fesetroundl): Likewise.
27467 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27469 (libc_fesetround_387): Likewise.
27470 (libc_fesetroundf): New macro.
27471 (libc_fesetround): Likewise.
27472 (libc_fesetroundl): Likewise.
27473 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27475 (libc_fesetroundf): New macro.
27476 (libc_fesetround): Likewise.
27477 (libc_fesetroundl): Likewise.
27478 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27479 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27480 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27482 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27483 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27485 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27486 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27488 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27492 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27493 integer constant usable in #if and use that to give value to enum
27495 (FE_DIVBYZERO): Likewise.
27496 (FE_UNDERFLOW): Likewise.
27497 (FE_OVERFLOW): Likewise.
27498 (FE_INVALID): Likewise.
27499 (FE_INVALID_SNAN): Likewise.
27500 (FE_INVALID_ISI): Likewise.
27501 (FE_INVALID_IDI): Likewise.
27502 (FE_INVALID_ZDZ): Likewise.
27503 (FE_INVALID_IMZ): Likewise.
27504 (FE_INVALID_COMPARE): Likewise.
27505 (FE_INVALID_SOFTWARE): Likewise.
27506 (FE_INVALID_SQRT): Likewise.
27507 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27508 (FE_TONEAREST): Likewise.
27509 (FE_TOWARDZERO): Likewise.
27510 (FE_UPWARD): Likewise.
27511 (FE_DOWNWARD): Likewise.
27512 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27513 (FE_DIVBYZERO): Likewise.
27514 (FE_OVERFLOW): Likewise.
27515 (FE_UNDERFLOW): Likewise.
27516 (FE_INEXACT): Likewise.
27517 (FE_TONEAREST): Likewise.
27518 (FE_DOWNWARD): Likewise.
27519 (FE_UPWARD): Likewise.
27520 (FE_TOWARDZERO): Likewise.
27521 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27522 (FE_UNDERFLOW): Likewise.
27523 (FE_OVERFLOW): Likewise.
27524 (FE_DIVBYZERO): Likewise.
27525 (FE_INVALID): Likewise.
27526 (FE_TONEAREST): Likewise.
27527 (FE_TOWARDZERO): Likewise.
27528 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27529 (FE_OVERFLOW): Likewise.
27530 (FE_UNDERFLOW): Likewise.
27531 (FE_DIVBYZERO): Likewise.
27532 (FE_INEXACT): Likewise.
27533 (FE_TONEAREST): Likewise.
27534 (FE_TOWARDZERO): Likewise.
27535 (FE_UPWARD): Likewise.
27536 (FE_DOWNWARD): Likewise.
27537 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27538 (FE_DIVBYZERO): Likewise.
27539 (FE_OVERFLOW): Likewise.
27540 (FE_UNDERFLOW): Likewise.
27541 (FE_INEXACT): Likewise.
27542 (FE_TONEAREST): Likewise.
27543 (FE_DOWNWARD): Likewise.
27544 (FE_UPWARD): Likewise.
27545 (FE_TOWARDZERO): Likewise.
27547 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27549 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27551 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27553 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27554 commands. Quote $PWD.
27555 (blacklist_exports): Don't use remove_newlines. Replace "declare
27557 (remove_newlines): Remove.
27559 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27561 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27562 * stdlib/stdlib.h (atof): Moved to ...
27563 * include/bits/stdlib-float.h: Here. New file.
27564 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27565 * stdlib/bits/stdlib-float.h: New file.
27566 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27568 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27571 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27573 * conform/conformtest.pl (@headers): Add fenv.h.
27574 * conform/data/fenv.h-data: New file.
27575 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27576 include of <math/fenv.h>.
27578 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27579 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27580 && !UNIX98]. Enables tests for XOPEN2K8.
27581 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27582 POSIX2008]: Likewise.
27584 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27585 (struct rusage): Do not expect type or its members.
27588 * math/math.h (FP_NAN): Define macro to integer constant usable in
27589 #if and use that to give value to enum constant.
27590 (FP_INFINITE): Likewise.
27591 (FP_ZERO): Likewise.
27592 (FP_SUBNORMAL): Likewise.
27593 (FP_NORMAL): Likewise.
27595 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27597 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27598 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27601 2012-11-02 Roland McGrath <roland@hack.frob.com>
27603 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27604 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27605 autoconf-time if not.
27606 * configure.in: Remove AC_PREREQ.
27608 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27610 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27611 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27612 of the internal implementation.
27614 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27616 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27617 except include of <misc/sys/syslog.h>.
27619 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27622 function returns with a NULL context exit with zero.
27624 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27626 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27628 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27630 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27631 (run_program_cmd): This.
27632 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27633 (tst_langinfo): New variable. Use it.
27635 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27637 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27638 floating point opcodes.
27640 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27642 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27645 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27647 * sysdeps/mach/hurd/powerpc: Remove directory.
27648 * sysdeps/mach/powerpc: Likewise.
27650 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27652 * scripts/check-local-headers.sh: Ignore c++ headers.
27654 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27656 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27657 __libc_cleanup_region_start argument.
27659 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27664 x * y using scaling, not as x * y + z.
27665 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27667 * math/libm-test.inc (fma_test): Add more tests.
27668 (fma_test_towardzero): Likewise.
27669 (fma_test_downward): Likewise.
27670 (fma_test_upward): Likewise.
27672 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27674 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27676 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27678 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27681 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27683 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27685 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27692 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27695 Fix the order of the list for glibc 2.17.
27696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27699 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27703 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27706 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27707 for low part of x being zero before using __atanl (y).
27708 * math/libm-test.inc (atan2_test): Add another test.
27710 * manual/install.texi (Configuring and compiling): Document
27711 general use of test-wrapper and test-wrapper-env.
27712 * INSTALL: Regenerated.
27714 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27715 (__fma): Do not extract and scale down low bits on after-rounding
27716 systems when result rounded to normal precision would have normal
27718 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27719 (__fmal): Do not extract and scale down low bits on after-rounding
27720 systems when result rounded to normal precision would have normal
27722 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27723 (__fmal): Do not extract and scale down low bits on after-rounding
27724 systems when result rounded to normal precision would have normal
27726 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27728 (fma_test): Add more tests.
27729 (fma_test_towardzero): Likewise.
27730 (fma_test_downward): Likewise.
27731 (fma_test_upward): Likewise.
27733 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27735 * sysdeps/i386/tininess.h: Renamed to ...
27736 * sysdeps/x86/tininess.h: This.
27737 * sysdeps/x86_64/tininess.h: Removed.
27739 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27741 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27742 input. Use $(build-program-cmd).
27743 ($(objpfx)tst-array1-static.out): Likewise.
27744 ($(objpfx)tst-array2.out): Likewise.
27745 ($(objpfx)tst-array3.out): Likewise.
27746 ($(objpfx)tst-array4.out): Likewise.
27747 ($(objpfx)tst-array5.out): Likewise.
27748 ($(objpfx)tst-array5-static.out): Likewise.
27750 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27752 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27755 * nss/nsswitch.h (nss_interface_function): Provide new
27756 macro for use with NSS functions.
27757 * grp/initgroups.c: Use new macro.
27758 * nss/getXXbyYY.c: Likewise.
27759 * nss/getXXbyYY_r.c: Likewise.
27760 * nss/getXXent.c: Likewise.
27761 * nss/getXXent_r.c: Likewise.
27762 * sysdeps/posix/getaddrinfo.c: Likewise.
27764 2012-10-30 Andreas Jaeger <aj@suse.de>
27766 * po/ru.po: Update Russion translation from translation project.
27768 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27773 result and shift together with sticky bit instead of replicating
27774 round-to-nearest rounding.
27775 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27777 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27778 missing underflow exceptions.
27779 (fma_test_towardzero): Add more tests.
27780 (fma_test_downward): Likewise.
27781 (fma_test_upward): Likewise.
27784 * sysdeps/generic/tininess.h: New file.
27785 * sysdeps/i386/tininess.h: Likewise.
27786 * sysdeps/sh/tininess.h: Likewise.
27787 * sysdeps/x86_64/tininess.h: Likewise.
27788 * stdlib/tst-strtod-underflow.c: Likewise.
27789 * stdlib/tst-tininess.c: Likewise.
27790 * stdlib/strtod_l.c: Include <tininess.h>.
27791 (round_and_return): Do not set errno for exact underflow cases.
27792 Force an underflow exception when setting errno for underflow.
27793 Determine underflow based on rounding to normal precision if
27794 TININESS_AFTER_ROUNDING.
27795 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27796 ERANGE for exact underflow cases.
27797 * stdlib/Makefile (tests): Add tst-tininess and
27798 tst-strtod-underflow.
27799 ($(objpfx)tst-tininess): Use $(link-libm).
27800 ($(objpfx)tst-strtod-underflow): Likewise.
27802 2012-10-30 Andreas Jaeger <aj@suse.de>
27805 * elf/Makefile (tests): Remove conditional for have-initfini-array
27806 since this is now always required and the variable does not exist
27808 (tests-static): Likewise.
27809 (modules-names): Likewise.
27811 * po/eo.po: Add Esperanto translation from translation project.
27813 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27814 merged with constructor/destructor.
27815 (init_array): Likewise.
27816 * elf/tst-array2dep.c (fini_array): Likewise.
27817 (init_array): Likewise.
27819 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27821 * manual/message.texi: Delete @cartouche tags.
27823 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27825 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27827 * sysdeps/mach/hurd/fsync.c: Likewise.
27829 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27830 [_POSIX_REALTIME_SIGNALS]: Change condition to
27831 [_POSIX_REALTIME_SIGNALS > 0].
27833 2012-10-27 Andreas Jaeger <aj@suse.de>
27835 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27836 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27838 [__WORDSIZE != 64]: Likewise.
27840 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27842 * iconvdata/tst-table.sh: Remove ${SHELL}.
27843 * iconvdata/tst-tables.sh: Likewise.
27845 2012-10-25 David S. Miller <davem@davemloft.net>
27847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27848 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27851 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27853 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27854 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27855 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27858 2012-10-25 Roland McGrath <roland@hack.frob.com>
27860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27861 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27864 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27865 Jim Blandy <jimb@codesourcery.com>
27867 * scripts/cross-test-ssh.sh: New file.
27868 * manual/install.texi (Configuring and compiling): Document use of
27870 * INSTALL: Regenerated.
27872 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27874 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27877 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27879 * Makeconfig (run-program-prefix): Fix comment.
27881 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27882 Jim Blandy <jimb@codesourcery.com>
27884 * Makeconfig (test-wrapper): New variable,
27885 (test-wrapper-env): Likewise.
27886 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27887 (run-built-tests): Define to yes.
27888 (run-program-prefix): Use $(test-wrapper).
27889 (built-program-cmd): Likewise.
27890 * Rules (make-test-out): Use $(test-wrapper-env) and
27891 $(host-built-program-cmd).
27892 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27893 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27895 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27896 $(test-wrapper-env) to tst-rtld-load-self.sh.
27897 ($(objpfx)order2.out): Use $(test-wrapper).
27898 ($(objpfx)tst-initorder.out): Likewise.
27899 ($(objpfx)tst-initorder2.out): Likewise.
27900 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27901 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27902 (test_wrapper_env): New variable. Use it to run ld.so.
27903 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27904 Use it to run ld.so.
27905 (test_wrapper_env): Likewise.
27906 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27907 $(test-wrapper) to run-iconv-test.sh.
27908 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27909 (ICONV): Use $test_wrapper.
27910 * posix/Makefile ($(objpfx)globtest.out): Pass
27911 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27912 globtest.sh, not $(run-program-prefix).
27913 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27914 (test_wrapper): Likewise.
27915 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27916 set together with run_via_rtld_prefix.
27917 (run_program_prefix): Define in terms of test_wrapper and
27918 run_via_rtld_prefix.
27920 2012-10-24 Roland McGrath <roland@hack.frob.com>
27922 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27923 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27927 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27928 Declare __clock_getres, __clock_gettime, __clock_settime,
27929 __clock_nanosleep, and __clock_getcpuclockid.
27930 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27931 Remove librt_hidden_def (clock_gettime).
27932 * sysdeps/unix/clock_gettime.c: Likewise.
27933 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27934 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27935 * rt/clock_getres.c: Define __clock_getres as an alias.
27936 * sysdeps/posix/clock_getres.c: Likewise.
27937 * rt/clock_settime.c: Define __clock_settime as an alias.
27938 * sysdeps/unix/clock_settime.c: Likewise.
27939 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27940 * sysdeps/unix/clock_nanosleep.c: Likewise.
27941 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27942 * rt/clock-compat.c: New file.
27943 * rt/Makefile (librt-routines): Add clock-compat and move
27944 $(clock-routines) to ...
27945 (routines): ... here, new variable.
27946 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27947 Don't add get_clockfreq here.
27948 * rt/Versions (libc: GLIBC_2.17): New version set.
27949 Add clock_* symbols here.
27950 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27952 (GLIBC_2.17): Add clock_* symbols.
27953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27955 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27964 * NEWS: Mention the move.
27966 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27967 Use __open, __read, __close rather than their public counterparts.
27968 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27969 (__get_clockfreq_via_cpuinfo): Likewise.
27970 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27971 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27973 * config.h.in (HAVE_IFUNC): New #undef.
27974 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27976 * configure: Regenerated.
27978 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27980 * configure.in: Move READELF check to start of file.
27981 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27982 libc_cv_asm_gnu_indirect_function in the process.
27983 * configure: Regenerated.
27985 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27987 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27988 send the output to /dev/null.
27989 (libc_cv_cc_with_libunwind): Likewise.
27990 (libc_cv_as_noexecstack): Likewise.
27991 * configure: Regenerate.
27993 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27995 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27997 * posix/globtest.sh (TMPDIR): Do not set.
27998 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27999 (testout): Likewise.
28001 2012-10-24 Andreas Jaeger <aj@suse.de>
28003 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28004 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28005 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28006 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28007 posix_fadvise64, posix_fallocate64.
28009 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28010 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28011 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28013 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28015 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28018 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28019 <bits/fcntl-linux.h>.
28020 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28023 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28024 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28025 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28026 [__WORDSIZE != 64]: Likewise.
28028 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28030 * Makeconfig (run-built-tests): New variable.
28031 * Rules [$(cross-compiling) = yes]: Change condition to
28032 [$(run-built-tests) = no].
28033 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28034 to [$(run-built-tests) = yes].
28035 * elf/Makefile [$(cross-compiling) = no]: Likewise
28036 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28037 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28038 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28039 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28040 * io/Makefile [$(cross-compiling) = no]: Likewise.
28041 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28042 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28043 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28044 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28045 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28046 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28047 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28048 * string/Makefile [$(cross-compiling) = no]: Likewise.
28050 * posix/Makefile ($(objpfx)globtest.out): Pass
28051 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28052 $(rtld-installed-name).
28053 * posix/globtest.sh (elf_objpfx): Remove variable.
28054 (rtld_installed_name): Likewise.
28055 (library_path): Likewise.
28056 (run_program_prefix): New variable. Use for running globtest
28059 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28060 Joseph Myers <joseph@codesourcery.com>
28062 * Makeconfig (host-built-program-cmd): New variable.
28063 * elf/Makefile (tst-stackguard1-ARGS): Use
28064 $(host-built-program-cmd).
28065 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28066 (tst-spawn-ARGS): Likewise.
28067 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28069 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28070 Jim Blandy <jimb@codesourcery.com>
28072 * Makeconfig (run-via-rtld-prefix): New variable.
28073 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28074 (built-program-cmd): Likewise.
28076 2012-10-22 Andreas Jaeger <aj@suse.de>
28078 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28079 __O_RSYNC if it exists, otherwise to O_SYNC.
28081 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28082 Joseph Myers <joseph@codesourcery.com>
28084 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28086 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28088 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28091 2012-10-22 Andreas Jaeger <aj@suse.de>
28093 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28095 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28098 bits/fcntl-linux.h.
28100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28101 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28108 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28109 Joseph Myers <joseph@codesourcery.com>
28111 * config.make.in (NM): New variable.
28113 2012-10-21 Andreas Jaeger <aj@suse.de>
28115 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28116 definitions and declarations that are provided by
28117 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28119 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28122 * elf/Makefile (tests-static): Add tst-leaks1-static.
28123 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28124 ($(objpfx)tst-leaks1-static): New rule.
28125 ($(objpfx)tst-leaks1-static-mem): Likewise.
28126 (tst-leaks1-static-ENV): New macro.
28127 * elf/dl-open.c (dl_open_worker): Check the main application
28128 only if SHARED is defined.
28129 * elf/tst-leaks1-static.c: New file.
28131 2012-10-20 Andreas Jaeger <aj@suse.de>
28133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28134 generic values for Linux.
28135 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28136 and declarations that are provided by <bits/fcntl-linux.h> and
28137 include <bits/fcntl-linux.h>.
28138 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28139 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28141 2012-10-20 Roland McGrath <roland@hack.frob.com>
28143 * io/fcntl.h: Move include of <bits/types.h> to the top and
28144 include it unconditionally.
28146 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28148 * wcsmbs/Makefile (tests-ifunc): New variable.
28149 (tests): Add $(tests-ifunc).
28150 * wcsmbs/test-wcschr-ifunc.c: New file.
28151 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28152 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28153 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28154 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28155 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28157 * string/Makefile (tests-ifunc): New variable.
28158 (tests): Add $(tests-ifunc).
28159 * string/test-memccpy.c (TEST_NAME): New macro.
28160 * string/test-memchr.c (TEST_NAME): Likewise.
28161 * string/test-memcmp.c (TEST_NAME): Likewise.
28162 * string/test-memcpy.c (TEST_NAME): Likewise.
28163 * string/test-memmem.c (TEST_NAME): Likewise.
28164 * string/test-memmove.c (TEST_NAME): Likewise.
28165 * string/test-memset.c (TEST_NAME): Likewise.
28166 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28167 * string/test-stpcpy.c (TEST_NAME): Likewise.
28168 * string/test-stpncpy.c (TEST_NAME): Likewise.
28169 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28170 * string/test-strcasestr.c (TEST_NAME): Likewise.
28171 * string/test-strcat.c (TEST_NAME): Likewise.
28172 * string/test-strchr.c (TEST_NAME): Likewise.
28173 * string/test-strcmp.c(TEST_NAME): Likewise.
28174 * string/test-strcpy.c (TEST_NAME): Likewise.
28175 * string/test-strcspn.c (TEST_NAME): Likewise.
28176 * string/test-strlen.c (TEST_NAME): Likewise.
28177 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28178 * string/test-strncmp.c (TEST_NAME): Likewise.
28179 * string/test-strncpy.c (TEST_NAME): Likewise.
28180 * string/test-strnlen.c (TEST_NAME): Likewise.
28181 * string/test-strpbrk.c (TEST_NAME): Likewise.
28182 * string/test-strrchr.c (TEST_NAME): Likewise.
28183 * string/test-strspn.c (TEST_NAME): Likewise.
28184 * string/test-strstr.c (TEST_NAME): Likewise.
28185 * string/test-bcopy-ifunc.c: New file.
28186 * string/test-bzero-ifunc.c: Likewise.
28187 * string/test-memccpy-ifunc.c: Likewise.
28188 * string/test-memchr-ifunc.c: Likewise.
28189 * string/test-memcmp-ifunc.c: Likewise.
28190 * string/test-memcpy-ifunc.c: Likewise.
28191 * string/test-memmem-ifunc.c: Likewise.
28192 * string/test-memmove-ifunc.c: Likewise.
28193 * string/test-mempcpy-ifunc.c: Likewise.
28194 * string/test-memset-ifunc.c: Likewise.
28195 * string/test-rawmemchr-ifunc.c: Likewise.
28196 * string/test-stpcpy-ifunc.c: Likewise.
28197 * string/test-stpncpy-ifunc.c: Likewise.
28198 * string/test-strcasecmp-ifunc.c: Likewise.
28199 * string/test-strcasestr-ifunc.c: Likewise.
28200 * string/test-strcat-ifunc.c: Likewise.
28201 * string/test-strchr-ifunc.c: Likewise.
28202 * string/test-strchrnul-ifunc.c: Likewise.
28203 * string/test-strcmp-ifunc.c: Likewise.
28204 * string/test-strcpy-ifunc.c: Likewise.
28205 * string/test-strcspn-ifunc.c: Likewise.
28206 * string/test-strlen-ifunc.c: Likewise.
28207 * string/test-strncasecmp-ifunc.c: Likewise.
28208 * string/test-strncat-ifunc.c: Likewise.
28209 * string/test-strncmp-ifunc.c: Likewise.
28210 * string/test-strncpy-ifunc.c: Likewise.
28211 * string/test-strnlen-ifunc.c: Likewise.
28212 * string/test-strpbrk-ifunc.c: Likewise.
28213 * string/test-strrchr-ifunc.c: Likewise.
28214 * string/test-strspn-ifunc.c: Likewise.
28215 * string/test-strstr-ifunc.c: Likewise.
28217 * debug/Makefile (tests-ifunc): New variable.
28218 (tests): Add $(tests-ifunc).
28219 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28220 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28221 * debug/test-stpcpy_chk-ifunc.c: New file.
28222 * debug/test-strcpy_chk-ifunc.c: Likewise.
28224 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28227 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28228 header is not read in.
28230 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28232 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28233 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28234 directly. Pass built executable to script as
28235 $(built-program-cmd).
28236 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28237 $testprogram without using LD_LIBRARY_PATH and $ldso.
28239 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28240 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28241 $(rtld-installed-name).
28242 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28243 (rtld_installed_name): Likewise.
28244 (library_path): Likewise.
28245 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28246 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28247 $(run-program-prefix) to tst-tables.sh.
28248 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28249 it to run tst-table-from and tst-table-to.
28250 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28251 Pass it to tst-table.sh.
28252 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28253 $(run-program-prefix) to tst-gettext.sh.
28254 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28256 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28258 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28259 to run tst-gettext.
28260 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28261 to run tst-gettext2.
28262 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28263 to run tst-translit.
28264 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28265 $(run-program-prefix) to tst-mtrace.sh.
28266 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28268 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28269 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28270 $(rtld-installed-name).
28271 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28272 (rtld_installed_name): Likewise.
28273 (run_program_prefix): New variable. Use it to run wordexp-test.
28275 * Makeconfig (ARCH): Remove all definitions.
28276 (machine): Likewise.
28277 [ARCH]: Remove conditional code.
28278 [!objdir]: Give error.
28279 [!objdir] (objpfx): Remove.
28280 [!objdir] (common-objpfx): Likewise.
28281 [!objdir] (common-objdir): Likewise.
28282 * configure.in (config_makefile): Remove. Hardcode Makefile in
28283 AC_CONFIG_FILES call.
28284 * configure: Regenerated.
28287 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28289 (testout): Likewise.
28291 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28292 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28293 $(rtld-installed-name).
28294 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28295 (rtld_installed_name): Likwise.
28296 (runit): Remove function.
28297 (run_getconf): New variable, Use it for running getconf binary.
28299 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28302 * string/test-memmem.c (check_result): New function.
28303 (do_one_test): Use it.
28304 (check1): New function.
28305 (test_main): Use it.
28307 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28309 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28311 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28313 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28314 (_G_LSEEK64): Likewise.
28315 (_G_MMAP64): Likewise.
28316 (_G_FSTAT64): Likewise.
28317 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28318 (_G_LSEEK64): Likewise.
28319 (_G_MMAP64): Likewise.
28320 (_G_FSTAT64): Likewise.
28321 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28322 unconditional. Call __mmap64 directly.
28323 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28324 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28325 __lseek64 directly.
28326 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28327 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28329 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28330 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28331 __lseek64 directly.
28332 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28333 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28334 __lseek64 directly.
28335 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28336 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28337 __lseek64 directly.
28338 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28339 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28340 __fxstat64 directly.
28341 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28342 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28344 (freopen64) [!_G_OPEN64]: Remove conditional code.
28345 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28347 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28348 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28350 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28351 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28353 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28354 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28356 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28357 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28359 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28360 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28362 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28363 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28365 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28367 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28370 * manual/memory.texi (Malloc Tunable Parameters): Add note
28371 about free list pointers overwriting some perturb bytes.
28372 Wording suggested by Roland McGrath.
28374 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28376 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28377 (lgamma_test): Likewise.
28378 (tgamma_test): Likewise.
28380 2012-10-16 Florian Weimer <fweimer@redhat.com>
28383 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28384 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28386 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28388 * NEWS: Mention BZ #14716.
28389 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28390 when removing AVAILABLE1_USES_J macro.
28392 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28394 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28395 (__bswap_64): __uint64_t for unsigned 64-bit int.
28397 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28399 * include/string.h (memmem): Declare libc hidden alias.
28400 * string/memmem.c (memmem): Define libc hidden alias.
28401 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28402 __read, __close instead of open, read, close.
28404 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28406 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28407 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28409 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28410 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28411 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28413 (__rawmemchr_sse2): Likewise.
28414 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28415 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28416 (__strchr_sse2): Likewise.
28417 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28418 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28419 (__strcasecmp_sse2): Likewise.
28420 (__strncasecmp_sse2): Likewise.
28421 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28422 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28423 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28424 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28425 (__strrchr_sse2): Likewise.
28426 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28428 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28429 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28430 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28431 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28432 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28433 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28434 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28435 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28436 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28437 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28438 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28439 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28440 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28441 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28442 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28443 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28444 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28445 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28446 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28447 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28448 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28449 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28450 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28451 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28452 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28453 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28454 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28455 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28456 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28457 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28459 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28461 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28462 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28463 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28464 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28466 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28468 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28469 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28470 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28471 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28473 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28474 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28475 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28476 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28477 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28478 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28479 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28480 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28481 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28482 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28483 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28484 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28485 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28486 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28487 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28488 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28489 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28490 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28491 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28492 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28493 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28494 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28495 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28496 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28497 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28498 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28499 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28500 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28501 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28502 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28503 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28504 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28505 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28506 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28507 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28508 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28509 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28510 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28511 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28512 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28513 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28515 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28516 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28517 * include/ifunc-impl-list.h: New file.
28518 * misc/ifunc-impl-list.c: Likewise.
28519 * misc/Makefile (routines): Add ifunc-impl-list.
28520 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28521 * string/test-string.h: Include <ifunc-impl-list.h>.
28522 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28523 TEST_NAME]: New variables.
28524 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28526 (test_init): Call __libc_ifunc_impl_list to initialize
28527 func_list if TEST_IFUNC and TEST_NAME are defined.
28529 * string/Makefile (strop-tests): Add bcopy and bzero.
28530 * string/test-bcopy.c: New file.
28531 * string/test-bzero.c: Likewise.
28532 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28534 * string/test-memset.c: Support bzero test if TEST_BZERO is
28536 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28538 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28540 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28543 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28545 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28546 * configure: Regenerated.
28548 * Makeconfig (+link-static-before-libc): Don't include
28549 $(link-static-libc).
28551 * libio/libio.h (_IO_pos_t): Remove.
28553 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28555 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28558 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28560 * crypt/crypt-entry.c: Include fips-private.h.
28561 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28562 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28563 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28564 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28566 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28568 * crypt/crypt-private.h: Include stdbool.h.
28569 (_ufc_setup_salt_r): Return bool.
28570 * crypt/crypt-entry.c: Include errno.h.
28571 (__crypt_r): Return NULL with EINVAL for bad salt.
28572 * crypt/crypt_util.c (bad_for_salt): New.
28573 (_ufc_setup_salt_r): Check that salt is long enough and within
28574 the specified alphabet.
28575 * crypt/badsalttest.c: New file.
28576 * crypt/Makefile (tests): Add it.
28577 ($(objpfx)badsalttest): New.
28579 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28581 * NEWS: Add entry for BZ #14602.
28583 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28585 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28587 * math/libm-test.inc: Update comment listing what functions and
28589 (isgreater_test): New function.
28590 (isgreaterequal_test): Likewise.
28591 (isless_test): Likewise.
28592 (islessequal_test): Likewise.
28593 (islessgreater_test): Likewise.
28594 (isunordered_test): Likewise.
28595 (main): Call the new functions.
28597 2012-10-09 Roland McGrath <roland@hack.frob.com>
28599 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28600 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28601 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28602 * sysdeps/i386/configure: Regenerated.
28603 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28604 * sysdeps/mach/configure: Regenerated.
28605 * sysdeps/mach/hurd/configure: Regenerated.
28606 * sysdeps/powerpc/configure: Regenerated.
28607 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28608 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28609 * sysdeps/s390/s390-32/configure: Regenerated.
28610 * sysdeps/s390/s390-64/configure: Regenerated.
28611 * sysdeps/sh/configure: Regenerated.
28612 * sysdeps/sparc/configure: Regenerated.
28613 * sysdeps/unix/sysv/linux/configure: Regenerated.
28614 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28615 * sysdeps/x86_64/configure: Regenerated.
28617 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28618 defined. Don't check if MAP is NULL.
28620 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28622 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28623 (_G_stat64): Likewise.
28624 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28625 (_G_stat64): Likewise.
28626 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28627 instead of struct _G_stat64.
28628 * libio/fileops.c (mmap_remap_check): Likewise.
28629 (decide_maybe_mmap): Likewise.
28630 (_IO_new_file_seekoff): Likewise.
28631 (_IO_file_stat): Likewise.
28632 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28634 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28635 instead of struct _G_stat64.
28636 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28638 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28641 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28643 (CHECK_EOL): New macro.
28644 (two_way_short_needle): Check beginning of haystack for EOL. Use
28646 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28647 Replace with CHECK_EOL.
28648 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28649 Replace with CHECK_EOL.
28651 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28653 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28655 * math/libm-test.inc: Update comment listing what functions and
28657 (finite_test): New function.
28658 (isinf_test): Likewise.
28659 (isnan_test): Likewise.
28660 (fpclassify_test): Test subnormal input.
28661 (isfinite_test): Likewise.
28662 (isnormal_test): Likewise.
28663 (main): Call the new functions.
28665 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28668 * Makerules (%.dynsym): Force C locale when running
28669 $(OBJDUMP) --dynamic-syms.
28671 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28673 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28676 2012-10-06 David S. Miller <davem@davemloft.net>
28678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28679 upper 32-bits of the length value in %o2 since we use branch-on-register
28680 tests which consider the entire 64-bit register.
28682 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28684 * string/test-strstr.c (check2): Add a test for page boundary.
28686 2012-10-05 David S. Miller <davem@davemloft.net>
28688 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28689 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28691 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28693 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28694 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28695 and bzero when HWCAP_SPARC_CRYPTO is present.
28697 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28700 * string/test-strstr.c (check2): New function.
28701 (test_main): Call check2.
28703 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28705 * string/bug-strcasestr1.c (do_test): Moved to ...
28706 * string/test-strcasestr.c (check1): Here. New function.
28707 (do_one_test): Break out result checking code into ...
28708 (check_result): This. New function.
28709 (do_one_test): Call check_result.
28710 (test_main): Call check1.
28711 * string/bug-strchr1.c (do_test): Moved to ...
28712 * string/test-strchr.c (check1): Here. New function.
28713 (do_one_test): Break out result checking code into ...
28714 (check_result): This. New function.
28715 (do_one_test): Call check_result.
28716 (test_main): Call check1.
28717 * string/bug-strstr1.c (main): Moved to ...
28718 * string/test-strstr.c (check1): Here. New function.
28719 (do_one_test): Break out result checking code into ...
28720 (check_result): This. New function.
28721 (do_one_test): Call check_result.
28722 (test_main): Call check1.
28723 * string/bug-strcasestr1.c: Removed.
28724 * string/bug-strchr1.c: Likewise.
28725 * string/bug-strstr1.c: Likewise.
28727 * elf/Makefile (dl-routines): Add hwcaps.
28728 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28729 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28730 (_dl_important_hwcaps): Moved to ...
28731 * elf/dl-hwcaps.c: Here. New file.
28732 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28735 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28736 if IS_IN_rtld isn't defined.
28738 * elf/dl-support.c (_dl_sysinfo_map): New.
28739 Include "get-dynamic-info.h" and "setup-vdso.h".
28740 (_dl_non_dynamic_init): Call setup_vdso.
28741 * elf/dynamic-link.h: Don't include <assert.h>.
28742 (elf_get_dynamic_info): Moved to ...
28743 * elf/get-dynamic-info.h: Here. New file.
28744 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28745 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28746 * elf/setup-vdso.h: Here. New file.
28747 * elf/rtld.c: Include "setup-vdso.h".
28748 (dl_main): Call setup_vdso.
28750 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28752 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28753 creal in comment listing functions tested. List finite, isinf,
28754 isnan, isless, islessequal, isgreater, isgreaterequal,
28755 islessgreater, isunordered, lgamma_r and pow10 as functions and
28756 macros not tested. Mention which functions not tested are aliases
28757 for other functions. Fix typo. Note that signs of NaNs are not
28760 * scripts/config.guess: Update from config.git.
28761 * scripts/config.sub: Likewise.
28763 2012-10-04 Roland McGrath <roland@hack.frob.com>
28765 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28766 * misc/madvise.c (madvise): Renamed to __madvise.
28767 Make madvise a weak alias.
28768 * include/sys/mman.h: Declare __madvise.
28769 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28770 * sysdeps/unix/syscalls.list
28771 (madvise): Make __madvise the strong name, and madvise a weak alias.
28772 * sysdeps/unix/sysv/linux/syscalls.list
28773 (madvise, mmap): Remove redundant entries.
28774 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28775 * malloc/malloc.c (mtrim): Likewise.
28776 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28778 2012-10-03 Roland McGrath <roland@hack.frob.com>
28780 * sysdeps/mach/hurd/dl-cache.c: File removed.
28781 * config.h.in (USE_LDCONFIG): New #undef.
28782 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28783 * configure: Regenerated.
28784 * elf/Makefile (dl-routines): Add dl-cache only under
28785 [$(use-ldconfig) = yes].
28786 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28787 cache on [USE_LDCONFIG].
28788 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28790 * elf/rtld.c (dl_main): Likewise.
28792 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28794 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28795 _SC_LEVEL4_CACHE_LINESIZE.
28797 2012-10-03 Roland McGrath <roland@hack.frob.com>
28799 * sysdeps/unix/bsd/confstr.h: File removed.
28801 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28803 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28806 2012-10-02 Roland McGrath <roland@hack.frob.com>
28808 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28809 Make 'mapoff' field ElfW(Off) rather than off_t.
28811 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28813 * nscd/Makefile: Remove nscd-cflags and all its users.
28814 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28815 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28818 * malloc.c (malloc_printerr): Clarify error message.
28820 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28824 Set bit_FMA_Usable if FMA is supported.
28825 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28827 (bit_FMA4_Usable): Updated.
28828 (index_FMA_Usable): New macro.
28829 (CPUID_FMA): Likewise
28830 (HAS_FMA): Defined with bit_FMA_Usable.
28832 2012-10-01 Roland McGrath <roland@hack.frob.com>
28834 * bits/types.h (__swblk_t): Type removed.
28835 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28836 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28837 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28838 (__SWBLK_T_TYPE): Likewise.
28839 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28840 (__SWBLK_T_TYPE): Likewise.
28841 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28842 (__SWBLK_T_TYPE): Likewise.
28843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28844 (__SWBLK_T_TYPE): Likewise.
28846 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28847 Honza Horak <hhorak@redhat.com>
28849 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28850 (xdr_mapname): Use YPMAXMAP as maxsize.
28851 (xdr_peername): Use YPMAXPEER as maxsize.
28852 (xdr_keydat): Use YPAXRECORD as maxsize.
28853 (xdr_valdat): Use YPMAXRECORD as maxsize.
28855 2012-10-01 Roland McGrath <roland@hack.frob.com>
28857 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28859 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28860 * csu/init-first.c: ... here.
28861 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28862 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28863 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28864 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28865 * sysdeps/i386/init-first.c: File removed.
28866 * sysdeps/sh/init-first.c: File removed.
28868 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28872 if x * y might underflow to zero and z is zero.
28873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28874 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28875 * math/libm-test.inc (min_subnorm_value): New variable.
28876 (fma_test): Add more tests.
28877 (fma_test_towardzero): Likewise.
28878 (fma_test_downward): Likewise
28879 (fma_test_upward): Likewise.
28880 (initialize): Set min_subnorm_value.
28882 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28887 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28888 mode for addition resulting in exact zero.
28889 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28890 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28892 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28893 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28894 * math/libm-test.inc (fma_test): Add more tests.
28895 (fma_test_towardzero): New function.
28896 (fma_test_downward): Likewise.
28897 (fma_test_upward): Likewise.
28898 (main): Call the new functions.
28900 2012-09-28 David S. Miller <davem@davemloft.net>
28902 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28904 2012-09-28 Roland McGrath <roland@hack.frob.com>
28906 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28907 instead of SIGALRM.
28909 * sysdeps/gnu/_G_config.h: Moved to ...
28910 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28911 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28912 * sysdeps/generic/_G_config.h: ... here.
28914 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28916 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28918 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28919 Conditionalize target on [libnss_test1.so-version].
28921 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28923 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28924 (elfobjdir): Move out of conditionals.
28926 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28927 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28928 (__nss_lookup_function): Conditionalize label remove_from_tree on
28929 [!DO_STATIC_NSS || SHARED], matching its only use.
28931 2012-09-28 David S. Miller <davem@davemloft.net>
28933 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28934 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28936 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28938 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28939 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28940 when HWCAP_SPARC_CRYPTO is present.
28942 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28944 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28946 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28949 * stdio-common/vfprintf.c (process_string_arg): Revert
28952 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28954 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28956 * stdio-common/tst-sprintf.c: Include <locale.h>
28957 (main): Test sprintf's handling of incomplete multibyte
28960 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28962 * elf/dl-runtime.c (VERSYMIDX): Removed.
28963 * elf/dl-version.c (VERSYMIDX): Likewise.
28964 * elf/do-rel.h (VERSYMIDX): Likewise.
28965 (VALIDX): Likewise.
28966 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28967 * elf/rtld.c (VALIDX): Likewise.
28968 (ADDRIDX): Likewise.
28969 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28970 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28971 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28972 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28973 (VALIDX): Likewise.
28974 (ADDRIDX): Likewise.
28976 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28978 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28980 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28983 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28985 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28986 addresses are in the same scope as 192.0.2/24.
28987 * posix/gai.conf: Document new scope table defaults.
28989 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28992 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28993 for ftell. Compute offsets from write pointers instead.
28994 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28996 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28999 * libio/Makefile (tests): New test case tst-fseek.
29000 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29001 combination works in wide mode.
29002 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29003 state when the external buffer state changes.
29005 2012-09-27 David S. Miller <davem@davemloft.net>
29008 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29009 pass reloc->r_addend in as the 'high' argument to
29010 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29014 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29016 * rt/tst-aio2.c: Include <pthread.h>.
29017 * rt/tst-aio3.c: Likewise.
29019 2012-09-27 Steve Ellcey <sellcey@mips.com>
29021 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29023 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29025 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29026 contents on [SHARED].
29028 2012-09-26 Marek Polacek <polacek@redhat.com>
29032 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29033 for C++ and GCC <4.3 as well as for non GCC compilers.
29035 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29039 2012-09-25 Roland McGrath <roland@hack.frob.com>
29041 * Makefile.in (all, install): Declare with .PHONY.
29042 Reported by Michael Hope <michael.hope@linaro.org>.
29044 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29046 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29047 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29049 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29051 (sydep_routines): Add the new and the internal functions.
29052 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29053 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29055 (GLIBC_2.17): Add the new function.
29056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29057 (GLIBC_2.17): Likewise.
29058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29059 (GLIBC_2.17): Likewise.
29060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29061 (GLIBC_2.17): Likewise.
29062 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29064 2012-09-25 Alan Modra <amodra@gmail.com>
29066 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29067 Add release barrier before setting once_control to say
29068 initialisation is done. Add hints on lwarx. Use macro in
29070 (clear_once_control): Add release barrier.
29072 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29075 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29077 * math/s_clog10.c (__clog10): Likewise.
29078 * math/s_clog10f.c (__clog10f): Likewise.
29079 * math/s_clog10l.c (__clog10l): Likewise.
29080 * math/s_clogf.c (__clogf): Likewise.
29081 * math/s_clogl.c (__clogl): Likewise.
29082 * math/Makefile (libm-calls): Add x2y2m1.
29083 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29084 (__x2y2m1): Likewise.
29085 (__x2y2m1l): Likewise.
29086 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29087 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29088 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29089 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29090 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29091 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29092 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29093 * sysdeps/i386/fpu/libm-test-ulps: Update.
29094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29097 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29098 int as type of variable DEPTH.
29099 (glob): Use size_t instead of int as type of variables NEWCOUNT
29102 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29104 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29105 Add s_sincosf-sse2.
29106 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29107 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29108 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29109 macros for using routine as __sincosf_ia32.
29110 Use macro for function declaration and weak_alias.
29111 * sysdeps/i386/fpu/libm-test-ulps: Update.
29113 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29116 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29117 subnormal argument.
29118 * math/s_cexpf.c (__cexpf): Likewise.
29119 * math/s_csinf.c (__csinf): Likewise.
29120 * math/s_csinhf.c (__csinhf): Likewise.
29121 * math/s_ctanf.c (__ctanf): Likewise.
29122 * math/s_ctanhf.c (__ctanhf): Likewise.
29123 * math/s_ccosh.c (__ccoshf): Likewise.
29124 * math/s_cexp.c (__cexpl): Likewise.
29125 * math/s_csin.c (__csin): Likewise.
29126 * math/s_csinh.c (__csinh): Likewise.
29127 * math/s_ctan.c (__ctan): Likewise.
29128 * math/s_ctanh.c (ctanh): Likewise.
29129 * math/s_ccoshl.c (__ccoshl): Likewise.
29130 * math/s_cexpl.c (__cexpl): Likewise.
29131 * math/s_csinl.c (__csinl): Likewise.
29132 * math/s_csinhl.c (__csinhl): Likewise.
29133 * math/s_ctanl.c (__ctanl): Likewise.
29134 * math/s_ctanhl.c (__ctanhl): Likewise.
29136 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29138 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29139 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29140 (_IO_off_t): Define to __off_t, not _G_off_t.
29141 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29142 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29143 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29144 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29145 type of __dummy and __dummy2 fields.
29146 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29147 (_G_ssize_t): Likewise.
29148 (_G_off_t): Likewise.
29149 (_G_pid_t): Likewise.
29150 (_G_uid_t): Likewise.
29151 (_G_wchar_t): Likewise.
29152 (_G_wint_t): Likewise.
29153 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29154 (_G_ssize_t): Likewise.
29155 (_G_off_t): Likewise.
29156 (_G_pid_t): Likewise.
29157 (_G_uid_t): Likewise.
29158 (_G_wchar_t): Likewise.
29159 (_G_wint_t): Likewise.
29160 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29161 (_G_ssize_t): Likewise.
29162 (_G_off_t): Likewise.
29163 (_G_pid_t): Likewise.
29164 (_G_uid_t): Likewise.
29165 (_G_wchar_t): Likewise.
29166 (_G_wint_t): Likewise.
29168 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29170 * malloc/arena.c: Include malloc-sysdep.h.
29171 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29172 is sufficient to shrink the heap or an unmap is needed.
29173 * sysdeps/generic/malloc-sysdep.h: New file. Define
29174 new function check_may_shrink_heap.
29175 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29176 new function check_may_shrink_heap.
29178 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29180 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29183 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29185 * catgets/test-gencat.sh: Add "set -e".
29186 * elf/tst-pathopt.sh: Likewise.
29187 * grp/tst_fgetgrent.sh: Likewise.
29188 * iconvdata/run-iconv-test.sh: Likewise.
29189 * intl/tst-gettext.sh: Likewise.
29190 * intl/tst-gettext2.sh: Likewise.
29191 * intl/tst-gettext4.sh: Likewise.
29192 * intl/tst-gettext6.sh: Likewise.
29193 * intl/tst-translit.sh: Likewise.
29194 * io/ftwtest-sh: Likewise.
29195 * libio/test-freopen.sh: Likewise.
29196 * malloc/tst-mtrace.sh: Likewise.
29197 * posix/globtest.sh: Likewise.
29198 * posix/tst-getconf.sh: Likewise.
29199 * posix/wordexp-tst.sh: Likewise.
29200 * stdio-common/tst-printf.sh: Likewise.
29201 * stdio-common/tst-unbputc.sh: Likewise.
29202 * stdlib/tst-fmtmsg.sh: Likewise.
29203 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29204 * catgets/Makefile: Do not specify -e option when running
29205 testsuite shell scripts.
29206 * elf/Makefile: Likewise.
29207 * grp/Makefile: Likewise.
29208 * iconvdata/Makefile: Likewise.
29209 * intl/Makefile: Likewise.
29210 * io/Makefile: Likewise.
29211 * libio/Makefile: Likewise.
29212 * malloc/Makefile: Likewise.
29213 * posix/Makefile: Likewise.
29214 * stdio-common/Makefile: Likewise.
29215 * stdlib/Makefile: Likewise.
29216 * sysdeps/x86_64/Makefile: Likewise.
29218 * io/ftwtest-sh: Add copyright header.
29219 * posix/globtest.sh: Likewise.
29220 * posix/tst-getconf.sh: Likewise.
29221 * posix/wordexp-tst.sh: Likewise.
29222 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29224 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29227 * Makeconfig (+link): Defined as $(+link-static) if
29228 $(build-shared) isn't yes.
29229 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29231 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29233 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29236 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29237 new chunk size with MALLOC_ALIGN_MASK.
29239 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29242 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29244 (__printf_fphex): Determine rounding using get_rounding_mode and
29246 * stdio-common/tst-printf-round.c (struct hex_test): New
29248 (hex_tests): New variable.
29249 (test_hex_in_one_mode): New function.
29250 (do_test): Also run tests for hex float output.
29252 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29254 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29255 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29256 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29257 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29258 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29259 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29260 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29261 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29263 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29265 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29266 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29267 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29268 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29270 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29273 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29275 * elf/tst-rtld-load-self.sh: New test.
29276 * elf/Makefile: Run it.
29278 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29280 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29281 (tst-writev-ENV): Remove.
29282 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29284 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29286 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29288 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29290 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29292 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29294 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29295 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29296 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29299 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29302 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29303 * config.make.in (have-cpp-asm-debuginfo): Removed.
29304 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29305 * configure: Regenerated.
29307 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29310 * stdio-common/printf_fp.c: Include <stdbool.h> and
29312 (___printf_fp): Determine rounding using get_rounding_mode and
29314 * stdio-common/tst-printf-round.c: New file.
29315 * stdio-common/Makefile (tests): Add tst-printf-round.
29316 (link-libm): New variable.
29317 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29319 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29322 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29323 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29325 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29328 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29330 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29331 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29332 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29333 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29335 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29338 * include/rounding-mode.h: New file.
29339 * sysdeps/generic/get-rounding-mode.h: Likewise.
29340 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29341 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29342 (MAX_VALUE): New macro.
29343 (MIN_VALUE): Likewise.
29344 (overflow_value): New function.
29345 (underflow_value): Likewise.
29346 (round_and_return): Use overflow_value and underflow_value to
29347 determine return values in overflow and underflow cases. Use
29348 round_away to determine rounding depending on rounding mode.
29349 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29350 determine return values in overflow and underflow cases.
29351 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29352 (struct test_results): New structure.
29353 (struct test): Use struct test_results to store expected results
29354 for all rounding modes.
29355 (TEST): Include expected results for all rounding modes.
29356 (test_in_one_mode): New function.
29357 (do_test): Use test_in_one_mode to compute and check results.
29358 Check results for all rounding modes.
29359 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29362 2012-12-09 Allan McRae <allan@archlinux.org>
29364 * sysdeps/i386/fpu/libm-test-ulps: Update
29366 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29368 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29369 (_G_int32_t): Likewise.
29370 (_G_uint16_t): Likewise.
29371 (_G_uint32_t): Likewise.
29372 (_G_HAVE_BOOL): Likewise.
29373 (_G_HAVE_ATEXIT): Likewise.
29374 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29375 (_G_HAVE_IO_FILE_OPEN): Likewise.
29376 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29377 (_G_int32_t): Likewise.
29378 (_G_uint16_t): Likewise.
29379 (_G_uint32_t): Likewise.
29380 (_G_HAVE_BOOL): Likewise.
29381 (_G_HAVE_ATEXIT): Likewise.
29382 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29383 (_G_HAVE_IO_FILE_OPEN): Likewise.
29384 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29385 (_G_int32_t): Likewise.
29386 (_G_uint16_t): Likewise.
29387 (_G_uint32_t): Likewise.
29388 (_G_HAVE_BOOL): Likewise.
29389 (_G_HAVE_ATEXIT): Likewise.
29390 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29391 (_G_HAVE_IO_FILE_OPEN): Likewise.
29393 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29395 * csu/libc-tls.c: Update copyright years.
29397 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29399 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29400 [!_G_USING_THUNKS]: Remove conditional code.
29401 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29402 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29404 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29405 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29406 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29407 (_G_VTABLE_LABEL_PREFIX): Likewise.
29408 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29409 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29410 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29411 (_G_VTABLE_LABEL_PREFIX): Likewise.
29412 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29413 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29414 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29415 (_G_VTABLE_LABEL_PREFIX): Likewise.
29416 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29418 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29420 * libio/Makefile: Include ../Makeconfig before tests.
29421 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29422 only if $(build-shared) is yes.
29424 * iconv/gconv_db.c: Update copyright years.
29426 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29428 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29429 unwind info if defined PIC. Fix special cases description.
29430 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29432 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29434 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29436 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29438 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29440 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29443 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29444 (LDLIBS-tst-chk4): This.
29445 (LDFLAGS-tst-chk5): Renamed to ...
29446 (LDLIBS-tst-chk5): This.
29447 (LDFLAGS-tst-chk6): Renamed to ...
29448 (LDLIBS-tst-chk6): This.
29449 (LDFLAGS-tst-lfschk4): Renamed to ...
29450 (LDLIBS-tst-lfschk4): This.
29451 (LDFLAGS-tst-lfschk5): Renamed to ...
29452 (LDLIBS-tst-lfschk5): This.
29453 (LDFLAGS-tst-lfschk6): Renamed to ...
29454 (LDLIBS-tst-lfschk6): This.
29456 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29457 on $(common-objpfx)soversions.mk.
29459 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29462 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29465 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29467 * malloc/arena.c (arena_get_retry): New function that gets
29468 another arena for the caller to try its request on.
29469 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29470 current arena cannot fulfill the request.
29471 (__libc_memalign): Likewise.
29472 (__libc_memalign): Likewise.
29473 (__libc_pvalloc): Likewise.
29474 (__libc_calloc): Likewise.
29476 2012-09-05 John Tobey <john.tobey@gmail.com>
29479 * manual/arith.texi (Operations on Complex): Fix description
29480 of carg branch cut.
29482 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29485 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29489 * manual/memory.texi (Memory): Make order of menu items match
29492 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29494 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29495 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29496 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29498 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29500 * csu/libc-tls.c (static_dtv): Renamed to ...
29501 (_dl_static_dtv): This. Make it global.
29502 (_dl_initial_dtv): Removed.
29503 (__libc_setup_tls): Updated.
29504 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29505 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29508 2012-09-06 Petr Machata <pmachata@redhat.com>
29510 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29511 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29512 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29513 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29515 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29518 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29519 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29522 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29525 * Makeconfig (link-static-before-libc): Replace $(+prector)
29527 (link-static-after-libc): Replace $(+postctor) with
29529 (link-bounded): Replace $(+prector)/$(+postctor) with
29530 $(+prectorT)/$(+postctorT).
29531 (+prectorT): New macro.
29532 (+postctorT): Likewise.
29534 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29536 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29537 (round_str): Handle values above the maximum for IBM long double
29539 * stdlib/tst-strtod-round.c (tests): Regenerated.
29541 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29543 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29545 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29546 zarch_nohighgprs around the zarch optimized routines.
29547 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29548 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29549 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29552 2012-09-05 David S. Miller <davem@davemloft.net>
29554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29556 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29557 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29558 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29559 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29562 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29564 * malloc/arena.c: Fold copyright years.
29565 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29567 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29569 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29571 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29573 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29575 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29577 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29578 change internal state upon failure.
29580 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29582 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29583 * malloc/memusage.c (mmap): Likewise.
29584 (mmap64, mremap): Likewise. Adjust name in comment.
29586 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29588 * libio/fileops.c: Fix typos in comments.
29589 * libio/oldfileops.c: Likewise.
29590 * libio/wfileops.c: Likewise.
29592 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29595 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29596 (tst-malloc-usable-ENV): Set environment for test case.
29597 * malloc/hooks.c (malloc_check_get_size): New function to get
29599 * malloc/malloc.c (musable): Use malloc_check_get_size.
29600 * malloc/tst-malloc-usable.c: New test case.
29602 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29604 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29606 2012-09-05 Allan McRae <allan@archlinux.org>
29609 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29610 determine header location.
29611 * configure: Regenerated.
29613 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29615 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29617 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29618 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29620 (test): Regenerate.
29622 2012-09-04 David S. Miller <davem@davemloft.net>
29624 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29625 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29626 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29628 2012-09-04 Florian Weimer <fweimer@redhat.com>
29630 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29633 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29635 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29638 * libio/iogetdelim.c: Include <limits.h>.
29639 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29640 + len + 1 would overflow.
29642 2012-09-03 Andreas Jaeger <aj@suse.de>
29644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29645 * sysdeps/i386/fpu/libm-test-ulps: Update.
29647 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29649 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29650 Add s_sinf-sse2, s_conf-sse2.
29652 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29653 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29654 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29655 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29657 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29658 for using routine as __sinf_ia32.
29659 Use macro for function declaration and weak_alias.
29660 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29661 for using routine as __cosf_ia32.
29662 Use macro for function declaration and weak_alias.
29664 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29665 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29667 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29668 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29671 * math/libm-test.inc (cos_test): Add more test cases.
29672 (sin_test): Likewise.
29673 (sincos_test): Likewise.
29675 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29677 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29678 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29680 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29682 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29685 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29686 first element of the GOT.
29687 (elf_machine_load_address): Return the difference between
29688 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29690 2012-09-01 Allan McRae <allan@archlinux.org>
29693 * configure.in (AWK): Require gawk version 3.0 or later.
29694 * configure: Regenerated.
29696 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29698 * sysdeps/unix/sysv/linux/kernel-features.h
29699 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29700 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29701 [__NR_clock_getres]: Make code unconditional.
29702 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29703 (clock_getcpuclockid): Remove code left unreachable by removal of
29705 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29706 code unconditional.
29707 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29708 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29709 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29710 Make code unconditional.
29711 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29712 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29713 * sysdeps/unix/sysv/linux/clock_settime.c
29714 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29716 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29717 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29719 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29722 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29723 scripts/test-installation.pl.
29725 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29726 and $ld_so_version if it is set.
29728 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29731 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29732 failure if reading from procfs failed.
29733 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29735 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29737 * sysdeps/unix/sysv/linux/kernel-features.h
29738 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29739 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29740 Remove conditional code.
29741 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29742 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29743 Remove conditional code.
29744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29745 * sysdeps/unix/sysv/linux/i386/fxstat.c
29746 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29748 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29749 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29751 * sysdeps/unix/sysv/linux/i386/lxstat.c
29752 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29754 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29755 Remove conditional code.
29756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29757 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29758 Remove conditional code.
29759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29760 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29761 <kernel-features.h>.
29762 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29764 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29765 Remove conditional code.
29766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29767 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29768 Remove conditional.
29770 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29773 * NEWS: Add fixed bug number.
29775 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29778 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29779 underflowing exponent in case of negative sign.
29780 * stdlib/tst-strtod-round-data: Add more tests.
29781 * stdlib/tst-strtod-round.c (tests): Regenerated.
29784 * stdlib/strtod_l.c (NDIG): Remove.
29785 (HEXNDIG): Likewise.
29786 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29787 smallest representable value.
29788 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29789 lie within an exact representation of 1/2 ulp of the result.
29790 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29792 (TENS_P9_IDX): Define unconditionally.
29793 (TENS_P9_SIZE): Likewise.
29794 (TENS_P10_IDX): Likewise.
29795 (TENS_P10_SIZE): Likewise.
29796 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29797 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29798 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29799 entries for 10^2^13 and 10^2^14.
29800 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29801 (TENS_P13_IDX): Define.
29802 (TENS_P13_SIZE): Likewise.
29803 (TENS_P14_IDX): Likewise.
29804 (TENS_P14_SIZE): Likewise.
29805 (_fpioconst_pow10): Change array size to
29806 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29808 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29809 1024]: Add entries for 10^2^13 and 10^2^14.
29810 [LAST_POW10 > _LAST_POW10]: Remove #error.
29811 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29812 (_fpioconst_pow10): Change array size to
29813 FPIOCONST_POW10_ARRAY_SIZE.
29814 * stdlib/gen-fpioconst.c: New file.
29815 * stdlib/gen-tst-strtod-round.c: Likewise.
29816 * stdlib/tst-strtod-round-data: Likewise.
29817 * stdlib/tst-strtod-round.c: Likewise.
29818 * stdlib/Makefile (tests): Add tst-strtod-round.
29821 * stdlib/strtod_l.c: Include <stdint.h>.
29822 (NDEBUG): Do not define.
29823 (round_and_return): Change EXPONENT parameter to type intmax_t.
29824 Rearrange calculations to avoid internal overflow possibilities.
29825 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29826 Rearrange calculations to avoid internal overflow possibilities.
29827 Assert that number fits inside MPNSIZE limbs.
29828 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29829 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29830 calculations and add assertions to avoid internal overflow
29831 possibilities. Add casts to avoid signed/unsigned operations.
29832 * stdlib/tst-strtod-overflow.c: New file.
29833 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29835 2012-08-25 Marek Polacek <polacek@redhat.com>
29837 * time/time.h: Fix some typos in comments.
29839 2012-08-23 Roland McGrath <roland@hack.frob.com>
29841 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29842 * posix/tst-rfc3484-2.c: Likewise.
29843 * posix/tst-rfc3484-3.c: Likewise.
29845 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29847 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29848 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29850 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29852 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29853 #include of fxstatat64.c.
29855 2012-08-22 Roland McGrath <roland@hack.frob.com>
29857 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29858 * shadow/getspent_r.c: Likewise.
29859 * shadow/getspnam.c: Likewise.
29860 * shadow/getspnam_r.c: Likewise.
29861 * gshadow/getsgent.c: Likewise.
29862 * gshadow/getsgent_r.c: Likewise.
29863 * gshadow/getsgnam.c: Likewise.
29864 * gshadow/getsgnam_r.c: Likewise.
29865 * inet/getnetbyad.c: Likewise.
29866 * inet/getnetbyad_r.c: Likewise.
29867 * inet/getnetbynm.c: Likewise.
29868 * inet/getnetbynm_r.c: Likewise.
29869 * inet/getnetent.c: Likewise.
29870 * inet/getnetent_r.c: Likewise.
29871 * inet/getproto.c: Likewise.
29872 * inet/getproto_r.c: Likewise.
29873 * inet/getprtent.c: Likewise.
29874 * inet/getprtent_r.c: Likewise.
29875 * inet/getprtname.c: Likewise.
29876 * inet/getprtname_r.c: Likewise.
29877 * inet/getrpcbyname.c: Likewise.
29878 * inet/getrpcbyname_r.c: Likewise.
29879 * inet/getrpcbynumber.c: Likewise.
29880 * inet/getrpcbynumber_r.c: Likewise.
29881 * inet/getrpcent.c: Likewise.
29882 * inet/getrpcent_r.c: Likewise.
29883 * inet/getaliasent.c: Likewise.
29884 * inet/getaliasent_r.c: Likewise.
29885 * inet/getaliasname.c: Likewise.
29886 * inet/getaliasname_r.c: Likewise.
29887 * nscd/getgrgid_r.c: Likewise.
29888 * nscd/getgrnam_r.c: Likewise.
29889 * nscd/gethstbyad_r.c: Likewise.
29890 * nscd/gethstbynm3_r.c: Likewise.
29891 * nscd/getpwnam_r.c: Likewise.
29892 * nscd/getpwuid_r.c: Likewise.
29893 * nscd/getsrvbynm_r.c: Likewise.
29894 * nscd/getsrvbypt_r.c: Likewise.
29895 * nscd/gai.c: Likewise.
29897 * configure.in (build_nscd): New substituted variable, set
29898 by --disable-build-nscd and defaults to $use_nscd.
29899 * configure: Regenerated.
29900 * config.make.in (build-nscd): New substituted variable.
29901 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29902 Change conditional to require [$(build-nscd) = yes] as well.
29903 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29906 * configure.in (use_nscd): New substituted variable, set by
29907 --disable-nscd. If enabled, define USE_NSCD.
29908 * configure: Regenerated.
29909 * config.h.in: Add USE_NSCD.
29910 * config.make.in (use-nscd): New substituted variable.
29911 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29912 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29913 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29914 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29915 (CFLAGS-getgrnam_r.c): Likewise.
29916 (CFLAGS-initgroups.c): Likewise.
29917 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29918 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29920 * inet/getnetgrent_r.c
29921 (nscd_setnetgrent): New function, broken out of ...
29922 (setnetgrent): ... here. Call it.
29923 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29924 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29925 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29926 * nscd/Makefile (routines, aux): Move definitions after include of
29927 Makeconfig. Conditionalize on [$(use-nscd) != no].
29928 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29929 Conditionalize on [USE_NSCD].
29930 (is_nscd, nscd_init_cb): Likewise.
29931 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29932 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29933 * nss/nss_db/db-init.c: Likewise.
29934 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29936 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29937 (make_request): Use it.
29938 (cache_valid_p): New function.
29939 (__check_pf): Use it.
29940 * NEWS: Add item for --disable-nscd.
29942 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29944 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29945 to support sed >= 4.2.1-20-ga9bf076.
29946 * configure: Regenerated.
29948 2012-08-22 Roland McGrath <roland@hack.frob.com>
29950 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29951 Conditionalize whole body on [IREL].
29953 2012-08-22 Jeff Law <law@redhat.com>
29956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29957 if the family is PF_UNSPEC.
29959 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29961 * Makerules (lib-version): Rename from V.
29962 (install-lib-nosubdir): Change V to lib-version.
29964 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29967 * powerpc32/power6/wcschr.c: New file.
29968 * powerpc32/power6/wcscpy.c: New file.
29969 * powerpc32/power6/wcsrchr.c: New file.
29970 * powerpc64/power6/wcschr.c: New file.
29971 * powerpc64/power6/wcscpy.c: New file.
29972 * powerpc64/power6/wcsrchr.c: New file.
29974 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29976 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29977 (two_way_short_needle): Use it.
29978 * string/strstr.c (AVAILABLE1_USES_J): Define.
29979 * string/strcasestr.c: Likewise.
29981 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29983 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29986 * NEWS: Add an entry.
29987 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29988 define their defaults.
29989 (two_way_short_needle): Detect end-of-string on-the-fly.
29990 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29991 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29992 * string/bug-strcasestr1.c: New test.
29993 * string/Makefile: Run it.
29995 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29998 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29999 the first character.
30001 2012-08-21 Roland McGrath <roland@hack.frob.com>
30003 * csu/elf-init.c (__libc_csu_irel): Function removed.
30004 * csu/libc-start.c (apply_irel): New function.
30005 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30007 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30009 * sysdeps/unix/sysv/linux/kernel-features.h
30010 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30011 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30012 <kernel-features.h>.
30013 [__NR_fadvise64_64]: Make code unconditional.
30014 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30015 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30016 !__NR_fadvise64_64)]: Likewise.
30017 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30018 !__NR_fadvise64_64))]: Likewise.
30019 [__NR_fadvise64]: Make code unconditional.
30020 [!__NR_fadvise64]: Remove conditional code.
30021 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30022 <kernel-features.h>.
30023 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30025 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30028 not include <kernel-features.h>.
30029 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30031 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30033 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30034 include <kernel-features.h>.
30035 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30037 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30040 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30042 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30043 slight instruction rearrangements per scrollpipe analysis.
30044 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30046 2012-08-20 Roland McGrath <roland@hack.frob.com>
30048 * manual/syslog.texi (syslog; vsyslog, closelog):
30049 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30050 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30052 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30053 DSOCAPS to match condition on defining it.
30055 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30057 * sysdeps/unix/sysv/linux/kernel-features.h
30058 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30060 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30061 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30063 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30064 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30066 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30067 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30069 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30070 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30072 * sysdeps/unix/sysv/linux/kernel-features.h
30073 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30074 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30076 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30077 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30078 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30079 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30080 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30081 Make code unconditional.
30082 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30083 (__mmap64) [!__NR_mmap2]: Likewise.
30084 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30085 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30086 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30087 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30088 [__NR_mmap2]: Make code unconditional.
30089 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30090 (__mmap64) [!__NR_mmap2]: Likewise.
30092 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30094 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30096 2012-08-18 Andreas Jaeger <aj@suse.de>
30098 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30100 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30102 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30103 * include/unistd.h (__have_sock_cloexec): Likewise.
30104 (__have_pipe2): Likewise.
30105 (__have_dup3): Likewise.
30107 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30110 * include/unistd.h (__have_pipe2): Change define into an extern int.
30111 (__have_dup3): Likewise.
30112 * socket/have_sock_cloexec.c: Include fcntl.h.
30113 (__have_pipe2): New variable.
30114 (__have_dup3): Likewise.
30116 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30118 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30120 2012-08-17 Marek Polacek <polacek@redhat.com>
30122 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30123 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30125 2012-08-17 Roland McGrath <roland@hack.frob.com>
30127 * configure.in: Add AC_SUBST for sysheaders.
30128 * configure: Regenerated.
30129 * config.make.in (sysheaders): New substituted variable.
30131 * sysdeps/unix/mkfifo.c: Moved ...
30132 * sysdeps/posix/mkfifo.c: ... here.
30133 * sysdeps/unix/mkfifoat.c: Moved ...
30134 * sysdeps/posix/mkfifoat.c: ... here.
30136 * sysdeps/unix/utime.c: Moved ...
30137 * sysdeps/posix/utime.c: ... here.
30139 * sysdeps/unix/time.c: Moved ...
30140 * sysdeps/posix/time.c: ... here.
30141 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30142 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30144 * sysdeps/unix/nice.c: Moved ...
30145 * sysdeps/posix/nice.c: ... here.
30147 * sysdeps/unix/alarm.c: Moved ...
30148 * sysdeps/posix/alarm.c: ... here.
30150 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30152 2012-08-17 Jeff Law <law@redhat.com>
30154 * intl/Makefile (codeset_mo): New variable.
30155 ($(codeset_mo)): New target.
30156 (tst-codeset.out): Depend on that. Remove explicit rule.
30157 (tst-gettext3.out, tst-gettext5.out): Likewise.
30158 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30159 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30160 * intl/tst-codeset.sh: Remove.
30161 * intl/tst-gettext3.sh: Likewise.
30162 * intl/tst-gettext5.sh: Likewise.
30164 2012-08-17 Roland McGrath <roland@hack.frob.com>
30166 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30167 * sysdeps/unix/syscalls.list: ... here.
30169 * sysdeps/posix/getaddrinfo.c
30170 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30171 (gaiconf_init, gaiconf_reload): Use them.
30172 [!_STATBUF_ST_NSEC]
30173 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30174 Define using time_t rather than struct timespec.
30176 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30177 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30179 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30181 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30182 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30185 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30186 __libc_cleanup_push argument.
30188 * bits/param.h: New file.
30189 * misc/sys/param.h: New file.
30190 * include/sys/param.h: New file.
30191 * misc/Makefile (headers): Add bits/param.h.
30192 * sysdeps/generic/sys/param.h: File removed.
30193 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30194 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30195 * sysdeps/mach/hurd/bits/param.h: New file.
30196 * sysdeps/mach/hurd/sys/param.h: File removed.
30198 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30201 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30203 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30204 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30207 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30208 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30209 rather than -D_IO_MTSAFE_IO conditionally.
30210 * stdio-common/Makefile (CPPFLAGS): Likewise.
30211 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30212 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30213 Use $(libio-mtsafe).
30214 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30215 of -D_IO_MTSAFE_IO.
30216 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30217 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30218 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30219 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30220 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30221 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30222 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30223 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30224 (CFLAGS-fread_u_chk.c): Likewise.
30225 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30226 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30227 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30228 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30229 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30230 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30231 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30232 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30233 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30235 * libio/Makefile: Test [$(libc-reentrant) = yes]
30236 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30239 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30240 * sysdeps/pthread/configure: File removed.
30241 * sysdeps/pthread/Makeconfig: New file.
30242 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30243 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30245 2012-08-16 Gary Benson <gbenson@redhat.com>
30247 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30248 unmapping the first object in a namespace.
30250 2012-08-16 Roland McGrath <roland@hack.frob.com>
30252 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30253 (__internal_setnetgrent): ... this. Add internal_function to
30254 definition. Add libc_hidden_def.
30255 (setnetgrent): Update caller.
30256 (internal_endnetgrent): Renamed to ...
30257 (__internal_endnetgrent): ... this. Add internal_function to
30258 definition. Add libc_hidden_def.
30259 (endnetgrent): Update caller.
30260 (internal_getnetgrent_r): Renamed to ...
30261 (__internal_getnetgrent_r): ... this. Add internal_function to
30262 definition. Add libc_hidden_def.
30263 (__getnetgrent_r): Update caller.
30264 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30266 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30268 * stdlib/longlong.h: Update from GCC.
30270 2012-08-16 Roland McGrath <roland@hack.frob.com>
30272 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30273 on _QL, which is set by umul_ppmm but never used.
30274 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30275 variables, which are set by GMP macros but never used.
30276 * stdio-common/_itowa.c (_itowa): Likewise.
30277 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30278 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30280 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30282 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30283 struct La_sh_regs is not constant.
30284 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30285 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30286 and struct La_sparc64_regs are not constant.
30288 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30290 * sysdeps/unix/sysv/linux/kernel-features.h
30291 (__ASSUME_POSIX_TIMERS): Remove.
30292 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30293 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30294 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30295 Make code unconditional.
30296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30297 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30298 Make code unconditional.
30299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30300 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30301 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30302 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30303 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30304 Make code unconditional.
30305 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30306 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30307 (__libc_missing_posix_timers): Remove.
30309 2012-08-15 Roland McGrath <roland@hack.frob.com>
30311 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30312 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30314 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30316 * elf/dl-sym.c: Include <stdlib.h>.
30318 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30319 constants, which avoids warnings in 32-bit builds.
30321 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30322 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30324 * misc/lseek.c: File moved to ...
30325 * io/lseek.c: ... here.
30327 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30329 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30330 shifting LEN more than 31 bits at once.
30332 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30335 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30336 segmentation fault for a case of two empty input strings.
30337 * string/test-strncasecmp.c (check1): Renamed to...
30338 (bz12205): ...this.
30339 (bz14195): Add new testcase for two empty input strings and N > 0.
30340 (test_main): Call new testcase, adapt for renamed function.
30342 2012-08-15 Andreas Jaeger <aj@suse.de>
30345 * crypt/md5test2.c: New test, based on test supplied by Serge
30346 Belyshev <belyshev@depni.sinp.msu.ru>.
30347 * crypt/Makefile (xtests): Add md5test-giant..
30348 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30350 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30353 * crypt/md5.c (md5_process_block): Don't assume the buffer
30354 length is less than 2**32.
30355 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30356 length is less than 2**64.
30358 2012-08-15 Roland McGrath <roland@hack.frob.com>
30360 * string/str-two-way.h: Include <sys/param.h>.
30361 (MAX): Macro removed.
30363 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30364 Move #define and #undef of memmove to just before and after
30365 including <string.h>.
30367 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30368 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30369 and after including <string.h>. Move declarations of
30370 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30371 to before #include "string/memmove.c".
30373 * include/dirent.h: Declare __getdirentries.
30375 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30376 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30378 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30380 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30381 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30382 * sysdeps/i386/configure: Regenerated.
30383 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30384 STABS_CURRENT_FILE, and STABS_FUN.
30385 (END): Remove call to STABS_FUN_END.
30386 (STABS_CURRENT_FILE1): Delete.
30387 (STABS_CURRENT_FILE): Likewise.
30388 (STABS_FUN): Likewise.
30389 (STABS_FUN_END): Likewise.
30390 (STABS_FUN2): Likewise.
30391 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30392 * sysdeps/x86_64/configure: Regenerated.
30394 2012-08-14 Roland McGrath <roland@hack.frob.com>
30396 * elf/dl-open.c: Include <atomic.h>.
30397 * elf/dl-lookup.c: Likewise.
30399 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30401 * sysdeps/unix/sysv/linux/kernel-features.h
30402 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30403 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30405 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30407 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30408 condition on __ASSUME_CLONE_THREAD_FLAGS.
30410 2012-08-14 Andreas Jaeger <aj@suse.de>
30412 * sysdeps/i386/fpu/libm-test-ulps: Update.
30414 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30416 * include/atomic.h (atomic_exchange_and_add): Split into ...
30417 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30420 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30424 2012-08-13 Jeff Law <law@redhat.com>
30426 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30427 null byte in the output string.
30429 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30431 * sysdeps/unix/sysv/linux/kernel-features.h
30432 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30433 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30434 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30435 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30436 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30437 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30438 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30440 2012-08-09 Jeff Law <law@redhat.com>
30443 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30444 When avoid_arena is set, don't retry in the that arena. Pick the
30445 next one, whatever it might be.
30446 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30447 (arena_lock): Pass in new parameter to arena_get2.
30448 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30450 (__libc_malloc): Unify retrying after main arena failure with
30451 __libc_memalign version.
30452 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30454 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30457 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30458 to __redirect_strstr.
30459 (__strstr_sse42): Use typeof __redirect_strstr.
30460 (__strstr_ia32): Likewise.
30461 (__libc_strstr): New prototype.
30462 (strstr): Renamed to ...
30463 (__libc_strstr): This.
30464 (strstr): New strong alias of __libc_strstr.
30465 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30466 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30469 (__libc_time): New prototype.
30470 (time_ifunc): Replace time with __libc_time.
30471 (time): New strong alias and hidden definition of __libc_time.
30472 (__GI_time): Remove strong alias.
30473 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30474 Include <stddef.h>.
30475 (memmove): Redefined to __redirect_memmove.
30476 (__memmove_sse2): Use typeof __redirect_memmove.
30477 (__memmove_ssse3): Likewise.
30478 (__memmove_ssse3_back): Likewise.
30479 (__libc_memmove): New prototype.
30480 (memmove): Renamed to ...
30481 (__libc_memmove): This.
30482 (memmove): New strong alias of __libc_memmove.
30484 2012-08-08 Mark Salter <msalter@redhat.com>
30487 (R_MN10300_TLS_GD): Define.
30488 (R_MN10300_TLS_LD): Likewise.
30489 (R_MN10300_TLS_LDO): Likewise.
30490 (R_MN10300_TLS_GOTIE): Likewise.
30491 (R_MN10300_TLS_IE): Likewise.
30492 (R_MN10300_TLS_LE): Likewise.
30493 (R_MN10300_TLS_DTPMOD): Likewise.
30494 (R_MN10300_TLS_DTPOFF): Likewise.
30495 (R_MN10300_TLS_TPOFF): Likewise.
30496 (R_MN10300_SYM_DIFF): Likewise.
30497 (R_MN10300_ALIGN): Likewise.
30498 (R_MN10300_NUM): Update.
30500 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30502 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30505 2012-08-08 Roland McGrath <roland@hack.frob.com>
30507 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30509 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30510 sysdeps/unix -> sysdeps/posix move.
30511 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30513 2012-08-07 Allan McRae <allan@archlinux.org>
30516 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30517 (SUNOS_CPP): Likewise.
30518 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30520 (open_input): Call CPP using execvp.
30522 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30524 * sysdeps/unix/sysv/linux/kernel-features.h
30525 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30526 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30527 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30528 (__ASSUME_WAITID_SYSCALL): Likewise.
30529 * sysdeps/unix/sysv/linux/dl-execstack.c
30530 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30531 code unconditional.
30532 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30534 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30535 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30536 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30538 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30540 [__ASSUME_WAITID_SYSCALL]: Likewise.
30541 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30543 2012-08-07 Roland McGrath <roland@hack.frob.com>
30545 * sysdeps/unix/closedir.c: Renamed to ...
30546 * sysdeps/posix/closedir.c: ... here.
30547 * sysdeps/unix/dirfd.c: Renamed to ...
30548 * sysdeps/posix/dirfd.c: ... here.
30549 * sysdeps/unix/dirstream.h: Renamed to ...
30550 * sysdeps/posix/dirstream.h: ... here.
30551 * sysdeps/unix/fdopendir.c: Renamed to ...
30552 * sysdeps/posix/fdopendir.c: ... here.
30553 * sysdeps/unix/opendir.c: Renamed to ...
30554 * sysdeps/posix/opendir.c: ... here.
30555 * sysdeps/unix/readdir.c: Renamed to ...
30556 * sysdeps/posix/readdir.c: ... here.
30557 * sysdeps/unix/readdir_r.c: Renamed to ...
30558 * sysdeps/posix/readdir_r.c: ... here.
30559 * sysdeps/unix/rewinddir.c: Renamed to ...
30560 * sysdeps/posix/rewinddir.c: ... here.
30561 * sysdeps/unix/seekdir.c: Renamed to ...
30562 * sysdeps/posix/seekdir.c: ... here.
30563 * sysdeps/unix/telldir.c: Renamed to ...
30564 * sysdeps/posix/telldir.c: ... here.
30565 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30566 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30567 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30568 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30570 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30571 * bits/fcntl.h: ... here.
30573 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30575 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30576 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30577 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30578 (struct flock): Move l_start, l_len to the beginning.
30579 Use __pid_t for l_pid.
30580 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30581 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30582 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30583 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30584 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30585 [__USE_LARGEFILE64] (struct flock64): New type.
30586 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30588 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30589 * bits/dirent.h: ... here.
30591 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30592 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30594 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30597 Change from 2.6.0 to 2.6.16.
30598 * sysdeps/unix/sysv/linux/configure: Regenerated.
30599 * sysdeps/unix/sysv/linux/kernel-features.h
30600 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30601 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30603 (__ASSUME_UTIMES): Likewise.
30604 (__ASSUME_CLONE_STOPPED): Remove.
30605 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30606 architectures, not kernel version.
30607 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30608 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30609 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30610 (__ASSUME_WAITID_SYSCALL): Likewise.
30611 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30612 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30613 * README: State 2.6.16 as minimum Linux kernel version. Do not
30614 refer to older versions.
30616 2012-08-06 Roland McGrath <roland@hack.frob.com>
30618 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30619 Define alphasort64 as an alias.
30620 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30621 Define versionsort64 as an alias.
30622 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30623 Define scandir64 as an alias.
30624 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30625 Define scandirat64 as an alias.
30626 * dirent/alphasort64.c (alphasort64):
30627 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30628 * dirent/versionsort64.c: Likewise.
30629 * dirent/scandir64.c: Likewise.
30630 * dirent/scandirat64.c: Likewise.
30631 * sysdeps/wordsize-64/alphasort.c: File removed.
30632 * sysdeps/wordsize-64/alphasort64.c: File removed.
30633 * sysdeps/wordsize-64/scandir.c: File removed.
30634 * sysdeps/wordsize-64/scandir64.c: File removed.
30635 * sysdeps/wordsize-64/scandirat.c: File removed.
30636 * sysdeps/wordsize-64/scandirat64.c: File removed.
30637 * sysdeps/wordsize-64/versionsort.c: File removed.
30638 * sysdeps/wordsize-64/versionsort64.c: File removed.
30639 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30640 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30641 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30642 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30643 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30644 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30645 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30646 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30648 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30649 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30650 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30651 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30652 [defined __arch64__ || defined __sparcv9]
30653 (__INO_T_MATCHES_INO64_T): New macro.
30654 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30655 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30656 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30657 * sysdeps/unix/sysv/linux/bits/dirent.h
30658 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30659 (_DIRENT_MATCHES_DIRENT64): New macro.
30661 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30662 Define lockf64 as an alias.
30663 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30664 Define fseeko64 as an alias.
30665 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30666 Define ftello64 as an alias.
30667 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30668 Define _IO_fgetpos64 and fgetpos64 as aliases.
30669 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30670 Define _IO_fsetpos64 and fsetpos64 as aliases.
30671 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30672 Conditionalize body on this.
30673 * libio/fseeko64.c: Likewise.
30674 * libio/ftello64.c: Likewise.
30675 * libio/iofgetpos64.c: Likewise.
30676 * libio/iofsetpos64.c: Likewise.
30677 * sysdeps/wordsize-64/lockf.c: File removed.
30678 * sysdeps/wordsize-64/lockf64.c: File removed.
30679 * sysdeps/wordsize-64/fseeko.c: File removed.
30680 * sysdeps/wordsize-64/fseeko64.c: File removed.
30681 * sysdeps/wordsize-64/ftello.c: File removed.
30682 * sysdeps/wordsize-64/ftello64.c: File removed.
30683 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30684 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30685 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30686 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30687 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30688 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30689 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30690 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30691 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30692 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30693 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30694 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30695 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30696 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30698 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30700 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30702 [defined __arch64__ || defined __sparcv9]
30703 (__OFF_T_MATCHES_OFF64_T): New macro.
30704 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30705 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30706 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30707 (__OFF_T_MATCHES_OFF64_T): New macro.
30709 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30711 * stdlib/secure-getenv.c (__secure_getenv): Replace
30712 GLIBC_2_16 with GLIBC_2_17.
30714 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30716 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30717 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30719 2012-08-03 David S. Miller <davem@davemloft.net>
30721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30723 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30725 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30727 (__ASSUME_CORRECT_SI_PID): Likewise.
30728 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30729 (__ASSUME_TMPFS_NAME): Likewise.
30730 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30731 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30732 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30733 (HAVE_AUX_SECURE): Make definition unconditional.
30734 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30735 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30737 2012-08-03 Roland McGrath <roland@hack.frob.com>
30739 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30740 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30741 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30742 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30743 __eloop_threshold instead of SYMLOOP_MAX.
30745 * sysdeps/generic/eloop-threshold.h: New file.
30746 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30748 * elf/chroot_canon.c (chroot_canon): Likewise.
30750 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30753 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30754 Change to 2.6.0 everywhere.
30755 * sysdeps/unix/sysv/linux/configure: Regenerated.
30756 * sysdeps/unix/sysv/linux/kernel-features.h
30757 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30758 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30760 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30761 (__ASSUME_FUTEX_REQUEUE): Remove.
30762 (__ASSUME_STATFS64): Define unconditionally.
30763 (__ASSUME_AT_SECURE): Likewise.
30764 (__ASSUME_CORRECT_SI_PID): Likewise.
30765 (__ASSUME_TGKILL): Define without depending on kernel version for
30767 (__ASSUME_UTIMES): Likewise.
30768 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30770 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30771 (__ASSUME_TMPFS_NAME): Likewise.
30772 * README: Update reference to Linux kernel versions.
30774 2012-08-02 Marek Polacek <polacek@redhat.com>
30777 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30778 libc_cv_asm_type_prefix with %.
30779 * configure: Regenerated.
30780 * include/libc-symbols.h: Remove comment about
30781 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30782 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30783 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30784 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30785 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30786 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30787 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30788 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30789 * elf/tst-unique2mod1.c: Likewise.
30790 * elf/tst-unique1mod2.c: Likewise.
30791 * elf/tst-unique1mod1.c: Likewise.
30792 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30793 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30794 Replace ASM_TYPE_DIRECTIVE with .type.
30795 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30796 * sysdeps/i386/sysdep.h: Likewise.
30797 * sysdeps/x86_64/sysdep.h: Likewise.
30798 * sysdeps/sh/sysdep.h: Likewise.
30799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30800 Do not define ASM_TYPE_DIRECTIVE.
30801 * sysdeps/powerpc/sysdep.h: Likewise.
30802 * sysdeps/powerpc/powerpc32/sysdep.h:
30803 Replace ASM_TYPE_DIRECTIVE with .type.
30804 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30805 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30806 * sysdeps/i386/fpu/e_powf.S: Likewise.
30807 * sysdeps/i386/fpu/e_expl.S: Likewise.
30808 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30809 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30810 * sysdeps/i386/fpu/e_pow.S: Likewise.
30811 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30812 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30813 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30814 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30815 * sysdeps/i386/fpu/e_log2.S: Likewise.
30816 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30817 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30818 * sysdeps/i386/fpu/e_powl.S: Likewise.
30819 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30820 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30821 * sysdeps/i386/fpu/e_logl.S: Likewise.
30822 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30823 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30824 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30825 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30826 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30827 * sysdeps/i386/fpu/e_log.S: Likewise.
30828 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30829 * sysdeps/i386/fpu/e_logf.S: Likewise.
30830 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30831 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30832 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30833 * sysdeps/i386/fpu/e_log10.S: Likewise.
30834 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30835 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30836 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30837 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30838 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30839 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30840 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30841 * sysdeps/i386/i686/strtok.S: Likewise.
30842 * sysdeps/i386/i386-mcount.S: Likewise.
30843 * sysdeps/i386/strtok.S: Likewise.
30844 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30845 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30846 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30847 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30848 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30849 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30850 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30851 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30852 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30853 * sysdeps/x86_64/_mcount.S: Likewise.
30854 * sysdeps/x86_64/strtok.S: Likewise.
30855 * sysdeps/sh/_mcount.S: Likewise.
30857 2012-08-01 Roland McGrath <roland@hack.frob.com>
30859 * libio/iofopen.c: Include <fcntl.h>.
30860 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30861 (_IO_fopen64, fopen64): Define as aliases.
30862 * libio/iofopen64.c: Include <fcntl.h>.
30863 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30864 Conditionalize body on this.
30865 * sysdeps/wordsize-64/iofopen.c: File removed.
30866 * sysdeps/wordsize-64/iofopen64.c: File removed.
30868 2012-08-01 Marek Polacek <polacek@redhat.com>
30870 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30871 Use dlfcn directly instead of a variable.
30872 (binfmt-subdir): Do not define.
30875 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30878 Remove all definitions.
30879 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30880 <kernel-features.h>.
30881 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30882 (miss_F_GETOWN_EX): Remove all definitions.
30883 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30885 [!__ASSUME_FCNTL64]: Remove conditional code.
30886 [__ASSUME_FCNTL64]: Make code unconditional.
30887 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30888 <kernel-features.h>.
30889 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30890 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30891 (lockf64) [__NR_fcntl64]: Make code unconditional.
30892 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30894 * sysdeps/unix/sysv/linux/kernel-features.h
30895 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30896 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30897 Make code unconditional.
30898 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30899 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30901 [__NR_vfork]: Make code unconditional.
30902 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30903 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30905 [__NR_vfork]: Make code unconditional.
30906 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30907 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30909 2012-08-01 Roland McGrath <roland@hack.frob.com>
30911 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30912 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30914 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30915 Define mkstemp64 as an alias.
30916 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30917 Define mkstemps64 as an alias.
30918 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30919 Define mkostemp64 as an alias.
30920 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30921 Define mkostemps64 as an alias.
30922 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30923 Conditionalize body on this.
30924 * misc/mkostemp64.c: Likewise.
30925 * misc/mkostemps64.c: Likewise.
30926 * misc/mkstemps64.c: Likewise.
30927 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30928 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30929 * sysdeps/wordsize-64/mkostemp.c: File removed.
30930 * sysdeps/wordsize-64/mkstemp.c: File removed.
30931 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30932 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30933 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30934 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30937 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30938 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30939 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30940 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30942 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30943 compat_symbol macros from <shlib-compat.h> rather than the underlying
30944 default_symbol_version and symbol_version macros, so that DEFAULT
30945 lines in shlib-versions are respected.
30946 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30948 2012-08-01 Florian Weimer <fweimer@redhat.com>
30950 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30951 Declare with warn_unused_result.
30952 (setgid, setregid, setegid, setresgid): Likewise.
30953 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30955 * WUR-REPORT: Remove set*id functions.
30957 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30959 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30961 2012-07-31 Roland McGrath <roland@hack.frob.com>
30964 * include/sys/socket.h (__libc_accept, __libc_accept4):
30965 Add attribute_hidden.
30966 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30968 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30970 * inet/getnetgrent_r.c (setup): Likewise.
30972 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30974 2012-07-31 David S. Miller <davem@davemloft.net>
30976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30978 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30981 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30982 value between 1.0 and 2.0 and smaller part has absolute value less
30984 * math/s_clog10.c (__clog10): Likewise.
30985 * math/s_clog10f.c (__clog10f): Likewise.
30986 * math/s_clog10l.c (__clog10l): Likewise.
30987 * math/s_clogf.c (__clogf): Likewise.
30988 * math/s_clogl.c (__clogl): Likewise.
30989 * math/libm-test.inc (clog_test): Add more tests.
30990 (clog10_test): Likewise.
30991 * sysdeps/i386/fpu/libm-test-ulps: Update.
30992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30994 2012-07-31 Florian Weimer <fweimer@redhat.com>
30996 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30997 Exit with zero in case no suitable GID is found, and write a
30998 message to standard error.
31000 2012-07-30 Roland McGrath <roland@hack.frob.com>
31002 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31004 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31005 (MAXPATHLEN): Removed.
31006 (NOGROUP, NODEV): New macros.
31007 (setbit, clrbit, isset, isclr): New macros.
31008 (howmany, roundup, powerof2): New macros.
31009 (DEV_BSIZE): New macro.
31011 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31012 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31014 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31015 definition on [!__NO_LONG_DOUBLE_MATH].
31017 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31018 PTR_MANGLE and PTR_DEMANGLE.
31020 * socket/accept4.c (accept4): Rename to __libc_accept4.
31021 Define accept4 as a weak alias.
31023 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31024 on [_DIRENT_HAVE_D_TYPE].
31025 * io/ftw.c (ftw_dir): Likewise.
31027 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31029 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31031 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31032 Use the BSD numbers rather than the arbitrary ones we had.
31033 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31034 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31035 (SIGXCPU, SIGXFSZ): New macros.
31038 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31039 initializer on [_LIBC_REENTRANT].
31041 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31042 definitions inside [_POSIX_MAPPED_FILES].
31044 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31046 * dirent/opendir.c: Include <fcntl.h>.
31048 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31049 (__libc_getspecific): Likewise.
31050 (__libc_key_create): Likewise.
31052 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31053 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31054 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31055 (tmpfile64): Define as alias.
31056 * sysdeps/wordsize-64/tmpfile.c: File removed.
31057 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31058 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31059 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31061 * stdio-common/vfscanf.c: Include <stdbool.h>.
31062 * nss/makedb.c: Likewise.
31063 * stdio-common/_i18n_number.h: Likewise.
31064 * argp/argp-help.c: Likewise.
31065 * posix/wordexp.c: Likewise.
31066 * sysdeps/posix/spawni.c: Likewise.
31067 * nss/nss_files/files-initgroups.c: Likewise.
31068 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31069 * nss/nss_files/files-initgroups.c: Likewise.
31070 * nss/nss_db/db-netgrp.c: Likewise.
31071 * nss/nss_db/db-initgroups.c: Likewise.
31072 * io/fchmodat.c: Include <sys/stat.h>.
31074 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31075 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31077 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31080 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31081 Add multiple inclusion protection.
31083 2012-07-27 David S. Miller <davem@davemloft.net>
31085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31087 2012-07-27 Gary Benson <gbenson@redhat.com>
31090 * elf/rtld.c: Include <stap-probe.h>.
31091 (dl_main): Added static probes "init_start" and "init_complete".
31092 * elf/dl-load.c: Include <stap-probe.h>.
31093 (lose): Take new parameter "nsid".
31094 Added static probe "map_failed".
31095 (_dl_map_object_from_fd): Pass namespace id to lose.
31096 Added static probe "map_start".
31097 (open_verify): Pass namespace id to lose.
31098 * elf/dl-open.c: Include <stap-probe.h>.
31099 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31100 and "reloc_complete".
31101 * elf/dl-close.c: Include <stap-probe.h>.
31102 (_dl_close_worker): Added static probes "unmap_start" and
31104 * elf/rtld-debugger-interface.txt: New file documenting the above.
31106 2012-07-26 Roland McGrath <roland@hack.frob.com>
31108 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31109 rather than a string variable.
31110 * sunrpc/rpc_main.c (h_output): Likewise.
31111 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31113 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31115 * inet/check_native.c: New file.
31117 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31120 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31121 if larger part has absolute value 1.0.
31122 * math/s_clog10.c (__clog10): Likewise.
31123 * math/s_clog10f.c (__clog10f): Likewise.
31124 * math/s_clog10l.c (__clog10l): Likewise.
31125 * math/s_clogf.c (__clogf): Likewise.
31126 * math/s_clogl.c (__clogl): Likewise.
31127 * math/libm-test.inc (clog_test): Add more tests.
31128 (clog10_test): Likewise.
31129 * sysdeps/i386/fpu/libm-test-ulps: Update.
31130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31132 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31133 (pltexit): Likewise.
31134 (La_regs): Likewise.
31135 (La_retval): Likewise.
31136 (int_retval): Likewise.
31137 Update #error for removed macros to refer only to definitions in
31139 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31141 (pltexit): Likewise.
31142 (La_regs): Likewise.
31143 (La_retval): Likewise.
31144 (int_retval): Likewise.
31145 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31147 (pltexit): Likewise.
31148 (La_regs): Likewise.
31149 (La_retval): Likewise.
31150 (int_retval): Likewise.
31151 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31153 (pltexit): Likewise.
31154 (La_regs): Likewise.
31155 (La_retval): Likewise.
31156 (int_retval): Likewise.
31157 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31159 (pltexit): Likewise.
31160 (La_regs): Likewise.
31161 (La_retval): Likewise.
31162 (int_retval): Likewise.
31163 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31165 (pltexit): Likewise.
31166 (La_regs): Likewise.
31167 (La_retval): Likewise.
31168 (int_retval): Likewise.
31169 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31171 (pltexit): Likewise.
31172 (La_regs): Likewise.
31173 (La_retval): Likewise.
31174 (int_retval): Likewise.
31175 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31176 macro definitions in tst-audit.h.
31177 * sysdeps/i386/tst-audit.h: New file.
31178 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31179 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31180 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31181 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31182 * sysdeps/sh/tst-audit.h: Likewise.
31183 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31184 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31185 * sysdeps/x86_64/tst-audit.h: Likewise.
31187 2012-07-26 Andreas Jaeger <aj@suse.de>
31189 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31192 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31193 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31194 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31196 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31197 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31198 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31200 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31203 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31205 (si_call_addr, si_syscall, si_arch): Define new macro.
31206 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31208 (si_call_addr, si_syscall, si_arch): Define new marcro.
31209 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31211 (si_call_addr, si_syscall, si_arch): Define new macro.
31212 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31214 (si_call_addr, si_syscall, si_arch): Define new macro.
31216 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31219 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31220 Change to 2.4.21 where previously 2.4.1.
31221 * sysdeps/unix/sysv/linux/configure: Regenerated.
31222 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31223 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31224 Linux kernel version.
31225 (__ASSUME_STD_AUXV): Remove.
31226 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31228 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31229 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31230 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31231 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31232 (__ASSUME_NETLINK_SUPPORT): Likewise.
31233 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31234 (__no_netlink_support): Remove conditional definition.
31235 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31237 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31238 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31239 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31240 (if_nameindex_ioctl): Remove.
31241 (if_nameindex_netlink): Do not handle __no_netlink_support.
31242 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31244 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31245 Remove conditional code.
31246 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31248 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31250 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31251 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31252 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31254 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31255 [!__ASSUME_STD_AUXV]: Remove conditional code.
31256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31257 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31258 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31260 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31261 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31263 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31265 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31266 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31268 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31270 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31273 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31276 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31277 code unconditional.
31278 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31280 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31282 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31285 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31287 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31290 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31291 code unconditional.
31292 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31294 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31296 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31299 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31300 code unconditional.
31301 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31303 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31305 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31308 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31310 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31311 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31312 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31313 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31314 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31315 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31316 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31317 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31318 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31319 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31320 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31321 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31322 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31323 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31324 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31325 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31326 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31327 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31328 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31330 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31331 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31332 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31334 2012-07-25 Florian Weimer <fweimer@redhat.com>
31336 * Versions.def: Add GLIBC_2.17.
31337 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31338 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31339 Introduce __libc_secure_getenv.
31340 * stdlib/Versions (2.17): Add secure_getenv
31341 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31342 * stdlib/secure-getenv.c: Rename __secure_getenv to
31343 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31344 symbol __secure_getenv for GLIBC_2.0.
31345 * stdlib/tst-secure-getenv.c: New.
31346 * stdlib/Makefile (tests): Add testcase.
31347 * manual/startup.texi (Environment Access): Document
31349 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31350 __libc_secure_getenv.
31351 * inet/ruserpass.c (ruserpass): Likewise.
31352 * malloc/mtrace.c (mtrace): Likewise.
31353 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31354 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31355 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31356 * sysdeps/posix/tempname.c: Likewise. Evaluate
31357 HAVE_SECURE_GETENV.
31358 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31359 __secure_getenv to __libc_secure_getenv.
31360 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31367 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31373 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31375 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31376 (struct La_i86_retval): Likewise.
31377 (struct La_x86_64_regs): Likewise.
31378 (struct La_x86_64_retval): Likewise.
31379 (struct La_x32_regs): Likewise.
31380 (struct La_x32_retval): Likewise.
31381 (struct La_ppc32_regs): Likewise.
31382 (struct La_ppc32_retval): Likewise.
31383 (struct La_ppc64_regs): Likewise.
31384 (struct La_ppc64_retval): Likewise.
31385 (struct La_sh_regs): Likewise.
31386 (struct La_sh_retval): Likewise.
31387 (struct La_s390_32_regs): Likewise.
31388 (struct La_s390_32_retval): Likewise.
31389 (struct La_s390_64_regs): Likewise.
31390 (struct La_s390_64_retval): Likewise.
31391 (struct La_sparc32_regs): Likewise.
31392 (struct La_sparc32_retval): Likewise.
31393 (struct La_sparc64_regs): Likewise.
31394 (struct La_sparc64_retval): Likewise.
31395 (struct audit_ifaces): Remove architecture-specific pltenter and
31397 * sysdeps/i386/ldsodefs.h: New file.
31398 * sysdeps/powerpc/ldsodefs.h: Likewise.
31399 * sysdeps/s390/ldsodefs.h: Likewise.
31400 * sysdeps/sh/ldsodefs.h: Likewise.
31401 * sysdeps/sparc/ldsodefs.h: Likewise.
31402 * sysdeps/x86_64/ldsodefs.h: Likewise.
31404 2012-07-25 Marek Polacek <polacek@redhat.com>
31407 * math/libm-test.inc (yn_test): Add another test.
31408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31409 to ERANGE when the result is +-Inf.
31410 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31411 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31412 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31413 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31415 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31417 * conform/data/time.h-data (NULL): Use macro-constant. Require
31419 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31421 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31423 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31425 * configure.in <sysdeps resolving>: Correct printing
31427 * configure: Regenerate.
31429 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31431 * math/w_ilogb.c: Include <limits.h>.
31432 * math/w_ilogbl.c: Likewise.
31434 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31436 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31437 va_copy. Document allowing for unavailable va_copy only as
31438 pre-C99 compatibility.
31439 * manual/string.texi (Copying and Concatenation): Use va_copy
31440 instead of __va_copy in concat example.
31442 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31444 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31445 (__sendto): Use create_address_port. Initialize APORT and deallocate
31448 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31449 with O_NOLINK passed to __file_name_lookup.
31451 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31452 with O_NOLINK passed to __file_name_lookup.
31454 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31455 negative N or less than NGIDS.
31457 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31458 type to string_t. Set ERANGE as errno and return it if NAME is not big
31459 enough. Use memcpy instead of strncpy.
31461 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31463 * elf/Makefile (check-data): Remove.
31464 (localplt.data): New vpath directive.
31465 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31466 instead of $(check-data).
31467 * scripts/data/localplt-generic.data: Move to ...
31468 * sysdeps/generic/localplt.data: ... here.
31469 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31470 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31471 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31474 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31477 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31480 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31483 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31486 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31490 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31492 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31493 PPC32 and PPC64 files.
31494 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31495 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31497 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31499 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31500 __makecontext_ret to ...
31501 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31502 ... here and call exit if uc_link is NULL. New file.
31503 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31504 __makecontext_ret.S.
31505 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31506 __makecontext_ret to ...
31507 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31508 ... here and call exit if uc_link is NULL. New file.
31509 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31510 __makecontext_ret.S.
31512 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31514 * elf/elf.h (R_390_IRELATIVE): New definition.
31515 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31516 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31517 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31518 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31519 (elf_machine_lazy_rel): Likewise.
31520 * sysdeps/s390/dl-irel.h: New file.
31521 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31522 * sysdeps/s390/s390-64/memset.S: New asm code.
31523 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31524 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31525 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31526 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31527 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31528 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31529 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31530 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31531 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31532 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31533 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31534 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31535 * sysdeps/s390/s390-32/memset.S: New asm code.
31536 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31538 2012-07-17 Marek Polacek <polacek@redhat.com>
31541 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31542 * sysdeps/s390/s390-64/configure.in: Likewise.
31543 * sysdeps/sparc/configure.in: Likewise.
31544 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31545 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31546 * sysdeps/i386/configure.in: Likewise.
31547 * sysdeps/x86_64/configure.in: Likewise.
31548 * sysdeps/sh/configure.in: Likewise.
31549 * sysdeps/s390/s390-32/configure: Regenerated.
31550 * sysdeps/s390/s390-64/configure: Likewise.
31551 * sysdeps/x86_64/configure: Likewise.
31552 * sysdeps/sh/configure: Likewise.
31553 * sysdeps/powerpc/powerpc64/configure: Likewise.
31554 * sysdeps/powerpc/powerpc32/configure: Likewise.
31555 * sysdeps/sparc/configure: Likwise.
31556 * sysdeps/i386/configure: Likewise.
31558 * elf/dl-open.c: Comment fixes.
31560 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31562 * Makefile [CXX] (check-data): Remove.
31563 [CXX] (c++-types.data): New vpath directive.
31564 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31565 vpath. Do not allow for C++ type data being missing.
31566 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31567 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31568 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31569 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31570 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31571 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31572 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31575 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31578 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31581 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31584 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31587 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31590 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31593 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31596 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31597 definitions to architecture-specific files.
31598 (TLS_IE): Likewise.
31599 (TLS_LD): Likewise.
31600 (TLS_GD): Likewise.
31601 * sysdeps/i386/tls-macros.h: New file.
31602 * sysdeps/powerpc/tls-macros.h: Likewise.
31603 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31604 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31605 * sysdeps/sh/tls-macros.h: Likewise.
31606 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31607 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31608 * sysdeps/x86_64/tls-macros.h: Likewise.
31610 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31612 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31613 zero value for regular exit case.
31615 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31616 (__start_context): Preserve zero value for regular exit case.
31618 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31619 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31621 * manual/setjmp.texi (setcontext): Clarify normal process
31622 termination when uc_link is the null pointer.
31623 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31626 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31628 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31629 preprocessor. Test for each exception mask separately.
31631 2012-07-16 Andreas Jaeger <aj@suse.de>
31633 * po/ru.po: Update from translation team.
31635 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31637 * conform/data/string.h-data (NULL): Use macro-constant. Require
31639 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31640 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31641 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31642 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31643 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31645 2012-07-13 Andreas Jaeger <aj@suse.de>
31647 * po/fr.po: Update from translation team.
31649 2012-07-12 Marek Polacek <polacek@redhat.com>
31652 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31653 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31656 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31659 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31660 Change to 2.4.1 where previously 2.4.0.
31661 * sysdeps/unix/sysv/linux/configure: Regenerated.
31662 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31663 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31665 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31666 (__ASSUME_AT_CLKTCK): Remove.
31667 (__ASSUME_AT_PAGESIZE): Likewise.
31668 (__ASSUME_AT_XID): Likewise.
31669 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31670 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31671 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31673 (HAVE_AUX_PAGESIZE): Likewise.
31674 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31675 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31676 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31678 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31682 the temporary buffer used to invoke __gethostbyname2_r,
31683 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31684 host_data / struct gaih_addrtuple.
31685 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31686 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31687 header file nss/nsswitch.h.
31688 * nss/nsswitch.h (global scope): Add definition of implementation
31689 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31690 resolv/nss_dns/dns-host.c).
31692 2012-07-11 Andreas Jaeger <aj@suse.de>
31694 * po/fr.po: Update from translation team.
31696 * po/sv.po: Update from translation team
31697 * po/fr.po: Another update from translation team.
31699 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31701 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31702 for subnormals or multiply small sinh result by itself.
31703 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31706 2012-07-11 David S. Miller <davem@davemloft.net>
31708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31710 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31713 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31714 (INTERNAL_MARK): Shift it here.
31716 2012-07-10 Marek Polacek <polacek@redhat.com>
31719 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31720 libc_cv_asm_global_directive with .globl.
31721 * configure: Regenerated.
31722 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31724 * sysdeps/i386/configure: Regenerated.
31725 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31727 * sysdeps/x86_64/configure: Regenerated.
31728 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31729 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31730 * elf/tst-unique2mod2.c: Likewise.
31731 * elf/tst-unique2mod1.c: Likewise.
31732 * elf/tst-unique1mod2.c: Likewise.
31733 * elf/tst-unique1mod1.c: Likewise.
31734 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31735 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31736 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31737 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31738 * sysdeps/mach/sysdep.h: Likewise.
31739 * sysdeps/i386/sysdep.h: Likewise.
31740 * sysdeps/i386/i386-mcount.S: Likewise.
31741 * sysdeps/x86_64/_mcount.S: Likewise.
31742 * sysdeps/x86_64/sysdep.h: Likewise.
31743 * sysdeps/sh/_mcount.S: Likewise.
31744 * sysdeps/sh/sysdep.h: Likewise.
31745 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31746 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31747 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31748 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31749 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31750 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31751 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31752 * locale/localeinfo.h: Likewise.
31753 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31754 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31756 2012-07-09 Roland McGrath <roland@hack.frob.com>
31759 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31761 * manual/message.texi (The Uniforum approach): Likewise.
31762 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31763 (glibc iconv Implementation): Likewise.
31765 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31768 * math/s_clog.c (__clog): Avoid scaling a value down where that
31769 could result in underflow.
31770 * math/s_clog10.c (__clog10): Likewise.
31771 * math/s_clog10f.c (__clog10f): Likewise.
31772 * math/s_clog10l.c (__clog10l): Likewise.
31773 * math/s_clogf.c (__clogf): Likewise.
31774 * math/s_clogl.c (__clogl): Likewise.
31775 * math/libm-test.inc (clog_test): Add more tests.
31776 (clog10_test): Likewise.
31777 * sysdeps/i386/fpu/libm-test-ulps: Update.
31778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31780 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31783 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31784 by 7 not 8 to examine high bit of fractional part.
31787 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31788 for call to __mcount_internal.
31789 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31790 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31791 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31793 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31796 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31797 approximation for values within 0x1p-13f of an odd multiple of
31799 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31800 exception. Add more tests.
31801 * sysdeps/i386/fpu/libm-test-ulps: Update.
31804 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31805 inputs and return -1 for them. Do not check for +Inf in case not
31806 reachable for +Inf.
31807 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31808 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31809 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31810 and return -1 for them. Do not check for +Inf in case not
31811 reachable for +Inf.
31812 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31814 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31815 and return -1 for them. Do not check for +Inf in case not
31816 reachable for +Inf.
31817 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31818 spurious underflow.
31819 * sysdeps/i386/fpu/libm-test-ulps: Update.
31820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31822 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31824 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31826 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31830 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31831 could result in spurious underflow. Scale down values above
31832 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31833 * math/s_csqrtf.c (__csqrtf): Likewise.
31834 * math/s_csqrtl.c (__csqrtl): Likewise.
31835 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31836 spurious underflow.
31837 * sysdeps/i386/fpu/libm-test-ulps: Update.
31838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31840 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31842 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31844 * catgets/xopen-msg.awk: New file.
31845 * catgets/xopen-msg.sed: Removed.
31847 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31849 * intl/po2test.awk: New file.
31850 * intl/po2test.sed: Removed.
31852 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31855 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31856 or multiply small sinh result by itself.
31857 * math/s_ctanf.c (__ctanf): Likewise.
31858 * math/s_ctanh.c (__ctanh): Likewise.
31859 * math/s_ctanhf.c (__ctanhf): Likewise.
31860 * math/s_ctanhl.c (__ctanhl): Likewise.
31861 * math/s_ctanl.c (__ctanl): Likewise.
31862 * math/libm-test.inc (ctan_test_tonearest): New function.
31863 (ctan_test_towardzero): Likewise.
31864 (ctan_test_downward): Likewise.
31865 (ctan_test_upward): Likewise.
31866 (ctanh_test_tonearest): Likewise.
31867 (ctanh_test_towardzero): Likewise.
31868 (ctanh_test_downward): Likewise.
31869 (ctanh_test_upward): Likewise.
31870 (main): Call these new functions.
31871 * sysdeps/i386/fpu/libm-test-ulps: Update.
31872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31874 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31876 * .gitignore: Delete /ports entry.
31878 2012-07-03 Andreas Jaeger <aj@suse.de>
31880 * po/bg.po: Update from translation team.
31881 * po/cs.po: Likewise.
31882 * po/de.po: Likewise.
31883 * po/hr.po: Likewise.
31884 * po/nl.pl: Likewise.
31885 * po/pl.po: Likewise.
31886 * po/vi.po: Likewise.
31888 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31890 * Makeconfig [!+link] (+link-before-libc): New variable.
31891 [!+link] (+link-after-libc): Likewise.
31892 [!+link] (+link-tests): Likewise.
31893 [!+link] (+link): Define in terms of $(+link-before-libc) and
31894 $(+link-after-libc).
31895 [!+link-static] (+link-static-before-libc): New variable.
31896 [!+link-static] (+link-static-after-libc): Likewise.
31897 [!+link-static] (+link-static-tests): Likewise.
31898 [!+link-static] (+link-static): Define in terms of
31899 $(+link-static-before-libc) and $(+link-static-after-libc).
31900 [build-shared] (link-libc-before-gnulib): New variable.
31901 [build-shared] (link-libc-tests): Likewise.
31902 [build-shared] (link-libc): Define in terms of
31903 $(link-libc-before-gnulib).
31904 [!build-shared] (link-libc-tests): New variable.
31905 (link-libc-static-tests): New variable.
31906 [!gnulib] (gnulib-arch): New variable.
31907 [!gnulib] (gnulib-tests): Likewise.
31908 [!gnulib] (static-gnulib-arch): Likewise.
31909 [!gnulib] (static-gnulib-tests): Likewise.
31910 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31911 Define with "=" instead of ":=".
31912 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31913 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31914 * Rules (binaries-all-notests): New variable.
31915 (binaries-all-tests): Likewise.
31916 (binaries-static-notests): Likewise.
31917 (binaries-static-tests): Likewise.
31918 (binaries-all): Define using $(binaries-all-notests) and
31919 $(binaries-all-tests).
31920 (binaries-static): Define using $(binaries-static-notests) and
31921 $(binaries-static-tests).
31922 (binaries-shared-tests): New variable.
31923 (binaries-shared-notests): Likewise.
31924 (binaries-shared): Remove variable.
31925 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31926 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31927 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31928 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31929 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31930 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31931 * elf/Makefile (sln-modules): New variable.
31932 (extra-objs): Add $(sln-modules:=.o).
31933 (ldconfig-modules): Add static-stubs.
31934 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31935 * elf/static-stubs.c: New file.
31938 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31939 by 7 not 8 to examine high bit of fractional part. Use volatile
31940 variables when splitting into final array of floats if
31941 __FLT_EVAL_METHOD__ != 0.
31942 * math/libm-test.inc (cos_test): Add another test.
31943 (sin_test): Likewise.
31944 * sysdeps/i386/fpu/libm-test-ulps: Update.
31947 * math/libm-test.inc (cosh_test): Add more tests.
31949 * version.h (RELEASE): Set to "development".
31950 (VERSION): Set to "2.16.90".
31952 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31954 * NEWS: Update copyright. Remove last-updated date.
31955 Mention math library bug fixes and timezone data changes.
31956 * README: Mention GNU/Hurd, x32, and HPPA support status.
31958 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31960 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31962 2012-06-27 Andreas Jaeger <aj@suse.de>
31964 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31966 2012-06-25 Andreas Jaeger <aj@suse.de>
31968 * sysdeps/s390/fpu/libm-test-ulps: Update.
31970 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31971 Thomas Schwinge <thomas@codesourcery.com>
31973 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31974 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31975 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31978 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31980 * sysdeps/mach/start.c: Remove file.
31981 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31982 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31983 * sysdeps/sh/init-first.c: Likewise.
31985 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31986 registers for frame unwinding purposes, add CFI directives.
31987 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31988 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31989 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31992 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31993 __fortify_fail returning.
31994 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31996 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31997 sysdeps/sh/____longjmp_chk.S.
31998 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31999 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32000 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32001 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32003 * sysdeps/sh/abort-instr.h: New file.
32004 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32005 process in case exit returns.
32007 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32008 initialize the GOT register before use.
32010 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32011 calculation of ARGC > 4.
32013 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32014 meaningful names to some local labels.
32016 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32017 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32019 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32020 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32021 (__arch_compare_and_exchange_val_16_acq): Likewise.
32022 (__arch_compare_and_exchange_val_32_acq): Likewise.
32023 (atomic_exchange_and_add): Fix gUSA sequence.
32024 (atomic_add): Likewise.
32025 (atomic_add_negative): Likewise.
32026 (atomic_add_zero): Likewise.
32027 (atomic_bit_test_set): Likewise.
32029 2012-06-22 Andreas Schwab <schwab@redhat.com>
32032 * include/link.h (struct link_map): Add l_free_initfini.
32033 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32035 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32036 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32037 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32040 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32042 * configure.in: Use AC_LANG_SOURCE.
32043 * configure: Regenerate.
32045 2012-06-22 Roland McGrath <roland@hack.frob.com>
32047 * configure.in (libc_cv_localstatedir): New substituted variable.
32048 * configure: Regenerated.
32049 * config.make.in (localstatedir): New variable, substituted from
32050 libc_cv_localstatedir.
32051 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32052 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32053 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32054 * sysdeps/gnu/configure: Regenerated.
32056 2012-06-21 Jeff Law <law@redhat.com>
32059 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32060 free. Simplify list management for _LIBC case.
32062 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32065 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32066 Clear sign bit of 64-bit integer value before comparing against
32069 * sysdeps/mach/configure: Regenerated.
32071 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32074 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32076 2012-06-21 Jeff Law <law@redhat.com>
32079 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32080 uint16_t for elements in the "seen" array to avoid char overflows.
32081 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32082 * elf/dl-open.c (dl_open_worker): Likewise.
32084 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32086 * scripts/list-sources.sh: Scan PORTS for translations.
32087 * po/libc.pot: Regenerated.
32089 2012-06-21 Andreas Jaeger <aj@suse.de>
32092 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32094 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32095 * bits/byteswap-16.h (__bswap_16): Likewise.
32096 * bits/byteswap.h (__bswap_constant_16): Likewise.
32098 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32101 * sysdeps/i386/fpu_control.h: Removed.
32102 * sysdeps/x86_64/fpu_control.h: Moved to ...
32103 * sysdeps/x86/fpu_control.h: Here.
32105 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32106 (_FPU_SETCW): Likewise.
32108 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32111 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32112 * sysdeps/x86/fpu/bits/mathinline.h: This.
32113 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32117 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32118 functions if __x86_64__ is defined.
32120 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32122 * string/endian.h: Add !__ASSEMBLER__ condition for including
32123 conversion interfaces.
32125 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32128 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32129 of ABS(x) in calculating zero to negative powers other than odd
32131 * math/libm-test.inc (pow_test): Add more tests.
32133 2012-06-15 Andreas Jaeger <aj@suse.de>
32135 * manual/contrib.texi (Contributors): Update entry of Liubov
32136 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32139 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32141 * string/string.h: Add __wur to GNU version of strerror_r.
32143 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32146 * string/Makefile (tests): Add tst-strtok_r.
32147 * string/tst-strtok_r.c: New file.
32148 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32149 RAX_LP/RDX_LP on SAVE_PTR.
32151 2012-06-14 Roland McGrath <roland@hack.frob.com>
32153 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32155 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32157 * libm_test.inc (csqrt_test): Allow more spurious underflow
32159 (j0_test): Likewise.
32160 (j1_test): Likewise.
32161 (y0_test): Likewise.
32162 (y1_test): Likewise.
32164 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32166 * po/Makefile (libc.pot): Use UTF-8 charset.
32168 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32171 Suppress sign-conversion warning from FD_SET.
32172 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32173 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32174 not unsigned long int.
32175 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32177 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32181 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32182 __extern_always_inline instead of __extern_inline.
32183 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32184 (__signbit): Likewise.
32185 (__signbitl): Support C++ namespace.
32186 (lrintf): New inline function.
32188 (llrintf): Likewise.
32189 (llrint): Likewise.
32199 (floorf): Likewise.
32200 (nearbyint): Likewise.
32201 (nearbyintf): Likewise.
32203 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32205 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32206 non-default versions.
32208 2012-06-11 Roland McGrath <roland@hack.frob.com>
32211 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32213 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32215 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32216 (FE_UPWARD, FE_DOWNWARD): Don't define.
32217 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32218 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32220 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32222 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32223 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32225 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32227 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32228 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32229 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32230 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32232 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32235 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32236 * sysdeps/i386/fpu/Implies: New file.
32237 * sysdeps/x86_64/fpu/Implies: Likewise.
32238 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32239 * sysdeps/x86/fpu/bits/fenv.h: This.
32241 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32244 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32247 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32248 character 0xffff that matches the last element of the
32251 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32253 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32256 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32259 values higher than 25.6283.
32261 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32263 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32264 subnormal exponent extraction and add some __builtin_expect.
32265 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32266 Fix for subnormal mantissa calculation.
32268 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32270 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32271 cpu2 is -1 and errno is not ENOSYS.
32273 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32276 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32277 * sysdeps/x86/bits/string.h: This.
32278 * sysdeps/x86_64/bits/string.h: Removed.
32280 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32281 if not compiling for x86-64, but compiling for >= i486.
32283 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32284 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32286 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32287 New macro from Linux kernel 3.4.0.
32288 (FP_XSTATE_MAGIC2): Likewise.
32289 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32290 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32291 (struct _fpx_sw_bytes): New struct.
32292 (struct _xsave_hdr): Likewise.
32293 (struct _ymmh_state): Likewise.
32294 (struct _xstate): Likewise.
32296 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32297 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32298 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32299 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32300 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32301 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32303 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32304 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32305 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32306 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32307 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32308 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32310 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32313 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32314 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32315 (sysdep_headers): Include sys/platform/ppc.h.
32316 * sysdeps/powerpc/test-gettimebase.c: Test for
32317 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32318 * manual/Makefile (appendices): Include platform.texi.
32319 * manual/contrib.texi (Contributors): Update @node pointers.
32320 * manual/maint.texi (Maintenance): Likewise.
32321 (Platform): New node.
32322 * manual/platform.texi: New file. Document the new features.
32324 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32325 Jakub Jelinek <jakub@redhat.com>
32328 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32329 where __builtin_expect is unavailable.
32331 2012-06-03 David S. Miller <davem@davemloft.net>
32333 * stdlib/longlong.h: Updated from GCC.
32335 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32338 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32339 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32342 (GLIBC_2.16): Likewise.
32344 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32346 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32348 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32351 (default-abi): New variable.
32352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32353 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32355 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32357 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32359 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32362 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32363 definition. Document in comment.
32365 2012-06-01 David S. Miller <davem@davemloft.net>
32367 * stdlib/longlong.h: Updated from GCC.
32369 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32372 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32373 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32374 sys/debugreg.h sys/io.h here.
32375 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32376 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32378 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32379 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32380 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32381 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32382 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32383 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32385 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32386 Define only if __x86_64__ is defined.
32388 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32391 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32392 Use int64_t for variable i.
32393 * math/libm-test.inc (fmod_test): Add more tests.
32395 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32396 z computation is not scheduled after fetestexcept.
32397 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32398 Use math_force_eval instead of asm to ensure calculation scheduled
32399 before exception test.
32400 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32401 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32403 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32406 computation is not scheduled after fetestexcept.
32408 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32411 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32412 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32414 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32416 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32417 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32419 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32422 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32424 (__WCHAR_MIN): Support __WORDSIZE == 64.
32425 (__WCHAR_MAX): Likewise.
32427 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32428 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32431 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32432 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32435 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32436 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32438 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32439 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32441 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32442 Defined to 1 if __x86_64__ isn't defined.
32443 (_STAT_VER_LINUX_OLD): New.
32444 (st_atime): Remove duplicate.
32445 (st_mtime): Likewise.
32446 (st_ctime): Likewise.
32448 2012-05-31 David S. Miller <davem@davemloft.net>
32450 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32453 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32455 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32459 * elf/dl-reloc.c: Include <_itoa.h>.
32460 (_dl_reloc_bad_type): Remove use of INTUSE.
32461 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32462 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32463 * stdio-common/psiginfo.c (psiginfo): Likewise.
32464 * stdio-common/psignal.c (psignal): Likewise.
32465 * string/strsignal.c (strsignal): Likewise.
32466 * include/signal.h (_sys_siglist): Declare hidden proto.
32467 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32468 INTVARDEF with libc_hidden_data_def.
32469 * stdio-common/itoa-udigits.c: Likewise.
32470 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32471 (_itoa_lower_digits_internal): Remove declaration.
32472 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32473 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32474 (_sys_sigabbrev_internal): Remove aliases.
32475 (_sys_siglist): Define hidden alias.
32477 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32482 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32485 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32486 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32488 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32489 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32490 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32491 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32492 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32493 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32495 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32496 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32497 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32499 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32507 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32508 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32509 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32511 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32512 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32513 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32514 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32515 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32516 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32518 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32519 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32521 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32522 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32524 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32525 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32526 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32528 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32529 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32531 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32533 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32534 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32535 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32537 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32539 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32541 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32543 * math/math.h (M_El): Use two more decimal places.
32544 (M_LOG2El): Likewise.
32545 (M_LOG10El): Likewise.
32546 (M_LN2l): Likewise.
32547 (M_LN10l): Likewise.
32549 (M_PI_2l): Likewise.
32550 (M_PI_4l): Likewise.
32551 (M_1_PIl): Likewise.
32552 (M_2_PIl): Likewise.
32553 (M_2_SQRTPIl): Likewise.
32554 (M_SQRT2l): Likewise.
32555 (M_SQRT1_2l): Likewise.
32557 2012-05-31 David S. Miller <davem@davemloft.net>
32559 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32560 values between float registers.
32561 * sysdeps/sparc/sparc64/memset.S: Likewise.
32562 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32564 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32566 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32567 -D_FORTIFY_SOURCE=1.
32568 (CPPFLAGS-tst-longjmp_chk.c): Define.
32569 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32570 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32571 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32572 CFLAGS-tst-wchar-h.c.
32574 2012-05-31 Marek Polacek <polacek@redhat.com>
32577 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32578 __endmntent_internal): Remove declaration.
32579 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32580 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32581 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32583 2012-05-30 David S. Miller <davem@davemloft.net>
32585 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32586 (___Q_simulate_exceptions): Use real FP ops rather than writing
32588 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32591 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32594 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32595 * sysdeps/x86/bits/xtitypes.h: This.
32597 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32598 * sysdeps/x86/bits/wordsize.h: This.
32600 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32601 * sysdeps/x86/bits/huge_vall.h: This.
32603 * sysdeps/i386/bits/select.h: Removed.
32604 * sysdeps/x86_64/bits/select.h: Renamed to ...
32605 * sysdeps/x86/bits/select.h: This.
32607 * sysdeps/i386/bits/setjmp.h: Removed.
32608 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32609 * sysdeps/x86/bits/setjmp.h: This.
32611 * sysdeps/i386/bits/mathdef.h: Removed.
32612 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32613 * sysdeps/x86/bits/mathdef.h: This.
32615 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32618 * include/sys/socket.h (__connect_internal)
32619 (__libc_sa_len_internal): Remove declaration.
32620 (__connect, __libc_sa_len): Declare hidden_proto.
32621 (SA_LEN): Remove use of INTUSE.
32622 * socket/connect.c: Add libc_hidden_def.
32623 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32624 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32625 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32627 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32628 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32629 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32630 of adding _internal alias.
32632 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32635 * sysdeps/i386/bits/link.h: Removed.
32636 * sysdeps/i386/bits/linkmap.h: Likewise.
32637 * sysdeps/x86_64/bits/link.h: Renamed to ...
32638 * sysdeps/x86/bits/link.h: This.
32639 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32640 * sysdeps/x86/bits/linkmap.h: This.
32642 * sysdeps/i386/bits/endian.h: Removed.
32643 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32644 * sysdeps/x86/bits/endian.h: This.
32646 * sysdeps/i386/bits/byteswap.h: Removed.
32647 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32648 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32649 * sysdeps/x86/bits/byteswap.h: This.
32650 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32651 * sysdeps/x86/bits/byteswap-16.h: This.
32652 * sysdeps/i386/Implies: Add x86.
32653 * sysdeps/x86_64/Implies: Likewise.
32655 2012-05-30 David S. Miller <davem@davemloft.net>
32657 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32658 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32659 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32660 (FP_TRAPPING_EXCEPTIONS): Define.
32661 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32662 (FP_TRAPPING_EXCEPTIONS): Define.
32663 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32664 subnormals only when inexact has been signalled or underflow
32665 exceptions are enabled.
32666 (_FP_PACK_CANONICAL): Likewise.
32668 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32671 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32672 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32674 2012-05-30 Richard Henderson <rth@twiddle.net>
32676 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32677 with #ifndef NOT_IN_libc.
32679 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32680 marked to avoid plt entry.
32682 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32685 * Makeconfig (default-abi): New macro.
32686 (abi-includes): Likewise.
32687 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32688 $(abi-$(default-abi)-lib-soname) for soname if defined.
32689 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32691 * Makefile (installed-stubs): Likewise.
32692 * include/stubs-biarch.h: Removed.
32693 * scripts/lib-names.awk: Only handle one library at a time.
32694 * scripts/soversions.awk: Remove WORDSIZE support.
32695 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32697 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32699 (syscall-list-default-condition): Likewise.
32700 (syscall-list-default-condition): Likewise.
32701 (syscall-list-includes): Likewise.
32702 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32703 syscall-list-* with abi-*. Handle undefined abi-variants.
32704 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32705 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32706 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32707 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32708 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32709 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32711 (syscall-list-32-options): Likewise.
32712 (syscall-list-32-condition): Likewise.
32713 (syscall-list-64-options): Likewise.
32714 (syscall-list-64-condition): Likewise.
32715 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32717 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32720 (abi-64-ld-soname): New macro.
32721 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32722 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32725 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32726 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32728 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32730 * sysdeps/unix/sysv/linux/kernel-features.h
32731 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32732 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32733 include <kernel-features.h>.
32734 [!__NR_ftruncate64]: Remove conditional code.
32735 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32736 [__NR_ftruncate64]: Make code unconditional.
32737 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32738 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32739 include <kernel-features.h>.
32740 [!__NR_ftruncate64]: Remove conditional code.
32741 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32742 [__NR_ftruncate64]: Make code unconditional.
32743 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32745 include <kernel-features.h>.
32746 [!__NR_ftruncate64]: Remove conditional code.
32747 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32748 [__NR_ftruncate64]: Make code unconditional.
32749 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32751 include <kernel-features.h>.
32752 [!__NR_ftruncate64]: Remove conditional code.
32753 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32754 [__NR_ftruncate64]: Make code unconditional.
32755 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32757 * configure.in (libc_cv_fpie): Weaken to a compile test using
32758 LIBC_TRY_CC_OPTION.
32759 * configure: Regenerated.
32761 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32776 2012-05-27 David S. Miller <davem@davemloft.net>
32778 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32780 (__Q_simulate_exceptions): Return void. Change to simulate
32781 exceptions by writing into the %fsr.
32782 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32783 (__Qp_handle_exceptions): Likewise.
32785 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32786 __Qp_handle_exceptions.
32787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32788 __Qp_handle_exceptions.
32789 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32790 as unused and give dummy FP_RND_NEAREST initializer.
32791 (FP_INHIBIT_RESULTS): Define.
32792 (___Q_simulate_exceptions): Update declaration.
32793 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32795 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32796 as unused and give dummy FP_RND_NEAREST initializer.
32797 (__Qp_handle_exceptions): Update declaration.
32798 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32801 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32803 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32804 the temporary FPU control word.
32805 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32806 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32807 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32808 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32809 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32810 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32811 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32812 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32813 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32814 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32815 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32817 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32819 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32822 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32824 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32825 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32826 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32827 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32829 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32830 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32833 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32835 * po/h.po: Update from translation team.
32837 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32839 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32841 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32842 handling of denormals.
32843 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32844 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32845 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32846 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32848 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32852 2012-05-26 Marek Polacek <polacek@redhat.com>
32855 * math/libm-test.inc (fma_test): Don't always expect underflow
32858 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32861 * elf/tst-execstack.c: Include stackinfo.h.
32862 (do_test): Adjust test case to ensure that pthread_getattr_np
32863 behaviour remains the same after marking stack executable.
32865 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32867 * sysdeps/unix/sysv/linux/kernel-features.h
32868 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32869 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32871 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32872 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32873 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32875 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32876 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32878 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32880 * configure.in: Define the default includes to being none.
32881 * configure: Regenerated.
32883 2012-05-25 Roland McGrath <roland@hack.frob.com>
32885 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32886 * sysdeps/x86_64/setjmp.S: Likewise.
32887 * sysdeps/i386/bsd-setjmp.S: Likewise.
32888 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32889 * sysdeps/i386/setjmp.S: Likewise.
32890 * sysdeps/i386/__longjmp.S: Likewise.
32891 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32892 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32894 * include/stap-probe.h: New file.
32895 * configure.in: Handle --enable-systemtap.
32896 * configure: Regenerated.
32897 * config.h.in (USE_STAP_PROBE): New #undef.
32898 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32899 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32900 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32902 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32906 to 2.4.0 where earlier.
32907 * sysdeps/unix/sysv/linux/configure: Regenerated.
32908 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32909 <kernel-features.h>.
32910 [__ASSUME_32BITUIDS]: Make code unconditional.
32911 [!__ASSUME_32BITUIDS]: Remove conditional code.
32912 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32913 <kernel-features.h>.
32914 [__ASSUME_32BITUIDS]: Make code unconditional.
32915 [!__ASSUME_32BITUIDS]: Remove conditional code.
32916 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32917 [__ASSUME_32BITUIDS]: Make code unconditional.
32918 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32919 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32920 <kernel-features.h>.
32921 [__ASSUME_32BITUIDS]: Make code unconditional.
32922 [!__ASSUME_32BITUIDS]: Remove conditional code.
32923 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32924 <kernel-features.h>.
32925 [__ASSUME_32BITUIDS]: Make code unconditional.
32926 [!__ASSUME_32BITUIDS]: Remove conditional code.
32927 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32928 <kernel-features.h>.
32929 [__ASSUME_32BITUIDS]: Make code unconditional.
32930 [!__ASSUME_32BITUIDS]: Remove conditional code.
32931 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32932 <kernel-features.h>.
32933 [__ASSUME_32BITUIDS]: Make code unconditional.
32934 [!__ASSUME_32BITUIDS]: Remove conditional code.
32935 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32936 <kernel-features.h>.
32937 [__ASSUME_32BITUIDS]: Make code unconditional.
32938 [!__ASSUME_32BITUIDS]: Remove conditional code.
32939 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32940 <kernel-features.h>.
32941 [__ASSUME_32BITUIDS]: Make code unconditional.
32942 [!__ASSUME_32BITUIDS]: Remove conditional code.
32943 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32944 <kernel-features.h>.
32945 [__ASSUME_32BITUIDS]: Make code unconditional.
32946 [!__ASSUME_32BITUIDS]: Remove conditional code.
32947 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32948 <kernel-features.h>.
32949 [__ASSUME_32BITUIDS]: Make code unconditional.
32950 [!__ASSUME_32BITUIDS]: Remove conditional code.
32951 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32952 <kernel-features.h>.
32953 [__ASSUME_32BITUIDS]: Make code unconditional.
32954 [!__ASSUME_32BITUIDS]: Remove conditional code.
32955 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32956 <kernel-features.h>.
32957 [__ASSUME_32BITUIDS]: Make code unconditional.
32958 [!__ASSUME_32BITUIDS]: Remove conditional code.
32959 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32960 <kernel-features.h>.
32961 [__NR_setresgid] (__setresgid): Do not declare.
32962 [__ASSUME_32BITUIDS]: Make code unconditional.
32963 [!__ASSUME_32BITUIDS]: Remove conditional code.
32964 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32965 <kernel-features.h>.
32966 [__NR_setresuid] (__setresuid): Do not declare.
32967 [__ASSUME_32BITUIDS]: Make code unconditional.
32968 [!__ASSUME_32BITUIDS]: Remove conditional code.
32969 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32970 <kernel-features.h>.
32971 [__ASSUME_32BITUIDS]: Make code unconditional.
32972 [!__ASSUME_32BITUIDS]: Remove conditional code.
32973 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32974 <kernel-features.h>.
32975 [__ASSUME_32BITUIDS]: Make code unconditional.
32976 [!__ASSUME_32BITUIDS]: Remove conditional code.
32977 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32978 <kernel-features.h>.
32979 [__ASSUME_32BITUIDS]: Make code unconditional.
32980 [!__ASSUME_32BITUIDS]: Remove conditional code.
32981 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32982 <kernel-features.h>.
32983 [__ASSUME_32BITUIDS]: Make code unconditional.
32984 [!__ASSUME_32BITUIDS]: Remove conditional code.
32985 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32986 <kernel-features.h>.
32987 [__ASSUME_32BITUIDS]: Make code unconditional.
32988 [!__ASSUME_32BITUIDS]: Remove conditional code.
32989 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32990 <kernel-features.h>.
32991 [__ASSUME_32BITUIDS]: Make code unconditional.
32992 [!__ASSUME_32BITUIDS]: Remove conditional code.
32993 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32994 <kernel-features.h>.
32995 [__ASSUME_32BITUIDS]: Make code unconditional.
32996 [!__ASSUME_32BITUIDS]: Remove conditional code.
32997 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32998 <kernel-features.h>.
32999 [__ASSUME_32BITUIDS]: Make code unconditional.
33000 [!__ASSUME_32BITUIDS]: Remove conditional code.
33001 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33002 <kernel-features.h>.
33003 [__ASSUME_32BITUIDS]: Make code unconditional.
33004 [!__ASSUME_32BITUIDS]: Remove conditional code.
33005 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33006 <kernel-features.h>.
33007 [__ASSUME_32BITUIDS]: Make code unconditional.
33008 [!__ASSUME_32BITUIDS]: Remove conditional code.
33009 * sysdeps/unix/sysv/linux/kernel-features.h
33010 (__ASSUME_SETRESUID_SYSCALL): Remove.
33011 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33012 (__ASSUME_32BITUIDS): Likewise.
33013 (__ASSUME_LDT_WORKS): Likewise.
33014 (__ASSUME_O_DIRECTORY): Likewise.
33015 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33016 architecture but not kernel version.
33017 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33018 (__ASSUME_MMAP2_SYSCALL): Likewise.
33019 (__ASSUME_STAT64_SYSCALL): Likewise.
33020 (__ASSUME_IPC64): Likewise.
33021 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33022 <kernel-features.h>.
33023 [__ASSUME_32BITUIDS]: Make code unconditional.
33024 [!__ASSUME_32BITUIDS]: Remove conditional code.
33025 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33026 <kernel-features.h>.
33027 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33028 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33029 132096]: Remove conditional code.
33030 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33031 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33032 <kernel-features.h>.
33033 [__ASSUME_32BITUIDS]: Make code unconditional.
33034 [!__ASSUME_32BITUIDS]: Remove conditional code.
33035 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33036 <kernel-features.h>.
33037 [__ASSUME_32BITUIDS]: Make code unconditional.
33038 [!__ASSUME_32BITUIDS]: Remove conditional code.
33039 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33040 <kernel-features.h>.
33041 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33043 (__setresgid): Do not declare.
33044 [__ASSUME_32BITUIDS]: Make code unconditional.
33045 [!__ASSUME_32BITUIDS]: Remove conditional code.
33046 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33047 <kernel-features.h>.
33048 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33050 (__setresuid): Do not declare.
33051 [__ASSUME_32BITUIDS]: Make code unconditional.
33052 [!__ASSUME_32BITUIDS]: Remove conditional code.
33053 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33054 <kernel-features.h>.
33055 [__ASSUME_32BITUIDS]: Make code unconditional.
33056 [!__ASSUME_32BITUIDS]: Remove conditional code.
33057 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33058 <kernel-features.h>.
33059 [__ASSUME_32BITUIDS]: Make code unconditional.
33060 [!__ASSUME_32BITUIDS]: Remove conditional code.
33062 2012-05-25 Richard Henderson <rth@twiddle.net>
33064 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33065 dl_hwcap to ifunc resolver.
33066 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33068 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33069 dl_hwcap to ifunc resolver.
33070 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33072 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33075 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33076 for |x| <= 2**-26, not 2**-57.
33077 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33080 2012-05-24 Jeff Law <law@redhat.com>
33082 * stdio-common/Makefile (tests): Add bug25.
33083 * stdio-common/bug25.c: New test.
33085 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33088 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33089 multiple of MALLOC_ALIGNMENT in size.
33090 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33092 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33094 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33096 (FILENAME_MAX): Use macro-int-constant.
33097 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33098 (_IOFBF): Use macro-int-constant.
33099 (_IOLBF): Likewise.
33100 (_IONBF): Likewise.
33101 (SEEK_CUR): Likewise.
33102 (SEEK_END): Likewise.
33103 (SEEK_SET): Likewise.
33104 (TMP_MAX): Likewise.
33105 (EOF): Use macro-int-constant. Require < 0.
33106 (NULL): Use macro-constant. Require == 0.
33107 (stdin): Require type to be FILE *.
33108 (stdout): Likewise.
33109 (stderr): Likewise.
33110 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33111 macro-int-constant.
33112 (EXIT_SUCCESS): Likewise.
33113 (NULL): Use macro-constant. Require == 0.
33114 (RAND_MAX): Use macro-int-constant.
33115 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33116 [C99-based standards] (strtof): Require function.
33117 [C99-based standards] (strtold): Likewise.
33118 [C99-based standards] (strtoll): Likewise.
33119 [C99-based standards] (strtoull): Likewise.
33120 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33121 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33122 [ISO || ISO99 || ISO11] (math.h): Likewise.
33123 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33124 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33125 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33127 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33130 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33131 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33132 * intl/dgettext.c (DCGETTEXT): Likewise.
33133 * intl/gettext.c (DCGETTEXT): Likewise.
33134 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33135 * posix/regex_internal.h (gettext): Likewise.
33136 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33137 Remove declaration.
33138 * include/argz.h (__argz_count_internal)
33139 (__argz_stringify_internal): Remove declaration.
33140 (__argz_count, __argz_stringify): Declare hidden proto.
33141 * intl/dcgettext.c: Remove use of INTDEF.
33142 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33143 * string/argz-stringify.c: Likewise.
33144 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33145 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33146 Declare hidden proto.
33147 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33148 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33149 Declare hidden proto.
33150 * include/stdio.h (__asprintf_internal): Don't declare.
33151 (__asprintf): Don't define as macro. Declare hidden proto.
33152 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33153 (__fsetlocking): Declare hidden proto.
33154 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33155 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33157 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33158 (_IO_setlinebuf): Remove use of INTUSE.
33159 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33160 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33161 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33162 Remove declaration.
33163 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33164 (_IO_do_flush): Remove use of INTUSE.
33165 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33166 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33167 (_IO_adjust_column, _IO_least_wmarker)
33168 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33169 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33170 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33171 (_IO_default_doallocate, _IO_wdefault_doallocate)
33172 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33173 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33174 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33175 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33176 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33177 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33178 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33179 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33180 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33181 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33182 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33183 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33184 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33186 (_IO_flush_all_internal, _IO_adjust_column_internal)
33187 (_IO_default_uflow_internal, _IO_default_finish_internal)
33188 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33189 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33190 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33191 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33192 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33193 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33194 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33195 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33196 (_IO_file_close_internal, _IO_file_close_it_internal)
33197 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33198 (_IO_file_init_internal, _IO_file_attach_internal)
33199 (_IO_file_fopen_internal, _IO_file_read_internal)
33200 (_IO_file_sync_internal, _IO_file_seek_internal)
33201 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33202 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33203 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33204 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33205 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33206 (_IO_list_all_internal, _IO_link_in_internal)
33207 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33208 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33209 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33210 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33211 (_IO_do_write_internal, _IO_padn_internal)
33212 (_IO_getline_info_internal, _IO_getline_internal)
33213 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33214 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33215 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33216 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33217 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33218 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33219 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33220 with libc_hidden_ver, remove use of INTUSE.
33221 * libio/genops.c: Likewise.
33222 * libio/freopen.c: Likewise.
33223 * libio/freopen64.c: Likewise.
33224 * libio/iofclose.c: Likewise.
33225 * libio/iofdopen.c: Likewise.
33226 * libio/iofflush.c: Likewise.
33227 * libio/iofflush_u.c: Likewise.
33228 * libio/iofgets.c: Likewise.
33229 * libio/iofgets_u.c: Likewise.
33230 * libio/iofopen.c: Likewise.
33231 * libio/iofopncook.c: Likewise.
33232 * libio/iofread.c: Likewise.
33233 * libio/iofread_u.c: Likewise.
33234 * libio/ioftell.c: Likewise.
33235 * libio/iofwrite.c: Likewise.
33236 * libio/iogetline.c: Likewise.
33237 * libio/iogets.c: Likewise.
33238 * libio/iogetwline.c: Likewise.
33239 * libio/iopadn.c: Likewise.
33240 * libio/iopopen.c: Likewise.
33241 * libio/ioseekoff.c: Likewise.
33242 * libio/ioseekpos.c: Likewise.
33243 * libio/iosetbuffer.c: Likewise.
33244 * libio/iosetvbuf.c: Likewise.
33245 * libio/ioungetc.c: Likewise.
33246 * libio/ioungetwc.c: Likewise.
33247 * libio/iovdprintf.c: Likewise.
33248 * libio/iovsprintf.c: Likewise.
33249 * libio/iovsscanf.c: Likewise.
33250 * libio/memstream.c: Likewise.
33251 * libio/obprintf.c: Likewise.
33252 * libio/oldfileops.c: Likewise.
33253 * libio/oldiofclose.c: Likewise.
33254 * libio/oldiofdopen.c: Likewise.
33255 * libio/oldiofopen.c: Likewise.
33256 * libio/oldiopopen.c: Likewise.
33257 * libio/oldstdfiles.c: Likewise.
33258 * libio/putc.c: Likewise.
33259 * libio/setbuf.c: Likewise.
33260 * libio/setlinebuf.c: Likewise.
33261 * libio/stdfiles.c: Likewise.
33262 * libio/strops.c: Likewise.
33263 * libio/vasprintf.c: Likewise.
33264 * libio/vscanf.c: Likewise.
33265 * libio/vsnprintf.c: Likewise.
33266 * libio/vswprintf.c: Likewise.
33267 * libio/wfiledoalloc.c: Likewise.
33268 * libio/wfileops.c: Likewise.
33269 * libio/wgenops.c: Likewise.
33270 * libio/wmemstream.c: Likewise.
33271 * libio/wstrops.c: Likewise.
33272 * libio/__fpurge.c: Likewise.
33273 * libio/__fsetlocking.c: Likewise.
33274 * assert/assert.c: Likewise.
33275 * debug/fgets_chk.c: Likewise.
33276 * debug/fgets_u_chk.c: Likewise.
33277 * debug/fread_chk.c: Likewise.
33278 * debug/fread_u_chk.c: Likewise.
33279 * debug/gets_chk.c: Likewise.
33280 * debug/obprintf_chk.c: Likewise.
33281 * debug/vasprintf_chk.c: Likewise.
33282 * debug/vdprintf_chk.c: Likewise.
33283 * debug/vsnprintf_chk.c: Likewise.
33284 * debug/vsprintf_chk.c: Likewise.
33285 * malloc/mtrace.c: Likewise.
33286 * misc/error.c: Likewise.
33287 * misc/syslog.c: Likewise.
33288 * stdio-common/asprintf.c: Likewise.
33289 * stdio-common/fxprintf.c: Likewise.
33290 * stdio-common/getw.c: Likewise.
33291 * stdio-common/isoc99_fscanf.c: Likewise.
33292 * stdio-common/isoc99_scanf.c: Likewise.
33293 * stdio-common/isoc99_vfscanf.c: Likewise.
33294 * stdio-common/isoc99_vscanf.c: Likewise.
33295 * stdio-common/isoc99_vsscanf.c: Likewise.
33296 * stdio-common/printf-prs.c: Likewise.
33297 * stdio-common/printf_fp.c: Likewise.
33298 * stdio-common/printf_fphex.c: Likewise.
33299 * stdio-common/printf_size.c: Likewise.
33300 * stdio-common/putw.c: Likewise.
33301 * stdio-common/scanf.c: Likewise.
33302 * stdio-common/sprintf.c: Likewise.
33303 * stdio-common/tmpfile.c: Likewise.
33304 * stdio-common/vfprintf.c: Likewise.
33305 * stdio-common/vfscanf.c: Likewise.
33306 * stdlib/strfmon_l.c: Likewise.
33307 * sunrpc/openchild.c: Likewise.
33308 * sunrpc/xdr_stdio.c: Likewise.
33309 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33310 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33312 2012-05-24 Roland McGrath <roland@hack.frob.com>
33314 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33316 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33317 in the third column, to generate for the shared library an IFUNC
33318 that uses _dl_vdso_vsym.
33319 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33320 * Makeconfig (object-suffixes-noshared): New variable.
33322 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33323 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33324 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33325 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33328 * include/sys/time.h (__gettimeofday): Remove macro.
33329 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33330 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33332 (__gettimeofday): Add libc_hidden_def.
33333 (gettimeofday): Add libc_hidden_weak.
33334 * sysdeps/mach/gettimeofday.c: Likewise.
33335 * sysdeps/posix/gettimeofday.c: Likewise.
33336 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33337 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33338 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33339 (__gettimeofday_internal): Remove strong_alias.
33340 (__gettimeofday): Add libc_hidden_def.
33341 (gettimeofday): Add libc_hidden_weak.
33342 * sysdeps/unix/syscalls.list (gettimeofday):
33343 Remove __gettimeofday_internal alias.
33345 2012-05-24 Daniel Jacobowitz <drow@false.org>
33346 H.J. Lu <hongjiu.lu@intel.com>
33349 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33350 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33351 (largebin_index_32_big): New.
33352 (largebin_index): Use it for 16-byte alignment.
33353 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33354 correction with front_misalign.
33356 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33384 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33385 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33387 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33391 * math/libm-test.inc (exp_test): Add test from bug 14036.
33392 (pow_test): Add test from bug 10846.
33394 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33396 (special_function): Do not include flags in test name.
33397 (parse_args): Likewise.
33398 * sysdeps/i386/fpu/libm-test-ulps: Update.
33399 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33400 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33401 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33404 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33406 * math/libm-test.inc ("Philosophy"): Update comment about
33408 (UNDERFLOW_EXCEPTION): New macro.
33409 (UNDERFLOW_EXCEPTION_OK): Likewise.
33410 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33411 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33412 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33413 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33414 (INVALID_EXCEPTION_OK): Update value.
33415 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33416 (OVERFLOW_EXCEPTION_OK): Likewise.
33417 (IGNORE_ZERO_INF_SIGN): Likewise.
33418 (test_exceptions): Handle underflow exceptions.
33419 (acos_test): Update for underflow exception expectations.
33420 (cexp_test): Likewise.
33421 (clog_test): Likewise.
33422 (clog10_test): Likewise.
33423 (csqrt_test): Likewise.
33424 (ctan_test): Likewise.
33425 (ctanh_test): Likewise.
33426 (exp_test): Likewise.
33427 (exp10_test): Likewise.
33428 (exp2_test): Likewise.
33429 (expm1_test): Likewise.
33430 (fma_test): Likewise.
33431 (j0_test): Likewise.
33432 (jn_test): Likewise.
33433 (nexttoward_test): Likewise.
33434 (pow_test): Likewise.
33435 (scalbn_test): Likewise.
33436 (scalbln_test): Likewise.
33437 (tan_test): Likewise.
33438 (y1_test): Likewise.
33439 * sysdeps/i386/fpu/libm-test-ulps: Update.
33440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33442 2012-05-23 David S. Miller <davem@davemloft.net>
33444 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33445 (__libc_sigaction): Remove unused local variables.
33447 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33449 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33451 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33453 mktime: avoid signed integer overflow
33454 * time/mktime.c (__mktime_internal): Do not mishandle the case
33455 where diff == INT_MIN.
33457 mktime: simplify computation of average
33458 * time/mktime.c (ranged_convert): Use new time_t_avg function
33459 instead of rolling our own (probably-slower) code.
33461 mktime: do not assume signed right shift propagates sign bit
33462 * time/mktime.c (isdst_differ): New static function.
33463 (__mktime_internal): No need to normalize tm_isdst now.
33464 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33467 mktime: merge another wrapv change from gnulib
33468 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33469 from some compilers.
33471 mktime: remove incorrect attempt at unusual arithmetics
33472 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33473 The code didn't really work on such machines anyway.
33474 (TYPE_MINIMUM): Assume two's complement.
33475 (twos_complement_arithmetic): Verify that long_int and time_t
33476 are two's complement (or unsigned, in the latter case).
33478 mktime: check signed shifts on long_int and time_t, too
33479 * time/mktime.c (SHR): Check that shifts work as desired
33480 on the types long_int and time_t too, as SHR is used on
33483 mktime: do not assume 'long' is wide enough
33484 * time/mktime.c (verify): Move decl up.
33485 (long_int): New type.
33486 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33487 to remove assumption in the code that 'long' is wide enough to
33488 store year values. This assumption is not true on x32 and on
33489 some non-glibc platforms.
33491 mktime: merge wrapv change from gnulib
33492 * time/mktime.c (WRAPV): New macro.
33493 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33494 (guess_time_tm, __mktime_internal): Do not assume that signed
33495 integer overflow wraps around; modern compilers generate code
33496 where this assumption is no longer valid.
33498 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33500 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33501 Replace "jmp L(pseudo_end)" with "ret".
33502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33505 2012-05-23 Andreas Jaeger <aj@suse.de>
33507 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33508 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33510 2012-05-23 Andreas Jaeger <aj@suse.de>
33511 Maximilian Attems <max@stro.at>
33513 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33516 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33518 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33519 code so that pseudo_end is just ret and the stack pointer is
33520 correct also for static library in error case.
33522 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33524 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33525 move to syscalls.list.
33526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33531 * manual/install.texi (Running make install): Do not mention Linux
33532 kernel version for which pt_chown is not needed.
33533 (Linux): Do not mention problems with nscd with 2.0 kernels.
33534 * INSTALL: Regenerated.
33536 2012-05-23 Andreas Jaeger <aj@suse.de>
33538 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33539 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33541 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33542 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33543 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33544 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33545 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33546 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33547 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33548 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33549 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33550 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33551 * sysdeps/unix/sysv/linux/bits/in.h
33552 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33554 2012-05-22 Roland McGrath <roland@hack.frob.com>
33556 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33557 (PREPARE_VERSION): Just use assert instead, it will be elided
33558 under [NDEBUG] anyway.
33560 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33562 * sysdeps/unix/sysv/linux/Makefile: Include
33563 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33564 (sysdep_routines): Remove sysctl.
33565 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33566 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33567 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33568 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33569 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33571 2012-05-22 Andreas Jaeger <aj@suse.de>
33573 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33574 that pseudo_end is just ret and the stack pointer is correct also
33575 for static library in error case.
33577 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33580 * nss/nsswitch.c (defconfig_entries): New variable.
33581 (__nss_database_lookup): Don't leak defconfig entries.
33582 (nss_parse_service_list): Don't leak on error paths.
33583 (free_database_entries): New function.
33584 (free_defconfig): New function.
33585 (free_mem): Move common code to free_database_entries.
33587 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33589 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33591 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33593 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33594 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33597 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33598 (INTERNAL_SYSCALL_TYPES): Likewise.
33599 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33600 (LOAD_REGS_TYPES_[1-6]): Likewise.
33601 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33602 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33604 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33606 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33607 copysignl for GLIBC_2_0.
33608 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33609 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33610 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33611 logbl for GLIBC_2_0.
33612 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33613 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33615 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33617 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33618 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33620 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33623 * time/mktime.c: Update copyright years.
33625 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33627 mktime: merge comment-quoting-style change from gnulib
33628 * time/mktime.c: Quote 'like this' in comments.
33629 The GNU coding standards suggest that we no longer quote `like this',
33630 as "`" and "'" are typically rendered asymmetrically nowadays.
33631 The typical gnulib style is to quote 'like this' when quoting
33632 code, and "like this" when quoting English.
33634 * time/mktime.c (compile-command): Add "-I.".
33636 mktime: merge mktime-internal.h change from gnulib
33637 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33639 mktime: merge time_r change from gnulib
33640 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33642 mktime: merge DEBUG change from gnulib
33643 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33644 case system <time.h> has a #define.
33646 mktime: merge <sys/types.h> change from gnulib
33647 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33648 since <time.t> is now guaranteed to define time_t.
33650 mktime: merge HAVE_CONFIG_H change from gnulib
33651 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33653 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33658 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33660 (struct rusage): Use anonymous union to pad each field to
33663 2012-05-21 David S. Miller <davem@davemloft.net>
33665 * Makefules (o-iterator): Remove .s cases.
33666 (compile-command.s): Delete.
33667 (COMPILE.s): Delete.
33668 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33670 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33672 * configure.in (libc_cv_predef_stack_protector): Only consider
33673 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33674 * configure: Regenerated.
33676 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33679 New macro. Use R*LP on int and pointer.
33680 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33681 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33682 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33683 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33685 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33686 [__WORDSIZE_TIME64_COMPAT32] instead of
33687 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33688 (struct utmp): Likewise.
33689 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33690 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33692 (__WORDSIZE_TIME64_COMPAT32): This.
33693 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33694 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33695 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33696 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33697 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33698 (__WORDSIZE_TIME64_COMPAT32): New macro.
33700 2012-05-21 Andreas Jaeger <aj@suse.de>
33702 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33703 only if [SHARED]. Add prototype for __wcschr_ia32.
33705 2012-05-21 Roland McGrath <roland@hack.frob.com>
33707 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33708 of %rbp unmolested in the jmp_buf while mangling the low bits.
33709 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33710 unmolested high bits of %rbp while demangling the low bits.
33711 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33713 2012-05-21 Andreas Jaeger <aj@suse.de>
33715 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33716 * sunrpc/svc_simple.c: Use it for registerrpc.
33717 * sunrpc/xcrypt.c: Use it for passwd2des.
33719 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33721 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33723 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33724 Don't define if [__SYSCALL_WORDSIZE != 32].
33725 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33728 2012-05-21 Bruno Haible <bruno@clisp.org>
33729 Andreas Jaeger <aj@suse.de>
33731 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33732 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33733 inptr and inend for must_buffer_ch.
33734 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33735 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33736 * stdio-common/Makefile (tests): Remove bug15.
33737 (bug15-ENV): Remove macro.
33738 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33741 2012-05-19 Andreas Jaeger <aj@suse.de>
33742 Roland McGrath <roland@hack.frob.com>
33744 * manual/contrib.texi: Completely rewritten. It contains now an
33745 alphabetical list of contributors and their contributions.
33747 2012-05-21 Richard Henderson <rth@twiddle.net>
33749 * misc/getauxval.c (__getauxval): Use unsigned long int.
33750 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33751 (getauxval): Use unsigned long int.
33753 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33755 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33757 2012-05-21 Roland McGrath <roland@hack.frob.com>
33759 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33760 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33761 __alignof__ (long double).
33763 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33767 2012-05-20 Richard Henderson <rth@twiddle.net>
33769 * misc/getauxval.c: New file.
33770 * misc/sys/auxv.h: New file.
33771 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33772 (routines): Add getauxval.
33773 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33774 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33775 * elf/dl-sysdep.c (_dl_auxv): Remove.
33776 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33777 * elf/dl-support.c (_dl_auxv): New variable.
33778 (_dl_aux_init): Initialize it.
33779 * manual/startup.texi (Auxiliary Vector): New node.
33780 * sysdeps/generic/bits/hwcap.h: New file.
33781 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33782 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33783 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33784 * sysdeps/sparc/sysdep.h: ... here. Include it.
33785 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33786 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33792 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33798 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33802 2012-05-19 David S. Miller <davem@davemloft.net>
33804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33806 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33809 * math/s_ccosh.c: Include <float.h>
33810 (__ccosh): Avoid internal overflow calculating sinh and cosh
33811 values before multiplying by sin and cos values.
33812 * math/s_ccoshf.c: Likewise.
33813 * math/s_ccoshl.c: Likewise.
33814 * math/s_csin.c: Likewise.
33815 * math/s_csinf.c: Likewise.
33816 * math/s_csinl.c: Likewise.
33817 * math/s_csinh.c: Likewise.
33818 * math/s_csinhf.c: Likewise.
33819 * math/s_csinhl.c: Likewise.
33820 * math/libm-test.inc (ccos_test): Add more tests.
33821 (ccosh_test): Likewise.
33822 (csin_test): Likewise.
33823 (csinh_test): Likewise.
33824 * sysdeps/i386/fpu/libm-test-ulps: Update.
33825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33827 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33829 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33830 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33832 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33834 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33836 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33837 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33838 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33839 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33840 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33841 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33842 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33843 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33844 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33845 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33846 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33847 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33848 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33849 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33850 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33851 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33852 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33853 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33854 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33855 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33856 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33857 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33858 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33859 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33860 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33861 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33862 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33863 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33864 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33865 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33866 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33868 2012-05-18 Andreas Jaeger <aj@suse.de>
33870 * csu/.gitignore: Delete.
33872 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33874 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33875 (timex): Use __syscall_slong_t.
33877 2012-05-18 Andreas Jaeger <aj@suse.de>
33878 Carlos O'Donell <carlos_odonell@mentor.com>
33880 * manual/install.texi (Configuring and compiling): Update
33881 description about files modified in the source directory.
33882 * INSTALL: Regenerated.
33884 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33886 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33887 value. Use "or" to set return value to -1.
33888 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33889 negate return value.
33891 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33893 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33894 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33895 failure if the compiler has Graphite support disabled.
33896 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33898 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33899 (CFLAGS-memmove.c): Likewise.
33900 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33903 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33905 * sysdeps/x86_64/x32/_itoa.h: New file.
33907 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33908 getdents system call only if kernel and user dirents have the
33909 same d_ino and d_off.
33911 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33912 LLONG_MAX != LONG_MAX.
33913 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33914 (_fitoa_word): Likewise.
33916 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33918 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33919 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33920 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33922 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33923 include <bits/wordsize.h>. Check __x86_64__ instead of
33925 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33926 if __x86_64__ is defined. Use anonymous union on fpstate.
33928 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33931 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33933 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33934 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33935 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33936 Refer to _rtld_local_ro instead of _rtld_global_ro.
33937 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33939 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33941 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33943 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33944 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33945 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33947 * sysdeps/powerpc/powerpc32/dl-machine.c
33948 (__elf_machine_runtime_setup) [PROF]: Don't reference
33951 2012-05-18 Andreas Jaeger <aj@suse.de>
33953 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33954 function only available for GCCs before 3.4 since GCC 3.4
33955 introduced a builtin.
33957 (llrintf): Likewise.
33958 (llrint): Likewise.
33965 (nearbyint): Likewise.
33966 (nearbyintf): Likewise.
33970 (floorf): Likewise.
33972 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33974 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33975 on both fields and cast pointer to __syscall_ulong_t.
33977 * bits/types.h (__fsword_t): New type.
33978 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33979 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33981 (__FSWORD_T_TYPE): Likewise.
33982 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33983 (__FSWORD_T_TYPE): Likewise.
33984 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33985 (__FSWORD_T_TYPE): Likewise.
33986 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33987 (__FSWORD_T_TYPE): Likewise.
33988 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33989 __SWORD_TYPE with __fsword_t.
33990 (statfs64): Likewise.
33992 2012-05-17 David S. Miller <davem@davemloft.net>
33994 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33996 2012-05-17 Andreas Jaeger <aj@suse.de>
33998 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34001 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34003 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34005 2012-05-17 Andreas Jaeger <aj@suse.de>
34007 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34010 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34012 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34014 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34016 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34017 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34019 2012-05-17 Andreas Jaeger <aj@suse.de>
34020 Carlos O'Donell <carlos_odonell@mentor.com>
34023 * sysdeps/x86_64/multiarch/init-arch.h
34024 (bit_YMM_Usable): Rename to...
34025 (bit_AVX_Usable): ... this.
34026 (bit_FMA4_Usable): New macro.
34027 (bit_XMM_state): New macro.
34028 (bit_YMM_state): New macro.
34029 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34030 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34031 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34032 (CPUID_OSXSAVE): New macro.
34033 (CPUID_AVX): New macro.
34034 (CPUID_FMA4): New macro.
34035 (index_YMM_Usable): Rename to...
34036 (index_AVX_Usable): ... this.
34037 (HAS_AVX): Use HAS_ARCH_FEATURE.
34038 (HAS_FMA4): Likewise.
34039 (HAS_YMM_USABLE): Remove.
34040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34041 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34043 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34044 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34045 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34046 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34047 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34049 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34051 * math/libm-test.c: Support platforms without multiple rounding modes.
34052 * math/bug-nextafter.c: Support platforms without FP exceptions.
34053 * math/bug-nexttoward.c: Likewise.
34054 * math/test-fenv.c: Likewise.
34055 * math/test-misc.c: Likewise.
34056 * stdlib/bug-getcontext.c: Likewise.
34058 2012-05-17 Andreas Jaeger <aj@suse.de>
34060 * manual/examples/search.c (critter_cmp): Change signature to
34062 * manual/string.texi (Collation Functions): Likewise.
34064 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34066 * bits/types.h: Fold copyright years.
34067 * bits/typesizes.h: Likewise.
34068 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34069 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34071 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34072 * time/time.h: Likewise.
34074 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34077 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34078 in instead of returning them. Return void.
34079 (__libc_mallinfo): Accumulate over all arenas.
34080 (__malloc_stats): Adjust for change in int_mallinfo interface.
34082 2012-05-16 Roland McGrath <roland@hack.frob.com>
34085 * configure.in (NM): Add AC_CHECK_TOOL for it.
34086 (libc_extra_cflags): New substituted variable.
34087 Check for -fstack-protector being used implicitly.
34088 * configure: Regenerated.
34089 * config.make.in (config-extra-cflags): New variable,
34090 gets @libc_extra_cflags@.
34091 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34094 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34095 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34096 * configure: Regenerated.
34097 * config.make.in (CPPUNDEFS): New substituted variable.
34098 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34099 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34100 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34102 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34104 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34105 (mq_attr): Use __syscall_slong_t.
34107 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34109 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34110 Check __x86_64__ instead of __WORDSIZE.
34111 (_STAT_VER_LINUX): Likewise.
34112 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34113 __syscall_ulong_t and __syscall_slong_t.
34114 (stat64): Likewise.
34116 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34118 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34120 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34122 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34124 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34126 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34129 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34130 include <bits/wordsize.h>. Check __x86_64__ instead of
34132 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34134 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34136 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34137 include <bits/wordsize.h>. Check __x86_64__ instead of
34139 (user_regs_struct): Use "__extension__ unsigned long long"
34140 instead of "unsigned long" if __x86_64__ is defined.
34141 (user): Likewise. Pad after pointer field if __ILP32__ is
34144 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34146 * configure.in (makeinfo): Require version 4.5 or later. Allow
34148 * configure: Regenerated.
34149 * manual/install.texi (texinfo): Increase version requirement to
34151 * INSTALL: Regenerated.
34153 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34155 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34157 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34159 * sysdeps/x86_64/x32/ffs.c: New file.
34161 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34163 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34164 defined. Use __syscall_ulong_t.
34165 (shminfo): Use __syscall_ulong_t.
34166 (shm_info): Likewise.
34168 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34171 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34173 (msgqnum_t): Use __syscall_ulong_t.
34174 (msglen_t): Likewise.
34175 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34178 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34179 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34181 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34183 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34184 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34186 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34189 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34190 include <bits/wordsize.h>. Check __x86_64__ instead of
34193 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34194 "unsigned long long int" if __x86_64__ is defined.
34195 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34197 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34198 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34199 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34201 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34203 (GET_PC): Cast to uintptr_t first.
34204 (GET_FRAME): Likewise.
34205 (GET_STACK): Likewise.
34207 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34208 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34209 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34210 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34211 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34212 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34213 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34214 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34215 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34216 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34217 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34218 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34219 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34220 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34221 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34222 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34223 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34224 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34225 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34226 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34227 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34228 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34229 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34230 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34231 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34232 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34233 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34234 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34235 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34237 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34239 * Makerules (+depfiles): Also collect depfiles from .oS in
34241 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34242 .oS, $(libnldbl-routines)).
34244 * Makerules (native-compile-mkdep-flags): Define.
34245 * sunrpc/Makefile (extra-objs): Add $(addprefix
34246 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34247 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34248 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34249 calling $(make-target-directory).
34251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34253 * bits/types.h (__snseconds_t): Removed.
34254 * time/time.h (struct timespec): Replace __snseconds_t with
34256 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34257 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34259 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34260 (__SNSECONDS_T_TYPE): Likewise.
34261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34262 (__SNSECONDS_T_TYPE): Likewise.
34263 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34264 (__SNSECONDS_T_TYPE): Likewise.
34266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34268 * sysdeps/mach/hurd/bits/typesizes.h
34269 (__SYSCALL_SLONG_TYPE): New macro.
34270 (__SYSCALL_ULONG_TYPE): Likewise.
34272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34274 * bits/types.h (__syscall_slong_t): New type.
34275 (__syscall_ulong_t): Likewise.
34277 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34278 (__SYSCALL_ULONG_TYPE): Likewise.
34279 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34280 (__SYSCALL_SLONG_TYPE): Likewise.
34281 (__SYSCALL_ULONG_TYPE): Likewise.
34282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34283 (__SYSCALL_SLONG_TYPE): Likewise.
34284 (__SYSCALL_ULONG_TYPE): Likewise.
34285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34286 (__SYSCALL_SLONG_TYPE): Likewise.
34287 (__SYSCALL_ULONG_TYPE): Likewise.
34289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34291 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34292 Add sigaltstack-offsets.sym.
34293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34294 <sigaltstack-offsets.h>.
34295 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34296 longjmp_msg pointer.
34297 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34298 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34300 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34302 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34304 * elf/stackguard-macros.h: Remove file.
34305 * sysdeps/generic/stackguard-macros.h: New file.
34306 * sysdeps/i386/stackguard-macros.h: Likewise.
34307 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34308 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34309 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34310 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34311 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34312 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34313 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34314 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34315 <elf/stackguard-macros.h>.
34318 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34319 __aligned__ in attribute.
34320 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34321 (gregset_t): Likewise.
34323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34325 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34326 * sysdeps/x86_64/64/Implies-after: Here. New file.
34327 * sysdeps/x86_64/x32/Implies-after: New file.
34329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34331 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34332 and access return value for _dl_profile_fixup. Use R10_LP to
34335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34337 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34339 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34341 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34342 * sysdeps/x86_64/x32/sysdep.h: New file.
34344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34346 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34347 * sysdeps/x86_64/setjmp.S: Likewise.
34349 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34351 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34352 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34353 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34354 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34355 remove unused global constant.
34357 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34359 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34360 include of <not-cancel.h>.
34362 2012-05-15 Roland McGrath <roland@hack.frob.com>
34364 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34366 2012-05-15 Jeff Law <law@redhat.com>
34367 Andreas Jaeger <aj@suse.de>
34370 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34372 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34373 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34374 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34375 code changing __hst_map_handle.map.
34377 2012-05-15 Roland McGrath <roland@hack.frob.com>
34379 * configure.in (sysnames): Look for Implies-before and Implies-after
34381 * configure: Regenerated.
34383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34385 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34386 8-byte data alignment with LP_SIZE alignment.
34388 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34390 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34395 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34399 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34400 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34401 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34403 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34407 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34408 (stackinfo_sub_sp): Likewise.
34410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34412 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34417 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34422 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34427 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34431 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34432 into R11_LP and load __x86_64_shared_cache_size_half into
34435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34437 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34440 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34442 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34444 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34448 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34449 powerpc32/power7/fpu/s_logb.c via #include.
34450 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34451 powerpc32/power7/fpu/s_logbf.c via #include.
34452 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34453 powerpc32/power7/fpu/s_logbl.c via #include.
34455 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34457 * README.libm: Remove file.
34459 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34461 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34462 count for x32. Use R*_LP and omit operand-size suffix.
34464 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34466 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34467 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34468 * sysdeps/x86_64/x32/shlib-versions: New file.
34470 2012-05-14 Roland McGrath <roland@hack.frob.com>
34472 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34473 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34474 Use _dl_fatal_printf instead.
34476 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34478 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34479 set if not set by the user. Do not allow for being unset.
34480 * sysdeps/unix/sysv/linux/configure: Regenerated.
34482 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34484 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34485 the `q' suffix from lea and replace .quad with ASM_ADDR.
34487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34490 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34492 (PTR_DEMANGLE): Likewise.
34494 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34496 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34498 (ASM_ADDR): Likewise.
34499 (RAX_LP): Likewise.
34500 (RBP_LP): Likewise.
34501 (RBX_LP): Likewise.
34502 (RCX_LP): Likewise.
34503 (RDI_LP): Likewise.
34504 (RSI_LP): Likewise.
34505 (RSP_LP): Likewise.
34508 (R10_LP): Likewise.
34509 (R10_LP): Likewise.
34510 (R11_LP): Likewise.
34511 (R12_LP): Likewise.
34512 (R13_LP): Likewise.
34513 (R14_LP): Likewise.
34514 (R15_LP): Likewise.
34516 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34518 * sysdeps/x86_64/x32/dl-machine.h: New file.
34520 2012-05-14 Andreas Jaeger <aj@suse.de>
34522 * manual/Makefile (subdir): Remove export of subdir.
34523 (all): Remove target.
34524 (.PHONY): Remove all from list.
34525 (mkinstalldirs): Remove.
34526 (.PHONY): Remove installdirs from list.
34527 ($(inst_infodir)/libc.info): Use make-target-directory.
34528 (installdirs): Remove.
34529 (subdir_%): Remove.
34530 (glibc-targets): Remove.
34533 ($(objpfx)stubs ../po/manual.pot): Remove.
34534 ($(objpfx)stamp%): Remove.
34535 (make-target-directory): Remove.
34536 (subdir_install): Remove.
34537 (routines): Remove.
34544 * manual/.gitignore: Remove, it's not needed anymore.
34545 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34547 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34549 (texis): Renamed to $(objpfx)texis.
34550 (texis-path): New, contains path to generated files.
34551 (chapters.%): Use texis-path for complete path, add extra argument
34553 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34554 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34555 (summary,texi, stamp-summary): Use complete path of
34556 files. Generate files in build dir.
34557 (dir-add.texi): Build in build dir.
34558 (libm-err.texi,stamp-libm-err): Likewise.
34559 (version.texi, stamp-version): Likewise.
34560 (.%c.texi): Likewise.
34561 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34562 (mostlyclean): Remove target.
34563 (realclean): Remove target.
34564 (generated): Add new variable with contents from mostlyclean and
34565 realclean, remove entries duplicated in common-mostlyclean, add
34566 stamp-libm-err and stamp-version.
34567 (generated-dirs): Add libc directory.
34568 ($(inst_infodir)/libc.info): Install files from build dir.
34570 * manual/install.texi (Configuring and compiling): Adjust since
34571 the info files are not part of the tar ball anymore.
34573 2012-05-14 Andreas Jaeger <aj@suse.de>
34575 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34578 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34581 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34582 to 2.2.0 where earlier.
34583 * sysdeps/unix/sysv/linux/configure: Regenerated.
34584 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34585 Remove conditional code.
34586 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34587 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34588 Remove conditional code.
34589 [!__NR_lchown]: Likewise.
34590 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34591 [__NR_lchown]: Likewise.
34592 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34593 comment referencing __ASSUME_LCHOWN_SYSCALL.
34594 * sysdeps/unix/sysv/linux/i386/sigaction.c
34595 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34596 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34597 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34598 Remove conditional code.
34599 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34600 (__protocol_available): Remove #if 0 code.
34601 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34603 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34604 * sysdeps/unix/sysv/linux/kernel-features.h
34605 (__ASSUME_GETCWD_SYSCALL): Don't define.
34606 (__ASSUME_REALTIME_SIGNALS): Likewise.
34607 (__ASSUME_PREAD_SYSCALL): Likewise.
34608 (__ASSUME_PWRITE_SYSCALL): Likewise.
34609 (__ASSUME_POLL_SYSCALL): Likewise.
34610 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34611 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34613 (__ASSUME_SIOCGIFNAME): Don't define.
34614 (__ASSUME_MSG_NOSIGNAL): Likewise.
34615 (__ASSUME_SENDFILE): Define unconditionally.
34616 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34617 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34619 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34620 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34621 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34622 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34623 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34624 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34625 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34627 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34628 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34630 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34631 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34633 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34634 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34636 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34637 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34639 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34642 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34645 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34650 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34651 Remove conditional code.
34652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34653 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34654 Remove conditional code.
34655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34656 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34657 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34658 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34659 Remove conditional code.
34660 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34661 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34662 Remove conditional code.
34663 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34664 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34665 Remove conditional code.
34666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34667 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34668 Remove conditional code.
34669 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34670 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34671 Remove conditional code.
34672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34673 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34674 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34676 * sysdeps/unix/sysv/linux/sigaction.c
34677 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34678 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34679 * sysdeps/unix/sysv/linux/sigpending.c
34680 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34681 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34682 * sysdeps/unix/sysv/linux/sigprocmask.c
34683 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34684 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34685 * sysdeps/unix/sysv/linux/sigsuspend.c
34686 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34687 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34688 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34689 (__libc_missing_rt_sigs): Remove.
34690 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34691 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34692 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34693 Remove conditional code.
34694 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34695 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34697 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34698 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34699 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34700 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34702 2012-05-14 Andreas Jaeger <aj@suse.de>
34704 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34705 it's not used in glibc.
34706 (__coshm1): Likewise.
34707 (__acosh1p): Likewise.
34710 * manual/string.texi (Copying and Concatenation): Add missing
34711 variable in concat example.
34712 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34714 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34718 __builtin_clzl with __builtin_clzll.
34720 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34723 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34726 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34728 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34729 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34730 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34731 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34733 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34735 * NEWS: Update ia64 info.
34737 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34739 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34742 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34744 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34745 * sysdeps/unix/syscalls.list (dup3): Likewise.
34746 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34747 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34749 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34751 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34752 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34754 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34756 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34758 (TLS_IE): Use mov/add instead of movq/addq to load thread
34760 (TLS_GD_PREFIX): New.
34763 2012-05-11 David S. Miller <davem@davemloft.net>
34765 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34766 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34767 (_FPU_SETCW): Likewise.
34769 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34771 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34772 is 32-byte aligned.
34774 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34777 * iconvdata/gb18030.c: Update tables.
34778 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34779 characters specially.
34780 (BODY for TO_LOOP): Add encoding of missing ranges.
34782 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34785 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34786 * sysdeps/mach/hurd/dup3.c: Likewise.
34787 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34788 * sysdeps/powerpc/memmove.c:: Likewise.
34790 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34792 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34793 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34795 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34797 * elf/elf.h (R_X86_64_RELATIVE64): New.
34798 (R_X86_64_NUM): Updated.
34799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34800 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34801 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34802 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34803 tst-quad1pie tst-quad2pie
34804 (modules-names): Add tst-quadmod1 tst-quadmod2.
34805 ($(objpfx)tst-quad1): New dependency.
34806 ($(objpfx)tst-quad2): Likewise.
34807 ($(objpfx)tst-quad1pie): Likewise.
34808 ($(objpfx)tst-quad2pie): Likewise.
34809 * sysdeps/x86_64/tst-quad1.c: New file.
34810 * sysdeps/x86_64/tst-quad1pie.c: New file.
34811 * sysdeps/x86_64/tst-quad2.c: Likewise.
34812 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34813 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34814 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34815 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34816 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34818 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34820 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34821 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34822 * streams/stropts.h (t_scalar_t): Define type.
34824 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34825 (_PATH_PRESERVE): Set to "/var/lib".
34826 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34828 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34831 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34832 if __dir_mkfile succeeded.
34834 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34835 checking for _hurd_dtablesize. Unlock it right after having
34836 finished _hurd_dtable allocation.
34838 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34840 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34841 * sysdeps/mach/hurd/configure: Regenerated.
34842 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34843 special-casing to...
34844 * sysdeps/gnu/configure.in: ... this new file.
34845 * sysdeps/unix/sysv/linux/configure: Regenerated.
34846 * sysdeps/gnu/configure: New generated file.
34848 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34849 for Linux: use nsec instead of usec, as well as:
34850 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34851 members of type struct timespec.
34852 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34854 (struct stat64): Likewise.
34855 (_STATBUF_ST_NSEC): New macro.
34856 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34858 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34859 __strtoul_internal rather than strtoul.
34861 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34863 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34866 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34868 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34869 which preserves existing values.
34870 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34872 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34874 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34875 TIMEOUT values. Return EINVAL for NFDS values either negative or
34876 greater than FD_SETSIZE.
34878 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34880 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34881 allocated, call __vm_protect to finish enabling the existing space, and
34882 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34883 allocate the remainder.
34885 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34887 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34888 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34892 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34893 sysdeps/mach/hurd/readlink.c.
34895 * posix/tst-sysconf.c (posix_options): Only use
34896 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34897 _POSIX_SYNCHRONIZED_IO when they are defined
34898 * sysdeps/mach/hurd/bits/posix_opt.h:
34899 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34900 (_XOPEN_REALTIME): Undefine macro.
34901 (_XOPEN_REALTIME_THREADS): Undefine macro.
34902 (_XOPEN_SHM): Undefine macro.
34903 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34905 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34907 (_POSIX_ASYNC_IO): Undefine macro.
34908 (_POSIX_PRIORITIZED_IO): Undefine macro.
34909 (_POSIX_SPIN_LOCKS): Define macro to -1.
34911 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34912 SA_NODEFER, SA_RESETHAND.
34913 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34914 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34917 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34919 * elf/Makefile (pldd-modules): Define unconditionally.
34921 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34923 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34925 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34927 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34928 Return ENOENT when name is empty.
34929 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34931 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34933 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34935 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34937 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34939 Fix mlock in all cases except non-readable pages.
34940 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34941 instead of VM_PROT_ALL as parameter to __vm_wire function.
34943 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34944 (__mkdir): When path is `/', just fail with EEXIST.
34945 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34947 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34949 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34950 <sys/uio.h> (for writev).
34951 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34952 and <sys/param.h> (for MIN).
34954 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34956 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34957 REQUESTED_TIME. Properly set the remaining time and return EINTR
34960 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34962 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34963 Depend on against $(link-rpcuserlibs).
34965 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34967 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34968 (__libc_stack_end): Do not use attribute_relro.
34969 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34970 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34971 to libthread-provided value.
34972 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34975 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34978 * bits/libc-lock.h (__libc_once_get): New macro.
34979 * sysdeps/mach/bits/libc-lock.h: Likewise.
34980 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34981 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34982 instead of using implementation details.
34984 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34985 * libio/freopen.c: Likewise.
34986 * libio/freopen64.c: Likewise.
34987 * misc/syslog.c: Likewise.
34988 * nscd/connections.c: Likewise.
34989 * nscd/netgroupcache.c: Likewise.
34990 * sysdeps/posix/getcwd.c: Likewise.
34992 2012-05-10 Roland McGrath <roland@hack.frob.com>
34994 * math/w_ilogbf.c: Add #include <limits.h>.
34996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34998 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34999 path instead of returning without unlocking.
35001 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35002 immediate-write ioctls.
35003 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35005 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35007 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35008 __builtin_frame_address instead of making assumptions about the
35009 location of the return address relative to DATA. Force early load of
35010 the return address.
35011 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35012 __builtin_frame_address.
35015 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35016 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35017 implement dup3 and do some further code clean-ups.
35018 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35019 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35023 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35025 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35026 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35027 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35028 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35029 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35032 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35033 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35034 when handler == SIG_ERR, not when handler != SIG_ERR.
35036 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35038 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35039 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35042 accept4 for GNU Hurd.
35043 * include/sys/socket.h (__libc_accept4): New prototype.
35044 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35045 to implement __libc_accept4.
35046 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35048 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35050 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35051 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35052 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35053 signal-defines.sym.
35055 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35057 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35059 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35061 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35062 assertion on O_CLOEXEC flag.
35063 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35064 * hurd/intern-fd.c: Likewise.
35065 * hurd/port2fd.c: Likewise.
35067 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35070 * bits/in.h (IPV6_PKTINFO): Define new macro.
35071 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35073 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35078 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35079 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35080 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35081 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35082 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35083 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35084 * math/libm-test.inc (logb_test) : Additional logb tests.
35086 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35087 Andreas Jaeger <aj@suse.de>
35089 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35090 * configure: Regenerated.
35091 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35092 * config.make.in (link-obsolete-rpc): New substituted variable.
35093 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35094 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35095 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35096 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35097 so that libc.a contains the symbols.
35098 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35099 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35100 * sunrpc/auth_none.c: Likewise.
35101 * sunrpc/auth_unix.c: Likewise.
35102 * sunrpc/authdes_prot.c: Likewise.
35103 * sunrpc/authuxprot.c: Likewise.
35104 * sunrpc/clnt_gen.c: Likewise.
35105 * sunrpc/clnt_perr.c: Likewise.
35106 * sunrpc/clnt_raw.c: Likewise.
35107 * sunrpc/clnt_simp.c: Likewise.
35108 * sunrpc/clnt_tcp.c: Likewise.
35109 * sunrpc/clnt_udp.c: Likewise.
35110 * sunrpc/clnt_unix.c: Likewise.
35111 * sunrpc/des_crypt.c: Likewise.
35112 * sunrpc/des_soft.c: Likewise.
35113 * sunrpc/get_myaddr.c: Likewise.
35114 * sunrpc/key_call.c: Likewise.
35115 * sunrpc/key_prot.c: Likewise.
35116 * sunrpc/netname.c: Likewise.
35117 * sunrpc/pm_getmaps.c: Likewise.
35118 * sunrpc/pm_getport.c: Likewise.
35119 * sunrpc/pmap_clnt.c: Likewise.
35120 * sunrpc/pmap_prot.c: Likewise.
35121 * sunrpc/pmap_prot2.c: Likewise.
35122 * sunrpc/pmap_rmt.c: Likewise.
35123 * sunrpc/publickey.c: Likewise.
35124 * sunrpc/rpc_cmsg.c: Likewise.
35125 * sunrpc/rpc_common.c: Likewise.
35126 * sunrpc/rpc_dtable.c: Likewise.
35127 * sunrpc/rpc_prot.c: Likewise.
35128 * sunrpc/rpc_thread.c: Likewise.
35129 * sunrpc/rtime.c: Likewise.
35130 * sunrpc/svc.c: Likewise.
35131 * sunrpc/svc_auth.c: Likewise.
35132 * sunrpc/svc_raw.c: Likewise.
35133 * sunrpc/svc_run.c: Likewise.
35134 * sunrpc/svc_tcp.c: Likewise.
35135 * sunrpc/svc_udp.c: Likewise.
35136 * sunrpc/svc_unix.c: Likewise.
35137 * sunrpc/svcauth_des.c: Likewise.
35138 * sunrpc/xcrypt.c: Likewise.
35139 * sunrpc/xdr.c: Likewise.
35140 * sunrpc/xdr_array.c: Likewise.
35141 * sunrpc/xdr_float.c: Likewise.
35142 * sunrpc/xdr_intXX_t.c: Likewise.
35143 * sunrpc/xdr_mem.c: Likewise.
35144 * sunrpc/xdr_rec.c: Likewise.
35145 * sunrpc/xdr_ref.c: Likewise.
35146 * sunrpc/xdr_sizeof.c: Likewise.
35147 * sunrpc/xdr_stdio.c: Likewise.
35149 2012-05-10 Roland McGrath <roland@hack.frob.com>
35151 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35152 change. Update copyright years.
35154 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35156 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35158 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35159 Joseph Myers <joseph@codesourcery.com>
35160 Paul Pluzhnikov <ppluzhnikov@google.com>
35163 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35165 [cross-compiling] (extra-libs): Likewise.
35166 [cross-compiling] (extra-libs-others): Likewise.
35167 [cross-compiling] (librpcsvc-routines): Likewise.
35168 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35169 [cross-compiling] (omit-deps): Likewise.
35170 (sunrpc-CPPFLAGS): New variable.
35171 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35172 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35173 (cross-rpcgen-objs): New variable.
35174 (extra-objs): Append $(cross-rpcgen-objs).
35175 ($(cross-rpcgen-objs)): New rule.
35176 ($(objpfx)cross-rpcgen): Likewise.
35177 (rpcgen-cmd): Define to use $(built-program-file). Expand
35179 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35180 ($(objpfx)x%.stmp): Likewise.
35181 * sunrpc/proto.h [IS_IN_build] (_): Define.
35182 [IS_IN_build] (_libc_intl_domainname): Likewise.
35184 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35186 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35187 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35188 and R_X86_64_TPOFF64.
35190 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35192 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35193 sysdeps/unix/sysv/syscalls.list.
35196 * sysdeps/unix/sysv/syscalls.list: Remove file.
35198 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35201 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35202 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35203 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35204 (__LC_IDENTIFICATION): Make these macros useful in #if
35205 expressions, as required by C99.
35207 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35209 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35210 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35213 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35215 * stdlib/longlong.h: Updated from GCC.
35217 2012-05-09 Andreas Jaeger <aj@suse.de>
35219 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35220 default is first entry.
35221 (run_mode): Set type.
35222 (main): Remove informal message about syslog.
35223 (options): Fix typo.
35226 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35229 (llrintf): Likewise.
35230 (llrint): Likewise.
35233 (nearbyint): Likewise.
35234 (nearbyintf): Likewise.
35236 2012-05-09 Andreas Jaeger <aj@suse.de>
35237 Pedro Alves <palves@redhat.com>
35239 * nscd/nscd.c (run_mode): Use enum.
35240 (main): Cleanup coding style issue.
35242 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35243 Andreas Jaeger <aj@suse.de>
35245 * nscd/nscd.c (go_background): Replaced with...
35246 (run_mode): ... this.
35247 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35248 (options): Add -F --foreground.
35249 (main): Implement it.
35250 (parse_opt): Parse it.
35252 2012-05-09 Andreas Jaeger <aj@suse.de>
35255 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35256 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35257 -Wconversion warning.
35258 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35261 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35263 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35265 (LC_ALL): Use macro-int-constant.
35266 (LC_COLLATE): Likewise.
35267 (LC_CTYPE): Likewise.
35268 (LC_MESSAGES): Likewise.
35269 (LC_MONETARY): Likewise.
35270 (LC_NUMERIC): Likewise.
35271 (LC_TIME): Likewise.
35272 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35273 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35274 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35275 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35277 [C99-based standards] (float_t): Expect type.
35278 [C99-based standards] (double_t): Expect type.
35279 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35281 [C99-based standards] (HUGE_VALL): Likewise.
35282 [C99-based standards] (INFINITY): Likewise.
35283 [C99-based standards] (NAN): Likewise.
35284 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35285 [C99-based standards] (FP_NAN): Likewise.
35286 [C99-based standards] (FP_NORMAL): Likewise.
35287 [C99-based standards] (FP_SUBNORMAL): Likewise.
35288 [C99-based standards] (FP_ZERO): Likewise.
35289 [C99-based standards] (FP_FAST_FMA): Use
35290 optional-macro-int-constant. Specify type. Require == 1.
35291 [C99-based standards] (FP_FAST_FMAF): Likewise.
35292 [C99-based standards] (FP_FAST_FMAL): Likewise.
35293 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35294 [C99-based standards] (FP_ILOGBNAN): Likewise.
35295 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35297 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35298 [C99-based standards] (math_errhandling): Specify type.
35299 [ISO99 || ISO11] (signgam): Do not allow.
35300 [non-C99-based standards] (copysignf): Do not allow.
35301 [non-C99-based standards] (exp2f): Likewise.
35302 [non-C99-based standards] (log2f): Likewise.
35303 [non-C99-based standards] (modff): Allow.
35304 [non-C99-based standards] (erff): Do not allow.
35305 [non-C99-based standards] (erfcf): Likewise.
35306 [non-C99-based standards] (gammaf): Likewise.
35307 [non-C99-based standards] (hypotf): Likewise.
35308 [non-C99-based standards] (j0f): Likewise.
35309 [non-C99-based standards] (j1f): Likewise.
35310 [non-C99-based standards] (jnf): Likewise.
35311 [non-C99-based standards] (lgammaf): Likewise.
35312 [non-C99-based standards] (tgammaf): Likewise.
35313 [non-C99-based standards] (y0f): Likewise.
35314 [non-C99-based standards] (y1f): Likewise.
35315 [non-C99-based standards] (ynf): Likewise.
35316 [non-C99-based standards] (isnanf): Likewise.
35317 [non-C99-based standards] (acoshf): Likewise.
35318 [non-C99-based standards] (asinhf): Likewise.
35319 [non-C99-based standards] (atanhf): Likewise.
35320 [non-C99-based standards] (cbrtf): Likewise.
35321 [non-C99-based standards] (expm1f): Likewise.
35322 [non-C99-based standards] (ilogbf): Likewise.
35323 [non-C99-based standards] (log1pf): Likewise.
35324 [non-C99-based standards] (logbf): Likewise.
35325 [non-C99-based standards] (nextafterf): Likewise.
35326 [non-C99-based standards] (remainderf): Likewise.
35327 [non-C99-based standards] (rintf): Likewise.
35328 [non-C99-based standards] (scalbf): Likewise.
35329 [non-C99-based standards] (copysignl): Likewise.
35330 [non-C99-based standards] (exp2l): Likewise.
35331 [non-C99-based standards] (log2l): Likewise.
35332 [non-C99-based standards] (modfl): Allow.
35333 [non-C99-based standards] (erfl): Do not allow.
35334 [non-C99-based standards] (erfcl): Likewise.
35335 [non-C99-based standards] (gammal): Likewise.
35336 [non-C99-based standards] (hypotl): Likewise.
35337 [non-C99-based standards] (j0l): Likewise.
35338 [non-C99-based standards] (j1l): Likewise.
35339 [non-C99-based standards] (jnl): Likewise.
35340 [non-C99-based standards] (lgammal): Likewise.
35341 [non-C99-based standards] (tgammal): Likewise.
35342 [non-C99-based standards] (y0l): Likewise.
35343 [non-C99-based standards] (y1l): Likewise.
35344 [non-C99-based standards] (ynl): Likewise.
35345 [non-C99-based standards] (isnanl): Likewise.
35346 [non-C99-based standards] (acoshl): Likewise.
35347 [non-C99-based standards] (asinhl): Likewise.
35348 [non-C99-based standards] (atanhl): Likewise.
35349 [non-C99-based standards] (cbrtl): Likewise.
35350 [non-C99-based standards] (expm1l): Likewise.
35351 [non-C99-based standards] (ilogbl): Likewise.
35352 [non-C99-based standards] (log1pl): Likewise.
35353 [non-C99-based standards] (logbl): Likewise.
35354 [non-C99-based standards] (nextafterl): Likewise.
35355 [non-C99-based standards] (remainderl): Likewise.
35356 [non-C99-based standards] (rintl): Likewise.
35357 [non-C99-based standards] (scalbl): Likewise.
35358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35359 [non-C99-based standards] (FP_*): Do not allow.
35360 [C99-based standards] (FP_*): Change to
35361 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35362 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35364 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35365 (SIG_ERR): Likewise.
35366 [X/Open-based standards] (SIG_HOLD): Likewise.
35367 (SIG_IGN): Likewise.
35368 (SIGABRT): Use macro-int-constant. Specify type. Require
35370 (SIGFPE): Likewise.
35371 (SIGILL): Likewise.
35372 (SIGINT): Likewise.
35373 (SIGSEGV): Likewise.
35374 (SIGTER): Likewise.
35375 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35376 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35377 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35378 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35379 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35380 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35381 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35382 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35383 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35384 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35385 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35386 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35387 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35388 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35389 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35390 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35391 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35392 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35393 [X/Open-based standards] (SIGTRAP): Likewise.
35394 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35395 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35396 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35397 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35398 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35401 2012-05-08 Ian Wienand <ianw@vmware.com>
35404 * time/tzset.c (__tzset_parse_tz): Update default rules for
35405 daylight time changes in the Energy Policy Act of 2005.
35407 2012-05-09 Andreas Jaeger <aj@suse.de>
35410 * elf/ldconfig.c (parse_conf): Change string to make clear that
35411 ldconfig only issued a warning if ld.so.conf does not exist.
35413 2012-05-08 David S. Miller <davem@davemloft.net>
35415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35416 movxtod instead of popping the value on the stack.
35418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35420 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35422 * config.h.in: Add HAVE_ARM_PCS_VFP.
35424 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35427 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35428 checking but the checks are disabled for any reason.
35430 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35432 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35433 and ELF64_R_TYPE with ELFW(R_TYPE).
35435 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35437 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35438 (ulimit): Likewise.
35440 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35441 (settimeofday): Likewise.
35443 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35445 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35446 a struct th_u2 inside the union, and move tu_block/tu_code into
35447 a new th_u3 union of tu_block/tu_code inside of that. Move
35448 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35449 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35450 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35451 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35452 (th_stuff): Change to th_u1.tu_stuff.
35454 (th_msg): Change to th_u1.th_u2.tu_data.
35456 2012-05-07 David S. Miller <davem@davemloft.net>
35458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35461 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35462 (SETUP_PIC_REG): Use it.
35463 (SETUP_PIC_REG_LEAF): Use it.
35465 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35469 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35471 (EXPL_FINITE): Likewise.
35472 (FLDLOG): Likewise.
35473 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35474 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35476 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35478 (EXPL_FINITE): Likewise.
35479 (FLDLOG): Likewise.
35480 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35481 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35483 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35484 test of -max_value argument for long double.
35485 * sysdeps/i386/fpu/libm-test-ulps: Update.
35486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35488 2012-05-06 David S. Miller <davem@davemloft.net>
35490 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35491 quad soft-float symbols whose references which are compiler
35493 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35495 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35499 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35501 (EXPL_FINITE): Likewise.
35502 (FLDLOG): Likewise.
35505 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35506 Adjust comments for base varying.
35507 (__expl_finite): Change alias to EXPL_FINITE.
35508 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35510 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35511 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35512 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35513 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35514 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35516 (EXPL_FINITE): Likewise.
35517 (FLDLOG): Likewise.
35520 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35521 Adjust comments for base varying.
35522 (__expl_finite): Change alias to EXPL_FINITE.
35523 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35528 * math/libm-test.inc (check_float_internal): Correct ulp
35529 calculation for subnormal expected results.
35531 2012-05-06 Andreas Jaeger <aj@suse.de>
35533 * Makeconfig (+math-flags): New, set to -frounding-math.
35534 (+cflags): Add +math-flags so that all of glibc gets compiled with
35537 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35539 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35541 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35547 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35548 (__ieee754_expl): Allow for and saturate large arguments.
35549 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35550 (u_threshold): Likewise.
35551 (__exp): Call __ieee754_exp before checking for overflow and
35553 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35554 (u_threshold): Likewise.
35555 (__expf): Call __ieee754_expf before checking for overflow and
35557 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35558 (u_threshold): Likewise.
35559 (__expl): Call __ieee754_expl before checking for overflow and
35561 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35562 (__ieee754_expl): Allow for and saturate large arguments.
35563 * math/libm-test.inc (exp_test): Add another test. Do not allow
35564 missing overflow exception on overflow.
35565 (expm1_test): Do not allow missing overflow exception on overflow.
35567 * sysdeps/i386/fpu/e_expl.c: Move to ...
35568 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35569 rather than using inline asm.
35570 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35571 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35572 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35574 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35577 (signal): Likewise.
35581 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35583 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35584 sysdeps/unix/common/syscalls.list.
35585 (fchmod): Likewise.
35586 (fchown): Likewise.
35587 (ftruncate): Likewise.
35588 (getrusage): Likewise.
35589 (gettimeofday): Likewise.
35590 (setpgid): Likewise.
35591 (setregid): Likewise.
35592 (setreuid): Likewise.
35593 (sigaction): Likewise.
35594 (truncate): Likewise.
35595 (vhangup): Likewise.
35596 * sysdeps/unix/common/syscalls.list: Remove file.
35597 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35598 * sysdeps/unix/sysv/linux/Implies: Likewise.
35600 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35602 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35604 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35608 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35611 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35614 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35617 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35620 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35623 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35626 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35630 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35634 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35637 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35641 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35645 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35647 * sysdeps/unix/common/bits/dirent.h: Remove file.
35648 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35650 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35651 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35652 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35653 * sysdeps/unix/bsd/isatty.c: Likewise.
35654 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35655 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35656 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35658 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35661 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35662 long double comparison inaccuracies.
35663 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35666 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35668 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35669 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35671 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35674 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35675 nonzero digits before rounding a hex value.
35676 * stdlib/tst-strtod.c (tests): Add another test.
35678 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35680 * sysdeps/s390/fpu/libm-test-ulps: Update.
35682 2012-05-03 Andreas Jaeger <aj@suse.de>
35684 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35685 does not get optimized out.
35686 (malloc_opt_barrier): New.
35688 2012-05-03 Andreas Jaeger <aj@suse.de>
35689 Roland McGrath <roland@hack.frob.com>
35691 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35692 intermediate file deletion.
35693 (generated): Add .symlist files.
35695 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35698 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35699 Redirect under this condition.
35700 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35701 [__USE_GNU] (__dprintf_chk): Not under this condition.
35702 [__USE_GNU] (__vdprintf_chk): Likewise.
35703 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35704 under this condition.
35705 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35706 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35707 [__USE_XOPEN2K8] (vdprintf): Likewise.
35708 [__USE_GNU] (__dprintf_chk): Not under this condition.
35709 [__USE_GNU] (__vdprintf_chk): Likewise.
35710 [__USE_GNU] (dprintf): Likewise.
35711 [__USE_GNU] (vdprintf): Likewise.
35713 2012-05-03 Roland McGrath <roland@hack.frob.com>
35715 * elf/Makefile (common-generated): Set this instead of generated for
35716 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35717 $(all-built-dso)-derived lists.
35719 2012-05-03 Andreas Jaeger <aj@suse.de>
35721 * sysdeps/i386/fpu/libm-test-ulps: Update.
35724 * FAQ.in: Likewise.
35725 * scripts/gen-FAQ.pl: Likewise.
35726 * manual/install.texi (Installation): Point to online location of
35728 * Makefile (files-for-dist): Remove FAQ.
35731 2012-05-02 Allan McRae <allan@archlinux.org>
35733 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35734 (LDFLAGS-reldepmod5.so): Likewise.
35735 (LDFLAGS-reldep6mod1.so): Likewise.
35736 (LDFLAGS-reldep6mod4.so): Likewise.
35737 (LDFLAGS-reldep8mod3.so): Likewise.
35738 (LDFLAGS-unload4mod1.so): Likewise.
35739 (LDFLAGS-unload4mod2.so): Likewise.
35740 (LDFLAGS-tst-initorder): Likewise.
35741 (LDFLAGS-tst-initordera2.so): Likewise.
35742 (LDFLAGS-tst-initordera3.so): Likewise.
35743 (LDFLAGS-tst-initordera4.so): Likewise.
35744 (LDFLAGS-tst-initorderb2.so): Likewise.
35745 (LDFLAGS-noload): Likewise.
35746 (LDFLAGS-next): Likewise.
35747 (LDFLAGS-order2mod1.so): Likewise.
35748 (LDFLAGS-order2mod2.so): Likewise.
35749 (LDFLAGS-tst-initorder2): Likewise.
35750 (LDFLAGS-tst-initorder2a.so): Likewise.
35751 (LDFLAGS-tst-initorder2b.so): Likewise.
35752 (LDFLAGS-tst-initorder2c.so): Likewise.
35753 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35755 2012-05-02 David S. Miller <davem@davemloft.net>
35757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35759 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35762 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35764 2012-05-02 Andreas Jaeger <aj@suse.de>
35766 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35767 since we manipulate rounding mode.
35768 (CPPFLAGS-test-idouble.c): Likewise.
35769 (CPPFLAGS-test-ifloat.c): Likewise.
35770 (CFLAGS-test-ldouble.c): Likewise.
35771 (CFLAGS-test-double.c): Likewise.
35772 (CFLAGS-test-float.c): Likewise.
35773 (CFLAGS-test-misc.c): Likewise.
35774 (CFLAGS-test-test-fenv.c): Likewise.
35776 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35781 comparisons to determine direction to adjust input.
35783 2012-05-01 Roland McGrath <roland@hack.frob.com>
35785 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35786 output to the target.
35788 * scripts/localplt.awk: New file.
35789 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35790 (check-localplt-CFLAGS): Variable removed.
35791 ($(all-built-dso:=.jmprel)): New static pattern rule.
35792 (generated): Add those targets.
35793 (localplt-built-dso): New variable.
35794 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35796 * elf/check-localplt.c: File removed.
35798 * scripts/check-execstack.awk: New file.
35799 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35800 (check-execstack-CFLAGS): Variable removed.
35801 ($(objpfx)check-execstack.h): Target removed.
35802 ($(objpfx)execstack-default): New target.
35803 (generated): Add that instead of check-execstack.h.
35804 ($(all-built-dso:=.phdr)): New static pattern rule.
35805 (generated): Add those targets.
35806 * elf/check-execstack.c: File removed.
35808 * scripts/check-textrel.awk: New file.
35809 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35810 (check-textrel-CFLAGS): Variable removed.
35811 (all-built-dso): Use := to define.o
35812 ($(all-built-dso:=.dyn)): New static pattern rule.
35813 (generated): Add those targets.
35814 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35815 * config.make.in (READELF): New substituted variable.
35816 * elf/check-textrel.c: File removed.
35818 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35820 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35822 * conform/data/ctype.h-data [C99-based standards] (isblank):
35824 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35825 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35826 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35827 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35828 Specify type. Require positive value.
35829 (EILSEQ): Likewise.
35830 (ERANGE): Likewise.
35831 [ISO || POSIX] (EILSEQ): Do not expect.
35832 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35833 Specify type. Require positive value.
35834 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35835 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35836 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35837 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35838 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35839 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35840 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35841 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35842 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35843 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35844 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35845 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35846 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35847 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35848 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35849 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35850 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35851 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35852 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35853 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35854 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35855 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35856 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35857 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35858 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35859 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35860 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35861 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35862 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35863 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35864 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35865 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35866 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35867 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35868 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35869 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35870 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35871 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35872 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35873 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35874 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35875 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35876 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35877 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35878 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35879 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35880 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35881 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35882 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35883 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35884 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35885 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35886 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35887 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35888 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35889 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35890 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35891 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35892 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35893 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35894 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35895 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35896 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35897 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35898 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35899 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35900 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35901 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35902 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35903 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35904 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35905 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35906 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35907 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35908 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35909 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35910 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35912 (FLT_ROUNDS): Expect as macro, not constant.
35913 (FLT_MANT_DIG): Use macro-int-constant.
35914 (DBL_MANT_DIG): Likewise.
35915 (LDBL_MANT_DIG): Likewise.
35916 (FLT_DIG): Likewise.
35917 (DBL_DIG): Likewise.
35918 (LDBL_DIG): Likewise.
35919 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35920 (DBL_MIN_EXP): Likewise.
35921 (LDBL_MIN_EXP): Likewise.
35922 (FLT_MAX_EXP): Use macro-int-constant.
35923 (DBL_MAX_EXP): Likewise.
35924 (LDBL_MAX_EXP): Likewise.
35925 (FLT_MAX_10_EXP): Likewise.
35926 (DBL_MAX_10_EXP): Likewise.
35927 (LDBL_MAX_10_EXP): Likewise.
35928 (FLT_MAX): Use macro-constant.
35929 (DBL_MAX): Likewise.
35930 (LDBL_MAX): Likewise.
35931 (FLT_EPSILON): Use macro-constant. Give upper bound.
35932 (DBL_EPSILON): Likewise.
35933 (LDBL_EPSILON): Likewise.
35934 (FLT_MIN): Likewise.
35935 (DBL_MIN): Likewise.
35936 (LDBL_MIN): Likewise.
35937 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35938 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35939 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35940 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35941 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35942 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35943 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35944 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35945 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35946 [ISO11] (FLT_TRUE_MIN): Likewise.
35947 [ISO11] (LDBL_TRUE_MIN): Likewise.
35948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35949 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35950 (SCHAR_MIN): Use macro-int-constant. Specify type.
35951 (SCHAR_MAX): Likewise.
35952 (UCHAR_MAX): Likewise.
35953 (CHAR_MIN): Likewise.
35954 (CHAR_MAX): Likewise.
35955 (MB_LEN_MAX): Use macro-int-constant.
35956 (SHRT_MIN): Use macro-int-constant. Specify type.
35957 (SHRT_MAX): Likewise.
35958 (USHRT_MAX): Likewise.
35959 (INT_MAX): Likewise.
35960 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35962 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35964 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35966 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35967 bound negative. Suffix upper bound with "L".
35968 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35970 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35972 [C99-based standards] (LLONG_MAX): Likewise.
35973 [C99-based standards] (ULLONG_MAX): Likewise.
35974 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35976 [ISO11] (max_align_t): Require type.
35977 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35979 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35980 from $CFLAGS, without defining away __attribute__ calls.
35981 (checknamespace): Use $CFLAGS_namespace.
35983 * conform/conformtest.pl (@keywords): Only include C99 keywords
35984 for standards based on C99 or C11.
35986 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35988 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35991 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35992 usability of symbols in #if.
35994 * conform/conformtest.pl: If macro or constant types start
35995 "promoted:", expect the symbol to be of the following type
35996 promoted by the integer promotions.
35998 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35999 in one place. Also handle "macro-constant".
36001 * conform/conformtest.pl: Only accept expected macro values with
36002 "==". Parse all "macro" lines in one place.
36003 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36005 * conform/conformtest.pl: Handle braced types on "constant" lines
36006 instead of handling "typed-constant".
36007 * conform/data/signal.h-data: Use "constant" instead of
36010 * conform/conformtest.pl: Handle "optional-" at start of lines in
36011 one place rather than duplicating several cases. Handle each
36012 format of "macro" line with initial "optional-".
36014 * conform/conformtest.pl: Only accept expected constant or
36015 optional-constant values with "==". Parse all "constant" lines in
36016 one place. Parse all "optional-constant" lines in one place.
36017 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36018 * conform/data/fmtmsg.h-data: Likewise.
36019 * conform/data/netinet/in.h-data: Likewise.
36020 * conform/data/tar.h-data: Likewise.
36021 * conform/data/limits.h-data: Use "==" form on "constant" and
36022 "optional-constant" lines.
36024 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36025 Use -std=c99 for XOPEN2K.
36026 (@knownproblems): Remove.
36027 (newtoken): Don't check %isknown.
36029 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36030 Do not expect macro.
36031 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36032 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36033 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36034 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36035 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36036 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36037 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36038 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36039 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36040 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36041 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36042 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36043 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36044 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36045 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36046 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36047 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36048 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36049 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36050 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36051 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36052 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36053 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36054 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36055 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36056 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36058 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36059 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36060 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36061 [XPG3] (acosh): Likewise.
36062 [XPG3] (asinh): Likewise.
36063 [XPG3] (atanh): Likewise.
36064 [XPG3] (cbrt): Likewise.
36065 [XPG3] (expm1): Likewise.
36066 [XPG3] (ilogb): Likewise.
36067 [XPG3] (log1p): Likewise.
36068 [XPG3] (logb): Likewise.
36069 [XPG3] (nextafter): Likewise.
36070 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36071 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36072 [XPG3] (remainder): Likewise.
36073 [XPG3] (rint): Likewise.
36074 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36075 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36076 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36077 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36078 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36079 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36080 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36081 [UNIX98 || XOPEN2K] (scalb): Expect.
36082 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36083 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36084 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36085 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36086 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36087 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36088 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36089 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36090 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36091 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36092 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36093 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36094 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36095 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36096 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36097 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36098 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36099 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36100 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36101 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36102 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36103 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36104 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36105 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36106 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36107 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36108 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36109 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36110 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36111 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36112 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36113 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36114 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36115 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36116 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36117 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36118 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36119 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36120 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36121 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36122 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36123 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36124 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36125 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36126 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36127 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36128 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36129 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36130 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36131 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36132 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36133 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36134 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36135 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36136 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36137 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36138 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36139 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36140 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36141 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36142 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36143 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36144 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36145 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36146 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36147 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36148 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36149 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36150 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36151 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36152 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36153 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36154 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36155 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36156 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36157 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36158 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36159 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36160 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36161 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36162 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36163 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36164 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36165 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36166 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36167 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36168 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36169 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36170 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36171 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36172 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36173 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36174 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36175 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36176 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36177 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36178 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36179 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36180 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36181 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36182 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36183 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36184 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36185 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36186 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36187 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36188 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36189 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36190 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36191 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36192 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36193 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36194 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36195 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36196 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36197 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36198 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36199 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36200 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36201 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36202 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36203 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36204 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36205 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36206 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36207 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36208 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36209 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36210 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36211 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36212 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36213 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36214 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36215 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36216 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36217 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36218 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36220 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36221 _XOPEN_SOURCE_EXTENDED for XPG4.
36223 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36225 * Makeconfig (localtime): Remove variable.
36226 (inst_localtime-file): Likewise.
36228 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36249 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36253 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36254 comparisons to determine direction to adjust input.
36255 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36256 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36257 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36259 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36261 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36263 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36264 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36266 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36268 * math/libm-test.inc (nexttoward_test): Add more tests.
36270 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36273 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36274 in version GLIBC_2.1, not GLIBC_2.0.
36275 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36278 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36281 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36283 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36284 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36285 * math/libm-test.inc (acos_test): Add more tests.
36286 (asin_test): Likewise.
36287 * sysdeps/i386/fpu/libm-test-ulps: Update.
36288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36291 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36293 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36294 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36295 * math/libm-test.inc (acos_test_tonearest): New function.
36296 (acos_test_towardzero): Likewise.
36297 (acos_test_downward): Likewise.
36298 (acos_test_upward): Likewise.
36299 (asin_test_tonearest): Likewise.
36300 (asin_test_towardzero): Likewise.
36301 (asin_test_downward): Likewise.
36302 (asin_test_upward): Likewise.
36303 (main): Call the new functions.
36304 * sysdeps/i386/fpu/libm-test-ulps: Update.
36305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36309 * math/e_exp10.c: Include <float.h>.
36310 (__ieee754_exp10): Handle underflow here rather than multiplying
36311 large negative argument by M_LN10.
36312 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36314 * math/e_exp10l.c: Include <float.h>.
36315 (__ieee754_exp10l): Handle underflow here rather than multiplying
36316 large negative argument by M_LN10l.
36317 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36318 spurious overflow exception on underflow.
36320 2012-04-29 Marek Polacek <polacek@redhat.com>
36322 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36323 (__fortify_function): New macro.
36324 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36325 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36326 __extern_always_inline.
36327 * libio/bits/stdio2.h: Likewise.
36328 * libio/bits/stdio.h: Likewise.
36329 * string/string.h: Likewise.
36330 * string/bits/string3.h: Likewise.
36331 * include/stdio.h: Likewise.
36332 * stdlib/bits/stdlib.h: Likewise.
36333 * stdlib/stdlib.h: Likewise.
36334 * rt/bits/mqueue2.h: Likewise.
36335 * rt/mqueue.h: Likewise.
36336 * posix/bits/unistd.h: Likewise.
36337 * posix/unistd.h: Likewise.
36338 * io/bits/poll2.h: Likewise.
36339 * io/bits/fcntl2.h: Likewise.
36340 * io/fcntl.h: Likewise.
36341 * io/sys/poll.h: Likewise.
36342 * misc/bits/syslog.h: Likewise.
36343 * misc/bits/syslog-ldbl.h: Likewise.
36344 * misc/sys/syslog.h: Likewise.
36345 * socket/bits/socket2.h: Likewise.
36346 * socket/sys/socket.h: Likewise.
36347 * debug/tst-chk1.c: Likewise.
36348 * wcsmbs/bits/wchar2.h: Likewise.
36349 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36350 * wcsmbs/wchar.h: Likewise.
36352 2012-04-29 Andreas Jaeger <aj@suse.de>
36354 * Makerules (tests): Remove enable-check-abi protection.
36355 (check-abi-warn): Remove.
36356 (check-abi-%): Remove check-abi-warn usage.
36358 * configure.in: Remove check-abi configure option.
36359 * configure: Regenerated.
36360 * config.make.in (enable-check-abi): Remove.
36362 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36365 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36366 double functions to double *_finite functions.
36369 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36370 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36372 * stdio-common/Makefile (tests): Add tst-sprintf3.
36373 * stdio-common/tst-sprintf3.c: New file.
36375 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36376 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36378 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36380 * conform/conformtest.pl: Remove duplicate typed-constant
36383 2012-04-28 David S. Miller <davem@davemloft.net>
36385 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36386 (check-abi-%): Remove AWK script prerequisite and explicit
36388 (check-abi): Rewrite to just diff the symlist with the abilist.
36389 (config-tls, config-abi-config): Delete, no longer used.
36390 (update-abi-%): Remove AWK script and explicit abilist directory.
36391 (update-abi): Rewrite to simply compare and conditionally copy the
36392 symlist and the sysdep abilist file. Remove update-abi-config
36394 * abilist/ld.abilist: Remove.
36395 * abilist/libBrokenLocale.abilist: Remove.
36396 * abilist/libanl.abilist: Remove.
36397 * abilist/libcrypt.abilist: Remove.
36398 * abilist/libdl.abilist: Remove.
36399 * abilist/librt.abilist: Remove.
36400 * abilist/libthread_db.abilist: Remove.
36401 * abilist/libutil.abilist: Remove.
36402 * scripts/extract-abilist.awk: Remove.
36403 * scripts/merge-abilist.awk: Remove.
36404 * sysdeps/generic/libcidn.abilist: New file.
36405 * sysdeps/generic/libnss_compat.abilist: New file.
36406 * sysdeps/generic/libnss_db.abilist: New file.
36407 * sysdeps/generic/libnss_dns.abilist: New file.
36408 * sysdeps/generic/libnss_files.abilist: New file.
36409 * sysdeps/generic/libnss_hesiod.abilist: New file.
36410 * sysdeps/generic/libnss_nis.abilist: New file.
36411 * sysdeps/generic/libnss_nisplus.abilist: New file.
36412 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36413 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36414 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36416 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36417 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36418 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36419 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36420 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36421 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36422 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36423 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36424 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36426 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36427 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36428 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36429 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36431 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36432 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36433 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36434 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36435 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36436 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36438 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36439 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36440 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36442 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36545 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36546 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36547 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36549 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36550 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36551 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36552 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36553 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36554 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36555 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36556 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36557 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36558 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36610 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36612 * conform/conformtest.pl: Fix typo in handling typed-constant from
36615 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36617 * README: Cut down references to pre-2.6 Linux kernels and
36618 Linuxthreads. Update lists of configurations in libc and ports
36619 and sort alphabetically. Say "or newer" with Linux kernel version
36622 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36624 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36627 * math/libm-test.inc (logb_test_downward): New test to expose
36628 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36631 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36634 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36636 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36637 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36639 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36641 * sysdeps/unix/i386/brk.S: Remove file.
36642 * sysdeps/unix/i386/dl-brk.S: Likewise.
36643 * sysdeps/unix/i386/pipe.S: Likewise.
36644 * sysdeps/unix/i386/sigreturn.S: Likewise.
36645 * sysdeps/unix/i386/syscall.S: Likewise.
36646 * sysdeps/unix/i386/vfork.S: Likewise.
36647 * sysdeps/unix/i386/wait.S: Likewise.
36649 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36650 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36652 * configure.in (arm*-none*): Do not allow without
36653 --enable-hacker-mode.
36654 (netbsd*): Remove case setting base_os.
36655 (386bsd*): Likewise.
36656 (freebsd*): Likewise.
36659 (sunos*): Likewise.
36660 (ultrix*): Likewise.
36661 (newsos*): Likewise.
36662 (dynix*): Likewise.
36668 (minix*): Likewise.
36669 (irix4*): Likewise.
36670 (irix6*): Likewise.
36671 (solaris[2-9]*): Likewise.
36673 * configure: Regenerated.
36675 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36678 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36679 overflow or cancellation in calculating denominator.
36680 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36681 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36682 down expression to avoid unexpected rounding in newer GCCs.
36683 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36685 2012-04-26 David S. Miller <davem@davemloft.net>
36687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36688 long-double compat symbols.
36689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36703 2012-04-25 David S. Miller <davem@davemloft.net>
36705 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36706 HWCAP_* values only after the memory barriers have been defined.
36707 (atomic_full_barrier): Define.
36708 (atomic_read_barrier): Define.
36709 (atomic_write_barrier): Define.
36711 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36713 * shlib-versions: Add libgcc_s version information.
36714 * sysdeps/generic/libgcc_s.h: Remove.
36715 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36717 * sysdeps/gnu/unwind-resume.c: Likewise.
36718 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36720 2012-04-25 David S. Miller <davem@davemloft.net>
36722 * sysdeps/unix/sparc/brk.S: Delete.
36723 * sysdeps/unix/sparc/dl-brk.S: Delete.
36724 * sysdeps/unix/sparc/pipe.S: Delete.
36725 * sysdeps/unix/sparc/sysdep.S: Delete.
36726 * sysdeps/unix/sparc/sysdep.h: Delete.
36727 * sysdeps/unix/sparc/vfork.S: Delete.
36728 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36729 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36730 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36731 (ret_ERRVAL, r0, r1, MOVE): Define.
36732 (JUMPTARGET): Remove.
36733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36734 sysdeps/unix/sparc/sysdep.h
36735 (ENTRY, END): Remove.
36736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36738 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36740 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36741 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36744 * timezone/README: Update upstream location and email address for
36746 * timezone/zdump.c: Update from tzcode 2012b.
36747 * timezone/zic.c: Likewise.
36749 * configure.in (libc_cv_as_needed): Remove test.
36750 * configure: Regenerated.
36751 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36752 conditional definition.
36753 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36754 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36755 * config.make.in (have-as-needed): Remove variable.
36757 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36758 Paul Pluzhnikov <ppluzhnikov@google.com>
36760 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36763 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36765 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36766 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36767 * sysdeps/sh/strlen.S: Likewise.
36769 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36771 * sysdeps/unix/fork.S: Remove file.
36772 * sysdeps/unix/i386/fork.S: Likewise.
36773 * sysdeps/unix/sparc/fork.S: Likewise.
36775 * sysdeps/unix/system.c: Remove file.
36776 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36778 * sysdeps/unix/getegid.S: Remove file.
36779 * sysdeps/unix/geteuid.S: Likewise.
36781 2012-04-24 Roland McGrath <roland@hack.frob.com>
36783 * scripts/check-localplt.awk: New file.
36784 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36786 * scripts/data/localplt-generic.data: Add a comment.
36788 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36789 NODE when __dir_mkfile failed.
36790 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36791 Reported by Ludovic Courtès <ludo@gnu.org>.
36793 2012-04-24 Andreas Jaeger <aj@suse.de>
36795 * Makerules (common-clean): Also remove gen-as-const-headers
36798 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36800 * Makerules (native-compile): Do not change working directory for
36801 build. Use $(OUTPUT_OPTION) in command.
36802 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36804 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36807 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36808 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36809 * math/libm-test.inc (floor_test): Add more tests.
36810 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36812 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36814 * sysdeps/unix/getdents.c: Remove file.
36815 * sysdeps/unix/sysv/getdents.c: Likewise.
36816 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36818 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36819 sysdeps/unix/mman/syscalls.list.
36821 (mprotect): Likewise.
36823 (munmap): Likewise.
36824 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36825 * sysdeps/unix/mman/syscalls.list: Remove.
36826 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36828 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36829 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36830 * configure: Regenerated.
36831 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36832 $(libgcc_s_suffix).
36833 * config.make.in (libgcc_s_suffix): Remove variable.
36835 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36837 * sysdeps/unix/sysv/gethostname.c: Move to ...
36838 * sysdeps/posix/gethostname.c: ... here.
36840 * sysdeps/unix/execve.S: Remove file.
36842 * sysdeps/unix/_exit.S: Remove file.
36844 2012-04-23 Andreas Jaeger <aj@suse.de>
36847 * manual/Makefile: Remove make dist support, there's no
36848 need for a stand-alone documentation tar ball.
36849 (TEXI2DVI): Define always, it's not in Makeconfig.
36852 (edition): Removed.
36853 (glibc-doc-$(edition).tar): Removed
36857 (ETAGS): Remove, it's in Makeconfig.
36858 (move-if-change): Remove, it's in Makeconfig.
36860 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36863 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36864 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36865 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36866 (strtod_l, strtof_l, strtold_l): Remove __wur.
36867 It is not necessarily an error to ignore strtol's return value.
36868 One can reliably look at the stored endptr to decide whether
36869 the number had valid syntax.
36871 2012-04-21 Andreas Jaeger <aj@suse.de>
36874 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36876 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36878 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36879 * sysdeps/unix/sysv/Versions: Remove file.
36881 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36884 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36886 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36889 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36890 version from __vm86.
36892 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36894 * sysdeps/unix/common/lxstat.c: Remove file.
36895 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36897 * sysdeps/unix/sysv/Makefile: Remove file.
36899 * sysdeps/unix/sysv/direct.h: Remove file.
36901 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36902 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36903 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36904 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36905 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36906 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36907 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36909 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36911 * sysdeps/unix/xmknod.c: Remove file.
36912 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36914 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36916 * sysdeps/unix/sysv/i386/time.S: Remove file.
36918 * sysdeps/unix/fxstat.c: Remove file.
36919 * sysdeps/unix/xstat.c: Likewise.
36920 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36922 * sysdeps/unix/sysv/sigaction.c: Remove file.
36924 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36925 (sysdep_headers): Remove variable.
36926 [termio.h not in sysdep_headers] (generated): Likewise.
36927 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36928 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36929 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36930 * sysdeps/unix/sysv/tcflow.c: Likewise.
36931 * sysdeps/unix/sysv/tcflush.c: Likewise.
36932 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36933 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36934 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36935 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36936 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36938 * sysdeps/unix/siglist.c: Remove file.
36940 * sysdeps/unix/getppid.S: Remove file.
36942 * sysdeps/unix/mkdir.c: Remove file.
36943 * sysdeps/unix/rmdir.c: Likewise.
36945 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36947 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36949 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36950 errlist-compat value.
36952 2012-04-18 David S. Miller <davem@davemloft.net>
36954 * sysdeps/generic/memcopy.h (reg_char): Delete.
36955 * debug/strcat_chk.c: Use char, not reg_char.
36956 * debug/strcpy_chk.c: Likewise.
36957 * debug/strncat_chk.c: Likewise.
36958 * debug/strncpy_chk.c: Likewise.
36959 * string/memchr.c: Likewise.
36960 * string/memrchr.c: Likewise.
36961 * string/rawmemchr.c: Likewise.
36962 * string/strcat.c: Likewise.
36963 * string/strchr.c: Likewise.
36964 * string/strchrnul.c: Likewise.
36965 * string/strcmp.c: Likewise.
36966 * string/strcpy.c: Likewise.
36967 * string/strncat.c: Likewise.
36968 * string/strncmp.c: Likewise.
36969 * string/strncpy.c: Likewise.
36971 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36973 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36974 __builtin_memcopy is called when src and dest ranges are known to not
36977 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36979 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36980 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36981 fwd_align_merge macro call.
36982 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36983 bwd_align_merge macro call.
36984 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36986 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36988 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36989 bwd_align_merge macros.
36990 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36991 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36992 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36994 2012-04-18 David S. Miller <davem@davemloft.net>
36996 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36998 2012-04-18 Andreas Jaeger <aj@suse.de>
37001 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37002 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37003 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37005 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37006 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37007 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37009 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37010 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37011 Adjust for changed ldbl-128 files.
37013 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37014 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37015 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37017 2012-04-17 David S. Miller <davem@davemloft.net>
37019 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37021 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37023 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37024 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37025 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37026 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37027 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37028 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37030 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37033 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37034 * math/libm-test.inc: Add ilogb errno and exception tests.
37035 * math/w_ilogb.c: New file: ilogb wrapper.
37036 * math/w_ilogbf.c: New file: ilogbf wrapper.
37037 * math/w_ilogbl.c: New file: ilogbl wrapper.
37038 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37039 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37040 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37041 exception being thrown with 0.0 as argument.
37042 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37043 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37044 exception being thrown with 0.0 as argument.
37045 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37046 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37047 exception being thrown with 0.0 as argument.
37048 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37049 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37050 exception being thrown with 0.0 as argument.
37051 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37052 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37053 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37054 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37055 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37056 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37057 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37058 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37059 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37061 2012-04-17 Petr Baudis <pasky@ucw.cz>
37063 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37066 2012-04-16 Marek Polacek <polacek@redhat.com>
37068 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37070 2012-04-16 Marek Polacek <polacek@redhat.com>
37072 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37073 operands of fdivp instruction.
37075 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37077 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37078 * elf/tst-auditmod3b.c: Likewise.
37079 * elf/tst-auditmod4b.c: Likewise.
37080 * elf/tst-auditmod5b.c: Likewise.
37081 * elf/tst-auditmod6b.c: Likewise.
37082 * elf/tst-auditmod6c.c: Likewise.
37083 * elf/tst-auditmod7b.c: Likewise.
37084 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37085 * sysdeps/x86_64/preconfigure.in: Likewise.
37086 * sysdeps/x86_64/preconfigure: Regenerated.
37088 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37090 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37093 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37095 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37096 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37098 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37101 * locale/iso-639.def: Fix gl language name. Spotted by
37104 2012-04-12 Roland McGrath <roland@hack.frob.com>
37107 * libio/libio.h (__io_write_fn): Update comment.
37109 2012-04-12 Petr Baudis <pasky@ucw.cz>
37112 * stdio.texi (Hook Functions): The user provided writer function
37113 is not allowed to return -1.
37115 2012-04-11 David S. Miller <davem@davemloft.net>
37117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37119 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37121 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37122 Add a leading slash to rtkaio.
37124 2012-04-11 Jim Meyering <meyering@redhat.com>
37127 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37128 It is not necessarily an error to ignore fwrite's return
37129 value. One can reliably use ferror to test for errors after
37132 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37134 * bits/types.h (__snseconds_t): New type.
37135 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37137 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37138 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37139 (__SNSECONDS_T_TYPE): Likewise.
37140 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37141 (__SNSECONDS_T_TYPE): Likewise.
37142 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37143 (__SNSECONDS_T_TYPE): Likewise.
37145 2012-04-10 Andreas Jaeger <aj@suse.de>
37148 * manual/time.texi (Processor Time): Return type of times is
37149 elapsed real time since an arbitrary point in the past.
37150 (CPU Time): Move CLK_TCK from here...
37151 (Processor Time): ...to here. Correct description.
37152 * manual/conf.texi (Constants for Sysconf): Correct description of
37155 2012-04-10 David S. Miller <davem@davemloft.net>
37158 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37159 where the is a gap between DT_REL(A) and DT_JMPREL.
37161 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37163 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37164 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37165 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37167 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37169 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37170 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37171 (dl_main): Handle --inhibit-cache.
37172 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37174 * elf/dl-load.c (_dl_map_object): Use it.
37175 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37177 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37180 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37181 (__ieee754_powl): Saturate large exponents rather than testing for
37182 overflow of y*log2(x).
37183 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37184 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37188 * math/s_ctan.c: Include <float.h>.
37189 (__ctan): Avoid internal overflow or cancellation in calculating
37191 * math/s_ctanf.c: Likewise.
37192 * math/s_ctanl.c: Likewise.
37193 * math/s_ctanh.c: Likewise.
37194 * math/s_ctanhf.c: Likewise.
37195 * math/s_ctanhl.c: Likewise.
37196 * math/libm-test.inc (ctan_test): Add more tests.
37197 (ctanh_test): Likewise.
37198 * sysdeps/i386/fpu/libm-test-ulps: Update.
37199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37201 2012-04-09 Andreas Jaeger <aj@suse.de>
37204 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37205 is an optional BSD extension.
37208 * manual/stdio.texi (Opening Streams): Document additional fopen
37211 2012-04-09 Roland McGrath <roland@hack.frob.com>
37213 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37214 %eax without telling the compiler.
37216 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37219 * manual/install.texi: Use sourceware.org.
37221 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37224 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37225 (__ieee754_pow): Generate overflow and underflow using huge*huge
37226 and tiny*tiny rather than just returning constant infinity or zero
37227 for large exponents.
37228 * math/libm-test.inc (pow_test): Require overflow exceptions for
37229 applicable cases of large exponents.
37232 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37233 (__ieee754_pow): Use iterative multiplication algorithm only for
37234 integer exponents with absolute value below 1024. Check for odd
37235 integer exponents when using algorithm for real exponents.
37236 * math/libm-test.inc (pow_test): Add more tests.
37237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37239 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37242 * math/libm-test.inc (exp_test): Do not allow overflow exception
37245 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37248 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37249 instead of __kernel_standard_f.
37251 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37253 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37254 * sysdeps/x86_64/memset_chk.S: Likewise.
37256 2012-04-08 Andreas Jaeger <aj@suse.de>
37259 * manual/startup.texi (Environment Access): Describe return value
37260 for putenv and setenv.
37263 * manual/filesys.texi (Directory Entries): Add description for
37267 * manual/filesys.texi (Directory Entries): Clarify that it's file
37268 system not operating system in the description of DT_UNKNOWN.
37271 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37273 2012-04-08 Stephen Compall <s11@member.fsf.org>
37276 * manual/llio.texi (Opening and Closing Files): Add cross
37277 reference to explain mode argument.
37279 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37281 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37282 * sysdeps/x86_64/memset_chk.S: Likewise.
37284 2012-04-07 David S. Miller <davem@davemloft.net>
37286 * elf/elf.h (R_SPARC_WDISP10): Define.
37287 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37289 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37290 R_SPARC_SIZE64 and R_SPARC_H34.
37292 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37294 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37295 conditions and remove no longer applicable assertion.
37297 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37299 * bits/byteswap.h: Include <features.h>.
37300 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37301 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37303 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37305 * bits/byteswap.h (__bswap_16): Removed.
37306 Include <bits/byteswap-16.h> to get __bswap_16.
37307 * sysdeps/i386/bits/byteswap.h: Likewise.
37308 * sysdeps/s390/bits/byteswap.h: Likewise.
37309 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37310 * bits/byteswap-16.h: New file.
37311 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37312 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37313 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37314 * string/Makefile (headers): Add bits/byteswap-16.h.
37316 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37319 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37321 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37322 * nss/tst-nss-static.c: New.
37324 2012-04-06 Robert Millan <rmh@gnu.org>
37327 * manual/llio.texi (File Position Primitive): lseek
37328 refers to WHENCE when it really means OFFSET.
37330 2012-04-06 Andreas Jaeger <aj@suse.de>
37332 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37333 strncmp declarations.
37335 * abilist/libc.abilist: Add __poll and __ppoll.
37337 2012-04-05 David S. Miller <davem@davemloft.net>
37339 * scripts/check-local-headers.sh: Accept a host triplet in the
37340 path matched by the exclude regexp.
37342 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37344 * sysdeps/powerpc/powerpc32/dl-machine.h
37345 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37346 * sysdeps/s390/s390-32/dl-machine.h
37347 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37348 * sysdeps/sparc/sparc32/dl-machine.h
37349 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37350 * sysdeps/sparc/sparc64/dl-machine.h
37351 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37353 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37355 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37356 undefined symbol errors.
37358 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37361 2012-04-05 Michael Matz <matz@suse.de>
37364 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37366 2012-04-05 Andreas Jaeger <aj@suse.de>
37369 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37372 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37374 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37375 which ROUND is no valid rounding mode.
37377 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37379 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37381 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37383 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37385 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37386 an exception using FPU order intentionally.
37388 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37390 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37391 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37392 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37393 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37395 2012-04-05 Simon Josefsson <simon@josefsson.org>
37398 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37399 EINVAL when BUFLEN is too smal.
37401 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37404 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37405 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37407 2012-04-03 Andreas Jaeger <aj@suse.de>
37410 * manual/setjmp.texi (System V contexts): Fix sentence.
37413 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37414 New macro for this case.
37415 [!__GNUC__] (__bswap_64): New inline function for this case.
37416 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37417 * bits/byteswap.h: Likewise.
37418 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37419 ull, guard with __GLIBC_HAVE_LONG_LONG.
37421 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37422 __GLIBC_HAVE_LONG_LONG.
37424 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37425 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37427 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37430 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37431 inptr and inend, rather than using last_ch.
37433 2012-04-02 David S. Miller <davem@davemloft.net>
37435 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37436 * stdio-common/printf-parse.h (read_int): Change return type to
37437 'int', return -1 on INT_MAX overflow.
37438 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37439 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37440 overflows INT_MAX. Check for overflow of in-format-string precision
37441 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37442 SIZE_MAX not INT_MAX for integer overflow test.
37443 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37444 skip the construct in the format string but do not record anything.
37445 * stdio-common/bug22.c: Adjust to test both width/prevision
37446 INT_MAX overflow as well as total length INT_MAX overflow. Check
37447 explicitly for proper errno values.
37449 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37451 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37453 * string/test-strcmp.c [! WIDE]: Likewise.
37454 * time/tst-mktime2.c: Likewise for INT_MAX.
37455 * string/test-string.h: #include <sys/param.h> for MIN.
37457 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37458 * sysdeps/i386/init-first.c (init): Likewise.
37459 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37460 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37461 * sysdeps/sh/init-first.c (init): Likewise.
37463 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37465 * po/ru.po: Update from translation team.
37466 * po/vi.po: Likewise.
37468 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37470 * resolv/nss_dns/dns-host.c: Merge copyright years.
37472 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37474 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37475 Optimize memcpy with prefetch if
37476 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37477 src, dst pointers have unequal 16 byte alignments.
37479 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37482 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37483 from a CNAME entry and return the minimum ttl for the query.
37484 (gaih_getanswer_slice): Likewise.
37486 2012-03-30 Jeff Law <law@redhat.com>
37488 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37490 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37491 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37493 * resolv/nss_dns/dns-host.c: Update copyright year.
37495 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37497 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37498 requests to save a system call. Fix check that all bytes are sent.
37500 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37501 comments for sendmmsg.
37503 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37506 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37507 with only 1 character between 0x0041 and 0x01b0.
37508 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37509 * wcsmbs/tst-mbsnrtowcs.c: New file.
37511 2012-03-29 David S. Miller <davem@davemloft.net>
37513 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37514 small copies by hand.
37516 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37519 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37520 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37523 2012-03-28 David S. Miller <davem@davemloft.net>
37525 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37526 that branches into memcpy.
37527 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37528 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37529 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37530 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37533 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37534 implementation too.
37535 * sysdeps/sparc/mempcpy.S: New file.
37537 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37538 the IFUNC routine in the libc case.
37539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37541 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37542 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37543 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37544 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37545 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37546 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37547 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37548 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37550 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37551 loop to 256 bytes instead of 64 bytes and fix test signedness.
37553 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37554 * sysdeps/sparc/sparc32/Makefile: rather than here...
37555 * sysdeps/sparc/sparc64/Makefile: and here.
37557 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37559 * malloc/mallocbug.c: Avoid warnings about unused variables.
37561 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37564 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37565 in the right place. Discard and retry query if response is
37566 larger than input buffer size.
37568 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37573 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37574 x for large integer exponent.
37575 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37576 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37577 sign of result as needed afterwards.
37578 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37579 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37580 result for underflowing pow the same as for overflow.
37581 (__kernel_standard_l): Handle powl overflow and underflow here
37582 rather than calling __kernel_standard.
37583 * math/libm-test.inc (pow_test): Add more tests.
37598 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37599 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37600 (__kernel_standard_l): New function.
37601 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37603 * math/w_acosl.c (__acosl): Likewise.
37604 * math/w_asinl.c (__asinl): Likewise.
37605 * math/w_atan2l.c (__atan2l): Likewise.
37606 * math/w_atanhl.c (__atanhl): Likewise.
37607 * math/w_coshl.c (__coshl): Likewise.
37608 * math/w_exp10l.c (__exp10l): Likewise.
37609 * math/w_exp2l.c (__exp2l): Likewise.
37610 * math/w_fmodl.c (__fmodl): Likewise.
37611 * math/w_hypotl.c (__hypotl): Likewise.
37612 * math/w_j0l.c (__j0l, __y0l): Likewise.
37613 * math/w_j1l.c (__j1l, __y1l): Likewise.
37614 * math/w_jnl.c (__jnl, __ynl): Likewise.
37615 * math/w_lgammal.c (__lgammal): Likewise.
37616 * math/w_log10l.c (__log10l): Likewise.
37617 * math/w_log2l.c (__log2l): Likewise.
37618 * math/w_logl.c (__logl): Likewise.
37619 * math/w_powl.c (__powl): Likewise.
37620 * math/w_remainderl.c (__remainderl): Likewise.
37621 * math/w_scalbl.c (sysv_scalbl): Likewise.
37622 * math/w_sinhl.c (__sinhl): Likewise.
37623 * math/w_sqrtl.c (__sqrtl): Likewise.
37624 * math/w_tgammal.c (__tgammal): Likewise.
37625 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37626 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37627 * math/libm-test.inc (acos_test): Add more tests.
37628 (acosh_test): Likewise.
37629 (asin_test): Likewise.
37630 (atanh_test): Likewise.
37631 (exp_test): Likewise.
37632 (exp10_test): Likewise.
37633 (exp2_test): Likewise.
37634 (expm1_test): Likewise.
37635 (lgamma_test): Likewise.
37636 (log_test): Likewise.
37637 (log10_test): Likewise.
37638 (log1p_test): Likewise.
37639 (log2_test): Likewise.
37640 (pow_test): Do not allow some spurious overflow exceptions.
37641 (sqrt_test): Add more tests.
37642 (tgamma_test): Likewise.
37643 (y0_test): Likewise.
37644 (y1_test): Likewise.
37645 (yn_test): Likewise.
37647 2012-03-27 Anton Blanchard <anton@samba.org>
37649 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37651 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37652 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37653 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37655 2012-03-27 David S. Miller <davem@davemloft.net>
37657 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37659 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37660 have-as-vis3 check.
37662 2012-03-27 Andreas Jaeger <aj@suse.de>
37664 * sysdeps/x86_64/elf/configure.in: Moved to ...
37665 * sysdeps/x86_64/configure.in: ... here.
37666 * sysdeps/x86_64/elf/start.S: Moved to ...
37667 * sysdeps/x86_64/start.S: ... here.
37668 * sysdeps/x86_64/elf/configure: Delete.
37670 * sysdeps/x86_64/configure.in: Merge contents from
37671 sysdeps/i386/configure.in (without i686 check).
37673 * sysdeps/i386/elf/Versions: Merge into ...
37674 * sysdeps/i386/Versions: ... this.
37675 * sysdeps/i386/elf/Versions: Delete file.
37676 * sysdeps/i386/elf/start.S: Moved to ...
37677 * sysdeps/i386/start.S: ...here.
37678 * sysdeps/i386/elf/configure.in: Merge into...
37679 * sysdeps/i386/configure.in: ...here.
37680 * sysdeps/i386/elf/configure.in: Delete file.
37681 * sysdeps/i386/elf/configure: Delete file.
37683 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37684 * debug/backtracesyms.c: ... here.
37685 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37686 * debug/backtracesymsfd.c: ... here.
37687 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37688 * sysdeps/generic/ifunc-sel.h: ... here.
37690 * sysdeps/unix/i386/start.c: Delete file.
37691 * sysdeps/unix/sparc/start.c: Delete file.
37692 * sysdeps/unix/start.c: Delete file.
37694 * sysdeps/sh/elf/configure.in: Moved to ...
37695 * sysdeps/sh/configure.in: ... here.
37696 * sysdeps/sh/elf/start.S: Moved to ...
37697 * sysdeps/sh/start.S: ... here.
37698 * sysdeps/sh/elf/configure: Delete file.
37700 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37701 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37702 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37703 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37704 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37705 * sysdeps/powerpc/powerpc64/start.S: here.
37706 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37707 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37708 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37709 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37710 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37712 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37713 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37714 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37715 * sysdeps/powerpc/powerpc32/start.S: ... here.
37716 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37717 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37718 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37720 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37721 * sysdeps/powerpc/ifunc-sel.h: ... here.
37722 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37723 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37725 * sysdeps/sparc/elf/configure.in: Moved to ...
37726 * sysdeps/sparc/configure.in: ... here.
37727 * sysdeps/sparc/elf/configure: Delete file.
37728 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37729 * sysdeps/sparc/sparc32/start.S: ... here.
37730 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37731 * sysdeps/sparc/sparc64/start.S: ... here.
37732 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37733 * sysdeps/sparc/sparc32/Makefile: ... this.
37734 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37735 * sysdeps/sparc/sparc64/Makefile: ... this.
37737 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37738 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37739 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37740 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37741 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37742 * sysdeps/s390/s390-32/setjmp.S: ... here.
37743 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37744 * sysdeps/s390/s390-32/configure.in: ... here.
37745 * sysdeps/s390/s390-32/elf/configure: Delete file.
37746 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37747 * sysdeps/s390/s390-32/start.S: ... here.
37749 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37750 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37751 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37752 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37753 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37754 * sysdeps/s390/s390-64/setjmp.S: ... here.
37755 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37756 * sysdeps/s390/s390-64/configure.in: ... here
37757 * sysdeps/s390/s390-64/elf/configure: Delete file.
37758 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37759 * sysdeps/s390/s390-64/start.S: ... here.
37760 * sysdeps/s390/s390-64/elf/configure: Delete.
37762 * configure.in: Remove support for elf directories in sysdeps.
37764 * configure: Regenerated.
37765 * sysdeps/i386/configure: Regenerated.
37766 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37767 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37768 * sysdeps/s390/s390-32/configure: Regenerated.
37769 * sysdeps/s390/s390-64/configure: Regenerated.
37770 * sysdeps/sh/configure: Regenerated.
37771 * sysdeps/sparc/configure: Regenerated.
37772 * sysdeps/x86_64/configure: Regenerated.
37774 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37779 denormal result into account.
37781 2012-03-25 Roland McGrath <roland@hack.frob.com>
37783 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37784 Reported by Allan McRae <allan@archlinux.org>.
37786 2012-03-23 Jeff Law <law@redhat.com>
37788 * nss/getnssent.c (__nss_getent): Fix typo.
37790 2012-03-23 David S. Miller <davem@davemloft.net>
37792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37794 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37796 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37797 to pad to uint64_t for each field.
37798 (dl_tls_index): Replace unsigned long with uint64_t.
37800 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37801 Paul Pluzhnikov <ppluzhnikov@google.com>
37804 * grp/Makefile (otherlibs): Don't set it.
37805 * inet/Makefile (otherlibs): Likewise.
37806 * login/Makefile (otherlibs): Likewise.
37807 * nscd/Makefile (otherlibs): Likewise.
37808 * posix/Makefile (otherlibs): Likewise.
37809 * pwd/Makefile (otherlibs): Likewise.
37810 * rt/Makefile (otherlibs): Likewise.
37811 * sunrpc/Makefile (otherlibs): Likewise.
37812 * nss/Makefile (otherlibs): Likewise.
37813 Add libnss_files to routines and static-only-routines.
37814 ($(objpfx)getent): Remove rule.
37815 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37816 static-only-routines.
37818 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37821 * math/s_cexp.c: Include <float.h>.
37822 (__cexp): Handle exp result overflowing not necessarily
37823 overflowing both real and imaginary parts of result.
37824 * math/s_cexpf.c: Likewise.
37825 * math/s_cexpl.c: Likewise.
37826 * math/libm-test.inc (cexp_test): Add more tests.
37827 * sysdeps/i386/fpu/libm-test-ulps: Update.
37828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37830 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37832 * include/link.h (ELFW): New macro.
37833 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37834 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37836 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37838 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37841 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37843 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37845 (struct La_x32_retval): Likewise.
37847 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37849 * sysdeps/x86_64/preconfigure.in: New file.
37850 * sysdeps/x86_64/preconfigure: New generated file.
37852 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37855 * math/e_exp2l.c: Include <float.h>.
37856 (__ieee754_exp2l): Handle overflow and underflow cases
37857 separately. Only pass fractional part of argument to
37859 * math/libm-test.inc (exp2_test): Add more tests.
37861 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37862 negating x to take absolute value.
37863 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37865 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37866 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37868 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37869 computing low part if x was negated.
37870 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37872 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37874 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37875 la_x32_gnu_pltexit.
37876 (pltexit): Cast int_retval to ptrdiff_t.
37877 * elf/tst-auditmod3b.c: Likewise.
37878 * elf/tst-auditmod4b.c: Likewise.
37879 * elf/tst-auditmod5b.c: Likewise.
37880 * elf/tst-auditmod6b.c: Likewise.
37881 * elf/tst-auditmod6c.c: Likewise.
37882 * elf/tst-auditmod7b.c: Likewise.
37884 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37885 and x32_gnu_pltexit.
37887 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37888 __ELF_NATIVE_CLASS.
37889 (La_x32_regs): New macro.
37890 (La_x32_retval): Likewise.
37891 (la_x32_gnu_pltenter): New function prototype.
37892 (la_x32_gnu_pltexit): Likewise.
37894 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37896 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37901 * configure.in (libc_cv_cc_nofma): Check for option to disable
37902 generation of FMA instructions.
37903 * configure: Regenerate.
37904 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37905 * sysdeps/ieee754/dbl-64/Makefile: New file.
37906 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37907 Remove brandred-fma4.
37908 (CFLAGS-brandred-fma4.c): Remove.
37909 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37910 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37912 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37915 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37917 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37918 LLONG_MAX != LONG_MAX.
37919 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37920 (_fitoa_word): Likewise.
37921 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37922 LLONG_MAX != LONG_MAX.
37923 * stdio-common/_itowa.h: Include <_itoa.h>.
37924 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37925 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37926 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37927 only if not defined.
37928 (_ITOA_WORD_TYPE): Likewise.
37929 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37930 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37932 2012-03-21 David S. Miller <davem@davemloft.net>
37934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37936 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37938 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37939 of x86_64 when setting libc_cv_slibdir, libdir and
37941 * sysdeps/unix/sysv/linux/configure: Regenerated.
37943 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37945 * manual/lang.texi (Old Varargs): Remove section.
37946 (How Variadic): Update menu.
37947 (va_start): Do not mention varargs.h.
37949 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37950 Joseph Myers <joseph@codesourcery.com>
37952 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37954 * configure: Regenerated.
37956 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37958 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37959 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37962 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37965 * Makefile (files-for-dist): Remove NOTES.
37966 (NOTES): Remove rule.
37967 * README: Don't refer to NOTES.
37968 * manual/creature.texi: Don't include macros.texi.
37969 * manual/intro.texi (creature.texi): Remove comment referring to
37972 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37973 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37974 * configure: Regenerated.
37975 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37976 LIBC_TRY_CC_OPTION.
37977 (libc_cv_as_i686): Likewise.
37978 (libc_cv_cc_avx): Likewise.
37979 (libc_cv_cc_sse2avx): Likewise.
37980 (libc_cv_cc_fma4): Likewise.
37981 (libc_cv_cc_novzeroupper): Likewise.
37982 * sysdeps/i386/configure: Regenerated.
37985 * sysdeps/i386/fpu/s_cexp.S: Remove.
37986 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37987 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37988 * math/libm-test.inc (cexp_test): Add more tests.
37989 * sysdeps/i386/fpu/libm-test-ulps: Update.
37990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37992 2012-03-21 Allan McRae <allan@archlinux.org>
37994 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37996 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37999 * math/w_exp2.c: Do not include <float.h>.
38000 (o_threshold, u_threshold): Remove.
38001 (__exp2): Calculate result before checking finiteness and calling
38003 * math/w_exp2f.c: Likewise.
38004 * math/w_exp2l.c: Likewise.
38005 * math/libm-test.inc (exp2_test): Require overflow exception for
38009 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38010 range of signed 64-bit integers before using fistpll. Remove
38011 checks for whether integers fit in mantissa bits.
38012 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38013 the range of signed 32-bit integers before using fistpl. Remove
38014 checks for whether integers fit in mantissa bits.
38015 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38016 (__ieee754_powl): Test for y outside the range of signed 64-bit
38017 integers before using fistpll. Reduce 64-bit values to 63-bit
38019 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38020 divide-by-zero is raised for zero to large negative powers.
38021 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38022 (__ieee754_powl): Test for y outside the range of signed 64-bit
38023 integers before using fistpll. Reduce 64-bit values to 63-bit
38025 * math/libm-test.inc (pow_test): Add more tests.
38027 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38029 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38030 <stdio-common/_itoa.h>.
38031 * debug/segfault.c: Likewise.
38032 * elf/dl-cache.c: Likewise.
38033 * elf/dl-minimal.c: Likewise.
38034 * elf/dl-misc.c: Likewise.
38035 * elf/dl-sysdep.c: Likewise.
38036 * elf/dl-version.c: Likewise.
38037 * elf/rtld.c: Likewise.
38038 * hurd/hurdsock.c: Likewise.
38039 * hurd/lookup-retry.c: Likewise.
38040 * malloc/malloc.c: Likewise.
38041 * malloc/mtrace.c: Likewise.
38042 * nscd/nscd_getgr_r.c: Likewise.
38043 * nscd/nscd_getpw_r.c: Likewise.
38044 * nscd/nscd_getserv_r.c: Likewise.
38045 * posix/getopt_init.c: Likewise.
38046 * posix/wordexp.c: Likewise.
38047 * stdio-common/_itoa.c: Likewise.
38048 * stdio-common/printf_fphex.c: Likewise.
38049 * stdio-common/vfprintf.c: Likewise.
38050 * string/_strerror.c: Likewise.
38051 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38052 * sysdeps/i386/i686/hp-timing.h: Likewise.
38053 * sysdeps/mach/_strerror.c: Likewise.
38054 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38055 * sysdeps/mach/hurd/sethostid.c: Likewise.
38056 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38057 * sysdeps/mach/xpg-strerror.c: Likewise.
38058 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38060 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38061 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38062 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38063 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38064 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38065 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38066 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38067 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38068 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38069 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38070 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38071 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38072 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38073 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38074 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38075 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38076 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38077 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38078 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38080 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38082 * stdio-common/_itoa.h: Moved to ...
38083 * sysdeps/generic/_itoa.h: Here.
38085 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38087 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38088 instead of "_itoa.h" and "_itowa.h".
38089 * stdio-common/vfprintf.: Likewise.
38091 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38093 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38095 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38096 (__signbit): Likwise.
38097 (llrintf): Likwise.
38100 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38102 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38105 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38107 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38108 OVERFLOW_EXCEPTION_OK.
38109 * math/libm-test.inc ("Philosophy"): Update comment about
38111 (OVERFLOW_EXCEPTION): Define.
38112 (OVERFLOW_EXCEPTION_OK): Likewise.
38113 (INVALID_EXCEPTION_OK): Renumber.
38114 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38115 (IGNORE_ZERO_INF_SIGN): Likewise.
38116 (test_exceptions): Handle FE_OVERFLOW.
38117 (exp10_test): Expect overflow exceptions.
38118 (exp2_test): Likewise.
38119 (expm1_test): Likewise.
38120 (nextafter_test): Likewise.
38121 (pow_test): Likewise.
38122 (scalbn_test): Likewise.
38123 (scalbln_test): Likewise.
38125 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38127 * sysdeps/x86_64/bits/atomic.h
38128 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38130 (atomic_exchange_acq): Likewise.
38131 (__arch_exchange_and_add_body): Likewise.
38132 (__arch_add_body): Likewise.
38133 (atomic_add_negative): Likewise.
38134 (atomic_add_zero): Likewise.
38136 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38138 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38139 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38141 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38143 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38144 Check __x86_64__ instead of __WORDSIZE.
38146 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38148 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38150 2012-03-19 David S. Miller <davem@davemloft.net>
38152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38154 * sysdeps/sparc/fpu/fenv_private.h: New file.
38155 * sysdeps/sparc/fpu/math_private.h: Use it.
38156 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38158 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38159 (libc_feholdexcept_setroundl): Remove.
38160 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38162 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38163 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38165 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38167 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38168 int64_t instead of long int.
38169 (INSERT_WORDS64): Likwise.
38171 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38173 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38174 _Unwind_GetCFA return to _Unwind_Ptr first.
38176 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38179 * math/s_clog.c: Include <float.h>.
38180 (__clog): Scale large or subnormal inputs.
38181 * math/s_clogf.c: Likewise.
38182 * math/s_clogl.c: Likewise.
38183 * math/s_clog10.c: Include <float.h>.
38184 (M_LOG10_2): Define.
38185 (__clog10): Scale large or subnormal inputs.
38186 * math/s_clog10f.c: Likewise.
38187 * math/s_clog10l.c: Likewise.
38188 * math/libm-test.inc (clog_test): Add more tests.
38189 (clog10_test): Likewise.
38190 * sysdeps/i386/fpu/libm-test-ulps: Update.
38191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38194 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38196 * math/libm-test.inc (atan2_test): Add another test.
38198 * Makerules (common-objdir-compile): Remove.
38199 * sysdeps/unix/Makefile (config-generated): Do not add
38200 $(unix-generated) to variable.
38201 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38202 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38204 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38206 [generic bits/local_lim.h] (before-compile): Do not append to
38208 [generic bits/local_lim.h] (common-generated): Likewise.
38209 [generic sys/param.h] (before-compile): Do not append to variable.
38210 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38211 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38212 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38213 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38215 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38216 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38217 [generic sys/param.h] ($(addprefix
38218 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38219 [generic sys/param.h] (common-generated): Do not append to
38221 [generic sys/param.h] (sysdep_headers): Likewise.
38222 [generic bits/errno.h] (before-compile): Do not append to
38224 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38226 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38227 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38228 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38229 [generic bits/errno.h] (common-generated): Do not append to
38231 [generic bits/ioctls.h] (before-compile): Do not append to
38233 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38235 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38236 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38237 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38239 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38240 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38241 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38242 [generic bits/ioctls.h] (common-generated): Do not append to
38244 [generic sys/syscall.h] (syscall.h): Remove variable.
38245 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38247 [generic sys/syscall.h] (before-compile): Do not append to
38249 [generic sys/syscall.h] (common-generated): Likewise.
38250 * sysdeps/unix/errnos-tmpl.c: Remove file.
38251 * sysdeps/unix/errnos.awk: Likewise.
38252 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38253 * sysdeps/unix/ioctls.awk: Likewise.
38254 * sysdeps/unix/mk-local_lim.c: Likewise.
38255 * sysdeps/unix/snarf-ioctls: Likewise.
38257 2012-03-19 Richard Henderson <rth@twiddle.net>
38259 * sysdeps/i386/fpu/fenv_private.h: New file.
38260 * sysdeps/i386/fpu/math_private.h: Use it.
38261 (math_opt_barrier, math_force_eval): Remove.
38262 (libc_feholdexcept_setround_53bit): Remove.
38263 (libc_feupdateenv_53bit): Remove.
38264 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38265 (math_opt_barrier, math_force_eval): Remove.
38266 (libc_feholdexcept): Remove.
38267 (libc_feholdexcept_setround): Remove.
38268 (libc_fetestexcept, libc_fesetenv): Remove.
38269 (libc_feupdateenv_test): Remove.
38270 (libc_feupdateenv, libc_feholdsetround): Remove.
38271 (libc_feresetround): Remove.
38273 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38274 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38276 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38277 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38278 (libc_feupdateenv_testl): New.
38279 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38280 (libc_feupdateenv_testf): New.
38281 (libc_feupdateenv): Use libc_feupdateenv_test.
38282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38283 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38285 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38286 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38287 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38288 (libc_feresetround_noex): New.
38289 (libc_feresetround_noexf): New.
38290 (libc_feresetround_noexl): New.
38291 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38292 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38293 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38294 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38296 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38297 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38299 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38300 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38301 SET_RESTORE_ROUND_NOEX.
38302 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38303 SET_RESTORE_ROUND_NOEXF.
38304 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38305 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38306 (libc_feholdsetroundf): New.
38307 (libc_feresetround, libc_feresetroundf): New.
38309 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38310 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38311 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38313 * sysdeps/generic/math_private.h: Include <fenv.h>.
38314 (default_libc_feholdexcept): New.
38315 (default_libc_feholdexcept_setround): New.
38316 (default_libc_fesetenv, default_libc_feupdateenv): New.
38317 (libc_feholdexcept): Only define if undefined.
38318 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38319 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38320 (libc_feholdexcept_setroundl): Likewise.
38321 (libc_feholdexcept_setround_53bit): Likewise.
38322 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38323 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38324 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38325 (libc_feupdateenv_53bit): Likewise.
38326 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38327 (libc_feholdexcept): Convert from macro to inline function.
38328 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38329 (libc_fesetenv, libc_feupdateenv): Likewise.
38331 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38332 not previously defined.
38333 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38334 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38335 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38336 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38337 * sysdeps/ieee754/flt-32/math_private.h: New file.
38338 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38339 math_private.h below SET_FLOAT_WORD.
38340 (__isnan, __isinf_ns, __finite): Remove.
38341 (__isnanf, __isinf_nsf, __finitef): Remove.
38343 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38347 2012-03-17 David S. Miller <davem@davemloft.net>
38350 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38353 2012-03-16 David S. Miller <davem@davemloft.net>
38355 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38359 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38361 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38362 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38363 sysdep_routines when subdir is sysvipc.
38364 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38365 __getshmlba helper.
38367 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38369 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38371 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38374 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38376 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38377 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38378 (__lround): Renamed to ...
38379 (__llround): This. Replace long int with long long int.
38380 Define lround functions as aliases of llround functions.
38381 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38383 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38385 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38386 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38387 adresses to uintptr_t. Replace "long int" and "unsigned long
38388 int" with "greg_t" on va_arg.
38390 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38392 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38393 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38395 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38396 Move e_machine check before EI_CLASS check. Handle x32
38397 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38398 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38399 SKIP_EM_IA_64 and include
38400 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38402 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38403 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38404 (add_system_dir): New macro.
38406 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38407 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38409 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38420 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38422 * math/w_j0f.c (j0f): Likewise.
38424 * math/w_j0l.c (__j0l): Likewise.
38426 * math/w_j1.c (j1): Likewise.
38428 * math/w_j1f.c (j1f): Likewise.
38430 * math/w_j1l.c (__j1l): Likewise.
38432 * math/w_jn.c (jn): Likewise.
38434 * math/w_jnf.c (jnf): Likewise.
38436 * math/w_jnl.c (__jnl): Likewise.
38438 * math/libm-test.inc (j0_test): Add more tests.
38439 (j1_test): Likewise.
38440 (jn_test): Likewise. Add trailing semicolon to existing test.
38441 (y0_test): Likewise.
38442 (y1_test): Likewise.
38443 * sysdeps/i386/fpu/libm-test-ulps: Update.
38444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38448 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38449 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38450 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38451 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38452 (__tanl): Set errno for infinite argument.
38453 * sysdeps/i386/fpu/mptan.c: Remove.
38454 * sysdeps/i386/fpu/s_tan.S: Likewise.
38455 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38456 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38457 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38458 * math/libm-test.inc (tan_test): Add more tests and enable more
38459 tests for double and long double.
38460 * sysdeps/i386/fpu/libm-test-ulps: Update.
38461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38463 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38465 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38466 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38468 2012-03-16 Roland McGrath <roland@hack.frob.com>
38470 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38471 * configure.in: Use it for both main tree and add-ons.
38472 * configure: Regenerated.
38474 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38476 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38478 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38480 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38484 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38485 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38486 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38487 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38488 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38490 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38491 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38492 != 0 for prec == 2.
38493 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38494 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38495 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38496 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38497 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38498 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38499 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38500 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38501 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38502 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38503 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38504 * math/libm-test.inc (cos_test): Add more tests and enable more
38505 tests for long double.
38506 (sin_test): Likewise.
38507 (sincos_test): Likewise.
38508 * sysdeps/i386/fpu/libm-test-ulps: Update.
38509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38511 2012-03-16 David S. Miller <davem@davemloft.net>
38513 * sysdeps/sparc/fpu/math_private.h: New file.
38515 2012-03-15 David S. Miller <davem@davemloft.net>
38517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38527 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38531 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38532 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38534 * sysdeps/sparc/sparc-ifunc.h: New file.
38535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38561 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38562 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38573 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38575 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38576 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38577 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38578 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38580 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38582 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38586 2012-03-15 Andreas Jaeger <aj@suse.de>
38589 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38590 ieee754/flt-32 implementation for sin, cos and sincos.
38591 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38592 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38593 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38594 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38595 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38596 ieee754/flt-32 implementation for tan.
38598 * math/libm-test.inc (cos_test): Enable some large input tests for
38600 (sin_test): Likewise.
38601 (sincos_test): Likewise.
38602 (tan_test): Add tests for large input.
38604 * sysdeps/i386/fpu/libm-test-ulps: Update.
38606 2012-03-15 Andreas Jaeger <aj@suse.de>
38609 * math/libm-test.inc (cos_test): Add more test cases.
38610 (sin_test): Likewise.
38611 (sincos_test): Likewise.
38613 2012-03-15 Andreas Jaeger <aj@suse.de>
38616 * math/libm-test.inc (cos_test): Add a test case for large input
38618 (sin_test): Likewise.
38619 (sincos_test): Likewise.
38621 2012-03-15 Andreas Jaeger <aj@suse.de>
38622 Joseph Myers <joseph@codesourcery.com>
38625 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38626 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38627 * sysdeps/i386/fpu/branred.c: Likewise.
38628 * sysdeps/i386/fpu/dosincos.c: Likewise.
38629 * sysdeps/i386/fpu/mpa.c: Likewise.
38630 * sysdeps/i386/fpu/s_cos.S: Likewise.
38631 * sysdeps/i386/fpu/s_sin.S: Likewise.
38632 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38633 * sysdeps/i386/fpu/sincos32.c: Likewise.
38635 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38637 (libc_feupdateenv_53bit): Define.
38638 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38640 (libc_feupdateenv_53bit): Define.
38642 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38643 53 bit (without extend i386 double precision).
38645 * math/libm-test.inc (sincos_test): Add tests for large input.
38649 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38651 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38655 2012-03-15 David S. Miller <davem@davemloft.net>
38657 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38658 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38659 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38660 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38684 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38685 fmin/fmax sysdep routines.
38686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38688 2012-03-14 David S. Miller <davem@davemloft.net>
38690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38694 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38695 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38696 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38710 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38711 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38712 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38714 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38715 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38718 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38762 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38767 * sysdeps/sparc/configure.in: New file.
38768 * sysdeps/sparc/configure: Generate.
38769 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38770 * configure: Regenerate.
38771 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38772 * config.make.in (have-as-vis3): New.
38773 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38774 available use -Av9d instead of -Av9a.
38775 * sysdeps/sparc/sparc64/Makefile: Likewise.
38776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38785 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38791 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38792 fzeros/fnegs to load 0x80000000 into a float register instead of
38794 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38796 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38800 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38801 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38802 ($(inst_includedir)/bits/syscall.h): Remove rule.
38803 ($(objpfx)bits/syscall.d): Include instead of
38804 $(objpfx)syscall-list.d.
38805 (generated): Change syscall-list.h and syscall-list.d to
38806 bits/syscall.h and bits/syscall.d.
38808 2012-03-14 Roland McGrath <roland@hack.frob.com>
38811 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38813 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38816 * math/s_csqrt.c: Include <float.h>.
38817 (__csqrt): Scale large or subnormal inputs.
38818 * math/s_csqrtf.c: Likewise.
38819 * math/s_csqrtl.c: Likewise.
38820 * math/libm-test.inc (csqrt_test): Add more tests.
38821 * sysdeps/i386/fpu/libm-test-ulps: Update.
38822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38825 * math/libm-test.inc (hypot_test): Add more tests.
38827 2012-03-13 David S. Miller <davem@davemloft.net>
38830 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38831 double-precision for the calculation instead of scaling.
38833 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38835 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38836 manipulate bits before adding and subtracting TWO52[sx].
38837 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38838 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38840 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38842 2012-03-13 David S. Miller <davem@davemloft.net>
38844 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38845 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38846 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38847 rtld-global-offsets.h
38848 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38850 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38853 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38855 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38856 'err' in the ifdef scope in which it is actually used.
38858 * nss/nss_db/db-init.c: Include string.h
38860 2012-03-12 David S. Miller <davem@davemloft.net>
38862 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38863 masking out of the most significant byte of random value used.
38864 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38865 Fix coding style in previous change.
38867 * sysdeps/unix/sysv/linux/kernel-features.h
38868 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38869 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38871 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38874 2012-03-11 David S. Miller <davem@davemloft.net>
38876 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38877 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38878 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38879 for 'resultvar' otherwise things get truncated on 64-bit.
38881 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38882 Fix masking out of the most significant byte of random value used.
38884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38886 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38890 2012-03-09 David S. Miller <davem@davemloft.net>
38892 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38893 variables with appropriate CPP guards.
38894 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38895 from the frame pointer, not the stack pointer. Correct layout
38896 comments. Fix test on resulting framesize and the management of
38897 the outregs buffer for pltexit. Preserve floating point return
38898 values across _dl_call_pltexit call.
38899 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38900 framesize and the management of the outregs buffer for pltexit.
38901 Preserve floating point return values across _dl_call_pltexit
38903 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38904 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38905 (la_sparc64_gnu_pltexit): New functions.
38906 (print_exit): Fix format string for return register value.
38908 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38910 * sunrpc/Makefile (others): Add rpcgen.
38911 ($(objpfx)rpcgen): Remove special build rule and dependency on
38913 * sunrpc/rpcgen.c: New file.
38915 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38918 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38919 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38920 * sysdeps/i386/crti.S: Likewise.
38921 * sysdeps/i386/crtn.S: Likewise.
38922 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38923 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38924 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38925 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38926 * sysdeps/sh/crti.S: Likewise.
38927 * sysdeps/sh/crtn.S: Likewise.
38928 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38931 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38933 * locale/programs/locfile-kw.gperf: Likewise.
38934 * locale/programs/charmap-kw.h: Regenerated.
38935 * locale/programs/locfile-kw.h: Likewise.
38938 * intl/plural.y: Replace FSF snail mail address with URL.
38939 * intl/plural.c: Regenerated.
38941 2012-03-09 Richard Henderson <rth@twiddle.net>
38943 * include/math_private.h: Remove file.
38944 * math/math_private.h: Move file ...
38945 * sysdeps/generic/math_private.h: ... here.
38947 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38948 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38949 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38951 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38952 and <math_private.h>.
38953 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38954 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38955 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38956 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38957 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38958 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38959 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38960 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38961 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38962 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38964 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38965 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38966 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38967 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38968 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38969 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38970 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38971 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38972 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38974 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38975 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38976 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38977 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38978 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38979 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38980 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38981 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38982 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38983 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38984 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38985 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38986 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38987 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38988 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38989 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38990 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38991 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38992 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38993 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38994 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38996 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38997 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38998 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38999 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39000 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39001 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39002 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39003 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39004 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39006 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39007 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39008 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39009 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39010 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39011 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39012 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39013 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39014 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39015 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39016 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39017 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39018 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39019 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39020 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39021 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39022 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39023 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39024 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39025 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39026 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39027 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39028 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39030 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39031 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39032 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39033 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39034 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39035 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39036 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39037 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39038 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39040 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39041 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39042 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39043 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39044 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39045 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39046 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39047 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39048 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39049 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39050 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39051 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39052 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39053 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39054 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39055 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39056 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39057 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39058 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39059 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39060 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39061 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39062 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39063 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39064 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39065 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39066 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39067 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39068 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39069 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39070 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39071 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39072 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39073 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39074 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39075 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39076 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39077 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39078 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39079 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39080 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39081 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39082 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39083 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39084 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39085 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39086 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39087 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39088 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39089 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39090 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39091 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39092 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39093 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39094 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39095 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39096 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39097 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39098 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39099 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39100 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39101 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39102 * sysdeps/ieee754/k_standard.c: Likewise.
39103 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39104 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39105 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39106 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39107 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39108 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39109 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39110 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39111 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39112 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39113 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39114 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39115 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39116 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39117 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39118 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39119 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39120 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39121 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39122 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39123 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39124 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39125 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39126 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39127 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39128 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39129 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39130 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39131 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39132 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39133 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39134 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39135 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39136 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39137 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39138 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39139 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39140 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39141 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39142 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39143 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39144 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39145 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39146 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39147 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39148 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39149 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39150 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39151 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39152 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39153 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39154 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39155 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39156 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39157 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39158 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39159 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39160 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39161 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39162 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39163 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39164 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39165 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39166 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39167 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39168 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39169 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39170 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39171 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39172 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39174 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39175 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39176 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39177 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39179 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39180 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39181 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39182 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39183 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39184 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39185 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39186 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39188 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39189 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39190 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39191 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39192 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39193 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39194 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39195 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39196 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39197 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39198 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39199 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39200 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39201 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39202 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39203 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39204 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39205 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39206 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39207 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39208 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39209 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39210 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39211 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39212 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39213 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39214 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39215 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39217 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39218 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39219 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39220 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39221 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39222 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39223 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39224 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39225 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39226 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39227 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39228 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39229 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39230 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39231 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39232 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39233 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39234 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39235 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39236 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39237 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39238 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39239 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39240 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39241 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39242 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39243 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39244 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39245 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39246 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39247 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39248 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39249 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39250 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39251 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39252 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39253 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39254 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39255 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39256 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39257 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39258 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39259 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39260 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39261 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39262 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39263 * sysdeps/ieee754/s_lib_version.c: Likewise.
39264 * sysdeps/ieee754/s_matherr.c: Likewise.
39265 * sysdeps/ieee754/s_signgam.c: Likewise.
39266 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39267 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39268 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39269 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39270 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39271 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39272 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39273 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39274 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39275 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39276 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39277 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39278 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39279 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39280 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39281 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39282 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39283 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39284 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39286 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39288 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39290 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39291 * sunrpc/rpc_main.c: Likewise.
39292 * sunrpc/rpc_svcout.c: Likewise.
39294 2012-03-09 David S. Miller <davem@davemloft.net>
39296 * include/math_private.h: New file.
39298 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39300 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39301 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39302 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39303 from <bits/socket_type.h>.
39304 (enum __socket_type): Don't define here.
39305 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39307 bits/socket_type.h.
39310 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39311 checking __USE_GNU.
39313 * Makerules ($(inst_includedir)/%.h): New rule.
39314 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39315 (install-others): Remove variable setting.
39316 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39318 2012-03-08 Richard Henderson <rth@twiddle.net>
39320 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39321 from macro to inline function; merge with the
39322 !__LIBC_INTERNAL_MATH_INLINES version.
39323 (__ieee754_sqrtf): Likewise.
39325 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39326 to inline function.
39327 (__rintf, __floor, __floorf): Likewise.
39329 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39330 macro to inline function.
39331 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39333 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39334 not <math/math_private.h>.
39336 2012-03-08 David S. Miller <davem@davemloft.net>
39338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39340 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39342 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39344 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39346 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39347 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39349 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39351 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39352 be defined individually, they must be defined as a block. Define
39353 S for printing a string instead of hidint the different by using a
39354 macro for adding the 'l'.
39355 * stdio-common/tst-fphex-wide.c: Adjust.
39357 2012-03-07 Marek Polacek <polacek@redhat.com>
39359 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39361 2012-03-08 Marek Polacek <polacek@redhat.com>
39364 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39365 * stdio-common/tst-fphex.c: Define a few macros to make the
39366 test reusable. Use them.
39367 * stdio-common/tst-fphex-wide.c: New file.
39369 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39372 * manual/macros.texi (gnusystems): New macro.
39373 (nongnusystems): Likewise.
39374 (gnulinuxhurdsystems): Likewise.
39375 (gnuhurdsystems): Likewise..
39376 (gnulinuxsystems): Likewise.
39377 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39378 variants of the GNU system, not "GNU system".
39379 * manual/conf.texi: Likewise.
39380 * manual/errno.texi: Likewise. Update example of errno macro
39382 * manual/filesys.texi: Likewise.
39383 (getumask): Document as specific to GNU/Hurd.
39384 * manual/install.texi: Likewise. Reword some references to
39386 * manual/intro.texi: Likewise.
39387 * manual/io.texi: Likewise.
39388 (File Name Portability): Detail which constraints are inapplicable
39389 to all GNU systems and which are only inapplicable to GNU/Hurd.
39390 * manual/job.texi: Likewise.
39391 * manual/llio.texi: Likewise.
39392 (O_NOCTTY): Document as present on GNU/Linux.
39393 * manual/maint.texi: Likewise.
39394 * manual/memory.texi: Likewise.
39395 * manual/pattern.texi: Likewise.
39396 * manual/pipe.texi: Likewise.
39397 * manual/process.texi: Likewise.
39398 * manual/resource.texi: Likewise.
39399 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39401 * manual/setjmp.texi: Likewise.
39402 * manual/signal.texi: Likewise.
39403 * manual/startup.texi: Likewise.
39404 * manual/stdio.texi: Likewise.
39405 * manual/terminal.texi: Likewise.
39406 (ONLCR): Document as POSIX.
39407 (OXTABS): Document availability on GNU/Linux as XTABS.
39408 (ONOEOT): Document availability separately from other bits.
39409 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39410 * manual/time.texi: Likewise.
39411 * manual/users.texi: Likewise.
39412 * INSTALL: Regenerated.
39413 * sysdeps/gnu/errlist.c: Regenerated.
39415 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39416 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39417 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39419 * configure: Regenerated.
39421 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39423 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39424 default includes instead of AC_HEADER_CHECK.
39425 * sysdeps/i386/configure: Regenerated.
39428 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39429 * math/s_cacoshf.c (__cacoshf): Likewise.
39430 * math/s_cacoshl.c (__cacoshl): Likewise.
39431 * math/s_casinh.c (__casinh): Set signs of result from argument.
39432 * math/s_casinhf.c (__casinhf): Likewise.
39433 * math/s_casinhl.c (__casinhl): Likewise.
39434 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39435 (casinh_test): Add more tests.
39436 * sysdeps/i386/fpu/libm-test-ulps: Update.
39437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39439 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39441 * po/zh_TW.po: Update from translation team.
39443 * login/Makefile (distribute): Remove variable.
39444 * catgets/Makefile: Likewise.
39445 * mach/Makefile: Likewise.
39446 * malloc/Makefile: Likewise.
39447 * misc/Makefile: Likewise.
39448 * iconv/Makefile: Likewise.
39449 * nscd/Makefile: Likewise.
39450 * hurd/Makefile: Likewise.
39451 * manual/Makefile: Likewise.
39452 * locale/Makefile: Likewise.
39453 * intl/Makefile: Likewise.
39454 * conform/Makefile: Likewise.
39455 * nss/Makefile: Likewise.
39456 * time/Makefile: Likewise.
39457 * soft-fp/Makefile: Likewise.
39458 * dirent/Makefile: Likewise.
39459 * gmon/Makefile: Likewise.
39460 * po/Makefile: Likewise.
39461 * rt/Makefile: Likewise.
39462 * socket/Makefile: Likewise.
39463 * math/Makefile: Likewise.
39464 * signal/Makefile: Likewise.
39465 * debug/Makefile: Likewise.
39466 * elf/Makefile: Likewise.
39467 * timezone/Makefile: Likewise.
39468 * stdlib/Makefile: Likewise.
39469 * iconvdata/Makefile: Likewise.
39470 * sunrpc/Makefile: Likewise.
39471 * io/Makefile: Likewise.
39472 * argp/Makefile: Likewise.
39473 * inet/Makefile: Likewise.
39474 * hesiod/Makefile: Likewise.
39475 * grp/Makefile: Likewise.
39476 * csu/Makefile: Likewise.
39477 * wctype/Makefile: Likewise.
39478 * crypt/Makefile: Likewise.
39479 * libio/Makefile: Likewise.
39480 * string/Makefile: Likewise.
39481 * nis/Makefile: Likewise.
39482 * resolv/Makefile: Likewise.
39483 * stdio-common/Makefile: Likewise.
39484 * wcsmbs/Makefile: Likewise.
39485 * dlfcn/Makefile: Likewise.
39486 * posix/Makefile: Likewise.
39489 * timezone/Makefile: Don't install timezone files, just the programs
39492 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39494 * nss/databases.def: Add missing gshadow entry.
39496 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39498 2012-03-06 Marek Polacek <polacek@redhat.com>
39501 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39502 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39503 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39504 * stdio-common/tst-long-dbl-fphex.c: New file.
39506 2012-03-06 David S. Miller <davem@davemloft.net>
39508 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39509 (set_obp_int): New function.
39510 (get_obp_int): New function.
39511 (__get_clockfreq_via_dev_openprom): Likewise.
39512 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39513 Avoid unused variable warnings on 'val' and use builtin_expect.
39514 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39516 (INLINE_CLONE_SYSCALL): Likewise.
39518 2012-03-05 David S. Miller <davem@davemloft.net>
39520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39522 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39526 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39527 only for |x| >= 40.
39528 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39530 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39533 Replace gettimeofday with __vdso_gettimeofday.
39535 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39536 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39537 __vdso_clock_gettime and __vdso_getcpu.
39539 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39540 time with __vdso_time.
39542 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39544 * manual/lang.texi (size_t): Note types to which size_t may be
39545 equivalent with the GNU C Library, but do not describe when
39546 differences between them are significant.
39548 2012-03-05 Andreas Jaeger <aj@suse.de>
39550 * sysdeps/i386/fpu/libm-test-ulps: Update.
39552 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39555 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39556 (__ieee754_pow): Save and restore rounding mode and use
39557 round-to-nearest for main computations.
39558 * math/libm-test.inc (pow_test_tonearest): New function.
39559 (pow_test_towardzero): Likewise.
39560 (pow_test_downward): Likewise.
39561 (pow_test_upward): Likewise.
39562 (main): Call the new functions.
39563 * sysdeps/i386/fpu/libm-test-ulps: Update.
39564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39567 * math/libm-test.inc (cosh_test_tonearest): New function.
39568 (cosh_test_towardzero): Likewise.
39569 (cosh_test_downward): Likewise.
39570 (cosh_test_upward): Likewise.
39571 (sinh_test_tonearest): Likewise.
39572 (sinh_test_towardzero): Likewise.
39573 (sinh_test_downward): Likewise.
39574 (sinh_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.
39579 2012-03-05 Tom de Vries <tom@codesourcery.com>
39581 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39582 default stack guard is set in last bytes.
39583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39585 2012-03-05 Kees Cook <keescook@chromium.org>
39587 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39590 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39591 possibly allocate from heap instead of stack.
39592 * stdio-common/bug-vfprintf-nargs.c: New file.
39593 * stdio-common/Makefile (tests): Add nargs overflow test.
39595 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39599 2012-03-03 Marek Polacek <polacek@redhat.com>
39601 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39602 * math/math_private.h: Likewise.
39603 * stdlib/tst-strtod.c: Likewise.
39604 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39605 * sysdeps/x86_64/bits/atomic.h: Likewise.
39607 2012-03-02 David S. Miller <davem@davemloft.net>
39609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39613 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39614 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39615 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39616 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39618 2012-03-02 Roland McGrath <roland@hack.frob.com>
39621 * manual/examples/README: New file, says the example source files
39622 can be used under GPL>=2.
39623 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39624 line containing just "*/".
39625 * manual/examples/add.c: Add copyright header (GPL>=2).
39626 * manual/examples/argp-ex1.c: Likewise.
39627 * manual/examples/argp-ex2.c: Likewise.
39628 * manual/examples/argp-ex3.c: Likewise.
39629 * manual/examples/argp-ex4.c: Likewise.
39630 * manual/examples/atexit.c: Likewise.
39631 * manual/examples/db.c: Likewise.
39632 * manual/examples/dir.c: Likewise.
39633 * manual/examples/dir2.c: Likewise.
39634 * manual/examples/execinfo.c: Likewise.
39635 * manual/examples/filecli.c: Likewise.
39636 * manual/examples/filesrv.c: Likewise.
39637 * manual/examples/fmtmsgexpl.c: Likewise.
39638 * manual/examples/genpass.c: Likewise.
39639 * manual/examples/inetcli.c: Likewise.
39640 * manual/examples/inetsrv.c: Likewise.
39641 * manual/examples/isockad.c: Likewise.
39642 * manual/examples/longopt.c: Likewise.
39643 * manual/examples/memopen.c: Likewise.
39644 * manual/examples/memstrm.c: Likewise.
39645 * manual/examples/mkfsock.c: Likewise.
39646 * manual/examples/mkisock.c: Likewise.
39647 * manual/examples/mygetpass.c: Likewise.
39648 * manual/examples/pipe.c: Likewise.
39649 * manual/examples/popen.c: Likewise.
39650 * manual/examples/rprintf.c: Likewise.
39651 * manual/examples/search.c: Likewise.
39652 * manual/examples/select.c: Likewise.
39653 * manual/examples/setjmp.c: Likewise.
39654 * manual/examples/sigh1.c: Likewise.
39655 * manual/examples/sigusr.c: Likewise.
39656 * manual/examples/stpcpy.c: Likewise.
39657 * manual/examples/strdupa.c: Likewise.
39658 * manual/examples/strftim.c: Likewise.
39659 * manual/examples/strncat.c: Likewise.
39660 * manual/examples/subopt.c: Likewise.
39661 * manual/examples/swapcontext.c: Likewise.
39662 * manual/examples/termios.c: Likewise.
39663 * manual/examples/testopt.c: Likewise.
39664 * manual/examples/testpass.c: Likewise.
39665 * manual/examples/timeval_subtract.c: Likewise.
39668 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39670 * manual/timeval_subtract.c.texi: ... here, new file.
39672 2012-03-02 David S. Miller <davem@davemloft.net>
39674 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39676 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39679 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39680 (__sin): Save and restore rounding mode and use round-to-nearest
39681 for all computations.
39682 (__cos): Save and restore rounding mode and use round-to-nearest
39683 for all computations.
39684 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39686 (tan): Save and restore rounding mode and use round-to-nearest for
39688 * math/libm-test.inc (cos_test_tonearest): New function.
39689 (cos_test_towardzero): Likewise.
39690 (cos_test_downward): Likewise.
39691 (cos_test_upward): Likewise.
39692 (sin_test_tonearest): Likewise.
39693 (sin_test_towardzero): Likewise.
39694 (sin_test_downward): Likewise.
39695 (sin_test_upward): Likewise.
39696 (tan_test_tonearest): Likewise.
39697 (tan_test_towardzero): Likewise.
39698 (tan_test_downward): Likewise.
39699 (tan_test_upward): Likewise.
39700 (main): Call the new functions.
39701 * sysdeps/i386/fpu/libm-test-ulps: Update.
39702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39705 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39706 small n, then large n, before computing and testing k+n.
39707 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39710 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39712 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39713 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39714 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39715 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39716 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39717 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39718 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39719 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39720 * math/libm-test.inc (scalbn_test): Add more tests.
39721 (scalbln_test): Likewise.
39723 * manual/filesys.texi (mode_t): Describe constraints on size and
39724 signedness, not exact equivalence to a particular type.
39726 (ino64_t): Likewise.
39728 (nlink_t): Likewise.
39729 (blkcnt_t): Likewise.
39730 (blkcnt64_t): Likewise.
39731 * manual/llio.texi (off_t): Likewise.
39734 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39735 (__ieee754_exp): Save and restore rounding mode and use
39736 round-to-nearest for all computations.
39737 * math/libm-test.inc (exp_test_tonearest): New function.
39738 (exp_test_towardzero): Likewise.
39739 (exp_test_downward): Likewise.
39740 (exp_test_upward): Likewise.
39741 (main): Call the new functions.
39742 * sysdeps/i386/fpu/libm-test-ulps: Update.
39743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39745 2012-03-01 Chris Demetriou <cgd@google.com>
39747 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39748 have predictable order.
39750 2012-03-01 David S. Miller <davem@davemloft.net>
39752 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39754 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39755 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39756 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39757 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39759 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39760 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39761 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39763 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39764 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39765 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39766 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39767 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39771 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39772 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39773 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39775 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39776 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39777 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39778 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39779 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39781 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39782 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39783 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39784 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39785 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39786 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39788 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39789 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39790 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39791 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39792 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39793 * sysdeps/sparc/elf/configure: Regenerated.
39795 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39797 * configure.in (AS, LD): Require binutils 2.20 or later.
39798 * configure: Regenerated.
39799 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39800 as required minimum version.
39801 * INSTALL: Regenerated.
39805 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39806 before squaring exponent.
39807 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39808 bottom long double and 27 bits of top long double before squaring
39810 * math/libm-test.inc (erfc_test): Add more tests.
39811 * sysdeps/i386/fpu/libm-test-ulps: Update.
39812 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39815 2012-03-01 Kai Tietz <ktietz@redhat.com>
39817 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39818 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39819 containing bit-fields.
39820 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39821 * soft-fp/single.h (_FP_UNION_S): Likewise.
39822 * soft-fp/double.h (_FP_UNION_D): Likewise.
39824 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39827 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39828 not include ../strcmp.S.
39829 [USE_AS_STRNCASECMP_L]: Likewise.
39830 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39831 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39832 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39833 (__strncasecmp_l_ia32): Define as alias to
39834 __strncasecmp_l_nonascii.
39837 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39838 * sysdeps/i386/fpu/libm-test-ulps: Update.
39839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39841 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39844 2012-02-29 Jeff Law <law@redhat.com>
39846 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39847 out of bounds read.
39849 2012-02-29 Marek Polacek <polacek@redhat.com>
39852 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39853 * elf/Makefile: Add rules to run tst-unused-dep.out.
39855 2012-02-28 David S. Miller <davem@davemloft.net>
39857 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39858 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39860 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39861 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39862 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39864 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39866 * math/libm-test.inc (llround_test): Move one test from
39867 lround_test. Use TEST_f_L in moved test.
39868 (lround_test): Move misplaced test to llround_test. Add testcase
39871 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39873 * sysdeps/x86_64/fpu/e_expf.S: New file.
39874 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39876 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39879 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39880 of remain_len that may cause incomplete multi-byte character and
39882 * posix/bug-regex33.c: New file.
39883 * posix/Makefile (tests): Add bug-regex33.
39885 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39887 * manual/macros.texi: New file.
39888 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39889 * manual/libc.texinfo: Include macros.texi.
39890 * manual/creatute.texi: Likewise.
39891 * manual/install.texi: Likewise.
39892 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39893 @glibcadj{} in references to the GNU C Library.
39894 * manual/charset.texi: Likewise.
39895 * manual/conf.texi: Likewise.
39896 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39897 when not using those macros.
39898 * manual/creature.texi: Likewise.
39899 * manual/crypt.texi: Likewise.
39900 * manual/errno.texi: Likewise.
39901 * manual/filesys.texi: Likewise.
39902 * manual/header.texi: Likewise.
39903 * manual/install.texi: Likewise.
39904 * manual/intro.texi: Likewise.
39905 * manual/io.texi: Likewise.
39906 * manual/job.texi: Likewise.
39907 * manual/lang.texi: Likewise.
39908 * manual/libc.texiinfo: Likewise.
39909 * manual/llio.texi: Likewise.
39910 * manual/locale.texi: Likewise.
39911 * manual/maint.texi: Likewise.
39912 * manual/math.texi: Likewise.
39913 * manual/memory.texi: Likewise.
39914 * manual/message.texi: Likewise.
39915 * manual/nss.texi: Likewise.
39916 * manual/pattern.texi: Likewise.
39917 * manual/process.texi: Likewise.
39918 * manual/resource.texi: Likewise.
39919 * manual/search.texi: Likewise.
39920 * manual/setjmp.texi: Likewise.
39921 * manual/signal.texi: Likewise.
39922 * manual/socket.texi: Likewise.
39923 * manual/startup.texi: Likewise.
39924 * manual/stdio.texi: Likewise.
39925 * manual/string.texi: Likewise.
39926 * manual/sysinfo.texi: Likewise.
39927 * manual/syslog.texi: Likewise.
39928 * manual/terminal.texi: Likewise.
39929 * manual/time.texi: Likewise.
39930 * manual/users.texi: Likewise.
39931 * INSTALL: Regenerated.
39932 * NOTES: Regenerated.
39933 * sysdeps/gnu/errlist.c: Regenerated.
39935 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39937 * include/dirent.h: Include <dirstream.h> before
39940 2012-02-28 David S. Miller <davem@davemloft.net>
39942 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39943 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39944 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39945 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39947 2012-02-27 David S. Miller <davem@davemloft.net>
39949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39951 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39952 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39955 frame pointer instead of stack pointer relative arg slot.
39956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39957 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39958 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39960 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39963 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39965 2012-02-27 David S. Miller <davem@davemloft.net>
39967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39971 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39972 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39973 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39974 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39976 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39978 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39979 later. Allow versions 5-9.
39980 * configure: Regenerated.
39981 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39982 required minimum version and 4.6 as recommended version. Do not
39983 mention bugs in GCC 2.7 and 2.8.
39984 * INSTALL: Regenerated.
39986 2012-02-27 David S. Miller <davem@davemloft.net>
39988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39992 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39993 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39994 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39995 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39997 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39998 manipulate bits before adding and subtracting TWO112[sx].
39999 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40001 2012-02-27 Roland McGrath <roland@hack.frob.com>
40004 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40005 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40006 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40007 being in POSIX, because they are in 1003.1-2008.
40009 * rt/tst-aio.c: Include <fcntl.h>.
40010 * rt/tst-aio7.c: Likewise.
40011 * rt/tst-aio64.c: Likewise.
40013 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40015 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40017 * manual/install.texi (--with-headers): Describe headers as
40018 interface headers, not private headers.
40019 (Specific advice for GNU/Linux systems): Describe use of headers
40020 from "make headers_install", not private headers from older
40022 * INSTALL: Regenerated.
40023 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40025 * sysdeps/unix/sysv/linux/configure: Regenerated.
40027 * manual/llio.texi (fclean): Remove documentation.
40029 * manual/Makefile (libc-texi-generated): New variable. Include
40031 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40032 $(libc-texi-generated), not duplicated list of files.
40033 (version.texi, stamp-version): New rules.
40034 (realclean): Remove $(libc-texi-generated), not individual files
40035 from that list. Do not remove dir-add.texinfo.
40036 * manual/libc.texinfo: Comment out uses of edition numbers and
40037 references to printed manual. Remove last-updated dates.
40038 (EDITION): Comment out.
40040 (VERSION, UPDATED): Remove.
40041 (version.texi): Include.
40043 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40045 * sysdeps/posix/spawni.c: Include <signal.h>.
40046 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40047 * sysdeps/pthread/aio_fsync.c: Likewise.
40049 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40051 * conform/Makefile (tests): Run only when not cross-compiling and
40052 when fast-check is not defined.
40054 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40055 * conform/data/limits.h-data: Fixes for POSIX2008.
40056 * conform/run-conformtest.sh: Run all tests.
40057 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40059 * include/bits/dlfcn.h: Likewise.
40060 * include/langinfo.h: Likewise.
40061 * include/monetary.h: Likewise.
40062 * include/sys/poll.h: Likewise.
40064 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40066 * posix/spawn.h: Define __need_sigset_t.
40067 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40068 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40069 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40070 to get sigevent_t only.
40071 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40072 only for __USE_GNU.
40073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40074 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40075 process_vm_writev only for __USE_GNU.
40076 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40078 * conform/Makefile: For now ignore errors from run-conformtest.
40079 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40080 POSIX to avoid namespace pollution. Don't prepend headers.
40081 * conform/data/aio.h-data: Fixes for POSIX testing.
40082 * conform/data/fcntl.h-data: Likewise.
40083 * conform/data/glob.h-data: Likewise.
40084 * conform/data/grp.h-data: Likewise.
40085 * conform/data/pthread.h-data: Likewise.
40086 * conform/data/pwd.h-data: Likewise.
40087 * conform/data/signal.h-data: Likewise.
40088 * conform/data/spawn.h-data: Likewise.
40089 * conform/data/stdio.h-data: Likewise.
40090 * conform/data/stdlib.h-data: Likewise.
40091 * conform/data/stropts.h-data: Likewise.
40092 * conform/data/sys/mman.h-data: Likewise.
40093 * conform/data/sys/stat.h-data: Likewise.
40094 * conform/data/sys/types.h-data: Likewise.
40095 * conform/data/sys/wait.h-data: Likewise.
40096 * conform/data/time.h-data: Likewise.
40097 * conform/data/unistd.h-data: Likewise.
40098 * conform/data/utime.h-data: Likewise.
40100 * io/sys/stat.h: fchmod was always in POSIX.
40101 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40102 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40103 * rt/aio.h: Define __need_timespec before including <time.h>.
40104 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40105 struct. Add forward declaration of pthread_attr_t and use it in
40107 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40108 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40109 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40110 always remove CLK_TCK definition.
40112 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40114 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40116 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40118 * conform/run-conformtest.sh: New file.
40119 * conform/Makefile: Run run-conformtest for tests.
40120 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40123 * conform/data/uchar.h-data: New file.
40124 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40125 * conform/data/arpa/inet.h-data: Likewise.
40126 * conform/data/assert.h-data: Likewise.
40127 * conform/data/complex.h-data: Likewise.
40128 * conform/data/cpio.h-data: Likewise.
40129 * conform/data/ctype.h-data: Likewise.
40130 * conform/data/dirent.h-data: Likewise.
40131 * conform/data/dlfcn.h-data: Likewise.
40132 * conform/data/errno.h-data: Likewise.
40133 * conform/data/fcntl.h-data: Likewise.
40134 * conform/data/float.h-data: Likewise.
40135 * conform/data/fmtmsg.h-data: Likewise.
40136 * conform/data/fnmatch.h-data: Likewise.
40137 * conform/data/ftw.h-data: Likewise.
40138 * conform/data/glob.h-data: Likewise.
40139 * conform/data/grp.h-data: Likewise.
40140 * conform/data/iconv.h-data: Likewise.
40141 * conform/data/inttypes.h-data: Likewise.
40142 * conform/data/langinfo.h-data: Likewise.
40143 * conform/data/libgen.h-data: Likewise.
40144 * conform/data/limits.h-data: Likewise.
40145 * conform/data/locale.h-data: Likewise.
40146 * conform/data/math.h-data: Likewise.
40147 * conform/data/monetary.h-data: Likewise.
40148 * conform/data/mqueue.h-data: Likewise.
40149 * conform/data/ndbm.h-data: Likewise.
40150 * conform/data/net/if.h-data: Likewise.
40151 * conform/data/netdb.h-data: Likewise.
40152 * conform/data/netinet/in.h-data: Likewise.
40153 * conform/data/nl_types.h-data: Likewise.
40154 * conform/data/poll.h-data: Likewise.
40155 * conform/data/pthread.h-data: Likewise.
40156 * conform/data/pwd.h-data: Likewise.
40157 * conform/data/regex.h-data: Likewise.
40158 * conform/data/sched.h-data: Likewise.
40159 * conform/data/search.h-data: Likewise.
40160 * conform/data/semaphore.h-data: Likewise.
40161 * conform/data/setjmp.h-data: Likewise.
40162 * conform/data/signal.h-data: Likewise.
40163 * conform/data/spawn.h-data: Likewise.
40164 * conform/data/stdarg.h-data: Likewise.
40165 * conform/data/stdio.h-data: Likewise.
40166 * conform/data/stdlib.h-data: Likewise.
40167 * conform/data/string.h-data: Likewise.
40168 * conform/data/strings.h-data: Likewise.
40169 * conform/data/stropts.h-data: Likewise.
40170 * conform/data/sys/ipc.h-data: Likewise.
40171 * conform/data/sys/mman.h-data: Likewise.
40172 * conform/data/sys/msg.h-data: Likewise.
40173 * conform/data/sys/resource.h-data: Likewise.
40174 * conform/data/sys/select.h-data: Likewise.
40175 * conform/data/sys/sem.h-data: Likewise.
40176 * conform/data/sys/shm.h-data: Likewise.
40177 * conform/data/sys/socket.h-data: Likewise.
40178 * conform/data/sys/stat.h-data: Likewise.
40179 * conform/data/sys/statvfs.h-data: Likewise.
40180 * conform/data/sys/time.h-data: Likewise.
40181 * conform/data/sys/timeb.h-data: Likewise.
40182 * conform/data/sys/times.h-data: Likewise.
40183 * conform/data/sys/types.h-data: Likewise.
40184 * conform/data/sys/uio.h-data: Likewise.
40185 * conform/data/sys/un.h-data: Likewise.
40186 * conform/data/sys/utsname.h-data: Likewise.
40187 * conform/data/sys/wait.h-data: Likewise.
40188 * conform/data/syslog.h-data: Likewise.
40189 * conform/data/tar.h-data: Likewise.
40190 * conform/data/termios.h-data: Likewise.
40191 * conform/data/utime.h-data: Likewise.
40192 * conform/data/utmpx.h-data: Likewise.
40193 * conform/data/varargs.h-data: Likewise.
40194 * conform/data/wchar.h-data: Likewise.
40195 * conform/data/wctype.h-data: Likewise.
40196 * conform/data/wordexp.h-data: Likewise.
40198 * include/stropts.h: New file.
40199 * include/uchar.h: New file.
40200 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40201 * include/assert.h: Likewise.
40202 * include/ctype.h: Likewise.
40203 * include/dirent.h: Likewise.
40204 * include/dlfcn.h: Likewise.
40205 * include/fcntl.h: Likewise.
40206 * include/fnmatch.h: Likewise.
40207 * include/glob.h: Likewise.
40208 * include/grp.h: Likewise.
40209 * include/libio.h: Likewise.
40210 * include/locale.h: Likewise.
40211 * include/math.h: Likewise.
40212 * include/net/if.h: Likewise.
40213 * include/netdb.h: Likewise.
40214 * include/netinet/in.h: Likewise.
40215 * include/pthread.h: Likewise.
40216 * include/pwd.h: Likewise.
40217 * include/regex.h: Likewise.
40218 * include/sched.h: Likewise.
40219 * include/search.h: Likewise.
40220 * include/setjmp.h: Likewise.
40221 * include/signal.h: Likewise.
40222 * include/stdio.h: Likewise.
40223 * include/stdlib.h: Likewise.
40224 * include/string.h: Likewise.
40225 * include/sys/cdefs.h: Likewise.
40226 * include/sys/mman.h: Likewise.
40227 * include/sys/msg.h: Likewise.
40228 * include/sys/resource.h: Likewise.
40229 * include/sys/select.h: Likewise.
40230 * include/sys/socket.h: Likewise.
40231 * include/sys/stat.h: Likewise.
40232 * include/sys/statvfs.h: Likewise.
40233 * include/sys/time.h: Likewise.
40234 * include/sys/times.h: Likewise.
40235 * include/sys/uio.h: Likewise.
40236 * include/sys/utsname.h: Likewise.
40237 * include/sys/wait.h: Likewise.
40238 * include/termios.h: Likewise.
40239 * include/time.h: Likewise.
40240 * include/ulimit.h: Likewise.
40241 * include/unistd.h: Likewise.
40242 * include/utime.h: Likewise.
40243 * include/wchar.h: Likewise.
40244 * include/wctype.h: Likewise.
40245 * include/wordexp.h: Likewise.
40247 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40249 * time/time.h: TIME_UTC must be a macro.
40250 Make timespec_get available for ISO C11 only as well.
40252 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40254 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40255 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40257 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40259 * configure.in: Use -o not -a in test for unsupported multi-arch.
40261 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40263 * manual/texinfo.tex: Update to version 2012-01-19.16.
40265 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40267 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40269 2012-02-24 Roland McGrath <roland@hack.frob.com>
40272 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40273 * manual/fdl-1.3.texi: New file.
40274 * manual/fdl-1.1.texi: File removed.
40277 * manual/libc.texinfo (FDL_VERSION): New @set.
40278 Use it for mention of FDL in cover text.
40279 (Documentation License): Use it in @include file name.
40281 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40282 Roland McGrath <roland@hack.frob.com>
40285 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40286 (not LONG_LONG_MAX and LONG_LONG_MIN.
40287 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40288 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40290 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40292 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40296 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40297 manipulate bits before adding and subtracting TWO23[sx].
40298 * math/libm-test.inc (nearbyint_test): Add more tests.
40300 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40303 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40304 bits before adding and subtracting TWO23[sx].
40305 * math/libm-test.inc (rint_test): Add more tests.
40306 (rint_test_tonearest): Likewise.
40307 (rint_test_towardzero): Likewise.
40308 (rint_test_downward): Likewise.
40309 (rint_test_upward: Likewise.
40311 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40314 * include/stdc-predef.h: New file. Extracted from features.h.
40315 * include/features.h: Include stdc-predef.h.
40316 * Makefile (headers): Add stdc-predef.h.
40317 * CONFORMANCE (Compiler limitations): Update.
40319 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40321 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40323 2012-02-21 David S. Miller <davem@davemloft.net>
40325 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40326 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40328 2012-02-20 David S. Miller <davem@davemloft.net>
40330 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40331 using a normal save/restore sequence, rather than allocating a
40332 dummy stack frame just to store a frame pointer and restore.
40333 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40335 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40337 * manual/install.texi: Fix stray word in line-wrapped comment.
40339 2012-02-20 David S. Miller <davem@davemloft.net>
40341 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40342 both binutils and gcc support GOTDATA.
40344 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40345 "rd %pc" in the PIC register setup sequences.
40347 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40348 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40349 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40350 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40351 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40353 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40354 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40356 (SYSCALL_ERROR_HANDLER): Likewise.
40357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40358 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40360 (SYSCALL_ERROR_HANDLER): Likewise.
40362 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40363 (HAVE_GCC_GOTDATA): New.
40364 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40365 relocation support in both binutils and gcc.
40366 * sysdeps/sparc/elf/configure: Regenerate.
40368 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40369 * sysdeps/sparc/sparc32/elf/configure: Delete.
40370 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40371 * sysdeps/sparc/sparc64/elf/configure: Delete.
40372 * sysdeps/sparc/elf/configure.in: New file.
40373 * sysdeps/sparc/elf/configure: Generate.
40375 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40376 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40377 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40378 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40379 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40381 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40383 * manual/install.texi: Do not mention specific glibc version
40385 * manual/libc.texinfo (VERSION, UPDATED): Update.
40386 (@copying): Use @copyright{} and range of years.
40388 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40391 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40392 [crti.S not in sysdirs] (generated): Do not append.
40393 [crti.S not in sysdirs] (omit-deps): Likewise.
40394 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40395 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40396 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40397 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40398 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40400 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40401 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40402 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40403 * csu/defs.awk: Remove file.
40404 * sysdeps/generic/initfini.c: Likewise.
40405 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40407 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40410 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40412 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40413 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40414 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40415 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40416 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40417 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40419 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40420 (__EPOLL_PACKED): Define to empty if not defined by
40422 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40426 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40428 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40429 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40430 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40431 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40433 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40437 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40439 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40441 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40442 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40443 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40446 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40448 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40449 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40451 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40453 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40454 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40456 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40458 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40461 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40463 * math/w_acos.c: Use non-signaling floating-point comparisons.
40464 * math/w_acosf.c: Likewise.
40465 * math/w_acosh.c: Likewise.
40466 * math/w_acoshf.c: Likewise.
40467 * math/w_acoshl.c: Likewise.
40468 * math/w_acosl.c: Likewise.
40469 * math/w_asin.c: Likewise.
40470 * math/w_asinf.c: Likewise.
40471 * math/w_asinl.c: Likewise.
40472 * math/w_atanh.c: Likewise.
40473 * math/w_atanhf.c: Likewise.
40474 * math/w_atanhl.c: Likewise.
40475 * math/w_exp2.c: Likewise.
40476 * math/w_exp2f.c: Likewise.
40477 * math/w_exp2l.c: Likewise.
40478 * math/w_j0.c: Likewise.
40479 * math/w_j0f.c: Likewise.
40480 * math/w_j0l.c: Likewise.
40481 * math/w_j1.c: Likewise.
40482 * math/w_j1f.c: Likewise.
40483 * math/w_j1l.c: Likewise.
40484 * math/w_jn.c: Likewise.
40485 * math/w_jnf.c: Likewise.
40486 * math/w_log.c: Likewise.
40487 * math/w_log10.c: Likewise.
40488 * math/w_log10f.c: Likewise.
40489 * math/w_log10l.c: Likewise.
40490 * math/w_log2.c: Likewise.
40491 * math/w_log2f.c: Likewise.
40492 * math/w_log2l.c: Likewise.
40493 * math/w_logf.c: Likewise.
40494 * math/w_logl.c: Likewise.
40495 * math/w_sqrt.c: Likewise.
40496 * math/w_sqrtf.c: Likewise.
40497 * math/w_sqrtl.c: Likewise.
40498 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40499 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40500 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40501 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40502 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40504 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40507 * manual/string.texi (strnlen): Use correct parameter name in
40508 equivalent expression.
40510 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40513 * manual/users.texi (seteuid): Consistently use neweuid for
40516 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40519 * manual/nss.texi (Services in the NSS configuration): Correct
40520 list of services in example configuration file.
40522 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40525 * manual/arith.texi: Remove statements about negative zero
40526 behaving identically to zero.
40528 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40531 * manual/install.texi: Do not document upgrading from libc5.
40533 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40536 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40538 2012-02-18 David S. Miller <davem@davemloft.net>
40540 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40541 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40542 %o7 across the call.
40543 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40546 SETUP_PIC_REG_LEAF.
40547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40548 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40549 * sysdeps/sparc/crtn.S: Likewise.
40551 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40553 * aout/Makefile: Remove.
40555 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40558 * manual/examples/argp-ex1.c (main): Format definition in GNU
40560 * manual/examples/argp-ex2.c (main): Likewise.
40561 * manual/examples/argp-ex3.c (main): Likewise.
40562 * manual/examples/argp-ex4.c (main): Likewise.
40563 * manual/examples/longopt.c (main): Use new-style prototype
40565 * manual/examples/strncat.c (main): Specify return type and use
40566 (void) for arguments.
40567 * manual/examples/subopt.c (main): Use char **argv argument.
40569 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40572 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40575 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40578 * manual/string.texi (strchr): Change when strchrnul is
40581 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40584 * manual/locale.texi (setlocale): Document LOCPATH.
40586 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40589 * manual/process.texi (execle): Move @dots{} before last argument.
40591 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40594 * manual/charset.texi (Generic Charset Conversion): Fix typo
40595 (LC_TYPE -> LC_CTYPE).
40597 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40600 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40601 (scalbnf): Likewise.
40602 (scalbnl): Likewise.
40603 (scalbln): Likewise.
40604 (scalblnf): Likewise.
40605 (scalblnl): Likewise.
40606 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40607 (vwarnx): Likewise.
40610 * manual/filesys.texi (telldir): Use braces around return type.
40611 * manual/llio.texi (mmap): Add space after comma.
40612 (mmap64): Likewise.
40613 * manual/math.texi (jn): Use @var{} on parameter names.
40619 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40621 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40623 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40624 (sched_get_priority_max): Likewise.
40625 * manual/signal.texi (sigvec): Add space after comma.
40626 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40628 (if_indextoname): Likewise.
40629 (if_freenameindex): Likewise.
40630 (sendto): Use ',' instead of '.' in prototype.
40631 * manual/startup.texi (syscall): Use @dots{} instead of literal
40633 * manual/stdio.texi (__fpending): Separate initial words of
40634 paragraph from @deftypefun line.
40635 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40637 (vsyslog): Use @var{} on parameter names.
40638 * manual/terminal.texi (stty): Use @var{} on parameter names.
40639 * manual/users.texi (getutmp): Use @var{} on parameter names.
40640 (getutmpx): Likewise.
40642 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40645 * manual/stdio.texi (fopen): Fix typos in description of
40648 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40651 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40652 get clock_id definition.
40654 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40657 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40658 (madvise): Cast every argument to void on its own.
40660 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40663 * manual/startup.texi (Exit Status): Fix typo.
40665 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40668 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40669 * manual/examples/argp-ex2.c: Likewise.
40670 * manual/examples/argp-ex3.c: Likewise.
40672 2012-02-16 Richard Henderson <rth@redhat.com>
40674 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40675 * sysdeps/s390/s390-32/initfini.c: Remove.
40676 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40677 * sysdeps/s390/s390-64/initfini.c: Remove.
40679 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40681 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40682 compiler output for sysdeps/generic/initfini.c.
40683 * sysdeps/sh/elf/initfini.c: Remove file.
40685 2012-02-16 David S. Miller <davem@davemloft.net>
40688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40690 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40691 * sysdeps/sparc/crti.S: New file.
40692 * sysdeps/sparc/crtn.S: New file.
40693 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40694 * sysdeps/sparc/sparc64/Makefile: Likewise.
40696 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40699 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40701 2012-02-15 Roland McGrath <roland@hack.frob.com>
40704 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40706 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40707 (write, read, close): Likewise.
40708 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40710 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40712 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40713 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40714 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40715 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40717 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40721 2012-02-14 Marek Polacek <polacek@redhat.com>
40723 * sysdeps/x86_64/crti.S: New file.
40724 * sysdeps/x86_64/crtn.S: New file.
40725 * sysdeps/x86_64/elf/initfini.c: Remove file.
40727 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40729 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40730 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40731 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40732 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40734 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40738 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40740 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40741 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40742 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40743 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40745 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40749 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40751 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40752 __feraiseexcept instead of feraiseexcept.
40754 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40755 nanosleep invocations.
40756 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40757 strings, and add error checking for a nanosleep invocations.
40759 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40761 Replace FSF snail mail address with URLs, as per GNU coding standards.
40762 Most of the snail mail addresses were wrong anyway, and omitting
40763 them makes the source code easier to maintain. Almost all of the
40764 changes are to license notices and to locale LC_IDENTIFICATION
40765 addresses, except for this one:
40766 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40767 not its snail mail address.
40769 2012-02-09 Richard Henderson <rth@twiddle.net>
40771 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40772 of kernel-features.h.
40774 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40776 2012-02-08 Marek Polacek <polacek@redhat.com>
40778 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40779 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40780 * sysdeps/gnu/_G_config.h: Likewise.
40781 * sysdeps/generic/_G_config.h: Likewise.
40783 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40785 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40789 * sysdeps/powerpc/powerpc32/crti.S: New file.
40790 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40791 * sysdeps/powerpc/powerpc64/crti.S: New file.
40792 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40794 * Makeconfig (have-initfini): Don't set.
40795 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40796 * configure.in (nopic_initfini): Don't substitute.
40797 * config.h.in (HAVE_INITFINI): Don't #undef.
40798 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40799 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40801 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40803 Support crti.S and crtn.S provided directly by architectures.
40804 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40805 [crti.S in sysdirs] (omit-deps): Likewise.
40806 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40807 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40808 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40809 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40810 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40811 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40812 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40813 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40814 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40815 compiler output for sysdeps/generic/initfini.c.
40816 * sysdeps/i386/elf/Makefile: Remove file.
40817 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40819 2012-02-07 Marek Polacek <polacek@redhat.com>
40821 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40822 * sysdeps/gnu/_G_config.h: Likewise.
40823 * sysdeps/mach/hurd/_G_config.h: Likewise.
40825 2012-02-07 Marek Polacek <polacek@redhat.com>
40827 * math/Makefile (tests): Add tst-CMPLX2.
40828 * math/tst-CMPLX2.c: New file.
40830 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40832 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40834 * math/libm-test.inc (jn_test): Add missing L suffix.
40836 2012-02-06 Marek Polacek <polacek@redhat.com>
40838 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40839 * sysdeps/i386/fpu/e_powf.S: Likewise.
40840 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40841 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40842 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40843 * sysdeps/i386/fpu/e_pow.S: Likewise.
40844 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40845 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40846 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40847 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40848 * sysdeps/i386/fpu/e_log2.S: Likewise.
40849 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40850 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40851 * sysdeps/i386/fpu/e_powl.S: Likewise.
40852 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40853 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40854 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40855 * sysdeps/i386/fpu/e_logl.S: Likewise.
40856 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40857 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40858 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40859 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40860 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40861 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40862 * sysdeps/i386/fpu/e_log.S: Likewise.
40863 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40864 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40865 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40866 * sysdeps/i386/fpu/e_logf.S: Likewise.
40867 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40868 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40869 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40870 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40871 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40872 * sysdeps/i386/fpu/e_log10.S: Likewise.
40873 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40874 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40875 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40876 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40877 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40878 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40879 * sysdeps/i386/asm-syntax.h: Likewise.
40880 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40881 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40882 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40883 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40884 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40885 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40886 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40887 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40888 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40889 * sysdeps/powerpc/sysdep.h: Likewise.
40890 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40891 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40893 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40896 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40898 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40900 * sysdeps/i386/sysdep.h: Include <features.h>.
40901 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40904 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40906 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40908 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40911 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40913 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40914 (SETUP_PIC_REG): Use GET_PC_THUNK.
40915 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40918 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40920 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40921 for non-PIC compilation.
40922 (SETUP_PIC_REG): Add .p2align directive.
40923 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40924 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40925 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40926 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40927 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40928 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40929 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40931 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40932 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40933 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40934 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40935 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40936 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40937 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40938 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40939 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40940 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40941 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40942 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40943 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40944 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40945 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40946 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40947 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40949 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40950 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40951 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40952 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40953 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40954 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40955 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40956 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40957 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40958 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40959 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40960 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40961 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40962 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40963 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40965 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40967 * math/tst-CMPLX.c: Include <stdio.h>.
40969 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40971 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40973 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40974 * sysdeps/sparc/bits/mathdef.h: Likewise.
40976 2012-01-31 Marek Polacek <polacek@redhat.com>
40978 * libio/libio.h: Don't define _PARAMS.
40979 * locale/programs/config.h: Don't define PARAMS.
40980 * stdlib/strtol_l.c: Likewise.
40981 (__strtol_l): Remove PARAMS from the prototype.
40983 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40985 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40986 names. Just use the correct names. Remove unnecessary wrapper
40988 * malloc/arena.c: Likewise.
40989 * malloc/hooks.c: Likewise.
40991 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40992 ARENA_TEST says not to. Simplify test for creation of a new arena.
40993 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40995 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40997 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40999 (update_get_addr): New function.
41000 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41001 GET_ADDR_MODULE parameter.
41003 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41005 * crypt/cert.c: Remove __STDC__ conditionals.
41006 * crypt/crypt-entry.c: Likewise.
41007 * crypt/crypt_util.c: Likewise.
41008 * libio/filedoalloc.c: Likewise.
41009 * libio/fileops.c: Likewise.
41010 * libio/genops.c: Likewise.
41011 * libio/iofclose.c: Likewise.
41012 * libio/iofdopen.c: Likewise.
41013 * libio/iofopen.c: Likewise.
41014 * libio/iofopen64.c: Likewise.
41015 * libio/iogetdelim.c: Likewise.
41016 * libio/iopopen.c: Likewise.
41017 * libio/obprintf.c: Likewise.
41018 * libio/oldfileops.c: Likewise.
41019 * libio/oldiofclose.c: Likewise.
41020 * libio/oldiofdopen.c: Likewise.
41021 * libio/oldiofopen.c: Likewise.
41022 * libio/oldiopopen.c: Likewise.
41023 * libio/wfiledoalloc.c: Likewise.
41024 * libio/wgenops.c: Likewise.
41025 * locale/programs/xmalloc.c: Likewise.
41026 * misc/syslog.c: Likewise.
41027 * stdio-common/xbug.c: Likewise.
41028 * string/memchr.c: Likewise.
41029 * string/memcmp.c: Likewise.
41030 * string/memrchr.c: Likewise.
41031 * string/rawmemchr.c: Likewise.
41032 * sysdeps/posix/getcwd.c: Likewise.
41033 * time/strftime_l.c: Likewise.
41035 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41037 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41038 * config.make.in (config-cflags-sse2avx): Define.
41039 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41042 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41044 * scripts/config.guess: Update from upstream config git repository.
41045 * scripts/config.sub: Likewise.
41047 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41049 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41051 (R_TILEPRO_*, R_TILEGX_*): New macros.
41053 * scripts/firstversions.awk: Fix bug in version range handling.
41055 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41057 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41059 * include/sys/epoll.h: New file.
41060 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41063 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41065 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41066 Avoid unnecessary __WORDSIZE == 64 test.
41067 (fmaxf): Use VEX format if possible.
41072 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41073 * math/math_private.h: Remove libc_fegetround* and
41075 * sysdeps/i386/configure.in: Check for -msse2avx.
41076 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41077 also if SSE2AVX is defined.
41078 Remove libc_fegetround* and libc_fesetround*.
41079 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41080 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41081 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41083 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41084 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41085 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41086 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41087 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41089 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41091 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41093 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41095 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41097 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41100 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41102 * Makeconfig (libm): Define.
41103 * elf/Makefile: Add rules to build and run tst-relsort1.
41104 * elf/tst-relsort1.c: New file.
41105 * elf/tst-relsort1mod1.c: New file.
41106 * elf/tst-relsort1mod2.c: New file.
41108 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41110 * math/s_ldexp.c: Remove __STDC__ conditionals.
41111 * math/s_ldexpf.c: Likewise.
41112 * math/s_ldexpl.c: Likewise.
41113 * math/s_nextafter.c: Likewise.
41114 * math/s_nexttowardf.c: Likewise.
41115 * math/s_significand.c: Likewise.
41116 * math/s_significandf.c: Likewise.
41117 * math/s_significandl.c: Likewise.
41118 * math/w_jnl.c: Likewise.
41119 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41120 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41121 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41122 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41123 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41124 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41125 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41126 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41127 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41128 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41129 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41130 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41131 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41132 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41133 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41134 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41135 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41136 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41138 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41139 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41140 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41141 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41142 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41143 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41144 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41145 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41146 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41147 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41148 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41149 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41150 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41151 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41152 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41153 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41154 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41155 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41156 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41157 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41158 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41159 * sysdeps/ieee754/k_standard.c: Likewise.
41160 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41161 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41162 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41163 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41164 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41165 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41166 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41167 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41168 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41169 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41170 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41171 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41172 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41173 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41174 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41175 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41176 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41177 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41178 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41179 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41181 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41182 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41183 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41184 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41185 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41202 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41204 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41205 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41206 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41207 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41208 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41209 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41210 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41211 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41212 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41213 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41214 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41215 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41216 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41218 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41219 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41220 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41221 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41222 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41224 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41225 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41226 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41227 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41228 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41229 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41230 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41231 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41232 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41233 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41234 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41235 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41236 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41237 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41238 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41239 * sysdeps/ieee754/s_matherr.c: Likewise.
41240 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41241 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41243 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41245 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41247 * crypt/md5.h: Remove __STDC__ conditionals.
41248 * libio/libioP.h: Likewise.
41249 * locale/programs/config.h: Likewise.
41250 * sysdeps/generic/sysdep.h: Likewise.
41251 * sysdeps/i386/asm-syntax.h: Likewise.
41252 * sysdeps/s390/asm-syntax.h: Likewise.
41253 * sysdeps/unix/sysdep.h: Likewise.
41254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41257 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41259 * libio/libio.h: Remove __STDC__ conditionals.
41260 * malloc/obstack.h: Likewise.
41261 * math/complex.h: Likewise.
41262 * math/math.h: Likewise.
41263 * sysdeps/generic/_G_config.h: Likewise.
41264 * sysdeps/gnu/_G_config.h: Likewise.
41265 * sysdeps/mach/hurd/_G_config.h: Likewise.
41266 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41267 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41268 * sysdeps/sparc/bits/mathdef.h: Likewise.
41270 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41273 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41274 Clean up HAS_* macros.
41275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41276 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41278 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41280 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41281 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41282 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41283 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41284 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41286 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41288 * elf/tst-unique3.cc (gets): Remove declaration.
41289 * elf/tst-unique3lib.cc (gets): Likewise.
41290 * elf/tst-unique3lib2.cc (gets): Likewise.
41291 * elf/tst-unique4.cc (gets): Likewise.
41293 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41295 * include/stdio.h: Add C++ protection. Add gets declarations and
41297 * debug/tst-chk1.c: Don't declare gets here.
41298 * stdio-common/tst-gets.c: Likewise.
41300 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41302 * posix/glob: Remove directory.
41304 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41306 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41308 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41310 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41311 of the non-standard EPFNOSUPPORT.
41313 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41315 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41316 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41317 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41319 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41321 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41323 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41325 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41327 * nscd/grpcache.c (cache_addgr): Likewise.
41328 * nscd/hstcache.c (cache_addhst): Likewise.
41329 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41330 * nscd/pwdcache.c (cache_addpw): Likewise.
41331 * nscd/servicescache.c (cache_addserv): Likewise.
41333 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41335 * malloc/malloc.c: Various cleanups.
41336 * malloc/hooks.c: Likewise.
41338 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41339 * stdlib/bug-fmtmsg1.c: New file.
41341 * stdlib/fmtmsg.c (init): Add missing unlock.
41342 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41344 2012-01-12 Marek Polacek <polacek@redhat.com>
41346 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41349 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41351 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41352 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41353 macro to ensure uniqueness of label name.
41354 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41355 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41357 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41359 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41361 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41362 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41363 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41364 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41366 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41368 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41370 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41371 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41372 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41374 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41376 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41377 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41378 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41379 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41381 * math/bits/math-finite.h: Add ldexp support.
41383 2012-01-10 Marek Polacek <polacek@redhat.com>
41385 * locale/programs/localedef.h (show_archive_content): Add noreturn
41388 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41390 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41392 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41394 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41396 * io/Makefile (headers): Add bits/poll2.h.
41398 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41401 typo #include statement.
41403 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41405 * include/sys/cdefs.h: Define __attribute_alloc_size.
41406 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41407 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41408 * elf/pldd.c: Likewise.
41409 * iconv/iconv_charmap.c: Likewise.
41410 * iconv/iconvconfig.c: Likewise.
41411 * iconv/strtab.c: Likewise.
41412 * locale/programs/locale.c: Likewise.
41413 * locale/programs/localedef.h: Likewise.
41414 * locale/programs/simple-hash.c: Likewise.
41415 * nscd/nscd.h: Likewise.
41416 * nss/makedb.c: Likewise.
41417 * sysdeps/generic/ldconfig.h: Likewise.
41418 * locale/programs/localedef.c: Remove xmalloc prototype.
41419 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41421 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41423 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41426 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41428 * math/Makefile (tests): Add tst-CMPLX.
41429 * math/tst-CMPLX.c: New file.
41431 * math/complex.h (CMPLXL): Fix typo.
41433 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41434 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41436 * debug/tst-chk1.c: Add poll and ppoll tests.
41437 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41438 * include/sys/poll.h: Add hidden proto for ppoll.
41439 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41440 * sysdeps/mach/hurd/ppoll.c: Likewise.
41441 * io/ppoll.c: Likewise.
41442 * debug/poll_chk.c: New file.
41443 * debug/ppoll_chk.c: New file.
41444 * include/bits/poll2.h: New file.
41445 * io/bits/poll2.h: New file.
41448 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41450 * configure.in: static is always set to yes. Remove.
41451 * config.make.in: Don't set build-static.
41452 * Makeconfig: Remove use of build-static.
41453 * dlfcn/Makefile: Likewise.
41454 * elf/Makefile: Likewise.
41455 * math/Makefile: Likewise.
41456 * misc/Makefile: Likewise.
41457 * nptl/Makefile: Likewise.
41458 * sysdeps/mach/hurd/Makefile: Likewise.
41460 * configure.in: PWD_P is not used anymore.
41461 * config.make.in: Remove PWD_P entry.
41463 * configure.in: Remove last remnants of RANLIB.
41464 No need to check for signed size_t anymore.
41465 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41467 Remove __builtin_expect test because we require at least gcc 3.4.
41468 * aclocal.m4: Likewise.
41470 * wcsmbs/mbrtoc16.c: Implement using towc function.
41471 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41472 * wcsmbs/wcsmbsload.c: Likewise.
41473 * iconv/gconv_simple.c: Likewise.
41474 * iconv/gconv_int.h: Likewise.
41475 * iconv/gconv_builtin.h: Likewise.
41476 * iconv/iconv_prog.c: Remove CHAR16 handling.
41478 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41480 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41482 * configure.in: Remove --with-elf and --enable-bounded options.
41483 Dont set base_machine for ia64. More non-ELF conditions removed.
41484 Remove testing and setting of leading underscore information.
41485 * config.make.in (build-bounded): Set to no.
41486 * config.h.in: Remove NO_UNDERSCORES entry.
41487 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41489 * csu/start.c: Remove !NO_UNDERSCORE code.
41490 * locale/localeinfo.h: Likewise.
41491 * sysdeps/generic/machine-gmon.h: Likewise.
41492 * sysdeps/generic/sysdep.h: Likewise.
41493 * sysdeps/i386/sysdep.h: Likewise.
41494 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41495 * sysdeps/mach/sysdep.h: Likewise.
41496 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41497 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41498 * sysdeps/sh/sysdep.h: Likewise.
41499 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41500 * sysdeps/unix/i386/sysdep.S: Likewise.
41501 * sysdeps/unix/sparc/start.c: Likewise.
41502 * sysdeps/unix/sparc/sysdep.S: Likewise.
41503 * sysdeps/unix/sparc/sysdep.h: Likewise.
41504 * sysdeps/unix/start.c: Likewise.
41505 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41506 * sysdeps/x86_64/sysdep.h: Likewise.
41508 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41511 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41513 * argp/argp-fmtstream.h: Use const instead __const.
41514 * argp/argp.h: Likewise.
41515 * assert/assert.h: Likewise.
41516 * bits/fenv.h: Likewise.
41517 * bits/sched.h: Likewise.
41518 * bits/sigset.h: Likewise.
41519 * bits/sigthread.h: Likewise.
41520 * catgets/nl_types.h: Likewise.
41521 * conform/data/pthread.h-data: Likewise.
41522 * crypt/crypt-private.h: Likewise.
41523 * crypt/crypt.h: Likewise.
41524 * crypt/crypt_util.c: Likewise.
41525 * ctype/ctype.h: Likewise.
41526 * debug/execinfo.h: Likewise.
41527 * debug/mbsnrtowcs_chk.c: Likewise.
41528 * debug/mbsrtowcs_chk.c: Likewise.
41529 * debug/wcsnrtombs_chk.c: Likewise.
41530 * debug/wcsrtombs_chk.c: Likewise.
41531 * debug/wcstombs_chk.c: Likewise.
41532 * dirent/dirent.h: Likewise.
41533 * dlfcn/dlfcn.h: Likewise.
41534 * elf/neededtest4.c: Likewise.
41535 * grp/grp.h: Likewise.
41536 * gshadow/gshadow.h: Likewise.
41537 * iconv/gconv.h: Likewise.
41538 * iconv/gconv_int.h: Likewise.
41539 * iconv/gconv_simple.c: Likewise.
41540 * iconv/iconv.h: Likewise.
41541 * iconv/loop.c: Likewise.
41542 * iconv/skeleton.c: Likewise.
41543 * include/aio.h: Likewise.
41544 * include/aliases.h: Likewise.
41545 * include/argz.h: Likewise.
41546 * include/arpa/inet.h: Likewise.
41547 * include/assert.h: Likewise.
41548 * include/dirent.h: Likewise.
41549 * include/dlfcn.h: Likewise.
41550 * include/execinfo.h: Likewise.
41551 * include/fcntl.h: Likewise.
41552 * include/fenv.h: Likewise.
41553 * include/glob.h: Likewise.
41554 * include/grp.h: Likewise.
41555 * include/libintl.h: Likewise.
41556 * include/mntent.h: Likewise.
41557 * include/netdb.h: Likewise.
41558 * include/pwd.h: Likewise.
41559 * include/rpc/netdb.h: Likewise.
41560 * include/sched.h: Likewise.
41561 * include/search.h: Likewise.
41562 * include/shadow.h: Likewise.
41563 * include/signal.h: Likewise.
41564 * include/stdio.h: Likewise.
41565 * include/stdlib.h: Likewise.
41566 * include/string.h: Likewise.
41567 * include/sys/socket.h: Likewise.
41568 * include/sys/stat.h: Likewise.
41569 * include/sys/statfs.h: Likewise.
41570 * include/sys/statvfs.h: Likewise.
41571 * include/sys/syslog.h: Likewise.
41572 * include/sys/time.h: Likewise.
41573 * include/sys/uio.h: Likewise.
41574 * include/time.h: Likewise.
41575 * include/unistd.h: Likewise.
41576 * include/utmp.h: Likewise.
41577 * include/wchar.h: Likewise.
41578 * include/wctype.h: Likewise.
41579 * inet/aliases.h: Likewise.
41580 * inet/arpa/inet.h: Likewise.
41581 * inet/netinet/ether.h: Likewise.
41582 * inet/netinet/in.h: Likewise.
41583 * intl/libintl.h: Likewise.
41584 * io/bits/fcntl2.h: Likewise.
41585 * io/fcntl.h: Likewise.
41586 * io/ftw.h: Likewise.
41587 * io/sys/poll.h: Likewise.
41588 * io/sys/stat.h: Likewise.
41589 * io/sys/statfs.h: Likewise.
41590 * io/sys/statvfs.h: Likewise.
41591 * io/utime.h: Likewise.
41592 * libio/bits/stdio.h: Likewise.
41593 * libio/bits/stdio2.h: Likewise.
41594 * libio/libio.h: Likewise.
41595 * libio/libioP.h: Likewise.
41596 * libio/stdio.h: Likewise.
41597 * locale/lc-ctype.c: Likewise.
41598 * locale/locale.h: Likewise.
41599 * login/utmp.h: Likewise.
41600 * malloc/arena.c: Likewise.
41601 * malloc/malloc.c: Likewise.
41602 * malloc/malloc.h: Likewise.
41603 * malloc/mcheck.c: Likewise.
41604 * malloc/mtrace.c: Likewise.
41605 * math/bits/mathcalls.h: Likewise.
41606 * math/fenv.h: Likewise.
41607 * math/math_private.h: Likewise.
41608 * misc/bits/error.h: Likewise.
41609 * misc/bits/syslog.h: Likewise.
41610 * misc/err.h: Likewise.
41611 * misc/error.h: Likewise.
41612 * misc/fstab.h: Likewise.
41613 * misc/mntent.h: Likewise.
41614 * misc/regexp.h: Likewise.
41615 * misc/search.h: Likewise.
41616 * misc/sgtty.h: Likewise.
41617 * misc/sys/mman.h: Likewise.
41618 * misc/sys/syslog.h: Likewise.
41619 * misc/sys/uio.h: Likewise.
41620 * misc/sys/xattr.h: Likewise.
41621 * misc/ttyent.h: Likewise.
41622 * nis/rpcsvc/ypclnt.h: Likewise.
41623 * nss/nss.h: Likewise.
41624 * posix/bits/unistd.h: Likewise.
41625 * posix/fnmatch.h: Likewise.
41626 * posix/glob.h: Likewise.
41627 * posix/sched.h: Likewise.
41628 * posix/spawn.h: Likewise.
41629 * posix/sys/wait.h: Likewise.
41630 * posix/unistd.h: Likewise.
41631 * posix/wordexp.h: Likewise.
41632 * pwd/pwd.h: Likewise.
41633 * resolv/netdb.h: Likewise.
41634 * resource/sys/resource.h: Likewise.
41635 * rt/aio.h: Likewise.
41636 * rt/bits/mqueue2.h: Likewise.
41637 * rt/mqueue.h: Likewise.
41638 * shadow/shadow.h: Likewise.
41639 * signal/signal.h: Likewise.
41640 * socket/send.c: Likewise.
41641 * socket/sendto.c: Likewise.
41642 * socket/sys/socket.h: Likewise.
41643 * stdio-common/printf.h: Likewise.
41644 * stdlib/bits/stdlib.h: Likewise.
41645 * stdlib/fmtmsg.h: Likewise.
41646 * stdlib/monetary.h: Likewise.
41647 * stdlib/stdlib.h: Likewise.
41648 * stdlib/ucontext.h: Likewise.
41649 * streams/stropts.h: Likewise.
41650 * string/argz.h: Likewise.
41651 * string/bits/string2.h: Likewise.
41652 * string/string.h: Likewise.
41653 * string/strings.h: Likewise.
41654 * sunrpc/rpc/auth.h: Likewise.
41655 * sunrpc/rpc/auth_des.h: Likewise.
41656 * sunrpc/rpc/clnt.h: Likewise.
41657 * sunrpc/rpc/netdb.h: Likewise.
41658 * sunrpc/rpc/pmap_clnt.h: Likewise.
41659 * sunrpc/rpc/xdr.h: Likewise.
41660 * sysdeps/generic/inttypes.h: Likewise.
41661 * sysdeps/generic/net/if.h: Likewise.
41662 * sysdeps/generic/sys/swap.h: Likewise.
41663 * sysdeps/gnu/net/if.h: Likewise.
41664 * sysdeps/gnu/utmpx.h: Likewise.
41665 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41666 * sysdeps/i386/i486/bits/string.h: Likewise.
41667 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41668 * sysdeps/s390/bits/string.h: Likewise.
41669 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41670 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41671 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41672 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41673 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41674 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41675 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41676 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41677 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41678 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41679 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41680 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41681 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41682 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41683 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41684 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41685 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41687 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41688 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41689 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41690 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41691 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41692 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41693 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41694 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41695 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41696 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41697 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41698 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41699 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41700 * sysvipc/sys/ipc.h: Likewise.
41701 * sysvipc/sys/msg.h: Likewise.
41702 * sysvipc/sys/sem.h: Likewise.
41703 * sysvipc/sys/shm.h: Likewise.
41704 * termios/termios.h: Likewise.
41705 * time/sys/time.h: Likewise.
41706 * time/time.h: Likewise.
41707 * wcsmbs/bits/wchar2.h: Likewise.
41708 * wcsmbs/uchar.h: Likewise.
41709 * wcsmbs/wchar.h: Likewise.
41710 * wctype/wctype.h: Likewise.
41713 * Makeconfig: Remove all but ELF support including AIX support.
41714 * Makerules: Likewise.
41715 * config.h.in: Likewise.
41716 * config.make.in: Likewise.
41717 * configure: Likewise.
41718 * configure.in: Likewise.
41719 * csu/Makefile: Likewise.
41720 * csu/version.c: Likewise.
41721 * debug/Makefile: Likewise.
41722 * dlfcn/Makefile: Likewise.
41723 * elf/Makefile: Likewise.
41724 * extra-lib.mk: Likewise.
41725 * iconv/Makefile: Likewise.
41726 * include/libc-symbols.h: Likewise.
41727 * include/shlib-compat.h: Likewise.
41728 * resolv/Makefile: Likewise.
41729 * resolv/res_libc.c: Likewise.
41730 * rt/Makefile: Likewise.
41731 * sysdeps/i386/asm-syntax.h: Likewise.
41732 * sysdeps/i386/sysdep.h: Likewise.
41733 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41734 * sysdeps/mach/sysdep.h: Likewise.
41735 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41736 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41737 * sysdeps/s390/asm-syntax.h: Likewise.
41738 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41739 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41740 * sysdeps/sh/sysdep.h: Likewise.
41741 * sysdeps/unix/sparc/sysdep.h: Likewise.
41742 * sysdeps/wordsize-32/divdi3.c: Likewise.
41743 * sysdeps/x86_64/sysdep.h: Likewise.
41745 * argp/Versions: Remove _argp_unlock_xxx.
41748 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41749 * abilist/libBrokenLocale.abilist: Likewise.
41750 * abilist/libanl.abilist: Likewise.
41751 * abilist/libc.abilist: Likewise.
41752 * abilist/libcrypt.abilist: Likewise.
41753 * abilist/libdl.abilist: Likewise.
41754 * abilist/libm.abilist: Likewise.
41755 * abilist/libnsl.abilist: Likewise.
41756 * abilist/libpthread.abilist: Likewise.
41757 * abilist/libresolv.abilist: Likewise.
41758 * abilist/librt.abilist: Likewise.
41759 * abilist/libthread_db.abilist: Likewise.
41760 * abilist/libutil.abilist: Likewise.
41761 * abilist/libnss_db.abilist: New file.
41763 * scripts/abilist.awk: Add support for indirect functions.
41765 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41767 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41769 * shlib-versions: Remove entries for ports architectures.
41771 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41773 * elf/stackguard-macros.h: Remove support for IA-64.
41774 * elf/tst-auditmod1.c: Likewise.
41775 * sysdeps/generic/ldsodefs.h: Likewise.
41777 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41778 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41782 * configure.in: Remove --enable-omitfp support.
41784 * config.make.in: Likewise.
41785 * Makeconfig: Likewise.
41786 * manual/install.texi: Likewise.
41788 In case anyone cares, the IA-64 architecture could move to ports.
41789 * sysdeps/ia64/*: Removed.
41790 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41791 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41794 * configure.in: Remove entries for unsupported architectures.
41797 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41798 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41800 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41801 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41802 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41803 fall back to using wcrtomb.
41804 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41805 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41807 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41808 * wcsmbs/tst-c16c32-1.c: New file.
41810 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41813 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41815 * elf/tst-unique3.cc: Add explicit declaration of gets.
41816 * elf/tst-unique3lib.cc: Likewise.
41817 * elf/tst-unique3lib2.cc: Likewise.
41818 * elf/tst-unique4.cc: Likewise.
41820 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41822 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41825 * assert/assert.h (static_assert): Don't define for C++.
41826 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41827 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41829 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41831 * iconv/loop.c (single loop): Fix assertion in storing of
41834 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41836 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41838 * posix/getconf.c: Update copyright year.
41839 * nss/getent.c: Likewise.
41840 * nss/makedb.c: Likewise.
41841 * iconv/iconvconfig.c: Likewise.
41842 * iconv/iconv_prog.c: Likewise.
41843 * elf/ldconfig.c: Likewise.
41844 * elf/pldd.c: Likewise.
41845 * elf/sotruss.ksh: Likewise.
41846 * catgets/gencat.c: Likewise.
41847 * csu/version.c: Likewise.
41848 * elf/ldd.bash.in: Likewise.
41849 * elf/sprof.c (print_version): Likewise.
41850 * locale/programs/locale.c: Likewise.
41851 * locale/programs/localedef.c: Likewise.
41852 * login/programs/pt_chown.c: Likewise.
41853 * nscd/nscd.c (print_version): Likewise.
41854 * debug/xtrace.sh: Likewise.
41855 * malloc/memusage.sh: Likewise.
41856 * malloc/mtrace.pl: Likewise.
41857 * debug/catchsegv.sh: Likewise.
41859 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41861 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41864 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41867 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41868 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41870 * iconv/gconv_int.h: Likewise.
41871 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41872 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41873 from libc for GLIBC_2.16.
41874 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41875 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41876 * wcsmbs/uchar.h: Really define mbstate_t.
41877 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41878 * wcsmbs/c16rtomb.c: New file.
41879 * wcsmbs/mbrtoc16.c: New file.
41880 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41881 for C/POSIX locale.
41882 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41883 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41885 * wcsmbs/wchar.h: Add missing __restrict.
41887 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41890 * time/Makefile (routines): Add timespec_get.
41891 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41892 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41893 timespec for ISO C11.
41894 * time/timespec_get.c: New file.
41895 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41896 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41899 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41900 * stdlib/stdlib.h: Declare aligned_alloc.
41901 * Versions.def: Add GLIBC_2.16 for libc.
41902 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41905 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41908 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41912 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41915 * assert/assert.h (static_assert): Define.
41917 * version.h: Update for 2.16 development version.
41920 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41923 * version.h (RELEASE): Bump for 2.15 release.
41924 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41926 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41927 Patch by Marek Polacek <mpolacek@redhat.com>.
41929 * bits/byteswap.h: Protect long long constants with __extension__.
41930 * sysdeps/i386/bits/byteswap.h: Likewise.
41931 * sysdeps/ia64/bits/byteswap.h: Likewise.
41932 * sysdeps/s390/bits/byteswap.h: Likewise.
41933 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41935 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41938 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41939 destination buffer.
41940 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41942 2011-12-23 Marek Polacek <polacek@redhat.com>
41944 * elf/dl-addr.c (determine_info): Add inline keyword.
41945 * elf/tst-auditmod4b.c (check_avx): Likewise.
41946 * elf/tst-auditmod6b.c (check_avx): Likewise.
41947 * elf/tst-auditmod6c.c (check_avx): Likewise.
41948 * elf/tst-auditmod7b.c (check_avx): Likewise.
41950 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41952 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41955 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41958 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41959 processing for last bytes.
41961 2011-08-06 Bruno Haible <bruno@clisp.org>
41964 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41965 U+0385, not to U+1FEE.
41968 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41969 entry for U+00A5 U+0301.
41971 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41974 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41975 buffer for the output is too small.
41977 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41981 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41982 SSE flags if possible.
41984 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41987 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41988 processing for last bytes.
41990 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41992 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41993 (syscall-list-default-options, syscall-list-default-condition)
41994 (syscall-list-includes): Define.
41995 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41996 list of ABIs and options and #if conditions for each ABI. Do not
41997 handle common syscalls between ABIs specially.
41998 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42000 (syscall-list-variants, syscall-list-32bit-options)
42001 (syscall-list-32bit-condition, syscall-list-64bit-options)
42002 (syscall-list-64bit-condition): Define.
42003 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42004 (syscall-list-variants, syscall-list-32bit-options)
42005 (syscall-list-32bit-condition, syscall-list-64bit-options)
42006 (syscall-list-64bit-condition): Define.
42007 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42009 (syscall-list-variants, syscall-list-32bit-options)
42010 (syscall-list-32bit-condition, syscall-list-64bit-options)
42011 (syscall-list-64bit-condition): Define.
42012 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42014 (syscall-list-variants, syscall-list-32bit-options)
42015 (syscall-list-32bit-condition, syscall-list-64bit-options)
42016 (syscall-list-64bit-condition): Define.
42018 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42020 * locale/iso-639.def: Add brx entry.
42023 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42024 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42026 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42027 __feraiseexcept_renamed.
42029 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42032 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42033 EPOLLET with unsigned values.
42034 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42035 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42037 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42038 to large cancellation.
42039 * math/s_cacoshf.c: Likewise.
42040 * math/s_cacoshl.c: Likewise.
42042 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42046 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42047 * math/s_cacoshf.c: Likewise.
42048 * math/s_cacoshl.c: Likewise.
42050 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42053 * iconv/gconv.h: Define __GCONV_SWAP.
42054 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42055 * iconvdata/utf-16.c: Likewise.
42056 * iconvdata/utf-32.c: Likewise.
42058 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42061 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42062 numerator after shifting it by one limb.
42064 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42066 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42067 under [__USE_EXTERN_INLINES].
42069 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42072 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42074 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42076 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42077 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42079 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42080 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42081 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42082 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42083 for strncasecmp/strncasecmp_l compilation.
42084 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42085 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42087 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42090 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42093 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42096 * time/tzfile.c (__tzfile_read): Check values from file header.
42098 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42100 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42101 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42102 * powerpc/powerpc32/dl-start.S: Likewise.
42103 * powerpc/powerpc32/elf/start.S: Likewise.
42104 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42105 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42106 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42107 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42108 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42109 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42110 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42111 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42112 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42113 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42114 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42115 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42116 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42117 * powerpc/powerpc32/memset.S: Likewise.
42118 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42119 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42120 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42121 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42122 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42123 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42124 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42125 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42126 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42127 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42128 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42129 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42130 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42132 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42134 * math/libm-test.inc: Added more nearbyint tests.
42135 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42136 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42138 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42140 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42142 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42145 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42147 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42148 Add wcscpy-ssse3 wcscpy-c.
42149 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42150 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42151 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42152 * sysdeps/x86_64/wcschr.S: New file.
42153 * sysdeps/x86_64/wcsrchr.S: New file.
42154 * string/test-strcmp.c: Remove checking of wcscmp function for
42156 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42157 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42158 wcsrchr-sse2 wcsrchr-c.
42159 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42160 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42161 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42162 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42163 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42164 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42165 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42166 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42167 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42168 * wcsmbc/wcschr.c (WCSCHR): New macro.
42170 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42172 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42173 * wcsmbs/test-wcsrchr.c: New file.
42174 * string/test-strrchr.c: Add wcsrchr support.
42176 * wcsmbs/test-wcscpy.c: New file.
42177 * string/test-strcpy.c: Add wcscpy support.
42180 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42182 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42185 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42188 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42190 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42192 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42193 Minor optimizations.
42195 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42196 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42197 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42199 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42201 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42202 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42203 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42204 for gcc to avoid warnings.
42205 * inet/Makefile (tests): Add tst-checks.
42206 * inet/tst-checks.c: New file.
42208 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42211 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42214 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42215 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42217 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42219 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42221 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42224 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42226 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42228 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42229 conditional on GCC version.
42230 (__arch_compare_and_exchange_val_8_acq)
42231 (__arch_compare_and_exchange_val_16_acq)
42232 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42233 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42234 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42236 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42238 * sysdeps/sh/backtrace.c: New file.
42240 2011-12-02 Andreas Schwab <schwab@redhat.com>
42242 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42245 2011-12-01 Andreas Schwab <schwab@redhat.com>
42247 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42248 falling back to utime.
42250 2011-11-30 Andreas Schwab <schwab@redhat.com>
42252 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42253 expectations for float.
42255 2011-11-29 Andreas Schwab <schwab@redhat.com>
42257 * locale/weight.h (findidx): Add parameter len.
42258 * locale/weightwc.h (findidx): Likewise.
42259 * posix/fnmatch_loop.c (FCT): Adjust caller.
42260 * posix/regcomp.c (build_equiv_class): Likewise.
42261 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42262 * posix/regexec.c (check_node_accept_bytes): Likewise.
42263 * string/strcoll_l.c (STRCOLL): Likewise.
42264 * string/strxfrm_l.c (STRXFRM): Likewise.
42266 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42268 * Makefile.in: Remove CVSOPT handling.
42269 * configure.in: Remove use of AC_REVISION.
42270 * iconvdata/Makefile (distribute): No need to filter out CVS.
42271 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42274 2011-11-16 Andreas Schwab <schwab@redhat.com>
42276 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42277 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42278 [USE_AS_STRNCASECMP_L]: Likewise.
42279 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42280 NO_TLS_DIRECT_SEG_REFS.
42281 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42282 Fix argument offsets for non-PIC.
42283 [USE_AS_STRNCASECMP_L]: Likewise.
42284 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42285 NO_TLS_DIRECT_SEG_REFS.
42287 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42289 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42291 * locale/loadlocale.c (_nl_load_locale): Likewise.
42293 2011-11-15 Andreas Schwab <schwab@redhat.com>
42295 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42296 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42297 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42298 (SYSCALL_GETTIME): Set errno on error.
42300 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42301 count references to noai6ai_cached.
42303 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42305 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42307 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42308 FD_CLOEXEC for /proc/self/maps.
42310 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42311 FD_CLOEXEC for /proc/meminfo.
42313 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42316 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42317 FD_CLOEXEC for given file.
42319 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42321 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42322 FD_CLOEXEC for /etc/hosts.
42323 (_gethtent): Likewise.
42325 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42327 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42328 cancellation and set FD_CLOEXEC for /etc/netgroup.
42330 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42331 reading /etc/publickey.
42333 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42334 allow cancellation when reading /etc/group.
42336 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42338 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42340 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42341 when using data file.
42343 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42345 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42346 (write_nis_obj): Use "c" and "e" in fopen.
42348 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42350 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42352 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42354 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42356 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42359 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42361 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42363 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42365 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42366 file parsing and set FD_CLOEXEC.
42368 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42370 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42372 2011-11-14 Andreas Schwab <schwab@redhat.com>
42374 * malloc/arena.c (arena_get2): Don't call reused_arena when
42375 _int_new_arena failed.
42377 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42379 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42380 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42381 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42382 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42383 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42384 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42385 to compile strcasecmp and strncasecmp.
42386 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42387 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42391 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42393 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42394 locale-defines.sym to gen-as-const-headers.
42395 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42396 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42397 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42398 to compile strcasecmp and strncasecmp.
42399 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42400 strcasecmp_l and strncasecmp_l.
42401 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42402 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42403 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42404 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42405 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42406 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42407 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42408 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42409 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42410 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42411 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42413 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42415 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42416 result of SYSDEP_GETTIME_CPU to retval.
42417 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42418 parameter list to macro. Remove trailing semicolon. Adjust users.
42420 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42423 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42425 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42427 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42428 from unused variable.
42430 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42432 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42435 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42438 * sunrpc/rpc_prot.c (rejected): Fix case value.
42440 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42441 unsigned long long int to avoid warnings in shift.
42443 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42445 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42448 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42449 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42450 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42452 * nis/nis_table.c (nis_list): Use variable of correct type for
42453 result of __follow_path call.
42455 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42457 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42458 of math functions ceil, trunc, floor, round, and sqrt, when
42459 avaliable on the platform.
42460 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42462 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42463 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42464 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42466 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42468 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42469 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42471 2011-11-11 Roland McGrath <roland@hack.frob.com>
42473 * include/unistd.h: Fix __readlink return type.
42474 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42476 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42478 * stdlib/ucontext.h: Undo last change for makecontext.
42480 2011-11-11 Andreas Schwab <schwab@redhat.com>
42482 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42484 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42485 * setjmp/setjmp.h: Mark functions as non-leaf.
42486 * setjmp/bits/setjmp2.h: Likewise.
42487 * stdlib/ucontext.h: Likewise.
42489 2011-11-10 Andreas Schwab <schwab@redhat.com>
42491 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42492 (reused_arena): Don't check arena limit.
42493 (arena_get2): Atomically check arena limit.
42495 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42497 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42498 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42500 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42503 2011-11-07 Andreas Schwab <schwab@redhat.com>
42505 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42506 handler when locking.
42508 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42509 Fix size of allocated buffer.
42511 2011-11-04 Andreas Schwab <schwab@redhat.com>
42514 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42515 declarations for long double functions.
42516 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42518 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42520 2011-11-03 Andreas Schwab <schwab@redhat.com>
42522 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42525 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42528 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42530 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42532 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42534 * include/alloca.h (stackinfo_alloca_round): Define.
42535 (extend_alloca): Use it.
42536 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42537 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42540 * scripts/check-local-headers.sh: Ignore libaudit.h.
42542 * nscd/Makefile (extra-objs): Make recursively expanded.
42544 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42546 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42547 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42549 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42550 * posix/tst-rfc3484-2.c: Likewise.
42551 * posix/tst-rfc3484-3.c: Likewise.
42553 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42555 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42557 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42558 process_vm_writev from libc using GLIBC_2.15 version.
42560 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42562 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42564 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42567 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42570 * nss/getent.c (initgroups_keys): Show error message in case no group
42573 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42574 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42575 __bump_nl_timestamp.
42576 * nscd/connections (nscd_init): When host database is served open
42577 netlink socket and request notification about configuration changes.
42578 (main_loop_poll): Track netlink file descriptor and bump timestamp
42579 in case data becomes available.
42580 (main_loop_epoll): Likewise.
42581 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42582 (database_pers_head): Add extra_data fileds.
42583 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42584 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42585 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42587 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42588 in6ai data, call __free_in6ai.
42589 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42590 Add -DHAVE_NETLINK.
42591 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42592 interface information. Reuse previous data if netlink timestamp
42594 (__bump_nl_timestamp): New function.
42595 (__free_in6ai): New function.
42597 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42599 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42600 close_not_cancel_no_status here.
42601 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42603 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42606 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42609 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42610 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42611 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42613 2011-07-03 Andreas Jaeger <aj@suse.de>
42616 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42617 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42618 * math/libm-test.inc (sin_test): Add test case.
42620 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42623 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42624 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42626 * elf/chroot_canon.c (chroot_canon): Cleanups.
42628 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42631 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42632 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42634 * string/test-strchr.c: Make usable for strchrnul testing.
42635 * string/test-strchrnul.c: New file.
42636 * string/Makefile (strop-tests): Add strchrnul.
42638 * po/it.po: Update from translation team.
42639 * po/es.po: Likewise.
42641 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42643 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42644 the three constants needed as parameters. Drop the others.
42645 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42646 __m128i_strloadu_tolower.
42647 Create and initialize variable zero and use it in all the places
42648 where _mm_setzero_si128 was used.
42650 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42651 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42652 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42653 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42655 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42656 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42657 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42658 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42659 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42660 __mpranred, __mptan.
42661 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42662 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42663 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42664 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42665 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42666 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42667 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42668 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42669 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42671 2011-10-28 Andreas Schwab <schwab@redhat.com>
42673 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42674 redefine if SHARED.
42675 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42678 wide char related routines to wcsmbs subdir.
42680 2011-10-27 Andreas Schwab <schwab@redhat.com>
42683 * misc/sys/cdefs.h (__THROWNL): Define.
42684 * posix/unistd.h: Use __THREADNL instead of __THREAD
42685 for memory synchronization functions.
42687 2011-10-26 Roland McGrath <roland@hack.frob.com>
42690 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42692 * manual/stdio.texi (Obstack Streams): Node removed.
42694 2011-10-26 Andreas Schwab <schwab@redhat.com>
42696 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42697 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42698 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42700 * math/math_private.h (math_force_eval): Allow non-addressable
42702 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42704 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42706 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42707 file is not needed.
42709 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42711 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42712 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42713 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42714 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42716 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42718 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42719 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42720 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42721 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42722 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42723 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42724 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42725 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42726 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42727 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42728 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42729 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42730 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42731 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42732 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42733 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42734 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42735 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42736 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42738 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42739 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42741 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42742 place. Use VEX encoding when compiling for AVX.
42744 2011-10-25 Andreas Schwab <schwab@redhat.com>
42746 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42747 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42749 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42751 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42753 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42754 useless if() expression.
42755 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42756 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42757 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42758 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42759 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42760 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42761 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42762 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42763 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42764 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42765 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42766 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42767 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42768 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42769 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42770 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42771 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42773 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42775 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42777 2011-10-25 Andreas Schwab <schwab@redhat.com>
42779 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42781 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42783 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42785 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42786 .text section. Avoid duplicate constants.
42787 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42788 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42789 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42790 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42791 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42792 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42793 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42795 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42796 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42797 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42798 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42799 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42800 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42801 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42802 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42803 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42804 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42805 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42806 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42807 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42808 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42809 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42810 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42811 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42812 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42813 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42814 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42815 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42816 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42817 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42818 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42819 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42820 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42821 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42822 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42823 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42824 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42825 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42826 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42827 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42828 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42829 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42830 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42831 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42833 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42835 * sysdeps/x86_64/dla.h: Move to ...
42836 * sysdeps/x86_64/fpu/dla.h: ...here.
42837 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42838 situations. Use __builtin_fma only for gcc 4.6 and up.
42840 * config.make.in: Add have-mfma4 entry.
42841 * configure.in: Substitute libc_cv_cc_fma4.
42842 * math/Makefile (dbl-only-routines): Add sincostab.
42843 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42844 Use __sincostab not sincos.
42845 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42850 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42852 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42853 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42854 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42855 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42857 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42858 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42860 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42861 define aliases when function name is a macro.
42862 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42863 sysdeps/ieee754/dbl-64/sincos.tbl.
42864 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42865 fma4-enabled routines.
42866 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42867 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42868 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42869 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42870 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42871 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42873 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42874 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42875 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42876 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42877 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42878 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42879 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42880 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42881 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42882 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42883 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42884 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42885 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42886 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42887 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42888 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42889 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42890 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42891 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42892 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42893 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42894 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42895 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42897 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42900 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42908 2011-10-24 Andreas Schwab <schwab@redhat.com>
42910 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42912 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42914 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42916 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42918 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42920 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42921 Remove unused variable magic_bits.
42922 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42924 * string/strnlen.c: Define and use STRNLEN macro.
42925 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42926 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42927 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42928 * wcsmbs/wcslen.c: Define and use WCSLEN.
42929 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42930 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42931 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42932 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42933 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42934 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42935 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42937 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42940 strnlen-sse2-no-bsf.
42941 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42942 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42943 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42944 Add strnlen support.
42945 (USE_AS_STRNLEN): New macro.
42946 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42947 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42948 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42949 * sysdeps/x86_64/wcslen.S: New file.
42951 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42953 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42954 XMM-moves are used for copying on small sizes.
42956 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42958 * wcsmbs/Makefile (strop-tests): Add wcschr.
42959 * wcsmbs/test-wcschr.c: New file.
42960 * string/test-strchr.c: Update.
42961 Add wcschr support.
42964 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42966 * wcsmbs/Makefile (strop-tests): Add wcslen.
42967 * wcsmbs/test-wcslen.c: New file.
42968 * string/test-strlen.c: Update.
42969 Add wcslen support.
42972 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42974 * po/it.po: Update from translation team.
42976 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42978 * sysdeps/x86_64/wcscmp.S: Update.
42979 Fix wrong comparison semantics.
42980 wcscmp shall use signed comparison not unsigned.
42981 Don't use substraction to avoid overflow bug.
42982 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42983 * wcsmbc/wcscmp.c: Likewise.
42984 * string/test-strcmp.c: Likewise.
42985 Add new tests to check cases with negative values.
42987 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42989 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42990 * sysdeps/x86_64/dla.h: ...here. New file.
42991 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42992 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42996 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42999 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43001 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43003 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43004 __ynl_finite aliases.
43006 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43010 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43012 [DLA_FMA] (EMULV): Use DLA_FMA.
43013 [DLA_FMA] (MUL12): Use EMULV.
43014 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43015 that are not needed.
43016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43018 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43024 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43026 * math/s_nan.c: Undef __nan.
43027 * math/s_nanf.c: Undef __nanf.
43028 * math/s_nanl.c: Undef __nanl.
43029 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43032 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43034 * math/s_catan.c: Add branch predictions.
43035 * math/s_catanf.c: Likewise.
43036 * math/s_catanh.c: Likewise.
43037 * math/s_catanhf.c: Likewise.
43038 * math/s_catanhl.c: Likewise.
43039 * math/s_catanl.c: Likewise.
43040 * math/s_cexp.c: Likewise.
43041 * math/s_cexpf.c: Likewise.
43042 * math/s_cexpl.c: Likewise.
43043 * math/s_clog.c: Likewise.
43044 * math/s_clog10.c: Likewise.
43045 * math/s_clog10f.c: Likewise.
43046 * math/s_clog10l.c: Likewise.
43047 * math/s_clogf.c: Likewise.
43048 * math/s_clogl.c: Likewise.
43049 * math/s_csqrt.c: Likewise.
43050 * math/s_csqrtf.c: Likewise.
43051 * math/s_csqrtl.c: Likewise.
43052 * math/s_ctanf.c: Likewise.
43053 * math/s_ctanh.c: Likewise.
43054 * math/s_ctanhf.c: Likewise.
43055 * math/s_ctanhl.c: Likewise.
43056 * math/s_ctanl.c: Likewise.
43058 * math/math_private.h: Define __nan, __nanf, __nanl.
43059 * math/s_cacosh.c: Include <math_private.h>.
43060 * math/s_cacoshl.c: Likewise.
43061 * math/s_casinh.c: Likewise.
43062 * math/s_casinhf.c: Likewise.
43063 * math/s_casinhl.c: Likewise.
43064 * math/s_ccos.c: Rely entire on ccosh.
43065 * math/s_ccosf.c: Rely entire on ccoshf.
43066 * math/s_ccosl.c: Rely entirely on ccoshl.
43067 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43068 Remove tests for FE_INVALID.
43069 * math/s_ccoshf.c: Likewise.
43070 * math/s_ccoshl.c: Likewise.
43071 * math/s_csin.c: Likewise.
43072 * math/s_csinf.c: Likewise.
43073 * math/s_csinh.c Likewise.
43074 * math/s_csinhf.c: Likewise.
43075 * math/s_csinhl.c: Likewise.
43076 * math/s_csinl.c: Likewise.
43077 * math/s_ctan.c: Likewise.
43078 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43079 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43080 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43082 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43085 compilation problems.
43087 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43090 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43092 * sysdeps/i386/configure.in: Test for -mfma4 option.
43093 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43094 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43095 COMMON_CPUID_INDEX_80000001.
43096 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43097 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43098 use it if FMA3 is not supported.
43099 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43101 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43102 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43104 2011-10-20 Andreas Schwab <schwab@redhat.com>
43107 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43108 it would create a cycle with a link time dependency.
43110 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43112 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43114 * string/Makefile (strop-tests): Add rawmemchr.
43115 * string/test-rawmemchr.c: New file.
43117 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43118 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43119 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43120 when compiling str{,n}casecmp and when AVX is available. Hook up
43121 new optimized code in initializers.
43123 2011-10-19 Andreas Schwab <schwab@redhat.com>
43125 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43126 __feraiseexcept instead of feraiseexcept.
43128 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43130 * math/math_private.h: Define defaults for libc_fetestexcept and
43132 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43133 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43134 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43135 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43136 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43137 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43138 libc_fetestexcept and libc_feupdateenv.
43140 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43141 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43142 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43143 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43144 libc_feholdexcept_setround.
43146 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43147 Add s_nearbyint-c and s_nearbyintf-c.
43148 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43149 nearbyintf inlines.
43150 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43151 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43152 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43153 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43155 * math/math_private.h: Define defaults for libc_fegetround,
43156 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43157 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43158 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43159 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43160 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43161 standard functions.
43162 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43163 Remove comments and hacks for old compiler versions.
43164 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43165 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43166 libc_feholdexceptl.
43168 2011-10-18 Andreas Schwab <schwab@redhat.com>
43170 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43171 (__feraiseexcept_renamed): Add __NTH.
43172 (feraiseexcept): Add __NTH. Rename local variables to fix
43173 namespace violations.
43175 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43177 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43179 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43181 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43182 recently added interfaces.
43183 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43185 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43186 about macro parameter expansion.
43188 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43189 __NO_MATH_INLINES is defined. Cleanups.
43191 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43192 and __floorf is target has SSE4.1.
43193 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43194 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43195 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43196 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43198 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43200 (floorf): Likewise.
43202 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43204 2011-10-17 Andreas Schwab <schwab@redhat.com>
43206 * misc/sys/cdefs.h: Fix last change.
43208 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43211 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43213 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43215 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43216 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43217 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43218 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43219 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43220 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43221 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43222 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43223 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43224 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43225 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43226 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43227 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43228 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43229 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43230 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43231 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43232 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43233 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43234 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43235 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43236 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43238 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43239 ceil, ceilf, floor, floorf.
43241 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43242 Perform IRELATIVE relocations last.
43244 * elf/do-rel.h: Add another parameter nrelative, replacing the
43245 local variable with the same name. Change name of the function
43246 to end in Rel or Rela (uppercase).
43247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43248 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43249 elf_dynamic_do_##reloc function.
43251 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43253 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43254 is sufficient, at least on modern CPUs.
43256 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43258 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43259 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43261 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43263 * math/bits/math-finite.h: Add entries for exp.
43264 * math/e_expl.c: Add __*_finite alias.
43265 * sysdeps/i386/fpu/e_exp.S: Likewise.
43266 * sysdeps/i386/fpu/e_expf.S: Likewise.
43267 * sysdeps/i386/fpu/e_expl.c: Likewise.
43268 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43269 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43270 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43272 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43273 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43274 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43276 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43277 is sufficient, at least on modern CPUs.
43279 * ctype/ctype-info.c (__ctype_init): Define.
43280 * include/ctype.h (__ctype_init): Declare.
43281 (__ctype_b_loc): The variable is always initialized.
43282 (__ctype_toupper_loc): Likewise.
43283 (__ctype_tolower_loc): Likewise.
43284 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43285 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43287 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43289 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43291 * configure.in: Also look in $cxxmachine/include for C++ system
43294 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43296 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43297 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43298 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43299 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43300 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43301 (USE_AS_WMEMCMP): New macro.
43303 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43304 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43305 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43306 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43307 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43308 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43309 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43310 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43311 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43312 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43313 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43314 (USE_AS_WMEMCMP): New macro.
43315 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43316 * sysdeps/string/test-memcmp.c: Update.
43317 Fix simple_wmemcmp.
43319 * wcsmbs/wmemcmp.c: Update.
43320 (WMEMCMP): New macro.
43323 2011-10-12 Andreas Jaeger <aj@suse.de>
43326 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43328 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43330 * libio/iofwide.c (do_length): Avoid warning.
43332 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43334 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43336 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43338 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43339 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43340 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43341 * sysdeps/i386/i686/fpu/e_log.S: New file.
43342 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43343 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43345 * ctype/ctype.h: Add support for inlined isXXX functions when
43346 compiling C++ code.
43348 2011-10-14 Andreas Schwab <schwab@redhat.com>
43350 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43354 2011-10-13 Roland McGrath <roland@hack.frob.com>
43357 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43359 2011-10-13 Andreas Schwab <schwab@redhat.com>
43361 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43362 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43365 * sysdeps/x86_64/memrchr.S: Check for zero size.
43367 * string/stratcliff.c: Add memrchr tests.
43369 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43372 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43373 rawmemchr-sse2 rawmemchr-sse2-bsf.
43374 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43375 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43376 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43377 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43378 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43379 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43380 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43381 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43382 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43383 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43384 * string/memrchr.c (MEMRCHR): New macro.
43386 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43388 Add integration with gcc's -ffinite-math-only and optimize wrapper
43390 * Versions.def: Define GLIBC_2.15 version for libm.
43391 * math/Makefile (headers): Add bits/math-finite.h.
43392 * math/bits/math-finite.h: New file.
43393 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43394 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43395 * math/e_acoshl.c: Add __*_finite alias.
43396 * math/e_acosl.c: Likewise.
43397 * math/e_asinl.c: Likewise.
43398 * math/e_atan2l.c: Likewise.
43399 * math/e_atanhl.c: Likewise.
43400 * math/e_coshl.c: Likewise.
43401 * math/e_exp10.c: Likewise.
43402 * math/e_exp10f.c: Likewise.
43403 * math/e_exp10l.c: Likewise.
43404 * math/e_exp2l.c: Likewise.
43405 * math/e_fmodl.c: Likewise.
43406 * math/e_gammal_r.c: Likewise.
43407 * math/e_hypotl.c: Likewise.
43408 * math/e_j0l.c: Likewise.
43409 * math/e_j1l.c: Likewise.
43410 * math/e_jnl.c: Likewise.
43411 * math/e_lgammal_r.c: Likewise.
43412 * math/e_log10l.c: Likewise.
43413 * math/e_log2l.c: Likewise.
43414 * math/e_logl.c: Likewise.
43415 * math/e_powl.c: Likewise.
43416 * math/e_sinhl.c: Likewise.
43417 * math/e_sqrtl.c: Likewise.
43418 * math/e_scalb.c: Completely rewritten and optimized.
43419 * math/e_scalbf.c: Likewise.
43420 * math/e_scalbl.c: Likewise.
43421 * math/w_acos.c: Likewise.
43422 * math/w_acosf.c: Likewise.
43423 * math/w_acosl.c: Likewise.
43424 * math/w_acosh.c: Likewise.
43425 * math/w_acoshf.c: Likewise.
43426 * math/w_acoshl.c: Likewise.
43427 * math/w_asin.c: Likewise.
43428 * math/w_asinf.c: Likewise.
43429 * math/w_asinl.c: Likewise.
43430 * math/w_atan2.c: Likewise.
43431 * math/w_atan2f.c: Likewise.
43432 * math/w_atan2l.c: Likewise.
43433 * math/w_atanh.c: Likewise.
43434 * math/w_atanhf.c: Likewise.
43435 * math/w_atanhl.c: Likewise.
43436 * math/w_exp10.c: Likewise.
43437 * math/w_exp10f.c: Likewise.
43438 * math/w_exp10l.c: Likewise.
43439 * math/w_fmod.c: Likewise.
43440 * math/w_fmodf.c: Likewise.
43441 * math/w_fmodl.c: Likewise.
43442 * math/w_j0.c: Likewise.
43443 * math/w_j0f.c: Likewise.
43444 * math/w_j0l.c: Likewise.
43445 * math/w_j1.c: Likewise.
43446 * math/w_j1f.c: Likewise.
43447 * math/w_j1l.c: Likewise.
43448 * math/w_jn.c: Likewise.
43449 * math/w_jnf.c: Likewise.
43450 * math/w_log.c: Likewise.
43451 * math/w_logf.c: Likewise.
43452 * math/w_logl.c: Likewise.
43453 * math/w_log10.c: Likewise.
43454 * math/w_log10f.c: Likewise.
43455 * math/w_log10l.c: Likewise.
43456 * math/w_log2.c: Likewise.
43457 * math/w_log2f.c: Likewise.
43458 * math/w_log2l.c: Likewise.
43459 * math/w_pow.c: Likewise.
43460 * math/w_powf.c: Likewise.
43461 * math/w_powl.c: Likewise.
43462 * math/w_remainder.c: Likewise.
43463 * math/w_remainderf.c: Likewise.
43464 * math/w_remainderl.c: Likewise.
43465 * math/w_scalb.c: Likewise.
43466 * math/w_scalbf.c: Likewise.
43467 * math/w_scalbl.c: Likewise.
43468 * math/w_sqrt.c: Likewise.
43469 * math/w_sqrtf.c: Likewise.
43470 * math/w_sqrtl.c: Likewise.
43471 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43472 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43474 * math/math_private.h: Declare __kernel_standard_f.
43475 * math/w_cosh.c: Remove cruft and optimize a bit.
43476 * math/w_coshf.c: Likewise.
43477 * math/w_coshl.c: Likewise.
43478 * math/w_exp2.c: Likewise.
43479 * math/w_exp2f.c: Likewise.
43480 * math/w_exp2l.c: Likewise.
43481 * math/w_hypot.c: Likewise.
43482 * math/w_hypotf.c: Likewise.
43483 * math/w_hypotl.c: Likewise.
43484 * math/w_lgamma.c: Likewise.
43485 * math/w_lgamma_r.c: Likewise.
43486 * math/w_lgammaf.c: Likewise.
43487 * math/w_lgammaf_r.c: Likewise.
43488 * math/w_lgammal.c: Likewise.
43489 * math/w_lgammal_r.c: Likewise.
43490 * math/w_sinh.c: Likewise.
43491 * math/w_sinhf.c: Likewise.
43492 * math/w_sinhl.c: Likewise.
43493 * math/w_tgamma.c: Likewise.
43494 * math/w_tgammaf.c: Likewise.
43495 * math/w_tgammal.c: Likewise.
43496 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43497 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43498 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43499 Minor optimizations. Pretty printing. Remove cruft.
43500 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43501 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43502 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43503 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43504 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43505 * sysdeps/i386/fpu/e_asin.S: Likewise.
43506 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43507 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43508 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43509 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43510 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43511 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43512 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43513 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43514 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43515 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43516 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43517 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43518 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43519 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43520 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43521 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43522 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43523 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43524 * sysdeps/i386/fpu/e_log.S: Likewise.
43525 * sysdeps/i386/fpu/e_log10.S: Likewise.
43526 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43527 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43528 * sysdeps/i386/fpu/e_log2.S: Likewise.
43529 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43530 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43531 * sysdeps/i386/fpu/e_logf.S: Likewise.
43532 * sysdeps/i386/fpu/e_logl.S: Likewise.
43533 * sysdeps/i386/fpu/e_pow.S: Likewise.
43534 * sysdeps/i386/fpu/e_powf.S: Likewise.
43535 * sysdeps/i386/fpu/e_powl.S: Likewise.
43536 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43537 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43538 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43539 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43540 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43541 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43542 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43543 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43544 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43545 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43548 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43549 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43550 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43551 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43552 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43553 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43554 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43555 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43556 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43558 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43559 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43561 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43562 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43563 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43565 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43566 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43567 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43568 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43569 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43570 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43571 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43572 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43573 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43574 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43575 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43576 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43577 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43578 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43579 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43580 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43581 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43582 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43583 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43584 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43585 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43586 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43587 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43588 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43589 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43590 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43591 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43592 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43593 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43594 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43595 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43596 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43597 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43599 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43600 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43601 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43602 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43603 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43604 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43605 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43606 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43607 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43608 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43609 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43610 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43611 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43612 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43613 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43614 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43615 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43616 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43617 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43618 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43619 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43620 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43621 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43622 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43623 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43624 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43625 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43626 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43627 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43628 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43629 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43630 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43631 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43632 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43633 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43634 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43635 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43636 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43637 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43638 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43639 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43640 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43641 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43642 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43643 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43644 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43645 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43646 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43647 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43648 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43649 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43650 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43651 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43652 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43653 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43654 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43655 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43656 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43657 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43658 (__isnanf): Likewise.
43659 (__isinf_ns): Likewise.
43660 (__isinf_nsf): Likewise.
43661 (__finite): Likewise.
43662 (__finitef): Likewise.
43663 (__ieee754_sqrt): Define as macro.
43664 (__ieee754_sqrtf): Define as macro.
43665 (__ieee754_sqrtl): Define as macro.
43666 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43668 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43669 __FINITE_MATH_ONLY__ consistent.
43670 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43672 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43674 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43677 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43679 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43681 * po/ja.po: Update from translation team.
43683 2011-10-08 Roland McGrath <roland@hack.frob.com>
43685 * locale/programs/locarchive.c (prepare_address_space): New function.
43686 (create_archive, enlarge_archive, open_archive): Use it.
43688 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43689 inside [SHARED], where it is used.
43691 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43693 * nss/getent.c (netgroup_keys): Remove unused variable.
43694 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43696 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43698 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43699 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43701 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43702 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43703 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43704 * math/Makefile (libm-calls): Add s_isinf_ns.
43705 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43706 * math/multc3.c: Likewise.
43707 * math/s_casin.c: Likewise.
43708 * math/s_casinf.c: Likewise.
43709 * math/s_casinl.c: Likewise.
43710 * math/s_ccos.c: Likewise.
43711 * math/s_ccosf.c: Likewise.
43712 * math/s_ccosl.c: Likewise.
43713 * math/s_ctan.c: Likewise.
43714 * math/s_ctanf.c: Likewise.
43715 * math/s_ctanh.c: Likewise.
43716 * math/s_ctanhf.c: Likewise.
43717 * math/s_ctanhl.c: Likewise.
43718 * math/s_ctanl.c: Likewise.
43719 * math/w_fmod.c: Likewise.
43720 * math/w_fmodf.c: Likewise.
43721 * math/w_fmodl.c: Likewise.
43722 * math/w_remainder.c: Likewise.
43723 * math/w_remainderf.c: Likewise.
43724 * math/w_remainderl.c: Likewise.
43725 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43726 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43727 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43729 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43730 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43731 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43732 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43734 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43736 * stdio-common/printf_fphex.c: Likewise.
43737 * stdio-common/printf_size.c: Likewise.
43739 * math/e_exp10.c: Include math_private.h using <...> not "...".
43740 * math/e_exp10f.c: Likewise.
43741 * math/e_exp10l.c: Likewise.
43742 * math/e_exp2l.c: Likewise.
43743 * math/e_j0l.c: Likewise.
43744 * math/e_j1l.c: Likewise.
43745 * math/e_jnl.c: Likewise.
43746 * math/e_lgammal_r.c: Likewise.
43747 * math/e_rem_pio2l.c: Likewise.
43748 * math/e_scalb.c: Likewise.
43749 * math/e_scalbf.c: Likewise.
43750 * math/e_scalbl.c: Likewise.
43751 * math/k_cosl.c: Likewise.
43752 * math/k_sinl.c: Likewise.
43753 * math/k_tanl.c: Likewise.
43754 * math/s_cacoshf.c: Likewise.
43755 * math/s_catan.c: Likewise.
43756 * math/s_catanf.c: Likewise.
43757 * math/s_catanh.c: Likewise.
43758 * math/s_catanhf.c: Likewise.
43759 * math/s_catanhl.c: Likewise.
43760 * math/s_catanl.c: Likewise.
43761 * math/s_ccosh.c: Likewise.
43762 * math/s_ccoshf.c: Likewise.
43763 * math/s_ccoshl.c: Likewise.
43764 * math/s_cexp.c: Likewise.
43765 * math/s_cexpf.c: Likewise.
43766 * math/s_cexpl.c: Likewise.
43767 * math/s_clog.c: Likewise.
43768 * math/s_clog10.c: Likewise.
43769 * math/s_clog10f.c: Likewise.
43770 * math/s_clog10l.c: Likewise.
43771 * math/s_clogf.c: Likewise.
43772 * math/s_clogl.c: Likewise.
43773 * math/s_csin.c: Likewise.
43774 * math/s_csinf.c: Likewise.
43775 * math/s_csinh.c: Likewise.
43776 * math/s_csinhf.c: Likewise.
43777 * math/s_csinhl.c: Likewise.
43778 * math/s_csinl.c: Likewise.
43779 * math/s_csqrt.c: Likewise.
43780 * math/s_csqrtf.c: Likewise.
43781 * math/s_csqrtl.c: Likewise.
43782 * math/s_ctan.c: Likewise.
43783 * math/s_ctanf.c: Likewise.
43784 * math/s_ctanh.c: Likewise.
43785 * math/s_ctanhf.c: Likewise.
43786 * math/s_ctanhl.c: Likewise.
43787 * math/s_ctanl.c: Likewise.
43788 * math/s_ldexp.c: Likewise.
43789 * math/s_ldexpf.c: Likewise.
43790 * math/s_ldexpl.c: Likewise.
43791 * math/s_significand.c: Likewise.
43792 * math/s_significandf.c: Likewise.
43793 * math/s_significandl.c: Likewise.
43794 * math/w_acos.c: Likewise.
43795 * math/w_acosf.c: Likewise.
43796 * math/w_acosh.c: Likewise.
43797 * math/w_acoshf.c: Likewise.
43798 * math/w_acoshl.c: Likewise.
43799 * math/w_acosl.c: Likewise.
43800 * math/w_asin.c: Likewise.
43801 * math/w_asinf.c: Likewise.
43802 * math/w_asinl.c: Likewise.
43803 * math/w_atan2.c: Likewise.
43804 * math/w_atan2f.c: Likewise.
43805 * math/w_atan2l.c: Likewise.
43806 * math/w_atanh.c: Likewise.
43807 * math/w_atanhf.c: Likewise.
43808 * math/w_atanhl.c: Likewise.
43809 * math/w_cosh.c: Likewise.
43810 * math/w_coshf.c: Likewise.
43811 * math/w_coshl.c: Likewise.
43812 * math/w_dremf.c: Likewise.
43813 * math/w_exp10.c: Likewise.
43814 * math/w_exp10f.c: Likewise.
43815 * math/w_exp10l.c: Likewise.
43816 * math/w_exp2.c: Likewise.
43817 * math/w_exp2f.c: Likewise.
43818 * math/w_fmod.c: Likewise.
43819 * math/w_fmodf.c: Likewise.
43820 * math/w_fmodl.c: Likewise.
43821 * math/w_hypot.c: Likewise.
43822 * math/w_hypotf.c: Likewise.
43823 * math/w_hypotl.c: Likewise.
43824 * math/w_j0.c: Likewise.
43825 * math/w_j0f.c: Likewise.
43826 * math/w_j0l.c: Likewise.
43827 * math/w_j1.c: Likewise.
43828 * math/w_j1f.c: Likewise.
43829 * math/w_j1l.c: Likewise.
43830 * math/w_jn.c: Likewise.
43831 * math/w_jnf.c: Likewise.
43832 * math/w_jnl.c: Likewise.
43833 * math/w_lgamma.c: Likewise.
43834 * math/w_lgamma_r.c: Likewise.
43835 * math/w_lgammaf.c: Likewise.
43836 * math/w_lgammaf_r.c: Likewise.
43837 * math/w_lgammal.c: Likewise.
43838 * math/w_lgammal_r.c: Likewise.
43839 * math/w_log.c: Likewise.
43840 * math/w_log10.c: Likewise.
43841 * math/w_log10f.c: Likewise.
43842 * math/w_log10l.c: Likewise.
43843 * math/w_log2.c: Likewise.
43844 * math/w_log2f.c: Likewise.
43845 * math/w_log2l.c: Likewise.
43846 * math/w_logf.c: Likewise.
43847 * math/w_logl.c: Likewise.
43848 * math/w_pow.c: Likewise.
43849 * math/w_powf.c: Likewise.
43850 * math/w_powl.c: Likewise.
43851 * math/w_remainder.c: Likewise.
43852 * math/w_remainderf.c: Likewise.
43853 * math/w_remainderl.c: Likewise.
43854 * math/w_scalb.c: Likewise.
43855 * math/w_scalbf.c: Likewise.
43856 * math/w_scalbl.c: Likewise.
43857 * math/w_sinh.c: Likewise.
43858 * math/w_sinhf.c: Likewise.
43859 * math/w_sinhl.c: Likewise.
43860 * math/w_sqrt.c: Likewise.
43861 * math/w_sqrtf.c: Likewise.
43862 * math/w_sqrtl.c: Likewise.
43863 * math/w_tgamma.c: Likewise.
43864 * math/w_tgammaf.c: Likewise.
43865 * math/w_tgammal.c: Likewise.
43867 * po/ja.po: Update from translation team.
43869 2011-09-29 Andreas Jaeger <aj@suse.de>
43872 * sunrpc/netname.c (netname2host): Fix logic.
43876 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43878 * math/w_remainder.c (__remainder): Likewise.
43879 * math/w_remainderf.c (__remainderf): Likewise.
43880 * math/libm-test.inc (remainder_test): Add test cases.
43882 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43884 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43887 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43889 * string/test-memcmp.c: Avoid unncessary #defines.
43890 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43892 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43894 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43895 Use new sse2 version for core i3 - i7 as it's faster
43896 than sse42 version.
43897 (bit_Prefer_PMINUB_for_stringop): New.
43898 * sysdeps/x86_64/rawmemchr.S: Update.
43899 Replace with faster SSE2 version.
43900 * sysdeps/x86_64/memrchr.S: New file.
43901 * sysdeps/x86_64/memchr.S: Update.
43902 Replace with faster SSE2 version.
43904 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43906 * elf/dl-load.c (lose): Add cast to avoid warning.
43908 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43910 * po/ca.po: Update from translation team.
43912 * inet/getnetgrent_r.c: Hook up nscd.
43913 * nscd/Makefile (routines): Add nscd_netgroup.
43914 (nscd-modules): Add netgroupcache.
43915 (CFLAGS-netgroupcache.c): Define.
43916 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43917 (cache_search): Add const to second parameter.
43918 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43920 (dbs): Add netgrdb entry.
43921 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43922 (verify_persistent_db): Handle netgrdb.
43923 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43924 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43926 (netgroup_response_header): Define.
43927 (innetgroup_response_header): Define.
43928 (datahead): Add netgroup_response_header and innetgroup_response_header
43930 * nscd/nscd.conf: Add entries for netgroup cache.
43931 * nscd/nscd.h (dbtype): Add netgrdb.
43932 (_PATH_NSCD_NETGROUP_DB): Define.
43933 (netgroup_iov_disabled): Declare.
43934 (xmalloc, xcalloc, xrealloc): Move declarations here.
43935 (cache_search): Adjust prototype.
43936 Add netgroup-related prototypes.
43937 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43938 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43939 (__nscd_innetgr): Declare.
43940 * nscd/selinux.c (perms): Use access_vector_t as element type and
43941 add netgroup-related initializers.
43942 * nscd/netgroupcache.c: New file.
43943 * nscd/nscd_netgroup.c: New file.
43944 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43945 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43946 For four parameters use innetgr.
43947 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43948 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43949 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43950 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43952 * nscd/connections.c (register_traced_file): Don't register file
43953 for disabled databases.
43955 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43957 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43959 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43960 from tree and freeing node.
43962 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43964 * nss/nsswitch.c (__nss_database_lookup): Handle
43965 nss_parse_service_list out of memory case.
43967 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43969 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43970 out of memory case.
43972 2011-10-04 Andreas Schwab <schwab@redhat.com>
43974 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43975 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43977 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43978 elf_machine_rela, elf_machine_lazy_rel.
43979 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43980 (ELF_DYNAMIC_DO_REL): Likewise.
43981 (ELF_DYNAMIC_DO_RELA): Likewise.
43982 (ELF_DYNAMIC_RELOCATE): Likewise.
43983 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43984 to ELF_DYNAMIC_DO_REL.
43985 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43986 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43987 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43989 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43990 skip_ifunc, don't call ifunc function if non-zero.
43991 (elf_machine_rela): Likewise.
43992 (elf_machine_lazy_rel): Likewise.
43993 (elf_machine_lazy_rela): Likewise.
43994 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43995 (elf_machine_lazy_rel): Likewise.
43996 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43998 (elf_machine_lazy_rel): Likewise.
43999 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44001 (elf_machine_lazy_rel): Likewise.
44002 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44003 (elf_machine_lazy_rel): Likewise.
44004 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44005 (elf_machine_lazy_rel): Likewise.
44006 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44007 (elf_machine_lazy_rel): Likewise.
44008 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44009 (elf_machine_lazy_rel): Likewise.
44010 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44011 (elf_machine_lazy_rel): Likewise.
44012 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44013 (elf_machine_lazy_rel): Likewise.
44015 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44017 * nss/nss_files/files-init.c (_nss_files_init): Use static
44018 initialization for all the *_traced_file variables.
44020 2011-09-28 Andreas Schwab <schwab@redhat.com>
44022 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44024 2011-09-27 Roland McGrath <roland@hack.frob.com>
44027 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44029 2011-09-27 Andreas Schwab <schwab@redhat.com>
44031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44032 Reread the line before reparsing it.
44034 2011-09-26 Andreas Schwab <schwab@redhat.com>
44036 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44038 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44039 Maxim Kuvyrkov <maxim@codesourcery.com>
44040 Joseph Myers <joseph@codesourcery.com>
44042 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44043 if needed for __stack_chk_guard.
44045 2011-09-19 Roland McGrath <roland@hack.frob.com>
44047 * sysdeps/posix/spawni.c (script_execute): Always define it.
44048 It will be optimized away if unused.
44049 (maybe_script_execute): New function.
44050 (__spawni): Call it.
44052 * Makerules: Don't include tls.make.
44053 (config-tls): Always set to thread.
44054 * tls.make.c: File removed.
44056 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44058 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44059 * config.make.in (CPPFLAGS-config): New substituted variable.
44061 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44063 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44066 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44067 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44069 2011-09-15 Roland McGrath <roland@hack.frob.com>
44071 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44072 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44074 (CALL_FAIL): Likewise.
44075 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44076 (CALL_FAIL): Macro removed.
44077 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44079 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44081 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44082 for __FINITE_MATH_ONLY__ == 1.
44084 2011-09-15 Andreas Schwab <schwab@redhat.com>
44086 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44087 __ieee754_sqrt instead of sqrt.
44088 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44089 __ieee754_sqrtf instead of sqrtf.
44090 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44091 __floorf instead of floorf.
44092 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44093 __floorf, __truncf instead of floorf, truncf.
44095 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44097 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44099 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44100 __extern_always_inline.
44101 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44104 2011-09-14 Andreas Schwab <schwab@redhat.com>
44106 * elf/rtld.c (dl_main): Also relocate in dependency order when
44107 doing symbol dependency testing.
44109 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44111 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44112 Always define `refsym'.
44114 2011-09-13 Andreas Schwab <schwab@redhat.com>
44116 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44117 (__FD_ELT): Renamed from __FDELT.
44118 * misc/bits/select2.h (__FD_ELT): Likewise.
44119 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44120 __FD_MASK instead of __FDELT, __FDMASK.
44121 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44123 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44126 * elf/Makefile (gen-ldd): Fix pattern.
44128 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44129 (init_tls): Likewise.
44131 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44133 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44135 2011-09-12 Andreas Schwab <schwab@redhat.com>
44137 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44138 `struct cmsghdr *' instead of `void *'.
44139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44142 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44144 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44146 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44147 ldd_rewrite_script.
44149 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44151 * configure.in: Remove --with-tls option.
44152 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44153 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44154 out in case it is missing.
44155 * sysdeps/ia64/elf/configure.in: Likewise.
44156 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44157 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44158 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44159 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44160 * sysdeps/sh/elf/configure.in: Likewise.
44161 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44162 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44163 * sysdeps/x86_64/elf/configure.in: Likewise.
44164 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44165 * sysdeps/mach/hurd/tls.h: Likewise.
44168 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44171 * configure.in: Fix use of AC_INIT.
44173 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44175 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44177 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44179 * malloc/hooks.c: Likewise.
44182 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44183 variables statically.
44184 (narenas): Initialize.
44185 (list_lock): Initialize.
44186 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44187 initializtion of main_arena and list_lock. Small cleanups.
44188 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44189 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44190 Add initializers to main_arena and mp_.
44191 (malloc_state): Remove pagesize member. Change all users to use
44194 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44195 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44196 is always initialized.
44198 * malloc/malloc.c: Removed unused configurations and dead code.
44199 * malloc/arena.c: Likewise.
44200 * malloc/hooks.c: Likewise.
44201 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44203 * include/tls.h: Removed. USE___THREAD must always be defined.
44204 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44205 * elf/dl-libc.c: Likewise.
44206 * elf/dl-tsd.c: Likewise.
44207 * include/errno.h: Likewise.
44208 * include/netdb.h: Likewise.
44209 * include/resolv.h: Likewise.
44210 * inet/herrno-loc.c: Likewise.
44211 * inet/herrno.c: Likewise.
44212 * malloc/arena.c: Likewise.
44213 * malloc/hooks.c: Likewise.
44214 * malloc/malloc.c: Likewise.
44215 * resolv/res-state.c: Likewise.
44216 * resolv/res_libc.c: Likewise.
44217 * sysdeps/i386/dl-machine.h: Likewise.
44218 * sysdeps/ia64/dl-machine.h: Likewise.
44219 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44220 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44221 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44222 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44223 * sysdeps/sh/dl-machine.h: Likewise.
44224 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44225 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44226 * sysdeps/unix/i386/sysdep.S: Likewise.
44227 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44228 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44230 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44232 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44233 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44234 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44237 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44238 * sysdeps/x86_64/dl-machine.h: Likewise.
44239 * tls.make.c: Likewise.
44241 * configure.in: Remove --with-__thread option. Make tests for
44242 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44243 tls_model attribute fail if no support is available. Remove
44245 * Makeconfig: Adjust for dropped configure option. All features are
44247 * Makerules: Likewise.
44248 * Versions.def: Likewise.
44249 * argp/argp-fmtstream.c: Likewise.
44250 * argp/argp-fmtstream.h: Likewise.
44251 * argp/argp-help.c: Likewise.
44252 * assert/assert.c: Likewise.
44253 * config.h.in: Likewise.
44254 * config.make.in: Likewise.
44255 * configure: Likewise.
44256 * configure.in: Likewise.
44257 * csu/Versions: Likewise.
44258 * csu/init.c: Likewise.
44259 * elf/tst-audit2.c: Likewise.
44260 * elf/tst-tls10.c: Likewise.
44261 * elf/tst-tls10.h: Likewise.
44262 * elf/tst-tls11.c: Likewise.
44263 * elf/tst-tls12.c: Likewise.
44264 * elf/tst-tls14.c: Likewise.
44265 * elf/tst-tlsmod11.c: Likewise.
44266 * elf/tst-tlsmod12.c: Likewise.
44267 * elf/tst-tlsmod13.c: Likewise.
44268 * elf/tst-tlsmod13a.c: Likewise.
44269 * elf/tst-tlsmod14a.c: Likewise.
44270 * elf/tst-tlsmod15b.c: Likewise.
44271 * elf/tst-tlsmod16a.c: Likewise.
44272 * elf/tst-tlsmod16b.c: Likewise.
44273 * elf/tst-tlsmod7.c: Likewise.
44274 * elf/tst-tlsmod8.c: Likewise.
44275 * elf/tst-tlsmod9.c: Likewise.
44276 * gmon/gmon.c: Likewise.
44277 * grp/fgetgrent_r.c: Likewise.
44278 * grp/putgrent.c: Likewise.
44279 * hurd/fopenport.c: Likewise.
44280 * include/libc-symbols.h: Likewise.
44281 * include/tls.h: Likewise.
44282 * intl/gettextP.h: Likewise.
44283 * intl/loadinfo.h: Likewise.
44284 * locale/global-locale.c: Likewise.
44285 * locale/localeinfo.h: Likewise.
44286 * mach/devstream.c: Likewise.
44287 * malloc/arena.c: Likewise.
44288 * malloc/set-freeres.c: Likewise.
44289 * misc/err.c: Likewise.
44290 * misc/getttyent.c: Likewise.
44291 * misc/mntent_r.c: Likewise.
44292 * posix/getopt.c: Likewise.
44293 * posix/wordexp.c: Likewise.
44294 * pwd/fgetpwent_r.c: Likewise.
44295 * resolv/Versions: Likewise.
44296 * resolv/res_hconf.c: Likewise.
44297 * shadow/fgetspent_r.c: Likewise.
44298 * shadow/putspent.c: Likewise.
44299 * stdio-common/printf_fphex.c: Likewise.
44300 * stdio-common/tmpfile.c: Likewise.
44301 * stdlib/abort.c: Likewise.
44302 * stdlib/fmtmsg.c: Likewise.
44303 * sunrpc/auth_unix.c: Likewise.
44304 * sunrpc/clnt_perr.c: Likewise.
44305 * sunrpc/clnt_tcp.c: Likewise.
44306 * sunrpc/clnt_udp.c: Likewise.
44307 * sunrpc/clnt_unix.c: Likewise.
44308 * sunrpc/openchild.c: Likewise.
44309 * sunrpc/svc_simple.c: Likewise.
44310 * sunrpc/svc_tcp.c: Likewise.
44311 * sunrpc/svc_udp.c: Likewise.
44312 * sunrpc/svc_unix.c: Likewise.
44313 * sunrpc/xdr.c: Likewise.
44314 * sunrpc/xdr_array.c: Likewise.
44315 * sunrpc/xdr_rec.c: Likewise.
44316 * sunrpc/xdr_ref.c: Likewise.
44317 * sunrpc/xdr_stdio.c: Likewise.
44319 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44321 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44323 2011-07-03 Andreas Jaeger <aj@suse.de>
44325 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44326 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44327 regenerate with gen-libm-tests.pl.
44329 2010-05-12 Petr Baudis <pasky@suse.cz>
44332 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44333 around j0() zero points by switching to j1().
44334 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44335 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44337 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44339 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44341 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44343 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44345 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44346 Patch in part by Pavel Roskin <proski@gnu.org>.
44349 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44351 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44352 Free memory block if necessary.
44355 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44356 be NULL. Don't lock in this case.
44358 2011-09-09 Roland McGrath <roland@hack.frob.com>
44360 * elf/elf.h (ELFOSABI_GNU): New macro.
44361 (ELFOSABI_LINUX): Define to that.
44363 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44365 * string/strncat.c (strncat): Undef the symbol in case it has been
44366 defined in bits/string.h.
44368 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44370 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44372 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44375 2011-08-17 Andreas Jaeger <aj@suse.de>
44377 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44379 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44380 Ian Lance Taylor <iant@google.com>
44382 * math/libm-test.inc (lround_test): New testcase.
44383 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44385 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44387 * Makefile: Remove support for automatic cvs check-ins.
44388 * Makerules: Likewise.
44389 * config.make.in: Likewise.
44390 * configure.in: Likewise.
44391 * intl/Makefile: Likewise.
44392 * locale/Makefile: Likewise.
44393 * po/Makefile: Likewise.
44394 * posix/Makefile: Likewise.
44395 * sysdeps/gnu/Makefile: Likewise.
44396 * sysdeps/mach/hurd/Makefile: Likewise.
44397 * sysdeps/sparc/sparc32/Makefile: Likewise.
44400 * posix/Makefile (bug-regex32-ENV): Define.
44401 Patch by John Stanley <jpsinthemix@verizon.net>.
44403 * misc/Makefile (headers): Add bits/select2.h.
44404 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44405 * misc/bits/select2.h: New file.
44406 * include/bits/select2.h: New file.
44407 * debug/Makefile (routines): Add fdelt_chk.
44408 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44409 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44411 * debug/fdelt_chk.c: New file.
44413 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44414 * wcsmbs/test-wmemcmp.c: Likewise.
44415 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44416 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44418 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44420 * string/Makefile (strop-tests): Add memcmp.
44421 * string/test-wmemcmp.c: New file.
44422 * string/test-memcmp.c: Add wmemcmp support.
44424 2011-09-08 Roland McGrath <roland@hack.frob.com>
44427 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44430 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44431 garbage value in a __mach_port_mod_refs call in the cases of the
44432 task-self and thread-self ports.
44434 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44436 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44438 2011-09-08 Andreas Schwab <schwab@redhat.com>
44440 * elf/dl-load.c (lose): Check for non-null L.
44442 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44444 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44446 * elf/dl-libc.c (dlerror_run): Pass back error code from
44450 * elf/dl-load.c (lose): Free l_origin if it is valid.
44452 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44454 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44455 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44456 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44457 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44458 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44459 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44461 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44463 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44464 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44465 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44466 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44467 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44468 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44469 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44470 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44471 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44472 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44474 2011-08-15 Alan Modra <amodra@gmail.com>
44477 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44478 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44479 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44480 ppc_mcount to static-only-routines.
44481 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44483 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44484 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44486 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44488 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44489 for finite and infinity parameters.
44491 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44494 and add nop instructions for throughput optimization.
44495 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44497 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44499 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44500 aligned copy for power7 with vector-scalar instructions.
44501 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44503 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44508 2011-09-07 Andreas Schwab <schwab@redhat.com>
44511 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44514 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44516 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44517 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44518 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44519 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44522 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44524 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44525 Forgot to demangle the pointer.
44527 * sysdeps/i386/sysdep.h: Define atom_text_section.
44528 * sysdeps/x86_64/sysdep.h: Likewise.
44529 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44530 section with atom_text_section.
44531 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44532 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44533 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44535 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44538 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44539 already be defined. Change to take two parameters and don't assign
44540 result to variable. Adjust all users.
44541 Define INTERNAL_GETTIME if not already defined.
44542 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44545 HAVE_CLOCK_GETTIME_VSYSCALL.
44546 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44549 gettimeofday vsyscall, just use time.
44551 2011-09-06 Andreas Schwab <schwab@redhat.com>
44553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44556 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44558 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44562 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44563 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44564 syscall if possible.
44566 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44568 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44569 e_ident. Don't pass to find_mapsXX.
44570 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44572 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44575 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44576 * sysdeps/x86_64/multiarch/strchr.S: Update.
44577 Check bit_slow_BSF bit.
44578 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44579 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44580 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44582 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44585 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44587 (tryshell): Define.
44588 (__spawni): Change last parameter to be flag. Test
44589 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44590 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44591 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44592 * posix/spawni.c: Likewise.
44593 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44594 * posix/spawnp.c: Likewise. Change normal version to use
44595 SPAWN_XFLAGS_USE_PATH.
44596 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44597 SPAWN_XFLAGS_TRY_SHELL.
44600 * posix/glob.h: Remove gcc 1.x support.
44603 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44605 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44607 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44608 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44610 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44611 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44612 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44613 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44614 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44615 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44617 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44619 * sysdeps/x86_64/wcscmp.S: New file.
44621 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44622 wcscmp-c wcscmp-sse2
44623 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44624 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44625 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44626 * wcsmbs/wcscmp.c: Allow renaming.
44628 2011-09-05 David S. Miller <davem@davemloft.net>
44630 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44631 stack slot, rather than the struct return pointer slot.
44632 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44633 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44635 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44637 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44639 * po/ja.po: Update from translation team.
44642 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44643 kernel in 64-bit binaries.
44645 2011-09-01 David S. Miller <davem@davemloft.net>
44647 * elf/elf.h (HWCAP_SPARC_*): Move to..
44648 * sysdeps/sparc/sysdep.h: this new file and add new values.
44649 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44650 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44651 _DL_HWCAP_COUNT to 24.
44652 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44654 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44655 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44656 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44658 instead of magic constants.
44659 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44661 2011-08-31 David S. Miller <davem@davemloft.net>
44663 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44664 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44665 Reimplement to do errno handling inline.
44666 (SYSCALL_ERROR_HANDLER): New macro.
44667 (__SYSCALL_STRING): Do not do errno handling in asm.
44668 (__CLONE_SYSCALL_STRING): Delete.
44669 (__INTERNAL_SYSCALL_STRING): Delete.
44670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44671 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44672 (PSEUDO): Reimplement to do errno handling inline.
44673 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44674 (SYSCALL_ERROR_HANDLER): New macro.
44675 (__SYSCALL_STRING): Do not do errno handling in asm.
44676 (__CLONE_SYSCALL_STRING): Delete.
44677 (__INTERNAL_SYSCALL_STRING): Delete.
44678 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44679 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44681 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44682 (inline_syscall*): Add 'err' argument.
44683 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44684 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44685 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44686 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44688 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44689 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44691 2011-08-30 Andreas Schwab <schwab@redhat.com>
44693 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44695 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44697 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44700 2011-08-24 David S. Miller <davem@davemloft.net>
44702 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44704 2011-08-24 Andreas Schwab <schwab@redhat.com>
44706 * elf/Makefile: Add rules to build and run unload8 test.
44707 * elf/unload8.c: New file.
44708 * elf/unload8mod1.c: New file.
44709 * elf/unload8mod1x.c: New file.
44710 * elf/unload8mod2.c: New file.
44711 * elf/unload8mod3.c: New file.
44713 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44716 2011-08-23 David S. Miller <davem@davemloft.net>
44718 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44719 subtract stack bias.
44720 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44721 %sp not %fp in calculations.
44722 (_JMPBUF_UNWINDS_ADJ): Likewise.
44724 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44725 (aio_suspend): Call it to force an exception region around the
44726 AIO_MISC_WAIT() invocation.
44728 2011-08-23 Andreas Schwab <schwab@redhat.com>
44730 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44733 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44735 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44737 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44738 and <dl-machine.h>.
44739 (Elf64_FuncDesc): Remove.
44741 2011-08-22 David S. Miller <davem@davemloft.net>
44743 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44744 sigaltstack check, add missing cfi directives.
44745 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44746 missing cfi directives, and sigaltstack handling.
44748 2011-08-16 Andreas Schwab <schwab@redhat.com>
44751 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44752 object is seen twice.
44753 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44755 * elf/Makefile (distribute): Add tst-initorder2.c.
44756 (tests): Add tst-initorder2.
44757 (modules-names): Add tst-initorder2a tst-initorder2b
44758 tst-initorder2c tst-initorder2d. Add rules to build them.
44759 ($(objpfx)tst-initorder2.out): New rule.
44760 * elf/tst-initorder2.c: New file.
44761 * elf/tst-initorder2.exp: New file.
44763 2011-08-22 Andreas Schwab <schwab@redhat.com>
44765 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44767 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44768 dependencies back to end of function.
44770 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44771 $(elfobjdir)/ld.so.
44773 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44775 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44776 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44777 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44778 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44779 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44780 of __vdso_gettimeofday.
44781 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44782 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44784 (_libc_vdso_platform_setup): Remove initialization of
44785 __vdso_gettimeofday and __vdso_time.
44787 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44789 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44790 and fgetc_unlocked.
44791 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44794 * elf/dl-open.c (add_to_global): Report additions to the global scope
44795 for LD_DEBUG=scopes.
44796 (dl_open_worker): Also print scope of newly loaded dependencies.
44797 (_dl_show_scope): Indicate if there is no scope.
44800 * stdio-common/Makefile (tests): Add bug24.
44801 * stdio-common/bug24.c: New file.
44803 2011-08-19 Andreas Jaeger <aj@suse.de>
44806 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44807 non-existant file when using close-on-exec mode.
44809 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44811 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44812 the very first instruction.
44814 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44815 the CFI state in the end.
44816 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44817 inclusion of dl-trampoline.h.
44818 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44820 2011-08-19 Andreas Schwab <schwab@redhat.com>
44822 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44823 expectations for long double.
44825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44826 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44828 2011-08-14 David S. Miller <davem@davemloft.net>
44830 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44831 artificual limit depends upon the system page size.
44833 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44835 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44836 * resolv/Makefile: Define CFLAGS-libresolv.
44838 2011-08-17 Andreas Schwab <schwab@redhat.com>
44840 * nss/makedb.c (compute_tables): Make variables used in nested
44843 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44845 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44846 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44847 if buffer was too small.
44849 * elf/pldd.c (main): Attach to all threads in the process.
44850 Rewrite /proc handling to use *at functions.
44852 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44854 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44855 specifies first scope to show.
44856 (dl_open_worker): Update callers. Move printing scope of new
44857 object to before the relocation.
44858 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44859 * sysdeps/generic/ldsodefs.h: Update declaration.
44861 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44862 string for the scope number.
44864 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44866 * nscd/servicescache.c (cache_addserv): Make sure written is always
44869 2011-08-14 Roland McGrath <roland@hack.frob.com>
44871 * sysdeps/i386/i486/bits/atomic.h
44872 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44873 statement expression, so as to suppress "set but not used" warning.
44874 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44876 * string/strncat.c (STRNCAT): Use prototype definition.
44878 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44879 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44881 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44882 (localedef-modules): Add localedef.
44883 (locale-modules): Add locale.
44885 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44886 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44887 to avoid a warning.
44889 2011-08-14 David S. Miller <davem@davemloft.net>
44891 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44892 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44894 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44896 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44897 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44898 * elf/rtld.c (dl_main): Set l_name of vDSO.
44899 Call _dl_show_scope when DL_DEBUG_SCOPES.
44900 (process_dl_debug): Recognize scopes flag and also set it for all.
44901 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44902 Declare _dl_show_scope.
44904 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44905 (do_dlopen): Pass caller_dlopen to dl_open.
44906 (__libc_dlopen_mode): Initialize caller_dlopen.
44908 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44909 of libc. Make tolower call locale-independent. Optimize a bit by
44910 using isdigit instead of isalnum.
44911 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44913 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44915 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44916 was a dependency or dynamically loaded.
44918 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44920 * intl/l10nflist.c: Allow architecture-specific pop function.
44921 * sysdeps/x86_64/l10nflist.c: New file.
44923 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44926 2011-08-10 Andreas Schwab <schwab@redhat.com>
44928 * include/dirent.h: Add libc_hidden_proto for scandirat and
44929 scandirat64. Don't declare __scandirat64.
44930 * dirent/scandirat.c: Add libc_hidden_def.
44931 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44932 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44934 2011-08-10 David S. Miller <davem@davemloft.net>
44936 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44938 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44939 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44940 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44942 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44944 * Versions.def [libc]: Add GLIBC_2.15.
44945 * dirent/Makefile (routines): Add scandirat and scandirat64.
44946 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44948 * dirent/dirent.h: Declare scandirat and scandirat64.
44949 * dirent/scandirat.c: New file.
44950 * dirent/scandirat64.c: New file.
44951 * sysdeps/wordsize-64/scandirat.c: New file.
44952 * sysdeps/wordsize-64/scandirat64.c: New file.
44953 * dirent/opendir.c: Define opendirat.
44954 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44956 * dirent/scandir64.c: Adjust for scandir.c change.
44957 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44958 __scandirat64, and __scandir_cancel_handler.
44959 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44960 additional parameter and use openat instead of open (outside of ld.so).
44961 Add new __opendir as wrapper around __opendirat.
44962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44963 here without requiring old scandirat implementation.
44965 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44967 * dirent/scandir.c (cancel_handler): Renamed to
44968 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44969 defined. Adjust users.
44970 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44971 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44973 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44975 * string/test-string.h (IMPL): Use __STRING to expand name and then
44978 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44981 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44983 * string/Makefile: Update.
44984 (strop-tests): Append strncat.
44985 * string/test-wcscmp.c: New file.
44986 New comprehensive test for wcscmp.
44987 * string/test-strcmp.c: Update.
44988 (WIDE): New define.
44990 2011-07-22 Andreas Schwab <schwab@redhat.com>
44992 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44995 2011-07-26 Andreas Schwab <schwab@redhat.com>
44997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44998 encoding to ACE if AI_IDN.
45000 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45002 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45003 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45005 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45007 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45008 Fix overflow bug in strncat.
45009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45011 * string/test-strncat.c: Update.
45012 Add new tests for checking overflow bugs.
45014 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45017 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45018 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45019 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45020 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45021 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45022 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45023 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45024 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45026 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45027 (USE_AS_STRCAT): Define.
45028 Add strcat and strncat support.
45029 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45031 2011-07-25 Andreas Schwab <schwab@redhat.com>
45033 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45034 __n bigger than INT_MAX+1.
45035 (__strncmp_g): Likewise.
45037 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45039 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45040 * libio/stido.h: Likewise.
45042 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45047 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45048 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45049 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45050 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45051 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45054 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45059 (_dl_x86_64_save_sse): Likewise.
45061 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45063 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45065 (_dl_x86_64_save_sse): Likewise.
45067 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45069 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45071 2011-07-21 Andreas Schwab <schwab@redhat.com>
45073 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45075 (_dl_x86_64_save_sse): Use correct AVX check.
45077 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45079 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45080 bug in strncpy/strncat.
45081 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45083 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45085 * string/tester.c (test_strcat): Add tests for different alignments
45086 of source and destination.
45087 (test_strncat): Likewise.
45089 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45092 * posix/glob.c (glob): Check passed in values before using them in
45093 expressions to avoid some overflows.
45094 (glob_in_dir): Likewise.
45097 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45098 check for AVX enablement so that we don't crash with old kernels and
45100 * elf/tst-audit4.c: Add same checks here.
45101 * elf/tst-audit6.c: Likewise.
45103 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45105 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45107 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45109 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45111 * po/cs.po: Update from translation team.
45112 * po/bg.po: Likewise.
45114 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45116 * misc/sys/cdefs.h: Add support for const attribute.
45117 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45118 to gnu_dev_{major,minor,makedev} functions.
45120 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45122 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45124 2011-07-20 Andreas Schwab <schwab@redhat.com>
45126 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45129 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45131 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45132 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45133 register in order to avoid conflicts with the soft frame pointer
45134 being held in r11 when necessary.
45135 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45136 (INTERNAL_VSYSCALL_NCS): Likewise.
45138 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45140 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45141 * elf/dl-fini.c (_dl_fini): Adjust caller.
45142 * elf/dl-close.c (_dl_close_worker): Likewise.
45143 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45145 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45147 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45148 "aux_cache->nlibs < 0".
45150 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45151 in the reload-count case.
45153 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45156 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45157 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45158 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45159 * sysdeps/x86_64/multiarch/strcat.S: New file.
45160 * sysdeps/x86_64/multiarch/strncat.S: New file.
45161 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45162 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45163 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45164 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45166 (USE_AS_STRCAT): Define.
45167 Add strcat and strncat support.
45168 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45169 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45170 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45171 * string/strncat.c: Update.
45172 (USE_AS_STRNCAT): Define.
45173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45174 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45176 * sysdeps/x86_64/multiarch/init-arch.h
45177 (bit_Prefer_PMINUB_for_stringop): New.
45178 (index_Prefer_PMINUB_for_stringop): Likewise.
45179 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45180 bit_Prefer_PMINUB_for_stringop.
45182 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45184 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45186 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45187 of casting of buffer.
45188 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45189 buffer32 and buffer64.
45190 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45191 writes instead of casting of buffer.
45192 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45194 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45197 2011-07-19 Andreas Schwab <schwab@redhat.com>
45199 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45201 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45203 * nscd/nscd.c (termination_handler): Don't do anything for a database
45204 if it has not yet been initialized.
45206 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45208 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45210 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45212 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45214 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45216 * po/nl.po: Update from translation team.
45217 * po/sv.po: Likewise.
45219 2011-07-16 Roland McGrath <roland@hack.frob.com>
45221 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45222 now disallowed by GCC.
45224 * configure.in (use-default-link): Default to yes if a test -shared
45225 link meets our qualifications.
45226 * configure: Regenerated.
45228 * config.make.in (output-format): New variable.
45229 * configure.in: Check for ld --print-output-format support.
45230 * configure: Regenerated.
45231 * Makerules ($(common-objpfx)format.lds)
45232 [$(output-format) != unknown]: Just use $(output-format),
45233 instead of the linker-script munging.
45235 2011-07-14 Roland McGrath <roland@hack.frob.com>
45237 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45238 of $(common-objpfx)shlib.lds.
45239 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45241 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45242 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45244 * configure.in (-z relro check): Adjust test code to add a large
45245 writable data section after it.
45246 * configure: Regenerated.
45248 2011-07-11 Roland McGrath <roland@hack.frob.com>
45250 * configure.in (-z relro check): Fix test code to make the variable
45252 * configure: Regenerated.
45254 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45256 * nscd/nscd.h (struct traced_file): Define.
45257 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45258 elements. Add traced_files.
45259 (inotify_fd): Declare.
45260 (register_traced_file): Declare.
45261 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45262 (inotify_fd): Export.
45263 (resolv_conf_descr): Remove.
45264 (nscd_init): Move inotify descriptor creation to main.
45265 Don't register files for notification here.
45266 (register_traced_file): New function.
45267 (invalidate_cache): Don't use reset_res to determine whether to call
45268 res_init, go through the list of registered files.
45269 (main_loop_poll): The inotify descriptors are now stored in the
45270 structures for the traced files.
45271 (main_loop_epoll): Likewise
45272 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45273 to __nss_disable_nscd.
45274 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45275 for a database anymore. Check the records for all the registered
45277 * nss/Makefile (libnss_files-routines): Add files-init.
45278 (libnss_db-routines): Add db-init.
45279 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45280 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45281 * nss/nss_db/db-init.c: New file.
45282 * nss/nss_files/files-init.c: New file.
45283 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45284 __nss_lookup_function.
45285 (__nss_lookup_function): Call nss_load_library.
45286 (nss_load_all_libraries): New function.
45287 (__nss_disable_nscd): Take parameter with callback function for files
45288 to register. Set is_nscd. Load all the DSOs for the NSS modules
45289 used for the cached services.
45290 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45291 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45292 options for features to all the files in nscd.
45294 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45296 2011-07-10 Roland McGrath <roland@hack.frob.com>
45298 * csu/elf-init.c (__libc_csu_init): Comment typo.
45300 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45302 * po/pl.po: Update from translation team.
45303 * po/ja.po: Likewise.
45304 * po/ru.po: Likewise.
45305 * po/ko.po: Likewise.
45306 * po/fr.po: Likewise.
45308 2011-07-09 Roland McGrath <roland@hack.frob.com>
45310 * configure.in (.ctors/.dtors header and trailer check):
45311 Use an empirical test on a built program.
45312 * configure: Regenerated.
45314 * configure.in (-z relro check): Use an empirical test on a built DSO.
45315 Detect, but do not require, on ia64.
45316 * configure: Regenerated.
45318 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45319 Update tests that use readelf to use $READELF instead.
45320 * configure: Regenerated.
45322 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45324 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45325 if the result is not used.
45327 2011-07-05 Andreas Jaeger <aj@suse.de>
45330 * stdlib/tst-strtod.c: Add testcase.
45332 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45334 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45335 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45336 The latter has a higher limit. Take additional parameter to pass to
45338 (__pathconf): Pass file to __statfs_link_max.
45339 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45341 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45345 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45346 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45348 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45349 (__statfs_filesize_max): Likewise.
45350 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45352 2011-07-05 Andreas Jaeger <aj@suse.de>
45354 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45356 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45358 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45360 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45363 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45365 * Makefile (strop-tests): Add strncat.
45366 * string/test-strncat.c: New file.
45368 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45370 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45372 2011-06-21 Andreas Jaeger <aj@suse.de>
45374 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45375 Copy rule from iconvdata/Makefile.
45377 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45380 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45381 but no long options are defined, just return 'W'.
45383 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45386 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45388 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45390 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45392 (innetgr): Likewise.
45394 2011-07-05 Roland McGrath <roland@hack.frob.com>
45396 * config.make.in (install_root): Default to $(DESTDIR).
45398 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45400 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45402 2011-07-02 Roland McGrath <roland@hack.frob.com>
45404 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45406 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45407 containing directory rather than embedding absolute directory names.
45409 * scripts/check-local-headers.sh: Rewritten using awk.
45410 Match by word, not by line. Print error messages for matches.
45411 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45413 * Makerules [shlib-lds-flags empty]:
45414 ($(common-objpfx)libc_pic.opts): New target.
45415 ($(common-objpfx)libc_pic.os.clean): New target.
45416 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45418 * config.make.in (OBJCOPY): New variable.
45419 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45420 * configure: Regenerated.
45422 * config.make.in (use-default-link): New variable.
45423 * configure.in (use_default_link): Grok --with-default-link to set it.
45424 * configure: Regenerated.
45425 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45426 (shlib-lds, shlib-lds-flags): Define to empty.
45428 * Makerules (shlib-lds): New variable.
45429 (shlib-lds-flags): New variable.
45430 (build-shlib, build-moduile, build-module-asneeded): Use it.
45431 ($(common-objpfx)libc.so): Use $(shlib-lds).
45432 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45433 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45435 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45436 DT_FLAGS/DT_FLAGS_1 with zero flags.
45438 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45439 linker script munging.
45441 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45443 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45445 * crypt/sha512.c (sha512_process_block): Perform total addition using
45446 128-bit if possible.
45447 (__sha512_finish_ctx): Likewise.
45448 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45450 * crypt/sha256.c (SWAP64): Define.
45451 (sha256_process_block): Perform total addition using 64-bit if
45453 (__sha256_finish_ctx): Likewise.
45455 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45457 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45459 * nscd/hstcache.c (cache_addhst): Likewise.
45460 * nscd/grpcache.c (cache_addgr): Likewise.
45461 * nscd/aicache.c (addhstaiX): Likewise
45462 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45464 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45466 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45467 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45468 * nscd/hstcache.c (cache_addhst): Likewise.
45469 * nscd/grpcache.c (cache_addgr): Likewise.
45470 * nscd/aicache.c (addhstaiX): Likewise
45472 2011-07-01 Andreas Schwab <schwab@redhat.com>
45474 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45475 domain only when needed.
45477 2011-06-30 Andreas Schwab <schwab@redhat.com>
45479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45480 is always restored.
45482 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45484 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45485 are re-adding the entry.
45486 * nscd/servicescache.c (cache_addserv): Likewise.
45488 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45490 * sysdeps/generic/dl-irel.h: fix protection against multiple
45492 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45494 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45497 * malloc/memusage.sh: Fix quoting in message.
45498 * debug/xtrace.sh: Likewise.
45500 * configure.in: Remove support for --experimental-malloc option, make
45502 * config.make.in: Likewise.
45503 * malloc/Makefile: Likewise.
45505 2011-06-27 Andreas Schwab <schwab@redhat.com>
45507 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45508 two-byte characters.
45510 2011-06-27 Roland McGrath <roland@hack.frob.com>
45512 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45513 AC_CACHE_CHECK invocation.
45514 * configure: Regenerated.
45516 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45518 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45521 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45522 bit from old_res_options.
45524 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45526 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45527 value type for setfct.
45529 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45532 __gettimeofday instead of gettimeofday.
45534 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45536 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45538 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45540 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45542 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45545 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45548 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45549 strcpy-sse2-unaligned strncpy-sse2-unaligned
45550 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45551 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45552 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45553 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45554 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45555 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45557 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45558 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45559 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45560 (STRCPY): Support SSE2 and SSSE3 versions.
45562 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45565 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45566 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45567 kernels which artificially limit size of requests.
45569 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45572 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45573 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45574 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45575 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45576 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45577 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45578 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45579 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45580 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45581 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45582 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45583 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45584 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45585 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45587 Enable unaligned load optimization for Intel Core i3, i5 and i7
45589 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45591 (index_Fast_Unaligned_Load): Define.
45592 (HAS_FAST_UNALIGNED_LOAD): Define.
45594 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45596 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45598 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45602 until it is clear that the information is realy needed.
45603 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45605 2011-06-22 Andreas Schwab <schwab@redhat.com>
45607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45609 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45611 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45612 /sys/devices/system/cpu/online if it is usable.
45614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45615 reading the information from the /proc filesystem to once a second.
45617 2011-06-21 Andreas Jaeger <aj@suse.de>
45619 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45620 NULL after inclusion of kernel headers.
45622 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45624 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45625 calls to internal_setent.
45628 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45629 addresses using gethostbyname4_r ignore IPv4 addresses.
45631 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45632 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45634 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45636 2011-06-20 David S. Miller <davem@davemloft.net>
45638 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45640 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45642 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45643 (elf_irel): Use it.
45644 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45645 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45646 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45647 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45648 * sysdeps/x86_64/dl-irel.h: Likewise.
45650 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45651 * elf/dl-sym.c: Likewise.
45653 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45655 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45656 need to dereference resplen2.
45658 2011-06-14 Andreas Schwab <schwab@redhat.com>
45660 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45662 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45664 * Makeconfig: Define vardbdir and inst_vardbdir.
45665 * nss/Makefile: Add rules to install db-Makefile.
45667 * nss/nss_db/db-XXX.c: Cleanup.
45669 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45670 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45672 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45673 * nss/makedb.c: Implement -g option to specify that value strings
45674 are generated and should not be added to table iterated over for
45676 * nss/nss_db/db-initgroups.c: New file.
45678 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45681 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45682 (internal_getgrouplist): Adjust to name change.
45683 Update use_initgroups_entry if this is not the first call.
45684 * nss/databases.def: Add initgroups entry.
45686 * nss/makedb.c (compute_tables): Check result of multiple hash table
45687 sizes to minimize maximum chain length.
45689 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45691 * Versions.def: Add entry for libnss_db.
45692 * shlib-versions: Likewise.
45693 * nss/Makefile: Add rules to build libnss_db.
45694 * nss/Versions: Add libnss_db information. Organize libnss_files
45696 * nss/db-Makefile: Add gshadow support. Change rules for the new
45697 makedb progra. Some minor improvements to generate smaller files.
45698 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45700 * nss/makedb.c: ...here.
45701 Improve database format to be smaller and require less memory at
45703 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45705 * nss/nss_db/db-netgrp.c: Likewise.
45706 * nss/nss_db/db-open.c: Likewise.
45707 * nss/nss_files/flies-XXX.x: Adjust comments.
45708 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45709 * nss/nss_files/files-grp.c: Likewise.
45710 * nss/nss_files/files-hosts.c: Likewise.
45711 * nss/nss_files/files-network.c: Likewise.
45712 * nss/nss_files/files-proto.c: Likewise.
45713 * nss/nss_files/files-pwd.c: Likewise.
45714 * nss/nss_files/files-rpc.c: Likewise.
45715 * nss/nss_files/files-service.c: Likewise.
45716 * nss/nss_files/files-sgrp.c: Likewise.
45717 * nss/nss_files/files-spwd.c: Likewise.
45718 * nss/nss_db/db-alias.c: Removed.
45719 * nss/nss_db/dummy-db.h: Removed.
45721 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45723 * nss/makedb.c: Rewritten to not use database library.
45724 * nss/Makefile: Update to build new makedb program.
45726 2011-06-14 Andreas Jaeger <aj@suse.de>
45728 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45729 memset declaration.
45731 2011-06-10 Andreas Schwab <schwab@redhat.com>
45733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45736 2011-06-10 Roland McGrath <roland@hack.frob.com>
45738 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45739 * elf/Makefile ($(objpfx)ld.so): Likewise.
45741 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45742 Don't list ld.so twice in dependencies.
45744 * posix/bug-regex31.c: Include <stdlib.h>.
45746 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45748 * nis/nss_compat/compat-spwd.c
45749 (getspent_next_nss_netgr): Remove unused variable.
45750 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45752 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45753 nonmembers" output to use the right array.
45755 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45757 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45759 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45760 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45761 * catgets/gencat.c (read_input_file): Likewise.
45762 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45764 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45765 variable definition inside #if's controlling its use.
45767 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45769 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45771 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45773 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45776 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45778 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45779 * configure: Regenerated.
45781 * Makerules: Revert last change.
45782 * elf/Makefile: Likewise.
45784 2011-06-09 Roland McGrath <roland@hack.frob.com>
45786 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45787 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45788 (reloc-link): Likewise.
45790 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45792 * elf/Makefile: Add rules to build pldd.
45793 * elf/pldd.c: New file.
45794 * elf/pldd-xx.c: New file.
45796 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45798 * version.h: Update for 2.15 development version.
45800 2011-06-07 David S. Miller <davem@davemloft.net>
45802 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45804 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45805 elf_machine_lazy_rel): Likewise.
45806 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45807 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45808 elf_machine_lazy_rel): Likewise.
45809 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45810 dl_hwcap via passed in argument.
45811 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45814 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45816 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45818 2011-06-06 Roland McGrath <roland@hack.frob.com>
45821 * manual/fdl-1.1.texi: New file, verbatim from:
45822 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45823 * manual/lgpl-2.1.texi: New file, verbatim from:
45824 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45825 * manual/Makefile (licenses): New variable, list those new file names.
45827 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45829 * manual/fdl.texi: File removed.
45830 * manual/lesser.texi: File removed.
45831 * manual/libc.texinfo (Copying, Documentation License):
45832 Use new @include file names, put @appendix directive before @include.
45834 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45837 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45838 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45839 (mq_open): Add __NTH.
45841 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45844 Assume Intel Core i3/i5/i7 processor if AVX is available.
45846 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45848 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45851 2011-05-31 Andreas Schwab <schwab@redhat.com>
45853 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45854 memory. Use alloca_account. Fix memory leak when retrying.
45856 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45858 * version.h (RELEASE): Bump for 2.14 release.
45859 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45861 * config.make.in (RANLIB): Remove entry.
45863 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45865 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45866 (libc.pot): Work around missing support for .ksh extension in xgettext.
45869 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45870 if both request failed.
45871 (send_dg): In case of server errors clear resplen or *resplen2.
45874 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45875 when there are multiple maps.
45876 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45877 (_dl_fini): Remove test here.
45879 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45881 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45884 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45885 bit from old_res_options.
45886 (gaih_inet): Likewise.
45889 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45892 * resolv/res_init.c (res_setoptions): Make the code more compact.
45895 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45899 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45901 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45904 * malloc/malloc.h: Declare malloc hook variables as volatile.
45906 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45910 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45911 raise in the comment.
45912 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45913 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45914 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45916 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45919 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45920 grow the buffers more if it already has to be sufficient.
45921 (build_wcs_upper_buffer): Likewise.
45922 * posix/regexec.c (check_matching): Likewise.
45923 (clean_state_log_if_needed): Likewise.
45924 (extend_buffers): Don't enlarge buffers beyond size of the input
45926 Patches mostly by Emil Wojak <emil@wojak.eu>.
45927 * posix/bug-regex32.c: New file.
45928 * posix/Makefile (tests): Add bug-regex32.
45930 * locale/findlocale.c (_nl_find_locale): Return right away if
45931 _nl_explode_name failed.
45932 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45934 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45936 * debug/xtrace.sh: Unify messages.
45937 * malloc/memusage.sh: Likewise.
45940 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45941 time symbol from vDSO. Substitute with vsyscall if not available.
45942 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45945 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45946 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45947 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45948 Add sendmmsg and internal_sendmmsg.
45949 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45950 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45951 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45953 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45954 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45955 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45957 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45960 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45961 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45963 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45967 * iconvdata/Makefile (tests): Add bug-iconv9.
45968 * iconvdata/bug-iconv9.c: New file.
45970 2011-05-27 Andreas Schwab <schwab@redhat.com>
45973 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45975 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45977 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45978 (struct user_regs_struct): Change intcs field back to cs.
45980 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45982 * po/ja.po: Update from translation team.
45984 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45987 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45988 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45990 2011-05-20 Andreas Schwab <schwab@redhat.com>
45992 * stdlib/longlong.h: Update from GCC.
45994 2011-05-23 Andreas Schwab <schwab@redhat.com>
45996 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45998 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45999 Add parameter name.
46000 (__sysconf): Pass it down.
46002 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46005 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46007 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46008 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46009 add in in __libc_use_alloca calls. Adjust callers.
46010 (glob): Use malloc in some situations.
46012 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46013 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46016 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46018 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46019 and CLOCK_BOOTTIME_ALARM.
46022 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46025 * string/_strerror.c (__strerror_r): Print negative errors as signed
46029 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46030 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46031 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46033 * configure.in: Fix typo in redirection and correct removal of test
46034 files in two cases.
46037 * locale/setlocale.c (new_composite_name): Fix test to check for
46038 identical name of all categories.
46041 * libio/filedoalloc.c (local_isatty): New function.
46042 (_IO_file_doallocate): Use local_isatty.
46043 * stdio-common/perror.c (perror): In case a new stream is used
46044 forward the stream error.
46045 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46048 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46053 * include/alloca.h (extend_alloca_account): Define.
46056 * posix/regex.h: Fix comments with documentation of user-accessible
46057 fields after compilation and describe correct free'ing of pattern
46058 after re_compile_pattern.
46059 Patch by Reuben Thomas <rrt@sc3d.org>.
46061 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46063 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46064 and -mno-altivec to prevent the compiler from using Altivec and/or
46065 VSX instructions when the corresponding registers are not available.
46067 2011-05-19 Andreas Schwab <schwab@redhat.com>
46069 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46071 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46073 * libio/freopen.c (freopen): Use __dup2, not dup2.
46074 * libio/freopen64.c (freopen64): Likewise.
46076 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46079 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46080 * math/Makefile (tests): Add test-powl.
46081 (CFLAGS-test-powl.c): Define.
46082 * math/test-powl.c: New file.
46084 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46086 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46088 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46091 * iconvdata/gb18030.c: Update to GB18020-2005.
46093 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46095 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46096 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46097 Patch by Aharon Robbins <arnold@skeeve.com>.
46100 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46104 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46105 through underflows.
46108 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46109 point to strings before performing equality test for error_one_per_line
46113 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46116 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46117 (struct user_fpregs_struct): Avoid __uint*_t types.
46120 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46121 symbol info. Use it instead of calling _dl_addr locally.
46122 (lock_and_info): New function.
46123 (tr_freehook): Call lock_and_info and pass symbol info as additional
46124 parameter to tr_where.
46125 (tr_mallochook): Likewise.
46126 (tr_reallochook): Likewise.
46127 (tr_memalignhook): Likewise.
46129 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46130 used and couldn't be at all thread-safe.
46132 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46134 * libio/freopen.c (freopen): Don't close old file descriptor
46135 before the new one is opened. Instead dup the new file descriptor
46136 to the old one after the new stream is created.
46137 * libio/freopen64.c (freopen64): Likewise.
46138 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46139 * libio/fileops.c (_IO_new_file_close_it): Handle new
46140 _IO_FLAGS2_NOCLOSE flag.
46141 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46142 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46143 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46144 _IO_FLAGS2_NOCLOSE flag.
46145 * include/unistd.h: Add hidden_proto for dup3.
46146 Define __have_dup3.
46147 * io/dup3.c: Define hidden symbol.
46148 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46151 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46152 when an incomplete long option is used.
46153 * posix/tst-getopt_long1.c: New file.
46154 * posix/Makefile (tests): Add tst-getopt_long1.
46157 * scripts/config.guess: Update from autoconf-2.68.
46158 * scripts/config.sub: Likewise.
46161 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46163 (has_cpuclock): ...this. New function.
46164 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46165 macro here based on has_cpuclock code.
46168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46169 First byte (not low byte) is now always NUL.
46170 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46173 Use non-cancelable interfaces.
46176 * locale/iso-639.def: Add entry for Sorani.
46179 * include/stdlib.h: Move include protection to the right place.
46180 Define abort_msg_s. Declare __abort_msg with it.
46181 * stdlib/abort.c (__abort_msg): Adjust type.
46182 * assert/assert.c (__assert_fail_base): New function. Majority
46183 of code from __assert_fail. Allocate memory for __abort_msg with
46185 (__assert_fail): Now call __assert_fail_base.
46186 * assert/assert-perr.c: Remove bulk of implementation. Use
46187 __assert_fail_base.
46188 * include/assert.hL Declare __assert_fail_base.
46189 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46191 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46193 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46197 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46198 until all modules are registered in the DTV.
46199 * elf/Makefile: Add rules to build and run tst-tls19.
46200 * elf/tst-tls19.c: New file.
46201 * elf/tst-tls19mod1.c: New file.
46202 * elf/tst-tls19mod2.c: New file.
46203 * elf/tst-tls19mod3.c: New file.
46204 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46207 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46211 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46212 two-byte sequence errors.
46213 * iconvdata/Makefile (tests): Add bug-iconv8.
46214 * iconvdata/bug-iconv8.c: New file.
46217 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46220 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46223 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46224 (dummy_getcfa): New function.
46225 (init): Get _Unwind_GetCFA address, use dummy if not found.
46226 (backtrace_helper): In recursion check, also check whether CFA changes.
46227 (__backtrace): Completely initialize arg.
46229 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46230 storing incomplete byte sequence in state object. Avoid testing for
46231 guaranteed too small input if we know there is enough data available.
46233 2011-05-11 Andreas Schwab <schwab@redhat.com>
46235 * Makeconfig (+link-pie): Indent.
46236 * Rules (binaries-pie): Define if $(have-fpie) and
46238 (binaries-shared): Also filter out $(binaries-pie).
46239 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46240 * nscd/Makefile (others-pie): Add nscd.
46241 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46242 ($(objpfx)nscd): Remove command override.
46243 * login/Makefile (others-pie): Add pt_chown.
46244 ($(objpfx)pt_chown): Remove command override.
46245 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46246 remove command overrides.
46248 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46250 * libio/tst_putwc.c: Fix error messages.
46253 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46254 currently writing and seek to current position when not.
46255 * libio/Makefile (tests): Add bug-fclose1.
46256 * libio/bug-fclose1.c: New file.
46258 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46261 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46262 don't set DF_1_NODELETE here.
46263 (do_lookup_x): When entering new entry test for copy relocation
46264 and if necessary set DF_1_NODELETE flag.
46265 * elf/tst-unique4.cc: New file.
46266 * elf/tst-unique4.h: New file.
46267 * elf/tst-unique4lib.cc: New file.
46268 * elf/Makefile: Add rules to build and run tst-unique4.
46269 Patch by Piotr Bury <pbury@goahead.com>.
46271 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46274 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46277 * misc/mntent_r.c (addmntent): Flush the stream after the output
46280 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46281 (is_trusted_path_normalize): Skip initial colon. Append slash
46282 to empty buffer. Duplicate is_trusted_path code but allow
46283 constructed patch to be prefix.
46284 (is_dst): Allow $ORIGIN followed by /.
46285 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46286 Correct testing of result of is_trusted_path_normalize
46287 (decompose_rpath): Fix warning.
46289 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46292 * grp/initgroups.c (internal_getgrouplist): When we found the service
46293 list through the initgroups entry in nsswitch.conf do not always
46294 continue on a successful lookup. Don't always use the
46295 __nss_group_database value if it is set.
46296 * nss/nsswitch.conf (initgroups): Change action for successful db
46297 lookup to continue for compatibility.
46299 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46302 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46304 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46306 * iconvdata/tst-tables.sh: Likewise.
46307 * iconvdata/cp770.c: New file.
46308 * iconvdata/cp771.c: New file.
46309 * iconvdata/cp772.c: New file.
46310 * iconvdata/cp773.c: New file.
46311 * iconvdata/cp774.c: New file.
46312 * iconvdata/testdata/CP770: New file.
46313 * iconvdata/testdata/CP770..UTF8: New file.
46314 * iconvdata/testdata/CP771: New file.
46315 * iconvdata/testdata/CP771..UTF8: New file.
46316 * iconvdata/testdata/CP772: New file.
46317 * iconvdata/testdata/CP772..UTF8: New file.
46318 * iconvdata/testdata/CP773: New file.
46319 * iconvdata/testdata/CP773..UTF8: New file.
46320 * iconvdata/testdata/CP774: New file.
46321 * iconvdata/testdata/CP774..UTF8: New file.
46323 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46325 * iconvdata/gen-8bit-gap.sh: Likewise.
46326 * iconvdata/gen-8bit.sh: Likewise.
46328 * locale/iso-639.def: Add ary entry.
46331 * locale/C-translit.h.in: Add U20A1 transliteration.
46334 * locale/iso-639.def: Add wae entry.
46335 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46338 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46342 * locale/C-translit.h.in: Add entry for U20B9.
46343 Patch by pravin.d.s@gmail.com.
46345 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46348 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46349 ENAMETOOLONG use generic getcwd.
46350 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46351 in rtld. Use *stat64.
46352 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46353 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46354 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46355 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46356 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46357 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46358 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46359 __fstatat64 macros.
46360 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46361 * dirent/rewinddir.c: Add libc_hidden_def.
46362 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46363 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46365 * include/dirent.h (__alloc_dir): Add flags parameter.
46366 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46367 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46369 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46370 from fdopendir if O_CLOEXEC is already set.
46372 2011-03-15 Alan Modra <amodra@gmail.com>
46374 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46375 l_tls_firstbyte_offset non-zero. Save padding offset in
46376 l_tls_firstbyte_offset for later use.
46377 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46378 freeing static tls block.
46380 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46382 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46383 where #ifdef was intended. The intent is to prevent ARG_MAX from
46384 being defined by the kernel headers.
46386 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46389 * resolv/resolv.h: Define RES_NOTLDQUERY.
46390 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46391 no-tld-query and set RES_NOTLDQUERY.
46392 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46393 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46394 modern BIND to search name as TLD unless forbidden.
46396 2011-05-07 Petr Baudis <pasky@suse.cz>
46397 Ulrich Drepper <drepper@gmail.com>
46400 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46401 (is_trusted_path): ...to here.
46402 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46403 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46404 using is_trusted_path_normalize() in setuid scripts.
46406 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46408 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46409 __BEGIN/__END_DECLS.
46411 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46413 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46414 NSS_STATUS_NOTFOUND if no record was found.
46416 2011-05-05 Andreas Schwab <schwab@redhat.com>
46418 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46419 (headers-not-in-tirpc): Remove rpc/netdb.h
46420 * resolv/netdb.h: Revert last change.
46422 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46424 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46425 circular dependency between libgcc.a and libc.a.
46427 2011-05-05 Andreas Schwab <schwab@redhat.com>
46429 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46430 * nis/Makefile: Don't install rpcsvc/*.
46431 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46432 instead of <rpc/types.h>.
46433 (MAXHOSTNAMELEN): Define.
46435 2011-05-03 Andreas Schwab <schwab@redhat.com>
46437 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46439 2011-04-28 Maciej Babinski <mbabinski@google.com>
46442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46443 gethostbyname4_r when IPv6 results are possible.
46445 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46448 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46449 _PC_PIPE_BUF handling.
46451 2011-04-30 Bruno Haible <bruno@clisp.org>
46454 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46455 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46457 * inet/getnameinfo.c (getnameinfo): Likewise.
46459 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46461 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46462 to groups setting in database lookup.
46463 * nss/nsswitch.conf: Add initgroups entry.
46465 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46468 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46470 Patch by Eric Blake <eblake@redhat.com>.
46472 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46474 * sunrpc/Makefile (need-export-routines): Add svc_run.
46475 (routines): Remove svc_run.
46476 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46477 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46478 * sunrpc/svc_run.c (svc_run): Likewise.
46479 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46481 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46483 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46484 problem in reallocation in last patch.
46486 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46488 * sunrpc/Makefile: Move inclusion of Rules.
46490 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46492 * nss/nss_files/files-initgroups.c: New file.
46493 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46494 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46495 _nss_files_initgroups_dyn.
46497 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46499 * elf/elf.h (R_ARM_IRELATIVE): Define.
46501 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46503 * po/ru.po: Update from translation team.
46505 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46507 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46510 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46513 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46514 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46515 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46517 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46519 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46521 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46523 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46524 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46525 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46527 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46530 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46532 * stdlib/bug-getcontext.c: New file.
46533 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46535 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46537 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46538 instructions into .machine "z9-109".
46539 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46540 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46542 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46544 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46545 between environment variables and auxiliary vector.
46547 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46549 * Makefile: Add rules to build linkobj/libc.so.
46550 * include/libc-symbols.h: Define libc_hidden_nolink.
46551 * include/rpc/auth.h: Mark functions which are to be hidden.
46552 * include/rpc/auth_des.h: Likewise.
46553 * include/rpc/auth_unix.h: Likewise.
46554 * include/rpc/clnt.h: Likewise.
46555 * include/rpc/des_crypt.h: Likewise.
46556 * include/rpc/key_prot.h: Likewise.
46557 * include/rpc/pmap_clnt.h: Likewise.
46558 * include/rpc/pmap_prot.h: Likewise.
46559 * include/rpc/pmap_rmt.h: Likewise.
46560 * include/rpc/rpc_msg.h: Likewise.
46561 * include/rpc/svc.h: Likewise.
46562 * include/rpc/svc_auth.h: Likewise.
46563 * include/rpc/xdr.h: Likewise.
46564 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46565 * nss/Makefile: Likewise.
46566 * sunrpc/Makefile: Don't install headers. Build library with normal
46567 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46568 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46569 for the compat linking library. Remove use of INTDEF/INTUSE.
46570 * sunrpc/auth_none.c: Likewise.
46571 * sunrpc/auth_unix.c: Likewise.
46572 * sunrpc/authdes_prot.c: Likewise.
46573 * sunrpc/authuxprot.c: Likewise.
46574 * sunrpc/clnt_gen.c: Likewise.
46575 * sunrpc/clnt_perr.c: Likewise.
46576 * sunrpc/clnt_raw.c: Likewise.
46577 * sunrpc/clnt_simp.c: Likewise.
46578 * sunrpc/clnt_tcp.c: Likewise.
46579 * sunrpc/clnt_udp.c: Likewise.
46580 * sunrpc/clnt_unix.c: Likewise.
46581 * sunrpc/des_crypt.c: Likewise.
46582 * sunrpc/des_soft.c: Likewise.
46583 * sunrpc/get_myaddr.c: Likewise.
46584 * sunrpc/key_call.c: Likewise.
46585 * sunrpc/key_prot.c: Likewise.
46586 * sunrpc/netname.c: Likewise.
46587 * sunrpc/pm_getmaps.c: Likewise.
46588 * sunrpc/pm_getport.c: Likewise.
46589 * sunrpc/pmap_clnt.c: Likewise.
46590 * sunrpc/pmap_prot.c: Likewise.
46591 * sunrpc/pmap_prot2.c: Likewise.
46592 * sunrpc/pmap_rmt.c: Likewise.
46593 * sunrpc/publickey.c: Likewise.
46594 * sunrpc/rpc_cmsg.c: Likewise.
46595 * sunrpc/rpc_common.c: Likewise.
46596 * sunrpc/rpc_dtable.c: Likewise.
46597 * sunrpc/rpc_prot.c: Likewise.
46598 * sunrpc/rpc_thread.c: Likewise.
46599 * sunrpc/rtime.c: Likewise.
46600 * sunrpc/svc.c: Likewise.
46601 * sunrpc/svc_auth.c: Likewise.
46602 * sunrpc/svc_authux.c: Likewise.
46603 * sunrpc/svc_raw.c: Likewise.
46604 * sunrpc/svc_run.c: Likewise.
46605 * sunrpc/svc_simple.c: Likewise.
46606 * sunrpc/svc_tcp.c: Likewise.
46607 * sunrpc/svc_udp.c: Likewise.
46608 * sunrpc/svc_unix.c: Likewise.
46609 * sunrpc/svcauth_des.c: Likewise.
46610 * sunrpc/xcrypt.c: Likewise.
46611 * sunrpc/xdr.c: Likewise.
46612 * sunrpc/xdr_array.c: Likewise.
46613 * sunrpc/xdr_float.c: Likewise.
46614 * sunrpc/xdr_intXX_t.c: Likewise.
46615 * sunrpc/xdr_mem.c: Likewise.
46616 * sunrpc/xdr_rec.c: Likewise.
46617 * sunrpc/xdr_ref.c: Likewise.
46618 * sunrpc/xdr_sizeof.c: Likewise.
46619 * sunrpc/xdr_stdio.c: Likewise.
46621 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46624 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46625 * sysdeps/ia64/dl-tls.h: Likewise.
46626 * sysdeps/powerpc/dl-tls.h: Likewise.
46627 * sysdeps/s390/dl-tls.h: Likewise.
46628 * sysdeps/sh/dl-tls.h: Likewise.
46629 * sysdeps/sparc/dl-tls.h: Likewise.
46630 * sysdeps/x86_64/dl-tls.h: Likewise.
46631 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46633 2011-03-14 Andreas Schwab <schwab@redhat.com>
46635 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46636 rpath element also skip the following colon.
46637 (expand_dynamic_string_token): Add is_path parameter and pass
46638 down to DL_DST_REQUIRED and _dl_dst_substitute.
46639 (decompose_rpath): Call expand_dynamic_string_token with
46640 non-zero is_path. Ignore empty rpaths.
46641 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46644 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46649 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46652 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46653 Patch by Filipe David Manana <fdmanana@apache.org>.
46655 2011-04-07 Andreas Schwab <schwab@redhat.com>
46657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46658 Maintain aligned stack.
46659 (CHECK_RSP): Remove unused macro.
46661 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46663 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46664 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46666 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46668 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46670 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46672 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46675 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46676 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46677 * sysdeps/x86_64/memmove.c: New file.
46678 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46679 (memcpy): Renamed to ...
46680 (__new_memcpy): This.
46681 (memcpy): Provide GLIBC_2_14 memcpy.
46682 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46683 (memcpy): Provide GLIBC_2_2_5 memcpy.
46685 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46688 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46690 2011-03-30 Andreas Schwab <schwab@redhat.com>
46692 * misc/syncfs.c: New file.
46693 * misc/Makefile (routines): Add syncfs.
46694 * posix/unistd.h: Declare syncfs.
46695 * sysdeps/unix/syscalls.list: Add syncfs.
46697 2011-04-01 Andreas Schwab <schwab@redhat.com>
46699 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46701 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46702 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46706 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46709 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46711 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46712 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46713 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46715 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46717 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46719 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46720 sync_file_range.c with -fexceptions.
46721 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46722 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46723 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46724 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46725 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46726 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46728 sync_file_range as cancellation point
46729 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46730 now a wrapper around __call_sync_file_range with cancellation handling.
46731 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46732 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46733 function name to __call_sync_file_range.
46734 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46735 Add call_sync_file_range.
46737 2011-04-01 Andreas Schwab <schwab@redhat.com>
46739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46742 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46744 * iconv/iconv.h: Fix typo in comment.
46745 * io/fcntl.h: Likewise.
46746 * libio/stdio.h: Likewise.
46747 * posix/spawn.h: Likewise.
46748 * posix/unistd.h: Likewise.
46749 * stdlib/stdlib.h: Likewise.
46750 * time/time.h: Likewise.
46751 * wcsmbs/wchar.h: Likewise.
46753 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46754 open_by_handle): Add.
46755 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46756 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46757 Augment a few comments.
46758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46762 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46763 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46766 * io/fcntl.h (AT_EMPTY_PATH): Define.
46768 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46770 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46771 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46772 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46774 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46775 * Versions.def: Add GLIBC_2.14.
46776 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46779 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46781 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46783 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46785 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46788 * string/test-strncmp.c (do_page_test): New function.
46789 (check2): Likewise.
46790 (test_main): Call check2.
46791 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46793 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46796 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46797 Handle cache information in CPU leaf 4.
46798 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46800 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46803 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46804 character representation.
46805 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46807 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46809 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46810 END(__isnan) to END(__isnanf) to match function entry point/label
46811 EALIGN(__isnanf,...).
46813 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46815 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46817 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46820 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46821 copy from the symbol referenced in the relocation to initialize the
46823 Patch by Piotr Bury <pbury@goahead.com>.
46824 * elf/Makefile: Add rules to build and tst-unique3.
46825 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46826 * elf/tst-unique3.cc: New file.
46827 * elf/tst-unique3.h: New file.
46828 * elf/tst-unique3lib.cc: New file.
46829 * elf/tst-unique3lib2.cc: New file.
46831 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46833 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46835 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46836 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46839 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46841 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46842 to-be-loaded object along a path to loader is ld.so.
46844 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46845 Ulrich Drepper <drepper@gmail.com>
46847 * sysdeps/x86_64/memset.S: After aligning destination, code
46848 branches to different locations depending on the value of
46849 misalignment, when multiarch is enabled. Fix this.
46851 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46853 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46854 Set _x86_64_preferred_memory_instruction for AMD processsors.
46855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46856 Set bit_Prefer_SSE_for_memop for AMD processors.
46858 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46860 * libio/fmemopen.c (fmemopen): Optimize a bit.
46862 2011-03-03 Andreas Schwab <schwab@redhat.com>
46864 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46866 2011-03-03 Roland McGrath <roland@redhat.com>
46868 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46870 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46872 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46873 __bzero_ultra1 instead of __memset_ultra1.
46875 2011-02-23 Andreas Schwab <schwab@redhat.com>
46876 Ulrich Drepper <drepper@gmail.com>
46879 * include/link.h (struct link_map): Add l_orig_initfini.
46880 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46881 returning unsuccessfully.
46882 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46883 close of a file loaded at startup, restore the original l_initfini
46885 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46886 list, store the pointer.
46887 * elf/Makefile ($(objpfx)noload-mem): New rule.
46888 (noload-ENV): Define.
46889 (tests): Add $(objpfx)noload-mem.
46890 * elf/noload.c: Include <memcheck.h>.
46891 (main): Call mtrace. Close all opened handles.
46893 2011-02-17 Andreas Schwab <schwab@redhat.com>
46896 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46897 dependencies are missing.
46899 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46901 Fix __if_freereq crash: Unlike the generic version which uses free,
46903 * sysdeps/mach/hurd/ifreq.h: New file.
46905 2011-01-27 Petr Baudis <pasky@suse.cz>
46906 Ulrich Drepper <drepper@gmail.com>
46909 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46910 to extend_alloca().
46911 * stdio-common/bug23.c: New file.
46912 * stdio-common/Makefile (tests): Add bug23.
46914 2010-09-28 Andreas Schwab <schwab@redhat.com>
46915 Ulrich Drepper <drepper@gmail.com>
46918 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46919 before performing relro protection. At old place add assertion
46920 to make sure nothing changed.
46922 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46923 Glauber de Oliveira Costa <glommer@gmail.com>
46925 * elf/elf.h: Add new ARM TLS relocs.
46927 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46930 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46932 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46934 * sysdeps/wordsize-64/tst-writev.c: New file.
46936 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46938 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46939 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46940 insns in _dl_start to prevent a TOC reference before relocs are
46943 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46946 * Makeconfig: Remove RANLIB definition.
46947 * Makerules: Don't use RANLIB.
46948 * aclocal.m4: Remove ranlib test.
46949 * configure.in: No need to check for ranlib.
46950 * elf/rtld-Rules: Don't use RANLIB.
46952 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46954 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46956 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46957 inclusion protection macro.
46959 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46960 SIGRTMIN and SIGRTMAX and print information in that case only when
46961 SIGRTMIN is defined.
46963 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46965 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46966 arginfo fn returning -1.
46968 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46969 and thousands string is zero terminated.
46971 2011-02-03 Andreas Schwab <schwab@redhat.com>
46973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46974 sysdeps/unix/sysv/linux/bits/socket.h.
46976 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46978 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46979 (__CPU_COUNT): Remove old macros.
46980 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46981 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46982 (__CPU_ALLOC, __CPU_FREE): Add macros.
46983 (__sched_cpualloc, __sched_cpufree): Add declarations.
46985 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46987 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46988 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46989 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46990 (readdhstai): Return value of addhstaiX call.
46991 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46992 (addgrbyX): Return value returned by cache_addgr.
46993 (readdgrbyname): Return value returned by addgrbyX.
46994 (readdgrbygid): Likewise.
46995 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46996 (addpwbyX): Return value returned by cache_addpw.
46997 (readdpwbyname): Return value returned by addhstbyX.
46998 (readdpwbyuid): Likewise.
46999 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47000 (addservbyX): Return value returned by cache_addserv.
47001 (readdservbyname): Return value returned by addservbyX:
47002 (readdservbyport): Likewise.
47003 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47004 (addhstbyX): Return value returned by cache_addhst.
47005 (readdhstbyname): Return value returned by addhstbyX.
47006 (readdhstbyaddr): Likewise.
47007 (readdhstbynamev6): Likewise.
47008 (readdhstbyaddrv6): Likewise.
47009 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47010 (readdinitgroups): Return value returned by addinitgroupsX.
47011 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47012 (prune_cache): Keep track of timeout value of re-added entries.
47013 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47014 * nscd/nscd.h: Adjust prototypes of readd* functions.
47016 2011-02-04 Roland McGrath <roland@redhat.com>
47018 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47019 (nis_stats): Likewise.
47020 * nis/nis_modify.c (nis_modify): Likewise.
47021 * nis/nis_remove.c (nis_remove): Likewise.
47022 * nis/nis_add.c (nis_add): Likewise.
47024 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47026 * posix/fnmatch_loop.c: Add some consts.
47028 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47030 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47033 * config.make.in (config-cflags-novzeroupper): Define.
47034 * configure.in: Substitute libc_cv_cc_novzeroupper.
47035 * elf/Makefile (AVX-CFLAGS): Define.
47036 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47037 (CFLAGS-tst-auditmod4a.c): Likewise.
47038 (CFLAGS-tst-auditmod4b.c): Likewise.
47039 (CFLAGS-tst-auditmod6b.c): Likewise.
47040 (CFLAGS-tst-auditmod6c.c): Likewise.
47041 (CFLAGS-tst-auditmod7b.c): Likewise.
47042 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47044 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47046 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47047 function to the callback.
47048 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47050 2011-02-02 Andreas Schwab <schwab@redhat.com>
47052 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47055 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47058 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47060 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47062 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47065 * elf/Makefile: Add rules to build and run new test.
47066 * elf/tst-initorder.c: New file.
47067 * elf/tst-initorder.exp: New file.
47068 * elf/tst-initordera1.c: New file.
47069 * elf/tst-initordera2.c: New file.
47070 * elf/tst-initordera3.c: New file.
47071 * elf/tst-initordera4.c: New file.
47072 * elf/tst-initorderb1.c: New file.
47073 * elf/tst-initorderb2.c: New file.
47074 * elf/tst-order-a1.c: New file.
47075 * elf/tst-order-a2.c: New file.
47076 * elf/tst-order-a3.c: New file.
47077 * elf/tst-order-a4.c: New file.
47078 * elf/tst-order-b1.c: New file.
47079 * elf/tst-order-b2.c: New file.
47080 * elf/tst-order-main.c: New file.
47081 New test case by George Gensure <werkt0@gmail.com>.
47083 2010-10-01 Andreas Schwab <schwab@redhat.com>
47085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47086 decoding ACE if AI_CANONIDN.
47088 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47090 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47092 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47094 * version.h (RELEASE): Bump for 2.13 release.
47095 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47097 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47099 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47101 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47102 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47103 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47104 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47105 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47106 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47108 * posix/getconf.c: Update copyright year.
47109 * catgets/gencat.c: Likewise.
47110 * csu/version.c: Likewise.
47111 * debug/catchsegv.sh: Likewise.
47112 * debug/xtrace.sh: Likewise.
47113 * elf/ldconfig.c: Likewise.
47114 * elf/ldd.bash.in: Likewise.
47115 * elf/sprof.c (print_version): Likewise.
47116 * iconv/iconv_prog.c: Likewise.
47117 * iconv/iconvconfig.c: Likewise.
47118 * locale/programs/locale.c: Likewise.
47119 * locale/programs/localedef.c: Likewise.
47120 * malloc/memusage.sh: Likewise.
47121 * malloc/mtrace.pl: Likewise.
47122 * nscd/nscd.c (print_version): Likewise.
47123 * nss/getent.c: Likewise.
47125 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47126 PF_CAIF, and PF_ALG.
47127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47129 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47131 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47132 (modules-names): Use them.
47133 (ifunc-test-modules, ifunc-pie-tests): Define.
47134 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47135 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47136 (test-extras): Likewise.
47137 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47138 $(compile-command.c).
47139 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47140 (all-built-dso): Define.
47141 (check-textrel.out, check-execstack.out): Depend on it.
47143 * configure.in: Don't override --enable-multi-arch.
47145 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47148 * nscd/hstcache.c (tryagain): Define.
47149 (cache_addhst): Return tryagain not notfound for temporary errors.
47150 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47153 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47156 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47157 to make the syscall.
47158 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47161 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47162 and fall back to matching as normal character if the string ends before
47163 the matching ']' is found. This is what POSIX requires.
47164 * posix/testfnm.c: Adjust test result.
47165 * posix/globtest.sh: Adjust test result. Add new test.
47166 * posix/tst-fnmatch.input: Likewise.
47167 * posix/tst-fnmatch2.c: Add new test.
47169 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47171 * elf/Makefile (check-execstack): Revert last change. Depend on
47173 (check-execstack.h): New target.
47174 (generated): Add check-execstack.h.
47175 * elf/check-execstack.c: Include "check-execstack.h".
47176 (main): Revert last change.
47177 (handle_file): Return zero if GNU_STACK is absent and
47178 DEFAULT_STACK_PERMS doesn't include PF_X.
47180 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47182 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47183 in child fails because the descriptor is already closed.
47184 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47185 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47186 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47189 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47193 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47194 temporary buffer used to handle multi lookups locally.
47195 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47197 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47199 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47202 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47204 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47205 alignment for SSE2.
47207 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47210 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47211 characters. When rounding increased number of integer digits recompute
47213 * stdio-common/tst-grouping.c: New file.
47214 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47216 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47218 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47219 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47221 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47223 * bits/select.h: Likewise.
47225 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47227 * po/ja.po: Update from translation team.
47229 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47232 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47233 implementation just like for lxstat, fxstatat, et al.
47235 2010-12-27 Jim Meyering <meyering@redhat.com>
47238 * posix/regexec.c (build_trtable): Return failure indication upon
47239 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47241 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47244 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47245 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47246 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47247 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47250 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47253 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47254 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47256 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47258 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47259 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47260 script has SORT_BY_INIT_PRIORITY.
47261 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47262 NO_CTORS_DTORS_SECTIONS is defined.
47263 * elf/soinit.c: Likewise.
47264 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47265 NO_CTORS_DTORS_SECTIONS is defined.
47266 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47267 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47268 * sysdeps/sh/init-first.c: Likewise.
47269 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47271 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47273 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47274 always use the slow path.
47276 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47278 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47279 similar rule which adds the sysdep directories to the header search in
47280 order to pick up the correct platform stackinfo.h.
47281 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47282 perform test if it is, otherwise return successfully without testing.
47283 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47284 DEFAULT_STACK_PERMS define in stackinfo.h.
47285 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47286 defined in stackinfo.h.
47287 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47288 DEFAULT_STACK_PERMS defined in stackinfo.h.
47289 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47290 * sysdeps/ia64/stackinfo.h: Likewise.
47291 * sysdeps/s390/stackinfo.h: Likewise.
47292 * sysdeps/sh/stackinfo.h: Likewise.
47293 * sysdeps/sparc/stackinfo.h: Likewise.
47294 * sysdeps/x86_64/stackinfo.h: Likewise.
47295 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47296 PF_X for powerpc64. Retain PF_X for powerpc32.
47298 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47300 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47302 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47303 GETDENTS_64BIT_ALIGNED.
47305 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47307 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47309 2010-12-10 Andreas Schwab <schwab@redhat.com>
47311 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47314 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47315 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47317 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47318 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47320 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47323 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47326 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47328 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47330 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47332 * po/it.po: Update from translation team.
47334 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47336 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47339 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47341 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47343 2010-11-24 Andreas Schwab <schwab@redhat.com>
47345 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47347 (gaih_getanswer_slice): Likewise.
47349 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47351 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47353 2010-05-31 Petr Baudis <pasky@suse.cz>
47356 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47357 silently even in the chroot mode.
47359 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47361 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47362 last patch a bit. Pretty printing
47364 2010-05-31 Petr Baudis <pasky@suse.cz>
47367 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47368 initialization of skip_initgroups_dyn.
47370 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47372 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47373 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47375 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47377 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47379 2010-11-11 Andreas Schwab <schwab@redhat.com>
47381 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47382 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47383 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47384 ($(objpfx)tst-fnmatch-mem): New rule.
47385 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47386 * posix/tst-fnmatch.c (main): Call mtrace.
47388 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47391 Support Intel processor model 6 and model 0x2c.
47393 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47395 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47398 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47401 * string/test-strncasecmp.c (check_result): New function.
47402 (do_one_test): Use it.
47403 (check1): New function.
47404 (test_main): Use it.
47405 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47406 Support strcasecmp and strncasecmp.
47408 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47411 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47412 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47414 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47416 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47420 * sysdeps/x86_64/multiarch/bzero.S: New file.
47421 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47422 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47423 * sysdeps/x86_64/multiarch/memset.S: New file.
47424 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47426 Set bit_Prefer_SSE_for_memop for Intel processors.
47427 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47429 (index_Prefer_SSE_for_memop): Define.
47430 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47432 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47435 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47437 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47440 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47441 (__x86_64_raw_data_cache_size_half): Likewise.
47442 (__x86_64_raw_shared_cache_size): Likewise.
47443 (__x86_64_raw_shared_cache_size_half): Likewise.
47445 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47446 (__x86_64_raw_data_cache_size_half): Likewise.
47447 (__x86_64_raw_shared_cache_size): Likewise.
47448 (__x86_64_raw_shared_cache_size_half): Likewise.
47449 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47450 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47451 and __x86_64_raw_shared_cache_size_half. Round
47452 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47453 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47454 to multiple of 256 bytes.
47456 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47459 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47460 of inacessible symlinks. Verify result of symlink before returning it.
47461 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47462 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47464 2010-10-28 Erich Ritz <erichritz@gmail.com>
47466 * math/math.h (isinf): Fix typo in comment.
47468 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47470 * po/da.po: Update from translation team.
47472 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47474 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47475 is added to the list.
47477 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47478 Ulrich Drepper <drepper@gmail.com>
47480 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47481 the global list here. Move code to...
47482 (_dl_add_to_namespace_list): ...here. New function.
47483 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47484 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47485 * elf/dl-load.c (lose): Don't remove the element from the list.
47486 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47487 (_dl_map_object): Likewise.
47489 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47492 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47493 into all bytes of SSE register.
47494 Patch by Richard Li <richardpku@gmail.com>.
47496 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47499 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47502 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47504 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47505 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47506 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47507 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47512 2010-10-22 Andreas Schwab <schwab@redhat.com>
47514 * include/dlfcn.h (__RTLD_SECURE): Define.
47515 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47516 mode & __RTLD_SECURE instead.
47517 (open_path): Rename preloaded parameter to secure.
47518 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47519 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47520 * elf/dl-deps.c (openaux): Likewise.
47521 * elf/rtld.c (struct map_args): Remove is_preloaded.
47522 (map_doit): Don't use it.
47523 (dl_main): Likewise.
47524 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47525 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47527 2010-09-09 Andreas Schwab <schwab@redhat.com>
47529 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47530 (sysd-rules-targets): Remove duplicates.
47531 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47532 rtld-%.$o dependency.
47534 2010-10-18 Andreas Schwab <schwab@redhat.com>
47536 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47537 _dl_map_object do it.
47539 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47541 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47542 fast fma builtins, define the macros in the C99 standard.
47543 (FP_FAST_FMAF): Likewise.
47544 (FP_FAST_FMAL): Likewise.
47545 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47547 * bits/mathdef.h: Update copyright year.
47548 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47550 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47552 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47553 builtins, define the macros in the C99 standard.
47554 (FP_FAST_FMAF): Likewise.
47555 (FP_FAST_FMAL): Likewise.
47556 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47558 (FP_FAST_FMAF): Likewise.
47560 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47563 * math/libm-test.inc (fma_test): Some new testcases.
47564 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47565 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47566 y and infinite z. Do multiplication by C already in long double.
47567 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47569 y and infinite z. Do bitwise or of inexact bit into u.d.
47570 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47571 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47572 * sysdeps/i386/fpu/s_fma.S: Removed.
47573 * sysdeps/i386/fpu/s_fmal.S: Removed.
47575 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47578 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47579 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47580 computation is not scheduled after fetestexcept. Fix value
47581 of minimum denormal long double.
47583 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47586 * math/libm-test.inc (fma_test): Add some more tests.
47587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47590 2010-10-15 Andreas Schwab <schwab@redhat.com>
47592 * scripts/data/localplt-s390-linux-gnu.data: New file.
47593 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47595 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47598 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47599 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47601 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47603 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47605 if one of x and y is very large and the other is subnormal.
47606 * sysdeps/s390/fpu/s_fmaf.c: New file.
47607 * sysdeps/s390/fpu/s_fma.c: New file.
47608 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47609 * sysdeps/powerpc/fpu/s_fma.S: New file.
47610 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47611 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47612 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47614 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47617 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47619 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47620 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47621 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47622 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47623 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47624 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47625 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47627 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47630 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47631 * posix/bug-regex31.input: Add test case.
47633 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47635 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47636 * posix/bug-regex31.input: New file.
47639 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47640 (parse_sub_exp): Fix last change, use postorder.
47642 * posix/bug-regex31.c: New file.
47643 * posix/Makefile: Add rules to build and run bug-regex31.
47645 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47648 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47651 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47652 to have entries in sys_siglist.
47655 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47658 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47661 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47662 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47663 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47664 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47665 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47666 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47667 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47668 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47669 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47670 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47671 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47672 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47673 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47674 * math/ftestexcept.c (fetestexcept): Likewise.
47675 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47676 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47677 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47678 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47679 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47680 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47681 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47683 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47686 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47689 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47691 * string/bug-strstr1.c: New file.
47692 * string/Makefile: Add rules to build and run bug-strstr1.
47694 2010-10-05 Eric Blake <eblake@redhat.com>
47697 * string/str-two-way.h (two_way_long_needle): Always clear memory
47698 when skipping input due to the shift table.
47700 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47703 * malloc/mcheck.c: Handle large requests.
47706 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47707 for strncmp and strncasecmp.
47708 * string/stratcliff.c: Add tests for strcmp and strncmp.
47709 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47711 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47713 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47716 2010-09-30 Andreas Jaeger <aj@suse.de>
47718 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47719 (CGROUP_SUPER_MAGIC): Define.
47720 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47721 Handle btrfs and cgroup file systems.
47722 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47725 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47727 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47728 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47730 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47733 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47734 trying to locate the ELF header.
47736 2010-09-27 Andreas Schwab <schwab@redhat.com>
47739 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47740 Mask out sign-bit copies when constructing f_fsid.
47742 2010-09-24 Petr Baudis <pasky@suse.cz>
47744 * debug/stack_chk_fail_local.c: Add missing licence exception.
47745 * debug/warning-nop.c: Likewise.
47747 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47749 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47750 implementing getdents64 using getdents syscall, set d_type if
47751 __ASSUME_GETDENTS32_D_TYPE.
47753 2010-09-16 Andreas Schwab <schwab@redhat.com>
47755 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47756 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47758 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47761 * posix/unistd.h: Undo change of feature selection for ftruncate from
47764 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47766 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47769 2010-09-20 Andreas Schwab <schwab@redhat.com>
47771 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47773 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47775 2010-09-14 Andreas Schwab <schwab@redhat.com>
47777 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47778 variables after CHECK_SP call.
47779 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47781 2010-09-13 Andreas Schwab <schwab@redhat.com>
47782 Ulrich Drepper <drepper@redhat.com>
47784 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47785 re-relocationg ld.so.
47786 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47787 _dl_init_paths call.
47788 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47791 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47793 * resolv/res_init.c (__res_vinit): Count the default server we added.
47795 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47796 Ulrich Drepper <drepper@redhat.com>
47799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47800 (____longjmp_chk): Use %ebx for saving value across system call.
47803 2010-09-06 Andreas Schwab <schwab@redhat.com>
47805 * manual/Makefile: Don't mix pattern rules with normal rules.
47807 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47809 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47811 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47812 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47813 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47814 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47815 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47818 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47821 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47822 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47824 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47826 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47827 * sysdeps/x86_64/addmul_1.S: Likewise.
47828 * sysdeps/x86_64/lshift.S: Likewise.
47829 * sysdeps/x86_64/mul_1.S: Likewise.
47830 * sysdeps/x86_64/rshift.S: Likewise.
47831 * sysdeps/x86_64/sub_n.S: Likewise.
47832 * sysdeps/x86_64/submul_1.S: Likewise.
47834 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47836 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47837 Define __sched_param instead of SCHED_* and sched_param when
47838 <bits/sched.h> is included with __need_schedparam defined.
47839 * bits/sched.h [__need_schedparam]
47840 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47841 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47842 (__defined_schedparam): Define to 1.
47843 (__sched_param): New structure, identical to sched_param.
47844 (__need_schedparam): Undefine.
47846 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47848 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47849 (epoll_create1): Declare.
47851 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47853 2010-08-31 Andreas Schwab <schwab@redhat.com>
47856 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47857 shifting retval into place.
47859 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47861 * nis/rpcsvc/nis.h: Update copyright notice.
47862 * nis/rpcsvc/nis.x: Likewise.
47863 * nis/rpcsvc/nis_callback.h: Likewise.
47864 * nis/rpcsvc/nis_callback.x: Likewise.
47865 * nis/rpcsvc/nis_object.x: Likewise.
47866 * nis/rpcsvc/nis_tags.h: Likewise.
47867 * nis/rpcsvc/yp.h: Likewise.
47868 * nis/rpcsvc/yp.x: Likewise.
47869 * nis/rpcsvc/ypupd.h: Likewise.
47870 * nis/yp_xdr.c: Likewise.
47871 * nis/ypupdate_xdr.c: Likewise.
47873 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47874 mainly the body of pmap_getport. Add parameters to specify timeouts.
47875 (pmap_getport): Use __libc_rpc_getport.
47876 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47877 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47878 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47880 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47885 2010-08-27 Roland McGrath <roland@redhat.com>
47887 * sysdeps/i386/i686/multiarch/Makefile
47888 (CFLAGS-varshift.c): New variable.
47890 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47892 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47893 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47895 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47897 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47899 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47901 * sysdeps/x86_64/strlen.S: Unroll the loop.
47902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47903 strlen-sse2 strlen-sse2-bsf.
47904 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47905 __strlen_no_bsf if bit_Slow_BSF is set.
47906 (__strlen_sse42): Removed.
47907 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47908 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47910 2010-08-25 Roland McGrath <roland@redhat.com>
47912 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47913 * sysdeps/x86_64/multiarch/varshift.c: New file.
47914 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47915 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47916 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47917 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47919 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47922 strlen-sse2 strlen-sse2-bsf.
47923 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47924 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47925 (__strlen_sse2): Removed.
47926 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47927 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47929 bit_Slow_BSF for Atom.
47930 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47931 (index_Slow_BSF): Define.
47932 (HAS_SLOW_BSF): Define.
47934 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47937 * resolv/res_init.c (__res_vinit): When no server address at all
47938 is given default to loopback.
47940 2010-08-24 Roland McGrath <roland@redhat.com>
47942 * configure.in: Remove config-name.h generation.
47943 * configure: Regenerated.
47944 * config-name.in: File removed.
47945 * scripts/config-uname.sh: New file.
47946 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47947 ($(objdir)config-name.h): New target.
47949 * sunrpc/rpc_parse.h: Avoid nested comment.
47951 2010-08-24 Richard Henderson <rth@redhat.com>
47952 Ulrich Drepper <drepper@redhat.com>
47953 H.J. Lu <hongjiu.lu@intel.com>
47955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47957 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47958 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47959 _mm_alignr_epi8 with _mm_loadu_si128.
47960 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47961 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47962 (__m128i_shift_right): Removed.
47963 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47964 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47965 * sysdeps/x86_64/multiarch/varshift.h: New file.
47966 * sysdeps/x86_64/multiarch/varshift.S: New file.
47968 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47970 * configure.in: Move assembler checks to before sysdep dir checking.
47972 2010-08-20 Petr Baudis <pasky@suse.cz>
47974 * LICENSES: Sync the sunrpc license.
47976 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47978 * sunrpc/auth_des.c: Update copyright notice once again.
47979 * sunrpc/auth_none.c: Likewise.
47980 * sunrpc/auth_unix.c: Likewise.
47981 * sunrpc/authdes_prot.c: Likewise.
47982 * sunrpc/authuxprot.c: Likewise.
47983 * sunrpc/bindrsvprt.c: Likewise.
47984 * sunrpc/clnt_gen.c: Likewise.
47985 * sunrpc/clnt_perr.c: Likewise.
47986 * sunrpc/clnt_raw.c: Likewise.
47987 * sunrpc/clnt_simp.c: Likewise.
47988 * sunrpc/clnt_tcp.c: Likewise.
47989 * sunrpc/clnt_udp.c: Likewise.
47990 * sunrpc/clnt_unix.c: Likewise.
47991 * sunrpc/des_crypt.c: Likewise.
47992 * sunrpc/des_soft.c: Likewise.
47993 * sunrpc/get_myaddr.c: Likewise.
47994 * sunrpc/getrpcport.c: Likewise.
47995 * sunrpc/key_call.c: Likewise.
47996 * sunrpc/key_prot.c: Likewise.
47997 * sunrpc/openchild.c: Likewise.
47998 * sunrpc/pm_getmaps.c: Likewise.
47999 * sunrpc/pm_getport.c: Likewise.
48000 * sunrpc/pmap_clnt.c: Likewise.
48001 * sunrpc/pmap_prot.c: Likewise.
48002 * sunrpc/pmap_prot2.c: Likewise.
48003 * sunrpc/pmap_rmt.c: Likewise.
48004 * sunrpc/rpc/auth.h: Likewise.
48005 * sunrpc/rpc/auth_unix.h: Likewise.
48006 * sunrpc/rpc/clnt.h: Likewise.
48007 * sunrpc/rpc/des_crypt.h: Likewise.
48008 * sunrpc/rpc/key_prot.h: Likewise.
48009 * sunrpc/rpc/netdb.h: Likewise.
48010 * sunrpc/rpc/pmap_clnt.h: Likewise.
48011 * sunrpc/rpc/pmap_prot.h: Likewise.
48012 * sunrpc/rpc/pmap_rmt.h: Likewise.
48013 * sunrpc/rpc/rpc.h: Likewise.
48014 * sunrpc/rpc/rpc_des.h: Likewise.
48015 * sunrpc/rpc/rpc_msg.h: Likewise.
48016 * sunrpc/rpc/svc.h: Likewise.
48017 * sunrpc/rpc/svc_auth.h: Likewise.
48018 * sunrpc/rpc/types.h: Likewise.
48019 * sunrpc/rpc/xdr.h: Likewise.
48020 * sunrpc/rpc_clntout.c: Likewise.
48021 * sunrpc/rpc_cmsg.c: Likewise.
48022 * sunrpc/rpc_common.c: Likewise.
48023 * sunrpc/rpc_cout.c: Likewise.
48024 * sunrpc/rpc_dtable.c: Likewise.
48025 * sunrpc/rpc_hout.c: Likewise.
48026 * sunrpc/rpc_main.c: Likewise.
48027 * sunrpc/rpc_parse.c: Likewise.
48028 * sunrpc/rpc_parse.h: Likewise.
48029 * sunrpc/rpc_prot.c: Likewise.
48030 * sunrpc/rpc_sample.c: Likewise.
48031 * sunrpc/rpc_scan.c: Likewise.
48032 * sunrpc/rpc_scan.h: Likewise.
48033 * sunrpc/rpc_svcout.c: Likewise.
48034 * sunrpc/rpc_tblout.c: Likewise.
48035 * sunrpc/rpc_util.c: Likewise.
48036 * sunrpc/rpc_util.h: Likewise.
48037 * sunrpc/rpcinfo.c: Likewise.
48038 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48039 * sunrpc/rpcsvc/key_prot.x: Likewise.
48040 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48041 * sunrpc/rpcsvc/mount.x: Likewise.
48042 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48043 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48044 * sunrpc/rpcsvc/rex.x: Likewise.
48045 * sunrpc/rpcsvc/rstat.x: Likewise.
48046 * sunrpc/rpcsvc/rusers.x: Likewise.
48047 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48048 * sunrpc/rpcsvc/spray.x: Likewise.
48049 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48050 * sunrpc/rtime.c: Likewise.
48051 * sunrpc/svc.c: Likewise.
48052 * sunrpc/svc_auth.c: Likewise.
48053 * sunrpc/svc_authux.c: Likewise.
48054 * sunrpc/svc_raw.c: Likewise.
48055 * sunrpc/svc_run.c: Likewise.
48056 * sunrpc/svc_simple.c: Likewise.
48057 * sunrpc/svc_tcp.c: Likewise.
48058 * sunrpc/svc_udp.c: Likewise.
48059 * sunrpc/svc_unix.c: Likewise.
48060 * sunrpc/svcauth_des.c: Likewise.
48061 * sunrpc/xcrypt.c: Likewise.
48062 * sunrpc/xdr.c: Likewise.
48063 * sunrpc/xdr_array.c: Likewise.
48064 * sunrpc/xdr_float.c: Likewise.
48065 * sunrpc/xdr_mem.c: Likewise.
48066 * sunrpc/xdr_rec.c: Likewise.
48067 * sunrpc/xdr_ref.c: Likewise.
48068 * sunrpc/xdr_sizeof.c: Likewise.
48069 * sunrpc/xdr_stdio.c: Likewise.
48071 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48074 2010-08-19 Andreas Schwab <schwab@redhat.com>
48076 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48078 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48080 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48081 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48082 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48083 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48084 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48085 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48086 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48087 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48088 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48089 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48090 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48091 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48092 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48093 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48095 2010-07-26 Anton Blanchard <anton@samba.org>
48097 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48098 * malloc/arena.c (heap_trim): Likewise.
48100 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48102 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48104 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48105 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48107 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48109 * sysdeps/i386/elf/Makefile: New file.
48111 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48113 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48114 from fanotify_init.
48115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48118 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48120 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48122 * sysdeps/multiarch/strcmp.S: Likewise.
48124 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48126 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48127 strncase_l-nonascii.
48128 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48129 Add strncase_l-ssse3.
48130 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48131 * sysdeps/x86_64/strcmp.S: Likewise.
48132 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48133 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48134 * sysdeps/x86_64/strncase.S: New file.
48135 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48136 * sysdeps/x86_64/strncase_l.S: New file.
48137 * string/Makefile (strop-tests): Add strncasecmp.
48138 * string/test-strncasecmp.c: New file.
48140 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48143 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48144 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48146 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48148 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48150 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48152 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48153 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48154 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48156 2010-05-01 Alan Modra <amodra@gmail.com>
48158 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48159 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48160 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48161 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48162 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48163 tidying. Don't tail-call __sigjmp_save for static lib.
48164 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48166 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48167 (CALL_MCOUNT): Add eh info, and nop after bl.
48168 (TAIL_CALL_SYSCALL_ERROR): New macro.
48169 (PSEUDO_RET): Use it.
48170 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48171 Correct save location of integer regs and cr.
48172 (_dl_profile_resolve): Correct cr save location. Delete nops
48173 after bl when SHARED. Reduce cfi size a little by better
48174 placement of cfi directives.
48175 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48176 make a stack frame. Instead use parm save area as a temp.
48177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48178 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48180 Don't make a stack frame for parent, use parm save area.
48181 Increase child stack frame to 112 bytes. Don't save unused reg,
48182 and adjust reg usage. Set up cfi on error recovery and
48183 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48185 (__makecontext): Add dummy nop after jump to exit.
48186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48187 Use correct parm save area and cr save, reduce stack frame.
48188 Correct cfi for possible PSEUDO_RET frame setup.
48189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48190 Branch to local label emitted by PSEUDO_RET rather than
48193 2010-08-12 Andreas Schwab <schwab@redhat.com>
48196 * locale/programs/locale.c (print_assignment): New function.
48197 (show_locale_vars): Use it.
48199 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48201 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48203 (struct statfs64): Likewise.
48204 (_STATFS_F_FLAGS): Define.
48205 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48206 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48207 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48208 (ST_VALID): Define locally.
48209 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48210 __statvfs_getflags, use the provided value.
48211 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48212 __ASSUME_STATFS_F_FLAGS.
48214 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48216 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48217 Add sys/fanotify.h.
48218 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48219 fanotify_mask for GLIBC_2.13.
48220 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48221 fanotify_init and fanotify_mark.
48222 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48223 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48225 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48227 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48228 prlimit64 for GLIBC_2.13.
48229 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48231 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48234 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48235 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48236 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48237 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48239 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48242 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48243 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48245 * nss/Makefile: Add rules to build and run tst-nss-test1.
48246 * shlib-versions: Add entry for libnss_test1.
48247 * nss/nss_test1.c: New file.
48248 * nss/tst-nss-test1.c: New file.
48250 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48251 (__nss_configure_lookup): Set appropriate entry in
48252 __nss_configure_lookup to true.
48253 * nss/nsswitch.h: Define enum with indeces of databases in
48254 databases and __nss_database_custom arrays. Declare
48255 __nss_database_custom.
48256 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48257 to avoid using nscd when custom rules are installed.
48258 * nss/getXXbyYY_r.c: Likewise.
48259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48261 * nss/nss_files/files-parse.c: Whitespace fixes.
48263 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48266 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48267 * posix/fnmatch_loop.c: Likewise.
48269 2010-07-17 Andi Kleen <ak@linux.intel.com>
48271 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48272 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48273 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48274 * Versions.def [GLIBC_2.13]: Add.
48276 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48278 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48279 Also fail if tpwd after pwuid call is NULL.
48281 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48283 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48284 when converting to ms.
48286 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48288 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48289 EOPNOTSUPP errors with ENOTTY.
48290 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48291 EOPNOTSUPP errors with ENOTTY.
48293 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48295 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48296 Add strcasecmp_l-ssse3.
48297 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48299 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48300 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48301 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48303 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48305 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48307 * string/Makefile (strop-tests): Add strcasecmp.
48308 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48309 strcasecmp_l-nonascii.
48310 (gen-as-const-headers): Add locale-defines.sym.
48311 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48312 * sysdeps/x86_64/strcasecmp.S: New file.
48313 * sysdeps/x86_64/strcasecmp_l.S: New file.
48314 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48315 * sysdeps/x86_64/locale-defines.sym: New file.
48316 * string/test-strcasecmp.c: New file.
48318 * string/test-strcasestr.c: Test both ends of the range of characters.
48319 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48321 2010-07-29 Roland McGrath <roland@redhat.com>
48324 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48326 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48328 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48331 2010-07-27 Andreas Schwab <schwab@redhat.com>
48333 * manual/memory.texi (Malloc Tunable Parameters): Document
48336 2010-07-26 Roland McGrath <roland@redhat.com>
48339 * configure.in (-fgnu89-inline check): Set and substitute
48340 gnu89_inline, not libc_cv_gnu89_inline.
48341 * configure: Regenerated.
48342 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48344 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48346 * string/test-strnlen.c: New file.
48347 * string/Makefile (strop-tests): Add strnlen.
48348 * string/tester.c (test_strnlen): Add a few more test cases.
48349 * string/tst-strlen.c: Better error reporting.
48351 * sysdeps/x86_64/strnlen.S: New file.
48353 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48355 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48356 lower-latency instructions.
48358 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48360 * string/test-strcasestr.c: New file.
48361 * string/test-strstr.c: New file.
48362 * string/Makefile (strop-tests): Add strstr and strcasestr.
48363 * string/str-two-way.h: Don't undefine MAX.
48364 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48366 2010-07-21 Andreas Schwab <schwab@redhat.com>
48368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48369 strcasestr-nonascii.
48370 (CFLAGS-strcasestr-nonascii.c): Define.
48371 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48372 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48373 Remove unused attribute.
48375 2010-07-20 Roland McGrath <roland@redhat.com>
48377 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48378 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48379 ld.so.cache was broken. With it, there is no way to disable dsocaps
48380 like LD_HWCAP_MASK can disable hwcaps.
48382 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48384 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48386 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48388 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48389 call in strcasestr.
48390 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48391 __strcasestr_sse42_nonascii.
48392 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48393 strcasestr-nonascii.c.
48394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48396 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48398 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48399 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48400 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48401 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48403 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48405 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48408 2010-07-06 Andreas Schwab <schwab@redhat.com>
48411 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48414 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48416 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48417 _PC_PIPE_BUF using F_GETPIPE_SZ.
48419 2010-07-05 Roland McGrath <roland@redhat.com>
48421 * manual/arith.texi (Rounding Functions): Fix rint description
48422 implicit in round description.
48424 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48426 * elf/Makefile: Fix linking for a few tests to make recent linker
48429 2010-06-30 Andreas Schwab <schwab@redhat.com>
48431 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48432 $(common-objpfx)libc_nonshared.a.
48434 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48436 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48437 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48438 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48439 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48440 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48441 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48442 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48443 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48458 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48459 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48460 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48461 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48462 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48463 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48464 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48465 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48466 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48467 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48468 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48469 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48485 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48487 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48488 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48489 * string/memmove.c (memmove): Renamed to ...
48490 (MEMMOVE): ...this. Default to memmove.
48491 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48492 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48495 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48496 mempcpy-ssse3-back memmove-ssse3-back.
48497 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48498 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48499 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48500 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48501 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48502 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48503 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48504 * sysdeps/x86_64/multiarch/memmove.c: New file.
48505 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48506 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48507 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48508 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48509 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48512 (index_Fast_Copy_Backward): Define.
48513 (HAS_ARCH_FEATURE): Define.
48514 (HAS_FAST_REP_STRING): Define.
48515 (HAS_FAST_COPY_BACKWARD): Define.
48517 2010-06-21 Andreas Schwab <schwab@redhat.com>
48519 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48520 Restore proper fallback handling.
48522 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48525 * posix/group_member.c (__group_member): Correct checking loop.
48527 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48528 OOM in getpwuid_r correctly. Return error number when the caller
48529 should return, otherwise -1.
48530 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48531 call returning > 0 value.
48532 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48534 2010-06-07 Andreas Schwab <schwab@redhat.com>
48536 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48537 libc_nonshared.a from targets in modules-names.
48539 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48541 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48544 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48546 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48547 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48548 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48549 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48551 2010-06-02 Andreas Schwab <schwab@redhat.com>
48553 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48555 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48557 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48559 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48560 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48563 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48564 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48566 2010-06-14 Roland McGrath <roland@redhat.com>
48568 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48570 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48572 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48573 __REDIRECT followed by __THROW.
48574 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48575 * posix/getopt.h (getopt): Likewise.
48577 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48579 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48580 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48581 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48583 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48584 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48586 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48588 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48590 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48594 Properly check family and model.
48596 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48598 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48600 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48602 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48604 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48606 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48609 2010-05-19 Andreas Schwab <schwab@redhat.com>
48611 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48614 2010-05-21 Andreas Schwab <schwab@redhat.com>
48616 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48617 and internal_recvmmsg.
48618 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48619 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48620 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48621 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48623 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48624 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48625 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48627 2010-05-20 Andreas Schwab <schwab@redhat.com>
48629 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48631 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48633 POWER7 optimizations.
48634 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48635 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48637 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48639 * version.h: Update for 2.13 development version.
48641 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48643 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48644 exceptions. Return 0.
48646 2010-05-07 Roland McGrath <roland@redhat.com>
48648 * elf/ldconfig.c (main): Add a const.
48650 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48652 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48653 (args_options): Add no-idn option.
48654 (ahosts_keys_int): Add idn_flags to ai_flags.
48655 (parse_option): Handle 'i' option to clear idn_flags.
48657 * malloc/malloc.c (_int_free): Possible race in the most recently
48658 added check. Only act on the data if no current modification
48661 See ChangeLog.17 for earlier changes.