1 2014-07-03 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4 thing) with "ifeq ($(subdir),rt)".
6 2014-07-03 Richard Henderson <rth@redhat.com>
8 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13 (math_force_eval): New.
15 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
18 * sysdeps/alpha/fpu/s_round.c: Remove file.
19 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
25 (_dl_start, print_statistics): Likewise.
26 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34 (HP_SMALL_TIMING_AVAIL): Define.
35 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37 (HP_SMALL_TIMING_AVAIL): Define.
38 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41 * sysdeps/aarch64/hp-timing.h: New file.
43 * sysdeps/generic/hp-timing.h: Remove dead comment.
44 * sysdeps/generic/hp-timing-common.h: New file.
45 * sysdeps/alpha/hp-timing.h: Include it.
46 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47 * sysdeps/i386/i686/hp-timing.h: Likewise.
48 * sysdeps/ia64/hp-timing.h: Likewise.
49 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
54 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
57 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
58 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
59 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
60 * elf/rtld.c (_dl_start_final): Likewise.
61 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
62 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
63 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
64 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
65 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
66 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
67 (HP_TIMING_DIFF_INIT): Remove.
68 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
69 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
70 (HP_TIMING_DIFF_INIT): Remove.
71 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
72 * sysdeps/i386/i686/hp-timing.c: Remove file.
73 * sysdeps/x86_64/hp-timing.c: Remove file.
74 * sysdeps/ia64/hp-timing.c: Remove file.
75 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
76 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
77 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
78 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
80 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
81 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
82 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
83 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
84 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
85 (HP_TIMING_ACCUM): Remove.
86 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
87 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
88 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
90 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
91 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
92 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
93 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
94 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
95 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
96 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
97 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
99 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
101 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
103 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
105 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
107 Sync up with gettext.
108 * intl/loadmsgcat.c: Define O_BINARY if not defined.
109 [_MSC_VER]: Include malloc.h
110 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
111 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
112 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
113 TEMP_FAILURE_RETRY. Cast return of alloca.
114 [!_LIBC] Call gl_rwlock_init.
115 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
117 2014-07-02 Roland McGrath <roland@hack.frob.com>
119 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
120 before checking its value.
122 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
124 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
126 * debug/memcpy_chk.c: Don't include pagecopy.h.
127 * debug/mempcpy_chk.c: Likewise.
128 * string/memcpy.c: Likewise.
129 * string/memmove.c: Likewise.
130 * sysdeps/powerpc/memmove.c: Likewise.
131 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
132 definition of PAGE_COPY_FWD_MAYBE here...
133 * sysdeps/generic/pagecopy.h: ... from here.
134 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
136 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
137 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
139 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
143 (__libc_ifunc_impl_list): Likewise.
144 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
145 multiarch strcat for PPC64.
146 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
147 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
149 2014-07-02 Roland McGrath <roland@hack.frob.com>
151 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
153 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
155 * intl/loadmsgcat.c: Remove declaration of
156 get_sysdep_segment_value.
157 (get_sysdep_segment_value): Use ISO C style.
158 (_nl_load_domain): Use ISO C style. Get rid of redundant
159 semicolon. Fix typo and formatting in comment.
160 (_nl_unload_domain): Use ISO C style.
162 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
164 2014-07-02 Will Newton <will.newton@linaro.org>
166 * malloc/obstack.c: Merge from gnulib master.
167 [HAVE_CONFIG_H]: Remove conditional code.
168 [!_LIBC]: Include config.h.
169 [!ELIDE_CODE]: Don't include inttypes.h, include
170 stdint.h unconditionally.
171 (print_and_abort): Mark as _Noreturn.
172 (_obstack_allocated_p): Mark as __attribute_pure__.
173 (obstack_free): Rename to __obstack_free.
174 [!__attribute__]: Remove conditional code.
175 * malloc/obstack.h: Merge from gnulib master.
176 [__cplusplus]: Move conditional down.
177 [!__attribute_pure__]: Define __attribute_pure__ here
178 if it is not already defined.
179 (_obstack_memory_used): Mark as __attribute_pure__.
180 [!__obstack_free]: Define as obstack_free.
181 [__GNUC__]: Remove check for ancient NeXT gcc.
183 2014-07-02 Will Newton <will.newton@linaro.org>
184 Paul Eggert <eggert@cs.ucla.edu>
186 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
188 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
190 * resolv/gethnamaddr.c: Add comment warning that the file is
193 2014-07-01 Carlos O'Donell <carlos@redhat.com>
195 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
198 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
199 entry for aio_cancel and aio_cancel64.
200 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
201 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
202 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
203 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
204 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
205 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
206 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
207 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
208 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
209 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
210 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
211 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
212 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
214 2014-07-01 Roland McGrath <roland@hack.frob.com>
216 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
217 * nptl/pthread_mutex_lock.c: Likewise.
218 * nptl/pthread_mutex_timedlock.c: Likewise.
219 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
221 2014-07-01 Richard henderson <rth@redhat.com>
223 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
224 (__isnan, __isnanl): Remove.
225 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
227 * sysdeps/alpha/fpu/libm-test-ulps: Update.
229 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
231 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
233 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
235 * resolv/nss_dns/dns-host.c (getanswer_r)
236 [MULTI_PTRS_ARE_ALIASES]: Remove code.
238 2014-07-01 Joseph Myers <joseph@codesourcery.com>
240 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
241 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
243 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
244 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
246 2014-07-01 Roland McGrath <roland@hack.frob.com>
248 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
249 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
251 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
252 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
254 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
255 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
257 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
258 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
260 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
261 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
262 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
263 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
265 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
266 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
267 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
268 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
269 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
271 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
273 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
274 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
275 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
276 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
277 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
278 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
279 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
280 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
281 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
282 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
283 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
284 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
285 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
286 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
287 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
288 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
289 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
290 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
291 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
292 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
294 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
295 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
296 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
297 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
298 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
299 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
300 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
301 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
303 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
305 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
306 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
307 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
310 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
314 2014-06-30 Joseph Myers <joseph@codesourcery.com>
316 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
317 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
319 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
321 * sysdeps/arm/libm-test-ulps: Regenerated.
323 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
324 Roland McGrath <roland@hack.frob.com>
326 * test-skeleton.c (signal_handler): Kill the whole process group
327 before killing the child individually.
328 (main): Report any failure on `setpgid'.
330 2014-06-30 Roland McGrath <roland@hack.frob.com>
332 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
333 from _TLS_H to _ARM_NPTL_TLS_H.
334 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
335 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
337 2014-06-30 Joseph Myers <joseph@codesourcery.com>
340 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
341 (__expm1l): Return argument unchanged when small but not
344 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
346 (_FP_UNPACK_RAW_1_P): Likewise.
347 (_FP_PACK_RAW_1): Likewise.
348 (_FP_PACK_RAW_1_P): Likewise.
349 (_FP_MUL_MEAT_1_wide): Likewise.
350 (_FP_MUL_MEAT_DW_1_hard): Likewise.
351 (_FP_MUL_MEAT_1_hard): Likewise.
352 (_FP_DIV_MEAT_1_imm): Likewise.
353 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
354 (_FP_DIV_MEAT_1_udiv): Likewise.
355 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
356 (_FP_UNPACK_RAW_2): Likewise.
357 (_FP_UNPACK_RAW_2_P): Likewise.
358 (_FP_PACK_RAW_2): Likewise.
359 (_FP_PACK_RAW_2_P): Likewise.
360 (_FP_MUL_MEAT_DW_2_wide): Likewise.
361 (_FP_MUL_MEAT_2_wide): Likewise.
362 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
363 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
364 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
365 (_FP_MUL_MEAT_2_gmp): Likewise.
366 (_FP_DIV_MEAT_2_udiv): Likewise.
367 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
368 (_FP_FRAC_SRL_4): Likewise.
369 (_FP_FRAC_SRST_4): Likewise.
370 (_FP_FRAC_SRS_4): Likewise.
371 (_FP_UNPACK_RAW_4): Likewise.
372 (_FP_UNPACK_RAW_4_P): Likewise.
373 (_FP_PACK_RAW_4): Likewise.
374 (_FP_PACK_RAW_4_P): Likewise.
375 (_FP_MUL_MEAT_DW_4_wide): Likewise.
376 (_FP_MUL_MEAT_4_wide): Likewise.
377 (_FP_MUL_MEAT_4_gmp): Likewise.
378 (umul_ppppmnnn): Likewise.
379 (_FP_DIV_MEAT_4_udiv): Likewise.
380 (__FP_FRAC_ADD_4): Likewise.
381 (__FP_FRAC_SUB_3): Likewise.
382 (__FP_FRAC_SUB_4): Likewise.
383 (__FP_FRAC_DEC_3): Likewise.
384 (__FP_FRAC_DEC_4): Likewise.
385 (__FP_FRAC_ADDI_4): Likewise.
386 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
387 (_FP_FRAC_SRL_8): Likewise.
388 (_FP_FRAC_SRS_8): Likewise.
390 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
392 (FP_UNPACK_RAW_EP): Likewise.
393 (FP_PACK_RAW_E): Likewise.
394 (FP_PACK_RAW_EP): Likewise.
395 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
396 (_FP_ISSIGNAN): Likewise.
397 (_FP_ADD_INTERNAL): Likewise.
400 (_FP_SQRT): Likewise.
401 (_FP_TO_INT): Likewise.
402 (_FP_FROM_INT): Likewise.
403 (FP_EXTEND): Likewise.
404 (_FP_DIV_MEAT_N_loop): Likewise.
406 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
408 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
411 2014-06-29 Joseph Myers <joseph@codesourcery.com>
414 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
415 result with correct sign in case of exponents that produce
416 overflow except for X very close to 1.
418 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
420 mktime: merge #if/#ifdef usage from glibc
421 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
422 as that works with both Glibc's and Gnulib's style.
423 See thread starting at Siddhesh Poyarekar's bug report at:
424 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
426 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
428 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
429 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
430 * sysdeps/tile/tilegx/memmove.c: Remove file.
432 2014-06-27 Joseph Myers <joseph@codesourcery.com>
434 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
436 * scripts/soversions.awk: Do not handle or generate ABI lines.
437 * shlib-versions: Remove ABI entries.
438 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
439 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
441 2014-06-27 Roland McGrath <roland@hack.frob.com>
443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
444 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
445 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
446 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
447 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
448 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
449 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
451 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
454 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
455 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
456 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
458 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
459 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
460 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
462 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
464 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
467 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
469 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
471 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
474 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
479 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
482 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
484 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
486 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
488 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
489 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
491 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
493 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
494 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
496 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
497 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
499 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
500 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
501 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
502 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
504 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
506 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
507 Identical file removed.
508 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
510 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
511 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
512 Identical file removed.
513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
514 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
517 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
519 Identical file removed.
520 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
521 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
522 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
523 Identical file removed.
524 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
525 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
526 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
527 Identical file removed.
528 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
529 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
530 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
531 Identical file removed.
532 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
534 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
535 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
536 Identical file removed.
537 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
539 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
540 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
541 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
542 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
543 Identical file removed.
544 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
546 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
548 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
549 Identical file removed.
550 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
552 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
553 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
554 Identical file removed.
555 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
557 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
559 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
560 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
561 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
562 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
564 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
565 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
566 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
568 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
569 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
570 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
571 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
572 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
574 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
577 * nscd/nscd.c (monitor_child): Return exit status of child
578 instead of return value from wait syscall.
580 2014-06-27 Joseph Myers <joseph@codesourcery.com>
582 * configure.ac (libc_commonpagesize): Remove variable.
583 (libc_relro_required): Likewise.
584 (libc_cv_z_relro): Remove configure test.
585 * configure: Regenerated.
586 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
588 (libc_relro_required): Likewise.
589 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
590 (libc_relro_required): Likewise.
591 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
592 (libc_relro_required): Likewise.
593 * sysdeps/arm/preconfigure: Regenerated.
594 * sysdeps/ia64/preconfigure: Remove file.
595 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
597 (libc_relro_required): Likewise.
601 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
602 (__ieee754_yn): Set FE_TONEAREST mode internally and then
603 recompute overflowing results in original rounding mode.
604 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
605 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
606 recompute overflowing results in original rounding mode.
607 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
608 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
609 recompute overflowing results in original rounding mode.
610 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
611 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
612 recompute overflowing results in original rounding mode.
613 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
614 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
615 recompute overflowing results in original rounding mode.
616 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
617 (libc_feholdsetround_ctx): New macro.
618 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
619 * sysdeps/i386/fpu/libm-test-ulps: Update.
620 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
622 2014-06-26 Joseph Myers <joseph@codesourcery.com>
624 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
625 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
626 corresponding .cpsetup call.
628 2014-06-26 Roland McGrath <roland@hack.frob.com>
630 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
631 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
632 * sysdeps/arm/Makefile [$(subdir) = csu]
633 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
634 (static-only-routines): Add aeabi_read_tp here.
635 (shared-only-routines): Add libc-aeabi_read_tp here.
636 (CFLAGS-libc-start.c): Add -fexceptions here.
637 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
638 (sysdep_routines, static-only-routines, shared-only-routines):
639 Don't add to these here.
640 (CFLAGS-libc-start.c): Likewise.
642 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
643 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
644 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
645 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
646 * sysdeps/arm/Makefile [$(subdir) = rt]
647 (librt-sysdep_routines, librt-shared-only-routines):
648 Append rt-aeabi_unwind_cpp_pr1 here.
649 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
650 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
651 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
652 (libpthread-sysdep_routines, libpthread-shared-only-routines):
653 Append nptl-aeabi_unwind_cpp_pr1 here.
654 (tests): Filter out tst-cleanupx4 here.
655 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
656 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
659 2014-06-26 Joseph Myers <joseph@codesourcery.com>
661 * scripts/list-sources.sh: Do not handle ports specially.
663 2014-06-26 Roland McGrath <roland@hack.frob.com>
665 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
666 * sysdeps/arm/feupdateenv.c: Likewise.
668 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
670 2014-06-26 Joseph Myers <joseph@codesourcery.com>
672 * manual/texinfo.tex: Update to version 2014-05-05.10 with
673 trailing whitespace removed.
674 * scripts/config.guess: Update to version 2014-03-23.
675 * scripts/config.sub: Update to version 2014-05-01
676 * scripts/install-sh: Update to version 2013-12-25.23.
677 * scripts/move-if-change: Update from gnulib.
679 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
681 * debug/memmove_chk.c: Remove pagecopy.h include.
683 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
685 * time/mktime.c (leapyear): Remove inline keyword. The code is now
686 identical to gnulib mktime.
688 2014-06-26 Joseph Myers <joseph@codesourcery.com>
690 * configure.ac: Do not test for machine being rs6000. Do not test
692 * configure: Regenerated.
694 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
696 * configure: Regenerated.
697 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
698 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
699 Remove configure test.
700 * sysdeps/arm/configure: Regenerated.
701 * sysdeps/nptl/configure.ac: Do not check
702 libc_cv_asm_cfi_directives.
703 * sysdeps/nptl/configure: Regenerated.
704 * sysdeps/x86_64/nptl/configure.ac: Remove file.
705 * sysdeps/x86_64/nptl/configure: Remove generated file.
706 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
708 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
710 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
712 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
713 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
714 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
717 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
718 instead of whether it is defined.
719 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
720 * sysdeps/hppa/dl-machine.h: Likewise.
721 * sysdeps/ia64/dl-machine.h: Likewise.
722 * sysdeps/m68k/dl-machine.h: Likewise.
723 * sysdeps/microblaze/dl-machine.h: Likewise.
724 * sysdeps/mips/dl-machine.: Likewise.
725 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
726 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
727 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
728 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
729 * sysdeps/sh/dl-machine.h: Likewise.
730 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
731 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
732 * sysdeps/tile/dl-machine.h: Likewise.
733 * sysdeps/x86_64/dl-machine.h: Likewise.
735 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
737 (verify_persistent_db): Likewise.
739 2014-06-26 Roland McGrath <roland@hack.frob.com>
741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
742 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
744 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
747 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
750 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
752 Identical file removed.
753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
754 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
756 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
758 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
760 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
762 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
765 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
767 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
769 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
772 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
774 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
776 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
778 Identical file removed.
779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
780 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
782 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
785 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
788 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
790 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
792 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
794 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
796 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
799 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
802 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
804 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
807 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
809 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
811 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
813 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
814 * sysdeps/unix/sysv/linux/s390/Versions
815 (libpthread: GLIBC_2.19): New version set.
816 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
817 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
818 (librt: GLIBC_2.3.3): New version set.
819 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
820 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
821 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
822 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
823 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
824 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
825 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
826 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
827 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
828 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
829 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
830 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
831 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
832 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
833 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
834 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
835 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
836 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
837 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
838 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
839 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
840 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
841 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
842 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
843 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
844 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
845 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
846 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
847 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
848 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
849 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
850 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
853 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
854 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
855 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
856 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
857 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
858 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
859 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
860 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
861 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
863 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
865 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
866 * sysdeps/unix/sysv/linux/s390/s390-32/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 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
871 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
872 (__libc_vfork): Define the function under this name.
873 [!NOT_IN_libc] (__vfork): Make this an alias.
874 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
875 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
876 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
877 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
878 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
879 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
881 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
882 code that was previously under [RESET_PID].
883 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
884 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
887 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
888 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
889 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
890 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
891 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
892 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
893 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
894 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
895 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
896 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
897 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
899 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
900 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
901 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
902 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
903 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
904 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
905 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
906 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
907 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
908 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
909 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
910 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
911 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
912 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
913 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
914 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
915 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
916 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
917 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
918 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
919 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
920 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
921 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
922 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
923 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
924 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
925 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
926 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
927 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
929 2014-06-25 Roland McGrath <roland@hack.frob.com>
931 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
932 that was previously under [RESET_PID].
933 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
935 2014-06-25 Joseph Myers <joseph@codesourcery.com>
937 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
938 not undefine and redefine.
939 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
940 [O_CLOEXEC]: Make code unconditional.
941 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
942 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
944 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
945 conditional variable definition.
946 (shm_open) [O_CLOEXEC]: Make code unconditional.
947 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
950 * configure.ac (USE_REGPARMS): Don't define here.
951 * configure: Regenerated.
952 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
953 * sysdeps/i386/configure: Regenerated.
955 * nptl/createthread.c: Don't include kernel-features.h.
956 * nptl/pthread_cancel.c: Likewise.
957 * nptl/pthread_condattr_setclock.c: Likewise.
958 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
959 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
960 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
961 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
962 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
963 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
964 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
965 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
966 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
967 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
968 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
969 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
970 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
971 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
972 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
973 * nscd/gai.c: Likewise.
974 * nss/nss_db/db-open.c: Likewise.
975 * sysdeps/generic/ldsodefs.h: Likewise.
976 * sysdeps/sh/nptl/tls.h: Likewise.
977 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
978 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
979 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
980 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
981 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
982 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
983 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
984 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
985 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
986 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
987 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
988 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
989 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
990 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
991 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
992 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
993 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
994 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
995 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
996 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
997 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
998 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
999 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1000 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1001 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1002 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1003 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1004 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1005 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1006 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1007 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1008 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1009 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1010 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1011 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1012 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1013 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1014 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1015 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1016 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1017 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1018 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1019 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1020 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1021 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1022 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1023 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1024 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1025 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1026 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1027 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1028 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1029 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1030 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1031 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1032 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1033 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1034 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1057 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1058 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1059 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1060 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1061 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1062 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1063 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1064 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1065 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1066 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1067 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1068 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1069 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1070 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1071 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1072 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1073 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1074 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1075 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1076 * sysdeps/unix/sysv/linux/system.c: Likewise.
1077 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1078 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1079 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1080 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1081 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1082 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1083 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1085 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1086 * configure: Regenerated.
1087 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1089 * configure.ac (base_machine): Do not set specially for particular
1091 * configure: Regenerated.
1092 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1093 settings from configure.ac.
1094 * sysdeps/i386/preconfigure: New file.
1095 * sysdeps/s390/preconfigure: Likewise.
1096 * sysdeps/sh/preconfigure: Likewise.
1097 * sysdeps/sparc/preconfigure: Likewise.
1099 2014-06-25 Roland McGrath <roland@hack.frob.com>
1101 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1102 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1103 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1104 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1105 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1106 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1107 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1108 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1109 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1110 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1111 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1112 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1113 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1114 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1115 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1116 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1117 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1118 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1119 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1121 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1122 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1123 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1124 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1125 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1126 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1127 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1128 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1129 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1130 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1131 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1132 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1133 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1134 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1135 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1136 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1137 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1138 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1139 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1140 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1141 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1142 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1143 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1144 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1145 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1146 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1147 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1148 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1149 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1150 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1151 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1152 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1153 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1154 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1155 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1156 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1157 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1158 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1161 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1163 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1166 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1174 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1176 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1178 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1180 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1183 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1186 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1191 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1193 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1195 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1197 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1199 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1202 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1205 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1207 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1210 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1212 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1214 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1216 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1219 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1222 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1224 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1227 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1229 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1231 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1233 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1235 * timezone/checktab.awk: Update from tzcode 2014e.
1236 * timezone/private.h: Likewise.
1237 * timezone/tzfile.h: Likewise.
1238 * timezone/zdump.c: Likewise.
1239 * timezone/zic.c: Likewise.
1241 * sysdeps/unix/sysv/linux/kernel-features.h
1242 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1243 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1244 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1245 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1246 Remove conditional code.
1248 2014-06-25 Will Newton <will.newton@linaro.org>
1250 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1251 (_dl_arm_cap_flags): Add HWCAP2 values.
1252 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1253 (_DL_HWCAP_COUNT): Increase to 37.
1254 (_DL_HWCAP_LAST): New define.
1255 (_DL_HWCAP2_LAST): New define.
1256 (_dl_procinfo): Add support for printing
1258 (_dl_string_hwcap): Use _dl_hwcap_string.
1260 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1264 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1266 * README: Do not mention ports directory.
1268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1270 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1271 <kernel-features.h>.
1272 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1273 conditional variable definition.
1274 (__futimes): Update comment.
1275 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1276 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1279 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1280 arguments close to 0.
1281 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1283 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1285 * math/auto-libm-test-in: Add more tests of exp10.
1286 * math/auto-libm-test-out: Regenerated.
1287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1289 * sysdeps/unix/sysv/linux/kernel-features.h
1290 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1291 * sysdeps/unix/sysv/linux/readv.c: Do not include
1292 <kernel-features.h>.
1293 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1294 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1295 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1297 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1299 * sysdeps/unix/sysv/linux/writev.c: Do not include
1300 <kernel-features.h>.
1301 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1302 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1303 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1305 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1308 2014-06-25 Will Newton <will.newton@linaro.org>
1310 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1311 comment changes throughout the file. Remove checks
1312 for HAVE_*_H definitions that are not required.
1313 (__gen_tempname): Call abort if an unknown kind value is
1316 2014-06-25 Andreas Schwab <schwab@suse.de>
1319 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1320 scalbln, scalblnf, scalblnl in libc.
1322 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1325 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1326 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1327 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1329 2014-06-24 Roland McGrath <roland@hack.frob.com>
1331 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1332 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1333 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1334 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1336 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1337 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1339 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1340 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1341 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1342 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1343 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1344 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1345 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1346 * sysdeps/x86/bits/semaphore.h: ... here.
1347 * sysdeps/x86/nptl/elide.h: Moved ...
1348 * sysdeps/x86/elide.h: ... here.
1349 * sysdeps/x86_64/nptl/Implies: File removed.
1350 * sysdeps/i386/nptl/Implies: File removed.
1352 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1355 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1356 return the argument for normal arguments with exponent below -64.
1357 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1359 * math/auto-libm-test-in: Add another test of expm1.
1360 * math/auto-libm-test-out: Regenerated.
1363 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1364 calling __erfcl for arguments at least 16.
1365 * math/auto-libm-test-in: Add more tests of erf.
1366 * math/auto-libm-test-out: Regenerated.
1368 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1369 individual architectures.
1370 * sysdeps/unix/sysv/linux/configure: Regenerated.
1371 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1372 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1373 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1374 (ldd_rewrite_script): Define variable.
1375 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1380 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1381 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1382 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1383 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1384 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1385 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1386 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1387 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1389 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1392 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1393 Rename member __data.d to __data.__elision_data.
1395 2014-06-24 Wilco <wdijkstr@arm.com>
1397 * NEWS: Add 16918 to fixed bug list.
1399 2014-06-24 Wilco <wdijkstr@arm.com>
1401 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1403 2014-06-24 Wilco <wdijkstr@arm.com>
1405 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1406 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1407 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1408 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1409 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1410 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1411 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1414 2014-06-24 Wilco <wdijkstr@arm.com>
1416 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1418 2014-06-24 Wilco <wdijkstr@arm.com>
1420 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1421 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1422 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1423 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1425 2014-06-24 Wilco <wdijkstr@arm.com>
1428 * sysdeps/arm/feupdateenv.c (feupdateenv):
1429 Rewrite to reduce FPSCR accesses and fix return value.
1431 2014-06-24 Wilco <wdijkstr@arm.com>
1433 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1434 Optimize to avoid unnecessary FPSCR writes.
1435 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1436 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1437 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1438 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1440 2014-06-24 Wilco <wdijkstr@arm.com>
1442 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1443 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1444 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1445 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1446 Call libc_fetestexcept_vfp.
1447 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1448 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1449 __SOFTFP__ ifdef so that they can be built for softfp.
1451 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1453 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1454 argument type signed char.
1456 * Makerules (check-abi): Dump diff of symlist if the test
1459 2014-06-23 Roland McGrath <roland@hack.frob.com>
1461 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1464 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1465 Remove unused variable ST.
1467 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1471 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1472 small arguments before calling __expm1.
1473 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1474 small arguments before calling __expm1f.
1475 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1476 small arguments before calling __expm1l.
1477 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1479 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1480 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1481 spurious underflow for some cosh tests.
1482 * math/auto-libm-test-out: Regenerated.
1483 * sysdeps/i386/fpu/libm-test-ulps: Update.
1486 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1487 (__ieee754_y1): Set errno if return value overflows.
1488 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1489 (__ieee754_y1f): Set errno if return value overflows.
1490 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1491 (__ieee754_y1l): Set errno if return value overflows.
1492 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1493 (__ieee754_y1l): Set errno if return value overflows.
1494 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1495 * math/auto-libm-test-out: Regenerated.
1497 * math/gen-auto-libm-tests.c: Document use of
1498 ignore-zero-inf-sign.
1499 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1500 (input_flags): Add ignore-zero-inf-sign.
1501 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1502 * math/gen-libm-test.pl (generate_testfile): Handle
1503 ignore-zero-inf-sign.
1504 * math/auto-libm-test-in: Mark some cpow tests with
1505 ignore-zero-inf-sign and some with xfail-rounding.
1506 * math/auto-libm-test-out: Regenerated.
1507 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1508 * sysdeps/i386/fpu/libm-test-ulps: Update.
1509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1512 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1513 overflowing or underflowing operations take place with sign of
1515 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1516 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1517 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1518 (__ieee754_pow): Recompute overflowing and underflowing results in
1519 original rounding mode.
1520 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1521 (__powl_helper): Allow negative argument X and scale negated value
1522 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1523 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1524 overflowing or underflowing operations take place with sign of
1526 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1528 * math/auto-libm-test-in: Add more tests of pow.
1529 * math/auto-libm-test-out: Regenerated.
1530 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1531 (pow_tonearest_test_data): Remove.
1532 (pow_test_tonearest): Likewise.
1533 (pow_towardzero_test_data): Likewise.
1534 (pow_test_towardzero): Likewise.
1535 (pow_downward_test_data): Likewise.
1536 (pow_test_downward): Likewise.
1537 (pow_upward_test_data): Likewise.
1538 (pow_test_upward): Likewise.
1539 (main): Don't call removed functions.
1540 * sysdeps/i386/fpu/libm-test-ulps: Update.
1541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1543 2014-06-23 Roland McGrath <roland@hack.frob.com>
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1719 2014-06-23 Will Newton <will.newton@linaro.org>
1720 Wilco <wdijkstr@arm.com>
1722 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1723 implementation. Include get-rounding-mode.h.
1724 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1725 [!libc_feholdsetround_noex_ctx]: Define
1726 libc_feholdsetround_noex_ctx.
1727 [!libc_feholdsetround_noexf_ctx]: Define
1728 libc_feholdsetround_noexf_ctx.
1729 [!libc_feholdsetround_noexl_ctx]: Define
1730 libc_feholdsetround_noexl_ctx.
1731 (libc_feholdsetround_ctx): New function.
1732 (libc_feresetround_ctx): New function.
1733 (libc_feholdsetround_noex_ctx): New function.
1734 (libc_feresetround_noex_ctx): New function.
1736 2014-06-23 Roland McGrath <roland@hack.frob.com>
1738 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1739 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1740 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1741 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1742 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1743 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1745 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1746 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1747 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1748 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1749 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1750 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1751 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1752 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1753 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1754 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1755 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1757 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1759 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1760 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1762 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1765 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1766 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1767 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1768 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1769 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1770 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1771 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1772 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1774 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1777 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1779 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1782 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1783 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1784 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1785 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1786 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1787 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1788 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1789 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1790 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1793 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1795 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1796 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1797 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1798 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1799 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1800 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1801 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1802 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1803 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1804 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1806 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1809 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1810 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1811 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1813 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1814 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1816 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1818 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1819 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1820 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1822 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1823 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1824 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1825 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1826 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1827 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1828 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1829 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1830 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1831 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1832 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1833 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1834 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1835 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1836 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1837 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1838 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1839 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1840 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1841 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1842 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1843 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1844 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1845 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1846 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1847 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1848 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1849 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1851 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1853 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1854 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1855 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1856 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1857 (IPV6_PMTUDISC_INTERFACE): Likewise.
1858 (IPV6_PMTUDISC_OMIT): Likewise.
1860 2014-06-23 Andreas Schwab <schwab@suse.de>
1862 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1863 Remove unused errout label.
1865 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1867 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1868 macro: hardware supports Vector Crypto instructions.
1870 2014-06-23 Will Newton <will.newton@linaro.org>
1872 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1873 rather than __builtin_expect.
1875 * elf/dl-lookup.c (undefined_msg): Remove variable.
1876 (_dl_lookup_symbol_x): Replace undefined_msg with string
1879 * elf/dl-lookup.c (do_lookup_unique): New function.
1880 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1881 to a separate function.
1883 2014-06-23 Andreas Schwab <schwab@suse.de>
1886 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1887 before reading the next line.
1889 2014-06-23 Will Newton <will.newton@linaro.org>
1891 * test-skeleton.c (signal_handler): Use printf and %m
1892 rather than perror. Use printf rather than fprintf to
1893 stderr. Use puts rather than fputs to stderr.
1896 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1898 * nscd/nscd.c (thread_info_t): Remove typedef.
1899 (thread_info): Remove variable.
1901 2014-06-21 Allan McRae <allan@archlinux.org>
1903 * NEWS: Mention CVE-2014-4043.
1905 2014-06-20 Roland McGrath <roland@hack.frob.com>
1907 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1908 * nptl/smp.h: ... here.
1910 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1912 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1913 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1914 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1915 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1917 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1918 * nptl/stack-aliasing.h: New file.
1919 * sysdeps/i386/i686/stack-aliasing.h: New file.
1920 * sysdeps/i386/i686/nptl/Makefile: File removed.
1921 * sysdeps/x86_64/stack-aliasing.h: New file.
1922 * sysdeps/x86_64/nptl/Makefile
1923 (CFLAGS-pthread_create.c): Variable removed.
1925 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1926 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1928 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1929 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1932 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1934 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1935 (__ASSUME_SIGFRAME_V2): Remove macro.
1936 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1937 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1938 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1939 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1940 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1941 Declare as function. Remove conditional macro definitions.
1942 (__default_rt_sa_restorer): Likewise.
1943 (__default_sa_restorer_v1): Remove declaration.
1944 (__default_sa_restorer_v2): Likewise.
1945 (__default_rt_sa_restorer_v1): Likewise.
1946 (__default_rt_sa_restorer_v2): Likewise.
1947 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1948 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1949 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1951 2014-06-20 Roland McGrath <roland@hack.frob.com>
1953 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1954 (libpthread-routines): Add sysdep.
1955 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1956 * sysdeps/unix/sysv/linux/sparc/Versions
1957 (libpthread: GLIBC_2.3.3): New version set.
1958 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1959 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1960 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1961 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1962 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1963 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1965 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1966 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1967 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1968 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1969 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1970 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1971 * sysdeps/sparc/nptl/sem_init.c: ... here.
1972 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1973 * sysdeps/sparc/nptl/sem_post.c: ... here.
1974 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1975 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1977 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1978 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1979 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1980 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1981 (libpthread-routines): Add cpu_relax.
1982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1984 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1985 (librt: GLIBC_2.3.3): New version set.
1986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1987 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1988 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1989 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1992 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1995 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1997 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1999 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2001 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2003 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2006 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2010 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2014 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2018 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2022 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2026 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2029 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2033 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2035 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2037 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2040 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2042 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2044 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2046 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2048 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2049 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2050 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2051 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2052 * nscd/nscd.c: Likewise.
2053 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2054 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2055 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2056 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2058 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2059 <kernel-features.h>.
2060 (init_mq_netlink): Remove conditional have_sock_cloexec
2061 definitions. Remove code conditional on have_sock_cloexec < 0.
2062 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2063 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2064 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2065 <kernel-features.h>.
2066 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2067 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2069 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2071 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2072 Add tests for memset_chk and memset.
2074 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2077 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2080 * elf/tst-dl-iter-static.c: New file.
2081 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2083 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2086 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2088 * sysdeps/unix/sysv/linux/kernel-features.h
2089 (__ASSUME_F_GETOWN_EX): Remove macro.
2090 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2091 <kernel-features.h>.
2092 (miss_F_GETOWN_EX): Remove variable or macro.
2093 (do_fcntl): Do not check miss_F_GETOWN_EX.
2094 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2096 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2099 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2100 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2102 * sysdeps/unix/sysv/linux/kernel-features.h
2103 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2104 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2105 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2106 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2108 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2111 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2112 Fix calculation of the symbol's value.
2113 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2114 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2115 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2116 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2117 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2118 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2119 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2120 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2121 (modules-names): Add `tst-armtlsdescmod',
2122 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2123 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2124 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2125 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2126 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2127 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2128 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2129 ($(objpfx)tst-armtlsdescloc): New dependency.
2130 ($(objpfx)tst-armtlsdescextnow): Likewise.
2131 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2132 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2134 * sysdeps/arm/configure: Regenerate.
2136 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2138 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2139 (__atfct_seterrno_2): Likewise.
2140 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2141 <kernel-features.h>.
2142 (__ASSUME_ATFCTS): Do not undefine and redefine.
2143 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2144 (__have_atfcts): Remove conditional definition.
2145 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2146 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2147 unreachable if [__ASSUME_ATFCTS].
2148 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2149 not undefine and redefine.
2150 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2151 <kernel-features.h>.
2152 (faccessat) [__NR_faccessat]: Make code unconditional.
2153 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2154 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2155 <kernel-features.h>.
2156 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2157 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2158 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2159 <kernel-features.h>.
2160 (fchownat) [__NR_fchownat]: Make code unconditional.
2161 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2162 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2163 <kernel-features.h>.
2164 (futimesat) [__NR_futimesat]: Make code unconditional.
2165 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2166 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2167 <kernel-features.h>.
2168 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2169 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2170 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2171 <kernel-features.h>.
2172 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2173 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2174 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2175 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2176 <kernel-features.h>.
2177 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2178 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2179 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2180 <kernel-features.h>.
2181 (linkat) [__NR_linkat]: Make code unconditional.
2182 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2183 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2184 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2185 <kernel-features.h>.
2186 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2187 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2188 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2189 <kernel-features.h>.
2190 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2191 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2192 * sysdeps/unix/sysv/linux/openat.c: Do not include
2193 <kernel-features.h>.
2194 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2195 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2196 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2197 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2198 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2199 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2200 <kernel-features.h>.
2201 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2202 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2203 result of INLINE_SYSCALL directly, not via int variable.
2204 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2205 <kernel-features.h>.
2206 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2207 (renameat) [__NR_renameat]: Make code unconditional.
2208 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2209 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2210 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2211 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2212 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2213 (__ASSUME_ATFCTS): Do not undefine and redefine.
2214 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2215 <kernel-features.h>.
2216 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2217 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2218 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2219 <kernel-features.h>.
2220 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2221 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2222 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2223 (__ASSUME_ATFCTS): Do not undefine and redefine.
2224 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2225 <kernel-features.h>.
2226 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2227 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2228 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2229 <kernel-features.h>.
2230 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2231 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2233 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2235 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2237 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2240 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2241 constructed tree before returning error.
2242 * posix/bug-regexp36.c: Expand test case.
2244 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2247 * math/libm-test.inc (scalbln_test_date):
2248 Add errno expectations.
2249 * math/w_scalblnf.c: New File.
2250 Add wrapper which checks for setting errno to ERANGE.
2251 Add weak_alias for corresponding scalbln function.
2252 * math/w_scalbln.c: Likewise.
2253 * math/w_scalblnl.c: Likewise.
2254 * math/Makefile (libm-calls): Add w_scalbln.
2255 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2256 Remove weak_alias for corresponding scalbln function.
2257 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2259 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2261 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2262 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2263 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2264 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2265 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2266 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2267 Remove long_double_symbol for scalblnl function in libm, libc.
2268 * sysdeps/ieee754/ldbl-64-128/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, libc.
2271 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2272 Remove long_double_symbol for scalblnl in libm.
2273 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2274 Add wrapper which checks for setting errno to ERANGE.
2275 Add long_double_symbol for scalblnl function in libm.
2276 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2277 Do not use wrapper because of own implementation.
2279 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2281 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2282 3 bytes for __pad1 for x32.
2283 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2285 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2286 H.J. Lu <hongjiu.lu@intel.com>
2288 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2289 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2290 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2291 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2292 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2294 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2297 * posix/regcomp.c (parse_expression): Deallocate partially
2298 constructed tree before returning error.
2299 * posix/Makefile.c (tests): Add bug-regex36.
2300 (generated): Add bug-regex36.mtrace.
2301 (tests-special): Add $(objpfx)bug-regex36-mem.out
2302 (bug-regex36-ENV): New variable.
2303 ($(objpfx)bug-regex36-mem.out): New rule.
2304 * posix/bug-regex36.c: New file.
2306 2014-06-19 Will Newton <will.newton@linaro.org>
2308 * malloc/malloc.c (systrim): If extra is zero then return
2311 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2313 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2315 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2317 * sysdeps/aarch64/strchr.S: New file.
2319 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2322 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2323 from arguments -2 or below.
2324 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2325 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2327 2014-06-18 Andreas Schwab <schwab@suse.de>
2330 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2331 of a bracket expr not to run off the end of the string.
2332 * posix/Makefile (tests): Add tst-fnmatch3.
2333 * posix/tst-fnmatch3.c: New file.
2335 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2337 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2338 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2339 [$(cross-compiling) = no]: Likewise.
2340 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2341 [$(cross-compiling) = no]: Likewise.
2343 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2346 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2347 double, adjusted for any remainder from the high double.
2348 * math/libm-test.inc (nearbyint): Add tests.
2351 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2353 * nptl/sysdeps/powerpc/Makefile: Moved ...
2354 * sysdeps/powerpc/nptl/Makefile: ... here.
2355 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2356 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2357 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2358 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2359 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2360 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2361 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2362 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2363 * nptl/sysdeps/powerpc/tls.h: Moved ...
2364 * sysdeps/powerpc/nptl/tls.h: ... here.
2366 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2369 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2370 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2371 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2372 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2373 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2374 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2375 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2376 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2377 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2379 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2381 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2383 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2385 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2388 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2391 2014-06-16 Florian Weimer <fweimer@redhat.com>
2394 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2395 non-executed part of the test.
2397 2014-06-16 Andreas Schwab <schwab@suse.de>
2399 * string/bits/string2.h (strdup, strndup): Update feature guard.
2401 2014-06-14 David S. Miller <davem@davemloft.net>
2403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2405 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2407 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2408 that was previously under [RESET_PID].
2409 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2411 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2412 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2413 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2414 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2415 (__libc_vfork): New strong alias.
2416 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2418 2014-06-14 Andi Kleen <ak@linux.intel.com>
2420 * sysdeps/generic/elide.h: New file.
2422 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2424 * Makefile (installed-headers): Adjust path of pthread.h header.
2426 2014-06-13 Roland McGrath <roland@hack.frob.com>
2428 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2429 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2430 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2431 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2433 * nptl/sysdeps/s390/Makefile: Moved ...
2434 * sysdeps/s390/nptl/Makefile: ... here.
2435 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2436 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2437 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2438 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2439 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2440 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2441 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2442 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2443 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2444 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2445 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2446 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2447 * nptl/sysdeps/s390/tls.h: Moved ...
2448 * sysdeps/s390/nptl/tls.h: ... here.
2450 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2451 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2453 2014-06-13 David S. Miller <davem@davemloft.net>
2455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2458 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2462 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2463 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2464 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2465 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2466 Remove RESET_PID cpp guards.
2467 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2468 Remove RESET_PID cpp guards.
2469 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2471 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2473 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2476 2014-06-13 Andi Kleen <ak@linux.intel.com>
2478 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2479 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2480 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2481 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2482 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2483 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2484 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2485 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2486 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2487 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2488 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2489 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2490 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2491 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2492 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2493 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2494 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2495 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2496 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2497 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2499 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2500 (pthread_rwlock_rdlock): Add elision.
2501 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2502 (pthread_rwlock_wrlock): Add elision.
2503 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2504 (pthread_rwlock_trywrlock): Add elision.
2505 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2506 (pthread_rwlock_tryrdlock): Add elision.
2507 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2508 (pthread_rwlock_tryrdlock): Add elision unlock.
2509 * nptl/sysdeps/pthread/pthread.h:
2510 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2511 (PTHREAD_RWLOCK_INITIALIZER,
2512 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2513 Handle new elision field.
2514 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2515 * sysdeps/arm/nptl/bits/pthreadtypes.h
2516 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2517 * sysdeps/sh/nptl/bits/pthreadtypes.h
2518 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2519 * sysdeps/tile/nptl/bits/pthreadtypes.h
2520 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2521 * sysdeps/a/nptl/bits/pthreadtypes.h
2522 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2523 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2524 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2525 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2527 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2529 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2530 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2531 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2533 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2535 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2537 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2539 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2540 (elision_init): Set try_xbegin to zero when no RTM.
2541 * sysdeps/x86/nptl/bits/pthreadtypes.h
2542 (pthread_rwlock_t): Change __pad1 to __rwelision.
2543 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2545 2014-06-13 Andi Kleen <ak@linux.intel.com>
2547 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2548 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2549 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2550 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2552 2014-06-13 Meador Inge <meadori@codesourcery.com>
2555 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2556 that the cached result has been set before returning it.
2558 2014-06-12 Roland McGrath <roland@hack.frob.com>
2560 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2561 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2562 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2563 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2564 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2565 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2567 * nptl/sysdeps/sparc/Makefile: Moved ...
2568 * sysdeps/sparc/nptl/Makefile: ... here.
2569 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2570 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2571 * nptl/sysdeps/sparc/tls.h: Moved ...
2572 * sysdeps/sparc/nptl/tls.h: ... here.
2573 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2574 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2575 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2576 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2577 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2578 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2579 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2580 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2581 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2582 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2583 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2584 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2585 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2586 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2587 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2588 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2589 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2590 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2592 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2593 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2595 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2596 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2598 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2599 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2602 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2604 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2605 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2607 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2608 (struct list_links): Type removed.
2609 (struct thread_node, struct timer_node): Replace struct list_links
2610 with struct list_head.
2611 (list_unlink_ip): Likewise.
2612 * sysdeps/pthread/timer_routines.c
2613 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2614 (list_append, list_insbefore): Likewise.
2615 (list_init): Function removed.
2616 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2617 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2618 * sysdeps/pthread/Makefile: ... here, new file.
2620 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2621 * sysdeps/nptl/Implies: ... here.
2622 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2623 * nptl/sysdeps/pthread/list.h: Moved ...
2624 * include/list.h: ... here.
2625 * nptl/sysdeps/pthread/createthread.c: Moved ...
2626 * nptl/createthread.c: ... here.
2627 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2628 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2629 * nptl/pt-longjmp.c: ... here.
2630 * nptl/sysdeps/pthread/Makefile: Moved ...
2631 * sysdeps/nptl/Makefile: ... here.
2632 * nptl/sysdeps/pthread/Subdirs: Moved ...
2633 * sysdeps/nptl/Subdirs: ... here.
2634 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2635 * sysdeps/nptl/aio_misc.h: ... here.
2636 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2637 * sysdeps/nptl/bits/libc-lock.h: ... here.
2638 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2639 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2640 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2641 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2642 * nptl/sysdeps/pthread/configure: Moved ...
2643 * sysdeps/nptl/configure: ... here.
2644 * nptl/sysdeps/pthread/configure.ac: Moved ...
2645 * sysdeps/nptl/configure.ac: ... here.
2646 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2647 * sysdeps/nptl/gai_misc.h: ... here.
2648 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2649 * sysdeps/nptl/librt-cancellation.c: ... here.
2650 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2651 * sysdeps/nptl/malloc-machine.h: ... here.
2652 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2653 * sysdeps/nptl/pthread-functions.h: ... here.
2654 * nptl/sysdeps/pthread/pthread.h: Moved ...
2655 * sysdeps/nptl/pthread.h: ... here.
2656 * nptl/sysdeps/pthread/setxid.h: Moved ...
2657 * sysdeps/nptl/setxid.h: ... here.
2658 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2659 * sysdeps/nptl/sigfillset.c: ... here.
2660 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2661 * sysdeps/nptl/tcb-offsets.h: ... here.
2662 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2663 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2664 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2665 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2666 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2667 * sysdeps/pthread/allocalim.h: ... here.
2668 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2669 * sysdeps/pthread/bits/sigthread.h: ... here.
2670 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2671 * sysdeps/pthread/flockfile.c: ... here.
2672 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2673 * sysdeps/pthread/ftrylockfile.c: ... here.
2674 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2675 * sysdeps/pthread/funlockfile.c: ... here.
2676 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2677 * sysdeps/pthread/posix-timer.h: ... here.
2678 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2679 * sysdeps/pthread/timer_create.c: ... here.
2680 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2681 * sysdeps/pthread/timer_delete.c: ... here.
2682 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2683 * sysdeps/pthread/timer_getoverr.c: ... here.
2684 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2685 * sysdeps/pthread/timer_gettime.c: ... here.
2686 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2687 * sysdeps/pthread/timer_routines.c: ... here.
2688 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2689 * sysdeps/pthread/timer_settime.c: ... here.
2690 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2691 * sysdeps/pthread/tst-timer.c: ... here.
2692 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2693 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2695 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2696 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2698 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2699 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2700 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2701 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2702 Update #include target.
2703 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2704 * sysdeps/i386/i686/nptl/Makefile: ... here.
2705 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2706 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2707 Update #include target.
2708 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2709 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2710 * nptl/sysdeps/i386/Makefile: Moved ...
2711 * sysdeps/i386/nptl/Makefile: ... here.
2712 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2713 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2714 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2715 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2716 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2717 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2718 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2719 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2720 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2721 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2722 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2723 * nptl/sysdeps/i386/tls.h: Moved ...
2724 * sysdeps/i386/nptl/tls.h: ... here.
2726 * sysdeps/sh/Makefile [$(subdir) = csu]
2727 (gen-as-const-headers): Add tcb-offsets.sym.
2728 * nptl/sysdeps/sh/Makefile: File removed.
2729 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2730 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2731 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2732 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2733 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2734 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2735 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2736 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2737 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2738 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2739 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2740 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2741 * nptl/sysdeps/sh/tls.h: Moved ...
2742 * sysdeps/sh/nptl/tls.h: ... here.
2743 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2744 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2745 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2746 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2747 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2748 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2749 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2750 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2751 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2752 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2753 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2754 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2755 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2756 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2757 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2758 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2759 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2760 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2762 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2764 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2766 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2769 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2770 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2772 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2774 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2776 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2777 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2778 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2779 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2780 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2781 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2782 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2783 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2784 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2785 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2786 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2787 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2788 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2789 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2790 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2792 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2794 * posix/spawn_faction_addopen.c: Include string.h.
2796 2014-06-11 Roland McGrath <roland@hack.frob.com>
2798 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2799 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2800 * nptl/sysdeps/x86_64/Makefile: Moved ...
2801 * sysdeps/x86_64/nptl/Makefile: ... here.
2802 * nptl/sysdeps/x86_64/configure: Moved ...
2803 * sysdeps/x86_64/nptl/configure: ... here.
2804 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2805 * sysdeps/x86_64/nptl/configure.ac: ... here.
2806 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2807 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2808 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2809 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2810 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2811 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2812 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2813 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2814 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2815 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2816 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2817 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2818 * nptl/sysdeps/x86_64/tls.h: Moved ...
2819 * sysdeps/x86_64/nptl/tls.h: ... here.
2820 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2821 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2822 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2823 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2825 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2827 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2831 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2833 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2835 [POSIX] (off_t): Likewise.
2836 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2837 [POSIX] (S_ISBLK): Require macro.
2838 [POSIX] (S_ISCHR): Likewise.
2839 [POSIX] (S_ISDIR): Likewise.
2840 [POSIX] (S_ISFIFO): Likewise.
2841 [POSIX] (S_ISREG): Likewise.
2842 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2844 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2846 [POSIX] (time_t): Likewise.
2847 [POSIX] (timer_t): Likewise.
2849 2014-06-11 Florian Weimer <fweimer@redhat.com>
2852 * posix/spawn_int.h (struct __spawn_action): Make the path string
2853 non-const to support deallocation.
2854 * posix/spawn_faction_addopen.c
2855 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2856 * posix/spawn_faction_destroy.c
2857 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2858 path in all spawn_do_open actions.
2859 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2860 posix_spawn_file_actions_addopen.
2862 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2864 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2865 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2866 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2867 conditional code always true.
2868 (__libc_vfork): New alias.
2870 2014-06-11 Roland McGrath <roland@hack.frob.com>
2872 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2873 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2875 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2877 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2878 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2880 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2881 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2883 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2884 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2886 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2888 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2889 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2890 multiarch strcmp for PPC64.
2891 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2892 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2894 multiarch optimizations.
2895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2896 (__libc_ifunc_impl_list): Likewise.
2898 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2900 * benchtests/scripts/validate_benchout.py: New script.
2901 * benchtests/Makefile (bench-func): Call it.
2902 * benchtests/scripts/benchout.schema.json: New file.
2904 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2906 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2907 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2908 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2909 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2910 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2911 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2912 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2913 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2914 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2915 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2916 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2917 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2918 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2919 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2920 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2921 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3025 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3026 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3027 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3028 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3029 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3031 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3033 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3034 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3035 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3036 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3037 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3038 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3039 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3040 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3041 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3042 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3044 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3047 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3048 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3050 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3052 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3055 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3056 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3057 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3058 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3059 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3060 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3061 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3063 2014-06-10 Wilco <wdijkstr@arm.com>
3065 * math/test-fenv-return.c: New file.
3066 * math/Makefile: Add new test test-fenv-return.
3068 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3071 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3073 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3074 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3075 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3076 0.0L for an argument of 1.0L.
3077 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3079 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3080 value when x - 1 is zero.
3081 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3082 * sysdeps/i386/fpu/libm-test-ulps: Update.
3083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3085 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3088 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3090 2014-06-09 Roland McGrath <roland@hack.frob.com>
3092 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3093 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3095 2014-06-09 Roland McGrath <roland@hack.frob.com>
3097 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3098 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3100 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3101 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3103 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3104 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3106 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3107 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3109 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3110 if not already defined.
3111 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3112 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3113 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3114 (TLS_INIT_TP): Use it.
3115 (TLS_DEFINE_INIT_TP): New macro.
3116 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3118 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3120 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3122 [POSIX] (IXANY): Likewise.
3123 [POSIX] (OLCUC): Likewise.
3124 [POSIX || POSIX2008] (CBAUD): Do not allow.
3125 [POSIX || POSIX2008] (DEFECHO): Likewise.
3126 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3127 [POSIX || POSIX2008] (ECHOKE): Likewise.
3128 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3129 [POSIX || POSIX2008] (EXTA): Likewise.
3130 [POSIX || POSIX2008] (EXTB): Likewise.
3131 [POSIX || POSIX2008] (FLUSHO): Likewise.
3132 [POSIX || POSIX2008] (LOBLK): Likewise.
3133 [POSIX || POSIX2008] (PENDIN): Likewise.
3134 [POSIX || POSIX2008] (SWTCH): Likewise.
3135 [POSIX || POSIX2008] (VDISCARD): Likewise.
3136 [POSIX || POSIX2008] (VDSUSP): Likewise.
3137 [POSIX || POSIX2008] (VLNEXT): Likewise.
3138 [POSIX || POSIX2008] (VREPRINT): Likewise.
3139 [POSIX || POSIX2008] (VSTATUS): Likewise.
3140 [POSIX || POSIX2008] (VWERASE): Likewise.
3141 (B*): Change to B[0123456789]*.
3142 * conform/data/time.h-data [POSIX || UNIX98]
3143 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3144 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3145 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3146 [POSIX] (tm_*): Do not allow.
3148 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3150 * Makefile (install): Don't set LANGUAGE.
3151 * Makefile.in (install): Likewise.
3152 * assert/Makefile (test-assert-ENV): Remove variable.
3153 (test-assert-perr-ENV): Likewise.
3154 * elf/Makefile (neededtest4-ENV): Likewise.
3155 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3156 [$(cross-compiling) = no]: Don't set LANGUAGE.
3157 * io/ftwtest-sh (LANG): Remove variable.
3158 * libio/Makefile (tst-widetext-ENV): Likewise.
3159 * manual/install.texi (Running make install): Don't refer to
3160 environment settings for make install.
3161 * INSTALL: Regenerated.
3162 * nptl/tst-tls6.sh: Don't set LANG.
3163 * posix/globtest.sh (LANG): Remove variable.
3164 * string/Makefile (tester-ENV): Likewise.
3165 (inl-tester-ENV): Likewise.
3166 (noinl-tester-ENV): Likewise.
3167 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3168 [$(cross-compiling) = no]: Don't set LANGUAGE.
3169 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3170 without explicit environment settings.
3172 2014-06-06 Roland McGrath <roland@hack.frob.com>
3174 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3175 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3177 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3179 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3181 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3182 other files in the crypt directory.
3183 * crypt/crypt.c: Remove duplicate includes.
3184 * crypt/crypt-entry.c: Likewise.
3185 * crypt/crypt_util.c: Likewise.
3187 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3189 * Makeconfig (run-program-env): New variable.
3190 (run-program-prefix-before-env): Likewise.
3191 (run-program-prefix-after-env): Likewise.
3192 (run-program-prefix): Define in terms of new variables.
3193 (built-program-cmd-before-env): New variable.
3194 (built-program-cmd-after-env): Likewise.
3195 (built-program-cmd): Define in terms of new variables.
3196 (test-program-prefix-before-env): New variable.
3197 (test-program-prefix-after-env): Likewise.
3198 (test-program-prefix): Define in terms of new variables.
3199 (test-program-cmd-before-env): New variable.
3200 (test-program-cmd-after-env): Likewise.
3201 (test-program-cmd): Define in terms of new variables.
3202 * Rules (make-test-out): Use $(run-program-env).
3203 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3204 (help): Do not mention environment variables. Mention
3205 --timeoutfactor option.
3206 (timeoutfactor): New variable.
3207 (blacklist_exports): Remove function.
3208 (exports): Remove variable.
3209 (command): Do not include ${exports}.
3210 * manual/install.texi (Configuring and compiling): Do not mention
3211 test wrappers preserving environment variables. Mention that last
3212 assignment to a variable must take precedence.
3213 * INSTALL: Regenerated.
3214 * benchtests/Makefile (run-bench): Use $(run-program-env).
3215 * catgets/Makefile ($(objpfx)test1.cat): Use
3216 $(built-program-cmd-before-env), $(run-program-env) and
3217 $(built-program-cmd-after-env).
3218 ($(objpfx)test2.cat): Do not specify environment variables
3220 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3221 $(run-program-env) and $(built-program-cmd-after-env).
3222 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3223 $(run-program-env) and $(test-program-cmd-after-env).
3224 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3226 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3227 run_program_env and test_program_cmd_after_env arguments.
3228 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3229 * elf/tst-pathopt.sh: Use run_program_env argument.
3230 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3231 $(test-wrapper-env) and $(run-program-env).
3232 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3233 run_program_env arguments.
3234 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3235 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3236 $(test-program-prefix-before-env), $(run-program-env) and
3237 $(test-program-prefix-after-env).
3238 ($(objpfx)tst-gettext2.out): Likewise.
3239 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3240 run_program_env and test_program_prefix_after_env arguments.
3241 * intl/tst-gettext2.sh: Likewise.
3242 * intl/tst-gettext4.sh: Do not set environment variables
3244 * intl/tst-gettext6.sh: Likewise.
3245 * intl/tst-translit.sh: Likewise.
3246 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3247 $(test-program-prefix-before-env), $(run-program-env) and
3248 $(test-program-prefix-after-env).
3249 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3250 run_program_env and test_program_prefix_after_env arguments.
3251 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3252 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3253 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3254 explicitly with each use of ${test_wrapper_env}.
3255 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3256 $(test-program-prefix-before-env), $(run-program-env) and
3257 $(test-program-prefix-after-env).
3258 * posix/tst-getconf.sh: Do not set environment variables
3260 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3261 run_program_env and test_program_prefix_after_env arguments.
3262 * stdio-common/tst-printf.sh: Do not set environment variables
3264 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3265 $(test-program-prefix-before-env), $(run-program-env) and
3266 $(test-program-prefix-after-env).
3267 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3268 run_program_env and test_program_prefix_after_env arguments.
3269 Split $test calls into $test_pre and $test.
3270 * timezone/Makefile (build-testdata): Use
3271 $(built-program-cmd-before-env), $(run-program-env) and
3272 $(built-program-cmd-after-env).
3274 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3276 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3277 strlen for non SHARED builds.
3279 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3281 * nptl/allocatestack.c (check_list): Inlined function...
3282 (__reclaim_stacks): ... here.
3284 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3287 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3290 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3292 * Rules (make-test-out): Include
3293 LOCPATH=$(common-objpfx)localedata in default environment.
3294 * debug/Makefile (tst-chk1-ENV): Remove variable.
3295 (tst-chk2-ENV): Likewise.
3296 (tst-chk3-ENV): Likewise.
3297 (tst-chk4-ENV): Likewise.
3298 (tst-chk5-ENV): Likewise.
3299 (tst-chk6-ENV): Likewise.
3300 (tst-lfschk1-ENV): Likewise.
3301 (tst-lfschk2-ENV): Likewise.
3302 (tst-lfschk3-ENV): Likewise.
3303 (tst-lfschk4-ENV): Likewise.
3304 (tst-lfschk5-ENV): Likewise.
3305 (tst-lfschk6-ENV): Likewise.
3306 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3307 (tst-iconv7-ENV): Likewise.
3308 * intl/Makefile (LOCPATH-ENV): Likewise.
3309 (tst-codeset-ENV): Likewise.
3310 (tst-gettext3-ENV): Likewise.
3311 (tst-gettext5-ENV): Likewise.
3312 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3313 (tst-fopenloc-ENV): Likewise.
3314 (tst-fgetws-ENV): Remove variable.
3315 (tst-ungetwc1-ENV): Likewise.
3316 (tst-ungetwc2-ENV): Likewise.
3317 (bug-ungetwc2-ENV): Likewise.
3318 (tst-swscanf-ENV): Likewise.
3319 (bug-ftell-ENV): Likewise.
3320 (tst-fgetwc-ENV): Likewise.
3321 (tst-fseek-ENV): Likewise.
3322 (tst-ftell-partial-wide-ENV): Likewise.
3323 (tst-ftell-active-handler-ENV): Likewise.
3324 (tst-ftell-append-ENV): Likewise.
3325 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3326 (tst-regexloc-ENV): Likewise.
3327 (bug-regex1-ENV): Likewise.
3328 (tst-regex-ENV): Likewise.
3329 (tst-regex2-ENV): Likewise.
3330 (bug-regex5-ENV): Likewise.
3331 (bug-regex6-ENV): Likewise.
3332 (bug-regex17-ENV): Likewise.
3333 (bug-regex18-ENV): Likewise.
3334 (bug-regex19-ENV): Likewise.
3335 (bug-regex20-ENV): Likewise.
3336 (bug-regex22-ENV): Likewise.
3337 (bug-regex23-ENV): Likewise.
3338 (bug-regex25-ENV): Likewise.
3339 (bug-regex26-ENV): Likewise.
3340 (bug-regex30-ENV): Likewise.
3341 (bug-regex32-ENV): Likewise.
3342 (bug-regex33-ENV): Likewise.
3343 (bug-regex34-ENV): Likewise.
3344 (bug-regex35-ENV): Likewise.
3345 (tst-rxspencer-ENV): Likewise.
3346 (tst-rxspencer-no-utf8-ENV): Likewise.
3347 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3348 (tst-sscanf-ENV): Likewise.
3349 (tst-swprintf-ENV): Likewise.
3350 (tst-swscanf-ENV): Likewise.
3351 (test-vfprintf-ENV): Likewise.
3352 (scanf13-ENV): Likewise.
3353 (bug14-ENV): Likewise.
3354 (tst-grouping-ENV): Likewise.
3355 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3356 (tst-strtod3-ENV): Likewise.
3357 (tst-strtod4-ENV): Likewise.
3358 (tst-strtod5-ENV): Likewise.
3359 (testmb2-ENV): Likewise./
3360 * string/Makefile (tst-strxfrm-ENV): Likewise.
3361 (tst-strxfrm2-ENV): Likewise.
3362 (bug-strcoll1-ENV): Likewise.
3363 (test-strcasecmp-ENV): Likewise.
3364 (test-strncasecmp-ENV): Likewise.
3365 * time/Makefile (tst-strptime-ENV): Likewise.
3366 (tst-ftime_l-ENV): Likewise.
3367 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3368 (tst-mbrtowc-ENV): Likewise.
3369 (tst-wcrtomb-ENV): Likewise.
3370 (tst-mbrtowc2-ENV): Likewise.
3371 (tst-c16c32-1-ENV): Likewise.
3372 (tst-mbsnrtowcs-ENV): Likewise.
3374 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3376 * manual/resource.texi (How to get information about the memory
3377 subsystem?): Fix typo.
3378 Reported by Peon de la Parra Ivan <peon@keba.com>
3380 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3383 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3384 (pthread_spin_lock): Branch out of spin loop to proper location.
3385 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3386 (pthread_spin_lock): Likewise.
3388 * nptl/tst-spin4.c: New test.
3389 * nptl/Makefile (tests): Add tst-spin4.
3391 2014-06-03 Andreas Schwab <schwab@suse.de>
3394 * resolv/res_send.c (send_dg): Reload file descriptor after
3397 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3399 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3401 2014-06-03 Richard Henderson <rth@redhat.com>
3403 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3404 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3405 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3406 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3407 in the SAVE_PID block.
3408 (__libc_vfork): New alias.
3409 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3411 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3412 child in registers, not on the stack. Remove RESET_PID conditionals.
3413 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3415 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3417 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3419 2014-06-03 Wilco <wdijkstr@arm.com>
3421 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3422 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3423 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3424 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3425 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3428 2014-06-03 Wilco <wdijkstr@arm.com>
3430 * sysdeps/aarch64/fpu/math_private.h
3431 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3432 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3433 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3434 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3437 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3439 * crypt/crypt-private.h: Include ufc-crypt.h.
3440 (__b64_from_24bit): Declare extern.
3441 * crypt/crypt_util.c(__b64_from_24bit): New function.
3442 (b64t): New static const variable.
3443 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3444 (b64t): Remove variable.
3445 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3446 * crypt/sha256-crypt.c: Include crypt-private.h.
3447 (b64t): Remove variable.
3448 (__sha256_crypt_r): Remove b64_from_24bit and replace
3449 with __b64_from_24bit.
3450 * crypt/sha512-crypt.c: Likewise.
3452 2014-06-02 Roland McGrath <roland@hack.frob.com>
3454 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3455 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3456 Label the code __libc_vfork rather than __vfork.
3457 [!NOT_IN_libc] (vfork): Define as weak alias.
3458 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3459 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3460 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3462 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3464 * malloc/malloc.c (malloc_info): Fix format specifier for
3467 2014-06-02 Wilco <wdijkstr@arm.com>
3469 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3472 2014-06-02 Wilco <wdijkstr@arm.com>
3475 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3476 Rewrite to reduce FPCR/FPSR accesses.
3478 2014-06-01 David S. Miller <davem@davemloft.net>
3480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3482 2014-05-31 David S. Miller <davem@davemloft.net>
3484 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3485 to occur in round to nearest mode when |x| >= 2.0
3487 2014-05-30 Richard Henderson <rth@twiddle.net>
3489 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3490 (PSEUDO_RET_NOERRNO): Remove.
3491 (ret): Don't redefine.
3492 (ret_NOERRNO): Define in terms of ret.
3493 (ret_ERRVAL): Likewise.
3495 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3496 use of PSEUDO_RET; perform the error check directly.
3498 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3500 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3503 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3505 * malloc/malloc (malloc_info): Fix formatting.
3507 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3508 Roland McGrath <roland@hack.frob.com>
3510 * malloc/malloc (malloc_info): Also print mmapped statistics.
3512 2014-05-30 Roland McGrath <roland@hack.frob.com>
3514 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3515 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3517 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3519 * malloc/malloc.c (malloc_info): Inline mi_arena.
3521 2014-05-29 Richard Henderson <rth@twiddle.net>
3523 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3524 Remove comma before expanding ASM_ARGS_##nr.
3525 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3526 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3528 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3529 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3530 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3531 (ASM_ARGS_1): Add leading comma.
3533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3534 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3535 to __errno_location.
3536 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3537 Remove the expected plt for __errno_location.
3539 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3540 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3543 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3544 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3545 it and break it down.
3546 (DOCARGS_0, DOCARGS_1): Do nothing.
3547 (DOCARGS_2): Update to store into the new stack frame.
3548 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3549 (UNDOCARGS_1): Update to restore from the new stack frame.
3550 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3551 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3554 (SINGLE_THREAD_P): New parameter for result regno.
3555 (PSEUDO): Update to match; use cbz instead of beq.
3557 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3558 Use ENTRY to define the _nocancel entry point. Share the syscall
3559 and syscall error check paths with the cancel path.
3562 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3563 whitespace; tabs before and after asm mnemonics.
3565 2014-05-29 Eric Wong <normalperson@yhbt.net>
3568 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3569 Call fstat64 or stat64 internally, depending on arguments passed.
3570 Replace stat buffer argument with file descriptor argument.
3571 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3572 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3573 Pass fd to __internal_statvfs instead of calling fstat64.
3574 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3575 Pass fd to __internal_statvfs64 instead of calling fstat64.
3576 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3577 Pass -1 to __internal_statvfs instead of calling stat64.
3578 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3579 Pass -1 to __internal_statvfs64 instead of calling stat64.
3581 2014-05-28 Roland McGrath <roland@hack.frob.com>
3583 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3584 that was previously under [RESET_PID].
3585 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3587 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3588 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3590 2014-05-27 Roland McGrath <roland@hack.frob.com>
3592 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3594 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3595 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3597 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3599 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3601 2014-05-27 Andreas Schwab <schwab@suse.de>
3603 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3605 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3606 * elf/rtld.c (init_tls, dl_main): Likewise.
3607 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3608 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3609 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3610 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3611 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3612 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3613 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3614 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3615 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3616 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3617 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3618 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3619 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3620 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3621 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3622 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3623 * sysdeps/generic/tls.h: Update description.
3625 2014-05-27 Will Newton <will.newton@linaro.org>
3628 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3629 and restore r2 rather than just restoring.
3631 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3634 * libio/tst-ftell-append.c: New test case.
3635 * libio/Makefile (tests): Add test case.
3636 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3638 * libio/wfileops.c (do_ftell_wide): Likewise.
3640 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3644 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3648 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3649 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3650 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3651 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3652 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3653 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3654 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3657 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3660 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3661 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3662 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3663 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3664 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3666 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3667 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3669 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3671 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3673 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3674 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3675 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3677 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3678 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3679 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3680 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3682 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3685 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3688 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3703 conditional [RESET_PID].
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3712 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3713 (__libc_vfork): New strong alias.
3714 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3721 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3722 (__libc_vfork): New strong alias.
3723 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3728 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3730 * malloc/malloc.c (mi_arena): New function.
3731 (malloc_info): Remove nested function mi_arena. Call non-nosted
3734 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3736 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3738 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3739 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3740 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3741 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3742 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3743 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3744 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3746 2014-05-26 Andreas Schwab <schwab@suse.de>
3749 * locale/programs/repertoire.c (repertoire_read): Add slash
3750 between I18NPATH element and file name.
3751 * locale/programs/locfile.c (locfile_read): Likewise.
3753 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3755 * nptl/pthread_mutexattr_settype.c
3756 (__pthread_mutexattr_settype):
3757 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3759 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3761 * nptl/tst-mutex5 (do_test):
3762 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3764 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3766 * benchtests/README: Document 'init' directive.
3767 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3769 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3770 (parse_file): Recognize 'init' directive.
3772 2014-05-26 Kyle McMartin <kyle@redhat.com>
3775 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3776 alignment of struct pthread.
3778 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3781 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3782 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3783 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3784 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3786 2014-05-25 Richard Henderson <rth@twiddle.net>
3788 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3789 (SINGLE_THREAD_P_PIC): Remove.
3790 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3791 (SINGLE_THREAD_P_PIC): Remove.
3793 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3794 branch to syscall error ...
3796 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3797 from __local_syscall_error to .Lsyscall_error.
3798 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3799 (SYSCALL_ERROR): Update label name.
3801 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3802 Do not use DOARGS/UNDOARGS.
3803 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3804 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3805 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3806 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3807 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3809 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3812 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3813 define if !NOT_IN_libc.
3814 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3815 define with non-default symbol versions.
3817 2014-05-23 Richard Henderson <rth@twiddle.net>
3819 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3820 (vfork, __vfork): Define via compat_symbol.
3822 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3823 [!HAVE_IFUNC] (vfork_compat): Remove.
3824 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3826 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3829 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3830 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3833 2014-05-23 Richard Henderson <rth@twiddle.net>
3835 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3836 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3837 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3838 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3840 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3841 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3842 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3843 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3844 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3845 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3846 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3847 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3848 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3849 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3850 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3851 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3852 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3853 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3854 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3855 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3856 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3857 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3858 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3859 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3860 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3861 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3862 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3863 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3865 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3866 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3867 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3869 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3870 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3871 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3872 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3873 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3874 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3875 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3876 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3877 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3878 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3879 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3880 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3881 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3882 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3883 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3884 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3885 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3886 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3887 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3888 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3889 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3890 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3891 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3892 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3893 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3894 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3895 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3897 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3898 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3899 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3900 before exiting on error.
3901 (__libc_vfork): New strong alias.
3902 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3903 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3905 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3906 that was previously under [RESET_PID].
3907 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3909 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3911 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3914 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3915 value when x - 1 is zero.
3916 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3917 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3918 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3919 0.0L for an argument of 1.0L.
3920 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3922 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3923 value when x - 1 is zero.
3924 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3925 * sysdeps/i386/fpu/libm-test-ulps: Update.
3926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3928 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3930 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3931 alphasort and versionsort.
3933 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3935 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3937 [copysignf]: Likewise.
3939 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3941 * crypt/md5-crypt.c: Fix formatting.
3943 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3945 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3946 (b64_from_24bit): New function.
3948 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3950 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3951 libc_hidden_builtin_def to ifunc.
3952 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3953 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3955 2014-05-21 Roland McGrath <roland@hack.frob.com>
3957 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3958 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3960 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3962 * nscd/Depend (linuxthreads): Remove.
3964 * resolv/Depend (linuxthreads): Remove.
3965 * rt/Depend (linuxthreads): Remove.
3967 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3968 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3969 $(common-objpfx)elf/.
3970 (link-libc-before-gnulib): Likewise.
3971 (elfobjdir): Remove variable.
3972 * Makefile (install): Use $(elf-objpfx) instead of
3973 $(common-objpfx)elf/.
3974 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3976 (link-libc-deps): Likewise.
3977 ($(common-objpfx)libc.so): Likewise.
3978 ($(common-objpfx)linkobj/libc.so): Likewise.
3979 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3980 instead of $(common-objpfx)elf/.
3981 (symbolic-link-list): Likewise.
3982 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3983 [$(cross-compiling) = no]: Likewise.
3984 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3986 (static-gnulib-arch): Likewise.
3987 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3988 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3989 $(common-objpfx)elf/.
3991 2014-05-21 Richard Henderson <rth@redhat.com>
3993 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3994 (SINGLE_THREAD_P): Use the correct width load. Fold
3995 into the ldr offset.
3997 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3998 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4000 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4002 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4003 (libgcc_s_resume): Use __attribute_used__.
4004 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4007 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4009 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4010 optimization when used with float constants.
4012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4014 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4017 * locale/nl_langinfo_l.c: Make direct reference to every
4018 _nl_current_CATEGORY symbol.
4019 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4020 (tests-static): Add tst-langinfo-static.
4021 (tests-special): Add tst-langinfo-static.out.
4022 ($(objpfx)tst-langinfo.out): Redirect output.
4023 ($(objpfx)tst-langinfo-static.out): New.
4024 * localedata/tst-langinfo.sh: Send output to stdout.
4025 * localedata/tst-langinfo-static.c: New file.
4028 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4029 when the shift amount is modulo the limb size.
4031 2014-05-20 Richard Henderson <rth@redhat.com>
4034 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4035 Change type of sa_flags from unsigned int to int.
4038 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4040 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4042 2014-05-20 Will Newton <will.newton@linaro.org>
4044 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4045 Test the return value of the system call in the nocancel case.
4047 2014-05-20 Will Newton <will.newton@linaro.org>
4048 Yvan Roux <yvan.roux@linaro.org>
4050 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4051 #include of asm/ptrace.h.
4052 (PTRACE_GET_THREAD_AREA): Remove #undef.
4053 (PTRACE_GETHBPREGS): Likewise.
4054 (PTRACE_SETHBPREGS): Likewise.
4055 (struct user_regs_struct): New structure.
4056 (struct user_fpsimd_struct): New structure.
4057 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4058 #include of asm/ptrace.h and second #include of sys/user.h.
4059 (PTRACE_GET_THREAD_AREA): Remove #undef.
4060 (PTRACE_GETHBPREGS): Likewise.
4061 (PTRACE_SETHBPREGS): Likewise.
4062 (ELF_NGREG): Use new struct user_regs_struct.
4063 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4065 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4067 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4068 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4070 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4073 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4074 membar to avoid block loads/stores to overlap previous stores.
4076 2014-05-17 Richard Henderson <rth@redhat.com>
4078 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4079 Create the __##syscall_name##_nocancel entry point.
4080 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4081 Remove; let the sysdep-cancel.h code create it.
4083 2014-05-17 David S. Miller <davem@davemloft.net>
4085 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4086 Protect with __USE_GNU.
4087 (TIOCSET_TEMPT): Likewise.
4088 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4089 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4090 these are already provided in bits/ioctl-types.h
4092 2014-05-16 Roland McGrath <roland@hack.frob.com>
4094 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4095 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4097 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4098 Use wait4 regardless of [__NR_waitpid].
4100 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4103 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4104 (_FP_NANSIGN_Q): Set the quiet bit.
4106 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4108 * benchtests/Makefile
4109 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4110 not $(common-objpfx)math/libm.so.
4111 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4112 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4113 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4114 $(common-objpfx)dlfcn/libdl.so.
4115 ($(objpfx)tst-audit8): Depend on $(libm), not
4116 $(common-objpfx)math/libm.so.
4117 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4118 not $(common-objpfx)dlfcn/libdl.so.
4120 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4121 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4122 [$(build-shared) = yes].
4123 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4124 $(common-objpfx)nptl/libpthread.so.
4125 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4126 $(common-objpfx)math/libm.so$(libm.so-version) or
4127 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4128 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4129 $(common-objpfx)dlfcn/libdl.so.
4130 * setjmp/Makefile (link-libm): Remove variable.
4131 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4132 * stdio-common/Makefile (link-libm): Remove variable.
4133 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4134 * stdlib/Makefile (link-libm): Remove variable.
4135 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4136 ($(objpfx)tst-strtod-round): Likewise.
4137 ($(objpfx)tst-tininess): Likewise.
4138 ($(objpfx)tst-strtod-underflow): Likewise.
4139 ($(objpfx)tst-strtod6): Likewise.
4140 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4141 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4142 $(common-objpfx)dlfcn/libdl.so.
4144 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4146 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4147 BSD terminal modes definitions.
4149 2014-05-16 Roland McGrath <roland@hack.frob.com>
4151 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4152 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4154 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4155 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4156 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4157 Don't do #include_next.
4158 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4159 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4160 Don't do #include_next.
4161 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4162 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4163 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4164 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4166 2014-05-16 Allan McRae <allan@archlinux.org>
4168 * po/sv.po: Update Swedish translation from translation project.
4170 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4173 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4176 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4177 errno if the TIOCGPTN ioctl fails with an error different than
4179 * login/tst-ptsname.c: New file.
4180 * login/Makefile (tests): Add tst-ptsname.
4183 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4186 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4190 herrno to return EAI_AGAIN.
4192 2014-05-14 Roland McGrath <roland@hack.frob.com>
4194 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4195 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4196 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4197 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4198 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4199 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4200 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4201 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4202 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4203 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4204 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4205 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4206 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4207 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4208 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4209 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4210 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4211 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4212 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4213 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4214 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4215 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4216 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4217 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4218 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4219 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4220 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4221 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4222 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4223 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4225 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4227 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4230 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4232 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4234 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4236 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4238 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4240 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4242 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4244 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4246 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4248 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4250 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4252 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4254 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4259 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4261 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4263 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4265 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4267 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4269 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4271 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4273 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4275 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4277 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4280 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4282 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4284 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4285 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4286 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4287 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4288 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4289 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4290 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4291 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4292 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4293 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4294 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4295 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4296 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4297 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4298 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4299 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4300 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4301 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4302 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4303 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4304 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4305 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4306 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4307 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4308 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4309 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4310 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4312 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4314 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4316 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4317 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4319 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4320 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4321 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4322 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4323 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4324 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4326 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4327 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4329 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4330 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4332 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4333 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4335 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4336 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4337 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4338 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4340 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4341 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4342 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4343 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4344 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4345 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4346 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4347 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4349 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4350 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4352 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4354 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4355 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4356 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4357 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4358 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4360 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4362 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4364 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4365 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4366 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4367 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4368 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4369 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4371 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4372 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4374 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4375 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4377 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4378 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4380 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4381 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4382 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4383 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4385 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4386 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4387 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4388 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4389 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4390 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4391 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4392 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4394 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4395 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4397 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4399 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4400 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4401 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4402 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4403 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4405 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4407 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4409 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4410 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4411 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4412 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4413 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4414 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4415 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4416 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4417 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4418 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4420 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4421 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4423 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4424 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4426 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4427 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4429 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4430 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4431 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4432 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4433 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4434 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4436 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4437 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4438 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4439 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4440 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4441 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4442 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4443 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4445 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4446 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4448 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4450 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4451 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4452 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4453 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4456 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4458 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4460 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4461 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4462 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4463 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4464 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4465 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4466 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4467 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4468 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4469 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4470 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4472 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4473 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4475 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4476 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4478 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4479 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4480 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4481 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4482 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4483 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4484 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4485 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4486 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4487 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4488 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4489 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4490 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4491 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4492 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4493 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4494 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4495 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4497 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4498 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4499 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4500 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4502 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4504 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4506 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4507 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4508 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4511 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4512 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4514 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4516 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4517 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4518 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4519 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4520 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4521 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4522 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4523 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4524 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4525 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4526 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4527 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4528 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4529 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4530 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4532 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4533 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4534 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4535 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4536 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4538 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4539 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4540 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4541 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4542 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4543 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4544 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4545 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4546 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4547 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4550 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4552 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4553 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4554 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4555 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4556 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4557 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4558 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4559 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4560 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4561 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4562 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4563 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4564 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4565 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4568 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4570 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4572 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4574 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4586 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4587 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4588 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4589 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4590 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4591 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4592 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4593 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4594 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4595 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4596 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4597 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4598 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4599 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4600 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4602 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4603 that was previously under [RESET_PID].
4604 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4605 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4606 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4608 * sysdeps/i386/nptl/Implies: New file.
4609 * sysdeps/x86_64/nptl/Implies: New file.
4610 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4611 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4612 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4613 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4615 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4616 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4617 (__libc_vfork): New strong alias.
4618 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4619 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4621 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4622 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4623 (__libc_vfork): New strong alias.
4624 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4625 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4627 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4628 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4629 (__libc_vfork): New strong alias.
4630 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4631 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4632 * nptl/pt-vfork.c: New file.
4633 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4634 (libpthread: GLIBC_2.20): New version set (empty).
4636 2014-05-14 Will Newton <will.newton@linaro.org>
4638 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4641 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4644 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4645 arguments with exponent 65 or above.
4646 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4647 arguments 0x1p113L or above.
4648 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4649 to arguments 0x1p107L or above.
4650 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4651 positive arguments with exponent 65 or above.
4652 * math/auto-libm-test-in: Add more tests of log1p.
4653 * math/auto-libm-test-out: Regenerated.
4656 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4657 non-finite arguments is +0.
4658 * math/s_cacosf.c (__cacosf): Likewise.
4659 * math/s_cacosl.c (__cacosl): Likewise.
4660 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4661 * sysdeps/i386/fpu/libm-test-ulps: Update.
4662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4665 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4667 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4668 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4669 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4670 for explicit high bit of mantissa when testing for argument equal
4672 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4673 * sysdeps/i386/fpu/libm-test-ulps: Update.
4674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4677 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4678 (__erf): Scale by 16 instead of 8 in potentially underflowing
4679 case. Ensure exception if result actually underflows.
4680 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4681 (__erff): Scale by 16 instead of 8 in potentially underflowing
4682 case. Ensure exception if result actually underflows.
4683 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4684 (efx8): Remove variable.
4685 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4686 case. Ensure exception if result actually underflows.
4687 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4688 (efx8): Remove variable.
4689 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4690 case. Ensure exception if result actually underflows.
4691 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4692 (efx8): Remove variable.
4693 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4694 case. Ensure exception if result actually underflows.
4695 * math/auto-libm-test-in: Add more tests of erf.
4696 * math/auto-libm-test-out: Regenerated.
4698 2014-05-14 Andreas Schwab <schwab@suse.de>
4700 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4701 Remove code conditionalized on USE___THREAD.
4703 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4704 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4707 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4709 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4710 Define unconditionally.
4711 (__ASSUME_O_CLOEXEC): Likewise.
4712 (__ASSUME_SOCK_CLOEXEC): Likewise.
4713 (__ASSUME_IN_NONBLOCK): Likewise.
4714 (__ASSUME_PIPE2): Likewise.
4715 (__ASSUME_EVENTFD2): Likewise.
4716 (__ASSUME_SIGNALFD4): Likewise.
4717 (__ASSUME_DUP3): Likewise.
4718 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4719 (__ASSUME_DUP3): Do not define.
4720 (__ASSUME_EVENTFD2): Likewise.
4721 (__ASSUME_IN_NONBLOCK): Likewise.
4722 (__ASSUME_O_CLOEXEC): Likewise.
4723 (__ASSUME_PIPE2): Likewise.
4724 (__ASSUME_SIGNALFD4): Likewise.
4725 (__ASSUME_SOCK_CLOEXEC): Likewise.
4726 (__ASSUME_UTIMES): Undefine.
4727 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4728 (__ASSUME_UTIMES): Do not define.
4729 (__ASSUME_O_CLOEXEC): Likewise.
4730 (__ASSUME_SOCK_CLOEXEC): Likewise.
4731 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4732 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4734 (__ASSUME_PIPE2): Likewise.
4735 (__ASSUME_EVENTFD2): Likewise.
4736 (__ASSUME_SIGNALFD4): Likewise.
4737 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4738 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4740 (__ASSUME_EVENTFD2): Likewise.
4741 (__ASSUME_SIGNALFD4): Likewise.
4742 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4743 (__ASSUME_32BITUIDS): Likewise.
4744 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4745 (__ASSUME_IPC64): Likewise.
4746 (__ASSUME_ST_INO_64_BIT): Likewise.
4747 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4748 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4749 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4750 (__ASSUME_UTIMES): Do not define.
4751 (__ASSUME_PSELECT): Likewise.
4752 (__ASSUME_PPOLL): Likewise.
4753 (__ASSUME_O_CLOEXEC): Likewise.
4754 (__ASSUME_SOCK_CLOEXEC): Likewise.
4755 (__ASSUME_IN_NONBLOCK): Likewise.
4756 (__ASSUME_PIPE2): Likewise.
4757 (__ASSUME_EVENTFD2): Likewise.
4758 (__ASSUME_SIGNALFD4): Likewise.
4759 (__ASSUME_DUP3): Likewise.
4760 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4761 (__ASSUME_UTIMES): Likewise.
4762 (__ASSUME_O_CLOEXEC): Likewise.
4763 (__ASSUME_SOCK_CLOEXEC): Likewise.
4764 (__ASSUME_IN_NONBLOCK): Likewise.
4765 (__ASSUME_PIPE2): Likewise.
4766 (__ASSUME_EVENTFD2): Likewise.
4767 (__ASSUME_SIGNALFD4): Likewise.
4768 (__ASSUME_DUP3): Likewise.
4769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4770 (__ASSUME_UTIMES): Likewise.
4771 (__ASSUME_O_CLOEXEC): Likewise.
4772 (__ASSUME_SOCK_CLOEXEC): Likewise.
4773 (__ASSUME_IN_NONBLOCK): Likewise.
4774 (__ASSUME_PIPE2): Likewise.
4775 (__ASSUME_EVENTFD2): Likewise.
4776 (__ASSUME_SIGNALFD4): Likewise.
4777 (__ASSUME_DUP3): Likewise.
4778 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4780 (__ASSUME_UTIMES): Likewise.
4781 (__ASSUME_EVENTFD2): Likewise.
4782 (__ASSUME_SIGNALFD4): Likewise.
4783 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4784 (__ASSUME_O_CLOEXEC): Likewise.
4785 (__ASSUME_SOCK_CLOEXEC): Likewise.
4786 (__ASSUME_IN_NONBLOCK): Likewise.
4787 (__ASSUME_PIPE2): Likewise.
4788 (__ASSUME_EVENTFD2): Likewise.
4789 (__ASSUME_SIGNALFD4): Likewise.
4790 (__ASSUME_DUP3): Likewise.
4791 (__ASSUME_UTIMES): Undefine.
4793 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4794 feclearexcept. Remove symbol versioning code.
4795 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4796 symbol versioning code.
4797 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4798 symbol versioning code.
4799 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4800 feupdateenv. Remove symbol versioning code.
4801 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4802 fegetexceptflag. Remove symbol versioning code.
4803 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4804 fesetexceptflag. Remove symbol versioning code.
4805 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4806 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4807 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4808 (__posix_fadvise64_l32): Remove prototype.
4809 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4812 2014-05-13 Roland McGrath <roland@hack.frob.com>
4814 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4815 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4816 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4817 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4819 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4821 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4822 current working directory
4824 2014-05-13 Roland McGrath <roland@hack.frob.com>
4826 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4827 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4828 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4829 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4830 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4831 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4832 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4833 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4834 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4835 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4836 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4837 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4838 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4839 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4840 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4841 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4842 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4843 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4844 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4845 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4846 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4847 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4848 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4849 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4850 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4851 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4852 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4853 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4854 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4855 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4856 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4857 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4858 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4859 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4860 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4861 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4862 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4863 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4864 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4865 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4866 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4867 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4869 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4870 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4872 * sysdeps/unix/sysv/linux/arm/Makefile
4873 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4874 Add rt-aeabi_unwind_cpp_pr1.
4875 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4876 Add nptl-aeabi_unwind_cpp_pr1.
4877 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4878 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4879 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4880 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4881 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4882 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4884 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4885 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4886 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4887 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4889 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4890 Deconditionalize the code that was previously under [RESET_PID].
4891 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4893 * sysdeps/generic/exit-thread.h: New file.
4894 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4895 * include/unistd.h (__exit_thread): Remove declaration.
4896 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4897 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4898 * csu/libc-start.c: Include <exit-thread.h>.
4899 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4900 * nptl/pthread_create.c: Include <exit-thread.h>.
4901 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4902 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4903 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4904 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4905 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4906 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4907 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4908 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4909 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4910 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4911 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4912 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4913 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4914 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4915 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4916 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4917 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4919 2014-05-13 Andreas Schwab <schwab@suse.de>
4921 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4923 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4925 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4926 (__ASSUME_UTIMES): Do not condition on kernel version.
4927 (__ASSUME_PSELECT): Define unconditionally.
4928 (__ASSUME_PPOLL): Likewise.
4929 (__ASSUME_ATFCTS): Likewise.
4930 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4931 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4932 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4933 (__ASSUME_UTIMENSAT): Define unconditionally.
4934 (__ASSUME_PRIVATE_FUTEX): Likewise.
4935 (__ASSUME_FALLOCATE): Likewise.
4936 (__ASSUME_O_CLOEXEC): Likewise.
4937 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4938 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4939 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4940 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4941 (__ASSUME_IN_NONBLOCK): Likewise.
4942 (__ASSUME_PIPE2): Likewise.
4943 (__ASSUME_EVENTFD2): Likewise.
4944 (__ASSUME_SIGNALFD4): Likewise.
4945 (__ASSUME_DUP3): Likewise.
4946 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4947 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4948 (__ASSUME_AT_RANDOM): Likewise.
4949 (__ASSUME_PREADV): Likewise.
4950 (__ASSUME_PWRITEV): Likewise.
4951 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4952 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4953 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4954 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4955 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4956 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4957 (__ASSUME_O_CLOEXEC): Define unconditionally.
4958 (__ASSUME_PSELECT): Do not undefine conditionally.
4959 (__ASSUME_PPOLL): Likewise.
4960 (__ASSUME_ATFCTS): Likewise.
4961 (__ASSUME_SET_ROBUST_LIST): Likewise.
4962 (__ASSUME_UTIMENSAT): Likewise.
4963 (__ASSUME_FDATASYNC): Define unconditionally.
4964 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4965 (__ASSUME_SIGFRAME_V2): Likewise.
4966 )__ASSUME_EVENTFD2): Likewise.
4967 (__ASSUME_SIGNALFD4): Likewise.
4968 (__ASSUME_PSELECT): Do not undefine conditionally.
4969 (__ASSUME_PPOLL): Likewise.
4970 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4971 (__ASSUME_PSELECT): Define unconditionally.
4972 (__ASSUME_PPOLL): Likewise.
4973 (__ASSUME_O_CLOEXEC): Likewise.
4974 (__ASSUME_SOCK_CLOEXEC): Likewise.
4975 (__ASSUME_IN_NONBLOCK): Likewise.
4976 (__ASSUME_PIPE2): Likewise.
4977 (__ASSUME_EVENTFD2): Likewise.
4978 (__ASSUME_SIGNALFD4): Likewise.
4979 (__ASSUME_DUP3): Likewise.
4980 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4981 (__ASSUME_O_CLOEXEC): Likewise.
4982 (__ASSUME_SOCK_CLOEXEC): Likewise.
4983 (__ASSUME_IN_NONBLOCK): Likewise.
4984 (__ASSUME_PIPE2): Likewise.
4985 (__ASSUME_EVENTFD2): Likewise.
4986 (__ASSUME_SIGNALFD4): Likewise.
4987 (__ASSUME_DUP3): Likewise.
4988 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4989 (__ASSUME_EVENTFD2): Likewise.
4990 (__ASSUME_SIGNALFD4): Likewise.
4991 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4993 2014-05-12 Andreas Schwab <schwab@suse.de>
4996 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4997 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4998 than maximum RPC packet size.
4999 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5000 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5001 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5002 (_nss_nis_getservbyport_r): Likewise.
5004 2014-05-12 Will Newton <will.newton@linaro.org>
5006 * malloc/Makefile (tests): Add tst-mallopt.
5007 * malloc/tst-mallopt.c: New file.
5009 2014-05-09 Roland McGrath <roland@hack.frob.com>
5011 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5012 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5014 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5016 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5017 (tst-tlsmod6.so): Likewise.
5019 2014-05-09 Roland McGrath <roland@hack.frob.com>
5021 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5023 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5026 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5027 and <dl-procinfo.h>.
5028 (__fegetenv): Save SSE state in envp->__eip if supported.
5029 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5030 envp->__eip if supported.
5031 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5032 and <dl-procinfo.h>.
5033 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5034 __data_offset and __data_selector in environment to 0. Set SSE
5036 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5038 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5040 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5042 2014-05-09 Will Newton <will.newton@linaro.org>
5044 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5045 and libc_relro_required for ARM.
5046 * sysdeps/arm/preconfigure: Regenerate.
5048 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5049 Stefan Liebler <stli@linux.vnet.ibm.com>
5051 * config.make.in (enable-lock-elision): New Makefile variable.
5052 * configure.ac: Likewise.
5053 * configure: Regenerate.
5054 * sysdeps/s390/configure.ac:
5055 Add check for gcc transactions support.
5056 * sysdeps/s390/configure: Regenerate.
5057 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5058 Build elision files if enabled.
5059 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5060 Add lock elision support for s390.
5061 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5062 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5063 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5064 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5065 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5066 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5067 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5069 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5071 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5073 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5075 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5076 (__lll_timedlock_elision, __lll_lock_elision)
5077 (__lll_unlock_elision, __lll_trylock_elision)
5078 (lll_timedlock_elision, lll_lock_elision)
5079 (lll_unlock_elision, lll_trylock_elision): Add.
5080 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5081 (pthread_mutex_t): Add lock elision support for s390.
5083 2014-05-14 Wilco <wdijkstr@arm.com>
5085 * sysdeps/arm/fclrexcpt.c: Cleanup.
5086 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5087 * sysdeps/arm/feenablxcpt.c: Cleanup.
5088 * sysdeps/arm/fegetenv.c: Cleanup.
5089 * sysdeps/arm/fegetexcept.c: Cleanup.
5090 * sysdeps/arm/fegetround.c: Cleanup.
5091 * sysdeps/arm/feholdexcpt.c: Cleanup.
5092 * sysdeps/arm/fesetenv.c: Cleanup.
5093 * sysdeps/arm/fesetround.c: Cleanup.
5094 * sysdeps/arm/feupdateenv.c: Cleanup.
5095 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5096 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5097 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5098 * sysdeps/arm/ftestexcept.c: Cleanup.
5099 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5100 * sysdeps/arm/setfpucw.c: Cleanup.
5102 2014-05-09 Will Newton <will.newton@linaro.org>
5104 * sysdeps/arm/armv7/strcmp.S: New file.
5105 * NEWS: Mention addition of ARMv7 optimized strcmp.
5107 2014-05-08 Roland McGrath <roland@hack.frob.com>
5109 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5110 look for %.ac rather than %.in.
5112 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5113 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5114 * sysdeps/mach/hurd/configure: Regenerated.
5115 * sysdeps/unix/sysv/linux/configure: Regenerated.
5117 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5119 2014-05-07 Steve Ellcey <sellcey@mips.com>
5122 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5126 2014-05-07 Andreas Schwab <schwab@suse.de>
5128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5129 when skipping over non-matching result from nscd.
5131 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5134 * nptl/sockperf.c (client): Check socket return value.
5137 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5138 nscd security class.
5140 2014-05-06 Roland McGrath <roland@hack.frob.com>
5142 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5143 * sysdeps/arm/unwind.h: ... here.
5145 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5148 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5151 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5153 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5154 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5155 multiarch strncpy for PPC64.
5156 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5157 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5159 multiarch optimizations.
5160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5161 (__libc_ifunc_impl_list): Likewise.
5162 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5163 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5164 multiarch stpncpy for PPC64.
5165 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5166 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5168 2014-05-06 Andreas Schwab <schwab@suse.de>
5171 * gmon/mcount.c (_MCOUNT_DECL): Use
5172 atomic_compare_and_exchange_bool_acq instead of
5173 catomic_compare_and_exchange_bool_acq.
5175 2014-05-05 Roland McGrath <roland@hack.frob.com>
5177 * elf/Makefile (others, install-bin): Remove pldd.
5178 (pldd-modules): Variable removed.
5179 ($(objpfx)pldd): Target removed.
5180 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5181 (others, install-bin): Append pldd here.
5182 ($(objpfx)pldd): New target.
5184 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5185 to 0, so the first #if test emitted later doesn't see it undefined.
5186 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5187 * sysdeps/gnu/errlist.c: Regenerated.
5189 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5191 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5192 [libc_hidden_builtin_def]: Define to empty value.
5193 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5194 [libc_hidden_builtin_def]: Likewise.
5195 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5196 [libc_hidden_builtin_def]: Likewise.
5197 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5198 [libc_hidden_builtin_def]: Likewise.
5199 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5200 __redirect_memcpy and define ifunc as default hidden symbol.
5201 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5202 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5204 2014-05-04 Adam Conrad <adconrad@0c3.net>
5206 * locale/iso-4217.def: Reintroduce XDR currency.
5208 2014-05-04 Allan McRae <allan@archlinux.org>
5210 * po/eo.po: Update Esperanto translation from translation project.
5212 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5214 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5215 and FEATURE_INDEX_MAX to 1.
5216 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5218 2014-05-01 Steve Ellcey <sellcey@mips.com>
5220 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5221 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5222 * iconvdata/big5.c (ONE_DIRECTION): Define.
5223 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5224 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5225 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5226 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5227 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5228 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5229 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5230 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5231 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5232 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5233 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5234 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5235 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5236 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5237 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5238 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5239 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5240 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5241 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5242 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5243 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5244 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5245 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5246 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5247 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5248 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5249 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5250 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5251 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5252 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5253 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5254 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5255 * iconvdata/johab.c (ONE_DIRECTION): Define.
5256 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5257 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5258 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5259 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5260 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5261 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5262 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5263 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5264 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5265 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5267 2014-05-01 Roland McGrath <roland@hack.frob.com>
5269 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5270 (_IO_JUMPS_OFFSET): Define to 0.
5272 * nptl/sysdeps/pthread/bits/libc-lock.h
5273 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5274 (__libc_lock_define_initialized_recursive): Always define using
5275 initializer. Modern compilers treat uninitialized (implicit zero) and
5276 explicit zero initializers the same (i.e. put the datum in bss).
5278 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5280 * nscd/nscd-client.h: Include <string.h>.
5282 2014-05-01 David S. Miller <davem@davemloft.net>
5285 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5286 multiple zero bytes exist at the end of a string.
5287 Reported by Aurelien Jarno <aurelien@aurel32.net>
5289 * string/test-strcmp.c (check): Add explicit test for situations where
5290 there are multiple zero bytes after the first.
5292 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5295 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5296 when compiling wprintf.
5297 * stdio-common/tstdiomisc.c (t3): New function.
5300 2014-05-01 Steve Ellcey <sellcey@mips.com>
5302 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5303 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5304 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5305 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5307 2014-05-01 Steve Ellcey <sellcey@mips.com>
5309 * stdlib/longlong.h: Updated from GCC.
5311 2014-05-01 Will Newton <will.newton@linaro.org>
5312 Bernard Ogden <bernie.ogden@linaro.org>
5314 * NEWS: Update fixed bug list.
5317 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5319 2014-04-30 David S. Miller <davem@davemloft.net>
5321 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5322 (libc_feholdexcept_setround_sparc_ctx): New function.
5323 (libc_fesetenv_sparc_ctx): Likewise.
5324 (libc_feupdateenv_sparc_ctx): Likewise.
5325 (libc_feholdsetround_sparc_ctx): Likewise.
5326 (libc_feholdexcept_setround_ctx): Define.
5327 (libc_feholdexcept_setroundf_ctx): Likewise.
5328 (libc_feholdexcept_setroundl_ctx): Likewise.
5329 (libc_fesetenv_ctx): Likewise.
5330 (libc_fesetenvf_ctx): Likewise.
5331 (libc_fesetenvl_ctx): Likewise.
5332 (libc_feupdateenv_ctx): Likewise.
5333 (libc_feupdateenvf_ctx): Likewise.
5334 (libc_feupdateenvl_ctx): Likewise.
5335 (libc_feresetround_ctx): Likewise.
5336 (libc_feresetroundf_ctx): Likewise.
5337 (libc_feresetroundl_ctx): Likewise.
5338 (libc_feholdsetround_ctx): Likewise.
5339 (libc_feholdsetroundf_ctx): Likewise.
5340 (libc_feholdsetroundl_ctx): Likewise.
5342 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5343 with __USE_GNU instead of XOPEN cpp guards.
5345 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5348 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5349 with XOPEN cpp guards.
5351 2014-04-30 Julian Brown <julian@codesourcery.com>
5354 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5357 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5360 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5362 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5363 * sysdeps/unix/sysv/linux/configure: Regenerated.
5364 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5365 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5366 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5367 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5368 * README: Update reference to required Linux kernel version.
5369 * manual/install.texi (Linux): Update reference to required Linux
5370 kernel headers version.
5371 * INSTALL: Regenerated.
5373 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5375 [POSIX] (limits.h): Likewise.
5376 [POSIX] (math.h): Likewise.
5377 [POSIX] (sys/wait.h): Likewise.
5378 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5380 [POSIX] (stddef.h): Do not allow header inclusion.
5382 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5384 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5386 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5388 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5389 Return immediately after lll_futex_wake.
5391 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5394 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5396 (datahead_init_pos): Call datahead_init_common early.
5397 (datahead_init_neg): Likewise.
5399 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5400 datahead_init_neg): New functions.
5401 * nscd/aicache.c (addhstaiX): Use them.
5402 * nscd/grpcache.c (cache_addgr): Likewise.
5403 * nscd/hstcache.c (cache_addhst): Likewise.
5404 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5405 * nscd/netgroupcache.c (do_notfound): Likewise.
5406 (addgetnetgrentX): Likewise.
5407 (addinnetgrX): Likewise.
5408 * nscd/pwdcache.c (cache_addpw): Likewise.
5409 * nscd/servicescache.c (cache_addserv): Likewise.
5411 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5412 Atsushi Onoe <atsushi@onoe.org>
5417 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5418 one response is valid.
5419 * resolv/res_send.c (send_dg): Check for validity of other
5420 response if the current response is a referral.
5422 2014-04-29 Steve Ellcey <sellcey@mips.com>
5424 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5426 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5429 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5430 Always divide by positive zero when computing -Inf result.
5431 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5432 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5434 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5436 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5437 FPSCR if value do not change.
5438 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5439 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5440 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5441 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5442 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5443 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5446 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5448 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5449 * sysdeps/unix/sysv/linux/hppa: Move directory from
5450 ports/systeps/unix/sysv/linux/hppa.
5451 * README: Update listing for hppa-*-linux-gnu.
5453 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5456 * manual/stdio.texi (Hook functions): Fix types of stream hook
5459 * socket/sys/socket.h: Fix typo in comment.
5461 2014-04-28 Wilco <wdijkstr@arm.com>
5463 * sysdeps/arm/fenv_private.h: New file.
5464 * sysdeps/arm/math_private.h: New file.
5465 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5467 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5469 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5471 (La_x86_64_retval): Likewise.
5473 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5475 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5476 fpsr if value didn't change.
5477 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5478 to fpcr if value didn't change.
5479 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5480 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5481 fpsr or fpcr if value didn't change.
5482 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5483 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5484 fpcr if value didn't change.
5485 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5486 to fpsr if value didn't change.
5488 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5490 * nptl/tst-sem3.c: Use test-skeleton.c
5491 (main): Rename to do_test. Use return instead of
5493 * nptl/tst-sem4.c: Use test-skeleton.c
5494 (main): Rename to do_test.
5496 2014-04-22 David S. Miller <davem@davemloft.net>
5498 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5499 (struct sigaction): New struct member __glibc_reserved0, change
5500 type of sa_flags to int.
5502 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5504 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5505 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5507 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5509 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5510 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5512 2014-04-22 Will Newton <will.newton@linaro.org>
5513 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5515 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5516 (__longjmp): Add longjmp and longjmp_target SystemTap
5518 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5519 (__sigsetjmp): Add setjmp SystemTap probe.
5521 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5523 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5526 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5528 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5530 * sysdeps/powerpc/fpu/fenv_private.h
5531 (libc_feholdexcept_setroundl_ctx): Define to
5532 libc_feholdexcept_setround_ppc_ctx.
5533 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5534 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5535 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5536 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5538 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5540 * sysdeps/aarch64/math-tests.h: New file.
5542 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5544 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5547 Check and set bit_AVX2_Usable.
5548 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5550 (bit_AVX2): Likewise.
5551 (index_AVX2_Usable): Likewise.
5552 (CPUID_AVX2): Likewise.
5553 (HAS_AVX2): Likewise.
5555 2014-04-17 Will Newton <will.newton@linaro.org>
5557 * manual/setjmp.texi (System V contexts): Add note that
5558 calling setcontext on a context created by a call to a
5559 signal handler is undefined. Update text to note that
5560 setcontext from a signal handler is possible but not
5564 * stdlib/tst-setcontext.c: Include signal.h.
5565 (main): Check that the signal stack before and
5566 after swapcontext is the same.
5568 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5569 Re-implement to restore registers in user code and avoid
5570 rt_sigreturn system call.
5572 2014-04-17 Wilco <wdijkstr@arm.com>
5574 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5575 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5576 * math/test-fenv.c: Skip exception trap tests on targets which only
5577 support non-stop mode.
5579 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5580 Wilco Dijkstra <wilco.dijkstra@arm.com>
5582 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5583 (libc_feholdsetround_aarch64_ctx)
5584 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5585 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5586 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5587 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5588 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5589 (libc_feresetround_noexl_ctx): Define.
5591 2014-04-16 Richard Henderson <rth@redhat.com>
5593 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5595 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5598 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5599 const from the non-libc, non-ldso copy.
5601 * sysdeps/alpha/libm-test-ulps: Regenerate.
5603 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5604 Wilco Dijkstra <wilco.dijkstra@arm.com>
5606 * sysdeps/aarch64/fpu/math_private.h: New file.
5608 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5610 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5612 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5614 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5615 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5617 Intel MPX bound registers before _dl_profile_fixup.
5618 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5619 registers after _dl_profile_fixup. Save and restore bound
5620 registers bnd0/bnd1 when calling _dl_call_pltexit.
5621 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5622 (LR_BND_OFFSET): Likewise.
5623 (LRV_BND0_OFFSET): Likewise.
5624 (LRV_BND1_OFFSET): Likewise.
5626 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5628 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5630 * sysdeps/mach/hurd/i386/tls.h: ... here.
5631 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5632 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5635 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5637 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5639 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5641 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5643 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5646 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5647 * sysdeps/s390/configure: Regenerate.
5650 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5651 Set round-to-nearest internally to reduce error accumulation.
5653 2014-04-16 Alan Modra <amodra@gmail.com>
5657 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5658 * math/libm-test.inc (frexp_test_data): Add tests.
5659 * NEWS: Update fixed bug list.
5661 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5663 * benchtests/Makefile: Depend on libraries in build directory.
5664 (bench-math): Separate out math tests.
5665 (bench-pthread): Separate out pthread tests.
5666 (bench): Include math and pthread tests.
5668 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5671 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5672 _dl_debug_initialize.
5674 * configure.ac: Remove SELinux header check.
5675 * configure: Regenerate.
5676 * nscd/selinux.c (perms): Array of const char* to permission names.
5677 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5678 default policy. Call string_to_security_class and string_to_av_perm to
5679 translate strings. Enforce default policy and call avs_has_perm with
5680 results of translated strings.
5682 2014-04-13 David S. Miller <davem@davemloft.net>
5684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5686 2014-04-12 Allan McRae <allan@archlinux.org>
5689 * manual/string.texi (Collation Functions): Fix qsort argument
5691 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5693 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5695 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5696 Make the test a no-op if there are no exceptions defined.
5698 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5700 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5701 enable-hardcoded-path-in-tests
5703 2014-04-11 Will Newton <will.newton@linaro.org>
5705 * benchtests/Makefile (extra-objs): Add json-lib.o.
5706 (bench-func): Tidy up JSON output.
5707 * benchtests/bench-skeleton.c: Include json-lib.h.
5708 (main): Use JSON library functions to do output of
5710 * benchtests/bench-timing-type.c (main): Output the
5711 timing type simply, leaving formatting to the user.
5712 * benchtests/json-lib.c: New file.
5713 * benchtests/json-lib.h: Likewise.
5715 2014-04-11 Torvald Riegel <triegel@redhat.com>
5718 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5719 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5720 memory barriers. Add comments.
5721 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5722 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5723 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5724 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5725 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5726 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5728 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5730 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5731 * sysdeps/s390/s390-64/configure.ac: ... this ...
5732 * sysdeps/s390/configure.ac: ... to here.
5733 * sysdeps/s390/s390-32/configure: Delete file.
5734 * sysdeps/s390/s390-64/configure: Delete file.
5735 * sysdeps/s390/configure: Regenerate.
5737 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5739 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5741 2014-04-11 Will Newton <will.newton@linaro.org>
5743 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5744 to zero if it is not defined elsewhere. (mtrim): Test
5745 the value of MALLOC_DEBUG with #if rather than #ifdef.
5747 2014-04-10 Torvald Riegel <triegel@redhat.com>
5749 * benchtests/pthread_once-inputs: New file.
5750 * benchtests/pthread_once-source.c: New file.
5751 * benchtests/README: Update documentation.
5753 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5754 H.J. Lu <hongjiu.lu@intel.com>
5756 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5757 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5758 * sysdeps/x86_64/configure: Regenerated.
5759 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5761 (REGISTER_SAVE_RAX): Likewise.
5762 (REGISTER_SAVE_RCX): Likewise.
5763 (REGISTER_SAVE_RDX): Likewise.
5764 (REGISTER_SAVE_RSI): Likewise.
5765 (REGISTER_SAVE_RDI): Likewise.
5766 (REGISTER_SAVE_R8): Likewise.
5767 (REGISTER_SAVE_R9): Likewise.
5768 (REGISTER_SAVE_BND0): Likewise.
5769 (REGISTER_SAVE_BND1): Likewise.
5770 (REGISTER_SAVE_BND2): Likewise.
5771 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5772 bound registers when calling _dl_fixup.
5774 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5777 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5779 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5780 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5781 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5782 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5783 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5784 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5785 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5787 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5790 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5791 pathconf(_PC_NAME_MAX).
5793 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5795 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5797 (__PTHREAD_SPINS): Move definition to ...
5798 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5799 (__PTHREAD_SPINS): ... here.
5800 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5801 (__PTHREAD_SPIN): Likewise.
5802 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5803 (__PTHREAD_SPIN): Likewise.
5804 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5805 (__PTHREAD_SPIN): Likewise.
5806 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5807 (__PTHREAD_SPIN): Likewise.
5808 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5809 (__PTHREAD_SPIN): Likewise.
5810 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5811 (__PTHREAD_SPIN): Likewise.
5812 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5813 (__PTHREAD_SPIN): Likewise.
5814 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5815 (__PTHREAD_SPIN): Likewise.
5816 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5817 (__PTHREAD_SPIN): Likewise.
5818 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5819 (__PTHREAD_SPIN): Likewise.
5820 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5821 (__PTHREAD_SPIN): Likewise.
5822 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5823 (__PTHREAD_SPIN): Likewise.
5825 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5826 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5827 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5828 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5830 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5831 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5832 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5833 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5835 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5836 strlen symbol for non multi-arch builds.
5837 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5838 missing hidden_def and weak_alias.
5840 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5842 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5844 2014-04-07 Will Newton <will.newton@linaro.org>
5846 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5847 and contents. [!_LIBC] Remove #ifndef and contents.
5848 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5849 * string/memccpy.c (__memccpy): Use ANSI prototype.
5850 * string/memfrob.c (memfrob): Likewise.
5851 * string/strcoll.c (STRCOLL): Likewise.
5852 * string/strlen.c (strlen): Likewise.
5853 * string/strtok.c (STRTOK): Likewise.
5854 * string/strcat.c: Remove unused #include of memcopy.h.
5855 (strcat): Use ANSI prototype.
5856 * string/strchr.c: Remove unused #include of memcopy.h.
5857 (strchr): Use ANSI prototype.
5858 * string/strcmp.c: Remove unused #include of memcopy.h.
5859 (strcmp): Use ANSI prototype.
5860 * string/strcpy.c: Remove unused #include of memcopy.h.
5861 (strcpy): Use ANSI prototype.
5863 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5865 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5866 * config.make.in (config-extra-cppflags): Set it from
5867 libc_extra_cppflags.
5868 * configure.ac (libc_extra_cflags): Make it accumulate over
5869 configure fragments.
5870 (libc_extra_cppflags): New flag.
5871 * configure. Regenerate.
5872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5873 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5874 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5878 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5879 result for FE_DOWNWARD rounding mode.
5880 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5884 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5886 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5887 in function argument name.
5889 2014-04-03 David Svoboda <svoboda@cert.org>
5892 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5895 2014-04-03 Roland McGrath <roland@hack.frob.com>
5897 * elf/dl-unmap-segments.h: New file.
5898 * sysdeps/generic/ldsodefs.h
5899 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5900 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5901 * elf/dl-fptr.c: Likewise.
5902 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5903 * sysdeps/aarch64/tlsdesc.c: Likewise.
5904 * sysdeps/arm/tlsdesc.c: Likewise.
5905 * sysdeps/i386/tlsdesc.c: Likewise.
5906 * sysdeps/tile/dl-runtime.c: Likewise.
5907 * sysdeps/x86_64/tlsdesc.c: Likewise.
5908 * elf/dl-load.h: New file.
5909 * elf/dl-load.c: Include it.
5910 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5911 Macros moved to dl-load.h.
5912 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5913 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5914 Use _dl_unmap_segments in place of __munmap.
5915 Break out segment-mapping loop into ...
5916 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5918 2014-04-03 Will Newton <will.newton@linaro.org>
5920 * elf/dl-lookup.c (do_lookup_x): Remove comment
5921 referring to nested function and move variable
5922 declarations down to before first use.
5924 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5928 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5930 * math/s_catanf.c (__catanf): Likewise.
5931 * math/s_catanh.c (__catanh): Likewise.
5932 * math/s_catanhf.c (__catanhf): Likewise.
5933 * math/s_catanhl.c (__catanhl): Likewise.
5934 * math/s_catanl.c (__catanl): Likewise.
5935 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5936 by positive zero when computing -Inf result.
5937 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5938 (catanh_test): Likewise.
5939 * sysdeps/i386/fpu/libm-test-ulps: Update.
5940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5943 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5944 instead of using underflowing value in computing result.
5945 * math/s_clog10.c (__clog10): Likewise.
5946 * math/s_clog10f.c (__clog10f): Likewise.
5947 * math/s_clog10l.c (__clog10l): Likewise.
5948 * math/s_clogf.c (__clogf): Likewise.
5949 * math/s_clogl.c (__clogl): Likewise.
5950 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5951 (clog10_test): Likewise.
5952 * sysdeps/i386/fpu/libm-test-ulps: Update.
5953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5955 2014-04-02 Alan Modra <amodra@gmail.com>
5958 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5959 output when value is near a power of two. Use int64_t for lx and
5960 remove casts. Use decimal rather than hex exponent constants.
5961 Don't use long double multiplication when double will suffice.
5962 * math/libm-test.inc (nextafter_test_data): Add tests.
5963 * NEWS: Add 16739 and 16786 to bug list.
5965 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5967 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5969 2014-04-01 Will Newton <will.newton@linaro.org>
5971 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5972 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5974 2014-04-01 Florian Weimer <fweimer@redhat.com>
5977 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5978 * nptl/tst-setuid2.c: New file.
5979 * nptl/Makefile (xtests): Add tst-setuid2.
5981 2014-04-01 Alan Modra <amodra@gmail.com>
5984 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5986 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5990 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5991 set errno as appropriate.
5992 * math/w_scalbf.c (__scalbf): Likewise.
5993 * math/w_scalbl.c (__scalbl): Likewise.
5994 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5995 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5996 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6000 * math/w_atan2.c: Include <errno.h>.
6001 (__atan2): Set errno for result underflowing to zero.
6002 * math/w_atan2f.c: Include <errno.h>.
6003 (__atan2f): Set errno for result underflowing to zero.
6004 * math/w_atan2l.c: Include <errno.h>.
6005 (__atan2l): Set errno for result underflowing to zero.
6006 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6008 * math/auto-libm-test-out: Regenerated.
6010 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6013 Encode instruction correctly in little endian.
6014 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6016 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6018 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6020 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6023 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6026 * sysdeps/unix/sysv/linux/kernel-features.h
6027 [__sparc__ && !__arch64__ && !__sparc_v9__]
6028 (__ASSUME_SET_ROBUST_LIST): Do not define.
6029 [__sparc__ && !__arch64__ && !__sparc_v9__]
6030 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6031 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6033 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6034 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6035 (__ASSUME_REQUEUE_PI): Likewise.
6036 (__ASSUME_SET_ROBUST_LIST): Likewise.
6037 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6038 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6040 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6041 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6043 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6045 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6047 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6048 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6050 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6051 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6055 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6056 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6057 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6059 2014-03-31 Will Newton <will.newton@linaro.org>
6061 * benchtests/Makefile (bench): Add ffs and ffsll to list
6063 * benchtests/ffs-inputs: New file.
6064 * benchtests/ffsll-inputs: Likewise.
6066 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6069 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6070 too large before casting to int.
6071 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6072 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6073 * math/libm-test.inc (scalb_test_data): Add more tests.
6075 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6077 * benchtests/Makefile (DETAILED_OPT): New make option.
6078 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6080 * benchtests/bench-skeleton.c: Include stdbool.h.
6081 (main): Store and print timings per input.
6082 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6083 member to each argument value.
6084 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6085 (_print_arg_data): Initialize per-input timing to 0.
6087 * benchtests/Makefile (timing-type): New binary.
6088 (bench-clean): Also remove bench-timing-type.
6089 (bench): New target for timing-type.
6090 (bench-func): Print output in JSON format.
6091 * benchtests/bench-skeleton.c (main): Print output in JSON
6093 * benchtests/bench-timing-type.c: New file.
6094 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6095 (TIMING_PRINT_STATS): Remove.
6096 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6099 * benchtests/bench-modf.c: Remove.
6100 * benchtests/modf-inputs: New inputs file.
6102 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6105 * math/s_clog10.c (M_PI_LOG10E): New macro.
6106 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6107 imaginary parts are 0.
6108 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6109 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6110 imaginary parts are 0.
6111 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6112 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6113 imaginary parts are 0.
6114 * math/libm-test.inc (clog10_test_data): Update expected results
6115 for when real and imaginary parts are 0.
6117 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6119 * elf/dl-load.c: Finish conversion of __builtin_expect into
6122 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6125 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6126 1+x for argument with exponent below -67.
6127 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6129 * math/auto-libm-test-in: Add more tests of exp.
6130 * math/auto-libm-test-out: Regenerated.
6132 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6135 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6136 (nscd_getnetgrent): Use it.
6139 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6142 2014-03-27 Andi Kleen <ak@linux.intel.com>
6144 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6145 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6146 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6147 (lll_robust_unlock): Remove out of line section. Use cfi
6149 (LLL_STUB_UNWIND_INFO*): Remove.
6150 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6151 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6152 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6153 (lll_robust_unlock): Remove out of line section. Use cfi
6155 (LLL_STUB_UNWIND_INFO*): Remove.
6157 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6160 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6163 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6165 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6167 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6170 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6172 * math/test-fenv-preserve.c: New file.
6173 * math/Makefile (tests): Add test-fenv-preserve.
6175 2014-03-26 Will Newton <will.newton@linaro.org>
6177 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6179 2014-03-25 Roland McGrath <roland@hack.frob.com>
6181 * scripts/versionlist.awk: Partition the version sets and emit all
6182 GLIBC_* (sorted) before all others (sorted).
6184 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6186 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6187 GLIBC_2.2.5 version.
6189 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6191 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6194 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6199 2014-03-25 Andreas Schwab <schwab@suse.de>
6201 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6202 label to be used after in6ailist is initialized.
6204 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6206 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6207 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6209 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6213 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6215 (fp_formats): Update initializers.
6216 (init_fp_formats): Initialize new field.
6217 (output_for_one_input_case): Allow underflow for results up to
6219 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6220 * math/auto-libm-test-in: Don't mark some underflows from asin and
6222 * math/auto-libm-test-out: Regenerated.
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6226 2014-03-25 Andreas Schwab <schwab@suse.de>
6228 * libio/Makefile (tst-ftell-partial-wide-ENV)
6229 (tst-ftell-active-handler-ENV): Define.
6231 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6233 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6235 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6237 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6239 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6241 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6242 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6243 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6245 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6248 * elf/dl-load.c (open_verify): Add mode parameter.
6249 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6250 (open_path): Change from boolean 'secure' to complete flag 'mode'
6251 (_dl_map_object): Adjust.
6252 * elf/Makefile (tests): Add tst-dlopen-aout.
6253 * elf/tst-dlopen-aout.c: New test.
6255 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6258 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6259 (struct stat): Rename member pad0 to __glibc_reserved0.
6262 * sysdeps/s390/s390-32/bits/wordsize.h
6263 (__WORDSIZE32_SIZE_ULONG): New define.
6264 * sysdeps/s390/s390-64/bits/wordsize.h
6265 (__WORDSIZE32_SIZE_ULONG): Likewise.
6266 * sysdeps/generic/stdint.h (SIZE_MAX):
6267 Define as UL if __WORDSIZE32_SIZE_ULONG.
6270 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6271 (__glibc_reserved0): New variable.
6272 (sa_flags): Change type to int.
6274 * posix/Makefile (before-compile): Use += before-compile instead
6277 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6278 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6280 2014-03-20 Andreas Schwab <schwab@suse.de>
6283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6284 non-matching result from nscd.
6286 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6288 * scripts/bench.py: Moved to ...
6289 * benchtests/scripts/bench.py: ... here.
6290 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6292 2014-03-24 Andreas Schwab <schwab@suse.de>
6295 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6296 alloca_account and account alloca use for struct in6ailist.
6298 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6301 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6302 rounding mode to recompute results that overflow to infinity or
6304 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6306 * math/auto-libm-test-out: Regenerated.
6307 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6308 (ccosh_test): Likewise.
6309 (csin_test_data): Use plus_oflow.
6310 (csin_test): Use ALL_RM_TEST.
6311 (csinh_test_data): Use plus_oflow.
6312 (csinh_test): Use ALL_RM_TEST.
6313 * sysdeps/i386/fpu/libm-test-ulps: Update.
6314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6316 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6318 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6319 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6320 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6323 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6325 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6326 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6327 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6328 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6330 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6331 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6333 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6334 * sysdeps/i386/fpu/libm-test-ulps: Update.
6335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6337 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6339 * scripts/bench.pl: Remove file.
6340 * scripts/bench.py: New benchmark script.
6341 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6342 * benchtests/README: Mention python dependency.
6343 * scripts/pylintrc: New file.
6344 * scripts/pylint: New file.
6346 * bits/mathdef.h: Use #ifdef instead of #if.
6347 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6348 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6349 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6350 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6351 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6352 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6354 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6355 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6357 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6359 and strpbrk-ppc64 objects.
6360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6361 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6362 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6363 multiarch strpbrk for POWER7.
6364 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6365 multiarch strpbrk for PPC64.
6366 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6368 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6371 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6373 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6374 (atan_test): Likewise.
6375 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6376 (atanh_test): Use ALL_RM_TEST.
6377 (atan2_test_data): Likewise.
6378 (cabs_test): Likewise.
6379 (cacosh_test): Likewise.
6380 (carg_test): Likewise.
6381 (casin_test): Likewise.
6382 (casinh_test): Likewise.
6383 (cbrt_test): Likewise.
6384 (csqrt_test): Likewise.
6385 (erf_test): Likewise.
6386 (erfc_test): Likewise.
6387 (pow10_test): Likewise.
6388 (exp2_test): Likewise.
6389 (hypot_test): Likewise.
6390 (j0_test): Likewise.
6391 (j1_test): Likewise.
6392 (lgamma_test): Likewise.
6393 (gamma_test): Likewise.
6394 (sincos_test): Likewise.
6395 (tanh_test): Likewise.
6396 (y0_test): Likewise.
6397 (y1_test): Likewise.
6398 * sysdeps/i386/fpu/libm-test-ulps: Update.
6399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6401 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6403 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6405 and strcspn-ppc64 objects.
6406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6407 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6408 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6409 multiarch strcspn for POWER7.
6410 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6411 multiarch strcspn for PPC64.
6412 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6414 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6417 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6419 * math/gen-libm-test.pl (generate_testfile): Expect only function
6420 name as argument to AUTO_TESTS_* and pass results for all rounding
6421 modes to parse_args.
6422 (parse_auto_input): Separate inputs of automatic tests from
6423 outputs before storing in %auto_tests.
6424 * math/libm-test.inc (acos_test_data): Update call to
6426 (acos_test): Use ALL_RM_TEST.
6427 (acos_tonearest_test_data): Remove.
6428 (acos_test_tonearest): Likewise.
6429 (acos_towardzero_test_data): Likewise.
6430 (acos_test_towardzero): Likewise.
6431 (acos_downward_test_data): Likewise.
6432 (acos_test_downward): Likewise.
6433 (acos_upward_test_data): Likewise.
6434 (acos_test_upward): Likewise.
6435 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6436 (asin_test_data): Likewise.
6437 (asin_test): Use ALL_RM_TEST.
6438 (asin_tonearest_test_data): Remove.
6439 (asin_test_tonearest): Likewise.
6440 (asin_towardzero_test_data): Likewise.
6441 (asin_test_towardzero): Likewise.
6442 (asin_downward_test_data): Likewise.
6443 (asin_test_downward): Likewise.
6444 (asin_upward_test_data): Likewise.
6445 (asin_test_upward): Likewise.
6446 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6447 (atan_test_data): Likewise.
6448 (atanh_test_data): Likewise.
6449 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6450 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6451 (carg_test_data): Likewise.
6452 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6453 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6454 (ccosh_test_data): Likewise.
6455 (cexp_test_data): Likewise.
6456 (clog_test_data): Likewise.
6457 (clog10_test_data): Likewise.
6458 (cos_test_data): Update call to AUTO_TESTS_f_f.
6459 (cos_test): Use ALL_RM_TEST.
6460 (cos_tonearest_test_data): Remove.
6461 (cos_test_tonearest): Likewise.
6462 (cos_towardzero_test_data): Likewise.
6463 (cos_test_towardzero): Likewise.
6464 (cos_downward_test_data): Likewise.
6465 (cos_test_downward): Likewise.
6466 (cos_upward_test_data): Likewise.
6467 (cos_test_upward): Likewise.
6468 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6469 (cosh_test): Use ALL_RM_TEST.
6470 (cosh_tonearest_test_data): Remove.
6471 (cosh_test_tonearest): Likewise.
6472 (cosh_towardzero_test_data): Likewise.
6473 (cosh_test_towardzero): Likewise.
6474 (cosh_downward_test_data): Likewise.
6475 (cosh_test_downward): Likewise.
6476 (cosh_upward_test_data): Likewise.
6477 (cosh_test_upward): Likewise.
6478 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6479 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6480 (ctan_test_data): Likewise.
6481 (ctan_test): Use ALL_RM_TEST.
6482 (ctan_tonearest_test_data): Remove.
6483 (ctan_test_tonearest): Likewise.
6484 (ctan_towardzero_test_data): Likewise.
6485 (ctan_test_towardzero): Likewise.
6486 (ctan_downward_test_data): Likewise.
6487 (ctan_test_downward): Likewise.
6488 (ctan_upward_test_data): Likewise.
6489 (ctan_test_upward): Likewise.
6490 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6491 (ctanh_test): Use ALL_RM_TEST.
6492 (ctanh_tonearest_test_data): Remove.
6493 (ctanh_test_tonearest): Likewise.
6494 (ctanh_towardzero_test_data): Likewise.
6495 (ctanh_test_towardzero): Likewise.
6496 (ctanh_downward_test_data): Likewise.
6497 (ctanh_test_downward): Likewise.
6498 (ctanh_upward_test_data): Likewise.
6499 (ctanh_test_upward): Likewise.
6500 (erf_test_data): Update call to AUTO_TESTS_f_f.
6501 (erfc_test_data): Likewise.
6502 (exp_test_data): Likewise.
6503 (exp_test): Use ALL_RM_TEST.
6504 (exp_tonearest_test_data): Remove.
6505 (exp_test_tonearest): Likewise.
6506 (exp_towardzero_test_data): Likewise.
6507 (exp_test_towardzero): Likewise.
6508 (exp_downward_test_data): Likewise.
6509 (exp_test_downward): Likewise.
6510 (exp_upward_test_data): Likewise.
6511 (exp_test_upward): Likewise.
6512 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6513 (exp10_test): Use ALL_RM_TEST.
6514 (exp10_tonearest_test_data): Remove.
6515 (exp10_test_tonearest): Likewise.
6516 (exp10_towardzero_test_data): Likewise.
6517 (exp10_test_towardzero): Likewise.
6518 (exp10_downward_test_data): Likewise.
6519 (exp10_test_downward): Likewise.
6520 (exp10_upward_test_data): Likewise.
6521 (exp10_test_upward): Likewise.
6522 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6523 (expm1_test_data): Likewise.
6524 (expm1_test): Use ALL_RM_TEST.
6525 (expm1_tonearest_test_data): Remove.
6526 (expm1_test_tonearest): Likewise.
6527 (expm1_towardzero_test_data): Likewise.
6528 (expm1_test_towardzero): Likewise.
6529 (expm1_downward_test_data): Likewise.
6530 (expm1_test_downward): Likewise.
6531 (expm1_upward_test_data): Likewise.
6532 (expm1_test_upward): Likewise.
6533 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6534 (fma_test): Use ALL_RM_TEST.
6535 (fma_towardzero_test_data): Remove.
6536 (fma_test_towardzero): Likewise.
6537 (fma_downward_test_data): Likewise.
6538 (fma_test_downward): Likewise.
6539 (fma_upward_test_data): Likewise.
6540 (fma_test_upward): Likewise.
6541 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6542 (j0_test_data): Update call to AUTO_TESTS_f_f.
6543 (j1_test_data): Likewise.
6544 (jn_test_data): Update call to AUTO_TESTS_if_f.
6545 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6546 (log_test_data): Update call to AUTO_TESTS_f_f.
6547 (log10_test_data): Likewise.
6548 (log1p_test_data): Likewise.
6549 (log2_test_data): Likewise.
6550 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6551 (pow_tonearest_test_data): Likewise.
6552 (sin_test_data): Update call to AUTO_TESTS_f_f.
6553 (sin_test): Use ALL_RM_TEST.
6554 (sin_tonearest_test_data): Remove.
6555 (sin_test_tonearest): Likewise.
6556 (sin_towardzero_test_data): Likewise.
6557 (sin_test_towardzero): Likewise.
6558 (sin_downward_test_data): Likewise.
6559 (sin_test_downward): Likewise.
6560 (sin_upward_test_data): Likewise.
6561 (sin_test_upward): Likewise.
6562 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6563 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6564 (sinh_test): Use ALL_RM_TEST.
6565 (sinh_tonearest_test_data): Remove.
6566 (sinh_test_tonearest): Likewise.
6567 (sinh_towardzero_test_data): Likewise.
6568 (sinh_test_towardzero): Likewise.
6569 (sinh_downward_test_data): Likewise.
6570 (sinh_test_downward): Likewise.
6571 (sinh_upward_test_data): Likewise.
6572 (sinh_test_upward): Likewise.
6573 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6574 (sqrt_test): Use ALL_RM_TEST.
6575 (sqrt_tonearest_test_data): Remove.
6576 (sqrt_test_tonearest): Likewise.
6577 (sqrt_towardzero_test_data): Likewise.
6578 (sqrt_test_towardzero): Likewise.
6579 (sqrt_downward_test_data): Likewise.
6580 (sqrt_test_downward): Likewise.
6581 (sqrt_upward_test_data): Likewise.
6582 (sqrt_test_upward): Likewise.
6583 (tan_test_data): Update call to AUTO_TESTS_f_f.
6584 (tan_test): Use ALL_RM_TEST.
6585 (tan_tonearest_test_data): Remove.
6586 (tan_test_tonearest): Likewise.
6587 (tan_towardzero_test_data): Likewise.
6588 (tan_test_towardzero): Likewise.
6589 (tan_downward_test_data): Likewise.
6590 (tan_test_downward): Likewise.
6591 (tan_upward_test_data): Likewise.
6592 (tan_test_upward): Likewise.
6593 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6594 (tgamma_test_data): Likewise.
6595 (y0_test_data): Likewise.
6596 (y1_test_data): Likewise.
6597 (yn_test_data): Update call to AUTO_TESTS_if_f.
6598 (main): Do not call removed functions.
6600 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6602 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6603 (ldexp_test_data): Remove.
6604 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6606 (scalb_test): Use ALL_RM_TEST.
6608 2014-03-19 Andreas Schwab <schwab@suse.de>
6610 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6612 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6615 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6616 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6617 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6618 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6619 (__ASSUME_PREADV): Undefine.
6620 (__ASSUME_PWRITEV): Likewise.
6622 2014-03-18 Roland McGrath <roland@hack.frob.com>
6624 * bits/mman-linux.h: Add comment about non-Linux use.
6625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6626 bits/mman-linux.h resting place.
6628 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6629 * bits/mman-linux.h: ... here.
6631 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6633 * conform/conformtest.pl: Add standard definition when calling C
6634 preprocessor on data files.
6635 (checknamespace): Remove unused variable.
6637 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6639 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6640 minus_oflow, plus_uflow and minus_uflow in expected results.
6641 * math/libm-test.inc (scalbn_test_data): Add more tests of
6642 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6644 (scalbn_test): Use ALL_RM_TEST.
6645 (scalbln_test_data): Add more tests of negative arguments. Use
6646 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6647 (scalbln_test): Use ALL_RM_TEST.
6649 2014-03-18 Roland McGrath <roland@hack.frob.com>
6651 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6653 2014-03-18 Will Newton <will.newton@linaro.org>
6655 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6658 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6660 * Makerules [!subdir] (check-abi): Exit with error status if a
6663 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6665 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6666 for rint. Include results for all rounding modes.
6667 (nearbyint_test): Use ALL_RM_TEST.
6668 (rint_test_data): Include all tests used for nearbyint.
6670 2014-03-17 Will Newton <will.newton@linaro.org>
6672 * nptl/sysdeps/pthread/pthread.h: Revert previous
6675 * sysdeps/generic/ldsodefs.h: Revert previous
6678 * libio/genops.c: Revert previous change.
6679 * libio/libioP.h: Likewise.
6680 * stdio-common/vfprintf.c: Likewise.
6682 * sysdeps/generic/math_private.h: Revert previous
6685 * sysdeps/generic/math_private.h: Check whether
6686 HAVE_RM_CTX is defined with #ifdef rather
6689 * argp/argp-fmtstream.h: Check whether
6690 __STRICT_ANSI__ is defined with #ifdef rather
6692 * argp/argp.h: Likewise.
6694 * libio/genops.c: Check whether
6695 _IO_JUMPS_OFFSET is defined with #ifdef rather
6697 * libio/libioP.h: Likewise.
6698 * stdio-common/vfprintf.c: Likewise.
6700 * sysdeps/generic/ldsodefs.h: Check whether
6701 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6704 * nptl/sysdeps/pthread/pthread.h: Check
6705 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6708 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6710 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6712 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6716 * libio/fileops.c (_IO_file_open): Seek to end of file but
6717 don't cache the offset.
6718 (get_file_offset): Remove function.
6719 (do_ftell): Use cached offset when available.
6720 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6721 don't cache the offset.
6722 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6724 (do_one_test): Call it.
6725 (do_ftell_test): Fix up expected old offset for a+ mode.
6726 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6729 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6730 up test status with function return status.
6731 (do_write_test): Likewise.
6732 (do_append_test): Likewise.
6734 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6735 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6738 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6740 * math/gen-libm-test.pl (parse_args): Handle results specified for
6741 each rounding mode separately.
6742 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6743 tests and results from lrint_tonearest_test_data,
6744 lrint_towardzero_test_data, lrint_downward_test_data and
6745 lrint_upward_test_data.
6746 (lrint_test): Use ALL_RM_TEST.
6747 (lrint_tonearest_test_data): Remove.
6748 (lrint_test_tonearest): Likewise.
6749 (lrint_towardzero_test_data): Likewise.
6750 (lrint_test_towardzero): Likewise.
6751 (lrint_downward_test_data): Likewise.
6752 (lrint_test_downward): Likewise.
6753 (lrint_upward_test_data): Likewise.
6754 (lrint_test_upward): Likewise.
6755 (llrint_test_data): Merge in per-rounding-mode tests and results
6756 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6757 llrint_downward_test_data and llrint_upward_test_data.
6758 (llrint_test): Use ALL_RM_TEST.
6759 (llrint_tonearest_test_data): Remove.
6760 (llrint_test_tonearest): Likewise.
6761 (llrint_towardzero_test_data): Likewise.
6762 (llrint_test_towardzero): Likewise.
6763 (llrint_downward_test_data): Likewise.
6764 (llrint_test_downward): Likewise.
6765 (llrint_upward_test_data): Likewise.
6766 (llrint_test_upward): Likewise.
6767 (rint_test_data): Merge in per-rounding-mode tests and results
6768 from rint_tonearest_test_data, rint_towardzero_test_data,
6769 rint_downward_test_data and rint_upward_test_data. Add
6770 per-rounding-mode results for tests not in those arrays.
6771 (rint_test): Use ALL_RM_TEST.
6772 (rint_tonearest_test_data): Remove.
6773 (rint_test_tonearest): Likewise.
6774 (rint_towardzero_test_data): Likewise.
6775 (rint_test_towardzero): Likewise.
6776 (rint_downward_test_data): Likewise.
6777 (rint_test_downward): Likewise.
6778 (rint_upward_test_data): Likewise.
6779 (rint_test_upward): Likewise.
6780 (main): Don't call removed functions.
6782 2014-03-14 Roland McGrath <roland@hack.frob.com>
6784 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6785 "Compiled on ..." crapola. It is anti-useful.
6787 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6789 * scripts/evaluate-test.sh: Handle fourth argument to determine
6790 whether test run should stop on failure.
6791 * Makeconfig (stop-on-test-failure): New variable.
6792 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6793 $(stop-on-test-failure).
6794 * Makefile (tests): Give a summary of results from testing and
6795 exit with failure status if they include an ERROR or FAIL.
6797 * manual/install.texi (Configuring and compiling): Mention
6798 stop-on-test-failure=y.
6799 * INSTALL: Regenerated.
6801 2014-03-14 Roland McGrath <roland@hack.frob.com>
6803 * scripts/versionlist.awk: New file.
6804 * Makerules [$(build-shared) = yes]
6805 (postclean-generated): Add Versions.def, not Versions.def.v and
6807 ($(common-objpfx)Versions.def.v.i): Target removed.
6808 ($(common-objpfx)Versions.def): New target.
6809 ($(common-objpfx)Versions.all): Depend on that rather that
6810 $(common-objpfx)Versions.def.v.
6811 * Versions.def: File removed.
6813 * Makeconfig (+gccwarn): Add -Wundef.
6814 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6815 a dl-sysdep.h breaking its contract.
6816 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6817 * include/stackinfo.h: New file.
6818 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6819 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6820 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6821 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6822 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6823 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6824 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6825 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6826 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6827 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6828 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6829 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6830 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6831 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6832 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6834 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6837 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6839 * math/libm-test.inc (round_test_data): Add more tests.
6842 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6844 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6847 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6849 * math/libm-test.inc (ceil_test_data): Add more tests.
6851 * math/libm-test.inc (trunc_test_data): Add more tests related to
6854 2014-03-14 Roland McGrath <roland@hack.frob.com>
6856 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6857 with #if rather than #ifdef.
6858 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6860 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6862 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6863 first. Disable AVX-512 GCC support if assembler doesn't support
6865 * sysdeps/x86_64/configure: Regenerated.
6867 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6869 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6870 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6871 (__old_pthread_attr_setstack): Likewise.
6872 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6873 [!_STACK_GROWS_DOWN]: Likewise.
6875 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6877 * config.make.in (have-bash2): Delete.
6878 * configure.ac (libc_cv_have_bash2): Delete.
6879 * configure: Regenerate.
6880 * elf/Makefile (common-ldd-rewrite): Rename to ...
6881 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6882 (sh-ldd-rewrite): Delete.
6883 (bash-ldd-rewrite): Delete.
6884 (have-bash2): Delete checks.
6885 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6888 * config.make.in (have-ksh): Delete.
6890 * configure.ac (libc_cv_have_ksh): Delete.
6891 * configure: Regenerate.
6893 * elf/Makefile: Delete $(have-ksh) check.
6894 ($(objpfx)sotruss): Change KSH to BASH.
6895 * elf/sotruss.ksh: Rename to ...
6896 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6897 function style to match POSIX. Drop ksh vim mode setting.
6899 * manual/time.texi (Specifying the Time Zone with TZ): Change
6900 Tuesday to Thursday.
6902 * debug/tst-longjmp_chk2.c: Update header comment.
6903 (stackoverflow_handler): Add comment. Call assert on pass value.
6905 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6907 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6908 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6909 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6910 (La_x86_64_vector): Add zmm.
6911 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6912 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6913 ($(objpfx)tst-audit10): New target.
6914 ($(objpfx)tst-audit10.out): Likewise.
6915 (tst-audit10-ENV): New.
6916 (AVX512-CFLAGS): Likewise.
6917 (CFLAGS-tst-audit10.c): Likewise.
6918 (CFLAGS-tst-auditmod10a.c): Likewise.
6919 (CFLAGS-tst-auditmod10b.c): Likewise.
6920 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6921 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6922 * sysdeps/x86_64/configure: Regenerated.
6923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6924 AVX-512 zmm register support.
6925 (_dl_x86_64_save_sse): Likewise.
6926 (_dl_x86_64_restore_sse): Likewise.
6927 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6928 size vector registers.
6929 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6930 (ZMM_SIZE): Likewise.
6931 * sysdeps/x86_64/tst-audit10.c: New file.
6932 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6933 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6935 2014-03-13 Roland McGrath <roland@hack.frob.com>
6937 * configure.ac (HAVE_EHDR_START): New check.
6938 * configure: Regenerated.
6939 * config.h.in (HAVE_EHDR_START): New #undef.
6940 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6941 assuming the lowest-addressed segment maps the start of the file.
6943 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6945 * INSTALL: Regenerated.
6947 2014-03-13 Will Newton <will.newton@linaro.org>
6949 * manual/setjmp.texi (System V contexts): Improve
6950 clarity and grammar of documentation.
6952 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6955 * elf/Makefile (tests): Add tst-pie2.
6956 (tests-pie): Add tst-pie2.
6957 * elf/tst-pie2.c: New file.
6958 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6960 * elf/rtld.c (map_doit): Load executable as lt_executable.
6961 (dl_main): Likewise.
6963 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6966 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6967 (__ASSUME_PSELECT): Undefine.
6969 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6972 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6973 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6976 selector for static builds.
6978 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6981 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6984 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6986 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6987 IFUNC selector for static builds.
6989 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6991 * sysdeps/mips/math_private.h [__mips_hard_float]
6992 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6993 libc_feresetround_mips_ctx.
6994 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6995 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6996 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6999 * math/s_nextafter.c (__nextafter): Do not return value from
7000 overflowing computation.
7001 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7002 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7003 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7005 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7007 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7008 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7010 2014-03-11 Roland McGrath <roland@hack.frob.com>
7012 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7013 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7014 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7015 the new mov targetting sp.
7017 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7020 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7021 Define it for static builds as well.
7022 (NO_BZERO_IMPL): Likewise.
7024 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7026 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7027 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7028 multiarch strspn for PPC64.
7029 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7030 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7032 (__libc_ifunc_impl_list): Likewise.
7033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7034 multiarch optimizations
7035 * string/strspn.c (strspn): Using macro to redefine symbol name.
7037 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7038 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7040 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7041 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7042 multiarch strncat for PPC64.
7043 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7044 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7046 (__libc_ifunc_impl_list): Likewise.
7047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7048 multiarch optimizations
7050 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7053 * nscd/nscd.service: Make service type forking.
7055 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7057 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7058 sign in non default rounding modes.
7059 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7061 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7063 * math/libm-test.inc (ALL_RM_TEST): New macro.
7064 (ceil_test): Use ALL_RM_TEST.
7065 (cimag_test): Likewise.
7066 (conj_test): Likewise.
7067 (copysign_test): Likewise.
7068 (cproj_test): Likewise.
7069 (creal_test): Likewise.
7070 (fabs_test): Likewise.
7071 (floor_test): Likewise.
7072 (fmax_test): Likewise.
7073 (fmin_test): Likewise.
7074 (fmod_test): Likewise.
7075 (fpclassify_test): Likewise.
7076 (frexp_test): Likewise.
7077 (ilogb_test): Likewise.
7078 (isfinite_test): Likewise.
7079 (finite_test): Likewise.
7080 (isgreater_test): Likewise.
7081 (isgreaterequal_test): Likewise.
7082 (isinf_test): Likewise.
7083 (isless_test): Likewise.
7084 (islessequal_test): Likewise.
7085 (islessgreater_test): Likewise.
7086 (isnan_test): Likewise.
7087 (isnormal_test): Likewise.
7088 (issignaling_test): Likewise.
7089 (isunordered_test): Likewise.
7090 (logb_test): Likewise.
7091 (logb_downward_test_data): Remove.
7092 (logb_test_downward): Likewise.
7093 (lround_test): Use ALL_RM_TEST.
7094 (llround_test): Likewise.
7095 (modf_test): Likewise.
7096 (nexttoward_test): Likewise.
7097 (remainder_test): Likewise.
7098 (drem_test): Likewise.
7099 (remainder_tonearest_test_data): Likewise.
7100 (remainder_test_tonearest): Likewise.
7101 (drem_test_tonearest): Likewise.
7102 (remainder_towardzero_test_data): Likewise.
7103 (remainder_test_towardzero): Likewise.
7104 (drem_test_towardzero): Likewise.
7105 (remainder_downward_test_data): Likewise.
7106 (remainder_test_downward): Likewise.
7107 (drem_test_downward): Likewise.
7108 (remainder_upward_test_data): Likewise.
7109 (remainder_test_upward): Likewise.
7110 (drem_test_upward): Likewise.
7111 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7112 (round_test): Use ALL_RM_TEST.
7113 (signbit_test): Likewise.
7114 (trunc_test): Likewise.
7115 (significand_test): Likewise.
7116 (main): Don't call removed functions.
7118 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7121 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7123 (ILL_ILLOPN): Likewise.
7124 (ILL_ILLADR): Likewise.
7125 (ILL_ILLTRP): Likewise.
7126 (ILL_PRVOPC): Likewise.
7127 (ILL_PRVREG): Likewise.
7128 (ILL_COPROC): Likewise.
7129 (ILL_BADSTK): Likewise.
7130 (FPE_INTDIV): Likewise.
7131 (FPE_INTOVF): Likewise.
7132 (FPE_FLTDIV): Likewise.
7133 (FPE_FLTOVF): Likewise.
7134 (FPE_FLTUND): Likewise.
7135 (FPE_FLTRES): Likewise.
7136 (FPE_FLTINV): Likewise.
7137 (FPE_FLTSUB): Likewise.
7138 (SEGV_MAPERR): Likewise.
7139 (SEGV_ACCERR): Likewise.
7140 (BUS_ADRALN): Likewise.
7141 (BUS_ADRERR): Likewise.
7142 (BUS_OBJERR): Likewise.
7143 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7144 (TRAP_TRACE): Likewise.
7145 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7147 (CLD_KILLED): Likewise.
7148 (CLD_DUMPED): Likewise.
7149 (CLD_TRAPPED): Likewise.
7150 (CLD_STOPPED): Likewise.
7151 (CLD_CONTINUED): Likewise.
7152 (POLL_IN): Likewise.
7153 (POLL_OUT): Likewise.
7154 (POLL_MSG): Likewise.
7155 (POLL_ERR): Likewise.
7156 (POLL_PRI): Likewise.
7157 (POLL_HUP): Likewise.
7158 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7160 (ILL_ILLOPN): Likewise.
7161 (ILL_ILLADR): Likewise.
7162 (ILL_ILLTRP): Likewise.
7163 (ILL_PRVOPC): Likewise.
7164 (ILL_PRVREG): Likewise.
7165 (ILL_COPROC): Likewise.
7166 (ILL_BADSTK): Likewise.
7167 (FPE_INTDIV): Likewise.
7168 (FPE_INTOVF): Likewise.
7169 (FPE_FLTDIV): Likewise.
7170 (FPE_FLTOVF): Likewise.
7171 (FPE_FLTUND): Likewise.
7172 (FPE_FLTRES): Likewise.
7173 (FPE_FLTINV): Likewise.
7174 (FPE_FLTSUB): Likewise.
7175 (SEGV_MAPERR): Likewise.
7176 (SEGV_ACCERR): Likewise.
7177 (BUS_ADRALN): Likewise.
7178 (BUS_ADRERR): Likewise.
7179 (BUS_OBJERR): Likewise.
7180 (BUS_MCEERR_AR): Likewise.
7181 (BUS_MCEERR_AO): Likewise.
7182 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7183 (TRAP_TRACE): Likewise.
7184 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7186 (CLD_KILLED): Likewise.
7187 (CLD_DUMPED): Likewise.
7188 (CLD_TRAPPED): Likewise.
7189 (CLD_STOPPED): Likewise.
7190 (CLD_CONTINUED): Likewise.
7191 (POLL_IN): Likewise.
7192 (POLL_OUT): Likewise.
7193 (POLL_MSG): Likewise.
7194 (POLL_ERR): Likewise.
7195 (POLL_PRI): Likewise.
7196 (POLL_HUP): Likewise.
7197 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7198 (ILL_ILLOPN): Likewise.
7199 (ILL_ILLADR): Likewise.
7200 (ILL_ILLTRP): Likewise.
7201 (ILL_PRVOPC): Likewise.
7202 (ILL_PRVREG): Likewise.
7203 (ILL_COPROC): Likewise.
7204 (ILL_BADSTK): Likewise.
7205 (FPE_INTDIV): Likewise.
7206 (FPE_INTOVF): Likewise.
7207 (FPE_FLTDIV): Likewise.
7208 (FPE_FLTOVF): Likewise.
7209 (FPE_FLTUND): Likewise.
7210 (FPE_FLTRES): Likewise.
7211 (FPE_FLTINV): Likewise.
7212 (FPE_FLTSUB): Likewise.
7213 (SEGV_MAPERR): Likewise.
7214 (SEGV_ACCERR): Likewise.
7215 (BUS_ADRALN): Likewise.
7216 (BUS_ADRERR): Likewise.
7217 (BUS_OBJERR): Likewise.
7218 (BUS_MCEERR_AR): Likewise.
7219 (BUS_MCEERR_AO): Likewise.
7220 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7221 (TRAP_TRACE): Likewise.
7222 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7224 (CLD_KILLED): Likewise.
7225 (CLD_DUMPED): Likewise.
7226 (CLD_TRAPPED): Likewise.
7227 (CLD_STOPPED): Likewise.
7228 (CLD_CONTINUED): Likewise.
7229 (POLL_IN): Likewise.
7230 (POLL_OUT): Likewise.
7231 (POLL_MSG): Likewise.
7232 (POLL_ERR): Likewise.
7233 (POLL_PRI): Likewise.
7234 (POLL_HUP): Likewise.
7235 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7237 (ILL_ILLOPN): Likewise.
7238 (ILL_ILLADR): Likewise.
7239 (ILL_ILLTRP): Likewise.
7240 (ILL_PRVOPC): Likewise.
7241 (ILL_PRVREG): Likewise.
7242 (ILL_COPROC): Likewise.
7243 (ILL_BADSTK): Likewise.
7244 (ILL_BADIADDR): Likewise.
7245 (ILL_BREAK): Likewise.
7246 (FPE_INTDIV): Likewise.
7247 (FPE_INTOVF): Likewise.
7248 (FPE_FLTDIV): Likewise.
7249 (FPE_FLTOVF): Likewise.
7250 (FPE_FLTUND): Likewise.
7251 (FPE_FLTRES): Likewise.
7252 (FPE_FLTINV): Likewise.
7253 (FPE_FLTSUB): Likewise.
7254 (FPE_DECOVF): Likewise.
7255 (FPE_DECDIV): Likewise.
7256 (FPE_DECERR): Likewise.
7257 (FPE_INVASC): Likewise.
7258 (FPE_INVDEC): Likewise.
7259 (SEGV_MAPERR): Likewise.
7260 (SEGV_ACCERR): Likewise.
7261 (SEGV_PSTKOVF): Likewise.
7262 (BUS_ADRALN): Likewise.
7263 (BUS_ADRERR): Likewise.
7264 (BUS_OBJERR): Likewise.
7265 (BUS_MCEERR_AR): Likewise.
7266 (BUS_MCEERR_AO): Likewise.
7267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7268 (TRAP_TRACE): Likewise.
7269 (TRAP_BRANCH): Likewise.
7270 (TRAP_HWBKPT): Likewise.
7271 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7273 (CLD_KILLED): Likewise.
7274 (CLD_DUMPED): Likewise.
7275 (CLD_TRAPPED): Likewise.
7276 (CLD_STOPPED): Likewise.
7277 (CLD_CONTINUED): Likewise.
7278 (POLL_IN): Likewise.
7279 (POLL_OUT): Likewise.
7280 (POLL_MSG): Likewise.
7281 (POLL_ERR): Likewise.
7282 (POLL_PRI): Likewise.
7283 (POLL_HUP): Likewise.
7284 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7285 (ILL_ILLOPN): Likewise.
7286 (ILL_ILLADR): Likewise.
7287 (ILL_ILLTRP): Likewise.
7288 (ILL_PRVOPC): Likewise.
7289 (ILL_PRVREG): Likewise.
7290 (ILL_COPROC): Likewise.
7291 (ILL_BADSTK): Likewise.
7292 (FPE_INTDIV): Likewise.
7293 (FPE_INTOVF): Likewise.
7294 (FPE_FLTDIV): Likewise.
7295 (FPE_FLTOVF): Likewise.
7296 (FPE_FLTUND): Likewise.
7297 (FPE_FLTRES): Likewise.
7298 (FPE_FLTINV): Likewise.
7299 (FPE_FLTSUB): Likewise.
7300 (SEGV_MAPERR): Likewise.
7301 (SEGV_ACCERR): Likewise.
7302 (BUS_ADRALN): Likewise.
7303 (BUS_ADRERR): Likewise.
7304 (BUS_OBJERR): Likewise.
7305 (BUS_MCEERR_AR): Likewise.
7306 (BUS_MCEERR_AO): Likewise.
7307 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7308 (TRAP_TRACE): Likewise.
7309 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7311 (CLD_KILLED): Likewise.
7312 (CLD_DUMPED): Likewise.
7313 (CLD_TRAPPED): Likewise.
7314 (CLD_STOPPED): Likewise.
7315 (CLD_CONTINUED): Likewise.
7316 (POLL_IN): Likewise.
7317 (POLL_OUT): Likewise.
7318 (POLL_MSG): Likewise.
7319 (POLL_ERR): Likewise.
7320 (POLL_PRI): Likewise.
7321 (POLL_HUP): Likewise.
7322 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7323 (ILL_ILLOPN): Likewise.
7324 (ILL_ILLADR): Likewise.
7325 (ILL_ILLTRP): Likewise.
7326 (ILL_PRVOPC): Likewise.
7327 (ILL_PRVREG): Likewise.
7328 (ILL_COPROC): Likewise.
7329 (ILL_BADSTK): Likewise.
7330 (FPE_INTDIV): Likewise.
7331 (FPE_INTOVF): Likewise.
7332 (FPE_FLTDIV): Likewise.
7333 (FPE_FLTOVF): Likewise.
7334 (FPE_FLTUND): Likewise.
7335 (FPE_FLTRES): Likewise.
7336 (FPE_FLTINV): Likewise.
7337 (FPE_FLTSUB): Likewise.
7338 (SEGV_MAPERR): Likewise.
7339 (SEGV_ACCERR): Likewise.
7340 (BUS_ADRALN): Likewise.
7341 (BUS_ADRERR): Likewise.
7342 (BUS_OBJERR): Likewise.
7343 (BUS_MCEERR_AR): Likewise.
7344 (BUS_MCEERR_AO): Likewise.
7345 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7346 (TRAP_TRACE): Likewise.
7347 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7349 (CLD_KILLED): Likewise.
7350 (CLD_DUMPED): Likewise.
7351 (CLD_TRAPPED): Likewise.
7352 (CLD_STOPPED): Likewise.
7353 (CLD_CONTINUED): Likewise.
7354 (POLL_IN): Likewise.
7355 (POLL_OUT): Likewise.
7356 (POLL_MSG): Likewise.
7357 (POLL_ERR): Likewise.
7358 (POLL_PRI): Likewise.
7359 (POLL_HUP): Likewise.
7360 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7361 (ILL_ILLOPN): Likewise.
7362 (ILL_ILLADR): Likewise.
7363 (ILL_ILLTRP): Likewise.
7364 (ILL_PRVOPC): Likewise.
7365 (ILL_PRVREG): Likewise.
7366 (ILL_COPROC): Likewise.
7367 (ILL_BADSTK): Likewise.
7368 (FPE_INTDIV): Likewise.
7369 (FPE_INTOVF): Likewise.
7370 (FPE_FLTDIV): Likewise.
7371 (FPE_FLTOVF): Likewise.
7372 (FPE_FLTUND): Likewise.
7373 (FPE_FLTRES): Likewise.
7374 (FPE_FLTINV): Likewise.
7375 (FPE_FLTSUB): Likewise.
7376 (SEGV_MAPERR): Likewise.
7377 (SEGV_ACCERR): Likewise.
7378 (BUS_ADRALN): Likewise.
7379 (BUS_ADRERR): Likewise.
7380 (BUS_OBJERR): Likewise.
7381 (BUS_MCEERR_AR): Likewise.
7382 (BUS_MCEERR_AO): Likewise.
7383 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7384 (TRAP_TRACE): Likewise.
7385 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7387 (CLD_KILLED): Likewise.
7388 (CLD_DUMPED): Likewise.
7389 (CLD_TRAPPED): Likewise.
7390 (CLD_STOPPED): Likewise.
7391 (CLD_CONTINUED): Likewise.
7392 (POLL_IN): Likewise.
7393 (POLL_OUT): Likewise.
7394 (POLL_MSG): Likewise.
7395 (POLL_ERR): Likewise.
7396 (POLL_PRI): Likewise.
7397 (POLL_HUP): Likewise.
7398 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7399 (ILL_ILLOPN): Likewise.
7400 (ILL_ILLADR): Likewise.
7401 (ILL_ILLTRP): Likewise.
7402 (ILL_PRVOPC): Likewise.
7403 (ILL_PRVREG): Likewise.
7404 (ILL_COPROC): Likewise.
7405 (ILL_BADSTK): Likewise.
7406 (ILL_DBLFLT): Likewise.
7407 (ILL_HARDWALL): Likewise.
7408 (FPE_INTDIV): Likewise.
7409 (FPE_INTOVF): Likewise.
7410 (FPE_FLTDIV): Likewise.
7411 (FPE_FLTOVF): Likewise.
7412 (FPE_FLTUND): Likewise.
7413 (FPE_FLTRES): Likewise.
7414 (FPE_FLTINV): Likewise.
7415 (FPE_FLTSUB): Likewise.
7416 (SEGV_MAPERR): Likewise.
7417 (SEGV_ACCERR): Likewise.
7418 (BUS_ADRALN): Likewise.
7419 (BUS_ADRERR): Likewise.
7420 (BUS_OBJERR): Likewise.
7421 (BUS_MCEERR_AR): Likewise.
7422 (BUS_MCEERR_AO): Likewise.
7423 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7424 (TRAP_TRACE): Likewise.
7425 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7427 (CLD_KILLED): Likewise.
7428 (CLD_DUMPED): Likewise.
7429 (CLD_TRAPPED): Likewise.
7430 (CLD_STOPPED): Likewise.
7431 (CLD_CONTINUED): Likewise.
7432 (POLL_IN): Likewise.
7433 (POLL_OUT): Likewise.
7434 (POLL_MSG): Likewise.
7435 (POLL_ERR): Likewise.
7436 (POLL_PRI): Likewise.
7437 (POLL_HUP): Likewise.
7438 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7439 (ILL_ILLOPN): Likewise.
7440 (ILL_ILLADR): Likewise.
7441 (ILL_ILLTRP): Likewise.
7442 (ILL_PRVOPC): Likewise.
7443 (ILL_PRVREG): Likewise.
7444 (ILL_COPROC): Likewise.
7445 (ILL_BADSTK): Likewise.
7446 (FPE_INTDIV): Likewise.
7447 (FPE_INTOVF): Likewise.
7448 (FPE_FLTDIV): Likewise.
7449 (FPE_FLTOVF): Likewise.
7450 (FPE_FLTUND): Likewise.
7451 (FPE_FLTRES): Likewise.
7452 (FPE_FLTINV): Likewise.
7453 (FPE_FLTSUB): Likewise.
7454 (SEGV_MAPERR): Likewise.
7455 (SEGV_ACCERR): Likewise.
7456 (BUS_ADRALN): Likewise.
7457 (BUS_ADRERR): Likewise.
7458 (BUS_OBJERR): Likewise.
7459 (BUS_MCEERR_AR): Likewise.
7460 (BUS_MCEERR_AO): Likewise.
7461 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7462 (TRAP_TRACE): Likewise.
7463 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7465 (CLD_KILLED): Likewise.
7466 (CLD_DUMPED): Likewise.
7467 (CLD_TRAPPED): Likewise.
7468 (CLD_STOPPED): Likewise.
7469 (CLD_CONTINUED): Likewise.
7470 (POLL_IN): Likewise.
7471 (POLL_OUT): Likewise.
7472 (POLL_MSG): Likewise.
7473 (POLL_ERR): Likewise.
7474 (POLL_PRI): Likewise.
7475 (POLL_HUP): Likewise.
7476 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7477 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7480 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7481 before #include of <time.h>.
7482 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7483 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7484 (test-xfail-UNIX98/sched.h/conform): Likewise.
7486 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7488 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7489 error absence of trapping exception support.
7490 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7492 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7494 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7495 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7496 * timezone/Makefile (testdata): Move definition above include of
7498 (test-zones): New variable.
7499 (tests-special): Add zone files.
7500 (build-testdata): Use $(evaluate-test).
7502 * elf/Makefile (tests-special): Rename tests to end with .out.
7503 ($(objpfx)noload-mem): Likewise.
7504 ($(objpfx)tst-leaks1-mem): Likewise.
7505 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7506 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7507 $(objpfx)test-iconvconfig.out.
7508 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7509 set -e inside subshell and redirect output to file.
7510 * iconvdata/Makefile (generated): Rename tests to end with .out.
7512 (tests-special): Rename tests to end with .out.
7513 ($(objpfx)mtrace-tst-loading): Likewise.
7514 * intl/Makefile (generated): Likewise.
7515 (tests-special): Likewise.
7516 ($(objpfx)mtrace-tst-gettext): Likewise.
7517 * misc/Makefile (generated): Likewise.
7518 (tests-special): Likewise.
7519 ($(objpfx)tst-error1-mem): Likewise.
7520 * nptl/Makefile (tests-special): Likewise.
7521 ($(objpfx)tst-stack3-mem): Likewise.
7522 (generated): Likewise.
7523 * posix/Makefile (generated): Likewise.
7524 (tests-special): Likewise.
7525 (xtests-special): Likewise.
7526 ($(objpfx)tst-fnmatch-mem): Likewise.
7527 ($(objpfx)bug-regex2-mem): Likewise.
7528 ($(objpfx)bug-regex14-mem): Likewise.
7529 ($(objpfx)bug-regex21-mem): Likewise.
7530 ($(objpfx)bug-regex31-mem): Likewise.
7531 ($(objpfx)tst-vfork3-mem): Likewise.
7532 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7533 ($(objpfx)tst-pcre-mem): Likewise.
7534 ($(objpfx)tst-boost-mem): Likewise.
7535 ($(objpfx)bug-ga2-mem): Likewise.
7536 ($(objpfx)bug-glob2-mem): Likewise.
7537 * resolv/Makefile (generate): Likewise.
7538 (tests-special): Likewise.
7539 (xtests-special): Likewise.
7540 (generated): Likewise.
7541 ($(objpfx)mtrace-tst-leaks): Likewise.
7542 ($(objpfx)mtrace-tst-leaks2): Likewise.
7544 * scripts/merge-test-results.sh: New file.
7545 * Makefile (tests-special-notdir): New variable.
7546 (tests): Run merge-test-results.sh.
7548 * Rules (tests-special-notdir): New variable.
7549 (xtests-special-notdir): Likewise.
7550 (tests): Run merge-test-results.sh
7553 * Makeconfig (test-xfail-name): New variable.
7554 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7555 compute variable name for expected failures.
7556 * conform/Makefile (conformtest-headers-data): New variable.
7557 (conformtest-standards): Likewise.
7558 (conformtest-headers-ISO): Likewise.
7559 (conformtest-headers-ISO99): Likewise.
7560 (conformtest-headers-ISO11): Likewise.
7561 (conformtest-headers-POSIX): Likewise.
7562 (conformtest-headers-XPG3): Likewise.
7563 (conformtest-headers-XPG4): Likewise.
7564 (conformtest-headers-UNIX98): Likewise.
7565 (conformtest-headers-XOPEN2K): Likewise.
7566 (conformtest-headers-POSIX2008): Likewise.
7567 (conformtest-headers-XOPEN2K8): Likewise.
7568 (conformtest-header-list-base): Likewise.
7569 (conformtest-header-list-tests): Likewise.
7570 (conformtest-header-base): Likewise.
7571 (conformtest-header-tests): Likewise.
7572 (tests-special): Add $(conformtest-header-list-tests). If
7573 [$(fast-check) && !$(cross-compiling)], add
7574 $(conformtest-header-tests) instead of
7575 $(objpfx)run-conformtest.out.
7576 (generated): Add $(conformtest-header-list-base). If
7577 [$(fast-check) && !$(cross-compiling)], add
7578 $(conformtest-header-base). Remove previous setting.
7579 ($(conformtest-header-list-tests)): New target.
7580 (test-xfail-run-conformtest): Remove variable.
7581 ($(objpfx)run-conformtest.out): Remove target.
7582 (test-xfail-ISO11/complex.h/conform): New variable.
7583 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7584 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7585 (test-xfail-XPG3/varargs.h/conform): Likewise.
7586 (test-xfail-XPG4/varargs.h/conform): Likewise.
7587 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7588 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7589 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7590 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7591 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7592 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7593 (test-xfail-XPG3/ftw.h/conform): Likewise.
7594 (test-xfail-XPG3/grp.h/conform): Likewise.
7595 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7596 (test-xfail-XPG3/limits.h/conform): Likewise.
7597 (test-xfail-XPG3/pwd.h/conform): Likewise.
7598 (test-xfail-XPG3/search.h/conform): Likewise.
7599 (test-xfail-XPG3/signal.h/conform): Likewise.
7600 (test-xfail-XPG3/stdio.h/conform): Likewise.
7601 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7602 (test-xfail-XPG3/string.h/conform): Likewise.
7603 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7604 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7605 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7606 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7607 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7608 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7609 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7610 (test-xfail-XPG3/termios.h/conform): Likewise.
7611 (test-xfail-XPG3/time.h/conform): Likewise.
7612 (test-xfail-XPG3/unistd.h/conform): Likewise.
7613 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7614 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7615 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7616 (test-xfail-XPG4/netdb.h/conform): Likewise.
7617 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7618 (test-xfail-XPG4/signal.h/conform): Likewise.
7619 (test-xfail-XPG4/stdio.h/conform): Likewise.
7620 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7621 (test-xfail-XPG4/stropts.h/conform): Likewise.
7622 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7623 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7624 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7625 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7626 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7627 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7628 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7629 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7630 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7631 (test-xfail-XPG4/termios.h/conform): Likewise.
7632 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7633 (test-xfail-XPG4/unistd.h/conform): Likewise.
7634 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7635 (test-xfail-POSIX/sched.h/conform): Likewise.
7636 (test-xfail-POSIX/signal.h/conform): Likewise.
7637 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7638 (test-xfail-POSIX/tar.h/conform): Likewise.
7639 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7640 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7641 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7642 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7643 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7644 (test-xfail-UNIX98/sched.h/conform): Likewise.
7645 (test-xfail-UNIX98/signal.h/conform): Likewise.
7646 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7647 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7648 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7649 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7650 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7651 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7652 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7653 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7654 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7655 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7656 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7657 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7658 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7659 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7660 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7661 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7662 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7663 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7664 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7665 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7666 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7667 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7668 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7669 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7670 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7671 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7672 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7673 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7674 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7675 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7676 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7677 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7678 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7679 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7680 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7681 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7682 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7683 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7684 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7685 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7686 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7687 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7688 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7689 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7690 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7691 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7692 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7693 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7694 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7695 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7696 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7697 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7698 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7699 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7700 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7701 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7702 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7703 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7704 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7705 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7706 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7707 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7708 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7709 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7710 (conformtest-cc-flags): Likewise.
7711 ($(conformtest-header-tests): New target.
7712 * conform/check-header-lists.sh: New file.
7713 * conform/run-conformtest.sh: Remove.
7715 * conform/conformtest.pl: Allow ' and \ in values given for
7717 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7719 [POSIX] (sys/types.h): Likewise.
7720 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7722 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7724 * conform/data/signal.h-data (SIGIO): Remove expectation.
7725 [XPG3] (SIGBUS): Do not expect.
7726 [POSIX || XPG3] (SIGPOLL): Likewise.
7727 [POSIX || XPG3] (SIGPROF): Likewise.
7728 [POSIX || XPG3] (SIGSYS): Likewise.
7729 [XPG3] (SIGTRAP): Likewise.
7730 [POSIX || XPG3] (SIGURG): Likewise.
7731 [POSIX || XPG3] (SIGVTALRM): Likewise.
7732 [POSIX || XPG3] (SIGXCPU): Likewise.
7733 [POSIX || XPG3] (SIGXFSZ): Likewise.
7734 [POSIX] (SA_SIGINFO): Expect.
7735 [XPG3] (siginfo_t): Do not expect type or contents.
7736 [POSIX] (si_pid): Do not expect element.
7737 [POSIX] (si_uid): Likewise.
7738 [POSIX] (si_addr): Likewise.
7739 [POSIX] (si_status): Likewise.
7740 [POSIX] (si_band): Likewise.
7741 [XPG4] (si_value): Likewise.
7742 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7743 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7744 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7745 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7746 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7747 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7748 [POSIX || XPG3] (ILL_COPROC): Likewise.
7749 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7750 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7751 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7752 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7753 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7754 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7755 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7756 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7757 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7758 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7759 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7760 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7761 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7762 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7763 [POSIX || XPG3] (CLD_EXITED): Likewise.
7764 [POSIX || XPG3] (CLD_KILLED): Likewise.
7765 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7766 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7767 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7768 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7769 [POSIX || XPG3] (POLL_IN): Likewise.
7770 [POSIX || XPG3] (POLL_OUT): Likewise.
7771 [POSIX || XPG3] (POLL_MSG): Likewise.
7772 [POSIX || XPG3] (POLL_ERR): Likewise.
7773 [POSIX || XPG3] (POLL_PRI): Likewise.
7774 [POSIX || XPG3] (POLL_HUP): Likewise.
7775 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7776 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7777 (SIG*): Do not allow.
7778 [XPG3] (si_*): Likewise.
7779 [XPG3] (SI_*): Likewise.
7780 [XPG3 || XPG4] (sigev_*): Likewise.
7781 [XPG3 || XPG4] (SIGEV_*): Likewise.
7782 [XPG3 || XPG4] (sival_*): Likewise.
7783 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7784 [POSIX || XPG3] (BUS_*): Likewise.
7785 [POSIX || XPG3] (CLD_*): Likewise.
7786 [POSIX || XPG3] (FPE_*): Likewise.
7787 [POSIX || XPG3] (ILL_*): Likewise.
7788 [POSIX || XPG3] (POLL_*): Likewise.
7789 [POSIX || XPG3] (SEGV_*): Likewise.
7790 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7791 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7792 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7793 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7794 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7795 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7796 Specify type and value.
7797 (TVERSLEN): Likewise.
7798 (REGTYPE): Likewise.
7799 (AREGTYPE): Likewise.
7800 (LNKTYPE): Likewise.
7801 (SYMTYPE): Likewise.
7802 (CHRTYPE): Likewise.
7803 (BLKTYPE): Likewise.
7804 (DIRTYPE): Likewise.
7805 (FIFOTYPE): Likewise.
7806 (CONTTYPE): Likewise.
7811 (TUWRITE): Likewise.
7814 (TGWRITE): Likewise.
7817 (TOWRITE): Likewise.
7819 [POSIX] (TSVTX): Expect constant.
7821 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7823 * Makefile (tests): Change dependencies to ....
7824 (tests-special): ... additions to this variable.
7825 (tests): Depend on $(tests-special).
7826 * Makerules (check-abi-list): New variable.
7827 (check-abi): Depend on $(check-abi-list).
7828 [$(subdir) = elf] (tests-special): Add
7829 $(objpfx)check-abi-libc.out.
7830 [$(build-shared) = yes && subdir] (tests-special): Add
7832 [$(build-shared) = yes && subdir] (tests): Do not depend on
7834 * Rules (tests): Depend on $(tests-special).
7835 (xtests): Depend on $(xtests-special).
7836 * catgets/Makefile (tests): Change dependencies to ....
7837 (tests-special): ... additions to this variable.
7838 * conform/Makefile (tests): Change dependencies to ....
7839 (tests-special): ... additions to this variable.
7840 * elf/Makefile (tests): Change dependencies to ....
7841 (tests-special): ... additions to this variable.
7842 * grp/Makefile (tests): Change dependencies to ....
7843 (tests-special): ... additions to this variable.
7844 * iconv/Makefile (xtests): Change dependencies to ....
7845 (xtests-special): ... additions to this variable.
7846 * iconvdata/Makefile (tests): Change dependencies to ....
7847 (tests-special): ... additions to this variable.
7848 * intl/Makefile (tests): Change dependencies to ....
7849 (tests-special): ... additions to this variable. Also add
7850 $(objpfx)tst-gettext.out.
7851 * io/Makefile (tests): Change dependencies to ....
7852 (tests-special): ... additions to this variable.
7853 * libio/Makefile (tests): Change dependencies to ....
7854 (tests-special): ... additions to this variable.
7855 * malloc/Makefile (tests): Change dependencies to ....
7856 (tests-special): ... additions to this variable.
7857 * misc/Makefile (tests): Change dependencies to ....
7858 (tests-special): ... additions to this variable.
7859 * nptl/Makefile (tests): Change dependencies to ....
7860 (tests-special): ... additions to this variable.
7861 * nptl_db/Makefile (tests): Change dependencies to ....
7862 (tests-special): ... additions to this variable.
7863 * posix/Makefile (tests): Change dependencies to ....
7864 (tests-special): ... additions to this variable.
7865 (xtests): Change dependencies to ....
7866 (xtests-special): ... additions to this variable.
7867 * resolv/Makefile (tests): Change dependencies to ....
7868 (tests-special): ... additions to this variable.
7869 (xtests): Change dependencies to ....
7870 (xtests-special): ... additions to this variable.
7871 * stdio-common/Makefile (tests): Change dependencies to ....
7872 (tests-special): ... additions to this variable.
7873 (do-tst-unbputc): Remove target.
7874 (do-tst-printf): Likewise.
7875 * stdlib/Makefile (tests): Change dependencies to ....
7876 (tests-special): ... additions to this variable.
7877 * string/Makefile (tests): Change dependencies to ....
7878 (tests-special): ... additions to this variable.
7879 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7880 (tests-special): ... additions to this variable.
7882 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7884 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7886 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7887 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7889 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7890 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7891 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7892 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7893 * conform/data/libgen.h-data [XPG3]: Likewise.
7894 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7895 * conform/data/ndbm.h-data [XPG3]: Likewise.
7896 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7897 * conform/data/netdb.h-data [XPG3]: Likewise.
7898 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7899 * conform/data/poll.h-data [XPG3]: Likewise.
7900 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7901 * conform/data/strings.h-data [XPG3]: Likewise.
7902 * conform/data/stropts.h-data [XPG3]: Likewise.
7903 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7904 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7905 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7907 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7908 * conform/data/sys/time.h-data [XPG3]: Likewise.
7909 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7910 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7911 * conform/data/sys/un.h-data [XPG3]: Likewise.
7912 * conform/data/syslog.h-data [XPG3]: Likewise.
7913 * conform/data/ucontext.h-data [XPG3]: Likewise.
7914 * conform/data/utmpx.h-data [XPG3]: Likewise.
7915 * conform/data/varargs.h-data [UNIX98]: Enable file.
7917 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7919 * math/libm-test.inc (struct test_f_f_data): Move expected results
7920 into structure for each rounding mode.
7921 (struct test_ff_f_data): Likewise.
7922 (struct test_ff_f_data_nexttoward): Likewise.
7923 (struct test_fi_f_data): Likewise.
7924 (struct test_fl_f_data): Likewise.
7925 (struct test_if_f_data): Likewise.
7926 (struct test_fff_f_data): Likewise.
7927 (struct test_c_f_data): Likewise.
7928 (struct test_f_f1_data): Likewise.
7929 (struct test_fF_f1_data): Likewise.
7930 (struct test_ffI_f1_data): Likewise.
7931 (struct test_c_c_data): Likewise.
7932 (struct test_cc_c_data): Likewise.
7933 (struct test_f_i_data): Likewise.
7934 (struct test_ff_i_data): Likewise.
7935 (struct test_f_l_data): Likewise.
7936 (struct test_f_L_data): Likewise.
7937 (struct test_fFF_11_data): Likewise.
7939 (RM_FE_DOWNWARD): Likewise.
7940 (RM_FE_TONEAREST): Likewise.
7941 (RM_FE_TOWARDZERO): Likewise.
7942 (RM_FE_UPWARD): Likewise.
7943 (RUN_TEST_LOOP_f_f): Update references to expected results.
7944 (RUN_TEST_LOOP_2_f): Likewise.
7945 (RUN_TEST_LOOP_fff_f): Likewise.
7946 (RUN_TEST_LOOP_c_f): Likewise.
7947 (RUN_TEST_LOOP_f_f1): Likewise.
7948 (RUN_TEST_LOOP_fF_f1): Likewise.
7949 (RUN_TEST_LOOP_fI_f1): Likewise.
7950 (RUN_TEST_LOOP_ffI_f1): Likewise.
7951 (RUN_TEST_LOOP_c_c): Likewise.
7952 (RUN_TEST_LOOP_cc_c): Likewise.
7953 (RUN_TEST_LOOP_f_i): Likewise.
7954 (RUN_TEST_LOOP_f_i_tg): Likewise.
7955 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7956 (RUN_TEST_LOOP_f_b): Likewise.
7957 (RUN_TEST_LOOP_f_b_tg): Likewise.
7958 (RUN_TEST_LOOP_f_l): Likewise.
7959 (RUN_TEST_LOOP_f_L): Likewise.
7960 (RUN_TEST_LOOP_fFF_11): Likewise.
7961 * math/gen-libm-test.pl (parse_args): Output four copies of
7962 expected results for each test.
7964 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7965 (__ASSUME_UTIMES): Remove.
7966 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7967 (__ASSUME_UTIMES): Likewise.
7969 * math/gen-auto-libm-tests.c: Update comment on output format.
7970 (output_for_one_input_case): Generate before-rounding and
7971 after-rounding information as conditions on output flags not
7972 floating-point format.
7973 * math/auto-libm-test-out: Regenerated.
7974 * math/gen-libm-test.pl (cond_value): New function.
7975 (or_cond_value): Use cond_value.
7976 (generate_testfile): Handle conditional exceptions.
7978 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7980 * math/libm-test.inc (max_valid_error): New variable.
7981 (init_max_error): Take new argument specifying whether function
7982 results are exactly determined. Set max_valid_error and bound
7983 other variables for errors based on this argument.
7984 (set_max_error): Do not record results above max_valid_error.
7985 (check_float_internal): Only accept errors of up to 0.5ulps if
7986 also at most max_valid_error.
7987 (START): Take new argument EXACT and pass it to init_max_error.
7988 (acos_test): Update call to START.
7989 (acos_test_tonearest): Likewise.
7990 (acos_test_towardzero): Likewise.
7991 (acos_test_downward): Likewise.
7992 (acos_test_upward): Likewise.
7993 (acosh_test): Likewise.
7994 (asin_test): Likewise.
7995 (asin_test_tonearest): Likewise.
7996 (asin_test_towardzero): Likewise.
7997 (asin_test_downward): Likewise.
7998 (asin_test_upward): Likewise.
7999 (asinh_test): Likewise.
8000 (atan_test): Likewise.
8001 (atanh_test): Likewise.
8002 (atan2_test): Likewise.
8003 (cabs_test): Likewise.
8004 (cacos_test): Likewise.
8005 (cacosh_test): Likewise.
8006 (carg_test): Likewise.
8007 (casin_test): Likewise.
8008 (casinh_test): Likewise.
8009 (catan_test): Likewise.
8010 (catanh_test): Likewise.
8011 (cbrt_test): Likewise.
8012 (ccos_test): Likewise.
8013 (ccosh_test): Likewise.
8014 (ceil_test): Likewise.
8015 (cexp_test): Likewise.
8016 (cimag_test): Likewise.
8017 (clog_test): Likewise.
8018 (clog10_test): Likewise.
8019 (conj_test): Likewise.
8020 (copysign_test): Likewise.
8021 (cos_test): Likewise.
8022 (cos_test_tonearest): Likewise.
8023 (cos_test_towardzero): Likewise.
8024 (cos_test_downward): Likewise.
8025 (cos_test_upward): Likewise.
8026 (cosh_test): Likewise.
8027 (cosh_test_tonearest): Likewise.
8028 (cosh_test_towardzero): Likewise.
8029 (cosh_test_downward): Likewise.
8030 (cosh_test_upward): Likewise.
8031 (cpow_test): Likewise.
8032 (cproj_test): Likewise.
8033 (creal_test): Likewise.
8034 (csin_test): Likewise.
8035 (csinh_test): Likewise.
8036 (csqrt_test): Likewise.
8037 (ctan_test): Likewise.
8038 (ctan_test_tonearest): Likewise.
8039 (ctan_test_towardzero): Likewise.
8040 (ctan_test_downward): Likewise.
8041 (ctan_test_upward): Likewise.
8042 (ctanh_test): Likewise.
8043 (ctanh_test_tonearest): Likewise.
8044 (ctanh_test_towardzero): Likewise.
8045 (ctanh_test_downward): Likewise.
8046 (ctanh_test_upward): Likewise.
8047 (erf_test): Likewise.
8048 (erfc_test): Likewise.
8049 (exp_test): Likewise.
8050 (exp_test_tonearest): Likewise.
8051 (exp_test_towardzero): Likewise.
8052 (exp_test_downward): Likewise.
8053 (exp_test_upward): Likewise.
8054 (exp10_test): Likewise.
8055 (exp10_test_tonearest): Likewise.
8056 (exp10_test_towardzero): Likewise.
8057 (exp10_test_downward): Likewise.
8058 (exp10_test_upward): Likewise.
8059 (pow10_test): Likewise.
8060 (exp2_test): Likewise.
8061 (expm1_test): Likewise.
8062 (expm1_test_tonearest): Likewise.
8063 (expm1_test_towardzero): Likewise.
8064 (expm1_test_downward): Likewise.
8065 (expm1_test_upward): Likewise.
8066 (fabs_test): Likewise.
8067 (fdim_test): Likewise.
8068 (floor_test): Likewise.
8069 (fma_test): Likewise.
8070 (fma_test_towardzero): Likewise.
8071 (fma_test_downward): Likewise.
8072 (fma_test_upward): Likewise.
8073 (fmax_test): Likewise.
8074 (fmin_test): Likewise.
8075 (fmod_test): Likewise.
8076 (fpclassify_test): Likewise.
8077 (frexp_test): Likewise.
8078 (hypot_test): Likewise.
8079 (ilogb_test): Likewise.
8080 (isfinite_test): Likewise.
8081 (finite_test): Likewise.
8082 (isgreater_test): Likewise.
8083 (isgreaterequal_test): Likewise.
8084 (isinf_test): Likewise.
8085 (isless_test): Likewise.
8086 (islessequal_test): Likewise.
8087 (islessgreater_test): Likewise.
8088 (isnan_test): Likewise.
8089 (isnormal_test): Likewise.
8090 (issignaling_test): Likewise.
8091 (isunordered_test): Likewise.
8092 (j0_test): Likewise.
8093 (j1_test): Likewise.
8094 (jn_test): Likewise.
8095 (ldexp_test): Likewise.
8096 (lgamma_test): Likewise.
8097 (gamma_test): Likewise.
8098 (lrint_test): Likewise.
8099 (lrint_test_tonearest): Likewise.
8100 (lrint_test_towardzero): Likewise.
8101 (lrint_test_downward): Likewise.
8102 (lrint_test_upward): Likewise.
8103 (llrint_test): Likewise.
8104 (llrint_test_tonearest): Likewise.
8105 (llrint_test_towardzero): Likewise.
8106 (llrint_test_downward): Likewise.
8107 (llrint_test_upward): Likewise.
8108 (log_test): Likewise.
8109 (log10_test): Likewise.
8110 (log1p_test): Likewise.
8111 (log2_test): Likewise.
8112 (logb_test): Likewise.
8113 (logb_test_downward): Likewise.
8114 (lround_test): Likewise.
8115 (llround_test): Likewise.
8116 (modf_test): Likewise.
8117 (nearbyint_test): Likewise.
8118 (nextafter_test): Likewise.
8119 (nexttoward_test): Likewise.
8120 (pow_test): Likewise.
8121 (pow_test_tonearest): Likewise.
8122 (pow_test_towardzero): Likewise.
8123 (pow_test_downward): Likewise.
8124 (pow_test_upward): Likewise.
8125 (remainder_test): Likewise.
8126 (drem_test): Likewise.
8127 (remainder_test_tonearest): Likewise.
8128 (drem_test_tonearest): Likewise.
8129 (remainder_test_towardzero): Likewise.
8130 (drem_test_towardzero): Likewise.
8131 (remainder_test_downward): Likewise.
8132 (drem_test_downward): Likewise.
8133 (remainder_test_upward): Likewise.
8134 (drem_test_upward): Likewise.
8135 (remquo_test): Likewise.
8136 (rint_test): Likewise.
8137 (rint_test_tonearest): Likewise.
8138 (rint_test_towardzero): Likewise.
8139 (rint_test_downward): Likewise.
8140 (rint_test_upward): Likewise.
8141 (round_test): Likewise.
8142 (scalb_test): Likewise.
8143 (scalbn_test): Likewise.
8144 (scalbln_test): Likewise.
8145 (signbit_test): Likewise.
8146 (sin_test): Likewise.
8147 (sin_test_tonearest): Likewise.
8148 (sin_test_towardzero): Likewise.
8149 (sin_test_downward): Likewise.
8150 (sin_test_upward): Likewise.
8151 (sincos_test): Likewise.
8152 (sinh_test): Likewise.
8153 (sinh_test_tonearest): Likewise.
8154 (sinh_test_towardzero): Likewise.
8155 (sinh_test_downward): Likewise.
8156 (sinh_test_upward): Likewise.
8157 (sqrt_test): Likewise.
8158 (sqrt_test_tonearest): Likewise.
8159 (sqrt_test_towardzero): Likewise.
8160 (sqrt_test_downward): Likewise.
8161 (sqrt_test_upward): Likewise.
8162 (tan_test): Likewise.
8163 (tan_test_tonearest): Likewise.
8164 (tan_test_towardzero): Likewise.
8165 (tan_test_downward): Likewise.
8166 (tan_test_upward): Likewise.
8167 (tanh_test): Likewise.
8168 (tgamma_test): Likewise.
8169 (trunc_test): Likewise.
8170 (y0_test): Likewise.
8171 (y1_test): Likewise.
8172 (yn_test): Likewise.
8173 (significand_test): Likewise.
8175 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8176 individual tests in comment.
8177 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8178 (prev_max_error): New variable.
8179 (prev_real_max_error): Likewise.
8180 (prev_imag_max_error): Likewise.
8181 (compare_ulp_data): Don't refer to test names in comment.
8182 (find_test_ulps): Remove function.
8183 (find_function_ulps): Likewise.
8184 (find_complex_function_ulps): Likewise.
8185 (init_max_error): Take function name as argument. Look up ulps
8187 (print_ulps): Remove function.
8188 (print_max_error): Use prev_max_error instead of calling
8190 (print_complex_max_error): Use prev_real_max_error and
8191 prev_imag_max_error instead of calling find_complex_function_ulps.
8192 (check_float_internal): Take max_ulp parameter instead of calling
8193 find_test_ulps. Don't call print_ulps.
8194 (check_float): Update call to check_float_internal.
8195 (check_complex): Update calls to check_float_internal.
8196 (START): Pass argument to init_max_error.
8197 * math/gen-libm-test.pl (%results): Don't include "kind"
8199 (parse_ulps): Don't handle ulps of individual tests.
8200 (print_ulps_file): Likewise.
8201 (output_ulps): Likewise.
8202 * math/README.libm-test: Update.
8203 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8205 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8206 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8207 * sysdeps/arm/libm-test-ulps: Likewise.
8208 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8209 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8210 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8211 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8212 * sysdeps/microblaze/libm-test-ulps: Likewise.
8213 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8214 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8215 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8216 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8217 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8218 * sysdeps/sh/libm-test-ulps: Likewise.
8219 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8220 * sysdeps/tile/libm-test-ulps: Likewise.
8221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8223 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8225 * math/libm-test.inc (print_complex_max_error): Check separately
8226 whether real and imaginary errors are within allowed range and
8227 pass 0 to print_complex_function_ulps instead of value within
8230 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8232 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8234 (get_handles_fopen): Likewise.
8235 (do_write_test): Likewise.
8237 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8239 * libio/fileops.c (do_ftell): Use cached offset when
8241 * libio/iofwide.c (do_ftell_wide): Likewise.
8242 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8244 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8247 * libio/libioP.h (get_file_offset): New function.
8248 * libio/fileops.c (get_file_offset): Likewise.
8249 (do_ftell): Likewise.
8250 (_IO_new_file_seekoff): Split out ftell logic.
8251 * libio/wfileops.c (do_ftell_wide): Likewise.
8252 (_IO_wfile_seekoff): Split out ftell logic.
8253 * libio/tst-ftell-active-handler.c: New test case.
8254 * libio/Makefile (tests): Add it.
8256 2014-03-03 Roland McGrath <roland@hack.frob.com>
8258 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8259 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8261 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8264 * nscd/connections.c (nscd_init): Call do_exit.
8265 (start_threads): Call do_exit and notify_parent.
8266 (begin_drop_privileges): Call do_exit.
8267 (finish_drop_privileges): Likewise.
8268 * nscd/selinux.c (preserve_capabilities): Likewise.
8269 (install_real_capabilities): Likewise.
8270 (nscd_selinux_enabled): Likewise.
8271 (avc_create_thread): Likewise.
8272 (avc_alloc_lock): Likewise.
8273 (nscd_avc_init): Likewise.
8274 * nscd/nscd.c (parent_fd): New static variable.
8275 (main): Create a pipe between parent and child processes.
8276 Skip closing parent_fd.
8277 (monitor_child): New function.
8278 (do_exit): Likewise.
8279 (notify_parent): Likewise.
8280 * nscd/nscd.h (notify_parent): Likewise.
8281 (do_exit): Likewise.
8283 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8285 * malloc/malloc.c (__libc_calloc): Revert last change.
8287 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8291 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8293 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8297 (__libc_ifunc_impl_list): Likewise.
8298 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8299 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8300 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8301 * string/strrchr.c: Define STRRCHR.
8303 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8305 * benchtest/bench-strtok.c (simple_strtok): Delete.
8306 (strtok_string): Use as benchmark.
8307 * string/strtok (STRTOK): New macro.
8309 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8311 * manual/threads.texi: Add header and standard comments to all
8314 * elf/dl-lookup.c (check_match): New function.
8315 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8316 (do_lookup_x): Remove nested function check_match. Use non-nested
8317 function check_match.
8319 2014-02-28 Roland McGrath <roland@hack.frob.com>
8321 * csu/Makefile (generated, before-compile): Use += rather than =.
8322 * catgets/Makefile (generated, generated-dirs): Likewise.
8323 * debug/Makefile (generated): Likewise.
8324 * dlfcn/Makefile (generated): Likewise.
8325 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8326 * iconvdata/Makefile (before-compile, generated): Likewise.
8327 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8328 * libio/Makefile (generated): Likewise.
8329 * malloc/Makefile (generated): Likewise.
8330 * manual/Makefile (generated, generated-dirs): Likewise.
8331 * misc/Makefile (generated): Likewise.
8332 * posix/Makefile (generated): Likewise.
8333 * resolv/Makefile (generated): Likewise.
8334 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8335 * timezone/Makefile (generated, generated-dirs): Likewise.
8337 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8339 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8341 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8342 power8 implementation.
8343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8344 file: POWER8 llround ifunc implementation.
8345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8346 (__lllround): Add POWER8 implementation.
8347 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8348 POWER8 llround implementation.
8350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8351 power8 implementation.
8352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8353 file: POWER8 llrint ifunc implementation.
8354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8355 Add POWER8 implementation.
8356 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8357 POWER8 llrint implementation.
8359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8360 power8 implementation.
8361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8362 file: POWER8 finite ifunc implementation.
8363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8364 Add POWER8 implementation.
8365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8367 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8368 POWER8 finite implementation.
8369 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8372 power8 implementation.
8373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8374 file: POWER8 isinf ifunc implementation.
8375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8376 POWER8 implementation.
8377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8379 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8380 isinf implementation.
8381 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8383 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8384 (INIT_ARCH): Add hwcap2 initialization.
8385 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8386 power8 implementation.
8387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8388 file: POWER8 isnan ifunc implementation.
8389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8390 POWER8 implementation.
8391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8393 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8394 isnan implementation.
8395 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8397 2014-02-27 Joey Ye <joey.ye@arm.com>
8399 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8400 (_FP_NANFRAC_Q): Set to zero.
8402 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8405 * math/auto-libm-test-in: New test inputs.
8406 * math/auto-libm-test-out: Regenerate.
8407 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8410 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8412 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8414 * scripts/evaluate-test.sh: Take new argument indicating whether
8415 failure is expected.
8416 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8417 indicating whether failure is expected.
8418 * conform/Makefile (test-xfail-run-conformtest): New variable.
8419 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8421 * posix/Makefile (test-xfail-annexc): New variable.
8422 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8424 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8426 * argp/Makefile: Include Makeconfig immediately after defining
8428 * assert/Makefile: Likewise.
8429 * benchtests/Makefile: Likewise.
8430 * catgets/Makefile: Likewise.
8431 * conform/Makefile: Likewise.
8432 * crypt/Makefile: Likewise.
8433 * csu/Makefile: Likewise.
8434 (all): Remove target.
8435 * ctype/Makefile: Include Makeconfig immediately after defining
8437 * debug/Makefile: Likewise.
8438 * dirent/Makefile: Likewise.
8439 * dlfcn/Makefile: Likewise.
8440 * gmon/Makefile: Likewise.
8441 * gnulib/Makefile: Likewise.
8442 * grp/Makefile: Likewise.
8443 * gshadow/Makefile: Likewise.
8444 * hesiod/Makefile: Likewise.
8445 * hurd/Makefile: Likewise.
8446 (all): Remove target.
8447 * iconvdata/Makefile: Include Makeconfig immediately after
8449 * inet/Makefile: Likewise.
8450 * intl/Makefile: Likewise.
8451 * io/Makefile: Likewise.
8452 * libio/Makefile: Likewise.
8453 (all): Remove target.
8454 * locale/Makefile: Include Makeconfig immediately after defining
8456 * login/Makefile: Likewise.
8457 * mach/Makefile: Likewise.
8458 (all): Remove target.
8459 * malloc/Makefile: Include Makeconfig immediately after defining
8461 (all): Remove target.
8462 * manual/Makefile: Include Makeconfig immediately after defining
8464 * math/Makefile: Likewise.
8465 * misc/Makefile: Likewise.
8466 * nis/Makefile: Likewise.
8467 * nss/Makefile: Likewise.
8468 * po/Makefile: Likewise.
8469 (all): Remove target.
8470 * posix/Makefile: Include Makeconfig immediately after defining
8472 * pwd/Makefile: Likewise.
8473 * resolv/Makefile: Likewise.
8474 * resource/Makefile: Likewise.
8475 * rt/Makefile: Likewise.
8476 * setjmp/Makefile: Likewise.
8477 * shadow/Makefile: Likewise.
8478 * signal/Makefile: Likewise.
8479 * socket/Makefile: Likewise.
8480 * soft-fp/Makefile: Likewise.
8481 * stdio-common/Makefile: Likewise.
8482 * stdlib/Makefile: Likewise.
8483 * streams/Makefile: Likewise.
8484 * string/Makefile: Likewise.
8485 * sunrpc/Makefile: Likewise.
8486 (all): Remove target.
8487 * sysvipc/Makefile: Include Makeconfig immediately after defining
8489 * termios/Makefile: Likewise.
8490 * time/Makefile: Likewise.
8491 * timezone/Makefile: Likewise.
8492 (all): Remove target.
8493 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8495 * wctype/Makefile: Likewise.
8497 2014-02-26 Steve Ellcey <sellcey@mips.com>
8499 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8500 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8501 (libc_feholdexcept_setround_mips): Ditto.
8502 (libc_feholdsetround): New.
8503 (libc_feholdsetroundf): New.
8504 (libc_feholdsetroundl): New.
8505 (libc_feupdateenv_test_mips): New.
8506 (libc_feupdateenv_test): New.
8507 (libc_feupdateenv_testf): New.
8508 (libc_feupdateenv_testl): New.
8509 (libc_feresetround): New.
8510 (libc_feresetroundf): New.
8511 (libc_feresetroundl): New.
8512 (libc_fetestexcept_mips): New.
8513 (libc_fetestexcept): New.
8514 (libc_fetestexceptf): New.
8515 (libc_fetestexceptl): New.
8517 (libc_feholdexcept_setround_mips_ctx): New.
8518 (libc_feholdexcept_setround_ctx): New.
8519 (libc_feholdexcept_setroundf_ctx): New.
8520 (libc_feholdexcept_setroundl_ctx): New.
8521 (libc_fesetenv_mips_ctx): New.
8522 (libc_fesetenv_ctx): New.
8523 (libc_fesetenv_ctxf): New.
8524 (libc_fesetenv_ctxl): New.
8525 (libc_feupdateenv_mips_ctx): New.
8526 (libc_feupdateenv_ctx): New.
8527 (libc_feupdateenvf_ctx): New.
8528 (libc_feupdateenvl_ctx): New.
8529 (libc_feholdsetround_mips_ctx): New.
8530 (libc_feholdsetround_ctx): New.
8531 (libc_feholdsetroundf_ctx): New.
8532 (libc_feholdsetroundl_ctx): New.
8533 (libc_feresetround_mips_ctx): New.
8534 (libc_feresetround_ctx): New.
8535 (libc_feresetroundf_ctx): New.
8536 (libc_feresetroundl_ctx): New.
8538 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8540 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8542 * manual/ipc.texi: New file.
8543 * manual/Makefile (chapters): Add ipc.
8544 * manual/job.texi: Add "Inter-Process Communication" to next.
8545 * manual/process.texi: Add "Inter-Process Communication" to prev.
8547 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8551 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8553 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8555 * manual/arith.texi: Fix spaces after sentences.
8556 * manual/charset.texi: Likewise.
8557 * manual/errno.texi: Likewise.
8558 * manual/install.texi: Likewise.
8559 * manual/llio.texi: Likewise.
8560 * manual/locale.texi: Likewise.
8561 * manual/maint.texi: Likewise.
8562 * manual/math.texi: Likewise.
8563 * manual/memory.texi: Likewise.
8564 * manual/message.texi: Likewise.
8565 * manual/probes.texi: Likewise.
8566 * manual/resource.texi: Likewise.
8567 * manual/signal.texi: Likewise.
8568 * manual/socket.texi: Likewise.
8569 * manual/stdio.texi: Likewise.
8570 * manual/string.texi: Likewise.
8571 * manual/time.texi: Likewise.
8572 * manual/users.texi: Likewise.
8574 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8577 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8578 _DEFAULT_SOURCE is defined.
8580 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8581 Carlos O'Donell <carlos@redhat.com>
8584 * elf/dl-tls.c (_dl_count_modids): New function.
8585 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8586 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8587 audit library and increment generation counter.
8588 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8589 * elf/tst-audit9.c: New file.
8590 * elf/tst-auditmod9a.c: New file.
8591 * elf/tst-auditmod9b.c: New file.
8592 * elf/Makefile: Add rules to build and run tst-audit9.
8594 2014-02-25 Florian Weimer <fweimer@redhat.com>
8597 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8599 2014-02-25 Will Newton <will.newton@linaro.org>
8601 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8602 (__longjmp): Restore sp and lr before restoring callee
8603 saved registers. Add longjmp and longjmp_target
8604 SystemTap probe point.
8605 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8606 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8607 Define to zero to match jmpbuf layout.
8608 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8609 (__sigsetjmp): Save sp and lr before saving callee
8610 saved registers. Add setjmp SystemTap probe point.
8612 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8614 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8616 2014-02-24 Andreas Schwab <schwab@suse.de>
8619 * elf/pldd.c (wait_for_ptrace_stop): New function.
8620 (main): Call it after attaching.
8622 2014-02-22 Roland McGrath <roland@hack.frob.com>
8624 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8625 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8626 Versions files is now verboten.
8627 * hurd/Versions (libc: GLIBC_2.0):
8628 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8629 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8630 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8631 * mach/Versions: Likewise.
8633 * csu/Versions: Remove unused %include.
8634 * resolv/Versions: Likewise.
8636 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8638 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8639 ($(objpfx)check-local-headers.out): Likewise.
8640 ($(objpfx)begin-end-check.out): Likewise.
8641 * Makerules (check-abi-%.out): Likewise.
8642 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8643 ($(objpfx)test2.cat): Likewise.
8644 ($(objpfx)de/libc.cat): Likewise.
8645 ($(objpfx)test-gencat.out): Likewise.
8646 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8647 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8648 ($(objpfx)noload-mem): Likewise.
8649 ($(objpfx)tst-pathopt.out): Likewise.
8650 ($(objpfx)tst-rtld-load-self.out): Likewise.
8651 ($(objpfx)tst-array1-cmp.out): Likewise.
8652 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8653 ($(objpfx)tst-array2-cmp.out): Likewise.
8654 ($(objpfx)tst-array3-cmp.out): Likewise.
8655 ($(objpfx)tst-array4-cmp.out): Likewise.
8656 ($(objpfx)tst-array5-cmp.out): Likewise.
8657 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8658 ($(objpfx)check-textrel.out): Likewise.
8659 ($(objpfx)check-execstack.out): Likewise.
8660 ($(objpfx)check-localplt.out): Likewise.
8661 ($(objpfx)order2-cmp.out): Likewise.
8662 ($(objpfx)tst-leaks1-mem): Likewise.
8663 ($(objpfx)tst-leaks1-static-mem): Likewise.
8664 ($(objpfx)tst-initorder-cmp.out): Likewise.
8665 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8666 ($(objpfx)tst-unused-dep.out): Likewise.
8667 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8668 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8669 * iconv/Makefile (test-iconvconfig): Likewise.
8670 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8671 ($(objpfx)iconv-test.out): Likewise.
8672 ($(objpfx)tst-tables.out): Likewise.
8673 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8674 ($(objpfx)tst-gettext.out): Likewise.
8675 ($(objpfx)tst-translit.out): Likewise.
8676 ($(objpfx)tst-gettext2.out): Likewise.
8677 ($(objpfx)tst-gettext4.out): Likewise.
8678 ($(objpfx)tst-gettext6.out): Likewise.
8679 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8680 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8681 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8682 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8683 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8684 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8685 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8686 ($(objpfx)wordexp-tst.out): Likewise.
8687 ($(objpfx)annexc.out): Likewise.
8688 ($(objpfx)tst-fnmatch-mem): Likewise.
8689 ($(objpfx)bug-regex2-mem): Likewise.
8690 ($(objpfx)bug-regex14-mem): Likewise.
8691 ($(objpfx)bug-regex21-mem): Likewise.
8692 ($(objpfx)bug-regex31-mem): Likewise.
8693 ($(objpfx)tst-vfork3-mem): Likewise.
8694 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8695 ($(objpfx)tst-pcre-mem): Likewise.
8696 ($(objpfx)tst-boost-mem): Likewise.
8697 ($(objpfx)tst-getconf.out): Likewise.
8698 ($(objpfx)bug-ga2-mem): Likewise.
8699 ($(objpfx)bug-glob2-mem): Likewise.
8700 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8701 ($(objpfx)mtrace-tst-leaks2): Likewise.
8702 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8703 ($(objpfx)tst-printf.out): Likewise.
8704 ($(objpfx)tst-setvbuf1.out): Likewise.
8705 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8706 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8707 ($(objpfx)tst-fmtmsg.out): Likewise.
8708 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8709 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8711 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8712 * bits/sigaction.h [__USE_MISC]: Likewise.
8713 * bits/waitstatus.h: Update #endif comments.
8714 * ctype/ctype.h: Likewise.
8715 * dirent/dirent.h: Likewise.
8716 [__USE_MISC]: Remove redundant conditionals.
8717 * grp/grp.h: Update #endif comments.
8718 [__USE_GNU]: Remove redundant conditionals.
8719 [__USE_MISC]: Likewise.
8720 * inet/netinet/in.h [__USE_GNU]: Likewise.
8721 * io/sys/stat.h [__USE_MISC]: Likewise.
8722 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8723 * libio/bits/stdio.h: Update #endif comments.
8724 [__USE_MISC]: Remove redundant conditionals.
8725 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8726 * libio/stdio.h: Update #endif comments.
8727 [__USE_MISC]: Remove redundant conditionals.
8728 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8729 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8730 * math/math.h: Update #else and #endif comments.
8731 [__USE_MISC]: Remove redundant conditionals.
8732 * misc/sys/uio.h: Update #endif comments.
8733 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8734 * posix/glob.h [__USE_MISC]: Likewise.
8735 * posix/sys/types.h: Update #endif comments.
8736 [__USE_MISC]: Remove redundant conditionals.
8737 * posix/sys/wait.h: Update #endif comments.
8738 [__USE_MISC]: Remove redundant conditionals.
8739 * posix/unistd.h: Update #endif comments.
8740 [__USE_MISC]: Remove redundant conditionals.
8741 * pwd/pwd.h [__USE_GNU]: Likewise.
8742 [__USE_MISC]: Likewise.
8743 * resolv/netdb.h [__USE_GNU]: Likewise.
8744 * signal/signal.h: Update #endif comments.
8745 [__USE_MISC]: Remove redundant conditionals.
8746 * stdlib/stdlib.h: Update #else and #endif comments.
8747 [__USE_MISC]: Remove redundant conditionals.
8748 [__USE_GNU]: Likewise.
8749 * string/bits/string2.h [__USE_MISC]: Likewise.
8750 * string/string.h: Update #endif comments.
8751 [__USE_MISC]: Remove redundant conditionals.
8752 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8754 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8755 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8756 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8758 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8760 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8762 [__USE_MISC]: Remove redundant conditionals.
8763 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8764 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8765 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8766 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8767 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8769 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8770 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8772 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8773 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8775 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8777 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8778 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8780 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8782 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8783 * sysdeps/x86/bits/string.h: Update #endif comments.
8784 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8786 * time/sys/time.h: Update #endif comments.
8787 * time/time.h: Likewise.
8788 [__USE_MISC]: Remove redundant conditionals.
8790 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8793 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8795 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8797 * Versions.def (librt): Add GLIBC_2.17.
8799 2014-02-21 Adam Conrad <adconrad@0c3.net>
8801 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8802 synonym for _SYS_AUXV_H to allow direct inclusion.
8803 * sysdeps/sparc/bits/hwcap.h: Likewise.
8804 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8805 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8806 * sysdeps/sparc/sysdep.h: Likewise.
8808 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8810 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8812 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8814 * benchtests/bench-strrchr.c: Print length instead of position.
8816 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8819 * sysdeps/unix/sysv/linux/kernel-features.h
8820 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8821 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8822 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8823 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8825 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8826 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8827 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8828 (__ASSUME_SENDMMSG): Define instead of using previous
8829 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8830 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8831 (__ASSUME_SENDMMSG_SYSCALL): Define.
8832 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8833 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8835 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8836 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8838 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8839 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8841 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8842 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8843 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8844 [__ASSUME_SENDMMSG]: Change conditionals to
8845 [__ASSUME_SENDMMSG_SOCKETCALL].
8846 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8847 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8849 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8850 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8852 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8853 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8854 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8855 [!__ASSUME_SENDMMSG]: Change conditional to
8856 [!__ASSUME_SENDMMSG_SOCKETCALL].
8857 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8858 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8862 * sysdeps/unix/sysv/linux/kernel-features.h
8863 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8864 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8865 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8866 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8867 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8868 [__i386__ || __sparc__]
8869 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8870 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8871 (__ASSUME_RECVMMSG): Define instead of using previous
8872 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8873 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8874 (__ASSUME_RECVMMSG_SYSCALL): Define.
8875 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8876 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8878 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8879 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8881 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8882 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8884 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8885 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8886 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8887 [__ASSUME_RECVMMSG]: Change condition to
8888 [__ASSUME_RECVMMSG_SOCKETCALL].
8889 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8890 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8892 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8893 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8894 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8896 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8897 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8898 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8899 [!__ASSUME_RECVMMSG]: Change condition to
8900 [!__ASSUME_RECVMMSG_SOCKETCALL].
8901 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8902 (__ASSUME_RECVMMSG_SYSCALL): Define.
8905 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8906 __powerpc__ || __s390__ || __sh__ || __sparc__]
8907 (__ASSUME_SOCKETCALL): Define.
8908 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8909 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8910 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8911 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8912 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8913 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8914 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8915 (__ASSUME_ACCEPT4): Define instead of using previous
8916 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8917 __powerpc__ || __sparc__ || __s390__)] condition.
8918 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8919 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8920 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8921 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8922 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8923 [!__ASSUME_ACCEPT4]: Change condition to
8924 [!__ASSUME_ACCEPT4_SOCKETCALL].
8925 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8926 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8927 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8928 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8929 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8930 __ASSUME_ACCEPT4_SYSCALL.
8931 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8932 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8933 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8934 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8935 __ASSUME_ACCEPT4_SYSCALL.
8936 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8937 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8938 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8939 [__ASSUME_ACCEPT4]: Change condition to
8940 [__ASSUME_ACCEPT4_SOCKETCALL].
8941 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8942 (__ASSUME_SOCKETCALL): Define.
8943 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8944 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8945 (__ASSUME_SOCKETCALL): Define.
8946 (__ASSUME_ACCEPT4): Remove.
8947 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8949 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8950 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8952 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8953 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8955 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8957 (HWCAP_ARM_LPAE): Likewise.
8958 (HWCAP_ARM_EVTSTRM): Likewise.
8959 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8960 Add vpfd32, lpae and evtstrm.
8961 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8964 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8966 * math/auto-libm-test-in: Add tests of clog10.
8967 * math/auto-libm-test-out: Regenerated.
8968 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8969 * sysdeps/i386/fpu/libm-test-ulps: Update.
8970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8972 2014-02-18 Andreas Schwab <schwab@suse.de>
8975 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8976 Store non-zero if the second buffer was newly allocated.
8977 (send_dg): Likewise.
8978 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8979 to send_vc and send_dg.
8980 (res_nsend): Pass NULL for ansp2_malloced.
8981 * resolv/res_query.c (__libc_res_nquery): Add parameter
8982 answerp2_malloced and pass it down to __libc_res_nsend.
8983 (res_nquery): Pass additional NULL to __libc_res_nquery.
8984 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8985 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8986 second answer buffer if answerp2_malloced was set.
8987 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8988 (__libc_res_nquerydomain): Add parameter
8989 answerp2_malloced and pass it down to __libc_res_nquery.
8990 (res_nquerydomain): Pass additional NULL to
8991 __libc_res_nquerydomain.
8992 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8993 additional NULL to __libc_res_nsend and __libc_res_nquery.
8994 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8995 additional NULL to __libc_res_nsearch.
8996 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8997 parameter of __libc_res_nsearch to check for separately allocated
8999 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9001 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9002 additional NULL to __libc_res_nquery.
9003 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9005 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9006 * include/resolv.h: Update prototypes of __libc_res_nquery,
9007 __libc_res_nsearch, __libc_res_nsend.
9009 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9011 * math/auto-libm-test-in: Add tests of fma.
9012 * math/auto-libm-test-out: Regenerated.
9013 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9014 (fma_towardzero_test_data): Likewise.
9015 (fma_downward_test_data): Likewise.
9016 (fma_upward_test_data): Likewise.
9017 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9019 (rounding_modes): Add values for new field.
9020 (func_calc_method): Add value mpfr_fff_f.
9021 (func_calc_desc): Add mpfr_fff_f union field.
9022 (test_function): Add field exact_args.
9023 (FUNC): Add macro argument EXACT_ARGS.
9024 (FUNC_mpfr_f_f): Update call to FUNC.
9025 (FUNC_mpfr_f_f): Likewise.
9026 (FUNC_mpfr_ff_f): Likewise.
9027 (FUNC_mpfr_if_f): Likewise.
9028 (FUNC_mpc_c_f): Likewise.
9029 (FUNC_mpc_c_c): Likewise.
9030 (test_functions): Add fma. Update calls to FUNC.
9031 (handle_input_arg): Add argument exact_args.
9032 (add_test): Update call to handle_input_arg.
9033 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9034 (output_for_one_input_case): Update call to calc_generic_results.
9035 Recalculate exact zero results in each rounding mode.
9037 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9038 non-negative before setting low bit.
9039 * math/auto-libm-test-in: Mark one asin test possibly having
9041 * math/auto-libm-test-out: Regenerated.
9042 * sysdeps/i386/fpu/libm-test-ulps: Update.
9043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9045 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9047 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9048 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9049 ports/sysdeps/unix/sysv/linux/microblaze.
9050 * README: Add missing listing for microblaze*-*-linux-gnu.
9052 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9054 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9055 * sysdeps/unix/sysv/linux/ia64: Move directory from
9056 ports/sysdeps/unix/sysv/linux/ia64.
9057 * README: Update listing for ia64-*-linux-gnu.
9059 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9060 Joseph Myers <joseph@codesourcery.com>
9062 * Makeconfig (test-name): New variable.
9063 (evaluate-test): Likewise.
9064 * Makerules (do-test-clean): Remove .test-result files.
9065 (common-mostlyclean): Likewise.
9066 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9067 * scripts/evaluate-test.sh: New file.
9069 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9071 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9072 separate $(objpfx)tst-fopenloc-cmp.out and
9073 $(objpfx)tst-fopenloc-mem.out targets.
9074 (tests): Update dependencies.
9075 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9076 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9077 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9078 (tst-rxspencer-no-utf8-ARGS): New variable.
9079 (tst-rxspencer-no-utf8-ENV): Likewise.
9080 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9081 instead of $(objpfx)tst-rxspencer-mem.
9082 ($(objpfx)tst-rxspencer-mem): Change target to
9083 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9084 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9085 * posix/tst-rxspencer-no-utf8.c: New file.
9087 * elf/Makefile ($(objpfx)order.out): Remove rule.
9088 [$(run-built-tests) = yes] (tests): Depend on
9089 $(objpfx)order-cmp.out.
9090 ($(objpfx)order-cmp.out): New rule.
9091 [$(run-built-tests) = yes] (tests): Depend on
9092 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9093 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9094 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9095 $(objpfx)tst-array5-static-cmp.out.
9096 ($(objpfx)tst-array1.out): Remove rule.
9097 ($(objpfx)tst-array1-cmp.out): New rule.
9098 ($(objpfx)tst-array1-static.out): Remove rule.
9099 ($(objpfx)tst-array1-static-cmp.out): New rule.
9100 ($(objpfx)tst-array2.out): Remove rule.
9101 ($(objpfx)tst-array2-cmp.out): New rule.
9102 ($(objpfx)tst-array3.out): Remove rule.
9103 ($(objpfx)tst-array3-cmp.out): New rule.
9104 ($(objpfx)tst-array4.out): Remove rule.
9105 ($(objpfx)tst-array4-cmp.out): New rule.
9106 ($(objpfx)tst-array5.out): Remove rule.
9107 ($(objpfx)tst-array5-cmp.out): New rule.
9108 ($(objpfx)tst-array5-static.out): Remove rule.
9109 ($(objpfx)tst-array5-static-cmp.out): New rule.
9110 [$(run-built-tests) = yes] (tests): Depend on
9111 $(objpfx)order2-cmp.out.
9112 ($(objpfx)order2.out): Remove rule.
9113 ($(objpfx)order2-cmp.out): New rule.
9114 ($(objpfx)tst-initorder.out): Remove rule.
9115 [$(run-built-tests) = yes] (tests): Depend on
9116 $(objpfx)tst-initorder-cmp.out.
9117 ($(objpfx)tst-initorder-cmp.out): New rule.
9118 ($(objpfx)tst-initorder2.out): Remove rule.
9119 [$(run-built-tests) = yes] (tests): Depend on
9120 $(objpfx)tst-initorder2-cmp.out.
9121 ($(objpfx)tst-initorder2-cmp.out): New rule.
9122 [$(run-built-tests) = yes] (tests): Depend on
9123 $(objpfx)tst-unused-dep-cmp.out.
9124 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9125 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9126 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9127 on $(objpfx)tst-setvbuf1-cmp.out.
9128 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9129 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9130 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9131 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9132 ($(objpfx)tst-svc.out): Remove rule.
9133 ($(objpfx)tst-svc-cmp.out): New rule.
9135 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9137 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9138 * ctype/ctype.h [__USE_MISC]: Likewise.
9139 * dirent/dirent.h [__USE_MISC]: Likewise.
9140 * grp/grp.h [__USE_MISC]: Likewise.
9141 * io/fcntl.h [__USE_MISC]: Likewise.
9142 * io/sys/stat.h [__USE_MISC]: Likewise.
9143 * libio/stdio.h [__USE_MISC]: Likewise.
9144 * posix/unistd.h [__USE_MISC]: Likewise.
9145 * pwd/pwd.h [__USE_MISC]: Likewise.
9146 * stdlib.h [__USE_MISC]: Likewise.
9147 * string/bits/string2.h [__USE_MISC]: Likewise.
9148 * string/string.h [__USE_MISC]: Likewise.
9149 * time/time.h [__USE_MISC]: Likewise.
9151 2014-02-13 Andreas Schwab <schwab@suse.de>
9154 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9155 second answer buffer if it was separately allocated.
9157 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9159 * sysdeps/mips/math-tests.h: Include <features.h>.
9160 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9161 (ROUNDING_TESTS_long_double): Do not define.
9162 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9163 (EXCEPTION_TESTS_long_double): Likewise.
9164 * sysdeps/mips/mips64/libm-test-ulps: Update.
9166 * include/features.h (__USE_BSD): Remove macro definitions.
9167 (__USE_SVID): Likewise.
9168 (_BSD_SOURCE): Likewise.
9169 (_SVID_SOURCE): Likewise.
9170 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9171 from definition of _DEFAULT_SOURCE.
9172 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9174 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9175 * bits/mman.h [__USE_BSD]: Likewise.
9176 * bits/termios.h [__USE_BSD]: Likewise.
9177 * bits/waitstatus.h [__USE_BSD]: Likewise.
9178 * ctype/ctype.h [__USE_SVID]: Likewise.
9179 * dirent/dirent.h [__USE_BSD]: Likewise.
9180 * grp/grp.h [__USE_SVID]: Likewise.
9181 [__USE_BSD]: Likewise.
9182 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9183 * io/fcntl.h [__USE_BSD]: Likewise.
9184 * io/ftw.h [__USE_BSD]: Likewise.
9185 * io/sys/stat.h [__USE_BSD]: Likewise.
9186 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9187 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9188 * libio/stdio.h [__USE_SVID]: Likewise.
9189 [__USE_BSD]: Likewise.
9190 * math/math.h [__USE_SVID]: Likewise.
9191 [__USE_BSD]: Likewise.
9192 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9193 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9194 * misc/search.h [__USE_SVID]: Likewise.
9195 * misc/sys/mman.h [__USE_BSD]: Likewise.
9196 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9197 * misc/sys/uio.h [__USE_BSD]: Likewise.
9198 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9199 * posix/glob.h [__USE_BSD]: Likewise.
9200 * posix/regex.h [__USE_BSD]: Likewise.
9201 * posix/sys/types.h [__USE_BSD]: Likewise.
9202 [__USE_SVID]: Likewise.
9203 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9204 * posix/sys/wait.h [__USE_BSD]: Likewise.
9205 [__USE_SVID]: Likewise.
9206 * posix/unistd.h [__USE_BSD]: Likewise.
9207 [__USE_SVID]: Likewise.
9208 * pwd/pwd.h [__USE_SVID]: Likewise.
9209 * resolv/netdb.h [__USE_BSD]: Likewise.
9210 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9211 * signal/signal.h [__USE_BSD]: Likewise.
9212 [__USE_SVID]: Likewise.
9213 * socket/sys/socket.h [__USE_BSD]: Likewise.
9214 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9215 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9216 [__USE_SVID]: Likewise.
9217 * string/bits/string2.h [__USE_BSD]: Likewise.
9218 [__USE_SVID]: Likewise.
9219 * string/bits/string3.h [__USE_BSD]: Likewise.
9220 * string/endian.h [__USE_BSD]: Likewise.
9221 * string/string.h [__USE_SVID]: Likewise.
9222 [__USE_BSD]: Likewise.
9223 * string/strings.h [__USE_BSD]: Likewise.
9224 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9225 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9226 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9227 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9228 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9229 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9231 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9233 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9234 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9236 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9237 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9239 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9241 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9242 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9243 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9245 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9247 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9248 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9249 * termios/termios.h [__USE_BSD]: Likewise.
9250 * time/sys/time.h [__USE_BSD]: Likewise.
9251 * time/time.h [__USE_BSD]: Likewise.
9252 [__USE_SVID]: Likewise.
9254 * Makefile (subdir_targets): Remove subdir_lint.out.
9256 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9257 (do-tst-printf): Likewise.
9258 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9259 $(objpfx)tst-printf.out.
9261 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9263 * Makerules (check-abi-%): Change target to
9264 $(objpfx)check-abi-%.out.
9265 (check-abi target): Update dependencies.
9266 (check-abi-pattern variable): Redirect output of diff to $@.
9267 (check-abi variable): Likewise.
9268 * elf/Makefile (check-abi): Update dependencies.
9270 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9272 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9273 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9275 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9276 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9277 value has largest subnormal exponent.
9278 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9279 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9280 * sysdeps/aarch64/soft-fp/sfp-machine.h
9281 (_FP_TININESS_AFTER_ROUNDING): New macro.
9282 * sysdeps/alpha/soft-fp/sfp-machine.h
9283 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9284 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9286 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9287 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9288 * sysdeps/mips/soft-fp/sfp-machine.h
9289 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9290 * sysdeps/powerpc/soft-fp/sfp-machine.h
9291 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9292 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9294 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9295 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9296 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9297 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9298 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9301 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9304 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9307 2014-02-12 Richard Henderson <rth@redhat.com>
9309 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9310 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9311 * sysdeps/unix/sysv/linux/alpha: Move directory from
9312 ports/sysdeps/unix/sysv/linux/alpha.
9313 * README: Update listing for alpha-*-linux-gnu.
9315 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9317 * include/features.h: Update comment documenting feature test
9319 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9321 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9322 (_SVID_SOURCE): Likewise.
9323 (_DEFAULT_SOURCE): Update description of default features.
9324 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9326 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9327 (S_ISVTX): Likewise.
9328 * manual/math.texi (Mathematical Constants): Likewise.
9329 * manual/signal.texi (Interrupted Primitives): Likewise.
9330 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9331 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9332 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9333 Don't refer to _SVID_SOURCE in warning text.
9335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9337 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9339 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9340 * sysdeps/mips/dl-lookup.c: Remove.
9341 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9343 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9346 * math/auto-libm-test-in: Add testcase for expl.
9347 * math/auto-libm-test-out: Regenerate.
9348 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9349 calculation of unsafe.
9350 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9352 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9354 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9355 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9356 ports/sysdeps/unix/sysv/linux/aarch64.
9357 * README: Update listing for aarch64*-*-linux-gnu.
9359 2014-02-11 Will Newton <will.newton@linaro.org>
9361 * manual/probes.texi (Mathematical Function Probes): Use
9362 "triggered" instead of "hit".
9364 * manual/probes.texi (Internal Probes): Add documentation
9365 of setjmp, longjmp and longjmp_target probes.
9367 * include/stap-probe.h: Add comment about probe argument
9370 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9371 definition. (tr_where, tr_freehook, tr_mallochook,
9372 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9374 2014-02-11 David S. Miller <davem@davemloft.net>
9376 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9377 processing int_tests.
9379 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9381 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9382 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9383 * sysdeps/unix/sysv/linux/mips: Move directory from
9384 ports/sysdeps/unix/sysv/linux/mips.
9385 * README: Update listing for mips-*-linux-gnu and
9388 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9390 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9391 * sysdeps/unix/sysv/linux/m68k: Move directory from
9392 ports/sysdeps/unix/sysv/linux/m68k.
9393 * README: Update listing for m68k-*-linux-gnu.
9395 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9397 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9398 * sysdeps/unix/sysv/linux/generic: Move directory from
9399 ports/sysdeps/unix/sysv/linux/generic.
9400 * sysdeps/unix/sysv/linux/tile: Move directory from
9401 ports/sysdeps/unix/sysv/linux/tile.
9402 * README: Update listing for tile*-*-linux-gnu.
9404 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9406 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9408 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9409 * catgets/open_catalog.c (__open_catalog): Likewise.
9410 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9411 * debug/confstr_chk.c: Likewise.
9412 * debug/fread_chk.c (__fread_chk): Likewise.
9413 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9414 * debug/getgroups_chk.c: Likewise.
9415 * debug/mbsnrtowcs_chk.c: Likewise.
9416 * debug/mbsrtowcs_chk.c: Likewise.
9417 * debug/mbstowcs_chk.c: Likewise.
9418 * debug/memcpy_chk.c: Likewise.
9419 * debug/memmove_chk.c: Likewise.
9420 * debug/mempcpy_chk.c: Likewise.
9421 * debug/memset_chk.c: Likewise.
9422 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9423 * debug/strcat_chk.c (__strcat_chk): Likewise.
9424 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9425 * debug/strncat_chk.c (__strncat_chk): Likewise.
9426 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9427 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9428 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9429 * debug/wcpncpy_chk.c: Likewise.
9430 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9431 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9432 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9433 * debug/wcsncpy_chk.c: Likewise.
9434 * debug/wcsnrtombs_chk.c: Likewise.
9435 * debug/wcsrtombs_chk.c: Likewise.
9436 * debug/wcstombs_chk.c: Likewise.
9437 * debug/wmemcpy_chk.c: Likewise.
9438 * debug/wmemmove_chk.c: Likewise.
9439 * debug/wmempcpy_chk.c: Likewise.
9440 * debug/wmemset_chk.c: Likewise.
9441 * dirent/scandirat.c (SCANDIRAT): Likewise.
9442 * dlfcn/dladdr1.c (dladdr1): Likewise.
9443 * dlfcn/dladdr.c (dladdr): Likewise.
9444 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9445 * dlfcn/dlerror.c (__dlerror): Likewise.
9446 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9447 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9448 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9449 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9450 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9451 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9452 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9453 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9455 * elf/dl-conflict.c: Likewise.
9456 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9457 * elf/dl-dst.h: Likewise.
9458 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9459 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9460 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9461 * elf/dl-init.c (call_init, _dl_init): Likewise.
9462 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9463 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9464 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9466 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9468 * elf/dl-minimal.c (__libc_memalign): Likewise.
9469 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9470 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9471 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9472 * elf/dl-sym.c (do_sym): Likewise.
9473 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9474 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9475 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9476 * elf/dl-writev.h (_dl_writev): Likewise.
9477 * elf/ldconfig.c (search_dir): Likewise.
9478 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9479 (dl_main): Likewise.
9480 * elf/setup-vdso.h (setup_vdso): Likewise.
9481 * grp/compat-initgroups.c (compat_call): Likewise.
9482 * grp/fgetgrent.c (fgetgrent): Likewise.
9483 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9484 * grp/putgrent.c (putgrent): Likewise.
9485 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9487 * hurd/hurdinit.c: Likewise.
9488 * iconvdata/8bit-gap.c (struct): Likewise.
9489 * iconvdata/ansi_x3.110.c : Likewise.
9490 * iconvdata/big5.c : Likewise.
9491 * iconvdata/big5hkscs.c : Likewise.
9492 * iconvdata/cp1255.c: Likewise.
9493 * iconvdata/cp1258.c : Likewise.
9494 * iconvdata/cp932.c : Likewise.
9495 * iconvdata/euc-cn.c: Likewise.
9496 * iconvdata/euc-jisx0213.c : Likewise.
9497 * iconvdata/euc-jp.c: Likewise.
9498 * iconvdata/euc-jp-ms.c : Likewise.
9499 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9500 * iconvdata/gb18030.c : Likewise.
9501 * iconvdata/gbbig5.c (const): Likewise.
9502 * iconvdata/gbgbk.c: Likewise.
9503 * iconvdata/gbk.c : Likewise.
9504 * iconvdata/ibm1364.c : Likewise.
9505 * iconvdata/ibm930.c : Likewise.
9506 * iconvdata/ibm932.c: Likewise.
9507 * iconvdata/ibm933.c : Likewise.
9508 * iconvdata/ibm935.c : Likewise.
9509 * iconvdata/ibm937.c : Likewise.
9510 * iconvdata/ibm939.c : Likewise.
9511 * iconvdata/ibm943.c: Likewise.
9512 * iconvdata/iso_11548-1.c: Likewise.
9513 * iconvdata/iso-2022-cn.c : Likewise.
9514 * iconvdata/iso-2022-cn-ext.c : Likewise.
9515 * iconvdata/iso-2022-jp-3.c: Likewise.
9516 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9517 * iconvdata/iso-2022-kr.c : Likewise.
9518 * iconvdata/iso646.c (gconv_end): Likewise.
9519 * iconvdata/iso_6937-2.c : Likewise.
9520 * iconvdata/iso_6937.c : Likewise.
9521 * iconvdata/iso8859-1.c: Likewise.
9522 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9523 * iconvdata/shift_jisx0213.c : Likewise.
9524 * iconvdata/sjis.c : Likewise.
9525 * iconvdata/t.61.c : Likewise.
9526 * iconvdata/tcvn5712-1.c : Likewise.
9527 * iconvdata/tscii.c: Likewise.
9528 * iconvdata/uhc.c : Likewise.
9529 * iconvdata/unicode.c (gconv_end): Likewise.
9530 * iconvdata/utf-16.c (gconv_end): Likewise.
9531 * iconvdata/utf-32.c (gconv_end): Likewise.
9532 * iconvdata/utf-7.c (base64): Likewise.
9533 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9534 * iconv/gconv_close.c (__gconv_close): Likewise.
9535 * iconv/gconv_open.c (__gconv_open): Likewise.
9536 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9537 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9538 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9539 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9540 (ucs4le_internal_loop_single): Likewise.
9541 * iconv/iconv.c (iconv): Likewise.
9542 * iconv/iconv_close.c: Likewise.
9543 * iconv/loop.c (SINGLE): Likewise.
9544 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9545 * include/atomic.h: Likewise.
9546 * inet/inet6_option.c (option_alloc): Likewise.
9547 * intl/bindtextdom.c (set_binding_values): Likewise.
9548 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9549 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9550 * intl/localealias.c (read_alias_file): Likewise.
9551 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9552 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9553 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9554 * libio/fmemopen.c (fmemopen): Likewise.
9555 * libio/iofgets.c (_IO_fgets): Likewise.
9556 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9557 * libio/iofgetws.c (fgetws): Likewise.
9558 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9559 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9560 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9561 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9562 * locale/findlocale.c (_nl_find_locale): Likewise.
9563 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9564 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9566 * locale/setlocale.c (setlocale): Likewise.
9567 * login/programs/pt_chown.c (main): Likewise.
9568 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9569 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9570 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9571 (mmap, mmap64, mremap, munmap): Likewise.
9572 * math/e_exp2l.c: Likewise.
9573 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9574 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9575 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9576 * math/s_catan.c (__catan): Likewise.
9577 * math/s_catanf.c (__catanf): Likewise.
9578 * math/s_catanh.c (__catanh): Likewise.
9579 * math/s_catanhf.c (__catanhf): Likewise.
9580 * math/s_catanhl.c (__catanhl): Likewise.
9581 * math/s_catanl.c (__catanl): Likewise.
9582 * math/s_ccosh.c (__ccosh): Likewise.
9583 * math/s_ccoshf.c (__ccoshf): Likewise.
9584 * math/s_ccoshl.c (__ccoshl): Likewise.
9585 * math/s_cexp.c (__cexp): Likewise.
9586 * math/s_cexpf.c (__cexpf): Likewise.
9587 * math/s_cexpl.c (__cexpl): Likewise.
9588 * math/s_clog10.c (__clog10): Likewise.
9589 * math/s_clog10f.c (__clog10f): Likewise.
9590 * math/s_clog10l.c (__clog10l): Likewise.
9591 * math/s_clog.c (__clog): Likewise.
9592 * math/s_clogf.c (__clogf): Likewise.
9593 * math/s_clogl.c (__clogl): Likewise.
9594 * math/s_csin.c (__csin): Likewise.
9595 * math/s_csinf.c (__csinf): Likewise.
9596 * math/s_csinh.c (__csinh): Likewise.
9597 * math/s_csinhf.c (__csinhf): Likewise.
9598 * math/s_csinhl.c (__csinhl): Likewise.
9599 * math/s_csinl.c (__csinl): Likewise.
9600 * math/s_csqrt.c (__csqrt): Likewise.
9601 * math/s_csqrtf.c (__csqrtf): Likewise.
9602 * math/s_csqrtl.c (__csqrtl): Likewise.
9603 * math/s_ctan.c (__ctan): Likewise.
9604 * math/s_ctanf.c (__ctanf): Likewise.
9605 * math/s_ctanh.c (__ctanh): Likewise.
9606 * math/s_ctanhf.c (__ctanhf): Likewise.
9607 * math/s_ctanhl.c (__ctanhl): Likewise.
9608 * math/s_ctanl.c (__ctanl): Likewise.
9609 * math/w_pow.c: Likewise.
9610 * math/w_powf.c: Likewise.
9611 * math/w_powl.c: Likewise.
9612 * math/w_scalb.c (sysv_scalb): Likewise.
9613 * math/w_scalbf.c (sysv_scalbf): Likewise.
9614 * math/w_scalbl.c (sysv_scalbl): Likewise.
9615 * misc/error.c (error_tail): Likewise.
9616 * misc/pselect.c (__pselect): Likewise.
9617 * nis/nis_callback.c (__nis_create_callback): Likewise.
9618 * nis/nis_call.c (__nisfind_server): Likewise.
9619 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9620 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9621 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9622 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9623 * nis/nis_lookup.c (nis_lookup): Likewise.
9624 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9625 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9626 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9627 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9628 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9629 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9630 * nis/nss_compat/compat-initgroups.c (add_group)
9631 (internal_getgrent_r): Likewise.
9632 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9633 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9634 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9635 (internal_getspnam_r): Likewise.
9636 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9637 (_nss_nis_getaliasbyname_r): Likewise.
9638 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9639 (_nss_nis_getntohost_r): Likewise.
9640 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9641 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9642 (_nss_nis_getgrgid_r): Likewise.
9643 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9644 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9645 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9646 (_nss_nis_gethostbyname4_r): Likewise.
9647 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9648 (initgroups_netid): Likewise.
9649 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9650 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9651 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9652 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9653 (_nss_nis_getprotobynumber_r): Likewise.
9654 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9655 (_nss_nis_getsecretkey): Likewise.
9656 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9657 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9658 (_nss_nis_getpwuid_r): Likewise.
9659 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9660 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9661 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9662 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9663 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9664 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9665 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9667 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9668 (_nss_nisplus_getntohost_r): Likewise.
9669 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9670 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9671 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9672 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9674 * nis/nss_nisplus/nisplus-initgroups.c
9675 (_nss_nisplus_initgroups_dyn): Likewise.
9676 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9677 (_nss_nisplus_getnetbyaddr_r): Likewise.
9678 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9679 (_nss_nisplus_getprotobynumber_r): Likewise.
9680 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9681 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9682 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9684 * nis/nss_nisplus/nisplus-service.c
9685 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9686 (_nss_nisplus_getservbyport_r): Likewise.
9687 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9688 (_nss_nisplus_getspnam_r): Likewise.
9689 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9691 * nscd/aicache.c (addhstaiX): Likewise.
9692 * nscd/cache.c (cache_search, prune_cache): Likewise.
9693 * nscd/connections.c (register_traced_file, send_ro_fd)
9694 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9695 (main_loop_epoll): Likewise.
9696 * nscd/grpcache.c (addgrbyX): Likewise.
9697 * nscd/hstcache.c (addhstbyX): Likewise.
9698 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9699 * nscd/mem.c (gc, mempool_alloc): Likewise.
9700 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9701 (addinnetgrX): Likewise.
9702 * nscd/nscd-client.h (__nscd_acquire_maplock)
9703 (__nscd_drop_map_ref): Likewise.
9704 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9705 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9706 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9708 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9709 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9710 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9711 (__nscd_get_map_ref): Likewise.
9712 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9713 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9715 * nscd/pwdcache.c (addpwbyX): Likewise.
9716 * nscd/selinux.c (preserve_capabilities): Likewise.
9717 * nscd/servicescache.c (addservbyX): Likewise.
9718 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9719 * posix/fnmatch.c (fnmatch): Likewise.
9720 * posix/getopt.c (_getopt_internal_r): Likewise.
9721 * posix/glob.c (glob, glob_in_dir): Likewise.
9722 * posix/wordexp.c (exec_comm_child): Likewise.
9723 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9724 (getanswer_r, gaih_getanswer_slice): Likewise.
9725 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9726 * resolv/res_init.c: Likewise.
9727 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9728 * resolv/res_query.c (__libc_res_nquery): Likewise.
9729 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9731 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9732 * stdio-common/perror.c (perror): Likewise.
9733 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9734 * stdio-common/tmpnam.c (tmpnam): Likewise.
9735 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9736 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9737 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9739 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9740 * stdlib/putenv.c (putenv): Likewise.
9741 * stdlib/setenv.c (__add_to_environ): Likewise.
9742 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9743 * stdlib/strtol_l.c (INTERNAL): Likewise.
9744 * string/memmem.c (memmem): Likewise.
9745 * string/strerror.c (strerror): Likewise.
9746 * string/strnlen.c (__strnlen): Likewise.
9747 * string/test-memmem.c (simple_memmem): Likewise.
9748 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9749 * sunrpc/pm_getport.c (__get_socket): Likewise.
9750 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9751 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9752 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9753 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9755 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9756 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9757 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9758 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9759 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9760 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9762 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9764 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9765 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9766 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9767 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9768 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9770 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9771 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9772 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9773 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9774 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9775 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9777 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9779 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9781 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9782 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9783 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9784 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9785 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9786 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9787 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9790 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9792 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9793 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9795 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9796 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9798 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9800 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9802 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9804 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9805 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9806 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9808 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9809 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9810 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9811 * sysdeps/posix/sleep.c: Likewise.
9812 * sysdeps/posix/tempname.c: Likewise.
9813 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9814 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9816 * sysdeps/powerpc/powerpc32/dl-machine.h
9817 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9818 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9819 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9820 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9821 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9823 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9824 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9825 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9826 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9827 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9828 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9829 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9830 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9831 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9832 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9833 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9834 (elf_machine_lazy_rel): Likewise.
9835 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9836 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9837 (elf_machine_lazy_rel): Likewise.
9838 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9839 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9840 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9841 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9842 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9843 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9844 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9847 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9848 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9849 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9850 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9851 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9852 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9853 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9854 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9855 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9856 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9857 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9859 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9860 (__posix_fallocate64_l64): Likewise.
9861 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9862 (posix_fallocate): Likewise.
9863 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9865 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9866 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9867 (getifaddrs_internal): Likewise.
9868 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9869 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9870 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9871 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9872 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9873 (__posix_fallocate64_l64): Likewise.
9874 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9876 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9877 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9878 (__get_clockfreq): Likewise.
9879 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9880 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9881 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9883 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9884 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9885 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9886 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9888 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9889 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9890 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9891 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9892 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9893 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9894 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9896 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9897 (posix_fallocate): Likewise.
9898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9899 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9900 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9901 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9902 (elf_machine_rela, elf_machine_rela_relative)
9903 (elf_machine_lazy_rel): Likewise.
9904 * time/asctime.c (asctime_internal): Likewise.
9905 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9906 * time/tzset.c (__tzset_parse_tz): Likewise.
9907 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9908 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9909 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9910 * wcsmbs/wcsmbsload.h: Likewise.
9913 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9915 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9916 (arena_get2): Remove THREAD_STATS conditionals.
9917 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9918 (__malloc_stats, int): Likewise.
9920 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9922 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9923 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9925 * manual/setjmp.texi: Fix typos/grammar errors.
9927 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9928 Only return early when n is <= 0. Delete unused return statement.
9930 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9931 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9932 * debug/tst-longjmp_chk3.c: New file.
9934 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9935 (test_main): Replace code with set_fortify_handler call.
9936 * debug/test-strcpy_chk.c: Likewise.
9937 * debug/tst-chk1.c: Likewise.
9938 * debug/tst-longjmp_chk.c: Likewise.
9939 * test-skeleton.c: Include fcntl.h & paths.h
9940 (set_fortify_handler): Define.
9942 * debug/tst-longjmp_chk.c: Add header comment and include
9944 (do_test): Mark static.
9945 (TEST_FUNCTION): Define.
9947 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9948 (IP_PMTUDISC_INTERFACE): Likewise.
9949 (IP_MULTICAST_IF): Likewise.
9950 (IP_MULTICAST_TTL): Likewise.
9951 (IP_MULTICAST_LOOP): Likewise.
9952 (IP_ADD_MEMBERSHIP): Likewise.
9953 (IP_DROP_MEMBERSHIP): Likewise.
9954 (IP_UNBLOCK_SOURCE): Likewise.
9955 (IP_BLOCK_SOURCE): Likewise.
9956 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9957 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9958 (IP_MSFILTER): Likewise.
9959 (MCAST_JOIN_GROUP): Likewise.
9960 (MCAST_BLOCK_SOURCE): Likewise.
9961 (MCAST_UNBLOCK_SOURCE): Likewise.
9962 (MCAST_LEAVE_GROUP): Likewise.
9963 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9964 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9965 (MCAST_MSFILTER): Likewise.
9966 (IP_MULTICAST_ALL): Likewise.
9967 (IP_UNICAST_IF): Likewise.
9969 * timezone/Makefile: Delete $(have-ksh) check.
9970 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9971 * timezone/tzselect.ksh: Add +x mode bits.
9973 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9974 (ANON_INODE_FS_MAGIC): Likewise.
9975 (BDEVFS_MAGIC): Likewise.
9976 (BINFMTFS_MAGIC): Likewise.
9977 (BTRFS_TEST_MAGIC): Likewise.
9978 (CRAMFS_MAGIC_WEND): Likewise.
9979 (DEBUGFS_MAGIC): Likewise.
9980 (ECRYPTFS_SUPER_MAGIC): Likewise.
9981 (EXT3_SUPER_MAGIC): Likewise.
9982 (EXT4_SUPER_MAGIC): Likewise.
9983 (FUTEXFS_SUPER_MAGIC): Likewise.
9984 (HOSTFS_SUPER_MAGIC): Likewise.
9985 (HUGETLBFS_MAGIC): Likewise.
9986 (MINIX3_SUPER_MAGIC): Likewise.
9987 (MTD_INODE_FS_MAGIC): Likewise.
9988 (NILFS_SUPER_MAGIC): Likewise.
9989 (OPENPROM_SUPER_MAGIC): Likewise.
9990 (PIPEFS_MAGIC): Likewise.
9991 (PSTOREFS_MAGIC): Likewise.
9992 (QNX6_SUPER_MAGIC): Likewise.
9993 (RAMFS_MAGIC): Likewise.
9994 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9995 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9996 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9997 (SECURITYFS_MAGIC): Likewise.
9998 (SELINUX_MAGIC): Likewise.
9999 (SMACK_MAGIC): Likewise.
10000 (SOCKFS_MAGIC): Likewise.
10001 (SQUASHFS_MAGIC): Likewise.
10002 (STACK_END_MAGIC): Likewise.
10003 (TMPFS_MAGIC): Likewise.
10004 (USBDEVICE_SUPER_MAGIC): Likewise.
10005 (V9FS_MAGIC): Likewise.
10006 (XENFS_SUPER_MAGIC): Likewise.
10007 (CRAMFS_MAGIC): Fix typo in comment.
10008 (EXT2_SUPER_MAGIC): Update comment.
10009 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10011 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10013 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10014 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10015 * sysdeps/unix/sysv/linux/arm: Move directory from
10016 ports/sysdeps/unix/sysv/linux/arm.
10017 * README: Update listing for arm-*-linux-gnueabi.
10019 * README: Remove mention of am33.
10021 2014-02-07 Roland McGrath <roland@hack.frob.com>
10023 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10024 than the comma operator, to avoid "rhs of comma has no effect"
10026 (__sigfillset, __sigandset, __sigorset): Likewise.
10027 * include/signal.h (__sigemptyset): Likewise.
10028 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10030 2014-02-07 Allan McRae <allan@archlinux.org>
10032 * version.h (RELEASE): Set to "development".
10033 (VERSION): Set to "2.19.90"
10034 * NEWS: Add 2.20 section.
10036 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10039 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10041 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10043 * manual/contrib.texi: Update entry for Carlos O'Donell,
10044 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10046 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10048 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10050 * sysdeps/unix/sysv/linux/kernel-features.h
10051 [__LINUX_KERNEL_VERSION >= 0x020621]
10052 (__ASSUME_PROC_PID_TASK_COMM): Define.
10054 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10057 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10058 conversion when destination buffer does not have enough space.
10059 * libio/tst-ftell-partial-wide.c: New test case.
10060 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10062 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10063 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10064 Leonard and Allan McRae.
10066 2014-02-04 David S. Miller <davem@davemloft.net>
10068 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10071 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10100 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10102 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10103 * shlib-versions: Likewise.
10105 2014-02-04 Roland McGrath <roland@hack.frob.com>
10106 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10108 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10109 (abilist-pattern): New variable, set to %-le.abilist.
10111 * Makerules (abilist-pattern): New variable.
10112 (vpath): Use $(abilist-pattern) in place of %.abilist.
10113 (check-abi-% pattern rule): Likewise.
10114 (check-abi, update-abi): Likewise.
10116 2014-02-04 Eric Wong <normalperson@yhbt.net>
10118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10120 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10122 * manual/startup.texi: Add next, previous, and top entries for
10123 the `Program Arguments' and `Environment Variables' nodes.
10125 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10127 * manual/macros.texi: Add comments before MTASC-safety macros.
10129 * manual/users.texi: Document MTASC-safety properties.
10131 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10132 (pthread_getspecific, pthread_setspecific): Format with
10133 @deftypefun, and add @safety note.
10134 * manual/signal.texi: Move comments that analyze the above
10135 functions to their home place.
10137 2014-02-03 Allan McRae <allan@archlinux.org>
10139 * po/sl.po: Update Slovenian translation from translation project.
10141 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10143 * manual/time.texi (timegm): Add missing blank after @c.
10144 Reported by Joseph Myers <joseph@codesourcery.com>.
10146 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10148 * manual/check-safety.sh: New.
10149 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10151 * manual/terminal.texi: Document MTASC-safety properties.
10153 * manual/filesys.texi: Document MTASC-safety properties.
10155 * manual/errno.texi: Document MTASC-safety properties.
10157 * manual/intro.texi: Document safety identifiers and
10160 * manual/string.texi (wcstok): Fix prototype.
10161 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10163 * manual/time.texi: Document MTASC-safety properties.
10165 * manual/string.texi: Document MTASC-safety properties.
10167 * manual/threads.texi: Document MTASC-safety properties.
10169 * manual/stdio.texi: Document MTASC-safety properties.
10171 * manual/syslog.texi: Document MTASC-safety properties.
10173 * manual/sysinfo.texi: Document MTASC-safety properties.
10175 * manual/startup.texi: Document MTASC-safety properties.
10177 * manual/socket.texi: Document MTASC-safety properties.
10179 * manual/signal.texi: Document MTASC-safety properties.
10181 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10183 * manual/setjmp.texi: Document MTASC-safety properties.
10185 * manual/search.texi: Document MTASC-safety properties.
10187 * manual/resource.texi: Document MTASC-safety properties.
10189 * manual/process.texi: Document MTASC-safety properties.
10191 * manual/platform.texi: Document MTASC-safety properties.
10193 * manual/pipe.texi: Document MTASC-safety properties.
10195 * manual/pattern.texi: Document MTASC-safety properties.
10197 * manual/message.texi: Document MTASC-safety properties.
10200 * manual/memory.texi: Document MTASC-safety properties.
10202 * manual/math.texi: Document MTASC-safety properties.
10204 * manual/locale.texi: Document MTASC-safety properties.
10206 * manual/llio.texi: Document MTASC-safety properties.
10208 * manual/libdl.texi: New.
10210 * manual/lang.texi: Document MTASC-safety properties.
10212 * manual/job.texi: Document MTASC-safety properties.
10214 * manual/getopt.texi: Document MTASC-safety properties.
10216 * manual/ctype.texi: Document MTASC-safety properties.
10218 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10221 * csu/libc-tls.c (static_map): Remove variable.
10222 (__libc_setup_tls): Use main executable's link map for TLS data.
10223 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10224 casing for LM_ID_BASE and GL(dl_nns).
10225 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10226 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10227 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10228 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10229 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10231 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10234 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10236 * manual/debug.texi: Document MTASC-safety properties.
10238 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10241 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10242 of __x86_64__ when disabling x87 inline functions.
10244 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10246 * manual/charset.texi: Document MTASC-safety properties.
10248 * manual/crypt.texi: Document MTASC-safety properties.
10250 * manual/conf.texi: Document MTASC-safety properties.
10252 * manual/arith.texi: Document MTASC-safety properties.
10254 * manual/argp.texi: Document MTASC-safety properties.
10256 * manual/macros.texi: Introduce macros to document multi
10257 thread, asynchronous signal and asynchronous cancellation
10259 * manual/intro.texi: Introduce the properties themselves.
10261 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10263 * sysdeps/sh/sh4/Makefile: New file.
10265 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10267 * math/gen-libm-test.pl ($srcdir): New variable.
10268 ($auto_input): Use it.
10270 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10273 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10274 access beyond array bounds when parsing netgroups file.
10276 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10277 the old buffer before realloc.
10279 2014-01-27 Allan McRae <allan@archlinux.org>
10281 * po/fr.po: Update French translation from translation project.
10283 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10285 * sysdeps/sh/libm-test-ulps: Regenerate.
10287 2014-01-24 David S. Miller <davem@davemloft.net>
10289 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10291 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10293 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10294 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10296 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10299 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10300 string pointers after reallocation.
10302 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10304 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10305 __SH4A__ instead of __SH_FPU_ANY__.
10307 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10309 * sysdeps/sh/fpu_control.h: New file.
10310 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10311 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10312 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10313 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10314 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10315 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10316 * sysdeps/sh/sys/ucontext.h: Remove.
10317 * sysdeps/sh/sys: Remove directory.
10319 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10321 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10322 s390/sys/ucontext.h.
10323 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10324 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10326 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10329 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10331 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10334 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10335 Adjust the vDSO correctly for internal calls.
10336 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10338 2014-01-20 Allan McRae <allan@archlinux.org>
10340 * po/ca.po: Update Catalan translation from translation project.
10342 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10344 * sysdeps/s390/sotruss-lib.c: New file.
10346 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10349 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10350 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10351 local calls issues by not having a PLT stub required for IFUNC calls.
10352 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10354 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10356 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10357 * math/test-fpucw-static.c: Likewise.
10359 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10362 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10364 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10366 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10367 implementation for powerpc.
10369 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10372 * sysdeps/posix/system.c (__libc_system): Do not enable
10373 asynchronous cancellation.
10375 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10378 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10379 handling only for numbers special also in the IEEE case.
10381 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10383 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10385 2014-01-11 Allan McRae <allan@archlinux.org>
10387 * po/bg.po: Update Bulgarian translation from translation project.
10389 * po/de.po: Update German translation from translation project.
10391 2014-01-10 Roland McGrath <roland@hack.frob.com>
10393 * sysdeps/generic/gcc-compat.h: New file.
10395 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10397 * benchtests/asin-inputs: Correct slow inputs.
10398 * benchtests/acos-inputs: Likewise.
10400 2014-01-10 Allan McRae <allan@archlinux.org>
10402 * po:sv.po: Update Swedish translation from translation project.
10404 * po/vi.po: Update Vietnamese translation from translation project.
10406 * po/eo.po: Update Esperanto translation from translation project.
10408 * po/cs.po: Update Czech translation from translation project.
10410 * po/nl.po: Update Dutch translation from translation project.
10412 * po/pl.po: Update Polish translation from translation project.
10414 * po/ru.po: Update Russian translation from translation project.
10416 * po/uk.po: Update Ukrainian translation from translation project.
10418 2014-01-08 Brooks Moses <bmoses@google.com>
10420 * elf/dl-load.c: Fix comment typo.
10422 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10424 * po/header.pot: Rename to...
10425 * po/pot.header: ... this.
10426 * po/Makefile: Use pot.header.
10428 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10429 Maxim Kuvyrkov <maxim@kugelworks.com>
10432 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10433 SRC and DEST against LEN.
10435 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10438 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10440 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10442 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10446 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10449 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10450 for large positive arguments.
10452 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10454 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10456 * math/auto-libm-test-in: Mark various tests with
10457 xfail-rounding:ldbl-128ibm.
10458 * math/auto-libm-test-out: Regenerated.
10461 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10462 Increase overflow threshold.
10464 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10467 * stdio-common/vfprintf.c: Check for integer overflow.
10469 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10471 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10472 the first argument and return value of __tls_get_addr_internal.
10474 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10476 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10477 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10479 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10481 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10482 * sysdeps/s390/rtld-global-offsets.sym: New file.
10483 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10485 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10486 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10487 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10489 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10490 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10496 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10497 halfs of GPRs for high_gprs contexts.
10498 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10499 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10501 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10503 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10505 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10506 for high GPRs (uc_high_gprs) and for future extensions
10508 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10509 for future extensions (__reserved).
10510 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10512 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10513 SC_HIGHGPRS offset definition.
10514 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10515 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10517 * Versions.def: Add GLIBC_2.19 for libpthread.
10518 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10519 siglongjmp for libpthread with GLIBC_2.19 symver.
10520 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10521 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10522 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10523 * sysdeps/s390/__longjmp.c: New file.
10524 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10525 * sysdeps/s390/longjmp.c: New file.
10526 * sysdeps/s390/setjmp.S: New file.
10527 * sysdeps/s390/sigjmp.S: New file.
10528 * sysdeps/s390/v1-longjmp.c: New file.
10529 * sysdeps/s390/v1-setjmp.h: New file.
10530 * sysdeps/s390/v1-sigjmp.c: New file.
10531 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10532 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10533 GLIBC_2.19 version.
10534 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10535 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10536 versioned symbols for ____longjmp_chk.
10537 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10547 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10548 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10549 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10550 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10551 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10552 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10553 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10554 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10555 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10556 * sysdeps/s390/rtld-__longjmp.c: New file.
10557 * sysdeps/s390/rtld-setjmp.S: New file.
10559 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10562 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10563 Return -__logl (x) for small positive arguments without evaluating
10566 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10568 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10570 (__ptrace_peeksiginfo_args): ... this.
10571 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10572 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10573 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10575 2014-01-06 Allan McRae <allan@archlinux.org>
10577 * inet/netinet/in.h: Fix typo in comment.
10579 2014-01-05 Andreas Jaeger <aj@suse.de>
10581 * sysdeps/i386/fpu/libm-test-ulps: Update.
10583 2014-01-05 Allan McRae <allan@archlinux.org>
10585 * po/libc.pot: Regenerated.
10587 * malloc/memusagestat.c: Fix gettext call formatting.
10589 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10591 * nscd/nscd.c: Improve usage() output.
10593 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10595 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10596 * sysdeps/unix/sysv/linux/configure: Regenerated.
10597 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10598 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10600 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10603 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10604 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10606 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10608 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10609 extra tokens at end of #undef directive.
10610 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10611 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10612 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10614 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10616 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10618 * math/auto-libm-test-in: Mark various tests with
10619 xfail-rounding:ldbl-128ibm.
10620 * math/auto-libm-test-out: Regenerated.
10622 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10625 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10626 numbers with subnormal high part when calculating exponent.
10629 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10633 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10635 (__ieee754_acoshl): Use __log1pl not __log1p.
10637 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10639 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10640 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10641 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10642 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10643 (reused_arena, arena_get2): Convert to GNU style.
10644 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10645 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10646 (memalign_check, __malloc_set_state): Likewise.
10647 * malloc/mallocbug.c (main): Likewise.
10648 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10649 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10650 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10651 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10652 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10653 (__posix_memalign, malloc_info): Likewise.
10654 * malloc/malloc.h: Likewise.
10655 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10656 (mallochook, memalignhook, reallochook, mabort): Likewise.
10657 * malloc/mcheck.h: Likewise.
10658 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10659 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10660 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10661 * malloc/morecore.c (__default_morecore): Likewise.
10662 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10663 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10664 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10665 (print_and_abort): Likewise.
10666 * malloc/obstack.h: Likewise.
10667 * malloc/set-freeres.c (__libc_freeres): Likewise.
10668 * malloc/tst-mallocstate.c (main): Likewise.
10669 * malloc/tst-mtrace.c (main): Likewise.
10670 * malloc/tst-realloc.c (do_test): Likewise.
10672 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10675 * nscd/netgroupcache.c (do_notfound): New function.
10676 (addgetnetgrentX): Use it.
10679 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10680 NSS_STATUS_NOTFOUND.
10682 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10684 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10687 2014-01-01 Allan McRae <allan@archlinux.org>
10689 * scripts/update-copyrights: Update configure input file suffix.
10691 * NEWS: Update copyright year.
10692 * catgets/gencat.c: Likewise.
10693 * csu/version.c: Likewise.
10694 * debug/catchsegv.sh: Likewise.
10695 * debug/pcprofiledump.c: Likewise.
10696 * debug/xtrace.sh: Likewise.
10697 * elf/ldconfig.c: Likewise.
10698 * elf/ldd.bash.in: Likewise.
10699 * elf/pldd.c: Likewise.
10700 * elf/sotruss.ksh: Likewise.
10701 * elf/sprof.c: Likewise.
10702 * iconv/iconv_prog.c: Likewise.
10703 * iconv/iconvconfig.c: Likewise.
10704 * locale/programs/locale.c: Likewise.
10705 * locale/programs/localedef.c: Likewise.
10706 * login/programs/pt_chown.c: Likewise.
10707 * malloc/memusage.sh: Likewise.
10708 * malloc/memusagestat.c: Likewise.
10709 * malloc/mtrace.pl: Likewise.
10710 * manual/libc.texinfo: Likewise.
10711 * nscd/nscd.c: Likewise.
10712 * nss/getent.c: Likewise.
10713 * nss/makedb.c: Likewise.
10714 * posix/getconf.c: Likewise.
10715 * scripts/test-installation.pl: Likewise.
10717 * All files with FSF copyright notices: Update copyright dates
10718 using scripts/update-copyrights.
10719 * intl/plural.c: Regenerated.
10720 * locale/programs/charmap-kw.h: Likewise.
10721 * locale/programs/locfile-kw.h: Likewise.
10723 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10725 * sysdeps/unix/sysv/linux/configure: Regenerated.
10726 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10727 the linux/fanotify.h header.
10728 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10729 HAVE_LINUX_FANOTIFY_H is defined.
10731 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10733 * benchtests/cos-inputs: New inputs.
10734 * benchtests/sin-inputs: Likewise.
10736 * benchtests/atan-inputs: New inputs. Fix name of multiple
10737 precision fallback inputs.
10739 * benchtests/atanh-inputs: New inputs.
10740 * benchtests/tanh-inputs: Likewise.
10742 * benchtests/acosh-inputs: New inputs.
10743 * benchtests/asinh-inputs: Likewise.
10745 * benchtests/cosh-inputs: New inputs.
10746 * benchtests/sinh-inputs: Likewise.
10748 * benchtests/acos-inputs: Add more inputs.
10749 * benchtests/asin-inputs: Likewise.
10751 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10754 * manual/arith.texi: Fix spelling.
10755 * manual/charset.texi: Likewise.
10756 * manual/errno.texi: Likewise.
10757 * manual/filesys.texi: Likewise.
10758 * manual/lang.texi: Likewise.
10759 * manual/llio.texi: Likewise.
10760 * manual/locale.texi: Likewise.
10761 * manual/message.texi: Likewise.
10762 * manual/resource.texi: Likewise.
10763 * manual/search.texi: Likewise.
10764 * manual/setjmp.texi: Likewise.
10765 * manual/stdio.texi: Likewise.
10766 * manual/string.texi: Likewise.
10767 * manual/sysinfo.texi: Likewise.
10768 * manual/time.texi: Likewise.
10770 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10772 * po/sl.po: New file.
10774 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10776 * .gitignore: Add core/.gdbinit/.gdb_history.
10778 2013-12-27 Allan McRae <allan@archlinux.org>
10781 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10782 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10784 2013-12-24 Brooks Moses <bmoses@google.com>
10786 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10787 all compilers that claim C++98 compliance, not just GCC.
10788 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10791 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10793 * NEWS: Restore accidentally deleted bug-fix entries.
10795 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10796 Ondřej Bílka <neleai@seznam.cz>
10799 * malloc/malloc.c (_int_free): Perform sanity check only if we
10802 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10805 * manual/stdio.texi (String Input Conversions): Clarify that character
10806 classes are not supported.
10808 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10812 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10815 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10816 Calculate results for small negative arguments directly rather
10817 than using reflection formula with special underflow handling.
10819 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10820 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10821 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10822 (fchflags): Likewise.
10823 (revoke): Likewise.
10824 (setlogin): Likewise.
10825 (sigaltstack): Likewise.
10827 (sigblock): Remove.
10828 (sigsetmask): Likewise.
10830 (waitpid): Likewise.
10831 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10832 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10834 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10835 * sysdeps/unix/bsd/Makefile: ... here.
10836 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10837 * sysdeps/unix/bsd/Versions: ... here.
10838 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10839 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10840 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10841 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10842 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10843 * sysdeps/unix/bsd/sigblock.c: ... here.
10844 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10845 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10846 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10847 * sysdeps/unix/bsd/sigvec.c: ... here.
10848 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10849 * sysdeps/unix/bsd/tcdrain.c: ... here.
10850 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10851 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10852 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10853 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10854 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10855 * sysdeps/unix/bsd/wait.c: ... here.
10856 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10857 * sysdeps/unix/bsd/wait3.c: ... here.
10858 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10859 * sysdeps/unix/bsd/waitpid.c: ... here.
10861 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10864 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10865 round-to-nearest for [!USE_AS_EXPM1L].
10866 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10867 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10868 more tests of exp and exp10. Expect some exp10 tests to miss
10869 exceptions or fail in directed rounding modes.
10870 * math/auto-libm-test-out: Regenerated.
10871 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10872 (exp10_test_tonearest): New function.
10873 (exp10_towardzero_test_data): New array.
10874 (exp10_test_towardzero): New function.
10875 (exp10_downward_test_data): New array.
10876 (exp10_test_downward): New function.
10877 (exp10_upward_test_data): New array.
10878 (exp10_test_upward): New function.
10879 (main): Call the new functions.
10880 * sysdeps/i386/fpu/libm-test-ulps: Update.
10881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10883 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10885 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10886 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10887 * math/auto-libm-test-out: Regenerated.
10888 * math/libm-test.inc (acosh_test_data): Add more tests.
10889 (atanh_test_data): Likewise.
10890 (ceil_test_data): Likewise.
10891 (copysign_test_data): Likewise.
10892 * sysdeps/i386/fpu/libm-test-ulps: Update.
10893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10895 * timezone/checktab.awk: Update from tzcode 2013i.
10896 * timezone/private.h: Likewise.
10897 * timezone/scheck.c: Likewise.
10898 * timezone/tzfile.h: Likewise.
10899 * timezone/tzselect.ksh: Likewise.
10900 * timezone/zdump.c: Likewise.
10901 * timezone/zic.c: Likewise.
10903 * math/auto-libm-test-in: Add tests of cpow.
10904 * math/auto-libm-test-out: Regenerated.
10905 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10906 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10908 (func_calc_desc): Add mpc_cc_c union field.
10909 (test_functions): Add cpow.
10910 (special_fill_2pi): New function.
10911 (special_real_inputs): Add 2pi.
10912 (calc_generic_results): Handle mpc_cc_c.
10913 * sysdeps/i386/fpu/libm-test-ulps: Update.
10914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10916 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10917 csqrt, ctan and ctanh.
10918 * math/auto-libm-test-out: Regenerated.
10919 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10920 (TEST_COND_x86): Likewise.
10921 (ccos_test_data): Use AUTO_TESTS_c_c.
10922 (ccosh_test_data): Likewise.
10923 (cexp_test_data): Likewise.
10924 (clog_test_data): Likewise.
10925 (csqrt_test_data): Likewise.
10926 (ctan_test_data): Likewise.
10927 (ctan_tonearest_test_data): Likewise.
10928 (ctan_towardzero_test_data): Likewise.
10929 (ctan_downward_test_data): Likewise.
10930 (ctan_upward_test_data): Likewise.
10931 (ctanh_test_data): Likewise.
10932 (ctanh_tonearest_test_data): Likewise.
10933 (ctanh_towardzero_test_data): Likewise.
10934 (ctanh_downward_test_data): Likewise.
10935 (ctanh_upward_test_data): Likewise.
10936 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10938 (func_calc_desc): Add mpc_c_c union field.
10939 (FUNC_mpc_c_c): New macro.
10940 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10941 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10943 (special_fill_min_subnorm_p120): New function.
10944 (special_real_inputs): Add min_subnorm_p120.
10945 (calc_generic_results): Handle mpc_c_c.
10946 * sysdeps/i386/fpu/libm-test-ulps: Update.
10947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10949 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10951 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10952 (do_sin_slow): New functions.
10953 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10954 (cslow2, csloww1, csloww2): Use the new functions.
10956 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10957 Use M to change sign of result instead of X. Assume X is
10959 (csloww1): Likewise.
10963 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10964 arguments A and DA.
10968 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10970 (sloww1): Don't adjust sign of DX.
10971 (csloww1): Likewise.
10972 (sloww2): Use X directly and don't adjust sign of DX.
10973 (csloww2): Likewise.
10975 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10977 * math/auto-libm-test-in: Add tests of cabs and carg.
10978 * math/auto-libm-test-out: Regenerated.
10979 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10980 (carg_test_data): Likewise.
10981 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10983 (func_calc_desc): Add mpc_c_f union field.
10984 (test_functions): Add cabs and carg.
10985 (calc_generic_results): Handle mpc_c_f.
10987 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10988 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10989 as a macro and a compat symbol.
10990 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10991 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10992 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10993 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10994 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10995 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10997 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10999 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11001 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11003 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11005 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11007 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11008 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11011 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11015 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11017 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11018 trailing whitespace removed.
11019 * scripts/config.guess: Update to version 2013-11-29.
11020 * scripts/config.sub: Update to version 2013-10-01.
11022 * math/auto-libm-test-in: Add tests of sincos.
11023 * math/auto-libm-test-out: Regenerated.
11024 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11025 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11027 (func_calc_desc): Add mpfr_f_11 union field.
11028 (test_functions): Add sincos.
11029 (calc_generic_results): Handle mpfr_f_11.
11030 * sysdeps/i386/fpu/libm-test-ulps: Update.
11031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11033 2013-12-19 Andreas Schwab <schwab@suse.de>
11035 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11037 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11038 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11039 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11041 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11043 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11044 * sysdeps/i386/fpu/libm-test-ulps: Update.
11045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11048 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11049 round-to-nearest mode when using frndint.
11050 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11051 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11052 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11054 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11056 * math/auto-libm-test-out: Regenerated.
11057 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11058 (TEST_COND_x86): Likewise.
11059 (expm1_tonearest_test_data): New array.
11060 (expm1_test_tonearest): New function.
11061 (expm1_towardzero_test_data): New array.
11062 (expm1_test_towardzero): New function.
11063 (expm1_downward_test_data): New array.
11064 (expm1_test_downward): New function.
11065 (expm1_upward_test_data): New array.
11066 (expm1_test_upward): New function.
11067 (main): Run the new test functions.
11068 * sysdeps/i386/fpu/libm-test-ulps: Update.
11069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11071 * include/features.h: Update comment documenting feature test
11072 macros. Mention _DEFAULT_SOURCE in comment.
11073 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11074 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11075 _BSD_SOURCE and _SVID_SOURCE.
11076 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11077 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11078 !_SVID_SOURCE]: Likewise.
11079 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11080 (__USE_POSIX_IMPLICITLY): Define.
11081 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11082 (_POSIX_SOURCE): Undefine and redefine.
11083 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11084 (_POSIX_C_SOURCE): Likewise.
11085 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11086 (Feature Test Macros): Update documentation of default features.
11088 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11090 * benchtests/Makefile: Add bench-strtok.
11091 * benchtests/bench-strtok.c: New file: strtok benchtest.
11093 2013-12-19 Allan McRae <allan@archlinux.org>
11095 * manual/install.texi: Suppress menu for plain text output.
11096 * INSTALL: Regenerated.
11098 2013-12-18 Brooks Moses <bmoses@google.com>
11101 * misc/getauxval.c: Include errno.h.
11102 (__getauxval): Set errno to ENOENT if the requested type is not
11104 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11105 don't declare with __attribute_const__.
11106 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11107 * manual/startup.texi: Document that getauxval sets errno.
11109 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11111 * math/auto-libm-test-in: Add tests of jn and yn.
11112 * math/auto-libm-test-out: Regenerated.
11113 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11114 (yn_test_data): Likewise.
11115 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11117 (func_calc_desc): Add mpfr_if_f union field.
11118 (FUNC_mpfr_if_f): New macro.
11119 (test_functions): Add jn and yn.
11120 (calc_generic_results): Assert type of second input for
11121 mpfr_ff_f. Handle mpfr_if_f.
11122 (output_for_one_input_case): Disable all checking for arguments
11123 fitting floating-point types in case of an integer argument.
11124 * sysdeps/i386/fpu/libm-test-ulps: Update.
11125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11128 Don't expect fegetround reference in libm.so.
11130 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11132 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11133 $(config-cflags-nofma).
11135 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11137 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11138 * math/auto-libm-test-out: Regenerated.
11141 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11142 to determine exponent and adjust argument to have exponent of -1.
11143 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11145 * math/auto-libm-test-out: Regenerated.
11146 * sysdeps/i386/fpu/libm-test-ulps: Update.
11147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11149 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11151 * manual/probes.texi: Remove cases when per-thread arenas are
11154 2013-12-18 Andreas Schwab <schwab@suse.de>
11156 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11157 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11158 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11159 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11160 * sysdeps/i386/i686/multiarch/Makefile: Update.
11161 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11163 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11165 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11166 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11168 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11171 Support TZ transition times < 00:00:00.
11172 This is needed for version-3 tz-format files; it supports time
11173 stamps past 2037 for America/Godthab (the only entry in the tz
11174 database for which this change is relevant).
11175 * manual/time.texi (TZ Variable): Document transition times
11176 from -167:59:59 through -00:00:01.
11177 * time/tzset.c (tz_rule): Time of day is now signed.
11178 (__tzset_parse_tz): Parse negative time of day.
11180 Document TZ transition times >= 25:00:00.
11181 * manual/time.texi (TZ Variable): Document transition times from
11182 25:00:00 through 167:59:59. These are already supported, and this
11183 support will help with version-3 tz-format files.
11185 * manual/time.texi (TZ Variable): Modernize North America example
11186 to reflect current (i.e., 2007-and-later) daylight saving rules.
11188 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11190 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11192 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11193 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11195 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11196 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11197 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11198 * sysdeps/unix/bsd/clock.c: Likewise.
11199 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11200 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11201 * sysdeps/unix/bsd/init-posix.c: Likewise.
11202 * sysdeps/unix/bsd/poll.c: Likewise.
11203 * sysdeps/unix/bsd/ptsname.c: Likewise.
11204 * sysdeps/unix/bsd/seekdir.c: Likewise.
11205 * sysdeps/unix/bsd/setegid.c: Likewise.
11206 * sysdeps/unix/bsd/seteuid.c: Likewise.
11207 * sysdeps/unix/bsd/setgid.c: Likewise.
11208 * sysdeps/unix/bsd/setrgid.c: Likewise.
11209 * sysdeps/unix/bsd/setruid.c: Likewise.
11210 * sysdeps/unix/bsd/setsid.c: Likewise.
11211 * sysdeps/unix/bsd/setuid.c: Likewise.
11212 * sysdeps/unix/bsd/sigaction.c: Likewise.
11213 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11214 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11215 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11216 * sysdeps/unix/bsd/telldir.c: Likewise.
11217 * sysdeps/unix/bsd/times.c: Likewise.
11218 * sysdeps/unix/bsd/usleep.c: Likewise.
11220 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11221 ($(objpfx)libbsd-compat.a): Remove rule.
11223 * include/features.h (__FAVOR_BSD): Do not define.
11224 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11225 features conflicting with POSIX.
11226 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11227 (_BSD_SOURCE): Remove description of not being a subset of other
11228 feature test macros.
11229 * manual/job.texi (getpgrp): Do not document BSD version.
11230 (getpgid): Do not document by reference to BSD getpgrp.
11231 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11232 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11233 * signal/signal.h [__FAVOR_BSD]: Likewise.
11234 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11235 instead of making contents conditional on [__FAVOR_BSD].
11236 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11238 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11242 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11245 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11246 values below 2**-450, not 2**-500.
11247 * math/auto-libm-test-in: Don't allow spurious underflow from
11249 * math/auto-libm-test-out: Regenerated.
11253 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11254 values of ha and hb and sort them after adjusting subnormal
11256 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11258 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11259 values of ea and eb and sort them after adjusting subnormal
11261 * math/auto-libm-test-in: Do not expect some hypot tests of
11262 subnormals to fail. Add more hypot tests.
11263 * math/auto-libm-test-out: Regenerated.
11265 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11268 * sysdeps/sh/s_fma.c: New file.
11269 * sysdeps/sh/s_fmaf.c: New file.
11270 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11272 * sysdeps/sh/Implies: Add sh/soft-fp.
11274 2013-12-16 Roland McGrath <roland@hack.frob.com>
11276 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11277 level of indirection to members `objname', `errstring', `malloced'.
11278 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11279 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11280 it as the __longjmp argument (just pass 1 instead).
11281 (_dl_catch_error): Initialize C with argument pointers and address of
11282 volatile local ERRCODE rather than copying values out of C at return.
11284 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11286 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11287 * math/auto-libm-test-out: Regenerated.
11288 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11289 (hypot_test_data): Likewise.
11290 (pow_test_data): Likewise.
11291 (pow_tonearest_test_data): Likewise.
11292 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11294 (func_calc_desc): Add mpfr_ff_f union field.
11295 (FUNC_mpfr_ff_f): New macro.
11296 (test_functions): Add atan2, hypot and pow.
11297 (special_fill_min): New function.
11298 (special_fill_minus_min): Likewise.
11299 (special_fill_min_subnorm): Likewise.
11300 (special_fill_minus_min_subnorm): Likewise.
11301 (special_real_inputs): Add min, -min, min_subnorm and
11303 (calc_generic_results): Handle mpfr_ff_f.
11304 * sysdeps/i386/fpu/libm-test-ulps: Update.
11305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11307 2013-12-16 Will Newton <will.newton@linaro.org>
11309 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11310 (Aligned Memory Blocks): Add documentation for aligned_alloc
11311 and suggest it as an alternative to posix_memalign.
11312 (Hooks for Malloc): Document __memalign_hook is also called
11313 for aligned_alloc. (Summary of Malloc): Add summary for
11314 aligned alloc. Document __memalign_hook is also called
11317 2013-12-16 Will Newton <will.newton@linaro.org>
11319 * manual/memory.texi (Malloc Examples): Clarify default
11320 alignment documentation. Suggest posix_memalign rather
11321 than memalign or valloc.
11322 (Aligned Memory Blocks): Remove suggestion to use memalign
11323 or valloc. Remove obsolete comment about BSD.
11324 Document memalign errno values and mark the function obsolete.
11325 Document posix_memalign returned error codes. Mark valloc
11326 as obsolete. (Hooks for Malloc): __memalign_hook is also
11327 called for posix_memalign and valloc.
11328 (Summary of Malloc): Add posix_memalign to function summary.
11329 __memalign_hook is also called for posix_memalign and valloc.
11331 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11333 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11337 (sloww): Use mynumber union. Expand ternary operator into
11338 if-else statements.
11339 (cslow): use mynumber union.
11341 2013-12-16 Allan McRae <allan@archlinux.org>
11343 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11344 * configure: Regenerated.
11346 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11349 * configure.ac: Added --enable-maintainer-mode. Check for
11350 autoconf when enabled.
11351 * configure: Regenerated.
11353 * nscd/nscd.service: New file.
11354 * nscd/nscd.tmpfiles: New file.
11356 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11359 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11360 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11361 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11362 (strstr): Add __strstr_sse2_unaligned ifunc.
11363 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11364 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11365 (strcasestr): Remove __strcasestr_sse42 ifunc.
11366 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11367 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11370 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11372 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11373 * sysdeps/sh/bits/fenv.h: ... here.
11374 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11376 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11378 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11381 hypotf multiarch implementations.
11382 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11383 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11384 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11385 multiarch hypot for PPC64.
11386 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11387 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11388 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11389 multiarch hypotf for PPC64.
11391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11392 modff multiarch implementations.
11393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11396 multiarch modf for PPC64.
11397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11400 multiarch modff for PPC64.
11402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11403 and logl multiarch implementations.
11404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11407 multiarch logb for PPC64.
11408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11411 multiarch logb for PPC64.
11412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11415 multiarch logb for PPC64.
11417 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11418 isinff multiarch implementation.
11419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11423 multiarch isinf for PPC64.
11424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11427 multiarch isinff for PPC64.
11429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11430 finitef multiarch implementation.
11431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11435 multiarch finite for PPC64.
11436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11439 multiarch finitef for PPC64.
11441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11442 lrint multiarch implementation.
11443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11447 multiarch llrint for PPC64.
11448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11449 multiarch lrint for PPC64.
11451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11452 copysignf multiarch implementation.
11453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11458 multiarch copysign for PPC64.
11459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11460 multiarch copysignf for PPC64.
11462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11463 multiarch implementation.
11464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11472 multiarch llround for PPC64.
11473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11474 multiarch trunc for PPC64.
11475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11476 multiarch truncf for PPC64.
11478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11479 multiarch implementation.
11480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11488 multiarch llround for PPC64.
11489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11490 multiarch round for PPC64.
11491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11492 multiarch roundf for PPC64.
11494 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11495 multiarch implementation.
11496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11504 multiarch llround for PPC64.
11505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11506 multiarch floor for PPC64.
11507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11508 multiarch floorf for PPC64.
11510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11511 multiarch implementation.
11512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11520 multiarch llround for PPC64.
11521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11522 multiarch ceil for PPC64.
11523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11524 multiarch ceilf for PPC64.
11526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11527 multiarch implementation.
11528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11535 multiarch llround for PPC64.
11536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11537 multiarch lround for PPC64.
11539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11540 multiarch implementation.
11541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11548 multiarch isnan for PPC64.
11549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11550 multiarch isnanf for PPC64.
11552 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11553 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11554 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11555 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11556 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11559 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11560 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11561 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11562 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11565 multiarch implementations.
11566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11567 (__libc_ifunc_impl_list): Likewise.
11568 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11569 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11570 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11571 multiarch stpcpy for PPC64.
11573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11574 multiarch implementations.
11575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11576 (__libc_ifunc_impl_list): Likewise.
11577 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11578 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11579 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11580 multiarch strcpy for PPC64.
11582 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11583 redefine function name.
11584 (_wordcopy_fwd_dest_aligned): Likewise.
11585 (_wordcopy_bwd_aligned): Likewise.
11586 (_wordcopy_bwd_dest_aligned): Likewise.
11587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11588 multiarch implementations.
11589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11590 (__libc_ifunc_impl_list): Likewise.
11591 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11592 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11593 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11594 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11595 multiarch wcscpy for PPC64.
11597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11598 multiarch implementations.
11599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11600 (__libc_ifunc_impl_list): Likewise.
11601 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11602 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11603 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11604 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11605 multiarch wcscpy for PPC64.
11607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11608 multiarch implementations.
11609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11610 (__libc_ifunc_impl_list): Likewise.
11611 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11612 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11613 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11614 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11615 multiarch wcsrchr for PPC64.
11617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11618 multiarch implementations.
11619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11620 (__libc_ifunc_impl_list): Likewise.
11621 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11622 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11623 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11624 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11625 multiarch wcschr for PPC64.
11627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11628 multiarch implementations.
11629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11630 (__libc_ifunc_impl_list): Likewise.
11631 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11632 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11633 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11634 multiarch strchrnul for PPC64.
11636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11639 (__libc_ifunc_impl_list): Likewise.
11640 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11641 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11642 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11643 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11649 (__libc_ifunc_impl_list): Likewise.
11650 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11651 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11652 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11653 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11657 multiarch implementations.
11658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11659 (__libc_ifunc_impl_list): Likewise.
11660 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11661 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11662 strncasecmp for PPC64.
11663 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11664 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11665 multiarch strncasecmp_l for PPC64.
11667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11668 multiarch implementations.
11669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11670 (__libc_ifunc_impl_list): Likewise.
11671 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11672 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11673 multiarch strcasecmp for PPC64.
11674 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11676 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11677 multiarch strcasecmp_l for PPC64.
11679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11682 (__libc_ifunc_impl_list): Likewise.
11683 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11684 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11685 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11691 (__libc_ifunc_impl_list): Likewise.
11692 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11693 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11694 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11700 (__libc_ifunc_impl_list): Likewise.
11701 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11702 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11703 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11704 rawmemrchr for PPC64.
11706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11709 (__libc_ifunc_impl_list): Likewise.
11710 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11711 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11712 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11718 (__libc_ifunc_impl_list): Likewise.
11719 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11720 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11721 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11727 (__libc_ifunc_impl_list): Likewise.
11728 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11729 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11730 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11733 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11734 avoid cretion of __bzero symbol.
11735 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11737 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11739 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11742 multiarch implementations.
11743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11744 (__libc_ifunc_impl_list): Likewise.
11745 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11746 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11747 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11748 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11750 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11751 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11752 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11753 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11754 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11756 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11758 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11762 (__libc_ifunc_impl_list): Likewise.
11763 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11764 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11765 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11766 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11770 multiarch for POWER/PPC64.
11771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11772 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11775 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11776 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11777 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11778 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11779 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11782 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11783 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11784 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11785 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11786 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11787 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11788 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11789 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11790 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11791 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11792 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11793 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11794 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11795 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11796 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11805 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11807 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11809 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11811 * benchtests/Makefile (bench): Add exp2 and log2.
11812 (LDLIBS-bench-exp2): Add -lm.
11813 (LDLIBS-bench-log2): Likewise.
11814 * benchtests/exp2-inputs: New inputs file.
11815 * benchtests/log2-inputs: New inputs file.
11816 * benchtests/log-inputs: Add new inputs.
11817 * benchtests/tan-inputs: Likewise.
11819 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11821 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11823 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11824 (csloww2): ... from here.
11826 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11827 instead of structures.
11828 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11829 (POLYNOMIAL): Likewise.
11830 (TAYLOR_SLOW): Likewise.
11836 (sloww1); Likewise.
11837 (sloww2): Likewise.
11838 (bsloww1): Likewise.
11839 (bsloww2): Likewise.
11840 (cslow2): Likewise.
11841 (csloww): Likewise.
11842 (csloww1): Likewise.
11843 (csloww2): Likewise.
11845 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11847 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11848 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11849 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11850 * malloc/hooks.c (realloc_check): Likewise.
11852 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11853 * malloc/arena.c: Remove PER_THREAD conditional.
11854 [!PER_THREAD]: Remove code.
11855 (ptmalloc_unlock_all2): Likewise.
11856 (ptmalloc_init): Likewise.
11857 (_int_new_arena): Likewise.
11858 (arena_get2): Likewise.
11859 * malloc/hooks.c (__malloc_get_state): Likewise.
11860 (__malloc_set_state): Likewise.
11861 * malloc/malloc.c: Likewise.
11862 (struct malloc_state): Likewise.
11863 (struct malloc_par): Likewise.
11864 (__libc_realloc): Likewise.
11865 (__libc_mallopt): Likewise.
11867 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11869 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11871 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11873 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11874 macro to a function. Check for zero perturb_byte.
11875 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11877 * malloc/malloc.c: (force_reg): Remove.
11878 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11879 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11880 force_reg by atomic_forced_read.
11881 * malloc/arena.c (ptmalloc_init): Likewise.
11882 * malloc/hooks.c (top_check): Likewise.
11884 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11888 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11892 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11894 * math/auto-libm-test-in: Add tests of lgamma.
11895 * math/auto-libm-test-out: Regenerated.
11896 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11897 (M_LOG_2_SQRT_PIl): Likewise.
11898 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11899 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11901 (func_calc_desc): Add mpfr_f_f1 union field.
11902 (ARGS1): New macro.
11910 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11911 (test_functions): Add lgamma.
11912 (calc_generic_results): Handle mpfr_f_f1.
11913 * sysdeps/i386/fpu/libm-test-ulps: Update.
11914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11916 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11918 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11919 __mpn_add_n for PowerPC64/POWER7.
11920 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11921 __mpn_sub_n for PowerPC64/POWER7.
11923 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11924 __mpn_addmul_1 for PowerPC64.
11925 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11926 __mpn_submul_1 for PowerPC64.
11927 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11929 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11932 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11935 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11937 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11939 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11941 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11942 add multiarch folders.
11943 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11944 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11945 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11946 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11947 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11948 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11949 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11950 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11951 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11952 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11953 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11962 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11968 multiarch __ieee754_hypot for PowerPC32.
11969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11974 multiarch __ieee754_hypotf for PowerPC32.
11976 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11977 long_double_symbol only if __logbl is defined.
11978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11979 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11981 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11982 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11983 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11984 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11985 path for implementation.
11986 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11987 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11989 logb, and logbl multiarch implementations for PowerPC32.
11990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11995 multiarch logb for PowerPC32.
11996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12001 multiarch logbf for PowerPC32.
12002 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12006 multiarch logbl implementation for PowerPC32.
12008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12009 and modff multiarch implementations.
12010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12015 multiarch modf for PowerPC32.
12016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12021 multiarch modff for PowerPC32.
12023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12024 and lrintf multiarch implementations.
12025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12030 multiarch lrint for PowerPC32.
12031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12032 file: multiarch lrintf for PowerPC32.
12034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12035 and lroundf multiarch implementations.
12036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12043 multiarch lround for PowerPC32.
12044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12045 file: multiarch lroundf for PowerPC32.
12047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12048 copysign and copysignf multiarch implementations.
12049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12054 file: multiarch copysign for PowerPC32.
12055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12056 file: multiarch copysignf for PowerPC32.
12058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12059 and truncf multiarch implementations.
12060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12065 multiarch trunc for PowerPC32.
12066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12071 multiarch truncf for PowerPC32.
12073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12074 and roundf multiarch implementations.
12075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12080 multiarch round for PowerPC32.
12081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12086 multiarch roundf for PowerPC32.
12088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12089 and floorf multiarch implementations.
12090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12095 multiarch floor for PowerPC32.
12096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12101 multiarch floorf for PowerPC32.
12103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12104 and ceilf multiarch implementations.
12105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12110 multiarch ceil for PowerPC32.
12111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12116 multiarch ceilf for PowerPC32.
12118 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12120 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12121 FINITEF is defined.
12122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12123 and finitef multiarch implementations.
12124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12129 multiarch finite for PowerPC32.
12130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12133 file: multiarch finitef for PowerPC32.
12135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12136 and isinff multiarch implementations.
12137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12142 multiarch isinf for PowerPC32.
12143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12146 multiarch isinff for PowerPC32.
12148 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12149 alias when __isnan is defined.
12150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12151 and isnanf multiarch implementations.
12152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12161 multiarch isnan for PowerPC32.
12162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12167 multiarch isnanf for PowerPC32.
12169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12170 and sqrtf multiarch implementations.
12171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12176 multiarch sqrt for PowerPC32.
12177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12182 multiarch sqrtf for PowerPC32.
12184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12185 and llroundf multiarch implementations.
12186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12193 file: multiarch llround for PowerPC32.
12194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12195 file: multiarch llroundf for PowerPC32.
12197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12198 multiarch PowerPC32 fpu implementations.
12199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12204 multiarch llrint for PowerPC32.
12205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12214 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12216 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12221 multiarch wordcopy for PPC32.
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12225 (__libc_ifunc_impl_list): Likewise.
12226 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12227 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12228 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12229 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12230 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12231 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12233 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12241 multiarch wcscpy for PPC32.
12242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12245 (__libc_ifunc_impl_list): Likewise.
12246 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12247 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12248 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12249 sysdeps/powerpc/power6/wcscpy.c.
12251 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12254 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12259 multiarch wcsrchr for PPC32.
12260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12263 (__libc_ifunc_impl_list): Likewise.
12264 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12265 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12266 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12267 sysdeps/powerpc/power6/wcsrchr.c.
12269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12271 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12274 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12275 multiarch wcschr for PPc32.
12276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12279 (__libc_ifunc_impl_list): Likewise.
12280 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12281 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12282 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12283 sysdeps/powerpc/power6/wcschr.c.
12285 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12286 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12288 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12289 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12290 file: multiarch strchr for PPC32.
12291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12294 (__libc_ifunc_impl_list): Likewise.
12296 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12298 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12300 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12302 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12303 multiarch strchrnul for PPC32.
12304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12307 (__libc_ifunc_impl_list): Likewise.
12309 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12311 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12312 multiarch strncasecmp for PPC32.
12313 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12315 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12316 multiarch strncasecmp_l for PPC32.
12317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12318 strncasecmp multiarch objects.
12319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12320 (__libc_ifunc_impl_list): Likewise.
12322 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12324 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12325 multiarch strncasecmp for PPC32.
12326 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12328 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12329 multiarch strcasecmp_l for PPC32.
12330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12333 (__libc_ifunc_impl_list): Likewise.
12335 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12337 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12339 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12340 multiarch strncmp for PPC32.
12341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12344 (__libc_ifunc_impl_list): Likewise.
12346 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12347 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12349 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12350 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12354 (__libc_ifunc_impl_list): Likewise.
12356 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12358 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12360 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12364 (__libc_ifunc_impl_list): Likewise.
12366 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12368 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12370 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12371 multiarch rawmemchr for PPC32.
12372 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12374 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12375 (__libc_ifunc_impl_list): Likewise.
12377 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12379 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12381 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12382 file: memrchr multiarch for PPC32.
12383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12386 (__libc_ifunc_impl_list): Likewise.
12388 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12389 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12391 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12392 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12393 multiarch memchr for PPC32.
12394 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12396 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12397 (__libc_ifunc_impl_list): Likewise.
12399 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12400 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12402 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12404 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12405 file: multiarch mempcpy for PPC32.
12406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12409 (__libc_ifunc_impl_list): Likewise.
12411 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12412 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12413 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12414 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12415 multiarch bzero for PPC32.
12416 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12418 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12420 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12421 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12422 file: multiarch memset for PPC32.
12423 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12425 memset multiarch objects.
12426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12427 (__libc_ifunc_impl_list): Likewise.
12429 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12431 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12432 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12434 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12438 (__libc_ifunc_impl_list): Likewise.
12440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12441 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12442 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12444 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12448 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12449 multiarch memcpy for PPC32.
12450 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12452 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12453 (__libc_ifunc_impl_list): Likewise.
12455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12456 support multiarch for POWER/PPC32.
12457 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12459 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12461 Implies file to make multiarch folder appers before the fpu and
12462 default folder for power4 configuration.
12464 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12466 * scripts/bench.pl: Append volatile keyword to type.
12468 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12470 * sysdeps/sh/sotruss-lib.c: New file.
12471 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12473 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12477 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12480 * math/w_tgamma.c: Include <errno.h>.
12481 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12482 * math/w_tgammaf.c: Include <errno.h>.
12483 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12484 * math/w_tgammal.c: Include <errno.h>.
12485 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12486 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12487 underflow. Add more tgamma tests.
12488 * math/auto-libm-test-out: Regenerated.
12489 * sysdeps/i386/fpu/libm-test-ulps: Update.
12490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12492 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12493 sin, sinh, tan, tanh, tgamma, y0 and y1.
12494 * math/auto-libm-test-out: Regenerated.
12495 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12496 (TEST_COND_x86): Likewise.
12497 (M_E2l): Remove macro.
12499 (M_2_SQRT_PIl): Likewise.
12500 (M_SQRT_PIl): Likewise.
12501 (M_1_DIV_El): Likewise.
12502 (log_test_data): Use AUTO_TESTS_f_f.
12503 (log10_test_data): Likewise.
12504 (log1p_test_data): Likewise.
12505 (log2_test_data): Likewise.
12506 (sin_test_data): Likewise.
12507 (sin_tonearest_test_data): Likewise.
12508 (sin_towardzero_test_data): Likewise.
12509 (sin_downward_test_data): Likewise.
12510 (sin_upward_test_data): Likewise.
12511 (sinh_test_data): Likewise.
12512 (sinh_tonearest_test_data): Likewise.
12513 (sinh_towardzero_test_data): Likewise.
12514 (sinh_downward_test_data): Likewise.
12515 (sinh_upward_test_data): Likewise.
12516 (tan_test_data): Likewise.
12517 (tan_tonearest_test_data): Likewise.
12518 (tan_towardzero_test_data): Likewise.
12519 (tan_downward_test_data): Likewise.
12520 (tan_upward_test_data): Likewise.
12521 (tanh_test_data): Likewise.
12522 (tgamma_test_data): Likewise.
12523 (y0_test_data): Likewise.
12524 (y1_test_data): Likewise.
12525 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12526 (special_real_inputs): Add pi/4.
12527 * sysdeps/i386/fpu/libm-test-ulps: Update.
12528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12530 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12532 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12533 "longjmp_target" static probes.
12534 (__longjmp): Rename to __longjmp_symbol.
12535 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12536 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12537 on which longjmp to generate.
12538 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12539 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12541 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12542 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12543 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12544 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12545 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12546 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12548 __longjmp_symbol based on which __longjmp to generate.
12549 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12551 (setjmp): Rename to setjmp_symbol.
12552 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12553 (_setjmp): Rename to _setjmp_symbol.
12554 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12555 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12556 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12557 which setjmp to generate.
12558 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12559 "longjmp_target" static probes.
12561 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12563 * benchtests/README: Add note about output arguments.
12564 * benchtests/bench-sincos.c: Remove file.
12565 * benchtests/sincos-inputs: New file.
12566 * scripts/bench.pl: Identify output arguments and define
12567 static variables for them.
12569 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12572 * Makefile (INSTALL): Add install-plain.texi as the primary
12574 * manual/install-plain.texi: New file.
12575 * manual/install.texi: Include node directive only for
12576 non-plaintext output.
12578 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12580 * stdlib/longlong.h: Update from GCC.
12584 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12585 * math/w_j0f.c (y0f): Likewise.
12586 * math/w_j0l.c (__y0l): Likewise.
12587 * math/w_j1.c (y1): Likewise.
12588 * math/w_j1f.c (y1f): Likewise.
12589 * math/w_j1l.c (__y1l): Likewise
12590 * math/w_jn.c (yn): Likewise.
12591 * math/w_jnf.c (ynf): Likewise.
12592 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12593 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12594 value for Bessel function domain errors outside _SVID_ mode.
12595 Adjust sign of return value for yn (negative integer, 0).
12596 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12597 by zero in return for negative x and set sign appropriately for
12599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12600 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12601 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12602 expectations in error cases.
12603 (y1_test_data): Likewise.
12604 (yn_test_data): Likewise.
12605 * sysdeps/i386/fpu/libm-test-ulps: Update.
12606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12608 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12610 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12611 "64" to "64-v1". Add "64-v2".
12612 (abi-64-options): Rename to ...
12613 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12614 (abi-64-condition): Rename to ...
12615 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12616 (abi-64-ld-soname): Rename to ...
12617 (abi-64-v1-ld-soname): ... this.
12618 (abi-64-v2-options): Define.
12619 (abi-64-v2-condition): Likewise.
12620 (abi-64-v2-ld-soname): Likewise.
12621 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12622 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12627 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12628 Alan Modra <amodra@gmail.com>
12630 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12631 New versions for use with the ELFv2 ABI.
12632 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12633 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12635 (struct La_ppc64v2_retval): Likewise.
12636 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12637 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12638 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12639 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12640 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12641 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12642 Do not save or restore CR.
12643 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12644 (_dl_profile_resolve): Do no save or restore CR. Support extended
12645 return values for ELFv2 ABI. Fix location of FPR return registers.
12646 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12647 updated values for _CALL_ELF == 2.
12648 (La_regs, La_retval, int_retval): Likewise.
12650 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12652 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12653 (FRAME_MIN_SIZE_PARM): Likewise.
12654 (FRAME_BACKCHAIN): Likewise.
12655 (FRAME_CR_SAVE): Likewise.
12656 (FRAME_LR_SAVE): Likewise.
12657 (FRAME_TOC_SAVE): Likewise.
12658 (FRAME_PARM_SAVE): Likewise.
12659 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12660 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12661 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12662 (call_mcount_parm_offset): New macro.
12663 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12664 (PROF): Use symbolic stack frame offsets.
12665 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12666 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12667 Redefine in terms of FRAME_MIN_SIZE.
12668 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12669 (_dl_profile_resolve): Likewise. Update comment.
12670 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12671 symbols stack frame offsets.
12672 (__sigsetjmp): Likewise.
12673 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12674 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12675 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12676 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12679 (FRAME_BACKCHAIN): Remove.
12680 (FRAME_CR_SAVE): Likewise.
12681 (FRAME_LR_SAVE): Likewise.
12682 (FRAME_COMPILER_DW): Likewise.
12683 (FRAME_LINKER_DW): Likewise.
12684 (FRAME_TOC_SAVE): Likewise.
12685 (FRAME_PARM_SAVE): Likewise.
12686 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12687 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12688 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12690 (CHECK_SP): Use symbolic stack frame offsets.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12692 zone" instead of caller's parameter save area for temp storage.
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12694 Likewise. Also, use symbolic stack frame offsets.
12695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12696 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12697 our own stack frame instead of the caller's.
12698 (__socket): Use symbolic stack frame offsets.
12700 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12701 Alan Modra <amodra@gmail.com>
12703 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12705 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12706 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12707 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12709 (elf_machine_fixup_plt): Call it.
12710 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12712 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12713 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12714 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12715 r2 before calling target.
12717 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12718 Alan Modra <amodra@gmail.com>
12720 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12721 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12722 versions of macros to support ELFv2 ABI.
12723 (LOCALENTRY): New macro.
12724 (ENTRY, EALIGN): Use it.
12725 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12726 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12727 fall through into ENTRY entry point.
12728 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12729 Only define if _CALL_ELF != 2.
12731 (elf_machine_matches_host): Verify ABI version matches.
12732 (RTLD_START): Use LOCALENTRY.
12733 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12734 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12735 (PLT_ENTRY_WORDS): New macro.
12736 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12737 (elf_machine_runtime_setup): Support ELFv2 ABI.
12738 (elf_machine_fixup_plt): Likewise.
12739 (elf_machine_plt_conflict): Likewise.
12740 (resolve_ifunc): Likewise.
12741 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12742 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12745 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12747 (makecontext): Support ELFv2 ABI.
12748 * elf/elf.h (EF_PPC64_ABI): Define.
12750 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12752 * sysdeps/powerpc/powerpc64/sysdep.h
12753 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12754 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12755 (ENTRY) [ASSEMBLER]: ... but instead here ...
12756 (EALIGN) [ASSEMBLER]: ... and here.
12757 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12758 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12759 (ENTRY_2) [!ASSEMBLER]: Use it.
12760 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12761 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12762 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12763 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12764 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12766 Use PPC64_LOAD_FUNCPTR.
12768 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12770 2013-12-04 Alan Modra <amodra@gmail.com>
12772 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12773 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12774 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12775 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12778 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12779 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12780 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12781 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12782 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12784 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12787 (__makecontext): Fix incorrect CFI when backtracing out of
12788 context created via makecontext.
12789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12790 (__setcontext): Fix incorrect CFI during switch to new context.
12791 (__novec_setcontext): Likewise.
12793 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12796 * time/strptime_l.c (__strptime_internal): Allow modifiers
12798 * time/tst-strptime.c (day_tests): Add testcase.
12800 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12802 * scripts/bench.pl: Skip over blank lines.
12804 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12807 * manual/time.texi (Calendar Time): Clarify what timezone functions
12810 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12814 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12816 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12818 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12819 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12820 * debug/memset_chk.c (__memset_chk): Likewise.
12821 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12822 * debug/strncpy_chk.c: Likewise.
12824 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12828 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12829 (__ieee754_exp): For possibly underflowing results, check size of
12830 result and force underflow exception if required.
12831 * math/auto-libm-test-in: Add more tests of exp.
12832 * math/auto-libm-test-out: Regenerated.
12833 * sysdeps/i386/fpu/libm-test-ulps: Update.
12834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12837 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12838 * math/w_exp2f.c (__exp2f): Likewise.
12839 * math/w_exp2l.c (__exp2l): Likewise.
12840 * math/auto-libm-test-in: Do not allow missing errno on exp2
12842 * math/auto-libm-test-out: Regenerated.
12844 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12847 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12848 handle filename validation.
12849 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12852 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12855 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12856 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12857 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12859 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12860 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12861 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12863 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12864 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12865 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12866 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12867 Add more erfc tests.
12868 * math/auto-libm-test-out: Regenerated.
12869 * sysdeps/i386/fpu/libm-test-ulps: Update.
12870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12872 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12873 exp2, expm1, j0 and j1.
12874 * math/auto-libm-test-out: Regenerated.
12875 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12876 (erfc_test_data): Likewise.
12877 (exp_test_data): Likewise.
12878 (exp_tonearest_test_data): Likewise.
12879 (exp_towardzero_test_data): Likewise.
12880 (exp_downward_test_data): Likewise.
12881 (exp_upward_test_data): Likewise.
12882 (exp10_test_data): Likewise.
12883 (exp2_test_data): Likewise.
12884 (expm1_test_data): Likewise.
12885 (j0_test_data): Likewise.
12886 (j1_test_data): Likewise.
12887 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12888 (input_flag_type): Add flag_xfail_rounding.
12889 (input_flags): Add xfail-rounding.
12890 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12891 (output_for_one_input_case): Handle flag_xfail_rounding.
12892 * sysdeps/i386/fpu/libm-test-ulps: Update.
12893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12895 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12898 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12901 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12904 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12905 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12906 (STAP_PROBE0): New macro.
12907 (STAP_PROBE1): Likewise.
12908 (STAP_PROBE2): Likewise.
12909 (STAP_PROBE3): Likewise.
12910 (STAP_PROBE4): Likewise.
12912 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12914 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12916 2013-12-02 Steve Ellcey <sellcey@mips.com>
12918 * benchtests/Makefile (bench): Add sqrt.
12919 (LDLIBS-bench-sqrt): New.
12920 * benchtests/sqrt-input: New.
12922 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12924 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12925 (GAIH_EAI): Likewise.
12926 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12927 (gaih_inet): Likewise.
12928 (getaddrinfo): Don't use GAIH_EAI.
12930 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12931 (struct gaih): Remove definition.
12933 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12935 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12936 Use HERRNOP directly.
12938 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12942 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12944 * math/gen-auto-libm-tests.c (test_functions): Add more
12945 single-argument functions.
12946 (special_fill_pi_2): New function.
12947 (special_fill_minus_pi_2): Likewise.
12948 (special_fill_pi_6): Likewise.
12949 (special_fill_minus_pi_6): Likewise.
12950 (special_fill_pi_3): Likewise.
12951 (special_fill_2pi_3): Likewise.
12952 (special_fill_e): Likewise.
12953 (special_fill_1_e): Likewise.
12954 (special_fill_e_minus_1): Likewise.
12955 (special_real_inputs): Add more special inputs.
12956 (output_for_one_input_case): Do not require ERANGE on underflow to
12957 zero if round-to-nearest result does not underflow to zero, unless
12958 exact results required.
12959 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12960 atan, atanh, cbrt, cos and cosh.
12961 * math/auto-libm-test-out: Regenerated.
12962 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12963 (acos_tonearest_test_data): Likewise.
12964 (acos_towardzero_test_data): Likewise.
12965 (acos_downward_test_data): Likewise.
12966 (acos_upward_test_data): Likewise.
12967 (acosh_test_data): Likewise.
12968 (asin_test_data): Likewise.
12969 (asin_tonearest_test_data): Likewise.
12970 (asin_towardzero_test_data): Likewise.
12971 (asin_upward_test_data): Likewise.
12972 (asinh_test_data): Likewise.
12973 (atan_test_data): Likewise.
12974 (atanh_test_data): Likewise.
12975 (cbrt_test_data): Likewise.
12976 (cos_test_data): Likewise.
12977 (cos_tonearest_test_data): Likewise.
12978 (cos_towardzero_test_data): Likewise.
12979 (cos_downward_test_data): Likewise.
12980 (cos_upward_test_data): Likewise.
12981 (cosh_test_data): Likewise.
12982 (cosh_tonearest_test_data): Likewise.
12983 (cosh_towardzero_test_data): Likewise.
12984 (cosh_downward_test_data): Likewise.
12985 (cosh_upward_test_data): Likewise.
12986 * sysdeps/i386/fpu/libm-test-ulps: Update.
12987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12989 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12992 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12993 * math/w_exp10f.c (__exp10f): Likewise.
12994 * math/w_exp10l.c (__exp10l): Likewise.
12995 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12996 errno settings in existing tests.
12999 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13000 precision control set to double precision.
13001 * sysdeps/i386/fpu/w_sqrt.c: New file.
13002 * math/auto-libm-test-in: Add more tests.
13003 * math/auto-libm-test-out: Update.
13005 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13006 (sqrt_test_tonearest): New function.
13007 (sqrt_towardzero_test_data): New variable.
13008 (sqrt_test_towardzero): New function.
13009 (sqrt_downward_test_data): New variable.
13010 (sqrt_test_downward): New function.
13011 (sqrt_upward_test_data): New variable.
13012 (sqrt_test_upward): New function.
13013 (main): Call the new functions.
13015 * math/gen-auto-libm-tests.c: New file.
13016 * math/auto-libm-test-in: Likewise.
13017 * math/auto-libm-test-out: New generated file.
13018 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13020 (%beautify): Add generated representations of zero.
13021 (top level): Set $auto_input and call parse_auto_input.
13022 (beautify): Remove trailing "f" from hex float constants.
13023 (parse_args): Handle XFAIL_TEST.
13024 (convert_condition): New function.
13025 (or_value): Likewise.
13026 (or_cond_value): Likewise.
13027 (generate_testfile): Handle AUTO_TESTS_* lines.
13028 (parse_auto_input): New function.
13029 * math/libm-test.inc (XFAIL_TEST): New macro.
13030 (ERRNO_UNCHANGED): Update value.
13031 (ERRNO_EDOM): Likewise.
13032 (ERRNO_ERANGE): Likewise.
13033 (IGNORE_RESULT): Likewise.
13034 (TEST_COND_flt_32): New macro.
13035 (TEST_COND_dbl_64): Likewise.
13036 (TEST_COND_ldbl_96_intel): Likewise.
13037 (TEST_COND_ldbl_96_m68k): Likewise.
13038 (TEST_COND_ldbl_128): Likewise.
13039 (TEST_COND_ldbl_128ibm): Likewise.
13040 (TEST_COND_long32): Likewise.
13041 (TEST_COND_long64): Likewise.
13042 (TEST_COND_before_rounding): Likewise.
13043 (TEST_COND_after_rounding): Likewise.
13044 (enable_test): Handle XFAIL_TEST flag.
13045 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13046 with finite results.
13047 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13048 auto-libm-test-out.
13050 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13051 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13054 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13055 __tls_get_addr_internal instead of __tls_get_offset in order to
13056 avoid GOT pointer dependency. Make rtld export
13057 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13058 __tls_get_addr since we are a __tls_get_offset platform.
13059 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13060 GOT pointer being set up before.
13061 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13063 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13065 * manual/math.texi (Errors in Math Functions): Document accuracy
13069 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13070 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13071 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13073 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13074 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13075 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13076 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13086 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13087 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13088 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13089 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13090 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13092 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13094 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13096 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13097 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13098 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13099 atomic-feupdateenv and flt-rounds.
13100 * sysdeps/powerpc/nofpu/Versions (libc): Add
13101 __atomic_feholdexcept, __atomic_feclearexcept,
13102 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13103 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13104 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13105 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13106 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13111 * manual/arith.texi (FP Exceptions): Document that exceptions may
13112 not be raised when matherr is used.
13113 (Math Error Reporting): Document overflow in directed rounding
13114 modes. Document that errno may not be set when finite values are
13115 returned on overflow. Document intent to set errno on underflow
13116 only for underflow to zero.
13119 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13120 round-to-nearest then adjust result for other rounding modes.
13121 * include/fenv.h (fegetround): Use libm_hidden_proto.
13122 * math/fegetround.c (fegetround): Use libm_hidden_def.
13123 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13124 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13125 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13126 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13128 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13129 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13130 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13131 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13133 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13136 * nss/Versions (libnss_files): Add
13137 _nss_files_gethostbyname3_r.
13138 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13140 (HOST_DB_LOOKUP): Remove macro.
13141 (_nss_files_gethostbyname_r): Implement function without the
13142 HOST_DB_LOOKUP macro.
13143 (_nss_files_gethostbyname2_r): Likewise.
13145 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13147 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13149 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13151 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13152 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13155 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13157 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13158 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13159 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13160 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13161 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13162 __fe_nomask_env_priv and attribute_hidden.
13163 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13164 (libc_feupdateenv_test_ppc): Likewise.
13165 (libc_feresetround_ppc): Likewise.
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13167 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13168 compat_symbol macro.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13170 (__fe_nomask_env): Likewise.
13171 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13173 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13175 * string/Makefile: Remove ifunc tests.
13176 * string/test-string.h: Define TEST_IFUNC.
13177 * string/test-bcopy-ifunc.c: Remove.
13178 * string/test-bzero-ifunc.c: Likewise.
13179 * string/test-memccpy-ifunc.c: Likewise.
13180 * string/test-memchr-ifunc.c: Likewise.
13181 * string/test-memcmp-ifunc.c: Likewise.
13182 * string/test-memcpy-ifunc.c: Likewise.
13183 * string/test-memmem-ifunc.c: Likewise.
13184 * string/test-memmove-ifunc.c: Likewise.
13185 * string/test-mempcpy-ifunc.c: Likewise.
13186 * string/test-memrchr-ifunc.c: Likewise.
13187 * string/test-memset-ifunc.c: Likewise.
13188 * string/test-rawmemchr-ifunc.c: Likewise.
13189 * string/test-stpcpy-ifunc.c: Likewise.
13190 * string/test-stpncpy-ifunc.c: Likewise.
13191 * string/test-strcasecmp-ifunc.c: Likewise.
13192 * string/test-strcasestr-ifunc.c: Likewise.
13193 * string/test-strcat-ifunc.c: Likewise.
13194 * string/test-strchr-ifunc.c: Likewise.
13195 * string/test-strchrnul-ifunc.c: Likewise.
13196 * string/test-strcmp-ifunc.c: Likewise.
13197 * string/test-strcpy-ifunc.c: Likewise.
13198 * string/test-strcspn-ifunc.c: Likewise.
13199 * string/test-strlen-ifunc.c: Likewise.
13200 * string/test-strncasecmp-ifunc.c: Likewise.
13201 * string/test-strncat-ifunc.c: Likewise.
13202 * string/test-strncmp-ifunc.c: Likewise.
13203 * string/test-strncpy-ifunc.c: Likewise.
13204 * string/test-strnlen-ifunc.c: Likewise.
13205 * string/test-strpbrk-ifunc.c: Likewise.
13206 * string/test-strrchr-ifunc.c: Likewise.
13207 * string/test-strspn-ifunc.c: Likewise.
13208 * string/test-strstr-ifunc.c: Likewise.
13210 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13212 * benchtests/Makefile: Remove ifunc tests.
13213 * benchtests/bench-string.h: Define TEST_IFUNC.
13214 * benchtests/bench-bcopy-ifunc.c: Remove.
13215 * benchtests/bench-bzero-ifunc.c: Likewise.
13216 * benchtests/bench-memccpy-ifunc.c: Likewise.
13217 * benchtests/bench-memchr-ifunc.c: Likewise.
13218 * benchtests/bench-memcmp-ifunc.c: Likewise.
13219 * benchtests/bench-memcpy-ifunc.c: Likewise.
13220 * benchtests/bench-memmem-ifunc.c: Likewise.
13221 * benchtests/bench-memmove-ifunc.c: Likewise.
13222 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13223 * benchtests/bench-memrchr-ifunc.c: Likewise.
13224 * benchtests/bench-memset-ifunc.c: Likewise.
13225 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13226 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13227 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13228 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13229 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13230 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13231 * benchtests/bench-strcat-ifunc.c: Likewise.
13232 * benchtests/bench-strchr-ifunc.c: Likewise.
13233 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13234 * benchtests/bench-strcmp-ifunc.c: Likewise.
13235 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13236 * benchtests/bench-strcpy-ifunc.c: Likewise.
13237 * benchtests/bench-strcspn-ifunc.c: Likewise.
13238 * benchtests/bench-strlen-ifunc.c: Likewise.
13239 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13240 * benchtests/bench-strncat-ifunc.c: Likewise.
13241 * benchtests/bench-strncmp-ifunc.c: Likewise.
13242 * benchtests/bench-strncpy-ifunc.c: Likewise.
13243 * benchtests/bench-strnlen-ifunc.c: Likewise.
13244 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13245 * benchtests/bench-strrchr-ifunc.c: Likewise.
13246 * benchtests/bench-strsep-ifunc.c: Likewise.
13247 * benchtests/bench-strspn-ifunc.c: Likewise.
13248 * benchtests/bench-strstr-ifunc.c: Likewise.
13250 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13252 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13254 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13256 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13257 * rt/aio.h: Likewise.
13258 * sysdeps/gnu/bits/utmp.h: Likewise.
13259 * sysdeps/gnu/bits/utmpx.h: Likewise.
13260 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13261 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13262 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13263 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13264 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13265 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13266 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13267 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13268 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13269 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13270 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13271 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13272 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13274 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13275 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13276 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13277 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13278 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13279 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13280 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13281 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13282 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13283 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13284 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13286 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13287 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13288 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13289 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13290 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13291 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13292 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13293 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13294 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13295 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13296 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13297 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13298 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13299 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13300 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13301 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13303 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13306 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13307 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13309 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13311 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13312 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13315 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13318 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13319 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13320 (__fesetround): Remove define.
13321 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13322 rounding and exceptions handling.
13323 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13324 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13325 (__fe_nomask_env): Likewise.
13326 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13327 __fegetround instead of fegetround.
13328 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13329 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13331 2013-11-21 Roland McGrath <roland@hack.frob.com>
13333 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13336 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13338 2013-11-21 Meador Inge <meadori@codesourcery.com>
13341 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13342 (encrypt_r): Likewise.
13343 * malloc/obstack.h (obstack_free): Likewise.
13344 * posix/unistd.h (encrypt): Likewise.
13346 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13348 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13349 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13350 DL_CALL_DT_FINI() that call the functions directly.
13351 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13352 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13353 * elf/dl-fini.c: Likewise.
13355 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13357 * malloc/hooks.c (memalign_check): Add alignment rounding.
13358 * malloc/malloc.c (_mid_memalign): New function.
13359 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13360 Implement by calling _mid_memalign.
13361 * manual/probes.texi (Memory Allocation Probes): Remove
13362 memory_valloc_retry and memory_pvalloc_retry.
13364 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13366 * locale/programs/locarchive.c (open_archive): Add const
13367 qualifier to ARCHIVEFNAME and copy default fname to
13371 * libio/tst-widetext.input: Rename Oriya to Odia.
13372 * locale/iso-639.def: Likewise.
13374 * manual/probes.texi (Mathematical Function Probes): Add
13375 documentation for sin, cos, asin and acos probes.
13376 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13377 (__sin32): Add slowasin probe.
13378 (__cos32): Add slowacos probe.
13379 (__mpsin): Add slowsin probe.
13380 (__mpcos): Add slowcos probe.
13382 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13385 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13386 thread-local __sim_exceptions_thread and global
13387 __sim_exceptions_global.
13388 (__sim_disabled_exceptions): Change to thread-local
13389 __sim_disabled_exceptions_thread and global
13390 __sim_disabled_exceptions_global.
13391 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13392 and global __sim_round_mode_global.
13393 (__simulate_exceptions): Use thread-local floating-point state and
13394 set global state from it as needed.
13395 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13396 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13397 __sim_round_mode_thread.
13398 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13399 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13400 and global __sim_exceptions_global.
13401 (__sim_disabled_exceptions): Change to thread-local
13402 __sim_disabled_exceptions_thread and global
13403 __sim_disabled_exceptions_global.
13404 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13405 and global __sim_round_mode_global.
13406 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13407 (SIM_SET_GLOBAL): Likewise.
13408 * sysdeps/powerpc/soft-fp/sfp-machine.h
13409 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13410 __sim_round_mode_thread.
13411 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13412 __sim_disabled_exceptions_thread.
13413 (__sim_exceptions): Change to __sim_exceptions_thread.
13414 (__sim_disabled_exceptions): Change to
13415 __sim_disabled_exceptions_thread.
13416 (__sim_round_mode): Change to __sim_round_mode_thread.
13417 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13418 thread-local floating-point state and set global state from it as
13420 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13421 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13422 (__sim_disabled_exceptions): Remove extern declaration.
13423 (feenableexcept): Use thread-local floating-point state and set
13424 global state from it as needed.
13425 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13426 extern declaration.
13427 (__sim_disabled_exceptions): Likewise.
13428 (__sim_round_mode): Likewise.
13429 (__fegetenv): Use thread-local floating-point state.
13430 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13431 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13432 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13433 floating-point state and set global state from it as needed.
13434 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13435 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13436 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13438 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13439 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13441 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13442 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13443 Use __sim_round_mode_thread.
13444 * math/test-fenv-tls.c: New file.
13445 * math/Makefile (tests): Add test-fenv-tls.
13446 ($(objpfx)test-fenv-tls): Depend on
13447 $(common-objpfx)nptl/libpthread.so.
13449 2013-11-19 Andreas Schwab <schwab@suse.de>
13451 * locale/programs/locale.c (show_info): Decode wordarray elements.
13452 * locale/categories.def (LC_MONETARY): Add element for
13453 _NL_MONETARY_CRNCYSTR.
13454 * locale/C-monetary.c (conversion_rate): New variable.
13455 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13458 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13460 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13461 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13463 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13465 * elf/Makefile (tst-auxv): New test.
13466 * elf/tst-auxv.c: New
13467 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13469 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13471 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13472 (hidden_proto): Caller changed.
13473 (hidden_tls_proto): New macro.
13474 (libc_hidden_tls_proto): Likewise.
13475 (rtld_hidden_tls_proto): Likewise.
13476 (libm_hidden_tls_proto): Likewise.
13477 (libresolv_hidden_tls_proto): Likewise.
13478 (librt_hidden_tls_proto): Likewise.
13479 (libdl_hidden_tls_proto): Likewise.
13480 (libnss_files_hidden_tls_proto): Likewise.
13481 (libnsl_hidden_tls_proto): Likewise.
13482 (libnss_nisplus_hidden_tls_proto): Likewise.
13483 (libutil_hidden_tls_proto): Likewise.
13485 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13488 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13489 (decompose_rpath): Defer expansion to fillin_rpath.
13490 (_dl_init_paths): Pass linkmap to fillin_rpath.
13492 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13494 * benchtests/Makefile: Add strsep.
13495 * benchtests/bench-strsep.c: New file: strsep benchtest.
13496 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13498 2013-11-18 Andreas Schwab <schwab@suse.de>
13500 * locale/programs/locale.c (show_info) [case byte]: Check for
13501 '\377' instead of '\177'.
13502 * locale/C-monetary.c (not_available): Always use "\377".
13503 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13504 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13505 detect unavailable sign_posn locale elements.
13506 * locale/localeconv.c (__localeconv): For grouping and
13507 mon_grouping handle "\177" and "\377" like no grouping.
13508 (INT_ELEM): New macro. Use it to set all numeric members.
13509 * locale/programs/ld-monetary.c (monetary_read)
13510 <tok_mon_grouping>: Normalize single -1 to the empty string.
13511 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13514 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13517 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13518 when we match (nil).
13519 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13521 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13523 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13524 (NO_TEST_INLINE): Update value.
13525 (ERRNO_UNCHANGED): Likewise.
13526 (ERRNO_EDOM): Likewise.
13527 (ERRNO_ERANGE): Likewise.
13528 (IGNORE_RESULT): Likewise.
13529 (check_float_internal): Check signs of NaN results if
13530 TEST_NAN_SIGN used.
13531 (check_complex): Pass TEST_NAN_SIGN flag through to second
13532 check_float_internal call.
13533 (copysign_test_data): Add tests with quiet NaNs as second
13534 argument. Use TEST_NAN_SIGN.
13535 (fabs_test_data): Add test of negative quiet NaN argument. Use
13537 (signbit_test_data): Add tests of quiet NaN argument.
13538 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13540 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13542 (parse_args): Handle function results specified as IGNORE.
13543 * math/libm-test.inc (IGNORE_RESULT): New macro.
13544 (check_float_internal): Do not check numerical result if flag
13546 (check_complex): Pass through IGNORE_RESULT to second
13547 check_float_internal call.
13548 (check_int): Do not check numerical result if flag IGNORE_RESULT
13550 (check_long): Likewise.
13551 (check_bool): Likewise.
13552 (check_longlong): Likewise.
13553 (lrint_test_data): Add tests of infinite and NaN arguments.
13554 (lrint_tonearest_test_data): Likewise.
13555 (lrint_towardzero_test_data): Likewise.
13556 (lrint_downward_test_data): Likewise.
13557 (lrint_upward_test_data): Likewise.
13558 (llrint_test_data): Likewise.
13559 (llrint_tonearest_test_data): Likewise.
13560 (llrint_towardzero_test_data): Likewise.
13561 (llrint_downward_test_data): Likewise.
13562 (llrint_upward_test_data): Likewise.
13563 (lround_test_data): Likewise.
13564 (llround_test_data): Likewise.
13566 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13567 (ERRNO_UNCHANGED): Update value.
13568 (ERRNO_EDOM): Likewise.
13569 (ERRNO_ERANGE): Likewise.
13570 (NO_TEST_INLINE_FLOAT): New macro.
13571 (NO_TEST_INLINE_DOUBLE): Likewise.
13572 (enable_test): New function.
13573 (RUN_TEST_f_f): Check enable_test before running test.
13574 (RUN_TEST_2_f): Likewise.
13575 (RUN_TEST_fff_f): Likewise.
13576 (RUN_TEST_c_f): Likewise.
13577 (RUN_TEST_f_f1): Likewise.
13578 (RUN_TEST_fF_f1): Likewise.
13579 (RUN_TEST_fI_f1): Likewise.
13580 (RUN_TEST_ffI_f1): Likewise.
13581 (RUN_TEST_c_c): Likewise.
13582 (RUN_TEST_cc_c): Likewise.
13583 (RUN_TEST_f_i): Likewise.
13584 (RUN_TEST_f_i_tg): Likewise.
13585 (RUN_TEST_ff_i_tg): Likewise.
13586 (RUN_TEST_f_b): Likewise.
13587 (RUN_TEST_f_b_tg): Likewise.
13588 (RUN_TEST_f_l): Likewise.
13589 (RUN_TEST_f_L): Likewise.
13590 (RUN_TEST_fFF_11): Likewise.
13591 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13593 (cosh_test_data): Likewise.
13594 (exp_test_data): Likewise.
13595 (expm1_test_data): Likewise.
13596 (hypot_test_data): Likewise.
13597 (pow_test_data): Likewise.
13598 (sinh_test_data): Likewise.
13599 (tanh_test_data): Likewise.
13600 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13603 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13604 tests with quiet NaN input and output.
13605 (acosh_test_data): Likewise.
13606 (asin_test_data): Likewise.
13607 (asinh_test_data): Likewise.
13608 (atan_test_data): Likewise.
13609 (atanh_test_data): Likewise.
13610 (atan2_test_data): Likewise.
13611 (cbrt_test_data): Likewise.
13612 (cos_test_data): Likewise.
13613 (cosh_test_data): Likewise.
13614 (erf_test_data): Likewise.
13615 (erfc_test_data): Likewise.
13616 (exp_test_data): Likewise.
13617 (exp10_test_data): Likewise.
13618 (exp2_test_data): Likewise.
13619 (expm1_test_data): Likewise.
13620 (hypot_test_data): Likewise.
13621 (j0_test_data): Likewise.
13622 (j1_test_data): Likewise.
13623 (jn_test_data): Likewise.
13624 (lgamma_test_data): Likewise.
13625 (log_test_data): Likewise.
13626 (log10_test_data): Likewise.
13627 (log1p_test_data): Likewise.
13628 (log2_test_data): Likewise.
13629 (pow_test_data): Likewise.
13630 (scalb_test_data): Likewise.
13631 (sin_test_data): Likewise.
13632 (sincos_test_data): Likewise.
13633 (sinh_test_data): Likewise.
13634 (tan_test_data): Likewise.
13635 (tanh_test_data): Likewise.
13636 (tgamma_test_data): Likewise.
13637 (y0_test_data): Likewise.
13638 (y1_test_data): Likewise.
13639 (yn_test_data): Likewise.
13642 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13643 argument being NaN and avoid computations with second argument in
13645 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13646 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13647 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13649 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13651 * locale/iso-639.def: Add Chitwani Tharu (the).
13653 2013-11-14 Andreas Schwab <schwab@suse.de>
13655 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13656 word instead of empty string.
13658 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13661 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13663 (__fe_nomask_env): Likewise.
13665 2013-11-13 Steve Ellcey <sellcey@mips.com>
13667 * benchtests/bench-timing.h: Include time.h.
13669 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13672 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13674 * sysdeps/unix/sysv/linux/configure: Regenerated.
13676 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13679 * stdlib/strtod_l.c (round_and_return): Do not consider
13680 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13681 exponent one less than half the least subnormal exponent.
13682 * stdlib/test-strtod-round-data: Add more tests.
13683 * stdlib/tst-strtod-round.c (tests): Regenerated.
13685 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13688 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13689 (__fe_mask_env): Likewise.
13690 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13691 libm_hidden_proto and add function prototype.
13692 (__fe_mask_env): Add function prototype.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13694 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13696 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13698 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13700 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13702 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13703 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13705 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13707 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13708 of htab_find_slot().
13710 2013-11-11 David S. Miller <davem@davemloft.net>
13713 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13714 symbol in the non-vis3 case in static builds.
13715 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13716 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13717 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13718 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13720 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13723 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13726 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13728 * benchtests/Makefile: Add bench-strtod.
13729 * benchtests/bench-strtod.c: New file: strtod benchtest
13731 2013-11-11 Andreas Schwab <schwab@suse.de>
13734 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13735 terminating NUL in key length.
13737 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13739 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13740 Add artificial ODP entry for vDSO symbol for PPC64.
13741 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13742 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13744 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13747 * nss/getent.c (services_keys): Recognize services starting with digit.
13749 2013-11-06 David S. Miller <davem@davemloft.net>
13752 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13753 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13755 2013-11-06 Will Newton <will.newton@linaro.org>
13757 * manual/memory.texi (Malloc Examples): Remove register
13758 keyword from examples.
13760 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13762 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13764 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13767 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13768 depending on [__GCC_IEC_559 > 0].
13769 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13770 depending on [__GCC_IEC_559_COMPLEX > 0].
13772 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13774 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13777 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13779 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13781 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13784 * malloc/malloc (malloc_info): Do not handle first bin as
13787 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13789 * locale/iso-639.def: Add Central Nahuatl (nhn).
13791 2013-11-01 Bruno Haible <bruno@clisp.org>
13794 * manual/math.texi (BSD Random): Specify range upper bound as
13797 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13799 * locale/iso-639.def: Add Meadow Mari (mhr).
13801 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13803 [BZ #14752], [BZ #15763]
13804 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13806 * rt/tst_shm.c: Add test for escaping directory.
13808 2013-10-31 Andreas Schwab <schwab@suse.de>
13811 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13812 followed by 'x' as part of digit sequence.
13813 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13815 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13818 * configure.ac: allow GNU Make 4.0 and greater.
13819 * configure: Regenerated.
13821 2013-10-30 Will Newton <will.newton@linaro.org>
13824 * malloc/hooks.c (memalign_check): Limit alignment to the
13825 maximum representable power of two.
13826 * malloc/malloc.c (__libc_memalign): Likewise.
13827 * malloc/tst-memalign.c (do_test): Add test for very
13828 large alignment values.
13829 * malloc/tst-posix_memalign.c (do_test): Likewise.
13831 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13834 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13835 (munmap_chunk): Likewise.
13836 (mremap_chunk): Likewise.
13838 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13841 * stdlib/div.c (div): Remove obsolete code.
13842 * stdlib/ldiv.c (ldiv): Likewise.
13843 * stdlib/lldiv.c (lldiv): Likewise.
13845 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13848 * nss/nss_files/files-XXX.c (get_contents_ret): New
13850 (get_contents): New function.
13851 (internal_getent): Use it. Expand size of LINEBUFLEN.
13853 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13855 * configure.in: Moved to ...
13856 * configure.ac: ... here. Change reference to configure.in
13858 * sysdeps/arm/preconfigure.ac: ... here.
13859 configure.in to configure.ac.
13860 * sysdeps/gnu/configure.in: Moved to ...
13861 * sysdeps/gnu/configure.ac: ... here.
13862 * sysdeps/i386/configure.in: Moved to ...
13863 * sysdeps/i386/configure.ac: ... here.
13864 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13865 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13866 * sysdeps/mach/configure.in: Moved to ...
13867 * sysdeps/mach/configure.ac: ... here.
13868 * sysdeps/mach/hurd/configure.in: Moved to ...
13869 * sysdeps/mach/hurd/configure.ac: ... here.
13870 * sysdeps/powerpc/configure.in: Moved to ...
13871 * sysdeps/powerpc/configure.ac: ... here.
13872 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13873 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13874 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13875 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13876 * sysdeps/s390/s390-32/configure.in: Moved to ...
13877 * sysdeps/s390/s390-32/configure.ac: ... here.
13878 * sysdeps/s390/s390-64/configure.in: Moved to ...
13879 * sysdeps/s390/s390-64/configure.ac: ... here.
13880 * sysdeps/sh/configure.in: Moved to ...
13881 * sysdeps/sh/configure.ac: ... here.
13882 * sysdeps/sparc/configure.in: Moved to ...
13883 * sysdeps/sparc/configure.ac: ... here.
13884 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13885 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13886 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13887 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13888 * sysdeps/x86_64/configure.in: Moved to ...
13889 * sysdeps/x86_64/configure.ac: ... here.
13890 * sysdeps/x86_64/preconfigure.in: Moved to ...
13891 * sysdeps/x86_64/preconfigure.ac: ... here.
13892 * aclocal.m4: Change reference to configure.in to configure.ac.
13893 * config.h.in: Likewise.
13894 * manual/install.texi: Likewise.
13895 * manual/maint.texi: Likewise.
13896 * Makefile: Likewise.
13897 * malloc/Makefile: Likewise.
13898 * nscd/Makefile: Likewise.
13899 * Makeconfig: Change reference to configure.in and
13900 preconfigure.in to configure.ac and preconfigure.ac
13902 * INSTALL: Regenerated.
13903 * configure: Likewise.
13904 * sysdeps/gnu/configure: Likewise.
13905 * sysdeps/i386/configure: Likewise.
13906 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13907 * sysdeps/mach/configure: Likewise.
13908 * sysdeps/mach/hurd/configure: Likewise.
13909 * sysdeps/powerpc/configure: Likewise.
13910 * sysdeps/powerpc/powerpc32/configure: Likewise.
13911 * sysdeps/powerpc/powerpc64/configure: Likewise.
13912 * sysdeps/s390/s390-32/configure: Likewise.
13913 * sysdeps/s390/s390-64/configure: Likewise.
13914 * sysdeps/sh/configure: Likewise.
13915 * sysdeps/sparc/configure: Likewise.
13916 * sysdeps/unix/sysv/linux/configure: Likewise.
13917 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13918 * sysdeps/x86_64/configure: Likewise.
13919 * sysdeps/x86_64/preconfigure: Likewise.
13921 2013-10-29 Andreas Schwab <schwab@suse.de>
13923 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13925 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13927 * benchtests/pow-inputs: Add new inputs.
13929 * benchtests/exp-inputs: Add new inputs.
13931 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13932 conditional check for return value.
13933 (__cos32): Likewise.
13935 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13937 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13938 to provide a boost for large inputs with word alignment.
13939 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13940 implementation based on optimized PPC64 strcpy.
13941 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13942 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13943 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13944 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13946 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13949 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13951 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13954 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13955 * time/tst-strptime.c (day_tests): Add testcase.
13957 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13960 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13962 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13965 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13966 MAP_FAILED on error.
13968 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13971 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13972 heap for large requests.
13974 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13977 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13978 result if the result has no associated interface.
13979 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13980 interface for all 127.X.Y.Z addresses.
13982 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13984 * locale/iso-639.def: Add Ligurian (lij)
13986 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13989 * sunrpc/rpc_main.c: Document rpcgen -5.
13991 2013-10-19 Michael Stahl <mstahl@redhat.com>
13993 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13995 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13998 * posix/glob.c: Match only directories when trailing slash is present.
13999 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14000 (main): Add testcase.
14002 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14005 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14007 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14009 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14010 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14011 AUTH_DES and cindex for FIPS 140-2.
14012 (DES Encryption): Add cindex FIPS 46-3.
14014 * locale/locarchive.h (struct locarhandle): Add fname.
14015 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14016 if an optional argument was specified to --list-archive,
14018 * locale/programs/locarchive.c (show_archive_content): Take new
14019 argument fname and pass it via ah.fname to open_archive.
14020 * locale/programs/localedef.h: Update decl.
14021 (open_archive): If AH->fname is non-null, open that file
14022 rather than the default file name, and don't ignore ENOENT.
14023 (create_archive): Set AH.fname to NULL.
14024 (delete_locales_from_archive): Likewise.
14025 (add_locales_to_archive): Likewise.
14026 * locale/programs/locfile.c (write_all_categories): Likewise.
14028 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14029 Aldy Hernandez <aldyh@redhat.com>
14031 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14032 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14033 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14034 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14035 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14036 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14037 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14038 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14039 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14040 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14041 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14042 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14043 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14044 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14045 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14047 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14049 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14051 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14053 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14054 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14056 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14057 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14058 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14059 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14061 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14062 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14063 * sysdeps/powerpc/preconfigure: Likewise.
14064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14066 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14067 Replace contents of file by #include of <fenv_libc.h>.
14068 * sysdeps/powerpc/soft-fp/sfp-machine.h
14069 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14071 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14072 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14075 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14076 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14078 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14081 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14084 Allow copysignl PLT reference to be missing.
14086 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14087 Joseph Myers <joseph@codesourcery.com
14090 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14092 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14094 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14096 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14097 * elf/tst-tls1.c: Likewise.
14098 * elf/tst-tls10.h: Likewise.
14099 * elf/tst-tls14.c: Likewise.
14100 * elf/tst-tls2.c: Likewise.
14101 * elf/tst-tls3.c: Likewise.
14102 * elf/tst-tls4.c: Likewise.
14103 * elf/tst-tls5.c: Likewise.
14104 * elf/tst-tls6.c: Likewise.
14105 * elf/tst-tls7.c: Likewise.
14106 * elf/tst-tls8.c: Likewise.
14107 * elf/tst-tls9.c: Likewise.
14108 * elf/tst-tlsmod1.c: Likewise.
14109 * elf/tst-tlsmod13.c: Likewise.
14110 * elf/tst-tlsmod13a.c: Likewise.
14111 * elf/tst-tlsmod14a.c: Likewise.
14112 * elf/tst-tlsmod16a.c: Likewise.
14113 * elf/tst-tlsmod16b.c: Likewise.
14114 * elf/tst-tlsmod2.c: Likewise.
14115 * elf/tst-tlsmod3.c: Likewise.
14116 * elf/tst-tlsmod4.c: Likewise.
14117 * elf/tst-tlsmod5.c: Likewise.
14118 * elf/tst-tlsmod6.c: Likewise.
14120 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14123 * malloc/malloc.c: remove checks for statistics.
14125 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14128 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14129 * inet/tst-network.c: Add testcase.
14131 2013-10-17 Andreas Schwab <schwab@suse.de>
14134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14135 to determine canonical name.
14137 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14139 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14140 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14146 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14147 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14148 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14149 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14150 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14151 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14153 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14154 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14163 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14164 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14169 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14180 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14193 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14195 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14196 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14198 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14201 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14202 make result into a quiet NaN.
14204 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14206 * soft-fp/adddf3.c: Fix horizontal whitespace.
14207 * soft-fp/addsf3.c: Likewise.
14208 * soft-fp/addtf3.c: Likewise.
14209 * soft-fp/divdf3.c: Likewise.
14210 * soft-fp/divsf3.c: Likewise.
14211 * soft-fp/divtf3.c: Likewise.
14212 * soft-fp/double.h: Likewise.
14213 * soft-fp/eqdf2.c: Likewise.
14214 * soft-fp/eqsf2.c: Likewise.
14215 * soft-fp/eqtf2.c: Likewise.
14216 * soft-fp/extenddftf2.c: Likewise.
14217 * soft-fp/extended.h: Likewise.
14218 * soft-fp/extendsfdf2.c: Likewise.
14219 * soft-fp/extendsftf2.c: Likewise.
14220 * soft-fp/extendxftf2.c: Likewise.
14221 * soft-fp/fixdfdi.c: Likewise.
14222 * soft-fp/fixdfsi.c: Likewise.
14223 * soft-fp/fixdfti.c: Likewise.
14224 * soft-fp/fixsfdi.c: Likewise.
14225 * soft-fp/fixsfsi.c: Likewise.
14226 * soft-fp/fixsfti.c: Likewise.
14227 * soft-fp/fixtfdi.c: Likewise.
14228 * soft-fp/fixtfsi.c: Likewise.
14229 * soft-fp/fixtfti.c: Likewise.
14230 * soft-fp/fixunsdfdi.c: Likewise.
14231 * soft-fp/fixunsdfsi.c: Likewise.
14232 * soft-fp/fixunsdfti.c: Likewise.
14233 * soft-fp/fixunssfdi.c: Likewise.
14234 * soft-fp/fixunssfsi.c: Likewise.
14235 * soft-fp/fixunssfti.c: Likewise.
14236 * soft-fp/fixunstfdi.c: Likewise.
14237 * soft-fp/fixunstfsi.c: Likewise.
14238 * soft-fp/fixunstfti.c: Likewise.
14239 * soft-fp/floatdidf.c: Likewise.
14240 * soft-fp/floatdisf.c: Likewise.
14241 * soft-fp/floatditf.c: Likewise.
14242 * soft-fp/floatsidf.c: Likewise.
14243 * soft-fp/floatsisf.c: Likewise.
14244 * soft-fp/floatsitf.c: Likewise.
14245 * soft-fp/floattidf.c: Likewise.
14246 * soft-fp/floattisf.c: Likewise.
14247 * soft-fp/floattitf.c: Likewise.
14248 * soft-fp/floatundidf.c: Likewise.
14249 * soft-fp/floatundisf.c: Likewise.
14250 * soft-fp/floatunditf.c: Likewise.
14251 * soft-fp/floatunsidf.c: Likewise.
14252 * soft-fp/floatunsisf.c: Likewise.
14253 * soft-fp/floatunsitf.c: Likewise.
14254 * soft-fp/floatuntidf.c: Likewise.
14255 * soft-fp/floatuntisf.c: Likewise.
14256 * soft-fp/floatuntitf.c: Likewise.
14257 * soft-fp/fmadf4.c: Likewise.
14258 * soft-fp/fmasf4.c: Likewise.
14259 * soft-fp/fmatf4.c: Likewise.
14260 * soft-fp/gedf2.c: Likewise.
14261 * soft-fp/gesf2.c: Likewise.
14262 * soft-fp/getf2.c: Likewise.
14263 * soft-fp/ledf2.c: Likewise.
14264 * soft-fp/lesf2.c: Likewise.
14265 * soft-fp/letf2.c: Likewise.
14266 * soft-fp/muldf3.c: Likewise.
14267 * soft-fp/mulsf3.c: Likewise.
14268 * soft-fp/multf3.c: Likewise.
14269 * soft-fp/negdf2.c: Likewise.
14270 * soft-fp/negsf2.c: Likewise.
14271 * soft-fp/negtf2.c: Likewise.
14272 * soft-fp/op-1.h: Likewise.
14273 * soft-fp/op-2.h: Likewise.
14274 * soft-fp/op-4.h: Likewise.
14275 * soft-fp/op-8.h: Likewise.
14276 * soft-fp/op-common.h: Likewise.
14277 * soft-fp/quad.h: Likewise.
14278 * soft-fp/single.h: Likewise.
14279 * soft-fp/soft-fp.h: Likewise.
14280 * soft-fp/sqrtdf2.c: Likewise.
14281 * soft-fp/sqrtsf2.c: Likewise.
14282 * soft-fp/sqrttf2.c: Likewise.
14283 * soft-fp/subdf3.c: Likewise.
14284 * soft-fp/subsf3.c: Likewise.
14285 * soft-fp/subtf3.c: Likewise.
14286 * soft-fp/truncdfsf2.c: Likewise.
14287 * soft-fp/trunctfdf2.c: Likewise.
14288 * soft-fp/trunctfsf2.c: Likewise.
14289 * soft-fp/trunctfxf2.c: Likewise.
14290 * soft-fp/unorddf2.c: Likewise.
14291 * soft-fp/unordsf2.c: Likewise.
14292 * soft-fp/unordtf2.c: Likewise.
14294 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14296 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14297 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14299 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14301 * elf/dl-libc.c: Clear initfini list after freeing.
14303 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14305 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14306 * soft-fp/addsf3.c: Likewise.
14307 * soft-fp/addtf3.c: Likewise.
14308 * soft-fp/divdf3.c: Likewise.
14309 * soft-fp/divsf3.c: Likewise.
14310 * soft-fp/divtf3.c: Likewise.
14311 * soft-fp/double.h: Likewise.
14312 * soft-fp/eqdf2.c: Likewise.
14313 * soft-fp/eqsf2.c: Likewise.
14314 * soft-fp/eqtf2.c: Likewise.
14315 * soft-fp/extenddftf2.c: Likewise.
14316 * soft-fp/extended.h: Likewise.
14317 * soft-fp/extendsfdf2.c: Likewise.
14318 * soft-fp/extendsftf2.c: Likewise.
14319 * soft-fp/extendxftf2.c: Likewise.
14320 * soft-fp/fixdfdi.c: Likewise.
14321 * soft-fp/fixdfsi.c: Likewise.
14322 * soft-fp/fixdfti.c: Likewise.
14323 * soft-fp/fixsfdi.c: Likewise.
14324 * soft-fp/fixsfsi.c: Likewise.
14325 * soft-fp/fixsfti.c: Likewise.
14326 * soft-fp/fixtfdi.c: Likewise.
14327 * soft-fp/fixtfsi.c: Likewise.
14328 * soft-fp/fixtfti.c: Likewise.
14329 * soft-fp/fixunsdfdi.c: Likewise.
14330 * soft-fp/fixunsdfsi.c: Likewise.
14331 * soft-fp/fixunsdfti.c: Likewise.
14332 * soft-fp/fixunssfdi.c: Likewise.
14333 * soft-fp/fixunssfsi.c: Likewise.
14334 * soft-fp/fixunssfti.c: Likewise.
14335 * soft-fp/fixunstfdi.c: Likewise.
14336 * soft-fp/fixunstfsi.c: Likewise.
14337 * soft-fp/fixunstfti.c: Likewise.
14338 * soft-fp/floatdidf.c: Likewise.
14339 * soft-fp/floatdisf.c: Likewise.
14340 * soft-fp/floatditf.c: Likewise.
14341 * soft-fp/floatsidf.c: Likewise.
14342 * soft-fp/floatsisf.c: Likewise.
14343 * soft-fp/floatsitf.c: Likewise.
14344 * soft-fp/floattidf.c: Likewise.
14345 * soft-fp/floattisf.c: Likewise.
14346 * soft-fp/floattitf.c: Likewise.
14347 * soft-fp/floatundidf.c: Likewise.
14348 * soft-fp/floatundisf.c: Likewise.
14349 * soft-fp/floatunsidf.c: Likewise.
14350 * soft-fp/floatunsisf.c: Likewise.
14351 * soft-fp/floatuntidf.c: Likewise.
14352 * soft-fp/floatuntisf.c: Likewise.
14353 * soft-fp/floatuntitf.c: Likewise.
14354 * soft-fp/fmadf4.c: Likewise.
14355 * soft-fp/fmasf4.c: Likewise.
14356 * soft-fp/fmatf4.c: Likewise.
14357 * soft-fp/gedf2.c: Likewise.
14358 * soft-fp/gesf2.c: Likewise.
14359 * soft-fp/getf2.c: Likewise.
14360 * soft-fp/ledf2.c: Likewise.
14361 * soft-fp/lesf2.c: Likewise.
14362 * soft-fp/letf2.c: Likewise.
14363 * soft-fp/muldf3.c: Likewise.
14364 * soft-fp/mulsf3.c: Likewise.
14365 * soft-fp/multf3.c: Likewise.
14366 * soft-fp/negdf2.c: Likewise.
14367 * soft-fp/negsf2.c: Likewise.
14368 * soft-fp/negtf2.c: Likewise.
14369 * soft-fp/op-1.h: Likewise.
14370 * soft-fp/op-2.h: Likewise.
14371 * soft-fp/op-4.h: Likewise.
14372 * soft-fp/op-8.h: Likewise.
14373 * soft-fp/op-common.h: Likewise.
14374 * soft-fp/quad.h: Likewise.
14375 * soft-fp/single.h: Likewise.
14376 * soft-fp/soft-fp.h: Likewise.
14377 * soft-fp/sqrtdf2.c: Likewise.
14378 * soft-fp/sqrtsf2.c: Likewise.
14379 * soft-fp/sqrttf2.c: Likewise.
14380 * soft-fp/subdf3.c: Likewise.
14381 * soft-fp/subsf3.c: Likewise.
14382 * soft-fp/subtf3.c: Likewise.
14383 * soft-fp/truncdfsf2.c: Likewise.
14384 * soft-fp/trunctfdf2.c: Likewise.
14385 * soft-fp/trunctfsf2.c: Likewise.
14386 * soft-fp/trunctfxf2.c: Likewise.
14387 * soft-fp/unorddf2.c: Likewise.
14388 * soft-fp/unordsf2.c: Likewise.
14389 * soft-fp/unordtf2.c: Likewise.
14391 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14394 * misc/error.c (error_tail): Fix possible buffer overflow.
14396 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14399 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14402 2013-10-14 P. J. McDermott <pj@pehjota.net>
14405 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14406 testing pipefail option.
14408 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14410 * soft-fp/double.h: Indent preprocessor directives inside #if.
14411 * soft-fp/extended.h: Likewise.
14412 * soft-fp/op-2.h: Likewise.
14413 * soft-fp/op-4.h: Likewise.
14414 * soft-fp/op-common.h: Likewise.
14415 * soft-fp/quad.h: Likewise.
14416 * soft-fp/single.h: Likewise.
14417 * soft-fp/soft-fp.h: Likewise.
14419 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14421 * iconv/iconv_prog.c: Fix typos.
14422 * stdio-common/psiginfo-data.h: Likewise.
14424 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14427 * locale/setlocale.c: Fix typo.
14429 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14432 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14433 signaling NaN arguments.
14434 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14435 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14438 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14439 unordered operands.
14440 * soft-fp/gesf2.c (__gesf2): Likewise.
14441 * soft-fp/getf2.c (__getf2): Likewise.
14442 * soft-fp/ledf2.c (__ledf2): Likewise.
14443 * soft-fp/lesf2.c (__lesf2): Likewise.
14444 * soft-fp/letf2.c (__letf2): Likewise.
14446 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14447 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14448 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14449 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14450 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14451 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14452 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14453 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14454 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14455 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14456 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14457 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14458 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14459 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14460 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14461 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14462 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14463 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14464 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14465 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14466 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14467 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14468 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14469 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14470 * soft-fp/floattidf.c (__floattidf): Likewise.
14471 * soft-fp/floattisf.c (__floattisf): Likewise.
14472 * soft-fp/floattitf.c (__floattitf): Likewise.
14473 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14474 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14475 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14476 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14477 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14478 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14479 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14480 * soft-fp/gesf2.c (__gesf2): Likewise.
14481 * soft-fp/getf2.c (__getf2): Likewise.
14482 * soft-fp/ledf2.c (__ledf2): Likewise.
14483 * soft-fp/lesf2.c (__lesf2): Likewise.
14484 * soft-fp/letf2.c (__letf2): Likewise.
14486 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14487 Undefine and redefine.
14488 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14489 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14490 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14491 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14492 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14493 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14494 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14495 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14496 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14497 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14498 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14499 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14500 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14501 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14502 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14505 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14506 without decrementing exponent if mantissa >= that for the
14507 denominator, not >.
14508 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14509 denominator, not >. Decrement exponent in < case instead of
14510 incrementing in >= case.
14511 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14512 without decrementing exponent if mantissa >= that for the
14513 denominator, not >.
14515 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14516 computing saturated result for unsigned overflow.
14518 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14519 Jeff Law <law@redhat.com>
14521 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14522 (atan2Mp): Add systemtap probe marker.
14523 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14524 (__ieee754_log): Add systemtap probe marker.
14525 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14526 (atanMp): Add systemtap probe marker.
14527 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14528 (tanMp): Add systemtap probe marker.
14529 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14530 (__slowexp): Add systemtap probe marker.
14531 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14532 (__slowpow): Add systemtap probe marker.
14533 * manual/probes.texi: Document probes.
14535 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14538 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14540 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14542 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14543 written to buffer but not flushed.
14544 * libio/iofwrite_u.c: Likewise.
14545 * libio/iopadn.c: Return bytes returned even if EOF was
14547 * libio/iowpadn.c: Likewise.
14548 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14549 if _IO_padn does not write the whole buffer.
14550 [!COMPILE_WPRINTF] (PAD): Likewise.
14552 2013-10-10 David S. Miller <davem@davemloft.net>
14554 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14557 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14559 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14560 instead of FSF address.
14561 * soft-fp/fixdfti.c: Likewise.
14562 * soft-fp/fixsfti.c: Likewise.
14563 * soft-fp/fixtfti.c: Likewise.
14564 * soft-fp/fixunsdfti.c: Likewise.
14565 * soft-fp/fixunssfti.c: Likewise.
14566 * soft-fp/fixunstfti.c: Likewise.
14567 * soft-fp/floattidf.c: Likewise.
14568 * soft-fp/floattisf.c: Likewise.
14569 * soft-fp/floattitf.c: Likewise.
14570 * soft-fp/floatuntidf.c: Likewise.
14571 * soft-fp/floatuntisf.c: Likewise.
14572 * soft-fp/floatuntitf.c: Likewise.
14573 * soft-fp/trunctfxf2.c: Likewise.
14575 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14576 * soft-fp/fixdfti.c: Likewise.
14577 * soft-fp/fixsfti.c: Likewise.
14578 * soft-fp/fixtfti.c: Likewise.
14579 * soft-fp/fixunsdfti.c: Likewise.
14580 * soft-fp/fixunssfti.c: Likewise.
14581 * soft-fp/fixunstfti.c: Likewise.
14582 * soft-fp/floattidf.c: Likewise.
14583 * soft-fp/floattisf.c: Likewise.
14584 * soft-fp/floattitf.c: Likewise.
14585 * soft-fp/floatuntidf.c: Likewise.
14586 * soft-fp/floatuntisf.c: Likewise.
14587 * soft-fp/floatuntitf.c: Likewise.
14588 * soft-fp/trunctfxf2.c: Likewise.
14590 2013-10-10 David S. Miller <davem@davemloft.net>
14592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14594 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14596 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14597 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14598 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14599 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14600 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14601 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14602 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14604 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14605 for NaNs before doing comparisons on argument.
14606 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14609 2013-10-10 Will Newton <will.newton@linaro.org>
14611 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14612 passed to _int_memalign does not overflow.
14614 2013-10-10 Torvald Riegel <triegel@redhat.com>
14616 * scripts/bench.pl: Add include-sources directive.
14617 * benchtests/README: Update documentation.
14619 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14621 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14622 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14623 instead of FP_INIT_ROUNDMODE.
14624 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14625 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14628 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14629 copy class of input value.
14630 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14631 not handle exceptions.
14632 * soft-fp/negsf2.c (__negsf2): Likewise.
14633 * soft-fp/negtf2.c (__negtf2): Likewise.
14634 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14636 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14638 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14639 semicolon. From Linux kernel.
14641 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14643 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14645 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14648 * manual/socket.texi: Added statement about buffer
14649 for gethostbyname2_r.
14651 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14653 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14654 Use .p2align directive instead, throughout.
14655 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14656 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14657 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14660 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14661 * sysdeps/x86_64/strchr.S: Likewise.
14662 * sysdeps/x86_64/strrchr.S: Likewise.
14664 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14666 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14668 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14670 * sysdeps/generic/math_private.h (__mpsin1): Remove
14672 (__mpcos1): Likewise.
14673 (__mpsin): New argument __range_reduce.
14674 (__mpcos): Likewise.
14675 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14676 (slow): Use __mpsin and __mpcos.
14680 (sloww1): Likewise.
14681 (sloww2): Likewise.
14682 (bsloww): Likewise.
14683 (bsloww1): Likewise.
14684 (bsloww2): Likewise.
14685 (cslow2): Likewise.
14686 (csloww): Likewise.
14687 (csloww1): Likewise.
14688 (csloww2): Likewise.
14689 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14690 range_reduce. Merge in __mpsin1.
14691 (__mpcos): Likewise.
14692 (__mpsin1): Remove.
14693 (__mpcos1): Likewise.
14695 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14697 * locale/loadlocale.c (_nl_intern_locale_data): Use
14699 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14700 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14701 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14702 obstack data is appropriately aligned.
14703 (obstack_int32_grow_fast): Likewise.
14704 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14705 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14706 (add_locale_uint32_array): Likewise.
14708 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14710 * benchtests/Makefile: Remove ARGLIST and RET variables.
14711 ($(objpfx)bench-%.c): Pass only function name to the script.
14712 * benchtests/README: Update documentation.
14713 * benchtests/acos-inputs: Add new directives.
14714 * benchtests/acosh-inputs: Likewise.
14715 * benchtests/asin-inputs: Likewise.
14716 * benchtests/asinh-inputs: Likewise.
14717 * benchtests/atan-inputs: Likewise.
14718 * benchtests/atanh-inputs: Likewise.
14719 * benchtests/cos-inputs: Likewise.
14720 * benchtests/cosh-inputs: Likewise.
14721 * benchtests/exp-inputs: Likewise.
14722 * benchtests/log-inputs: Likewise.
14723 * benchtests/pow-inputs: Likewise.
14724 * benchtests/rint-inputs: Likewise.
14725 * benchtests/sin-inputs: Likewise.
14726 * benchtests/sinh-inputs: Likewise.
14727 * benchtests/tan-inputs: Likewise.
14728 * benchtests/tanh-inputs: Likewise.
14729 * scripts/bench.pl: Add support for new directives.
14731 2013-10-07 Alan Modra <amodra@gmail.com>
14733 * README: Fix careless merge.
14735 2013-10-05 Alan Modra <amodra@gmail.com>
14737 * NEWS: Mention powerpc64le support and bugs fixed.
14738 * README: Both big-endian and little-endian powerpc64 supported.
14740 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14742 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14743 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14744 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14745 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14747 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14749 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14752 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14754 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14755 Move -mhard-float appending from
14756 ports/sysdeps/powerpc/powerpc32/Makefile.
14757 [$(with-fp) = yes] (ASFLAGS): Likewise.
14758 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14759 * sysdeps/powerpc/nofpu: Move directory from
14760 ports/sysdeps/powerpc/nofpu.
14761 * sysdeps/powerpc/soft-fp: Move directory from
14762 ports/sysdeps/powerpc/soft-fp.
14763 * sysdeps/powerpc/powerpc32/405: Move directory from
14764 ports/sysdeps/powerpc/powerpc32/405.
14765 * sysdeps/powerpc/powerpc32/440: Move directory from
14766 ports/sysdeps/powerpc/powerpc32/440.
14767 * sysdeps/powerpc/powerpc32/464: Move directory from
14768 ports/sysdeps/powerpc/powerpc32/464.
14769 * sysdeps/powerpc/powerpc32/476: Move directory from
14770 ports/sysdeps/powerpc/powerpc32/476.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14772 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14774 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14776 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14778 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14780 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14781 * README: Update for powerpc-*-linux-gnu software floating point
14784 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14785 case to powerpc/powerpc32*.
14786 * sysdeps/unix/sysv/linux/configure: Regenerated.
14788 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14789 (_FPU_MASK_OM): Define as 0x04.
14790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14798 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14801 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14804 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14805 and setcontext_e500.
14807 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14809 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14811 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14813 * manual/threads.texi (Default Thread Attributes): Fix typo.
14815 2013-10-04 Will Newton <will.newton@linaro.org>
14817 * malloc/Makefile: Add tst-memalign.
14818 * malloc/tst-memalign.c: New file.
14820 * malloc/tst-posix_memalign.c: Add comments.
14821 (do_test): Add comments and call free on all potentially
14822 allocated pointers. Add space after cast.
14824 * malloc/tst-pvalloc.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 * malloc/tst-valloc.c: Add comments.
14830 (do_test): Add comments and call free on all potentially
14831 allocated pointers. Remove duplicate check for NULL pointer.
14832 Add space after cast.
14834 2013-10-04 Alan Modra <amodra@gmail.com>
14836 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14837 Use stdint types in rather than __attribute__((mode())).
14838 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14840 2013-10-04 Alan Modra <amodra@gmail.com>
14842 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14843 Correct handling of unaligned relocs for little-endian.
14844 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14846 2013-10-04 Alan Modra <amodra@gmail.com>
14848 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14849 * configure: Regenerate.
14850 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14851 * shlib-versions: Likewise.
14853 2013-10-04 Alan Modra <amodra@gmail.com>
14855 * string/tester.c (test_memrchr): Increment reported test cycle.
14857 2013-10-04 Alan Modra <amodra@gmail.com>
14859 * string/test-memcpy.c (do_one_test): When reporting errors, print
14860 string address and don't overrun end of string.
14862 2013-10-04 Alan Modra <amodra@gmail.com>
14864 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14865 insrdi. Make better use of reg selection to speed exit slightly.
14866 Schedule entry path a little better. Remove useless "are we done"
14867 checks on entry to main loop. Handle wrapping around zero address.
14868 Correct main loop count. Handle single left-over word from main
14869 loop inline rather than by using loop_small. Remove extra word
14870 case in loop_small caused by wrong loop count. Add little-endian
14872 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14873 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14875 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14876 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14877 support. Avoid rlwimi.
14878 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14880 2013-10-04 Alan Modra <amodra@gmail.com>
14882 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14883 insrdi. Formatting.
14884 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14885 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14886 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14887 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14888 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14889 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14891 2013-10-04 Alan Modra <amodra@gmail.com>
14893 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14894 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14895 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14896 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14897 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14898 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14899 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14900 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14901 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14902 use of regs. Use power7 mtocrf. Tidy function tails.
14904 2013-10-04 Alan Modra <amodra@gmail.com>
14906 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14907 Formatting. Consistently use rXXX register defines or rN defines.
14908 Use early exit labels that avoid restoring unused non-volatile regs.
14909 Make cr field use more consistent with rWORDn compares. Rename
14910 regs used as shift registers for unaligned loop, using rN defines
14911 for short lifetime/multiple use regs.
14912 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14913 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14914 addi 1,1,64 to pop stack frame. Simplify return value code.
14915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14917 2013-10-04 Alan Modra <amodra@gmail.com>
14919 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14920 support. Correct typos, formatting. Optimize tail. Use insrdi
14921 rather than rlwimi.
14922 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14923 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14924 little-endian support. Correct typos.
14925 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14926 rather than rlwimi.
14927 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14928 in loop and entry code to keep "and." results.
14929 (strchr): Add little-endian support. Comment. Move cntlzd
14931 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14933 2013-10-04 Alan Modra <amodra@gmail.com>
14935 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14936 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14937 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14938 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14940 2013-10-04 Alan Modra <amodra@gmail.com>
14942 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14943 (rTMP): Define as r11.
14944 (strcmp): Add little-endian support. Optimise tail.
14945 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14946 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14947 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14948 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14949 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14950 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14951 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14953 2013-10-04 Alan Modra <amodra@gmail.com>
14955 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14956 little-endian support. Remove unnecessary "are we done" tests.
14957 Handle "s" wrapping around zero and extremely large "size".
14958 Correct main loop count. Handle single left-over word from main
14959 loop inline rather than by using small_loop. Correct comments.
14960 Delete "zero" tail, use "end_max" instead.
14961 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14963 2013-10-04 Alan Modra <amodra@gmail.com>
14965 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14966 support. Don't branch over align.
14967 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14968 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14969 support. Rearrange tmp reg use to suit. Comment.
14970 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14972 2013-10-04 Alan Modra <amodra@gmail.com>
14974 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14976 2013-10-04 Alan Modra <amodra@gmail.com>
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14979 conditional form of branch and link when obtaining pc.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14982 2013-10-04 Alan Modra <amodra@gmail.com>
14984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14989 2013-10-04 Alan Modra <amodra@gmail.com>
14991 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14992 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14993 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14994 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14995 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14996 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14997 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14998 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14999 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15000 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15002 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15003 Alistair Popple <alistair@ozlabs.au.ibm.com>
15004 Alan Modra <amodra@gmail.com>
15007 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15008 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15009 _dl_hwcap access for little-endian.
15010 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15011 destroy vmx regs when saving unaligned.
15012 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15013 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15014 destroy vmx regs when saving unaligned.
15016 2013-10-04 Alan Modra <amodra@gmail.com>
15018 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15019 Don't use a union to pack hi/low value.
15021 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15023 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15025 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15026 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15027 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15028 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15029 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15031 2013-10-04 Alan Modra <amodra@gmail.com>
15033 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15034 constants to usual value for .cst8 section, and remove redundant
15036 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15037 constant for 0x1p52. Load little-endian words of double from
15038 correct stack offsets.
15040 2013-10-04 Alan Modra <amodra@gmail.com>
15042 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15043 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15044 words of double from correct stack offsets.
15045 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15046 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15047 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15048 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15049 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15051 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15052 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15053 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15054 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15055 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15056 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15057 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15058 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15059 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15060 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15061 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15063 2013-10-04 Alan Modra <amodra@gmail.com>
15065 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15066 64-bit int/double union.
15067 (_FPU_SETCW): Likewise.
15068 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15069 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15071 2013-10-04 Alan Modra <amodra@gmail.com>
15073 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15074 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15076 2013-10-04 Alan Modra <amodra@gmail.com>
15078 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15079 use vector int constants.
15080 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15082 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15084 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15085 array with long long.
15086 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15087 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15088 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15089 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15090 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15091 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15092 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15093 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15094 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15095 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15096 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15097 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15098 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15100 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15102 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15103 (__signbit): Likewise. Correct for little-endian.
15104 (__signbitl): Call __signbit.
15105 (lrint): Correct for little-endian.
15106 (lrintf): Call lrint.
15108 2013-10-04 Alan Modra <amodra@gmail.com>
15110 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15111 union 32-bit int array member with 64-bit int array.
15112 (t515, tm256): Double rather than long double.
15113 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15115 2013-10-04 Alan Modra <amodra@gmail.com>
15117 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15119 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15120 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15121 version of math_ldbl.h.
15123 2013-10-04 Alan Modra <amodra@gmail.com>
15125 [BZ #15734], [BZ #15735]
15126 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15127 all uses of ieee875 long double macros and unions. Simplify test
15128 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15129 ldbl_extract_mantissa value for ix,iy exponents. Properly
15130 normalize after ldbl_extract_mantissa, and don't add hidden bit
15131 already handled. Don't treat low word of ieee854 mantissa like
15132 low word of IBM long double and mask off bit when testing for
15134 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15135 all uses of ieee875 long double macros and unions. Simplify tests
15136 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15137 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15138 two1022, instead use their values. Recognise that tests for large
15139 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15140 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15141 Rewrite all uses of ieee875 long double macros and unions. Simplify
15142 test for 0.0L and nan. Correct negation.
15143 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15144 ieee875 long double macros and unions. Correct output for large
15145 magnitude x. Correct absolute value calculation.
15146 (__erfcl): Likewise.
15147 * math/libm-test.inc: Add tests for errors discovered in IBM long
15148 double versions of fmodl, remainderl, erfl and erfcl.
15150 2013-10-04 Alan Modra <amodra@gmail.com>
15152 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15153 all uses of ieee854 long double macros and unions. Simplify tests
15154 for long doubles that are fully specified by the high double.
15155 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15157 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15158 Remove dead code too.
15159 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15160 (__ieee754_ynl): Likewise.
15161 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15162 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15163 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15164 Remove dead code too.
15165 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15166 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15167 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15168 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15170 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15172 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15174 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15175 Comment on variable precision.
15176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15177 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15179 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15181 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15182 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15183 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15185 2013-10-04 Alan Modra <amodra@gmail.com>
15187 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15189 all uses of ieee854 long double macros and unions.
15190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15192 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15193 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15194 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15195 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15197 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15198 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15199 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15200 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15201 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15202 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15203 Simplify sign and nan test too.
15204 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15205 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15206 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15207 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15209 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15210 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15212 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15213 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15214 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15215 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15216 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15217 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15219 2013-10-04 Alan Modra <amodra@gmail.com>
15221 * stdio-common/printf_size.c (__printf_size): Don't use
15222 union ieee854_long_double in fpnum union.
15223 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15224 signbit macro to retrieve sign from long double.
15225 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15226 retrieve sign from long double.
15227 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15228 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15229 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15230 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15231 * math/test-misc.c (main): Don't use union ieee854_long_double.
15233 2013-10-04 Alan Modra <amodra@gmail.com>
15236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15237 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15238 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15239 calculation. Remove unnecessary test for denormal exponent.
15240 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15241 Correct handling of denormals. Avoid undefined shift behaviour.
15242 Correct normalisation of low mantissa when low double is denormal.
15243 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15244 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15245 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15246 Correct normalisation of low mantissa. Test for overflow of high
15247 mantissa and normalise.
15248 (ldbl_nearbyint): Use more readable constant for two52.
15249 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15250 (__mpn_construct_long_double): Fix test for overflow of high
15251 mantissa and correct normalisation. Avoid undefined shift.
15253 2013-10-04 Alan Modra <amodra@gmail.com>
15255 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15256 (union ibm_extended_long_double): Define as an array of ieee754_double.
15257 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15258 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15259 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15260 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15263 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15264 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15265 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15266 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15267 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15269 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15271 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15272 page size instead of calling getpagesize.
15274 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15275 (LOCFILE_ALIGN_MASK): Likewise.
15276 (LOCFILE_ALIGN_UP): Likewise.
15277 (LOCFILE_ALIGNED_P): Likewise.
15278 * locale/programs/ld-collate.c (collate_output): Use the new
15279 macros instead of __alignof__ (int32_t).
15280 * locale/weight.h (findidx): Likewise.
15282 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15285 * manual/string.texi: Fix strncat and wcsncat.
15287 2013-10-03 Brooks Moses <bmoses@google.com>
15290 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15291 * Makerules: ...here, and adjust associated comments.
15293 2013-10-02 Will Newton <will.newton@linaro.org>
15295 * malloc/Makefile: Add tst-pvalloc.
15296 * malloc/tst-pvalloc.c: New file.
15298 2013-10-02 Will Newton <will.newton@linaro.org>
15300 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15301 improve test coverage.
15303 2013-10-02 Will Newton <will.newton@linaro.org>
15305 * malloc/Makefile: Add tst-posix_memalign.
15306 * malloc/tst-posix_memalign.c: New file.
15308 2013-10-01 Eric Blake <eblake@redhat.com>
15310 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15311 Use __THROWNL rather than __THROW on static functions.
15313 2013-09-30 Petr Machata <pmachata@redhat.com>
15315 * elf/elf.h (R_AARCH64_ABS16): New macro.
15316 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15317 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15318 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15319 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15320 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15321 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15322 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15323 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15324 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15325 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15326 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15327 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15328 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15329 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15330 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15331 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15332 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15333 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15334 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15335 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15336 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15337 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15338 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15339 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15340 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15341 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15342 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15343 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15344 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15345 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15346 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15347 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15348 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15349 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15350 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15351 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15352 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15353 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15354 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15355 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15356 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15357 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15358 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15359 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15360 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15361 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15362 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15363 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15364 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15365 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15366 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15367 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15368 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15369 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15370 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15371 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15372 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15373 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15374 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15375 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15376 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15377 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15378 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15379 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15380 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15381 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15382 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15383 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15384 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15385 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15386 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15387 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15388 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15389 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15390 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15391 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15392 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15393 (R_AARCH64_TLSDESC_LDR): Likewise.
15394 (R_AARCH64_TLSDESC_ADD): Likewise.
15395 (R_AARCH64_TLSDESC_CALL): Likewise.
15397 2013-09-30 Andreas Schwab <schwab@suse.de>
15400 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15401 the nss database lookup.
15402 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15405 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15407 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15409 2013-09-28 P. J. McDermott <pj@pehjota.net>
15411 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15412 ${Bash-specific parameter/pattern/string} parameter expansion.
15413 * sysdeps/unix/make-syscalls.sh: Likewise.
15415 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15417 * sysdeps/sh/stackguard-macros.h: New file.
15419 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15423 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15424 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15425 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15426 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15428 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15430 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15431 Fix thread ID register.
15433 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15435 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15436 [POSIX || UNIX98]: Require rather than permitting all symbols from
15438 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15439 element of struct sched_param.
15440 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15441 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15442 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15443 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15446 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15448 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15449 argument calculation.
15451 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15453 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15455 [POSIX] (pthread_attr_t): Do not require type.
15456 [POSIX] (pthread_cond_t): Likewise.
15457 [POSIX] (pthread_condattr_t): Likewise.
15458 [POSIX] (pthread_key_t): Likewise.
15459 [POSIX] (pthread_mutex_t): Likewise.
15460 [POSIX] (pthread_mutexattr_t): Likewise.
15461 [POSIX] (pthread_once_t): Likewise.
15462 [POSIX] (pthread_t): Likewise.
15463 [POSIX-based standards] (pthread_atfork): Expect function.
15465 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15466 Richard Sandiford <richard@codesourcery.com>
15468 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15469 (swap_endianness_p): New extern variable.
15470 (set_big_endian): New inline function.
15471 (maybe_swap_uint32): Likewise.
15472 (maybe_swap_uint32_array): Likewise.
15473 (maybe_swap_uint32_obstack): Likewise.
15474 * locale/programs/locfile.c: Include <stdbool.h>.
15475 (swap_endianness_p): New variable.
15476 (add_locale_uint32): Call maybe_swap_uint32.
15477 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15478 (write_locale_data): Call maybe_swap_uint32_array.
15479 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15481 (obstack_int32_grow_fast): Likewise.
15482 (output_weightwc): Call maybe_swap_uint32_obstack.
15483 (collate_output): Likewise.
15484 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15485 (OPT_LITTLE_ENDIAN): Likewise.
15486 (options): Add --little-endian and --big-endian options.
15487 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15488 * locale/programs/locarchive.c: Include "locfile.h".
15492 (create_archive): Use the new macros to access fields of
15493 structures directly mapped from or written to locale archives.
15494 (oldlocrecentcmp): Likewise.
15495 (enlarge_archive): Likewise.
15496 (insert_name): Likewise.
15497 (add_alias): Likewise.
15498 (add_locale): Likewise.
15499 (delete_locales_from_archive): Likewise.
15500 (show_archive_content): Likewise.
15501 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15504 2013-09-24 Roland McGrath <roland@hack.frob.com>
15506 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15507 http://www.gnu.org/doc/freemanuals.texi.
15508 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15510 2013-09-24 Will Newton <will.newton@linaro.org>
15512 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15515 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15517 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15520 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15522 * manual/threads.texi (POSIX Threads): Fix a typo.
15524 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15527 * string/tst-strcoll-overflow.c: New test case.
15528 * string/Makefile (xtests): Add tst-strcoll-overflow.
15529 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15530 cache if string sizes may cause integer overflow.
15533 * string/strcoll_l.c (coll_seq): New members rule, idx,
15534 save_idx and back_us.
15535 (get_next_seq_nocache): New function.
15536 (do_compare_nocache): New function.
15537 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15540 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15543 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15544 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15545 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15548 * elf/Makefile (tests): Add tst-ptrguard1.
15549 (tests-static): Add tst-ptrguard1-static.
15550 (tst-ptrguard1-ARGS): Define.
15551 (tst-ptrguard1-static-ARGS): Define.
15552 * elf/tst-ptrguard1.c: New file.
15553 * elf/tst-ptrguard1-static.c: New file.
15554 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15555 * sysdeps/i386/stackguard-macros.h: Likewise.
15556 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15557 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15558 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15559 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15560 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15561 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15563 2013-09-23 Hector Marco <hecmargi@upv.es>
15564 Ismael Ripoll <iripoll@disca.upv.es>
15565 Carlos O'Donell <carlos@redhat.com>
15568 * sysdeps/generic/stackguard-macros.h: Define
15569 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15570 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15571 Define __pointer_chk_guard_local.
15572 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15573 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15575 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15578 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15580 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15582 * include/string.h (__ffs): Declare as hidden.
15583 * string/ffs.c (__ffs): Define as hidden.
15584 * sysdeps/i386/ffs.c (__ffs): Likewise.
15585 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15586 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15587 * sysdeps/s390/ffs.c (__ffs): Likewise.
15588 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15590 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15592 * NEWS: Mention malloc probes.
15594 * malloc/arena.c (new_heap): New memory_heap_new probe.
15595 (grow_heap): New memory_heap_more probe.
15596 (shrink_heap): New memory_heap_less probe.
15597 (heap_trim): New memory_heap_free probe.
15598 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15599 (systrim): New memory_sbrk_less probe.
15600 * manual/probes.texi: Document them.
15602 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15603 * manual/probes.texi: Document it.
15605 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15606 (__libc_realloc): Add memory_realloc_retry probe.
15607 (__libc_memalign): Add memory_memalign_retry probe.
15608 (__libc_valloc): Add memory_valloc_retry probe.
15609 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15610 (__libc_calloc): Add memory_calloc_retry probe.
15611 * manual/probes.texi: Document them.
15613 * malloc/arena.c (get_free_list): Add probe
15614 memory_arena_reuse_free_list.
15615 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15616 and memory_arena_reuse.
15617 (arena_get2) [!PER_THREAD]: Likewise.
15618 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15619 memory_arena_reuse_realloc.
15620 * manual/probes.texi: Document them.
15622 * malloc/malloc.c (__libc_free): Add
15623 memory_mallopt_free_dyn_thresholds probe.
15624 (__libc_mallopt): Add multiple memory_mallopt probes.
15625 * manual/probes.texi: Document them.
15627 * malloc/malloc.c: Include stap-probe.h.
15628 (__libc_mallopt): Add memory_mallopt probe.
15629 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15630 * manual/probes.texi: New.
15631 * manual/Makefile (chapters): Add probes.
15632 * manual/threads.texi: Set next node.
15634 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15636 [BZ #15963, #13985]
15637 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15638 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15639 Add `Chinese' to `nan' entry name.
15641 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15643 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15644 (POLYNOMIAL): Likewise.
15645 (TAYLOR_SINCOS): Likewise.
15646 (TAYLOR_SLOW): Likewise.
15647 (__sin): Use TAYLOR_SINCOS.
15649 (slow): Use TAYLOR_SLOW.
15651 (bsloww): Likewise.
15652 (csloww): Likewise.
15654 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15656 * stdlib/strtod_l.c: Fix buffer overrun.
15658 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15660 * benchtests/Makefile (bench): Add sincos.
15661 * benchtests/bench-sincos.c: New file.
15663 * math/libm-test.inc (cos_test_data): New test inputs.
15664 (sin_test_data): Likewise.
15666 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15672 (sloww1): Likewise.
15673 (sloww2): Likewise.
15674 (bsloww1): Likewise.
15675 (bsloww2): Likewise.
15676 (cslow2): Likewise.
15677 (csloww1): Likewise.
15678 (csloww2): Likewise.
15680 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15685 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15689 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15691 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15692 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15693 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15694 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15695 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15696 * elf/cache.c (print_entry): Handle the new cache flags.
15698 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15699 Aldy Hernandez <aldyh@redhat.com>
15701 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15702 Change condition to [_SOFT_FLOAT].
15703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15715 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15718 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15721 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15723 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15724 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15725 (__longjmp): Use LOAD_GP to load saved GPRs.
15726 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15727 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15728 (__sigsetjmp): Use SAVE_GP to save GPRs.
15730 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15731 Do not append -msoft-float.
15732 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15734 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15736 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15738 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15741 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15742 (_FPU_GETCW): Use initial "__" on variable and field names but not
15743 on macro parameter name.
15744 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15745 parentheses around reference to macro parameter.
15747 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15749 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15751 (ctype_startup): Use uint32_t in cast and sizeof for
15754 2013-09-11 Jia Liu <proljc@gmail.com>
15756 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15758 [__FreeBSD__]: Likewise.
15760 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15763 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15764 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15765 (strchr): Remove __strchr_sse42 ifunc selection.
15766 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15767 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15769 2013-09-11 Will Newton <will.newton@linaro.org>
15771 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15772 parameter to RES. Remove hardcoded 1000 value.
15773 * benchtests/bench-skeleton.c (main): Pass RES parameter
15774 to TIMING_INIT and multiply result by 1000.
15776 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15780 2013-09-11 Andreas Schwab <schwab@suse.de>
15782 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15784 (O_TMPFILE) [__USE_GNU]: Define.
15785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15788 2013-09-11 Will Newton <will.newton@linaro.org>
15791 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15794 2013-09-11 Will Newton <will.newton@linaro.org>
15797 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15800 2013-09-11 Will Newton <will.newton@linaro.org>
15803 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15806 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15808 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15809 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15810 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15811 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15812 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15814 2013-09-10 Allan McRae <allan@archlinux.org>
15817 * manual/arith.texi (Parsing of Floats): Clarify
15821 * manual/install.texi (Running make install): Mention
15823 * INSTALL: Regenerated.
15825 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15827 * csu/init-first.c (_init): Remove the !SHARED condition around
15828 FPU control word initialization.
15829 * elf/dl-support.c (_dl_fpu_control): New variable.
15830 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15831 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15832 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15833 * math/test-fpucw-static.c: New file.
15834 * math/test-fpucw-ieee.c: New file.
15835 * math/test-fpucw-ieee-static.c: New file.
15836 * math/Makefile (tests): Add `test-fpucw-ieee' and
15838 (tests-static): New variable.
15839 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15841 [($(build-shared),yes)]
15842 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15844 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15847 2013-09-09 Allan McRae <allan@archlinux.org>
15850 * manual/string.texi (Collation Functions): Fix typo in
15852 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15855 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15858 * libio/memstream.c (open_memstream): Fix memory leak.
15859 * libio/wmemstream.c (open_wmemstream): Likewise.
15862 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15864 2013-09-09 Will Newton <will.newton@linaro.org>
15866 * malloc/Makefile: Add tst-realloc to tests.
15867 * malloc/tst-realloc.c: New file.
15869 2013-09-09 Allan McRae <allan@archlinux.org>
15872 * COPYING: Update from GNU website to fix FSF address.
15873 * COPYING.LIB: Likewise.
15875 2013-09-06 David S. Miller <davem@davemloft.net>
15877 * po/zh_TW.po: Update Chinese (traditional) translation from
15878 translation project.
15880 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15881 Joseph Myers <joseph@codesourcery.com>
15883 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15885 (obstack_chunk_alloc): New macro.
15886 (obstack_chunk_free): Likewise.
15887 (record_offset): New function.
15888 (init_locale_data): Likewise.
15889 (align_locale_data): Likewise.
15890 (add_locale_empty): Likewise.
15891 (add_locale_raw_data): Likewise.
15892 (add_locale_raw_obstack): Likewise.
15893 (add_locale_string): Likewise.
15894 (add_locale_wstring): Likewise.
15895 (add_locale_uint32): Likewise.
15896 (add_locale_uint32_array): Likewise.
15897 (add_locale_char): Likewise.
15898 (start_locale_structure): Likewise.
15899 (end_locale_structure): Likewise.
15900 (start_locale_prelude): Likewise.
15901 (end_locale_prelude): Likewise.
15902 (write_locale_data): Take locale_file structure rather than an
15904 * locale/programs/locfile.h: Include "obstack.h".
15905 (struct locale_file): Change to store locale file contents instead
15907 (init_locale_data): New prototype.
15908 (align_locale_data): Likewise.
15909 (add_locale_empty): Likewise.
15910 (add_locale_raw_data): Likewise.
15911 (add_locale_raw_obstack): Likewise.
15912 (add_locale_string): Likewise.
15913 (add_locale_wstring): Likewise.
15914 (add_locale_uint32): Likewise.
15915 (add_locale_uint32_array): Likewise.
15916 (add_locale_char): Likewise.
15917 (start_locale_structure): Likewise.
15918 (end_locale_structure): Likewise.
15919 (start_locale_prelude): Likewise.
15920 (end_locale_prelude): Likewise.
15921 (write_locale_data): Update prototype.
15922 * locale/programs/3level.h (struct TABLE): Remove result field.
15923 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15924 Use new locale_file interface.
15925 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15926 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15927 * locale/programs/ld-address.c (address_output): Use new
15928 locale_file interface.
15929 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15931 (collate_finish): Don't call collseq_table_finalize.
15932 (collate_output): Use new locale_file interface.
15933 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15935 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15936 (TABLE): Move defines earlier in file.
15937 (ELEMENT): Likewise.
15938 (DEFAULT): Likewise.
15939 (wctrans_table_add): Move macro and inline function earlier in
15941 (struct wctype_table): Move type earlier in file.
15942 (add_locale_wctype_table): New static prototype.
15943 (struct locale_ctype_t): Use logical types instead of struct iovec
15944 pointers for members.
15945 (ctype_output): Use new locale_file interface.
15946 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15947 new locale_file interface.
15948 (allocate_arrays): Update for use of new locale_file interface.
15949 * locale/programs/ld-identification.c (identification_output): Use
15950 new locale_file interface.
15951 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15952 * locale/programs/ld-messages.c (messages_output): Likewise.
15953 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15954 * locale/programs/ld-name.c (name_output): Likewise.
15955 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15956 * locale/programs/ld-paper.c (paper_output): Likewise.
15957 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15958 * locale/programs/ld-time.c (time_output): Likewise.
15960 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15962 * benchtests/Makefile: Add memrchr benchmark.
15963 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15964 benchmark as memrchr.
15965 * benchtests/bench-memrchr-ifunc.c: New file.
15966 * benchtests/bench-memrchr.c: New file.
15968 2013-09-06 Will Newton <will.newton@linaro.org>
15970 * benchtests/Makefile (string-bench): Add memcpy.
15972 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15973 Cong Wang <amwang@redhat.com>
15976 * sysdeps/unix/sysv/linux/bits/in.h
15977 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15978 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15979 before __USE_KERNEL_IPV6_DEFS uses.
15980 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15982 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15983 sockaddr_in6, or ipv6_mreq.
15985 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15987 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15988 memory access for final bytes in some large inputs.
15989 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15991 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15993 * string/test-memrchr.c: New file.
15994 * string/test-memrchr-ifunc.c: New file.
15995 * string/Makefile: Add new memrchr testcase.
15997 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15999 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16000 fanotify_init returns EPERM.
16002 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16004 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16006 (top level): Treat second token from macro or constant entries for
16007 allowed headers as allowed.
16008 * include/complex.h: Condition internal declarations on
16010 * include/fenv.h: Condition include of <stdbool.h> and internal
16011 declarations on [!_ISOMAC].
16013 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16016 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16018 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16020 * configure.in (--enable-versioning): Remove configure option.
16021 (libc_cv_asm_symver_directive): Remove configure test.
16022 (libc_cv_ld_version_script_option): Likewise.
16023 (VERSIONING): Remove variable and AC_SUBST.
16024 (DO_VERSIONING): Remove AC_DEFINE.
16025 * configure: Regenerated.
16026 * config.h.in (DO_VERSIONING): Remove macro.
16027 * Makerules [$(versioning) = yes]: Change conditionals to
16028 [$(build-shared) = yes].
16029 * config.make.in (versioning): Remove variable.
16030 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16031 [$(build-shared) = yes].
16032 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16033 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16034 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16035 [$(build-shared) = yes].
16036 * extra-lib.mk [$(versioning) = yes]: Likewise.
16037 * hurd/Makefile [$(versioning) = yes]: Likewise.
16038 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16040 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16042 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16043 [SHARED && !NO_HIDDEN].
16044 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16046 [SHARED && DO_VERSIONING]: Likewise..
16047 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16048 [$(build-shared) = yes].
16049 * manual/install.texi (--disable-versioning): Remove
16051 * INSTALL: Regenerated.
16052 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16054 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16055 [$(build-shared) = yes].
16056 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16057 * sysdeps/i386/i686/multiarch/strstr-c.c
16058 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16059 [SHARED && !NO_HIDDEN].
16060 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16061 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16062 * sysdeps/powerpc/powerpc32/dl-machine.c
16063 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16064 * sysdeps/powerpc/powerpc32/sysdep.h
16065 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16066 to [SHARED && PIC && !NO_HIDDEN].
16067 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16068 conditional to [SHARED].
16070 2013-09-04 Will Newton <will.newton@linaro.org>
16072 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16073 * benchtests/bench-string.h: Include bench-timing.h instead
16074 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16075 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16076 call to HP_TIMING_DIFF_INIT.
16077 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16078 instead of hp-timing.h macros.
16079 * benchtests/bench-memchr.c: Likewise.
16080 * benchtests/bench-memcmp.c: Likewise.
16081 * benchtests/bench-memcpy.c: Likewise.
16082 * benchtests/bench-memmem.c: Likewise.
16083 * benchtests/bench-memmove.c: Likewise.
16084 * benchtests/bench-memset.c: Likewise.
16085 * benchtests/bench-rawmemchr.c: Likewise.
16086 * benchtests/bench-strcasecmp.c: Likewise.
16087 * benchtests/bench-strcasestr.c: Likewise.
16088 * benchtests/bench-strcat.c: Likewise.
16089 * benchtests/bench-strchr.c: Likewise.
16090 * benchtests/bench-strcmp.c: Likewise.
16091 * benchtests/bench-strcpy.c: Likewise.
16092 * benchtests/bench-strcpy_chk.c: Likewise.
16093 * benchtests/bench-strlen.c: Likewise.
16094 * benchtests/bench-strncasecmp.c: Likewise.
16095 * benchtests/bench-strncat.c: Likewise.
16096 * benchtests/bench-strncmp.c: Likewise.
16097 * benchtests/bench-strncpy.c: Likewise.
16098 * benchtests/bench-strnlen.c: Likewise.
16099 * benchtests/bench-strpbrk.c: Likewise.
16100 * benchtests/bench-strrchr.c: Likewise.
16101 * benchtests/bench-strspn.c: Likewise.
16102 * benchtests/bench-strstr.c: Likewise.
16104 2013-09-04 Will Newton <will.newton@linaro.org>
16106 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16108 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16111 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16112 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16113 * math/libm-test.inc (lgamma_test_data): Add more tests.
16114 * sysdeps/i386/fpu/libm-test-ulps: Update.
16115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16117 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16119 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16123 Add strcmp-sse2-unaligned
16124 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16126 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16128 * Versions.def (libc): Add GLIBC_2.19.
16130 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16132 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16133 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16135 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16138 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16139 intermediate calculations in recurrence.
16140 (__ieee754_ynf): Likewise.
16141 * math/libm-test.inc (jn_test_data): Do not allow spurious
16142 underflow exception. Add more tests.
16143 (yn_test_data): Add more tests.
16144 * sysdeps/i386/fpu/libm-test-ulps: Update.
16145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16147 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16149 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16151 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16153 * csu/init-first.c: Fix then/than typos.
16154 * locale/programs/ld-collate.c: Likewise.
16155 * locale/programs/linereader.h: Likewise.
16156 * manual/charset.texi: Likewise.
16157 * manual/filesys.texi: Likewise.
16158 * manual/stdio.texi: Likewise.
16159 * manual/string.texi: Likewise.
16160 * stdlib/fmtmsg.c: Likewise.
16161 * sysdeps/i386/stpncpy.S: Likewise.
16162 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16163 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16164 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16165 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16167 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16169 * elf/dl-open.c: Fix typos.
16170 * iconvdata/gbbig5.c: Likewise.
16171 * iconvdata/iso-2022-jp.c: Likewise.
16172 * iconv/gconv_int.h: Likewise.
16173 * iconv/loop.c: Likewise.
16174 * nis/rpcsvc/nis.h: Likewise.
16175 * resolv/ns_name.c: Likewise.
16176 * stdio-common/vfscanf.c: Likewise.
16177 * streams/stropts.h: Likewise.
16178 * sunrpc/rpc_thread.c: Likewise.
16179 * sysdeps/i386/strpbrk.S: Likewise.
16180 * sysdeps/ieee754/k_standard.c: Likewise.
16181 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16183 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16184 * sysdeps/mach/hurd/profil.c: Likewise.
16185 * sysdeps/s390/dl-procinfo.h: Likewise.
16186 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16187 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16189 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16190 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16192 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16194 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16195 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16197 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16199 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16200 aix specific files.
16201 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16202 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16203 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16204 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16205 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16206 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16207 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16208 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16210 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16211 Roland McGrath <roland@hack.frob.com>
16213 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16214 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16216 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16218 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16219 __executable_start symbol instead of _start.
16221 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16223 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16224 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16226 * sysdeps/gnu/ldsodefs.h: ... this new file.
16228 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16229 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16230 instead of ELFOSABI_LINUX.
16232 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16233 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16234 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16235 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16237 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16238 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16239 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16241 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16242 (ibm_extended_long_double): Add ieee_nan member.
16243 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16244 (do_test): New function.
16246 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16248 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16249 functions, renamed from truncdfsf_test, trunctfsf_test,
16251 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16253 (do_test): Run all these.
16255 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16257 * argp/argp-help.c: Fix typos.
16258 * argp/argp-parse.c: Likewise.
16259 * debug/backtracesyms.c: Likewise.
16260 * elf/elf.h: Likewise.
16261 * malloc/malloc.c: Likewise.
16262 * nis/nis_print.c: Likewise.
16263 * resolv/res_comp.c: Likewise.
16264 * stdlib/stdlib.h: Likewise.
16265 * sunrpc/clnt_tcp.c: Likewise.
16266 * sunrpc/clnt_udp.c: Likewise.
16267 * sunrpc/clnt_unix.c: Likewise.
16268 * sysdeps/unix/bsd/ptsname.c: Likewise.
16269 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16270 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16277 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16279 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16281 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16284 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16287 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16288 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16289 ($(objpfx)bug-dl-leaf): New rule.
16290 ($(objpfx)bug-dl-leaf.so): Likewise.
16291 ($(objpfx)bug-dl-leaf.out): Likewise.
16292 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16293 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16294 * dlfcn/bug-dl-leaf.c: New test.
16295 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16296 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16297 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16298 (dlclose): Likewise.
16299 (dlmopen): Likewise.
16301 2013-08-27 Roland McGrath <roland@hack.frob.com>
16303 * include/netdb.h [!_ISOMAC]:
16304 Don't include <tls.h>.
16305 (h_errno, __libc_h_errno): Move declaration and macros out of
16308 * include/resolv.h [_RESOLV_H_]:
16309 Don't include <tls.h>.
16310 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16311 * resolv/res_libc.c: Don't include <tls.h>.
16312 (_res): Use __attribute__ ((nocommon)) in place of
16313 __attribute__ ((section (".bss"))).
16315 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16316 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16318 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16320 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16321 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16323 * resolv/res_mkquery.c: Include <sys/time.h>.
16325 * inet/ifreq.c: Moved to ...
16326 * sysdeps/unix/ifreq.c: ... here.
16327 * inet/ifreq.c: New file, true stub version.
16329 * socket/sa_len.c: New file.
16330 * socket/Makefile (aux): Add it.
16331 * sysdeps/unix/sysv/linux/Makefile
16332 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16333 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16334 and #include <socket/sa_len.c>.
16335 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16336 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16338 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16339 * bits/socket.h: ... here.
16341 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16342 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16343 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16345 2013-08-27 Andreas Schwab <schwab@suse.de>
16348 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16349 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16350 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16351 * string/test-strcasecmp.c (test_main): Run tests in several
16353 * string/test-strncasecmp.c (test_main): Likewise.
16355 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16356 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16357 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16359 (__strncasecmp_ssse3) [PIC]: Likewise.
16361 2013-08-26 Roland McGrath <roland@hack.frob.com>
16363 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16365 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16366 instead of explicitly declaring xdecrypt.
16367 * nis/nss_nis/nis-publickey.c: Likewise.
16369 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16372 * nscd/aicache.c: Include res_hconf.h.
16373 (addhstaiX): Initialize res_hconf.
16375 2013-08-26 Andreas Schwab <schwab@suse.de>
16377 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16378 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16380 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16382 * nscd/aicache.c (addhstaiX): Fix indentation.
16384 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16386 * configure.ac: Quote $build_pt_chown test.
16387 * configure: Regenerated.
16389 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16392 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16393 * math/s_cexpf.c (__cexpf): Likewise.
16394 * math/s_cexpl.c (__cexpl): Likewise.
16395 * math/libm-test.inc (cexp_test_data): Correct expected return
16396 value for NaN + i0. Add another test.
16398 2013-08-22 David S. Miller <davem@davemloft.net>
16400 * po/ca.po: Update Catalan translation from translation project.
16401 * po/uk.po: Add Ukrainian translations from translation project.
16403 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16406 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16407 is infinite, not alongside NaN test.
16408 * math/s_fdimf.c (__fdimf): Likewise.
16409 * math/s_fdiml.c (__fdiml): Likewise.
16410 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16411 errno is unchanged.
16413 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16415 * argp/argp-help.c: Fix typos.
16416 * crypt/speeds.c: Likewise.
16417 * csu/check_fds.c: Likewise.
16418 * elf/dl-load.c: Likewise.
16419 * elf/dl-open.c: Likewise.
16420 * elf/reldep3.c: Likewise.
16421 * elf/reldep.c: Likewise.
16422 * elf/sprof.c: Likewise.
16423 * iconv/iconv_charmap.c: Likewise.
16424 * iconv/skeleton.c: Likewise.
16425 * iconv/strtab.c: Likewise.
16426 * io/lockf64.c: Likewise.
16427 * libio/libioP.h: Likewise.
16428 * resolv/gai_notify.c: Likewise.
16429 * resolv/ns_name.c: Likewise.
16430 * resolv/ns_samedomain.c: Likewise.
16431 * resolv/res_send.c: Likewise.
16432 * stdlib/random.c: Likewise.
16433 * sunrpc/rpc/xdr.h: Likewise.
16434 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16435 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16436 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16437 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16438 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16439 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16440 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16441 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16442 * sysdeps/mach/hurd/check_fds.c: Likewise.
16443 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16444 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16445 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16446 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16447 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16448 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16449 * sysdeps/pthread/aio_notify.c: Likewise.
16450 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16451 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16452 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16453 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16454 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16456 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16458 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16459 version if bit_Slow_SSE4_2 is set.
16460 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16461 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16463 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16466 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16467 trampoline stack frame information.
16468 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16469 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16470 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16471 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16472 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16473 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16474 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16475 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16477 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16478 interrupting a syscall and set with option SA_SIGINFO.
16480 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16483 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16484 argument is infinite.
16485 * math/s_cprojf.c (__cprojf): Likewise.
16486 * math/s_cprojl.c (__cprojl): Likewise.
16487 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16488 * math/libm-test.inc (cproj_test_data): Add more tests.
16490 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16492 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16493 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16494 size. Use __ffs to determine corresponding shift.
16496 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16497 Roland McGrath <roland@hack.frob.com>
16499 * Makefile (INSTALL): Remove trailing blank lines from output of
16502 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16504 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16505 Align 32 bit compat elf_greg to 8 bytes.
16507 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16509 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16511 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16513 * string/strcoll_l.c (coll_seq): New structure.
16514 (get_next_seq_cached): New function.
16515 (get_next_seq): New function.
16516 (do_compare): New function.
16517 (STRCOLL): Use GNU style definition. Simplify implementation
16518 by using get_next_seq, get_next_seq_cached and do_compare.
16520 2013-08-16 Florian Weimer <fweimer@redhat.com>
16524 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16526 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16528 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16529 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16530 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16532 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16533 GETDENTS_64BIT_ALIGNED.
16534 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16535 * manual/filesys.texi (Reading/Closing Directory): Document
16536 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16538 * manual/conf.texi (Limits for Files): Add portability note to
16539 NAME_MAX, PATH_MAX.
16540 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16542 2013-08-13 Andreas Schwab <schwab@suse.de>
16545 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16547 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16548 LDBL_MAX_EXP >= 16384]: Add tests for it.
16550 2013-08-12 David S. Miller <davem@davemloft.net>
16552 * version.h (RELEASE): Set to "development".
16553 (VERSION): Set to "2.18.90".
16554 * NEWS: Add 2.19 section.
16556 2013-08-03 David S. Miller <davem@davemloft.net>
16558 * po/ko.po: Update Korean translation from translation project.
16560 2013-08-01 David S. Miller <davem@davemloft.net>
16562 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16563 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16566 2013-07-30 David S. Miller <davem@davemloft.net>
16568 * po/fr.po: Update French translation from translation project.
16570 2013-07-28 David S. Miller <davem@davemloft.net>
16572 * po/cs.po: Update Czech translation from translation project.
16574 * po/sv.po: Update Swedish translation from translation project.
16576 2013-07-27 David S. Miller <davem@davemloft.net>
16578 * po/eo.po: Update Esperanto translation from translation project.
16580 * po/vi.po: Update Vietnamese translation from translation project.
16582 * po/de.po: Update German translation from translation project.
16584 2013-07-26 David S. Miller <davem@davemloft.net>
16586 * po/bg.po: Update Bulgarian translation from translation project.
16588 * po/nl.po: Update Dutch translation from translation project.
16589 * po/pl.po: Update Polish translation from translation project.
16590 * po/ru.po: Update Russian translation from translation project.
16592 2013-07-24 David S. Miller <davem@davemloft.net>
16594 * po/libc.pot: Update.
16596 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16598 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16599 variable page size.
16600 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16601 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16602 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16604 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16606 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16608 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16609 Andreas Schwab <schwab@suse.de>
16610 Roland McGrath <roland@hack.frob.com>
16611 Joseph Myers <joseph@codesourcery.com>
16612 Carlos O'Donell <carlos@redhat.com>
16615 * config.h.in: Define HAVE_PT_CHOWN.
16616 * config.make.in (build-pt-chown): New variable.
16617 * configure.in (--enable-pt_chown): New configure option.
16618 * configure: Regenerate.
16619 * login/Makefile: Include Makeconfig. Build pt_chown only if
16620 build-pt-chown is enabled.
16621 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16622 pt_chown to fix pty ownership.
16623 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16625 * manual/install.texi (Configuring and compiling): Mention
16626 --enable-pt_chown. Add @findex for grantpt.
16627 * INSTALL: Regenerate.
16629 2013-07-20 David S. Miller <davem@davemloft.net>
16631 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16632 difference between 32-bit and 64-bit.
16634 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16637 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16638 Avoid system header dependency with -ffreestanding.
16639 ($(objpfx)bits/syscall%d): Likewise.
16641 2013-07-13 David S. Miller <davem@davemloft.net>
16643 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16644 underflows from atanl/atan2l due to bug 15319.
16645 (casinh_test_data): Likewise.
16647 2013-07-07 David S. Miller <davem@davemloft.net>
16649 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16651 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16653 * sysdeps/i386/fpu/libm-test-ulps: Update.
16654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16656 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16658 * configure.in (--enable-lock-elision): Fix message text.
16659 * INSTALL: Regenerate.
16660 * configure: Regenerate.
16662 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16666 2013-07-03 Andreas Jaeger <aj@suse.de>
16668 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16670 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16671 (ptrace_peeksiginfo_args): Add.
16672 (__ptrace_peeksiginfo_flags): Add.
16673 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16675 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16677 2013-07-03 Allan McRae <allan@archlinux.org>
16679 * sysdeps/i386/fpu/libm-test-ulps: Update.
16681 2013-07-02 David S. Miller <davem@davemloft.net>
16683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16685 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16689 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16691 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16694 2013-07-02 Andi Kleen <ak@linux.intel.com>
16696 * config.h.in (ENABLE_LOCK_ELISION): Add.
16697 * configure.in (--enable-lock-elision): Add option.
16698 * manual/install.texi: Document --enable lock elision.
16699 * configure: Regenerate
16700 * INSTALL: Regenerate.
16702 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16704 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16705 SSE4.2 strcasecmp for libc.a.
16706 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16708 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16711 * soft-fp/op-common.h (_FP_FMA): New macro.
16712 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16713 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16714 (_FP_MUL_MEAT_1_imm): ... here.
16715 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16716 (_FP_MUL_MEAT_1_wide): ... here.
16717 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16718 (_FP_MUL_MEAT_1_hard): ... here.
16719 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16720 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16721 (_FP_MUL_MEAT_2_wide): ... here.
16722 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16723 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16724 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16725 (_FP_MUL_MEAT_2_gmp): ... here.
16726 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16727 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16728 (_FP_MUL_MEAT_4_wide): ... here.
16729 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16730 (_FP_MUL_MEAT_4_gmp): ... here.
16731 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16732 (_FP_WFRACBITS_DW_S): Likewise.
16733 (_FP_WFRACXBITS_DW_S): Likewise.
16734 (_FP_HIGHBIT_DW_S): Likewise.
16735 (FP_FMA_S): Likewise.
16736 (_FP_FRAC_HIGH_DW_S): Likewise.
16737 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16738 (_FP_WFRACBITS_DW_D): Likewise.
16739 (_FP_WFRACXBITS_DW_D): Likewise.
16740 (_FP_HIGHBIT_DW_D): Likewise.
16741 (FP_FMA_D): Likewise.
16742 (_FP_FRAC_HIGH_DW_D): Likewise.
16743 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16744 (_FP_WFRACBITS_DW_E): Likewise.
16745 (_FP_WFRACXBITS_DW_E): Likewise.
16746 (_FP_HIGHBIT_DW_E): Likewise.
16747 (FP_FMA_E): Likewise.
16748 (_FP_FRAC_HIGH_DW_E): Likewise.
16749 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16750 (_FP_WFRACBITS_DW_Q): Likewise.
16751 (_FP_WFRACXBITS_DW_Q): Likewise.
16752 (_FP_HIGHBIT_DW_Q): Likewise.
16753 (FP_FMA_Q): Likewise.
16754 (_FP_FRAC_HIGH_DW_Q): Likewise.
16755 * soft-fp/fmasf4.c: New file.
16756 * soft-fp/fmadf4.c: Likewise.
16757 * soft-fp/fmatf4.c: Likewise.
16759 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16762 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16764 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16766 (index_Slow_SSE4_2): Likewise.
16767 (index_Prefer_PMINUB_for_stringop): Likewise.
16768 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16769 bit_Slow_SSE4_2 is set.
16770 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16771 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16773 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16775 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16776 rtld_global._dl_hwcap2.
16777 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16779 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16780 POWER8 feature descriptions defined in _dl_hwcap2.
16781 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16782 string handling for POWER8 feature bits.
16783 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16784 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16785 _dl_powerpc_cap_flags.
16786 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16787 * sysdeps/powerpc/rtld-global-offsets.sym
16788 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16789 _dl_hwcap2 in the rtld_global_ro structure.
16791 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16793 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16794 hardware capabilities in support of AT_HWCAP2.
16795 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16796 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16798 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16799 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16800 explicitly the unknown a_type display mechanism is used.
16801 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16802 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16804 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16805 to macro prototype for AT_HWCAP2 support.
16806 * sysdeps/i386/dl-procinfo.h: Likewise.
16807 * sysdeps/s390/dl-procinfo.h: Likewise.
16808 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16809 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16810 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16811 return -1 for unknown a_type display fallback.
16812 * sysdeps/sparc/dl-procinfo.h: Likewise.
16813 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16814 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16816 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16818 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16819 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16821 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16824 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16825 mprotect making __stack_prot writable.
16827 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16828 Joseph Myers <joseph@codesourcery.com>
16830 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16831 as being properly aligned.
16833 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16835 * dlfcn/modstatic5.c: New file.
16836 * dlfcn/tststatic5.c: New file.
16837 * dlfcn/Makefile (tests): Add tststatic5.
16838 (tests-static): Likewise.
16839 (modules-names): Add modstatic5.
16840 (tststatic5-ENV): New variable.
16841 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16844 * elf/dl-support.c (_dl_main_map): New variable.
16845 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16846 (_dl_nns, _dl_load_adds): Set to 1.
16847 (_dl_initial_searchlist): Refer to _dl_main_map.
16848 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16849 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16850 call to _dl_get_origin.
16851 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16853 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16854 * dlfcn/modstatic3.c: New file.
16855 * dlfcn/tststatic3.c: New file.
16856 * dlfcn/tststatic4.c: New file.
16857 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16858 (tests-static): Likewise.
16859 (modules-names): Add modstatic3.
16860 (tststatic3-ENV, tststatic4-ENV): New variables.
16861 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16862 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16864 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16866 * configure.in (CC): Require GCC version 4.4 or later.
16867 * configure: Regenerated.
16868 * manual/install.texi (Tools for Compilation): Update GCC version
16870 * INSTALL: Regenerated.
16872 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16875 * string/test-memcmp.c (check2): New.
16876 (main): Call check2.
16878 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16880 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16883 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16885 (dl_open_worker) [!SHARED]: ... here.
16887 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16889 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16891 2013-06-25 Richard Henderson <rth@redhat.com>
16893 * locale/programs/locarchive.c: Include <libc-internal.h>
16895 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16897 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16898 trailing whitespace removed.
16900 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16903 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16904 * locale/programs/locarchive.c: Include libc-mmap.h.
16905 (prepare_address_space): Take two new outputs (the mmap base and len).
16906 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16908 (create_archive): Declare new mmap base and len values for
16909 prepare_address_space, and store the result in ah.
16910 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16911 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16912 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16913 Declare new mmap base and len values for
16914 prepare_address_space, and store the result in new_ah.
16915 (open_archive): Declare new mmap base and len values for
16916 prepare_address_space, and store the result in ah.
16917 (close_archive): If ah->mmap_base is not NULL, use that and
16918 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16919 * sysdeps/generic/libc-mmap.h: New file.
16921 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16923 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16924 (ALIGN_UP): Likewise.
16925 (PTR_ALIGN_DOWN): Likewise.
16926 (PTR_ALIGN_UP): Likewise.
16928 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16930 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16931 entry mapped to PPC_PLATFORM_POWER8.
16932 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16934 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16935 (_dl_string_platform): Add case for exporting platform position for
16937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16938 search path to sysdeps/powerpc/powerpc32/power8 directory.
16939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16940 search path to sysdeps/powerpc/powerpc64/power8 directory.
16941 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16942 power7 directories.
16943 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16944 power7 directories.
16946 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16948 * INSTALL: Regenerate.
16950 * nscd/connections.c (nscd_init): Fix comment.
16952 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16954 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16957 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16958 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16960 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16962 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16964 (DL_DST_REQ_STATIC): Remove macro.
16966 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16969 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16970 with a shift of 0 bits.
16972 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16974 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16977 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16980 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16982 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16984 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16985 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16986 accepts -fno-tree-loop-distribute-patterns.
16987 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16988 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16990 * string/memset.c (memset): Likewise.
16991 * string/test-memmove.c (simple_memmove): Disable loop transformation
16993 * string/test-memset.c (simple_memset): Likewise.
16994 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16995 * benchtests/bench-memset.c (simple_memset): Likewise.
16996 * configure: Regenerated.
16998 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17000 * math/test-misc.c (main): Ignore fesetround failure when failures
17001 of subsequent rounding tests would be ignored.
17004 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17005 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17006 * math/fegetenv.c (__fegetenv): Return 0.
17007 * math/fegetexcept.c (fegetexcept): Return 0.
17008 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17010 * math/feholdexcpt.c (feholdexcept): Return 0.
17011 * math/fesetenv.c (__fesetenv): Return 0.
17012 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17013 argument FE_TONEAREST.
17014 * math/feupdateenv.c (__feupdateenv): Return 0.
17015 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17017 2013-06-18 Roland McGrath <roland@hack.frob.com>
17019 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17020 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17021 ($(objpfx)rtld-%.os rules): Use them.
17023 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17025 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17028 2013-06-17 Roland McGrath <roland@hack.frob.com>
17030 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17031 length of target pattern, then descending length of dependency pattern.
17032 * configure.in (AWK): Require gawk 3.1.2 or newer.
17033 * manual/install.texi (Tools for Compilation): Say that we do.
17034 * configure: Regenerated.
17036 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17037 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17038 * scripts/sysd-rules.awk: ... this new script.
17039 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17040 than a glob-style pattern.
17042 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17044 * math/test-misc.c (main): Do not treat incorrectly rounded
17045 conversions as failure unless ROUNDING_TESTS passes.
17047 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17050 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17051 restore exception state around main square root computation, then
17052 check for inexactness explicitly.
17054 * math/libm-test.inc (fma_test_data): Add another test.
17056 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17058 * manual/threads.texi (Non-POSIX Extensions): New document
17059 node. Document pthread_getattr_default_np and
17060 pthread_setattr_default_np.
17062 * Versions.def (libpthread): Add GLIBC_2.18.
17063 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17072 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17083 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17086 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17088 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17089 H.J. Lu <hjl.tools@gmail.com>
17092 * sysdeps/x86_64/rtld-memset.c: Remove file.
17093 * sysdeps/x86_64/rtld-memset.S: New file.
17095 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17097 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17098 (test_in_one_mode): Take arguments for whether the rounding mode
17099 is supported for each floating-point type.
17100 (do_test): Pass new arguments to test_in_one_mode using
17103 2013-06-13 Roland McGrath <roland@hack.frob.com>
17105 * posix/tst-waitid.c (do_test): Distinguish different instances of
17106 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17107 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17108 before entering the kernel for waitpid.
17110 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17112 * NEWS: Fix note on clock function precision. Text by Roland
17115 2013-06-13 Roland McGrath <roland@hack.frob.com>
17117 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17118 it into place only when and if the sanity check passes.
17120 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17122 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17123 output for whether conversion result is exact. Take argument
17124 indicating whether type is IBM long double.
17125 (round_for_all): Change need_exact field to ibm_ld.
17126 * stdlib/tst-strtod-round.c (struct exactness): New type.
17127 (struct test): Change bool ld_ok field to struct exactness exact.
17128 (TEST): Update all definitions for change to field.
17129 (tests): Regenerate array contents.
17130 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17131 field value. Check for IBM long double here.
17132 (do_test): Update calls to test_in_one_mode.
17134 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17137 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17138 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17140 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17143 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17144 generated by the compiler on loop optimizations.
17145 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17146 general definitions.
17148 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17150 * math/bug-nextafter.c: Include <math-tests.h>.
17151 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17153 * math/bug-nexttoward.c: Include <math-tests.h>.
17154 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17156 * math/test-misc.c: Include <math-tests.h>.
17157 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17160 2013-06-12 Andreas Jaeger <aj@suse.de>
17162 * po/ia.po: Update Interlingua translation from translation
17165 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17167 * include/fenv.h: Include stdbool.h.
17168 (struct rm_ctx): New structure.
17169 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17171 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17172 (SET_RESTORE_ROUNDF): Likewise.
17173 (SET_RESTORE_ROUNDL): Likewise.
17174 (SET_RESTORE_ROUND_NOEX): Likewise.
17175 (SET_RESTORE_ROUND_NOEXF): Likewise.
17176 (SET_RESTORE_ROUND_NOEXL): Likewise.
17177 (SET_RESTORE_ROUND_53BIT): Likewise.
17178 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17179 (libc_feresetround_noexf_ctx): Likewise.
17180 (libc_feresetround_noexl_ctx): Likewise.
17181 (libc_feholdsetround_53bit_ctx): Likewise.
17182 (libc_feresetround_53bit_ctx): Likewise.
17183 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17184 (libc_feholdexcept_setround_sse_ctx): New function.
17185 (libc_fesetenv_sse_ctx): Likewise.
17186 (libc_feupdateenv_sse_ctx): Likewise.
17187 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17188 (libc_feholdexcept_setround_387_ctx): Likewise.
17189 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17190 (libc_feholdsetround_387_prec_ctx): Likewise.
17191 (libc_feholdsetround_387_ctx): Likewise.
17192 (libc_feholdsetround_387_53bit_ctx): Likewise.
17193 (libc_feholdsetround_sse_ctx): Likewise.
17194 (libc_feresetround_sse_ctx): Likewise.
17195 (libc_feresetround_387_ctx): Likewise.
17196 (libc_feupdateenv_387_ctx): Likewise.
17197 (libc_feholdexcept_setroundf_ctx): Define macro.
17198 (libc_fesetenvf_ctx): Likewise.
17199 (libc_feupdateenvf_ctx): Likewise.
17200 (libc_feholdsetroundf_ctx): Likewise.
17201 (libc_feresetroundf_ctx): Likewise.
17202 (libc_feholdexcept_setround_ctx): Likewise.
17203 (libc_fesetenv_ctx): Likewise.
17204 (libc_feupdateenv_ctx): Likewise.
17205 (libc_feholdsetround_ctx): Likewise.
17206 (libc_feresetround_ctx): Likewise.
17207 (libc_feholdexcept_setroundl_ctx): Likewise.
17208 (libc_feupdateenvl_ctx): Likewise.
17209 (libc_feholdsetroundl_ctx): Likewise.
17210 (libc_feresetroundl_ctx): Likewise.
17211 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17212 (libc_feresetround_53bit_ctx): Likewise.
17214 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17216 * locale/iso-639.def: Convert to UTF-8.
17218 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17220 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17221 (EXCEPTION_TESTS_double): Likewise.
17222 (EXCEPTION_TESTS_long_double): Likewise.
17223 (EXCEPTION_TESTS): Likewise.
17224 * math/libm-test.inc (test_exceptions): Only test exceptions if
17225 EXCEPTION_TESTS (FLOAT).
17227 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17229 * benchtests/Makefile (string-bench): Add strcpy_chk and
17231 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17232 * benchtests/bench-stpcpy_chk.c: New file.
17233 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17234 * benchtests/bench-strcpy_chk.c: New file.
17235 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17237 (do_test): Likewise.
17239 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17241 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17242 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17243 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17244 with tabs where appropriate.
17245 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17247 [PPC_PLATFORM_PPC440]: Likewise.
17248 [PPC_PLATFORM_PPC464]: Likewise.
17249 [PPC_PLATFORM_PPC476]: Likewise.
17250 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17251 ppc464, and ppc476 platform strings merging from ports/
17254 2013-06-11 Andreas Schwab <schwab@suse.de>
17257 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17258 (from_ucs4_idx): Regenerate.
17259 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17260 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17261 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17262 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17263 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17264 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17265 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17266 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17267 from FROM_LOOP and TO_LOOP specific macros.
17268 (BODY): Handle combining characters.
17269 * iconvdata/BIG5HKSCS.irreversible: Update.
17270 * iconvdata/BIG5HKSCS.precomposed: New file.
17271 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17273 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17275 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17277 * include/sys/time.h: Fix indentation and add copyright header.
17279 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17280 (do_test): Likewise.
17281 * string/test-memchr.c (do_one_test): Likewise.
17282 (do_test): Likewise.
17283 * string/test-memcmp.c (do_one_test): Likewise.
17284 (do_test): Likewise.
17285 * string/test-memcpy.c (do_one_test): Likewise.
17286 (do_test): Likewise.
17287 * string/test-memmem.c (do_one_test): Likewise.
17288 (do_test): Likewise.
17289 (do_random_tests): Likewise.
17290 * string/test-memmove.c (do_one_test): Likewise.
17291 (do_test): Likewise.
17292 * string/test-memset.c (do_one_test): Likewise.
17293 (do_test): Likewise.
17294 * string/test-rawmemchr.c (do_one_test): Likewise.
17295 (do_test): Likewise.
17296 * string/test-strcasecmp.c (do_one_test): Likewise.
17297 (do_test): Likewise.
17298 * string/test-strcasestr.c (do_one_test): Likewise.
17299 (do_test): Likewise.
17300 * string/test-strcat.c (do_one_test): Likewise.
17301 (do_test): Likewise.
17302 * string/test-strchr.c (do_one_test): Likewise.
17303 (do_test): Likewise.
17304 * string/test-strcmp.c (do_one_test): Likewise.
17305 (do_test): Likewise.
17306 * string/test-strcpy.c (do_one_test): Likewise.
17307 (do_test): Likewise.
17308 * string/test-string.h: Likewise.
17309 (test_init): Likewise.
17310 * string/test-strlen.c (do_one_test): Likewise.
17311 (do_test): Likewise.
17312 * string/test-strncasecmp.c (do_one_test): Likewise.
17313 (do_test): Likewise.
17314 * string/test-strncat.c (do_one_test): Likewise.
17315 (do_test): Likewise.
17316 * string/test-strncmp.c (do_one_test): Likewise.
17317 (do_test_limit): Likewise.
17318 (do_test): Likewise.
17319 * string/test-strncpy.c (do_one_test): Likewise.
17320 (do_test): Likewise.
17321 * string/test-strnlen.c (do_one_test): Likewise.
17322 (do_test): Likewise.
17323 * string/test-strpbrk.c (do_one_test): Likewise.
17324 (do_test): Likewise.
17325 * string/test-strrchr.c (do_one_test): Likewise.
17326 (do_test): Likewise.
17327 * string/test-strspn.c (do_one_test): Likewise.
17328 (do_test): Likewise.
17329 * string/test-strstr.c (do_one_test): Likewise.
17330 (do_test): Likewise.
17332 * benchtests/Makefile (string-bench): Add string benchmarks.
17333 * benchtests/bench-bcopy-ifunc.c: New file.
17334 * benchtests/bench-bcopy.c: New file.
17335 * benchtests/bench-bzero-ifunc.c: New file.
17336 * benchtests/bench-bzero.c: New file.
17337 * benchtests/bench-memccpy-ifunc.c: New file.
17338 * benchtests/bench-memccpy.c: New file.
17339 * benchtests/bench-memchr-ifunc.c: New file.
17340 * benchtests/bench-memchr.c: New file.
17341 * benchtests/bench-memcmp-ifunc.c: New file.
17342 * benchtests/bench-memcmp.c: New file.
17343 * benchtests/bench-memmem-ifunc.c: New file.
17344 * benchtests/bench-memmem.c: New file.
17345 * benchtests/bench-memmove-ifunc.c: New file.
17346 * benchtests/bench-memmove.c: New file.
17347 * benchtests/bench-mempcpy-ifunc.c: New file.
17348 * benchtests/bench-mempcpy.c: New file.
17349 * benchtests/bench-memset-ifunc.c: New file.
17350 * benchtests/bench-memset.c: New file.
17351 * benchtests/bench-rawmemchr-ifunc.c: New file.
17352 * benchtests/bench-rawmemchr.c: New file.
17353 * benchtests/bench-stpcpy-ifunc.c: New file.
17354 * benchtests/bench-stpcpy.c: New file.
17355 * benchtests/bench-stpncpy-ifunc.c: New file.
17356 * benchtests/bench-stpncpy.c: New file.
17357 * benchtests/bench-strcasecmp-ifunc.c: New file.
17358 * benchtests/bench-strcasecmp.c: New file.
17359 * benchtests/bench-strcasestr-ifunc.c: New file.
17360 * benchtests/bench-strcasestr.c: New file.
17361 * benchtests/bench-strcat-ifunc.c: New file.
17362 * benchtests/bench-strcat.c: New file.
17363 * benchtests/bench-strchr-ifunc.c: New file.
17364 * benchtests/bench-strchr.c: New file.
17365 * benchtests/bench-strchrnul-ifunc.c: New file.
17366 * benchtests/bench-strchrnul.c: New file.
17367 * benchtests/bench-strcmp-ifunc.c: New file.
17368 * benchtests/bench-strcmp.c: New file.
17369 * benchtests/bench-strcpy-ifunc.c: New file.
17370 * benchtests/bench-strcpy.c: New file.
17371 * benchtests/bench-strcspn-ifunc.c: New file.
17372 * benchtests/bench-strcspn.c: New file.
17373 * benchtests/bench-strlen-ifunc.c: New file.
17374 * benchtests/bench-strlen.c: New file.
17375 * benchtests/bench-strncasecmp-ifunc.c: New file.
17376 * benchtests/bench-strncasecmp.c: New file.
17377 * benchtests/bench-strncat-ifunc.c: New file.
17378 * benchtests/bench-strncat.c: New file.
17379 * benchtests/bench-strncmp-ifunc.c: New file.
17380 * benchtests/bench-strncmp.c: New file.
17381 * benchtests/bench-strncpy-ifunc.c: New file.
17382 * benchtests/bench-strncpy.c: New file.
17383 * benchtests/bench-strnlen-ifunc.c: New file.
17384 * benchtests/bench-strnlen.c: New file.
17385 * benchtests/bench-strpbrk-ifunc.c: New file.
17386 * benchtests/bench-strpbrk.c: New file.
17387 * benchtests/bench-strrchr-ifunc.c: New file.
17388 * benchtests/bench-strrchr.c: New file.
17389 * benchtests/bench-strspn-ifunc.c: New file.
17390 * benchtests/bench-strspn.c: New file.
17391 * benchtests/bench-strstr-ifunc.c: New file.
17392 * benchtests/bench-strstr.c: New file.
17394 * benchtests/Makefile: Disable parallel execution of targets.
17395 (string-bench): Add memcpy.
17396 (benchset): New variable to store a list of benchmark sets.
17397 (bench-func): Renamed from bench.
17398 (bench-set): New target.
17399 (bench): Depend on bench-func and bench-set.
17400 * benchtests/README: Add section on benchmark sets.
17401 * benchtests/bench-memcpy-ifunc.c: New file.
17402 * benchtests/bench-memcpy.c: New file.
17403 * benchtests/bench-string.h: New file.
17405 2013-06-11 Andreas Schwab <schwab@suse.de>
17408 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17409 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17410 values in the triple.
17411 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17412 terminator in the group key.
17414 2013-06-11 Andreas Jaeger <aj@suse.de>
17416 * po/zh_TW.po: Update Chinese (traditional) translation from
17417 translation project.
17419 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17421 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17422 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17423 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17424 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17425 (clock_getcpuclockid): Likewise.
17426 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17427 Add weak_alias and libc_hidden_def.
17428 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17429 * rt/clock_gettime.c (clock_gettime): Rename to
17430 __clock_gettime. Add weak_alias and libc_hidden_def.
17431 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17432 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17433 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17434 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17435 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17437 * rt/clock_settime.c (clock_settime): Rename to
17438 __clock_settime. Add weak_alias and libc_hidden_def.
17439 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17441 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17443 * mach/err_boot.sub: Remove trailing whitespace.
17444 * mach/err_ipc.sub: Likewise.
17445 * mach/err_mach.sub: Likewise.
17447 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17448 (ROUNDING_TESTS_double): Likewise.
17449 (ROUNDING_TESTS_long_double): Likewise.
17450 (ROUNDING_TESTS): Likewise.
17451 * math/libm-test.inc: Include <math-tests.h>.
17452 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17453 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17454 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17455 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17457 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17459 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17462 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17464 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17465 otherwise empty TRANS lines.
17466 * sysdeps/gnu/errlist.c: Regenerated.
17468 * catgets/gencat.c (error_print): Use (void) in function
17470 * crypt/crypt_util.c (__init_des): Likewise.
17471 * crypt/speeds.c (Stop): Likewise.
17473 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17474 * inet/ruserpass.c (token): Likewise.
17475 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17476 * intl/localealias.c (extend_alias_table): Likewise.
17477 * intl/plural-exp.c (init_germanic_plural): Likewise.
17478 * libio/fcloseall.c (__fcloseall): Likewise.
17479 * libio/genops.c (_IO_flush_all): Likewise.
17480 (_IO_flush_all_linebuffered): Likewise.
17481 (_IO_cleanup): Likewise.
17482 (_IO_iter_begin): Likewise.
17483 (_IO_iter_end): Likewise.
17484 (_IO_list_lock): Likewise.
17485 (_IO_list_unlock): Likewise.
17486 (_IO_list_resetlock): Likewise.
17487 * libio/getchar.c (getchar): Likewise.
17488 * libio/getchar_u.c (getchar_unlocked): Likewise.
17489 * libio/getwchar.c (getwchar): Likewise.
17490 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17491 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17492 * login/getpt.c (__getpt): Likewise.
17493 * login/tst-utmp.c (main): Likewise.
17494 * malloc/hooks.c (__malloc_check_init): Likewise.
17495 * malloc/malloc.c (__malloc_stats): Likewise.
17496 * malloc/mtrace.c (tr_break): Likewise.
17497 (mtrace): Likewise.
17498 (muntrace): Likewise.
17499 * misc/fstab.c (endfsent): Likewise.
17500 * misc/getclktck.c (__getclktck): Likewise.
17501 * misc/getdtsz.c (__getdtablesize): Likewise.
17502 * misc/gethostid.c (gethostid): Likewise.
17503 * misc/getpagesize.c (__getpagesize): Likewise.
17504 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17505 (__get_nprocs): Likewise.
17506 (__get_phys_pages): Likewise.
17507 (__get_avphys_pages): Likewise.
17508 * misc/getttyent.c (getttyent): Likewise.
17509 (setttyent): Likewise.
17510 (endttyent): Likewise.
17511 * misc/getusershell.c (getusershell): Likewise.
17512 (endusershell): Likewise.
17513 (setusershell): Likewise.
17514 (initshells): Likewise.
17515 * misc/hsearch.c (__hdestroy): Likewise.
17516 * misc/sync.c (sync): Likewise.
17517 * misc/syslog.c (closelog_internal): Likewise.
17518 (closelog): Likewise.
17519 * misc/ttyslot.c (ttyslot): Likewise.
17520 * misc/vhangup.c (vhangup): Likewise.
17521 * posix/fork.c (__fork): Likewise.
17522 * posix/getegid.c (__getegid): Likewise.
17523 * posix/geteuid.c (__geteuid): Likewise.
17524 * posix/getgid.c (__getgid): Likewise.
17525 * posix/getpid.c (__getpid): Likewise.
17526 * posix/getppid.c (__getppid): Likewise.
17527 * posix/getuid.c (__getuid): Likewise.
17528 * posix/pause.c (pause): Likewise.
17529 * posix/setpgrp.c (setpgrp): Likewise.
17530 * posix/setsid.c (__setsid): Likewise.
17531 * posix/test-vfork.c (noop): Likewise.
17532 * resolv/gethnamaddr.c (_endhtent): Likewise.
17533 (_gethtent): Likewise.
17534 (ht_endhostent): Likewise.
17535 (gethostent): Likewise.
17536 (dns_service): Likewise.
17537 * stdlib/drand48.c (drand48): Likewise.
17538 * stdlib/lrand48.c (lrand48): Likewise.
17539 * stdlib/mrand48.c (mrand48): Likewise.
17540 * stdlib/rand.c (rand): Likewise.
17541 * stdlib/random.c (__random): Likewise.
17542 * stdlib/setenv.c (clearenv): Likewise.
17543 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17544 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17545 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17546 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17547 (__get_nprocs): Likewise.
17548 (__get_phys_pages): Likewise.
17549 (__get_avphys_pages): Likewise.
17550 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17551 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17552 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17553 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17554 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17555 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17556 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17557 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17558 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17559 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17560 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17561 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17562 * sysdeps/posix/clock.c (clock): Likewise.
17563 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17564 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17565 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17566 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17567 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17568 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17569 (__get_nprocs_conf): Likewise.
17570 (__get_phys_pages): Likewise.
17571 (__get_avphys_pages): Likewise.
17572 * time/clock.c (clock): Likewise.
17573 * time/tzset.c (__tzname_max): Likewise.
17575 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17577 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17578 (__bswap_32): Do not use "register".
17579 * crypt/crypt.c (_ufc_doit_r): Likewise.
17580 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17581 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17582 * gmon/gmon.c (__monstartup): Likewise.
17583 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17584 * hurd/hurdmalloc.c (more_memory): Likewise.
17585 (malloc): Likewise.
17587 (realloc): Likewise.
17588 (malloc_fork_prepare): Likewise.
17589 (malloc_fork_parent): Likewise.
17590 (malloc_fork_child): Likewise.
17591 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17592 (_svcauth_des): Likewise.
17593 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17594 * inet/inet_net.c (inet_network): Likewise.
17595 * inet/inet_netof.c (inet_netof): Likewise.
17596 * inet/rcmd.c (__validuser2_sa): Likewise.
17597 * io/fts.c (fts_open): Likewise.
17598 (fts_load): Likewise.
17599 (fts_close): Likewise.
17600 (fts_read): Likewise.
17601 (fts_children): Likewise.
17602 (fts_build): Likewise.
17603 (fts_stat): Likewise.
17604 (fts_sort): Likewise.
17605 (fts_alloc): Likewise.
17606 (fts_lfree): Likewise.
17607 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17608 (_IO_file_xsgetn): Likewise.
17609 (_IO_file_xsgetn_mmap): Likewise.
17610 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17611 (_IO_cookie_write): Likewise.
17612 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17613 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17614 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17615 * malloc/obstack.c (_obstack_begin): Likewise.
17616 (_obstack_begin_1): Likewise.
17617 (_obstack_newchunk): Likewise.
17618 (_obstack_allocated_p): Likewise.
17619 (obstack_free): Likewise.
17620 (_obstack_memory_used): Likewise.
17621 * misc/getttyent.c (getttynam): Likewise.
17622 (getttyent): Likewise.
17625 * misc/getusershell.c (initshells): Likewise.
17626 * misc/syslog.c (__vsyslog_chk): Likewise.
17627 * misc/ttyslot.c (ttyslot): Likewise.
17628 * nis/nis_hash.c (__nis_hash): Likewise.
17629 * posix/fnmatch_loop.c (FCT): Likewise.
17630 * posix/getconf.c (print_all): Likewise.
17632 * posix/getopt.c (exchange): Likewise.
17633 * posix/glob.c (globfree): Likewise.
17634 (prefix_array): Likewise.
17635 (__glob_pattern_type): Likewise.
17636 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17637 (NS_GET32): Likewise.
17638 (NS_PUT16): Likewise.
17639 (NS_PUT32): Likewise.
17640 * resolv/gethnamaddr.c (getanswer): Likewise.
17641 (gethostbyname2): Likewise.
17642 (gethostbyaddr): Likewise.
17643 (_gethtent): Likewise.
17644 (_gethtbyname2): Likewise.
17645 (_gethtbyaddr): Likewise.
17646 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17647 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17648 * resolv/res_init.c (__res_vinit): Likewise.
17649 (net_mask): Likewise.
17650 * resolv/res_mkquery.c (outchar): Likewise.
17652 * stdio-common/printf_fp.c (outchar): Likewise.
17654 * stdio-common/printf_fphex.c (outchar): Likewise.
17656 * stdio-common/printf_size.c (outchar): Likewise.
17658 * stdio-common/test_rdwr.c (main): Likewise.
17659 * stdio-common/tfformat.c (matches): Likewise.
17660 * stdio-common/vfprintf.c (outchar): Likewise.
17661 (printf_unknown): Likewise.
17662 (buffered_vfprintf): Likewise.
17663 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17664 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17665 (ReadFile): Likewise.
17666 * stdlib/qsort.c (SWAP): Likewise.
17667 (_quicksort): Likewise.
17668 * stdlib/setenv.c (__add_to_environ): Likewise.
17669 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17670 * stdlib/strtol_l.c (__strtol_l): Likewise.
17671 * stdlib/tst-strtod.c (main): Likewise.
17672 * stdlib/tst-strtol.c (main): Likewise.
17673 * stdlib/tst-strtoll.c (main): Likewise.
17674 * string/bits/string2.h (__strcmp_cc): Likewise.
17675 (__strcmp_cg): Likewise.
17676 (__strcspn_c1): Likewise.
17677 (__strcspn_c2): Likewise.
17678 (__strcspn_c3): Likewise.
17679 (__strspn_c1): Likewise.
17680 (__strspn_c2): Likewise.
17681 (__strspn_c3): Likewise.
17682 (__strsep_1c): Likewise.
17683 (__strsep_2c): Likewise.
17684 (__strsep_3c): Likewise.
17685 * string/memccpy.c (__memccpy): Likewise.
17686 * string/stpcpy.c (__stpcpy): Likewise.
17687 * string/strcmp.c (strcmp): Likewise.
17688 * string/strrchr.c (strrchr): Likewise.
17689 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17691 * sysdeps/mach/hurd/getcwd.c
17692 (_hurd_canonicalize_directory_name_internal): Likewise.
17693 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17694 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17695 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17696 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17697 Likewise, in both definitions.
17698 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17700 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17701 64] (__bswap_64): Likewise.
17702 * time/test_time.c (main): Likewise.
17703 * time/tzfile.c (__tzfile_read): Likewise.
17704 (__tzfile_compute): Likewise.
17705 * time/tzset.c (__tzset_parse_tz): Likewise.
17706 (tzset_internal): Likewise.
17707 (compute_change): Likewise.
17708 * wcsmbs/wcscat.c (__wcscat): Likewise.
17709 * wcsmbs/wcschr.c (wcschr): Likewise.
17710 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17711 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17712 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17713 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17714 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17715 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17716 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17717 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17718 * wcsmbs/wmemset.c (wmemset): Likewise.
17720 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17722 * scripts/config.guess: Update to version 2013-05-16.
17723 * scripts/config.sub: Update to version 2013-04-24.
17724 * scripts/install-sh: Update to version 2011-11-20.07.
17725 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17726 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17728 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17730 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17731 * elf/sln.c: Likewise.
17732 * hurd/hurd/ioctl.h: Likewise.
17733 * hurd/hurdmalloc.c: Likewise.
17734 * hurd/xattr.c: Likewise.
17735 * include/shlib-compat.h: Likewise.
17736 * inet/ruserpass.c: Likewise.
17737 * libio/iofgets_u.c: Likewise.
17738 * libio/iofgetws_u.c: Likewise.
17739 * locale/programs/ld-identification.c: Likewise.
17740 * locale/programs/ld-time.c: Likewise.
17741 * mach/msg-destroy.c: Likewise.
17742 * nss/nss_files/files-netgrp.c: Likewise.
17743 * resolv/res_data.c: Likewise.
17744 * soft-fp/op-1.h: Likewise.
17745 * soft-fp/op-2.h: Likewise.
17746 * soft-fp/op-4.h: Likewise.
17747 * soft-fp/op-common.h: Likewise.
17748 * stdio-common/printf_fphex.c: Likewise.
17749 * stdlib/strtod_l.c: Likewise.
17750 * sunrpc/rpc/clnt.h: Likewise.
17751 * sysdeps/generic/framestate.c: Likewise.
17752 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17753 * sysdeps/i386/bsd-setjmp.S: Likewise.
17754 * sysdeps/i386/__longjmp.S: Likewise.
17755 * sysdeps/i386/setjmp.S: Likewise.
17756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17757 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17758 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17762 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17763 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17764 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17765 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17766 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17774 * sysdeps/ieee754/support.c: Likewise.
17775 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17776 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17777 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17778 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17779 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17780 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17781 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17782 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17783 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17784 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17785 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17786 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17787 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17788 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17789 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17790 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17791 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17794 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17796 * posix/transbug.c: Remove executable mode.
17798 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17800 * crypt/speeds.c: Remove trailing whitespace.
17801 * dlfcn/default.c: Likewise.
17802 * elf/ifuncdep2.c: Likewise.
17803 * elf/ifuncmain1.c: Likewise.
17804 * elf/ifuncmain1vis.c: Likewise.
17805 * elf/testobj.h: Likewise.
17806 * elf/tst-stackguard1.c: Likewise.
17807 * gmon/sys/gmon.h: Likewise.
17808 * hurd/hurdmsg.c: Likewise.
17809 * hurd/new-fd.c: Likewise.
17810 * hurd/ports-get.c: Likewise.
17811 * iconvdata/ibm1008_420.c: Likewise.
17812 * inet/tst-getni1.c: Likewise.
17813 * inet/tst-getni2.c: Likewise.
17814 * libio/ioungetc.c: Likewise.
17815 * libio/wfiledoalloc.c: Likewise.
17816 * manual/libm-err-tab.pl: Likewise.
17817 * math/w_dremf.c: Likewise.
17818 * misc/ftruncate.c: Likewise.
17819 * posix/bug-glob2.c: Likewise.
17820 * posix/tst-pcre.c: Likewise.
17821 * posix/wait4.c: Likewise.
17822 * resolv/README: Likewise.
17823 * resolv/res_debug.h: Likewise.
17824 * resolv/tst-inet_ntop.c: Likewise.
17825 * setjmp/bug269-setjmp.c: Likewise.
17826 * soft-fp/extended.h: Likewise.
17827 * soft-fp/op-1.h: Likewise.
17828 * soft-fp/op-2.h: Likewise.
17829 * soft-fp/op-4.h: Likewise.
17830 * soft-fp/op-8.h: Likewise.
17831 * soft-fp/testit.c: Likewise.
17832 * stdio-common/bug16.c: Likewise.
17833 * stdlib/random.c: Likewise.
17834 * sunrpc/rpcsvc/rquota.x: Likewise.
17835 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17836 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17838 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17839 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17840 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17841 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17842 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17843 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17844 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17845 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17846 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17847 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17848 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17849 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17854 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17855 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17857 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17858 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17860 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17861 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17862 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17863 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17864 * sysdeps/ieee754/s_lib_version.c: Likewise.
17865 * sysdeps/mach/hurd/check_fds.c: Likewise.
17866 * sysdeps/mach/hurd/getsockname.c: Likewise.
17867 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17868 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17869 * sysdeps/powerpc/bits/link.h: Likewise.
17870 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17871 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17872 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17873 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17874 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17875 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17876 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17877 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17878 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17879 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17880 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17881 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17882 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17883 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17884 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17885 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17888 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17889 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17890 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17891 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17892 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17893 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17894 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17896 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17897 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17898 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17901 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17902 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17903 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17904 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17905 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17906 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17907 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17908 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17909 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17910 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17911 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17912 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17913 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17914 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17915 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17916 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17917 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17918 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17919 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17922 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17923 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17924 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17925 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17926 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17927 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17928 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17929 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17930 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17931 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17932 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17933 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17934 * sysdeps/powerpc/sysdep.h: Likewise.
17935 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17936 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17937 * sysdeps/sh/dl-trampoline.S: Likewise.
17938 * sysdeps/sh/memset.S: Likewise.
17939 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17940 * sysdeps/sh/strlen.S: Likewise.
17941 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17942 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17943 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17944 * sysdeps/sparc/sparc32/rem.S: Likewise.
17945 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17946 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17947 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17948 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17949 * sysdeps/sparc/sparc32/urem.S: Likewise.
17950 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17951 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17952 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17953 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17954 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17955 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17956 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17957 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17958 * sysdeps/unix/bsd/times.c: Likewise.
17959 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17960 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17964 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17965 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17966 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17967 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17968 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17969 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17970 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17971 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17972 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17973 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17974 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17975 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17976 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17977 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17978 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17979 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17980 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17981 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17982 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17983 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17984 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17985 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17986 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17987 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17988 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17989 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17990 * sysdeps/x86_64/strcspn.S: Likewise.
17992 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17994 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17995 generated file. Regenerate properly from gen-translit.pl.
17996 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17997 locale/C-translit.h.
17999 2013-06-05 Andreas Schwab <schwab@suse.de>
18002 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18003 week as 6 instead of -1.
18004 * time/tst-strptime.c (day_tests): Add test case.
18006 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18008 * sysdeps/generic/math_private.h
18009 (libc_feholdexcept_setround_53bit): Replace with
18010 libc_feholdsetround_53bit.
18011 (libc_feupdateenv_53bit): Replace with
18012 libc_feresetround_53bit.
18013 (SET_RESTORE_ROUND_53BIT): Adjust.
18015 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18017 * string/test-strchrnul.c: Add copyright header.
18019 * posix/tst-getaddrinfo4.c: Increase test timeout.
18021 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18024 * math/libm-test.inc (MAX_EXP): Remove
18026 (ulp): Use MIN_EXP - MANT_DIG.
18027 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18029 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18031 * po/be.po: Revert last change.
18032 * po/zh_CN.po: Likewise.
18033 * po/header.pot: Likewise.
18035 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18037 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18038 link-libc-deps to empty as target-specific variable.
18039 * Makerules (link-libc-args): New variable.
18040 (libc-for-link): Likewise.
18041 (link-libc-deps): Likewise.
18042 (lib%.so): Depend on $(link-libc-deps). Link with
18044 (build-module): Link with $(link-libc-args).
18045 (build-module-asneeded): Likewise.
18046 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18048 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18049 target-specific variable.
18050 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18051 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18052 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18054 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18056 ($(objpfx)libpcprofile.so): Likewise.
18057 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18059 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18060 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18061 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18063 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18064 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18065 * login/Makefile ($(objpfx)libutil.so): Likewise.
18066 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18067 * math/Makefile ($(objpfx)libm.so): Likewise.
18068 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18069 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18070 variable instead of depending directly on libc.
18071 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18072 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18074 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18076 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18077 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18078 ($(objpfx)libanl.so): Likewise.
18079 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18081 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18083 * sysdeps/i386/fpu/Makefile: Remove file.
18084 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18085 ($(objpfx)libm.so): Remove dependency on ld.so.
18087 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18090 * nis/yp_xdr.c (XDRMAXNAME): Define.
18091 (XDRMAXRECORD): Define.
18092 (xdr_domainname): Use XDRMAXNAME.
18093 (xdr_mapname): Likewise.
18094 (xdr_peername): Likewise.
18095 (xdr_keydat): Use XDRMAXRECORD.
18096 (xdr_valdat): Likewise.
18098 2013-05-30 Jeff Law <law@redhat.com>
18101 * manual/errno.texi (ESTALE): Update to account for more than
18102 just NFS file systems.
18103 * sysdeps/gnu/errlist.c: Regenerated.
18105 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18108 * elf/Makefile (tests): Add tst-null-argv.
18109 (modules-names): Add tst-null-argv-lib.
18110 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18111 (tst-null-argv-ENV): Set environment for tst-null-argv.
18112 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18113 (RTLD_PROGNAME): New macro.
18114 * elf/tst-null-argv.c: New test case.
18115 * elf/tst-null-argv-lib.c: Library for test case.
18116 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18117 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18118 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18119 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18120 * elf/dl-init.c (call_init): Likewise.
18121 (_dl_init): Likewise.
18122 * elf/dl-load.c (print_search_path): Likewise.
18123 (_dl_map_object): Likewise.
18124 * elf/dl-lookup.c (do_lookup_x): Likewise.
18125 (add_dependency): Likewise.
18126 (_dl_lookup_symbol_x): Likewise.
18127 (_dl_debug_bindings): Likewise.
18128 * elf/dl-open.c (_dl_show_scope): Likewise.
18129 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18130 * elf/dl-version.c (match_symbol): Likewise.
18131 (_dl_check_map_versions): Likewise.
18132 * elf/rtld.c (dl_main): Likewise.
18133 (print_unresolved): Use RTLD_PROGNAME.
18134 (print_missing_version): Likewise.
18135 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18136 (elf_machine_rela): Likewise.
18137 * sysdeps/powerpc/powerpc32/dl-machine.c
18138 (__process_machine_rela): Likewise.
18139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18141 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18143 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18145 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18146 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18148 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18152 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18154 * po/be.po: Add descriptive title.
18155 * po/zh_CN.po: Likewise.
18156 * po/header.pot: Likewise.
18158 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18160 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18162 (enlarge_archive): Likewise.
18164 2013-05-28 Ben North <ben@redfrontdoor.org>
18166 * manual/arith.texi (frexp): It is the magnitude of the return
18167 value which lies in [0.5, 1), not the return value itself.
18169 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18173 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18175 * stdio-common/bug26.c (main): Correct fscanf template.
18177 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18178 declare _dl_skip_args.
18180 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18183 * manual/platform.texi: Add missing @end deftypefun.
18185 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18188 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18189 bit of mantissa of 2^16382.
18190 * math/libm-test.inc (hypot_test_data): Add more tests.
18192 * math/libm-test.inc: Add drem and pow10 to list of tested
18194 (pow10_test): New function.
18195 (drem_test): Likewise.
18196 (drem_test_tonearest): Likewise.
18197 (drem_test_towardzero): Likewise.
18198 (drem_test_downward): Likewise.
18199 (drem_test_upward): Likewise.
18200 (main): Call the new functions.
18202 * math/libm-test.inc (finite_test_data): Remove.
18203 (finite_test): Run tests from isfinite_test_data.
18204 (gamma_test_data): Remove.
18205 (gamma_test): Run tests from lgamma_test_data.
18206 * sysdeps/i386/fpu/libm-test-ulps: Update.
18207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18209 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18211 * manual/platform.texi: Add PowerPC PPR function set documentation.
18212 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18215 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18217 * math/libm-test.inc (MAX_EXP): Define.
18219 (ulp): New function.
18220 (check_float_internal): Use ULPDIFF.
18221 (cpow_test): Disable failing test.
18222 (check_ulp): Test ulp() implemetnation.
18223 (main): Call check_ulp before starting tests.
18225 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18227 * math/gen-libm-test.pl (generate_testfile): Do not handle
18228 START_DATA and END_DATA.
18229 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18231 (acos_tonearest_test_data): Likewise.
18232 (acos_towardzero_test_data): Likewise.
18233 (acos_downward_test_data): Likewise.
18234 (acos_upward_test_data): Likewise.
18235 (acosh_test_data): Likewise.
18236 (asin_test_data): Likewise.
18237 (asin_tonearest_test_data): Likewise.
18238 (asin_towardzero_test_data): Likewise.
18239 (asin_downward_test_data): Likewise.
18240 (asin_upward_test_data): Likewise.
18241 (asinh_test_data): Likewise.
18242 (atan_test_data): Likewise.
18243 (atanh_test_data): Likewise.
18244 (atan2_test_data): Likewise.
18245 (cabs_test_data): Likewise.
18246 (cacos_test_data): Likewise.
18247 (cacosh_test_data): Likewise.
18248 (carg_test_data): Likewise.
18249 (casin_test_data): Likewise.
18250 (casinh_test_data): Likewise.
18251 (catan_test_data): Likewise.
18252 (catanh_test_data): Likewise.
18253 (cbrt_test_data): Likewise.
18254 (ccos_test_data): Likewise.
18255 (ccosh_test_data): Likewise.
18256 (ceil_test_data): Likewise.
18257 (cexp_test_data): Likewise.
18258 (cimag_test_data): Likewise.
18259 (clog_test_data): Likewise.
18260 (clog10_test_data): Likewise.
18261 (conj_test_data): Likewise.
18262 (copysign_test_data): Likewise.
18263 (cos_test_data): Likewise.
18264 (cos_tonearest_test_data): Likewise.
18265 (cos_towardzero_test_data): Likewise.
18266 (cos_downward_test_data): Likewise.
18267 (cos_upward_test_data): Likewise.
18268 (cosh_test_data): Likewise.
18269 (cosh_tonearest_test_data): Likewise.
18270 (cosh_towardzero_test_data): Likewise.
18271 (cosh_downward_test_data): Likewise.
18272 (cosh_upward_test_data): Likewise.
18273 (cpow_test_data): Likewise.
18274 (cproj_test_data): Likewise.
18275 (creal_test_data): Likewise.
18276 (csin_test_data): Likewise.
18277 (csinh_test_data): Likewise.
18278 (csqrt_test_data): Likewise.
18279 (ctan_test_data): Likewise.
18280 (ctan_tonearest_test_data): Likewise.
18281 (ctan_towardzero_test_data): Likewise.
18282 (ctan_downward_test_data): Likewise.
18283 (ctan_upward_test_data): Likewise.
18284 (ctanh_test_data): Likewise.
18285 (ctanh_tonearest_test_data): Likewise.
18286 (ctanh_towardzero_test_data): Likewise.
18287 (ctanh_downward_test_data): Likewise.
18288 (ctanh_upward_test_data): Likewise.
18289 (erf_test_data): Likewise.
18290 (erfc_test_data): Likewise.
18291 (exp_test_data): Likewise.
18292 (exp_tonearest_test_data): Likewise.
18293 (exp_towardzero_test_data): Likewise.
18294 (exp_downward_test_data): Likewise.
18295 (exp_upward_test_data): Likewise.
18296 (exp10_test_data): Likewise.
18297 (exp2_test_data): Likewise.
18298 (expm1_test_data): Likewise.
18299 (fabs_test_data): Likewise.
18300 (fdim_test_data): Likewise.
18301 (finite_test_data): Likewise.
18302 (floor_test_data): Likewise.
18303 (fma_test_data): Likewise.
18304 (fma_towardzero_test_data): Likewise.
18305 (fma_downward_test_data): Likewise.
18306 (fma_upward_test_data): Likewise.
18307 (fmax_test_data): Likewise.
18308 (fmin_test_data): Likewise.
18309 (fmod_test_data): Likewise.
18310 (fpclassify_test_data): Likewise.
18311 (frexp_test_data): Likewise.
18312 (gamma_test_data): Likewise.
18313 (hypot_test_data): Likewise.
18314 (ilogb_test_data): Likewise.
18315 (isfinite_test_data): Likewise.
18316 (isgreater_test_data): Likewise.
18317 (isgreaterequal_test_data): Likewise.
18318 (isinf_test_data): Likewise.
18319 (isless_test_data): Likewise.
18320 (islessequal_test_data): Likewise.
18321 (islessgreater_test_data): Likewise.
18322 (isnan_test_data): Likewise.
18323 (isnormal_test_data): Likewise.
18324 (issignaling_test_data): Likewise.
18325 (isunordered_test_data): Likewise.
18326 (j0_test_data): Likewise.
18327 (j1_test_data): Likewise.
18328 (jn_test_data): Likewise.
18329 (ldexp_test_data): Likewise.
18330 (lgamma_test_data): Likewise.
18331 (lrint_test_data): Likewise.
18332 (lrint_tonearest_test_data): Likewise.
18333 (lrint_towardzero_test_data): Likewise.
18334 (lrint_downward_test_data): Likewise.
18335 (lrint_upward_test_data): Likewise.
18336 (llrint_test_data): Likewise.
18337 (llrint_tonearest_test_data): Likewise.
18338 (llrint_towardzero_test_data): Likewise.
18339 (llrint_downward_test_data): Likewise.
18340 (llrint_upward_test_data): Likewise.
18341 (log_test_data): Likewise.
18342 (log10_test_data): Likewise.
18343 (log1p_test_data): Likewise.
18344 (log2_test_data): Likewise.
18345 (logb_test_data): Likewise.
18346 (logb_downward_test_data): Likewise.
18347 (lround_test_data): Likewise.
18348 (llround_test_data): Likewise.
18349 (modf_test_data): Likewise.
18350 (nearbyint_test_data): Likewise.
18351 (nextafter_test_data): Likewise.
18352 (nexttoward_test_data): Likewise.
18353 (pow_test_data): Likewise.
18354 (pow_tonearest_test_data): Likewise.
18355 (pow_towardzero_test_data): Likewise.
18356 (pow_downward_test_data): Likewise.
18357 (pow_upward_test_data): Likewise.
18358 (remainder_test_data): Likewise.
18359 (remainder_tonearest_test_data): Likewise.
18360 (remainder_towardzero_test_data): Likewise.
18361 (remainder_downward_test_data): Likewise.
18362 (remainder_upward_test_data): Likewise.
18363 (remquo_test_data): Likewise.
18364 (rint_test_data): Likewise.
18365 (rint_tonearest_test_data): Likewise.
18366 (rint_towardzero_test_data): Likewise.
18367 (rint_downward_test_data): Likewise.
18368 (rint_upward_test_data): Likewise.
18369 (round_test_data): Likewise.
18370 (scalb_test_data): Likewise.
18371 (scalbn_test_data): Likewise.
18372 (scalbln_test_data): Likewise.
18373 (signbit_test_data): Likewise.
18374 (sin_test_data): Likewise.
18375 (sin_tonearest_test_data): Likewise.
18376 (sin_towardzero_test_data): Likewise.
18377 (sin_downward_test_data): Likewise.
18378 (sin_upward_test_data): Likewise.
18379 (sincos_test_data): Likewise.
18380 (sinh_test_data): Likewise.
18381 (sinh_tonearest_test_data): Likewise.
18382 (sinh_towardzero_test_data): Likewise.
18383 (sinh_downward_test_data): Likewise.
18384 (sinh_upward_test_data): Likewise.
18385 (sqrt_test_data): Likewise.
18386 (tan_test_data): Likewise.
18387 (tan_tonearest_test_data): Likewise.
18388 (tan_towardzero_test_data): Likewise.
18389 (tan_downward_test_data): Likewise.
18390 (tan_upward_test_data): Likewise.
18391 (tanh_test_data): Likewise.
18392 (tgamma_test_data): Likewise.
18393 (trunc_test_data): Likewise.
18394 (y0_test_data): Likewise.
18395 (y1_test_data): Likewise.
18396 (yn_test_data): Likewise.
18397 (significand_test_data): Likewise.
18399 * math/gen-libm-test.pl (@functions): Remove variable.
18400 (generate_testfile): Don't handle START and END lines.
18401 * math/libm-test.inc (START): New macro.
18403 (END_COMPLEX): Likewise.
18404 (acos_test): Use END macro without arguments.
18405 (acos_test_tonearest): Likewise.
18406 (acos_test_towardzero): Likewise.
18407 (acos_test_downward): Likewise.
18408 (acos_test_upward): Likewise.
18409 (acosh_test): Likewise.
18410 (asin_test): Likewise.
18411 (asin_test_tonearest): Likewise.
18412 (asin_test_towardzero): Likewise.
18413 (asin_test_downward): Likewise.
18414 (asin_test_upward): Likewise.
18415 (asinh_test): Likewise.
18416 (atan_test): Likewise.
18417 (atanh_test): Likewise.
18418 (atan2_test): Likewise.
18419 (cabs_test): Likewise.
18420 (cacos_test): Use END_COMPLEX macro without arguments.
18421 (cacosh_test): Likewise.
18422 (carg_test): Use END macro without arguments.
18423 (casin_test): Use END_COMPLEX macro without arguments.
18424 (casinh_test): Likewise.
18425 (catan_test): Likewise.
18426 (catanh_test): Likewise.
18427 (cbrt_test): Use END macro without arguments.
18428 (ccos_test): Use END_COMPLEX macro without arguments.
18429 (ccosh_test): Likewise.
18430 (ceil_test): Use END macro without arguments.
18431 (cexp_test): Use END_COMPLEX macro without arguments.
18432 (cimag_test): Use END macro without arguments.
18433 (clog_test): Use END_COMPLEX macro without arguments.
18434 (clog10_test): Likewise.
18435 (conj_test): Likewise.
18436 (copysign_test): Use END macro without arguments.
18437 (cos_test): Likewise.
18438 (cos_test_tonearest): Likewise.
18439 (cos_test_towardzero): Likewise.
18440 (cos_test_downward): Likewise.
18441 (cos_test_upward): Likewise.
18442 (cosh_test): Likewise.
18443 (cosh_test_tonearest): Likewise.
18444 (cosh_test_towardzero): Likewise.
18445 (cosh_test_downward): Likewise.
18446 (cosh_test_upward): Likewise.
18447 (cpow_test): Use END_COMPLEX macro without arguments.
18448 (cproj_test): Likewise.
18449 (creal_test): Use END macro without arguments.
18450 (csin_test): Use END_COMPLEX macro without arguments.
18451 (csinh_test): Likewise.
18452 (csqrt_test): Likewise.
18453 (ctan_test): Likewise.
18454 (ctan_test_tonearest): Likewise.
18455 (ctan_test_towardzero): Likewise.
18456 (ctan_test_downward): Likewise.
18457 (ctan_test_upward): Likewise.
18458 (ctanh_test): Likewise.
18459 (ctanh_test_tonearest): Likewise.
18460 (ctanh_test_towardzero): Likewise.
18461 (ctanh_test_downward): Likewise.
18462 (ctanh_test_upward): Likewise.
18463 (erf_test): Use END macro without arguments.
18464 (erfc_test): Likewise.
18465 (exp_test): Likewise.
18466 (exp_test_tonearest): Likewise.
18467 (exp_test_towardzero): Likewise.
18468 (exp_test_downward): Likewise.
18469 (exp_test_upward): Likewise.
18470 (exp10_test): Likewise.
18471 (exp2_test): Likewise.
18472 (expm1_test): Likewise.
18473 (fabs_test): Likewise.
18474 (fdim_test): Likewise.
18475 (finite_test): Likewise.
18476 (floor_test): Likewise.
18477 (fma_test): Likewise.
18478 (fma_test_towardzero): Likewise.
18479 (fma_test_downward): Likewise.
18480 (fma_test_upward): Likewise.
18481 (fmax_test): Likewise.
18482 (fmin_test): Likewise.
18483 (fmod_test): Likewise.
18484 (fpclassify_test): Likewise.
18485 (frexp_test): Likewise.
18486 (gamma_test): Likewise.
18487 (hypot_test): Likewise.
18488 (ilogb_test): Likewise.
18489 (isfinite_test): Likewise.
18490 (isgreater_test): Likewise.
18491 (isgreaterequal_test): Likewise.
18492 (isinf_test): Likewise.
18493 (isless_test): Likewise.
18494 (islessequal_test): Likewise.
18495 (islessgreater_test): Likewise.
18496 (isnan_test): Likewise.
18497 (isnormal_test): Likewise.
18498 (issignaling_test): Likewise.
18499 (isunordered_test): Likewise.
18500 (j0_test): Likewise.
18501 (j1_test): Likewise.
18502 (jn_test): Likewise.
18503 (ldexp_test): Likewise.
18504 (lgamma_test): Likewise.
18505 (lrint_test): Likewise.
18506 (lrint_test_tonearest): Likewise.
18507 (lrint_test_towardzero): Likewise.
18508 (lrint_test_downward): Likewise.
18509 (lrint_test_upward): Likewise.
18510 (llrint_test): Likewise.
18511 (llrint_test_tonearest): Likewise.
18512 (llrint_test_towardzero): Likewise.
18513 (llrint_test_downward): Likewise.
18514 (llrint_test_upward): Likewise.
18515 (log_test): Likewise.
18516 (log10_test): Likewise.
18517 (log1p_test): Likewise.
18518 (log2_test): Likewise.
18519 (logb_test): Likewise.
18520 (logb_test_downward): Likewise.
18521 (lround_test): Likewise.
18522 (llround_test): Likewise.
18523 (modf_test): Likewise.
18524 (nearbyint_test): Likewise.
18525 (nextafter_test): Likewise.
18526 (nexttoward_test): Likewise.
18527 (pow_test): Likewise.
18528 (pow_test_tonearest): Likewise.
18529 (pow_test_towardzero): Likewise.
18530 (pow_test_downward): Likewise.
18531 (pow_test_upward): Likewise.
18532 (remainder_test): Likewise.
18533 (remainder_test_tonearest): Likewise.
18534 (remainder_test_towardzero): Likewise.
18535 (remainder_test_downward): Likewise.
18536 (remainder_test_upward): Likewise.
18537 (remquo_test): Likewise.
18538 (rint_test): Likewise.
18539 (rint_test_tonearest): Likewise.
18540 (rint_test_towardzero): Likewise.
18541 (rint_test_downward): Likewise.
18542 (rint_test_upward): Likewise.
18543 (round_test): Likewise.
18544 (scalb_test): Likewise.
18545 (scalbn_test): Likewise.
18546 (scalbln_test): Likewise.
18547 (signbit_test): Likewise.
18548 (sin_test): Likewise.
18549 (sin_test_tonearest): Likewise.
18550 (sin_test_towardzero): Likewise.
18551 (sin_test_downward): Likewise.
18552 (sin_test_upward): Likewise.
18553 (sincos_test): Likewise.
18554 (sinh_test): Likewise.
18555 (sinh_test_tonearest): Likewise.
18556 (sinh_test_towardzero): Likewise.
18557 (sinh_test_downward): Likewise.
18558 (sinh_test_upward): Likewise.
18559 (sqrt_test): Likewise.
18560 (tan_test): Likewise.
18561 (tan_test_tonearest): Likewise.
18562 (tan_test_towardzero): Likewise.
18563 (tan_test_downward): Likewise.
18564 (tan_test_upward): Likewise.
18565 (tanh_test): Likewise.
18566 (tgamma_test): Likewise.
18567 (trunc_test): Likewise.
18568 (y0_test): Likewise.
18569 (y1_test): Likewise.
18570 (yn_test): Likewise.
18571 (significand_test): Likewise.
18573 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18576 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18578 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18581 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18582 __ppc_mdoio and __ppc_mdoom.
18583 * manual/platform.texi: Document new functions __ppc_yield,
18584 __ppc_mdoio and __ppc_mdoom.
18586 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18588 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18589 (main): Mention "tls" pseudo-hwcap is legacy.
18590 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18592 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18594 * math/gen-libm-test.pl (parse_args): Output only string of
18595 arguments as text for test name, not full call or descriptions of
18596 tests for extra outputs.
18597 (generate_testfile): Do not pass function name to parse_args.
18598 Generate this_func variable from START.
18599 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18601 (struct test_ff_f_data): Likewise.
18602 (test_ff_f_data_nexttoward): Likewise.
18603 (struct test_fi_f_data): Likewise.
18604 (struct test_fl_f_data): Likewise.
18605 (struct test_if_f_data): Likewise.
18606 (struct test_fff_f_data): Likewise.
18607 (struct test_c_f_data): Likewise.
18608 (struct test_f_f1_data): Likewise. Remove field extra_name.
18609 (struct test_fF_f1_data): Likewise.
18610 (struct test_ffI_f1_data): Likewise.
18611 (struct test_c_c_data): Rename test_name field to arg_str.
18612 (struct test_cc_c_data): Likewise.
18613 (struct test_f_i_data): Likewise.
18614 (struct test_ff_i_data): Likewise.
18615 (struct test_f_l_data): Likewise.
18616 (struct test_f_L_data): Likewise.
18617 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18619 (COMMON_TEST_SETUP): New macro.
18620 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18621 (COMMON_TEST_CLEANUP): Likewise.
18622 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18623 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18625 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18626 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18628 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18629 (RUN_TEST_fff_f): Take argument string. Call new setup and
18631 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18632 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18634 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18635 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18637 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18638 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18640 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18641 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18643 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18644 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18646 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18647 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18649 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18650 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18652 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18653 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18655 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18656 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18658 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18659 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18661 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18662 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18664 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18665 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18667 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18668 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18670 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18671 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18673 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18674 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18676 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18678 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18680 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18681 to _sifields.sigfault.
18682 (si_addr_lsb): Define new macro.
18683 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18684 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18685 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18687 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18690 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18692 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18694 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18695 loading the domain.
18697 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18699 * math/gen-libm-test.pl (parse_args): Do not include expected
18700 result in test name.
18701 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18702 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18703 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18704 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18705 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18708 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18710 * benchtests/Makefile: Sort function entries.
18712 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18713 tanh, asinh, acosh, atanh.
18714 * benchtests/acos-inputs: New file.
18715 * benchtests/acosh-inputs: New file.
18716 * benchtests/asin-inputs: New file.
18717 * benchtests/asinh-inputs: New file.
18718 * benchtests/atanh-inputs: New file.
18719 * benchtests/cosh-inputs: New file.
18720 * benchtests/log-inputs: New file.
18721 * benchtests/sinh-inputs: New file.
18722 * benchtests/tanh-inputs: New file.
18724 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18727 * posix/tst-getaddrinfo4.c: New test.
18728 * posix/Makefile (tests): Add it.
18730 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18733 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18734 when no services were used.
18735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18736 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18738 2013-05-21 Andreas Schwab <schwab@suse.de>
18741 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18742 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18744 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18745 redundant variable declarations and reallocation of buffer when
18746 parsing as IPv6 address. Always set NSS status when called from
18747 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18748 buffer too small. Correct computation of needed size.
18749 * nss/Makefile (tests): Add test-digits-dots.
18750 * nss/test-digits-dots.c: New test.
18752 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18754 * benchtests/Makefile: Remove instructions for adding
18756 * benchtests/README: New file to explain how to execute and
18757 enhance the benchmark tests.
18759 2013-05-21 Andreas Schwab <schwab@suse.de>
18762 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18763 * setjmp/tst-sigsetjmp.c: New test.
18765 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18767 * sysdeps/x86_64/memset.S (memset): New implementation.
18768 (__bzero): Likewise.
18769 (__memset_tail): New function.
18771 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18773 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18774 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18775 __memcpy_sse2_unaligned ifunc selection.
18776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18777 Add memcpy-sse2-unaligned.S.
18778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18779 Add: __memcpy_sse2_unaligned.
18781 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18784 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18785 math_force_eval before restoring floating-point envrionment.
18786 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18789 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18791 (__nearbyintl): Use math_force_eval before restoring
18792 floating-point environment.
18793 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18795 * math/gen-libm-test.pl (special_functions): Remove.
18796 (parse_args): Don't handle TEST_extra. Handle functions with no
18798 * math/libm-test.inc (struct test_sincos_data): Replace with
18799 struct test_fFF_11_data.
18800 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18801 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18802 (sincos_test_data): Change element type to struct
18803 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18804 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18805 RUN_TEST_LOOP_sincos.
18806 * math/README.libm-test: Don't mention special handling of
18807 individual functions.
18808 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18809 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18810 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18811 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18812 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18815 * math/gen-libm-test.pl (get_variable): Remove function.
18816 (parse_args): Don't show pointer parameters to call in test
18817 names. Use "extra output N" in test names for extra outputs
18818 rather than naming variables.
18820 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18823 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18824 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18825 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18827 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18829 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18832 * math/gen-libm-test.pl (@tests): Remove variable.
18833 ($count): Likewise.
18834 (new_test): Remove function.
18835 (show_exceptions): New function.
18836 (special_functions): Use show_exceptions instead of new_test.
18837 (parse_args): Likewise.
18838 (generate_testfile): Pass only function name in generated call to
18839 print_max_error or print_complex_max_error.
18840 (get_ulps): Do not handle complex tests specially.
18841 (output_test): Rename to ...
18842 (get_all_ulps_for_test): ... this. Return a string rather than
18843 printing to a file. Require ulps to be present.
18844 (output_ulps): Generate arrays rather than #defines.
18845 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18846 (struct ulp_data): New type.
18847 (BUILD_COMPLEX_ULP): Remove macro.
18848 (compare_ulp_data): New function.
18849 (find_ulps): Likewise.
18850 (find_test_ulps): Likewise.
18851 (find_function_ulps): Likewise.
18852 (find_complex_function_ulps): Likewise.
18853 (print_max_error): Determine allowed ulps using
18854 find_function_ulps.
18855 (print_complex_max_error): Determine allowed ulps using
18856 find_complex_function_ulps.
18857 (check_float_internal): Determine max ulps using find_test_ulps.
18858 (check_float): Do not take max_ulp parameter. Update call to
18859 check_float_internal.
18860 (check_complex): Likewise.
18861 (check_int): Do not take max_ulp parameter.
18862 (check_long): Likewise.
18863 (check_bool): Likewise.
18864 (check_longlong): Likewise.
18865 (struct test_f_f_data): Remove max_ulp field.
18866 (struct test_ff_f_data): Likewise.
18867 (struct test_ff_f_data_nexttoward): Likewise.
18868 (struct test_fi_f_data): Likewise.
18869 (struct test_fl_f_data): Likewise.
18870 (struct test_if_f_data): Likewise.
18871 (struct test_fff_f_data): Likewise.
18872 (struct test_c_f_data): Likewise.
18873 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18874 (struct test_fF_f1_data): Likewise.
18875 (struct test_ffI_f1_data): Likewise.
18876 (struct test_c_c_data): Remove max_ulp field.
18877 (struct test_cc_c_data): Likewise.
18878 (struct test_f_i_data): Likewise.
18879 (struct test_ff_i_data): Likewise.
18880 (struct test_f_l_data): Likewise.
18881 (struct test_f_L_data): Likewise.
18882 (struct test_sincos_data): Likewise.
18883 (RUN_TEST_f_f): Do not handle ulps.
18884 (RUN_TEST_LOOP_f_f): Likewise.
18885 (RUN_TEST_2_f): Likewise.
18886 (RUN_TEST_LOOP_2_f): Likewise.
18887 (RUN_TEST_fff_f): Likewise.
18888 (RUN_TEST_LOOP_fff_f): Likewise.
18889 (RUN_TEST_c_f): Likewise.
18890 (RUN_TEST_LOOP_c_f): Likewise.
18891 (RUN_TEST_f_f1): Likewise.
18892 (RUN_TEST_LOOP_f_f1): Likewise.
18893 (RUN_TEST_fF_f1): Likewise.
18894 (RUN_TEST_LOOP_fF_f1): Likewise.
18895 (RUN_TEST_fI_f1): Likewise.
18896 (RUN_TEST_LOOP_fI_f1): Likewise.
18897 (RUN_TEST_ffI_f1): Likewise.
18898 (RUN_TEST_LOOP_ffI_f1): Likewise.
18899 (RUN_TEST_c_c): Likewise.
18900 (RUN_TEST_LOOP_c_c): Likewise.
18901 (RUN_TEST_cc_c): Likewise.
18902 (RUN_TEST_LOOP_cc_c): Likewise.
18903 (RUN_TEST_f_i): Likewise.
18904 (RUN_TEST_LOOP_f_i): Likewise.
18905 (RUN_TEST_f_i_tg): Likewise.
18906 (RUN_TEST_LOOP_f_i_tg): Likewise.
18907 (RUN_TEST_ff_i_tg): Likewise.
18908 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18909 (RUN_TEST_f_b): Likewise.
18910 (RUN_TEST_LOOP_f_b): Likewise.
18911 (RUN_TEST_f_b_tg): Likewise.
18912 (RUN_TEST_LOOP_f_b_tg): Likewise.
18913 (RUN_TEST_f_l): Likewise.
18914 (RUN_TEST_LOOP_f_l): Likewise.
18915 (RUN_TEST_f_L): Likewise.
18916 (RUN_TEST_LOOP_f_L): Likewise.
18917 (RUN_TEST_sincos): Likewise.
18918 (RUN_TEST_LOOP_sincos): Likewise.
18920 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18924 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18925 main case of finite arguments, set rounding mode to FE_TONEAREST
18926 and discard exceptions.
18927 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18929 (remainder_tonearest_test_data): New variable.
18930 (remainder_test_tonearest): New function.
18931 (remainder_towardzero_test_data): New variable.
18932 (remainder_test_towardzero): New function.
18933 (remainder_downward_test_data): New variable.
18934 (remainder_test_downward): New function.
18935 (remainder_upward_test_data): New variable.
18936 (remainder_test_upward): New function.
18937 (main): Call the new test functions.
18939 * math/libm-test.inc (struct test_f_f1_data): Remove field
18941 (struct test_fF_f1_data): Likewise.
18942 (struct test_ffI_f1_data): Likewise.
18943 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18944 based on value of EXTRA_EXPECTED.
18945 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18946 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18947 EXTRA_VAR based on value of EXTRA_EXPECTED.
18948 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18949 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18950 EXTRA_VAR based on value of EXTRA_EXPECTED.
18951 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18952 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18953 EXTRA_VAR based on value of EXTRA_EXPECTED.
18954 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18955 * math/gen-libm-test.pl (parse_args): Don't output initializers
18956 for extra output values.
18958 * math/libm-test.inc (check_int): Expect result to be exactly
18959 equal to expected value and do not handle ulps.
18960 (check_long): Likewise.
18961 (check_longlong): Likewise.
18963 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18965 (cimag_test_data): Likewise.
18966 (conj_test_data): Likewise.
18967 (copysign_test_data): Likewise.
18968 (cproj_test_data): Likewise.
18969 (creal_test_data): Likewise.
18970 (fabs_test_data): Likewise.
18971 (fdim_test_data): Likewise.
18972 (finite_test_data): Likewise.
18973 (floor_test_data): Likewise.
18974 (fmax_test_data): Likewise.
18975 (fmin_test_data): Likewise.
18976 (fmod_test_data): Likewise.
18977 (fpclassify_test_data): Likewise.
18978 (frexp_test_data): Likewise.
18979 (ilogb_test_data): Likewise.
18980 (isfinite_test_data): Likewise.
18981 (isgreater_test_data): Likewise.
18982 (isgreaterequal_test_data): Likewise.
18983 (isinf_test_data): Likewise.
18984 (isless_test_data): Likewise.
18985 (islessequal_test_data): Likewise.
18986 (islessgreater_test_data): Likewise.
18987 (isnan_test_data): Likewise.
18988 (isnormal_test_data): Likewise.
18989 (issignaling_test_data): Likewise.
18990 (isunordered_test_data): Likewise.
18991 (ldexp_test_data): Likewise.
18992 (lrint_test_data): Likewise.
18993 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18994 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18995 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18996 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18997 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18998 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19000 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19001 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19002 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19003 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19005 (lrint_downward_test_data): Test for "inexact" exceptions.
19006 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19007 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19008 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19010 (lrint_upward_test_data): Test for "inexact" exceptions.
19011 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19013 (llrint_test_data): Test for "inexact" exceptions.
19014 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19015 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19016 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19017 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19018 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19019 (llrint_downward_test_data): Test for "inexact" exceptions.
19020 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19021 (llrint_upward_test_data): Test for "inexact" exceptions.
19022 (logb_test_data): Likewise.
19023 (logb_downward_test_data): Likewise.
19024 (nextafter_test_data): Likewise.
19025 (nexttoward_test_data): Likewise.
19026 (remainder_test_data): Likewise.
19027 (remquo_test_data): Likewise.
19028 (scalbn_test_data): Likewise.
19029 (scalbln_test_data): Likewise.
19030 (signbit_test_data): Likewise.
19031 (sqrt_test_data): Likewise.
19032 (significand_test_data): Likewise.
19034 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19037 * benchtests/bench-modf.c (struct args): Mark arg0 as
19039 * scripts/bench.pl: Mark members of struct args as volatile.
19041 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19044 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19045 negative infinity on POWER6 or lower.
19046 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19048 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19051 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19052 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19053 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19054 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19055 (_FP_SETQNAN): New macro.
19056 (_FP_SETQNAN_SEMIRAW): Likewise.
19057 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19058 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19059 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19060 (FP_EXTEND): Use _FP_FRAC_SNANP.
19061 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19062 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19064 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19066 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19069 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19071 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19072 with DIVIDE_BY_ZERO_EXCEPTION.
19073 (gamma_test_data): Likewise.
19074 (lgamma_test_data): Likewise.
19075 (log_test_data): Likewise.
19076 (log10_test_data): Likewise.
19077 (log2_test_data): Likewise.
19078 (tgamma_test_data): Likewise.
19080 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19081 (acos_test_tonearest): Likewise.
19082 (acos_test_towardzero): Likewise.
19083 (acos_test_downward): Likewise.
19084 (acos_test_upward): Likewise.
19085 (acosh_test): Likewise.
19086 (asin_test): Likewise.
19087 (asin_test_tonearest): Likewise.
19088 (asin_test_towardzero): Likewise.
19089 (asin_test_downward): Likewise.
19090 (asin_test_upward): Likewise.
19091 (asinh_test): Likewise.
19092 (atan_test): Likewise.
19093 (atanh_test): Likewise.
19094 (atan2_test): Likewise.
19095 (cabs_test): Likewise.
19096 (cacos_test): Likewise.
19097 (cacosh_test): Likewise.
19098 (casin_test): Likewise.
19099 (casinh_test): Likewise.
19100 (catan_test): Likewise.
19101 (catanh_test): Likewise.
19102 (cbrt_test): Likewise.
19103 (ccos_test): Likewise.
19104 (ccosh_test): Likewise.
19105 (cexp_test): Likewise.
19106 (clog_test): Likewise.
19107 (clog10_test): Likewise.
19108 (cos_test): Likewise.
19109 (cos_test_tonearest): Likewise.
19110 (cos_test_towardzero): Likewise.
19111 (cos_test_downward): Likewise.
19112 (cos_test_upward): Likewise.
19113 (cosh_test): Likewise.
19114 (cosh_test_tonearest): Likewise.
19115 (cosh_test_towardzero): Likewise.
19116 (cosh_test_downward): Likewise.
19117 (cosh_test_upward): Likewise.
19118 (cpow_test): Likewise.
19119 (csin_test): Likewise.
19120 (csinh_test): Likewise.
19121 (csqrt_test): Likewise.
19122 (ctan_test): Likewise.
19123 (ctan_test_tonearest): Likewise.
19124 (ctan_test_towardzero): Likewise.
19125 (ctan_test_downward): Likewise.
19126 (ctan_test_upward): Likewise.
19127 (ctanh_test): Likewise.
19128 (ctanh_test_tonearest): Likewise.
19129 (ctanh_test_towardzero): Likewise.
19130 (ctanh_test_downward): Likewise.
19131 (ctanh_test_upward): Likewise.
19132 (erf_test): Likewise.
19133 (erfc_test): Likewise.
19134 (exp_test): Likewise.
19135 (exp_test_tonearest): Likewise.
19136 (exp_test_towardzero): Likewise.
19137 (exp_test_downward): Likewise.
19138 (exp_test_upward): Likewise.
19139 (exp10_test): Likewise.
19140 (exp2_test): Likewise.
19141 (expm1_test): Likewise.
19142 (fmod_test): Likewise.
19143 (gamma_test): Likewise.
19144 (hypot_test): Likewise.
19145 (j0_test): Likewise.
19146 (j1_test): Likewise.
19147 (jn_test): Likewise.
19148 (lgamma_test): Likewise.
19149 (log_test): Likewise.
19150 (log10_test): Likewise.
19151 (log1p_test): Likewise.
19152 (log2_test): Likewise.
19153 (logb_test_downward): Likewise.
19154 (pow_test): Likewise.
19155 (pow_test_tonearest): Likewise.
19156 (pow_test_towardzero): Likewise.
19157 (pow_test_downward): Likewise.
19158 (pow_test_upward): Likewise.
19159 (remainder_test): Likewise.
19160 (remquo_test): Likewise.
19161 (sin_test): Likewise.
19162 (sin_test_tonearest): Likewise.
19163 (sin_test_towardzero): Likewise.
19164 (sin_test_downward): Likewise.
19165 (sin_test_upward): Likewise.
19166 (sincos_test): Likewise.
19167 (sinh_test): Likewise.
19168 (sinh_test_tonearest): Likewise.
19169 (sinh_test_towardzero): Likewise.
19170 (sinh_test_downward): Likewise.
19171 (sinh_test_upward): Likewise.
19172 (sqrt_test): Likewise.
19173 (tan_test): Likewise.
19174 (tan_test_tonearest): Likewise.
19175 (tan_test_towardzero): Likewise.
19176 (tan_test_downward): Likewise.
19177 (tan_test_upward): Likewise.
19178 (tanh_test): Likewise.
19179 (tgamma_test): Likewise.
19180 (y0_test): Likewise.
19181 (y1_test): Likewise.
19182 (yn_test): Likewise.
19184 * math/gen-libm-test.pl (adjust_arg): Remove function.
19185 (special_function): Remove argument $in_func. Only handle
19186 generating output for tables of tests, not inside functions.
19187 (parse_args): Likewise.
19188 (generate_testfile): Remove variable $in_func. Update call to
19190 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19191 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19192 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19193 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19194 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19195 (MAX_VALUE_INIT): Rename macro to max_value.
19196 (MIN_VALUE_INIT): Rename macro to min_value.
19197 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19198 (plus_zero): Remove variable.
19199 (minus_zero): Likewise.
19200 (plus_infty): Likewise.
19201 (minus_infty): Likewise.
19202 (qnan_value): Likewise.
19203 (max_value): Likewise.
19204 (min_value): Likewise.
19205 (min_subnorm_value): Likewise.
19207 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19209 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19210 uint64_t or uint32_t usage.
19211 * crypt/sha256-block.c: Likewise.
19212 * crypt/sha256-crypt.c: Likewise.
19213 * crypt/sha256.c: Likewise.
19214 * crypt/sha512-block.c: Likewise.
19215 * crypt/sha512-crypt.c: Likewise.
19216 * crypt/sha512.c: Likewise.
19217 * debug/backtrace-tst.c: Likewise.
19218 * debug/pcprofiledump.c: Likewise.
19219 * elf/cache.c: Likewise.
19220 * elf/dl-cache.c: Likewise.
19221 * elf/dl-misc.c: Likewise.
19222 * elf/dl-profile.c: Likewise.
19223 * elf/dl-support.c: Likewise.
19224 * elf/ldconfig.c: Likewise.
19225 * elf/sprof.c: Likewise.
19226 * iconv/dummy-repertoire.c: Likewise.
19227 * iconv/iconv_charmap.c: Likewise.
19228 * iconv/skeleton.c: Likewise.
19229 * iconvdata/8bit-generic.c: Likewise.
19230 * iconvdata/cp737.h: Likewise.
19231 * iconvdata/cp775.h: Likewise.
19232 * iconvdata/ibm1008.h: Likewise.
19233 * iconvdata/ibm1025.h: Likewise.
19234 * iconvdata/ibm1046.h: Likewise.
19235 * iconvdata/ibm1097.h: Likewise.
19236 * iconvdata/ibm1112.h: Likewise.
19237 * iconvdata/ibm1122.h: Likewise.
19238 * iconvdata/ibm1123.h: Likewise.
19239 * iconvdata/ibm1124.h: Likewise.
19240 * iconvdata/ibm1129.h: Likewise.
19241 * iconvdata/ibm1130.h: Likewise.
19242 * iconvdata/ibm1132.h: Likewise.
19243 * iconvdata/ibm1133.h: Likewise.
19244 * iconvdata/ibm1137.h: Likewise.
19245 * iconvdata/ibm1140.h: Likewise.
19246 * iconvdata/ibm1141.h: Likewise.
19247 * iconvdata/ibm1142.h: Likewise.
19248 * iconvdata/ibm1143.h: Likewise.
19249 * iconvdata/ibm1144.h: Likewise.
19250 * iconvdata/ibm1145.h: Likewise.
19251 * iconvdata/ibm1146.h: Likewise.
19252 * iconvdata/ibm1147.h: Likewise.
19253 * iconvdata/ibm1148.h: Likewise.
19254 * iconvdata/ibm1149.h: Likewise.
19255 * iconvdata/ibm1153.h: Likewise.
19256 * iconvdata/ibm1154.h: Likewise.
19257 * iconvdata/ibm1155.h: Likewise.
19258 * iconvdata/ibm1156.h: Likewise.
19259 * iconvdata/ibm1157.h: Likewise.
19260 * iconvdata/ibm1158.h: Likewise.
19261 * iconvdata/ibm1160.h: Likewise.
19262 * iconvdata/ibm1161.h: Likewise.
19263 * iconvdata/ibm1162.h: Likewise.
19264 * iconvdata/ibm1163.h: Likewise.
19265 * iconvdata/ibm1164.h: Likewise.
19266 * iconvdata/ibm1166.h: Likewise.
19267 * iconvdata/ibm1167.h: Likewise.
19268 * iconvdata/ibm12712.h: Likewise.
19269 * iconvdata/ibm1390.h: Likewise.
19270 * iconvdata/ibm1399.h: Likewise.
19271 * iconvdata/ibm16804.h: Likewise.
19272 * iconvdata/ibm4517.h: Likewise.
19273 * iconvdata/ibm4899.h: Likewise.
19274 * iconvdata/ibm4909.h: Likewise.
19275 * iconvdata/ibm4971.h: Likewise.
19276 * iconvdata/ibm5347.h: Likewise.
19277 * iconvdata/ibm803.h: Likewise.
19278 * iconvdata/ibm856.h: Likewise.
19279 * iconvdata/ibm901.h: Likewise.
19280 * iconvdata/ibm902.h: Likewise.
19281 * iconvdata/ibm9030.h: Likewise.
19282 * iconvdata/ibm9066.h: Likewise.
19283 * iconvdata/ibm921.h: Likewise.
19284 * iconvdata/ibm922.h: Likewise.
19285 * iconvdata/ibm9448.h: Likewise.
19286 * iconvdata/isiri-3342.h: Likewise.
19287 * iconvdata/jis0201.h: Likewise.
19288 * include/link.h: Likewise.
19289 * include/netdb.h: Likewise.
19290 * inet/check_native.c: Likewise.
19291 * inet/check_pf.c: Likewise.
19292 * inet/getipv4sourcefilter.c: Likewise.
19293 * inet/getnameinfo.c: Likewise.
19294 * inet/getsourcefilter.c: Likewise.
19295 * inet/htonl.c: Likewise.
19296 * inet/setipv4sourcefilter.c: Likewise.
19297 * inet/setsourcefilter.c: Likewise.
19298 * inet/test-inet6_opt.c: Likewise.
19299 * inet/tst-network.c: Likewise.
19300 * locale/C-collate.c: Likewise.
19301 * locale/C-ctype.c: Likewise.
19302 * locale/C-time.c: Likewise.
19303 * locale/C-translit.h: Likewise.
19304 * locale/loadarchive.c: Likewise.
19305 * locale/programs/3level.h: Likewise.
19306 * locale/programs/charmap.c: Likewise.
19307 * locale/programs/charmap.h: Likewise.
19308 * locale/programs/ld-address.c: Likewise.
19309 * locale/programs/ld-collate.c: Likewise.
19310 * locale/programs/ld-ctype.c: Likewise.
19311 * locale/programs/ld-identification.c: Likewise.
19312 * locale/programs/ld-measurement.c: Likewise.
19313 * locale/programs/ld-messages.c: Likewise.
19314 * locale/programs/ld-monetary.c: Likewise.
19315 * locale/programs/ld-name.c: Likewise.
19316 * locale/programs/ld-numeric.c: Likewise.
19317 * locale/programs/ld-paper.c: Likewise.
19318 * locale/programs/ld-telephone.c: Likewise.
19319 * locale/programs/ld-time.c: Likewise.
19320 * locale/programs/linereader.c: Likewise.
19321 * locale/programs/locale.c: Likewise.
19322 * locale/programs/locarchive.c: Likewise.
19323 * locale/programs/locfile.h: Likewise.
19324 * locale/programs/repertoire.c: Likewise.
19325 * locale/programs/simple-hash.c: Likewise.
19326 * locale/programs/simple-hash.h: Likewise.
19327 * malloc/memusage.c: Likewise.
19328 * malloc/memusagestat.c: Likewise.
19329 * nis/nis_defaults.c: Likewise.
19330 * nis/nis_hash.c: Likewise.
19331 * nis/nis_print.c: Likewise.
19332 * nis/nis_xdr.c: Likewise.
19333 * nscd/connections.c: Likewise.
19334 * nscd/hstcache.c: Likewise.
19335 * nscd/nscd_gethst_r.c: Likewise.
19336 * nscd/nscd_getserv_r.c: Likewise.
19337 * nscd/nscd_helper.c: Likewise.
19338 * nscd/servicescache.c: Likewise.
19339 * nss/makedb.c: Likewise.
19340 * nss/nss_db/db-XXX.c: Likewise.
19341 * nss/nss_db/db-initgroups.c: Likewise.
19342 * nss/nss_db/db-netgrp.c: Likewise.
19343 * nss/nss_files/files-network.c: Likewise.
19344 * nss/nss_files/files-parse.c: Likewise.
19345 * posix/bug-regex5.c: Likewise.
19346 * posix/fnmatch_loop.c: Likewise.
19347 * posix/regcomp.c: Likewise.
19348 * posix/regexec.c: Likewise.
19349 * posix/tst-rfc3484-2.c: Likewise.
19350 * posix/tst-rfc3484-3.c: Likewise.
19351 * posix/tst-rfc3484.c: Likewise.
19352 * resolv/nss_dns/dns-canon.c: Likewise.
19353 * resolv/nss_dns/dns-network.c: Likewise.
19354 * resolv/res_init.c: Likewise.
19355 * resolv/res_mkquery.c: Likewise.
19356 * resolv/tst-aton.c: Likewise.
19357 * stdlib/cxa_atexit.c: Likewise.
19358 * stdlib/cxa_finalize.c: Likewise.
19359 * stdlib/gen-fpioconst.c: Likewise.
19360 * stdlib/strtol_l.c: Likewise.
19361 * string/tst-endian.c: Likewise.
19362 * sunrpc/auth_des.c: Likewise.
19363 * sunrpc/clnt_udp.c: Likewise.
19364 * sunrpc/rtime.c: Likewise.
19365 * sunrpc/svcauth_des.c: Likewise.
19366 * sunrpc/xdr.c: Likewise.
19367 * sunrpc/xdr_intXX_t.c: Likewise.
19368 * sunrpc/xdr_rec.c: Likewise.
19369 * sysdeps/generic/ldconfig.h: Likewise.
19370 * sysdeps/generic/ldsodefs.h: Likewise.
19371 * sysdeps/generic/memusage.h: Likewise.
19372 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19375 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19382 * sysdeps/posix/getaddrinfo.c: Likewise.
19383 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19384 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19385 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19386 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19387 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19388 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19389 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19390 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19391 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19392 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19393 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19394 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19395 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19396 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19397 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19398 * sysdeps/x86_64/dl-tls.h: Likewise.
19399 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19400 * time/alt_digit.c: Likewise.
19401 * time/era.c: Likewise.
19402 * wcsmbs/tst-c16c32-1.c: Likewise.
19404 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19406 * math/libm-test.inc (struct test_sincos_data): New type.
19407 (RUN_TEST_LOOP_sincos): New macro.
19408 (sincos_test_data): New variable.
19409 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19411 2013-05-16 Richard Henderson <rth@redhat.com>
19413 * math/atest-exp2.c (LIMB64): New macro.
19414 (CONSTSZ): New macro.
19415 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19417 (print_mpn_fp): ... to function scope.
19418 (read_mpn_hex): Remove.
19419 (get_log2): Remove.
19420 (exp2_mpn): Use mp_log2.
19421 (main): Use mp_exp1.
19423 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19425 * math/libm-test.inc: Remove comment about not testing "inexact"
19427 (INEXACT_EXCEPTION): New macro.
19428 (NO_INEXACT_EXCEPTION): Likewise.
19429 (INVALID_EXCEPTION_OK): Update value.
19430 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19431 (OVERFLOW_EXCEPTION_OK): Likewise.
19432 (UNDERFLOW_EXCEPTION_OK): Likewise.
19433 (IGNORE_ZERO_INF_SIGN): Likewise.
19434 (ERRNO_UNCHANGED): Likewise.
19435 (ERRNO_EDOM): Likewise.
19436 (ERRNO_ERANGE): Likewise.
19437 (test_exceptions): Handle testing "inexact" exceptions.
19438 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19439 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19440 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19441 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19443 (rint_towardzero_test_data): Likewise.
19444 (rint_downward_test_data): Likewise.
19445 (rint_upward_test_data): Likewise.
19447 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19448 with OVERFLOW_EXCEPTION.
19449 (exp10_test_data): Likewise.
19450 (exp2_test_data): Likewise.
19451 (expm1_test_data): Likewise.
19452 (lgamma_test_data): Likewise.
19453 (pow_test_data): Likewise.
19454 (tgamma_test_data): Likewise.
19455 (yn_test_data): Remove duplicate test of overflow.
19457 * math/libm-test.inc (struct test_cc_c_data): New type.
19458 (RUN_TEST_LOOP_cc_c): New macro.
19459 (cpow_test_data): New variable.
19460 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19462 * math/libm-test.inc (struct test_f_L_data): New type.
19463 (RUN_TEST_LOOP_f_L): New macro.
19464 (llrint_test_data): New variable.
19465 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19466 (llrint_tonearest_test_data): New variable.
19467 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19468 (llrint_towardzero_test_data): New variable.
19469 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19470 (llrint_downward_test_data): New variable.
19471 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19472 (llrint_upward_test_data): New variable.
19473 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19474 (llround_test_data): New variable.
19475 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19477 2013-05-13 Peter Collingbourne <pcc@google.com>
19479 * math/atest-exp2.c (get_log2): Remove const attribute.
19481 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19483 * math/libm-test.inc (struct test_f_l_data): New type.
19484 (RUN_TEST_LOOP_f_l): New macro.
19485 (lrint_test_data): New variable.
19486 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19487 (lrint_tonearest_test_data): New variable.
19488 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19489 (lrint_towardzero_test_data): New variable.
19490 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19491 (lrint_downward_test_data): New variable.
19492 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19493 (lrint_upward_test_data): New variable.
19494 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19495 (lround_test_data): New variable.
19496 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19498 2013-05-15 Peter Collingbourne <pcc@google.com>
19500 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19501 (EXTRACT_WORDS64) Use where appropriate.
19502 (INSERT_WORDS64) Likewise.
19504 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19505 constraints with x constraints.
19506 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19508 * malloc/obstack.c (_obstack_compat): Add initializer.
19510 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19512 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19513 si_trapno and add si_addr_lsb to _sifields.sigfault.
19514 (si_trapno): Remove macro.
19515 (si_addr_lsb): Define new macro.
19516 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19518 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19520 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19521 instead of TEST_f_l.
19522 (llrint_test_tonearest): Likewise.
19523 (llrint_test_towardzero): Likewise.
19524 (llrint_test_downward): Likewise.
19525 (llrint_test_upward): Likewise.
19526 (llround_test): Likewise.
19528 * math/libm-test.inc (struct test_f_i_data): Add comment.
19529 (RUN_TEST_LOOP_f_b): New macro.
19530 (RUN_TEST_LOOP_f_b_tg): Likewise.
19531 (finite_test_data): New variable.
19532 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19533 (isfinite_test_data): New variable.
19534 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19535 (isinf_test_data): New variable.
19536 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19537 (isnan_test_data): New variable.
19538 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19539 (isnormal_test_data): New variable.
19540 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19541 (issignaling_test_data): New variable.
19542 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19543 (signbit_test_data): New variable.
19544 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19546 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19547 with INVALID_EXCEPTION.
19548 (acosh_test_data): Likewise.
19549 (asin_test_data): Likewise.
19550 (atanh_test_data): Likewise.
19551 (fmod_test_data): Likewise.
19552 (log_test_data): Likewise.
19553 (log10_test_data): Likewise.
19554 (log2_test_data): Likewise.
19555 (pow_test_data): Likewise.
19556 (sqrt_test_data): Likewise.
19557 (y0_test_data): Likewise.
19558 (y1_test_data): Likewise.
19559 (yn_test_data): Likewise.
19561 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19564 * math/libm-test.inc (struct test_ff_i_data): New type.
19565 (RUN_TEST_LOOP_ff_i_tg): New macro.
19566 (isgreater_test_data): New variable.
19567 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19568 (isgreaterequal_test_data): New variable.
19569 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19570 (isless_test_data): New variable.
19571 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19572 (islessequal_test_data): New variable.
19573 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19574 (islessgreater_test_data): New variable.
19575 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19576 (isunordered_test_data): New variable.
19577 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19579 2013-05-14 David S. Miller <davem@davemloft.net>
19581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19583 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19585 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19587 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19589 (struct test_f_i_data): Change type of max_ulp to int.
19591 * math/libm-test.inc (test_ffI_f1_data): New type.
19592 (RUN_TEST_LOOP_ffI_f1): New macro.
19593 (remquo_test_data): New variable.
19594 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19596 * setjmp/tst-setjmp-fp.c: New file.
19597 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19598 (link-libm): New variable.
19599 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19601 * math/libm-test.inc (struct test_f_i_data): New type.
19602 (RUN_TEST_LOOP_f_i): New macro.
19603 (RUN_TEST_LOOP_f_i_tg): Likewise.
19604 (fpclassify_test_data): New variable.
19605 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19606 (ilogb_test_data): New variable.
19607 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19609 * math/libm-test.inc (scalbln_test): Correct function name in END
19612 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19613 (RUN_TEST_LOOP_fI_f1): New macro.
19614 (frexp_test_data): New variable.
19615 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19617 * math/libm-test.inc (struct test_fF_f1_data): New type.
19618 (RUN_TEST_LOOP_fF_f1): New macro.
19619 (modf_test_data): New variable.
19620 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19622 * math/libm-test.inc (struct test_f_f1_data): New type.
19623 (RUN_TEST_LOOP_f_f1): New macro.
19624 (gamma_test_data): New variable.
19625 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19626 (lgamma_test_data): New variable.
19627 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19629 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19632 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19633 (main): Comment "tls" pseudo-hwcap.
19635 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19637 * math/libm-test.inc (struct test_fl_f_data): New type.
19638 (RUN_TEST_LOOP_fl_f): New variable.
19639 (scalbln_test_data): New variable.
19640 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19642 * math/libm-test.inc (struct test_fi_f_data): New type.
19643 (RUN_TEST_LOOP_fi_f): New macro.
19644 (ldexp_test_data): New variable.
19645 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19646 (scalbn_test_data): New variable.
19647 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19649 * math/libm-test.inc (struct test_c_f_data): New type.
19650 (RUN_TEST_LOOP_c_f): New macro.
19651 (cabs_test_data): New variable.
19652 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19653 (carg_test_data): New variable.
19654 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19655 (cimag_test_data): New variable.
19656 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19657 (creal_test_data): New variable.
19658 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19660 * math/libm-test.inc (struct test_if_f_data): New type.
19661 (RUN_TEST_LOOP_if_f): New macro.
19662 (jn_test_data): New variable.
19663 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19664 (yn_test_data): New variable.
19665 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19667 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19669 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19671 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19672 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19674 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19676 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19677 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19678 (bench-deps): Add bench-timing.h.
19679 * benchtests-bench-skeleton.c: Include bench-timing.h.
19680 (main): Use TIMING_* macros instead of clock_gettime.
19681 * benchtests/bench-timing.h: New file.
19684 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19685 Renamed from _LIB_VERSION.
19686 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19688 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19690 * math/libm-test.inc (struct test_fff_f_data): New type.
19691 (RUN_TEST_LOOP_fff_f): New macro.
19692 (fma_test_data): New variable.
19693 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19694 (fma_towardzero_test_data): New variable.
19695 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19696 (fma_downward_test_data): New variable.
19697 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19698 (fma_upward_test_data): New variable.
19699 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19701 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19702 (struct test_c_c_data): New type.
19703 (RUN_TEST_LOOP_c_c): New macro.
19704 (cacos_test_data): New variable.
19705 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19706 (cacosh_test_data): New variable.
19707 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19708 (casin_test_data): New variable.
19709 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19710 (casinh_test_data): New variable.
19711 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19712 (catan_test_data): New variable.
19713 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19714 (catanh_test_data): New variable.
19715 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19716 (ccos_test_data): New variable.
19717 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19718 (ccosh_test_data): New variable.
19719 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19720 (cexp_test_data): New variable.
19721 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19722 (clog_test_data): New variable.
19723 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19724 (clog10_test_data): New variable.
19725 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19726 (conj_test_data): New variable.
19727 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19728 (cproj_test_data): New variable.
19729 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19730 (csin_test_data): New variable.
19731 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19732 (csinh_test_data): New variable.
19733 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19734 (csqrt_test_data): New variable.
19735 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19736 (ctan_test_data): New variable.
19737 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19738 (ctan_tonearest_test_data): New variable.
19739 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19740 (ctan_towardzero_test_data): New variable.
19741 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19742 (ctan_downward_test_data): New variable.
19743 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19744 (ctan_upward_test_data): New variable.
19745 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19746 (ctanh_test_data): New variable.
19747 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19748 (ctanh_tonearest_test_data): New variable.
19749 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19750 (ctanh_towardzero_test_data): New variable.
19751 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19752 (ctanh_downward_test_data): New variable.
19753 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19754 (ctanh_upward_test_data): New variable.
19755 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19756 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19759 * math/libm-test.inc (struct test_ff_f_data): New type.
19760 (struct test_ff_f_data_nexttoward): Likewise.
19761 (RUN_TEST_LOOP_2_f): New macro.
19762 (RUN_TEST_LOOP_ff_f): Likewise.
19763 (atan2_test_data): New variable.
19764 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19765 (copysign_test_data): New variable.
19766 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19767 (fdim_test_data): New variable.
19768 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19769 (fmax_test_data): New variable.
19770 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19771 (fmin_test_data): New variable.
19772 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19773 (fmod_test_data): New variable.
19774 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19775 (hypot_test_data): New variable.
19776 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19777 (nextafter_test_data): New variable.
19778 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19779 (nexttoward_test_data): New variable.
19780 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19781 (pow_test_data): New variable.
19782 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19783 (pow_tonearest_test_data): New variable.
19784 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19785 (pow_towardzero_test_data): New variable.
19786 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19787 (pow_downward_test_data): New variable.
19788 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19789 (pow_upward_test_data): New variable.
19790 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19791 (remainder_test_data): New variable.
19792 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19793 (scalb_test_data): New variable.
19794 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19795 * sysdeps/i386/fpu/libm-test-ulps: Update.
19797 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19799 * math/libm-test.inc (fma_test): Use max_value instead of local
19801 (nextafter_test): Likewise.
19803 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19804 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19805 (acos_downward_test_data): New variable.
19806 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19807 (acos_upward_test_data): New variable.
19808 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19809 (acosh_test_data): New variable.
19810 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19811 (asin_test_data): New variable.
19812 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19813 (asin_tonearest_test_data): New variable.
19814 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19815 (asin_towardzero_test_data): New variable.
19816 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19817 (asin_downward_test_data): New variable.
19818 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19819 (asin_upward_test_data): New variable.
19820 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19821 (asinh_test_data): New variable.
19822 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19823 (atan_test_data): New variable.
19824 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19825 (atanh_test_data): New variable.
19826 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19827 (cbrt_test_data): New variable.
19828 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19829 (ceil_test_data): New variable.
19830 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19831 (cos_test_data): New variable.
19832 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19833 (cos_tonearest_test_data): New variable.
19834 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19835 (cos_towardzero_test_data): New variable.
19836 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19837 (cos_downward_test_data): New variable.
19838 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19839 (cos_upward_test_data): New variable.
19840 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19841 (cosh_test_data): New variable.
19842 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19843 (cosh_tonearest_test_data): New variable.
19844 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19845 (cosh_towardzero_test_data): New variable.
19846 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19847 (cosh_downward_test_data): New variable.
19848 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19849 (cosh_upward_test_data): New variable.
19850 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19851 (erf_test_data): New variable.
19852 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19853 (erfc_test_data): New variable.
19854 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19855 (exp_test_data): New variable.
19856 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19857 (exp_tonearest_test_data): New variable.
19858 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19859 (exp_towardzero_test_data): New variable.
19860 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19861 (exp_downward_test_data): New variable.
19862 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19863 (exp_upward_test_data): New variable.
19864 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19865 (exp10_test_data): New variable.
19866 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19867 (exp2_test_data): New variable.
19868 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19869 (expm1_test_data): New variable.
19870 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19871 (fabs_test_data): New variable.
19872 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19873 (floor_test_data): New variable.
19874 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19875 (j0_test_data): New variable.
19876 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19877 (j1_test_data): New variable.
19878 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19879 (log_test_data): New variable.
19880 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19881 (log10_test_data): New variable.
19882 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19883 (log1p_test_data): New variable.
19884 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19885 (log2_test_data): New variable.
19886 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19887 (logb_test_data): New variable.
19888 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19889 (logb_downward_test_data): New variable.
19890 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19891 (nearbyint_test_data): New variable.
19892 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19893 (rint_test_data): New variable.
19894 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19895 (rint_tonearest_test_data): New variable.
19896 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19897 (rint_towardzero_test_data): New variable.
19898 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19899 (rint_downward_test_data): New variable.
19900 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19901 (rint_upward_test_data): New variable.
19902 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19903 (round_test_data): New variable.
19904 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19905 (sin_test_data): New variable.
19906 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19907 (sin_tonearest_test_data): New variable.
19908 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19909 (sin_towardzero_test_data): New variable.
19910 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19911 (sin_downward_test_data): New variable.
19912 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19913 (sin_upward_test_data): New variable.
19914 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19915 (sinh_test_data): New variable.
19916 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19917 (sinh_tonearest_test_data): New variable.
19918 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19919 (sinh_towardzero_test_data): New variable.
19920 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19921 (sinh_downward_test_data): New variable.
19922 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19923 (sinh_upward_test_data): New variable.
19924 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19925 (sqrt_test_data): New variable.
19926 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19927 (tan_test_data): New variable.
19928 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19929 (tan_tonearest_test_data): New variable.
19930 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19931 (tan_towardzero_test_data): New variable.
19932 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19933 (tan_downward_test_data): New variable.
19934 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19935 (tan_upward_test_data): New variable.
19936 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19937 (tanh_test_data): New variable.
19938 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19939 (tgamma_test_data): New variable.
19940 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19941 (trunc_test_data): New variable.
19942 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19943 (y0_test_data): New variable.
19944 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19945 (y1_test_data): New variable.
19946 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19947 (significand_test_data): New variable.
19948 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19950 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19953 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19955 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19957 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19959 2013-05-10 Andreas Jaeger <aj@suse.de>
19962 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19963 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19965 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19967 * math/gen-libm-test.pl (adjust_arg): New function.
19968 (special_functions): Handle generating output in both functions
19970 (parse_args): Likewise.
19971 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19972 $in_func argument to parse_args.
19973 * math/libm-test.inc (struct test_f_f_data): New type.
19974 (IF_ROUND_INIT_): New macro.
19975 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19976 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19977 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19978 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19979 (ROUND_RESTORE_): Likewise.
19980 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19981 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19982 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19983 (ROUND_RESTORE_FE_UPWARD): Likewise.
19984 (RUN_TEST_LOOP_f_f): New macro.
19985 (acos_test_data): New variable.
19986 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19987 (acos_tonearest_test_data): New variable.
19988 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19990 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19992 * benchtests/bench-skeleton.c (startup): Fix coding style.
19994 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19997 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19998 negative infinity argument.
19999 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20000 negative infinity argument.
20001 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20002 negative infinity argument.
20003 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20006 2013-05-10 Florian Weimer <fweimer@redhat.com>
20008 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20009 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20010 * iconv/iconv_prog.c (main): Likewise.
20011 * locale/programs/charmap-dir.c (charmap_readdir)
20012 (fopen_uncompressed): Likewise.
20013 * locale/programs/locfile.c (siblings_uncached)
20014 (write_locale_data): Use lstat64 instead of lstat.
20015 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20018 2013-05-10 Andreas Jaeger <aj@suse.de>
20021 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20023 Include <locale.h>.
20025 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20027 * elf/dl-close.c (_dl_close_worker): Add comments.
20029 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20032 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20034 (__ieee754_rem_pio2l): Update comments.
20037 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20039 (__ieee754_rem_pio2l): Update comments.
20041 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20042 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20044 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20047 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20048 (M_PI_34_LOG10El): Likewise.
20049 (M_PI2_LOG10El): Likewise.
20050 (M_PI4_LOG10El): Likewise.
20051 (M_PI_LOG10El): Likewise.
20053 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20057 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20059 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20060 (MINUS_ZERO_INIT): Likewise.
20061 (PLUS_INFTY_INIT): Likewise.
20062 (MINUS_INFTY_INIT): Likewise.
20063 (QNAN_VALUE_INIT): Likewise.
20064 (MAX_VALUE_INIT): Likewise.
20065 (MIN_VALUE_INIT): Likewise.
20066 (MIN_SUBNORM_VALUE_INIT): Likewise.
20067 (plus_zero): Initialize with PLUS_ZERO_INIT.
20068 (minus_zero): Initialize with MINUS_ZERO_INIT.
20069 (plus_infty): Initialize with PLUS_INFTY_INIT.
20070 (minus_infty): Initialize with MINUS_INFTY_INIT.
20071 (qnan_value): Initialize with QNAN_VALUE_INIT.
20072 (max_value): Initialize with MAX_VALUE_INIT.
20073 (min_value): Initialize with MIN_VALUE_INIT.
20074 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20076 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20077 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20078 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20079 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20081 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20082 (RUN_TEST_2_f): Likewise.
20083 (RUN_TEST_ff_f): Likewise.
20084 (RUN_TEST_fi_f): Likewise.
20085 (RUN_TEST_fl_f): Likewise.
20086 (RUN_TEST_fff_f): Likewise.
20087 (RUN_TEST_c_f): Likewise.
20088 (RUN_TEST_f_f1): Likewise.
20089 (RUN_TEST_fF_f1): Likewise.
20090 (RUN_TEST_fI_f1): Likewise.
20091 (RUN_TEST_ffI_f1): Likewise.
20092 (RUN_TEST_c_c): Likewise.
20093 (RUN_TEST_cc_c): Likewise.
20094 (RUN_TEST_f_i): Likewise.
20095 (RUN_TEST_f_i_tg): Likewise.
20096 (RUN_TEST_ff_i_tg): Likewise.
20097 (RUN_TEST_f_b): Likewise.
20098 (RUN_TEST_f_b_tg): Likewise.
20099 (RUN_TEST_f_l): Likewise.
20100 (RUN_TEST_f_L): Likewise.
20101 (RUN_TEST_sincos): Likewise.
20102 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20103 whether to show exceptions. Do not include ");\n" in return
20105 (special_functions): Output call to RUN_TEST_sincos instead of
20106 check_float calls. Update calls to new_test.
20107 (parse_args): Output call to single RUN_TEST_* macro instead of
20108 check_* calls and other assignments. Update calls to new_test.
20114 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20115 input to result for tgamma overflow.
20116 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20117 (gamma_coeff): New variable.
20118 (NCOEFF): New macro.
20119 (gamma_positive): New function.
20120 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20121 underflow here. Use gamma_positive instead of exp (lgamma) for
20123 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20124 (gamma_coeff): New variable.
20125 (NCOEFF): New macro.
20126 (gammaf_positive): New function.
20127 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20128 underflow here. Use gamma_positive instead of exp (lgamma) for
20130 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20131 (gamma_coeff): New variable.
20132 (NCOEFF): New macro.
20133 (gammal_positive): New function.
20134 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20135 underflow here. Use gamma_positive instead of exp (lgamma) for
20137 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20138 (gamma_coeff): New variable.
20139 (NCOEFF): New macro.
20140 (gammal_positive): New function.
20141 (__ieee754_gammal_r): Handle positive infinity, overflow and
20142 underflow here. Handle NaN the same as positive infinity. Remove
20143 check x < 0xffffffff for negative integers. Use gamma_positive
20144 instead of exp (lgamma) for other arguments.
20145 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20146 (gamma_coeff): New variable.
20147 (NCOEFF): New macro.
20148 (gammal_positive): New function.
20149 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20150 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20151 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20152 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20153 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20154 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20155 * sysdeps/generic/math_private.h (__gamma_productf): New
20157 (__gamma_product): Likewise.
20158 (__gamma_productl): Likewise.
20159 * math/Makefile (libm-calls): Add gamma_product.
20160 * math/libm-test.inc (tgamma_test): Add more tests.
20161 * sysdeps/i386/fpu/libm-test-ulps: Update.
20162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20164 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20166 * benchtests/bench-skeleton.c (main): Preheat CPU.
20168 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20170 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20172 2013-05-07 Roland McGrath <roland@hack.frob.com>
20174 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20175 and _dl_skip_args_internal.
20177 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20179 * manual/message.texi (Message Translation): Talk about users.
20180 Message to key mapping impacts design.
20182 2013-05-06 Roland McGrath <roland@hack.frob.com>
20184 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20186 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20188 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20189 * sysdeps/wordsize-64/glob64.c: ... here.
20191 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20192 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20195 * debug/getlogin_r_chk.c: Moved to ...
20196 * login/getlogin_r_chk.c: ... here.
20197 * debug/Makefile (routines): Move getlogin_r_chk to ...
20198 * login/Makefile (routines): ... here.
20199 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20200 * login/Versions (libc: GLIBC_2.4): ... here.
20202 * io/poll.c (__poll): Renamed from poll.
20203 Add libc_hidden_def.
20204 (poll): Define as weak alias.
20206 * debug/ptsname_r_chk.c: Moved to ...
20207 * login/ptsname_r_chk.c: ... here.
20208 * debug/Makefile (routines): Move ptsname_r_chk to ...
20209 * login/Makefile (routines): ... here.
20210 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20211 * login/Versions (libc: GLIBC_2.4): ... here.
20213 * posix/getlogin.c: Moved to ...
20214 * login/getlogin.c: ... here.
20215 * posix/getlogin_r.c: Moved to ...
20216 * login/getlogin_r.c: ... here.
20217 * posix/getlogin_r.c: Moved to ...
20218 * login/getlogin_r.c: ... here.
20219 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20220 * login/Makefile (routines): ... here.
20221 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20222 * login/Versions (libc: GLIBC_2.0): ... here.
20224 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20225 (setrlimit): Define as weak alias.
20227 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20228 Call __ names for open, ftruncate, and close.
20229 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20230 (truncate): Define as weak alias.
20232 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20234 * math/gen-libm-test.pl (parse_args): Initialize x before each
20235 test of frexp, modf and remquo.
20237 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20238 test signgam value.
20240 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20244 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20246 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20248 2013-05-06 Roland McGrath <roland@hack.frob.com>
20250 * elf/dl-writev.h: New file.
20251 * elf/dl-misc.c: Include it.
20252 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20253 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20255 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20257 * math/libm-test.inc (noXFails): Remove variable.
20258 (noXPasses): Likewise.
20259 (BUILD_COMPLEX_INT): Remove macro.
20260 (print_screen): Remove xfail argument.
20261 (print_screen_max_error): Likewise.
20262 (update_stats): Likewise.
20263 (print_max_error): Likewise. Update calls to other affected
20265 (print_complex_max_error): Likewise.
20266 (test_single_exception): Update calls to print_screen.
20267 (test_single_errno): Likewise.
20268 (check_float_internal): Remove xfail argument. Update calls to
20269 other affected functions.
20270 (check_float): Likewise.
20271 (check_complex): Likewise.
20272 (check_int): Likewise.
20273 (check_long): Likewise.
20274 (check_bool): Likewise.
20275 (check_longlong): Likewise.
20276 (main): Don't print noXFails and noXPasses.
20277 * math/gen-libm-test.pl (top level): Don't mention expected
20278 failure handling in comment.
20279 (new_test): Don't handle expected failures.
20280 (parse_args): Don't mention expected failure handling in comment.
20281 (generate_testfile): Don't handle expected failures.
20282 (parse_ulps): Likewise.
20283 (print_ulps_file): Likewise.
20284 (get_failure): Remove function.
20285 (output_test): Don't handle expected failures.
20286 * make/README.libm-test: Don't mention expected failure handling.
20288 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20289 (minus_zero): Likewise.
20290 (plus_infty): Likewise.
20291 (minus_infty): Likewise.
20292 (qnan_value): Likewise.
20293 (max_value): Likewise.
20294 (min_value): Likewise.
20295 (min_subnorm_value): Likewise.
20296 (initialize): Do not initialize those variables dynamically.
20298 2013-05-03 Roland McGrath <roland@hack.frob.com>
20300 * io/open.c (__open_2): Moved to ...
20301 * io/open_2.c: ... this new file.
20302 * io/open64.c (__open64_2): Moved to ...
20303 * io/open64_2.c: ... this new file.
20304 * io/openat.c (__openat_2): Moved to ...
20305 * io/openat_2.c: ... this new file.
20306 * io/openat64.c (__openat64_2): Moved to ...
20307 * io/openat64_2.c: ... this new file.
20308 * io/Makefile (routines): Add them.
20309 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20310 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20311 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20312 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20313 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20314 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20315 (__openat64): Add hidden_ver.
20316 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20317 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20319 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20320 Separately conditionalize setting of GLRO(dl_sysinfo) so
20321 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20322 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20324 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20326 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20327 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20329 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20330 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20331 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20332 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20333 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20335 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20337 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20338 test signgam value.
20340 * math/libm-test.inc (hypot_test): Do not use
20341 IGNORE_ZERO_INF_SIGN.
20343 2013-05-03 Andreas Jaeger <aj@suse.de>
20345 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20347 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20348 (PF_MAX): Adjust for VSOCK change.
20350 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20354 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20357 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20358 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20359 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20361 2013-05-02 David S. Miller <davem@davemloft.net>
20363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20365 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20367 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20369 2013-05-01 Roland McGrath <roland@hack.frob.com>
20371 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20373 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20376 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20377 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20378 Use __attribute__ ((__gnu_inline__)).
20379 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20380 Don't use __attribute__ ((__gnu_inline__)).
20382 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20385 * math/s_catan.c (__catan): Handle small real or imaginary part of
20386 input specially to avoid spurious underflow.
20387 * math/s_catanf.c (__catanf): Likewise.
20388 * math/s_catanh.c (__catanh): Likewise.
20389 * math/s_catanhf.c (__catanhf): Likewise.
20390 * math/s_catanhl.c (__catanhl): Likewise.
20391 * math/s_catanl.c (__catanl): Likewise.
20392 * math/libm-test.inc (catan_test): Add more tests.
20393 (catanh_test): Likewise.
20394 * sysdeps/i386/fpu/libm-test-ulps: Update.
20395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20397 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20401 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20404 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20405 accurately for denominator in atan2.
20406 * math/s_catanf.c (__catanf): Likewise.
20407 * math/s_catanh.c (__catanh): Likewise.
20408 * math/s_catanhf.c (__catanhf): Likewise.
20409 * math/s_catanhl.c (__catanhl): Likewise.
20410 * math/s_catanl.c (__catanl): Likewise.
20411 * math/libm-test.inc (catan_test): Add more tests.
20412 (catanh_test): Likewise.
20413 * sysdeps/i386/fpu/libm-test-ulps: Update.
20414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20416 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20418 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20420 * benchtests/Makefile (bench): Remove slow benchmarks.
20421 * benchtests/atan-inputs: Add slow benchmark inputs.
20422 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20423 (BENCH_FUNC): Accept variant offset.
20425 * benchtests/bench-skeleton.c (main): Run benchmark for each
20427 * benchtests/cos-inputs: Add slow benchmark inputs.
20428 * benchtests/exp-inputs: Likewise.
20429 * benchtests/pow-inputs: Likewise.
20430 * benchtests/sin-inputs: Likewise.
20431 * benchtests/slowatan-inputs: Remove.
20432 * benchtests/slowatan.c: Remove.
20433 * benchtests/slowcos-inputs: Remove.
20434 * benchtests/slowcos.c: Remove.
20435 * benchtests/slowexp-inputs: Remove.
20436 * benchtests/slowexp.c: Remove.
20437 * benchtests/slowpow-inputs: Remove.
20438 * benchtests/slowpow.c: Remove.
20439 * benchtests/slowsin-inputs: Remove.
20440 * benchtests/slowsin.c: Remove.
20441 * benchtests/slowtan-inputs: Remove.
20442 * benchtests/slowtan.c: Remove.
20443 * benchtests/tan-inputs: Add slow benchmark inputs.
20444 * scripts/bench.pl: Parse comments and directives.
20446 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20448 ($(objpfx)bench-%.c): Remove *-ITER.
20449 * benchtests/bench-modf.c: Remove definition of ITER.
20450 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20451 (main): Loop for DURATION seconds instead of fixed number of
20453 * scripts/bench.pl: Don't expect iterations in parameters.
20455 2013-04-29 Roland McGrath <roland@hack.frob.com>
20457 * io/fchdir.c (__fchdir): Renamed from fchdir.
20458 (fchdir): Define as weak alias.
20460 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20462 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20463 (ERRNO_EDOM): Likewise.
20464 (ERRNO_ERANGE): Likewise.
20465 (noErrnoTests): New variable.
20466 (init_max_error): Set errno to 0.
20467 (test_single_errno): New function.
20468 (test_errno): Likewise.
20469 (check_float_internal): Call test_errno. Set errno to 0.
20470 (check_complex): Refer to errno tests in comment.
20471 (check_int): Call test_errno. Set errno to 0.
20472 (check_long): Likewise.
20473 (check_bool): Likewise.
20474 (check_longlong): Likewise.
20475 (cos_test): Use ERRNO_* flags for errno tests instead of
20477 (expm1_test): Likewise.
20478 (fmod_test): Likewise.
20479 (ilogb_test): Likewise.
20480 (lgamma_test): Likewise.
20481 (pow_test): Likewise.
20482 (remainder_test): Likewise.
20483 (sin_test): Likewise.
20484 (tan_test): Likewise.
20485 (yn_test): Likewise.
20486 (initialize): Set errno to 0.
20487 (main): Print number of errno tests.
20488 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20490 2013-04-29 Andreas Jaeger <aj@suse.de>
20493 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20497 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20498 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20502 * stdlib/random.c (__initstate): Return NULL if
20506 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20507 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20510 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20514 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20516 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20517 of individual tests.
20518 (casin_test): Likewise.
20519 (casinh_test): Likewise.
20521 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20524 * math/s_catan.c (__catan): Handle arguments with large real or
20525 imaginary part separately without squaring.
20526 * math/s_catanf.c (__catanf): Likewise.
20527 * math/s_catanh.c (__catanh): Likewise.
20528 * math/s_catanhf.c (__catanhf): Likewise.
20529 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20531 (__catanhl): Handle arguments with large real or imaginary part
20532 separately without squaring.
20533 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20535 (__catanl): Handle arguments with large real or imaginary part
20536 separately without squaring.
20537 * math/libm-test.inc (catan_test): Add more tests.
20538 (catanh_test): Likewise.
20539 * sysdeps/i386/fpu/libm-test-ulps: Update.
20540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20542 2013-04-27 Andreas Jaeger <aj@suse.de>
20545 * stdlib/stdlib.h: Update guards for qecvt.
20546 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20549 2013-04-27 Allan McRae <allan@archlinux.org>
20551 * sysdeps/i386/fpu/libm-test-ulps: Update.
20553 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20556 * math/s_catan.c: Include <float.h>.
20557 (__catan): Ensure underflow exception occurs for underflowed
20559 * math/s_catanf.c: Include <float.h>.
20560 (__catanf): Ensure underflow exception occurs for underflowed
20562 * math/s_catanh.c: Include <float.h>.
20563 (__catanh): Ensure underflow exception occurs for underflowed
20565 * math/s_catanhf.c: Include <float.h>.
20566 (__catanhf): Ensure underflow exception occurs for underflowed
20568 * math/s_catanhl.c: Include <float.h>.
20569 (__catanhl): Ensure underflow exception occurs for underflowed
20571 * math/s_catanl.c: Include <float.h>.
20572 (__catanl): Ensure underflow exception occurs for underflowed
20574 * math/libm-test.inc (catan_test): Add more tests.
20575 (catanh_test): Likewise.
20578 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20579 underflowed result.
20580 * math/s_ccoshf.c (__ccoshf): Likewise.
20581 * math/s_ccoshl.c (__ccoshl): Likewise.
20582 * math/s_csin.c (__csin): Likewise.
20583 * math/s_csinf.c (__csinf): Likewise.
20584 * math/s_csinh.c (__csinh): Likewise.
20585 * math/s_csinhf.c (__csinhf): Likewise.
20586 * math/s_csinhl.c (__csinhl): Likewise.
20587 * math/s_csinl.c (__csinl): Likewise.
20588 * math/libm-test.inc (ccos_test): Add more tests.
20589 (ccosh_test): Likewise.
20590 (csin_test): Likewise.
20591 (csinh_test): Likewise.
20593 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20595 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20596 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20597 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20598 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20599 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20600 powerpc/power5+/fpu folders.
20601 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20604 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20608 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20610 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20611 additions to variable.
20612 [$(config-machine) = x86_64] (modules-names): Likewise.
20613 ($(objpfx)tst-audit3): Remove dependency.
20614 ($(objpfx)tst-audit3.out): Likewise.
20615 ($(objpfx)tst-audit4): Likewise.
20616 ($(objpfx)tst-audit4.out): Likewise.
20617 ($(objpfx)tst-audit5): Likewise.
20618 ($(objpfx)tst-audit5.out): Likewise.
20619 ($(objpfx)tst-audit6): Likewise.
20620 ($(objpfx)tst-audit6.out): Likewise.
20621 ($(objpfx)tst-audit7): Likewise.
20622 ($(objpfx)tst-audit7.out): Likewise.
20623 (tst-audit3-ENV): Remove variable.
20624 (tst-audit4-ENV): Likewise.
20625 (tst-audit5-ENV): Likewise.
20626 (tst-audit6-ENV): Likewise.
20627 (tst-audit7-ENV): Likewise.
20628 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20629 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20630 addition to variable.
20631 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20632 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20633 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20634 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20635 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20636 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20637 tst-audit3, tst-audit4 and tst-audit5.
20638 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20639 tst-audit6 and tst-audit7.
20640 [$(subdir) = elf] (modules-names): Add audit modules for those
20642 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20643 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20644 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20645 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20646 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20647 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20648 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20649 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20650 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20651 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20652 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20653 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20654 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20655 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20656 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20657 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20659 [$(subdir) = elf && $(config-cflags-avx) = yes]
20660 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20661 [$(subdir) = elf && $(config-cflags-avx) = yes]
20662 (CFLAGS-tst-auditmod4a.c): Likewise.
20663 [$(subdir) = elf && $(config-cflags-avx) = yes]
20664 (CFLAGS-tst-auditmod4b.c): Likewise.
20665 [$(subdir) = elf && $(config-cflags-avx) = yes]
20666 (CFLAGS-tst-auditmod6b.c): Likewise.
20667 [$(subdir) = elf && $(config-cflags-avx) = yes]
20668 (CFLAGS-tst-auditmod6c.c): Likewise.
20669 [$(subdir) = elf && $(config-cflags-avx) = yes]
20670 (CFLAGS-tst-auditmod7b.c): Likewise.
20671 * elf/tst-audit3.c: Move to ...
20672 * sysdeps/x86_64/tst-audit3.c: ... here.
20673 * elf/tst-audit4.c: Move to ...
20674 * sysdeps/x86_64/tst-audit4.c: ... here.
20675 * elf/tst-audit5.c: Move to ...
20676 * sysdeps/x86_64/tst-audit5.c: ... here.
20677 * elf/tst-audit6.c: Move to ...
20678 * sysdeps/x86_64/tst-audit6.c: ... here.
20679 * elf/tst-audit7.c: Move to ...
20680 * sysdeps/x86_64/tst-audit7.c: ... here.
20681 * elf/tst-auditmod3a.c: Move to ...
20682 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20683 * elf/tst-auditmod3b.c: Move to ...
20684 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20685 * elf/tst-auditmod4a.c: Move to ...
20686 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20687 * elf/tst-auditmod4b.c: Move to ...
20688 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20689 * elf/tst-auditmod5a.c: Move to ...
20690 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20691 * elf/tst-auditmod5b.c: Move to ...
20692 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20693 * elf/tst-auditmod6a.c: Move to ...
20694 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20695 * elf/tst-auditmod6b.c: Move to ...
20696 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20697 * elf/tst-auditmod6c.c: Move to ...
20698 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20699 * elf/tst-auditmod7a.c: Move to ...
20700 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20701 * elf/tst-auditmod7b.c: Move to ...
20702 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20704 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20707 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20708 define unconditionally.
20709 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20710 define unconditionally.
20711 (INT8_C, INT16_C, etc.): Likewise.
20713 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20715 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20716 __ehdr_start with hidden visibility.
20718 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20720 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20722 * math/libm-test.inc (cos_test): Use accurate hex constants.
20723 (sincost_test): Likewise.
20725 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20727 * math/libm-test.inc (catan_test): Add more tests.
20728 (catanh_test): Likewise.
20730 * math/s_catanf.c (__catanf): Use suffixed floating-point
20732 * math/s_catanhf.c (__catanhf): Likewise.
20733 * math/s_catanhl.c (__catanhl): Likewise.
20734 * math/s_catanl.c (__catanl): Likewise.
20737 * math/s_catan.c (__catan): Calculate imaginary part of result
20738 with log1p not log unless computing log of number close to 0.
20739 * math/s_catanf.c (__catanf): Likewise.
20740 * math/s_catanl.c (__catanl): Likewise.
20741 * math/s_catanh.c (__catanh): Calculate real part of result with
20742 log1p not log unless computing log of number close to 0.
20743 * math/s_catanhf.c (__catanhf): Likewise.
20744 * math/s_catanhl.c (__catanhl): Likewise.
20745 * math/libm-test.inc (catan_test): Add more tests.
20746 (catanh_test): Likewise.
20747 * sysdeps/i386/fpu/libm-test-ulps: Update.
20748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20750 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20752 * benchtests/Makefile: Mention files in which fast and slow
20753 paths of math functions are implemented.
20755 2013-04-23 Roland McGrath <roland@hack.frob.com>
20757 * sysdeps/posix/timespec_get.c: New file.
20759 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20761 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20763 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20765 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20766 powerpc/power5/fpu folders.
20767 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20768 * benchtests/Makefile: Add modf testcase.
20769 * benchtests/bench-modf.c: New file: Benchmark test for mo
20771 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20774 * time/Makefile (tests): Add tst-strptime-whitespace.
20775 * time/strptime_l.c (get_number): Use ISSPACE.
20776 (__strptime_internal): Likewise.
20777 * time/tst-strptime-whitespace.c: New test case.
20779 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20781 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20783 (_nss_files_init): Set it here.
20785 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20787 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20788 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20791 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20793 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20795 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20797 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20800 2013-04-21 David S. Miller <davem@davemloft.net>
20802 * po/ru.po: Update Russion translation from translation project.
20804 2013-04-17 Adam Conrad <adconrad@0c3.net>
20806 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20809 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20811 * configure.in: Remove i386 configure warning. Remove i386 case.
20812 * configure: Regenerate.
20813 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20814 Add example to error message.
20815 * sysdeps/i386/configure: Regenerate.
20817 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20819 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20821 * benchtests/cos-inputs: New file.
20822 * benchtests/slowcos-inputs: New file.
20823 * benchtests/slowcos.c: New file.
20824 * benchtests/slowtan-inputs: New file.
20825 * benchtests/slowtan.c: New file.
20826 * benchtests/tan-inputs: New file.
20828 2013-04-16 Roland McGrath <roland@hack.frob.com>
20830 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20833 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20835 * benchtests/Makefile: Include cppflags-iterator.mk to add
20836 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20838 * Makefile.in (bench-clean): New target.
20839 * benchtests/Makefile (bench-clean): Likewise.
20841 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20843 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20845 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20847 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20849 2013-04-15 Andreas Schwab <schwab@suse.de>
20851 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20852 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20853 * nscd/pwdcache.c (cache_addpw): Likewise.
20854 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20857 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20859 * benchtests/Makefile (bench): Write all output to
20860 bench-out.tmp together.
20862 2013-04-15 Andreas Schwab <schwab@suse.de>
20864 * nscd/nscd.c (main): Don't fork again after closing files.
20866 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20868 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20870 * benchtests/Rules (bench-deps): Collect dependencies into a
20871 single variable. Add Makefile to dependencies.
20872 ($(objpfx)bench-%.c): Depend on bench-deps.
20874 2013-04-12 Roland McGrath <roland@hack.frob.com>
20875 Xavier Roche <roche+kml2@exalead.com>
20878 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20879 just that it's a file descriptor.
20880 * manual/llio.texi (Synchronizing AIO Operations): Update description
20881 for EBADF error from aio_fsync.
20883 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20885 * Rules (bench): Move target definition...
20886 * benchtests/Makefile: ... here.
20888 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20890 * math/libm-test.inc (cos_test): Fix PI/2 test.
20891 (sincos_test): Likewise.
20892 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20893 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20895 2013-04-11 Andreas Schwab <schwab@suse.de>
20898 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20899 accept exponent character only when digits were seen.
20900 * stdio-common/Makefile (tests): Add bug26.
20901 * stdio-common/bug26.c: New file.
20904 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20907 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20909 * Makeconfig (rtld-prefix): Define built linker prefix.
20910 * Rules (run-bench): Use it.
20911 * math/Makefile (run-regen-ulps): Likewise.
20913 * Rules (bench): Remove eval.
20915 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20916 Roland McGrath <roland@hack.frob.com>
20917 Ondrej Bilka <neleai@seznam.cz>
20920 * time/getdate.c: Include ctype.h and alloca.h.
20921 (__getdate_r): Trim leading and trailing spaces of input.
20922 * time/tst-getdate.c (tests): Add tests with leading and
20925 2013-04-08 Roland McGrath <roland@hack.frob.com>
20928 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20929 when computing value.
20931 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20933 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20934 Use testrun.sh to run libm tests.
20937 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20939 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20942 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20944 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20946 * Makefile.in (regen-ulps): New target.
20947 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20948 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20949 [ifneq (no,$(PERL)] (regen-ulps): New target.
20950 [ifeq (no,$(PERL)] (regen-ulps): New target.
20951 * math/libm-test.inc (ulps_file_name): Define.
20952 (output_dir): New variable.
20953 (options): Add "output-dir" option.
20954 (parse_opt): Handle 'o' case.
20955 (main): If output_dir is non-NULL use it as a prefix
20957 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20959 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20961 [BZ #10060, #10062]
20962 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20963 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20964 fail configure if __sync_val_compare_and_swap is not inlined.
20965 * sysdeps/i386/configure: Regenerate.
20966 * configure.in: Build for i686 when configured for i386.
20967 * configure: Regenerate.
20968 * README: Remove i386 reference.
20970 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20972 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20973 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20975 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20977 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20978 (lmsnanval): New variables.
20979 (F): Add conversion tests.
20980 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20981 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20983 * stdio-common/tstdiomisc.c (F): Properly collect individual
20986 [BZ #14686, #15336]
20987 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20988 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20989 Instead, use input NaN values or generate a qNaN by arithmetic
20990 operation. Also fix bugs to comply with the standard.
20991 * math/libm-test.inc (remainder_test): Add more tests.
20993 [BZ #15335, #15342]
20994 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20995 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20996 input NaN values or generate a qNaN by arithmetic operation.
20998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21001 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21004 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21007 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21008 underflowed result.
21009 * math/s_cexpf.c (__cexpf): Likewise.
21010 * math/s_cexpl.c (__cexpl): Likewise.
21011 * math/libm-test.inc (cexp_test): Add more tests.
21013 2013-04-03 Andreas Schwab <schwab@suse.de>
21016 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21017 order arrays from heap if bigger than alloca cutoff.
21019 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21021 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21022 (SNAN_TESTS_double): Refer to GCC PR56831.
21023 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21026 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21028 * Rules (bench): Move bench.out after the run is complete.
21030 * Rules (bench): Echo currently running benchmark.
21032 * benchtests/Makefile (bench): Add atan and slowatan.
21033 * benchtests/atan-inputs: New file.
21034 * benchtests/slowatan-inputs: New file.
21035 * benchtests/slowatan.c: New file.
21037 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21038 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21042 * sysdeps/unix/sysv/linux/kernel-features.h
21043 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21044 __ASSUME_XFS_RESTRICTED_CHOWN.
21045 * sysdeps/unix/sysv/linux/pathconf.c
21046 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21047 Save and restore errno.
21049 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21052 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21053 arguments using __kernel_casinh.
21054 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21055 arguments using __kernel_casinhf.
21056 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21057 arguments using __kernel_casinhl.
21058 * math/libm-test.inc (cacosh_test): Add more tests.
21059 * sysdeps/i386/fpu/libm-test-ulps: Update.
21060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21062 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21064 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21067 * bench/Makefile (bench): Add sin and slowsin.
21068 * benchtests/sin-inputs: New file.
21069 * benchtests/slowsin-inputs: New file.
21070 * benchtests/slowsin.c: New file.
21072 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21073 (bench): Add slowexp and slowpow.
21074 (exp-ITER): Increase iterations.
21075 (pow-ITER): Likewise.
21076 * benchtests/exp-inputs: Change input.
21077 * benchtests/pow-inputs: Likewise.
21078 * benchtests/slowexp-inputs: New file.
21079 * benchtests/slowexp.c: New file.
21080 * benchtests/slowpow-inputs: New file.
21081 * benchtests/slowpow.c: New file.
21083 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21085 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21087 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21088 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21089 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21090 * benchtests/Makefile: Add rint benchtest.
21091 * benchtests/rint-inputs: Input for rint benchtest.
21093 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21095 * Versions.def (libm): Add GLIBC_2.18.
21096 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21097 hidden libm prototypes.
21098 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21099 * math/Makefile (libm-calls): Add s_issignaling.
21100 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21101 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21102 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21104 * math/math.h [__USE_GNU] (issignaling): New macro.
21105 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21106 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21107 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21108 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21109 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21110 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21111 * manual/arith.texi (issignaling): New section.
21112 * manual/libm-err-tab.pl (@all_functions): Update comment.
21113 * math/gen-libm-test.pl (parse_args): Apply special handling for
21115 * math/libm-test.inc (print_float, issignaling_test): New
21117 (check_float_internal): Add issignaling checks.
21118 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21119 default definition.
21120 * sysdeps/powerpc/math-tests.h: New file.
21121 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21123 * math/test-snan.c (TEST_FUNC): Likewise.
21125 2013-03-30 David S. Miller <davem@davemloft.net>
21127 * po/de.po: Update from translation team.
21129 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21132 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21133 imaginary part less than 1.0 and real part less than 0.5
21135 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21136 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21137 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21138 (cacos_test): Add more tests.
21139 (casin_test): Likewise.
21140 (casinh_test): Likewise.
21141 * sysdeps/i386/fpu/libm-test-ulps: Update.
21142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21144 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21146 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21147 ONE with its value.
21149 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21150 (__pow_mp): Replace ONE and MONE with their values.
21151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21152 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21153 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21154 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21155 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21156 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21158 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21160 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21161 (__pow_mp): Replace ZERO and MZERO with their values.
21162 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21163 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21164 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21165 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21166 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21167 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21170 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21172 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21174 2013-03-28 Roland McGrath <roland@hack.frob.com>
21176 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21177 Declare with __attribute__ ((weak)).
21178 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21179 Call __call_tls_dtors only if it's not NULL.
21181 2013-03-28 Roland McGrath <roland@hack.frob.com>
21183 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21184 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21185 magic __ehdr_start linker symbol if it's defined.
21186 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21187 them up here if it was already done.
21189 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21190 (_dl_aux_init): Use const in cast when setting it.
21191 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21192 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21193 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21195 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21197 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21198 * csu/libc-tls.c: Nor here.
21199 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21201 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21202 (__libc_message): Never call vsyslog.
21204 2013-03-28 Alan Modra <amodra@gmail.com>
21206 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21208 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21211 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21214 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21218 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21221 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21222 Don't add gid passed as argument.
21224 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21226 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21229 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21230 imaginary part between 1.0 and 1.5 and real part less than 0.5
21232 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21233 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21234 * math/libm-test.inc (cacos_test): Add more tests.
21235 (casin_test): Likewise.
21236 (casinh_test): Likewise.
21237 * sysdeps/i386/fpu/libm-test-ulps: Update.
21238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21240 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21242 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21245 (denorm): Likewise.
21246 (__dbl_mp): Likewise.
21247 (add_magnitudes): Likewise.
21248 (sub_magnitudes): Likewise.
21256 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21258 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21259 (__dubcos): Likewise.
21260 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21261 (__ieee754_acos): Likewise.
21262 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21263 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21264 (__exp1): Likewise.
21265 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21266 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21268 (my_log2): Likewise.
21269 (checkint): Likewise.
21270 * sysdeps/ieee754/dbl-64/e_remainder.c
21271 (__ieee754_remainder): Likewise.
21272 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21273 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21274 (bsloww): Likewise.
21275 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21277 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21278 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21279 MANTISSA_STORE_T to store computations on mantissa. Use
21280 macros for rounding and division.
21281 (denorm): Likewise.
21282 (__dbl_mp): Likewise.
21283 (add_magnitudes): Likewise.
21284 (sub_magnitudes): Likewise.
21287 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21288 powers of two in terms of TWOPOW macro.
21289 (mp_no): Make type of mantissa as MANTISSA_T.
21290 [!RADIXI]: Define RADIXI.
21291 [!TWO52]: Define TWO52.
21292 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21294 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21296 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21297 llroundl symbol when building for PPC32.
21299 2013-03-24 Mark H Weaver <mhw@netris.org>
21301 * manual/arith.texi (Normalization Functions): Fix prototypes for
21302 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21304 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21307 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21308 high value to check if expl overflow.
21309 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21310 to check for underflow and overflow.
21311 * math/libm-test.inc: Add exp test.
21313 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21316 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21319 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21321 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21324 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21326 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21327 wrap blocks consisting of several statements.
21329 * sysdeps/generic/math-tests.h: New file.
21330 * sysdeps/i386/fpu/math-tests.h: Likewise.
21331 * math/test-snan.c: Include it.
21332 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21334 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21337 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21338 (__ieee754_j0l): Do not improve calculations using cos of twice
21339 input for inputs above LDBL_MAX / 2.0L.
21340 (__ieee754_y0l): Likewise.
21341 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21342 (__ieee754_j1l): Do not improve calculations using cos of twice
21343 input for inputs above LDBL_MAX / 2.0L.
21344 (__ieee754_y1l): Likewise.
21345 * math/libm-test.inc (j0_test): Add another test.
21346 (j1_test): Likewise.
21347 (y0_test): Likewise.
21348 (y1_test): Likewise.
21349 * sysdeps/i386/fpu/libm-test-ulps: Update.
21351 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21353 * Rules ($(objpfx)bench-%.c): Include code from a C source
21356 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21359 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21360 imaginary part 1.0 and real part less than 0.5 specially.
21361 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21362 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21363 * math/libm-test.inc (cacos_test): Add more tests.
21364 (casin_test): Likewise.
21365 (casinh_test): Likewise.
21366 * sysdeps/i386/fpu/libm-test-ulps: Update.
21367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21369 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21371 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21372 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21374 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21376 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21377 * config.make.in (config-cflags-sse4): Remove variable.
21378 (config-cflags-avx): Likewise.
21379 (config-cflags-sse2avx): Likewise.
21380 (config-cflags-novzeroupper): Likewise.
21381 (config-asflags-i686): Likewise.
21382 (have-mfma4): Likewise.
21383 (have-as-vis3): Likewise.
21385 * configure.in (MIG): Do not AC_SUBST.
21386 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21387 (libc_cv_cc_sse4): Do not AC_SUBST.
21388 (libc_cv_cc_avx): Likewise.
21389 (libc_cv_cc_sse2avx): Likewise.
21390 (libc_cv_cc_novzeroupper): Likewise.
21391 (libc_cv_cc_fma4): Likewise.
21392 (libc_cv_as_i686): Likewise.
21393 (libc_cv_sparc_as_vis3): Likewise.
21394 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21396 (config-asflags-i686): Likewise.
21397 (config-cflags-avx): Likewise.
21398 (config-cflags-sse2avx): Likewise.
21399 (have-mfma4): Likewise.
21400 (config-cflags-novzeroupper): Likewise.
21401 * sysdeps/mach/configure.in (MIG): Likewise.
21402 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21403 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21405 (config-cflags-avx): Likewise.
21406 (config-cflags-sse2avx): Likewise.
21407 (have-mfma4): Likewise.
21408 (config-cflags-novzeroupper): Likewise.
21409 * configure: Regenerated.
21410 * sysdeps/i386/configure: Likewise.
21411 * sysdeps/mach/configure: Likewise.
21412 * sysdeps/sparc/configure: Likewise.
21413 * sysdeps/x86_64/configure: Likewise.
21415 2013-03-20 Roland McGrath <roland@hack.frob.com>
21418 * locale/programs/localedef.c (options): Put N_ translation marker
21419 on argument names, not just descriptions.
21421 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21423 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21425 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21428 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21430 2013-03-19 Roland McGrath <roland@hack.frob.com>
21432 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21433 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21434 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21435 [!BEFORE_ABORT] (before_abort): New function.
21436 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21437 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21438 (writev_for_fatal): New function.
21439 (WRITEV_FOR_FATAL): New macro; call that.
21440 (backtrace_and_maps): New function.
21441 (BEFORE_ABORT): New macro; call that.
21442 (struct str_list): Type removed.
21443 (__libc_message, __libc_fatal): Functions removed.
21444 Include <sysdeps/posix/libc_fatal.c> instead.
21446 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21448 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21450 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21453 2013-03-19 Andreas Schwab <schwab@suse.de>
21455 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21456 * sysdeps/gnu/configure: Regenerate.
21458 * configure.in: Substitute libc_cv_rtlddir.
21459 * configure: Regenerate.
21460 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21461 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21462 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21463 * elf/Makefile (install-others, CFLAGS-interp.c)
21464 (ldso_install, common-ldd-rewrite): Likewise.
21465 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21466 $(inst_slibdir)/$(rtld-installed-name).
21467 * scripts/rellns-sh: Add -p option.
21468 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21471 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21473 * manual/nptl.texi: Renamed to ...
21474 * manual/threads.texi: ... this.
21475 * manual/Makefile (chapters): Update.
21477 2013-03-18 Roland McGrath <roland@hack.frob.com>
21480 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21481 on argument names, not just descriptions.
21482 * malloc/memusagestat.c (options): Likewise.
21483 * nss/getent.c (options): Likewise.
21485 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21488 * iconv/iconv_prog.c (options): Put N_ translation marker
21489 on argument names, not just descriptions.
21490 * iconv/iconvconfig.c (options): Likewise.
21492 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21494 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21495 implementation which is faster on all x86_64 architectures.
21496 Tested on AMD, Intel Nehalem, SNB, IVB.
21497 * sysdeps/x86_64/strnlen.S: Likewise.
21499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21500 Remove all multiarch strlen and strnlen versions.
21501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21502 Remove strlen and strnlen related parts.
21504 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21505 Inline strlen part.
21506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21508 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21509 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21510 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21511 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21512 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21513 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21515 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21517 * manual/memory.texi (Malloc Tunable Parameters):
21518 Sort parameters alphabetically. Add comments for missing entries.
21520 2013-03-17 David S. Miller <davem@davemloft.net>
21522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21524 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21527 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21528 for arguments at most half maximum finite value.
21529 * math/libm-test.inc (j0_test): Add more tests.
21530 (j1_test): Likewise.
21531 (y0_test): Likewise.
21532 (y1_test): Likewise.
21533 * sysdeps/i386/fpu/libm-test-ulps: Update.
21534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21537 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21538 1 / x and functions P and Q for arguments above 0x1p256L.
21539 (__ieee754_y0l): Likewise.
21540 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21541 (__ieee754_y1l): Likewise.
21542 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21543 (j1_test): Likewise.
21544 (y0_test): Likewise.
21545 (y1_test): Likewise.
21547 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21549 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21552 2013-03-15 Roland McGrath <roland@hack.frob.com>
21554 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21555 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21556 zero since it's initialized to EXEC_PAGESIZE.
21558 * sysdeps/unix/sysv/linux/ldsodefs.h
21559 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21560 * sysdeps/generic/ldsodefs.h: ... here.
21562 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21564 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21566 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21568 * math/test-snan.c: Renamed from
21569 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21570 * math/Makefile (tests): Add test-snan.
21571 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21574 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21575 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21577 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21578 __builtin_nan family of functions.
21579 * math/libm-test.inc (initialize): Initialize qnan_value with
21580 __builtin_nan family of functions.
21581 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21583 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21585 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21586 storage class. Initialize qNaN_var and sNaN_var with
21587 __builtin_nan and __builtin_nans families of functions,
21590 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21591 (sqrt_test): Remove duplicate test with qNaN input.
21592 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21593 (round_test, signbit_test, significand_test): Note missing +/-Inf
21594 as well as qNaN tests.
21596 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21597 qNaN_var. Fix a few strings, too.
21598 * math/libm-test.inc (nan_value): Rename to qnan_value.
21599 * math/gen-libm-test.pl (%beautify): Adjust to that.
21600 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21601 * math/test-misc.c (main): Likewise.
21602 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21603 to __qnan_bytes, and __qnan_union, respectively.
21604 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21606 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21607 and lqnanval, respectively.
21608 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21609 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21610 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21611 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21613 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21614 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21617 * math/test-misc.c (main): Fix copy'n'pastos.
21618 * misc/tst-efgcvt.c (special): Likewise.
21620 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21621 Remove declarations.
21623 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21625 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21626 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21627 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21628 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21630 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21632 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21633 macro to return vdso values correctly in IFUNC implementations.
21634 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21635 Optimization by using IFUNC.
21637 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21638 Richard Henderson <rth@redhat.com>
21639 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21641 * Makefile.in (bench): New target.
21642 * NEWS: Mention the benchmark framework.
21643 * Rules (bench): Likewise.
21644 (binaries-bench): Generate binaries for functions to
21646 * benchtests/Makefile: New makefile for benchmark tests.
21647 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21649 * benchtests/exp-inputs: New input file for EXP function.
21650 * benchtests/pow-inputs: New input file for POW function.
21651 * scripts/bench.pl: New script to generate source files for
21652 benchmark programs.
21654 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21656 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21657 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21658 computations on mantissa. Use macros for rounding and
21660 (denorm): Likewise.
21661 (__dbl_mp): Likewise.
21662 (add_magnitudes): Likewise.
21663 (sub_magnitudes): Likewise.
21666 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21667 powers of two in terms of TWOPOW macro.
21668 (mp_no): Make type of mantissa as MANTISSA_T.
21669 [!RADIXI]: Define RADIXI.
21670 [!TWO52]: Define TWO52.
21671 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21673 * manual/nptl.texi (cindex): Modify threads to pthreads.
21675 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21677 * sysdeps/x86_64/preconfigure: Regenerated.
21679 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21682 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21684 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21685 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21687 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21688 * math/libm-test.inc (j0_test): Do not allow one spurious
21689 underflow exception.
21690 (y1_test): Likewise.
21692 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21694 * manual/Makefile (chapters): Add nptl.
21695 * manual/debug.texi (Debugging Support): Add link to Threads
21697 * manual/nptl.texi: New file.
21699 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21701 2013-03-14 Petr Baudis <pasky@ucw.cz>
21703 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21704 for non-NULL pointer before the memory validity test. Pointed
21705 out by Holger Brunck <holger.brunck@keymile.com>.
21707 2013-03-13 Andreas Schwab <schwab@suse.de>
21709 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21712 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21714 * timezone/zic.c: Update from tzcode 2013b.
21716 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21718 * manual/install.texi (Configuring and compiling):
21719 Mention i686 and i586.
21720 * INSTALL: Regenerate.
21722 2013-03-12 Roland McGrath <roland@hack.frob.com>
21724 * sysdeps/init_array/elf-init.c: New file.
21726 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21727 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21729 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21730 __gmon_start__ as global, but as static with a .preinit_array pointer.
21731 * sysdeps/init_array/gmon-start.c: New file. Use that.
21732 * sysdeps/init_array/crti.S: New file, empty except for comments.
21733 * sysdeps/init_array/crtn.S: Likewise.
21735 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21737 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21740 Remove Prefer_SSE_for_memop.
21741 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21742 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21743 HAS_PREFER_SSE_FOR_MEMOP.
21744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21747 Remove bzero, memset ifunc support.
21748 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21749 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21750 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21751 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21753 2013-03-11 Andreas Schwab <schwab@suse.de>
21756 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21759 (GLIBC_2.16): Remove pthread_atfork.
21761 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21763 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21764 (ptestcases.h): Likewise.
21766 2013-03-08 Roland McGrath <roland@hack.frob.com>
21768 * Makeconfig ($(common-objpfx)config.status): Depend on
21769 sysdeps/*/preconfigure{,.in} too.
21771 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21773 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21774 (__free_hook): Use void * instead of __malloc_ptr_t.
21775 (__malloc_hook): Likewise.
21776 (__realloc_hook): Likewise.
21777 (__memalign_hook): Likewise.
21778 (__after_morecore_hook): Likewise.
21779 * malloc/arena.c (save_malloc_hook): Likewise.
21780 (save_free_hook): Likewise.
21781 * malloc/hooks.c (malloc_hook_ini): Likewise.
21782 (realloc_hook_ini): Likewise.
21783 (memalign_hook_ini): Likewise.
21784 * malloc/malloc.c (malloc_hook_ini): Likewise.
21785 (realloc_hook_ini): Likewise.
21786 (memalign_hook_ini): Likewise.
21787 (__free_hook): Likewise.
21788 (__malloc_hook): Likewise.
21789 (__realloc_hook): Likewise.
21790 (__memalign_hook): Likewise.
21791 (__libc_malloc): Likewise.
21792 (__libc_free): Likewise.
21793 (__libc_realloc): Likewise.
21794 (__libc_memalign): Likewise.
21795 (__libc_valloc): Likewise.
21796 (__libc_pvalloc): Likewise.
21797 (__libc_calloc): Likewise.
21798 (__posix_memalign): Likewise.
21799 * malloc/morecore.c (__sbrk): Likewise.
21800 (__default_morecore): Likewise.
21802 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21804 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21805 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21806 __malloc_ptrdiff_t.
21808 * malloc/malloc.h (__malloc_size_t): Remove macro.
21809 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21811 (old_memalign_hook): Likewise.
21812 (old_realloc_hook): Likewise.
21813 (struct hdr): Likewise.
21815 (mallochook): Likewise.
21816 (memalignhook): Likewise.
21817 (reallochook): Likewise.
21818 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21819 (tr_old_realloc_hook): Likewise.
21820 (tr_old_memalign_hook): Likewise.
21821 (tr_mallochook): Likewise.
21822 (tr_reallochook): Likewise.
21823 (tr_memalignhook): Likewise.
21825 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21828 default_ldbl_pack and using as default implementation.
21829 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21831 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21832 redundant definition.
21833 (ldbl_insert_mantissa): Likewise.
21834 (ldbl_canonicalize): Likewise.
21835 (ldbl_nearbyint): Likewise.
21836 (ldbl_pack): Rename to ldbl_pack_ppc.
21837 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21838 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21839 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21841 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21844 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21845 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21846 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21848 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21849 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21850 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21852 2013-03-07 Andreas Jaeger <aj@suse.de>
21854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21857 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21859 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21860 Include mpa.h and declare __MPEXP.
21861 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21862 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21863 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21864 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21865 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21866 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21867 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21869 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21870 (__slowpow): Use long double EXPL and LOGL functions to
21872 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21873 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21874 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21875 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21876 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21877 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21880 intermediate variable to calculate exponent.
21882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21886 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21887 [!NO__SQR]: Define __sqr.
21888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21889 and NO__SQR. Remove all code except __mul and __sqr. Include
21890 sysdeps/ieee754/dbl-64/mpa.c.
21891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21894 * posix/Makefile (tests): Add tst-pathconf.
21895 * posix/tst-pathconf.c: New test case.
21896 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21898 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21900 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21902 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21904 2013-03-06 Andreas Jaeger <aj@suse.de>
21906 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21907 definition via __MAP_ANONYMOUS.
21909 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21910 it's not part of Linux headers.
21912 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21913 (MAP_HUGE_MASK): Define.
21915 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21917 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21918 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21920 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21921 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21923 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21924 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21926 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21928 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21929 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21930 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21931 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21932 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21933 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21935 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21938 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21939 Handle f2fs and efivarfs.
21941 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21944 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21945 (EFIVARFS_MAGIC): Add.
21946 (F2FS_LINK_MAX): Add.
21948 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21950 * stdio-common/vfprintf.c: Replace __builtin_expect with
21953 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21956 * sysdeps/generic/bp-sym.h: Remove file.
21957 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21958 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21959 <bp-sym.h> and <bp-asm.h>.
21960 (__longjmp): Don't use BP_SYM.
21961 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21963 (memcpy): Don't use BP_SYM.
21964 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21965 <bp-sym.h> and <bp-asm.h>.
21966 (memcpy): Don't use BP_SYM.
21967 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21969 (memcpy): Don't use BP_SYM.
21970 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21972 (memset): Don't use BP_SYM.
21973 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21974 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21975 (__bzero): Don't use BP_SYM.
21976 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21977 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21978 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21979 <bp-sym.h> and <bp-asm.h>.
21980 (memcmp): Don't use BP_SYM. Remove comment about bounded
21982 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21983 <bp-sym.h> and <bp-asm.h>.
21984 (memcpy): Don't use BP_SYM.
21985 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21986 <bp-sym.h> and <bp-asm.h>.
21987 (memset): Don't use BP_SYM.
21988 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21989 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21990 (__bzero): Don't use BP_SYM.
21991 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21992 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21993 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21994 <bp-sym.h> and <bp-asm.h>.
21995 (strncmp): Don't use BP_SYM. Remove comment about bounded
21997 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21998 <bp-sym.h> and <bp-asm.h>.
21999 (memcpy): Don't use BP_SYM.
22000 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22001 <bp-sym.h> and <bp-asm.h>.
22002 (memset): Don't use BP_SYM.
22003 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22004 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22005 (__bzero): Don't use BP_SYM.
22006 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22007 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22008 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22009 <bp-sym.h> and <bp-asm.h>.
22010 (__memchr): Don't use BP_SYM.
22011 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22012 <bp-sym.h> and <bp-asm.h>.
22013 (memcmp): Don't use BP_SYM. Remove comment about bounded
22015 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22016 <bp-sym.h> and <bp-asm.h>.
22017 (memcpy): Don't use BP_SYM.
22018 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22019 <bp-sym.h> and <bp-asm.h>.
22020 (__mempcpy): Don't use BP_SYM.
22021 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22022 <bp-sym.h> and <bp-asm.h>.
22023 (__memrchr): Don't use BP_SYM.
22024 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22025 <bp-sym.h> and <bp-asm.h>.
22026 (memset): Don't use BP_SYM.
22027 (__bzero): Likewise.
22028 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22029 <bp-sym.h> and <bp-asm.h>.
22030 (__rawmemchr): Don't use BP_SYM.
22031 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22032 <bp-sym.h> and <bp-asm.h>.
22033 (__STRCMP): Don't use BP_SYM.
22034 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22035 <bp-sym.h> and <bp-asm.h>.
22036 (strchr): Don't use BP_SYM.
22037 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22038 <bp-sym.h> and <bp-asm.h>.
22039 (__strchrnul): Don't use BP_SYM.
22040 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22041 <bp-sym.h> and <bp-asm.h>.
22042 (strlen): Don't use BP_SYM.
22043 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22044 <bp-sym.h> and <bp-asm.h>.
22045 (strncmp): Don't use BP_SYM. Remove comment about bounded
22047 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22048 <bp-sym.h> and <bp-asm.h>.
22049 (__strnlen): Don't use BP_SYM.
22050 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22051 <bp-sym.h> and <bp-asm.h>.
22052 (__GI__setjmp): Don't use BP_SYM.
22053 (_setjmp): Likewise.
22054 (__sigsetjmp): Likewise.
22055 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22056 (L(start_addresses)): Don't use BP_SYM.
22057 (_start): Likewise.
22058 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22060 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22061 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22062 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22063 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22064 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22066 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22067 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22068 about bounded pointers.
22069 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22070 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22071 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22073 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22074 about bounded pointers. Remove GKM FIXME comments.
22075 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22076 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22078 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22079 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22080 Remove GKM FIXME comments.
22081 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22082 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22083 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22085 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22086 about bounded pointers. Remove GKM FIXME comment.
22087 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22089 (strncmp): Don't use BP_SYM. Remove comment about bounded
22091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22092 <bp-sym.h> and <bp-asm.h>.
22093 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22095 <bp-sym.h> and <bp-asm.h>.
22096 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22099 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22101 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22104 2013-03-05 David S. Miller <davem@davemloft.net>
22106 * po/es.po: Update from translation team.
22108 2013-03-05 Andreas Jaeger <aj@suse.de>
22110 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22111 <bits/mman-linux.h>.
22112 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22114 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22115 <bits/mman-linux.h> to end of file.
22116 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22118 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22119 <bits/mman-linux.h> to end of file.
22120 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22123 <bits/mman-linux.h> to end of file.
22125 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22126 (MCL_CURRENT, MCL_FUTURE): Define here.
22128 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22133 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22135 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22137 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22138 fourth parameter needed for rt_sigprocmask syscall.
22139 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22140 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22141 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22142 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22143 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22144 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22146 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22149 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22150 comment about bounded pointers.
22151 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22152 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22154 2013-03-04 Andreas Jaeger <aj@suse.de>
22156 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22157 common definitions.
22159 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22160 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22161 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22163 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22166 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22169 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22170 __ieee754_sqrl instead of __sqrl.
22172 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22174 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22175 * sysdeps/powerpc/fpu_control.h: ... here.
22176 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22177 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22178 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22179 * sysdeps/powerpc/bits/mathinline.h: ... here.
22181 2013-03-01 Roland McGrath <roland@hack.frob.com>
22183 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22184 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22185 to just [NEED_DL_SYSINFO_DSO].
22186 * elf/dl-support.c: Likewise.
22187 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22188 * elf/rtld.c (dl_main): Likewise.
22189 * elf/setup-vdso.h (setup_vdso): Likewise.
22190 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22191 * sysdeps/unix/sysv/linux/dl-sysdep.c
22192 (_dl_discover_osversion): Likewise.
22194 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22196 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22197 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22199 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22201 * NEWS: Mention libm performance improvements and non-x86 PI
22204 * csu/libc-start.c (__pthread_initialize_minimal): Change
22205 function arguments.
22206 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22208 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22211 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22212 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22213 <bp-sym.h> and <bp-asm.h>.
22214 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22215 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22217 (memcpy): Don't use BP_SYM.
22218 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22220 (__mpn_add_n): Don't use BP_SYM.
22221 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22222 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22224 (__mpn_addmul_1): Don't use BP_SYM.
22225 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22226 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22228 (_setjmp): Don't use BP_SYM.
22229 (__novmx_setjmp): Likewise.
22230 (__GI__setjmp): Likewise.
22231 (__vmx_setjmp): Likewise.
22232 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22234 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22235 (__bzero): Don't use BP_SYM.
22236 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22237 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22238 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22239 <bp-sym.h> and <bp-asm.h>.
22240 (memcpy): Don't use BP_SYM.
22241 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22242 <bp-sym.h> and <bp-asm.h>.
22243 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22244 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22245 <bp-sym.h> and <bp-asm.h>.
22246 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22247 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22249 (__mpn_lshift): Don't use BP_SYM.
22250 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22251 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22253 (memset): Don't use BP_SYM.
22254 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22255 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22256 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22258 (__mpn_mul_1): Don't use BP_SYM.
22259 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22260 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22261 <bp-sym.h> and <bp-asm.h>.
22262 (memcmp): Don't use BP_SYM.
22263 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22264 <bp-sym.h> and <bp-asm.h>.
22265 (memcpy): Don't use BP_SYM.
22266 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22267 <bp-sym.h> and <bp-asm.h>.
22268 (memset): Don't use BP_SYM.
22269 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22270 <bp-sym.h> and <bp-asm.h>.
22271 (strncmp): Don't use BP_SYM.
22272 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22273 <bp-sym.h> and <bp-asm.h>.
22274 (memcpy): Don't use BP_SYM.
22275 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22276 <bp-sym.h> and <bp-asm.h>.
22277 (memset): Don't use BP_SYM.
22278 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22279 <bp-sym.h> and <bp-asm.h>.
22280 (__memchr): Don't use BP_SYM.
22281 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22282 <bp-sym.h> and <bp-asm.h>.
22283 (memcmp): Don't use BP_SYM.
22284 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22285 <bp-sym.h> and <bp-asm.h>.
22286 (memcpy): Don't use BP_SYM.
22287 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22288 <bp-sym.h> and <bp-asm.h>.
22289 (__mempcpy): Don't use BP_SYM.
22290 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22291 <bp-sym.h> and <bp-asm.h>.
22292 (__memrchr): Don't use BP_SYM.
22293 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22294 <bp-sym.h> and <bp-asm.h>.
22295 (memset): Don't use BP_SYM.
22296 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22297 <bp-sym.h> and <bp-asm.h>.
22298 (__rawmemchr): Don't use BP_SYM.
22299 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22300 <bp-sym.h> and <bp-asm.h>.
22301 (__STRCMP): Don't use BP_SYM.
22302 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22303 <bp-sym.h> and <bp-asm.h>.
22304 (strchr): Don't use BP_SYM.
22305 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22306 <bp-sym.h> and <bp-asm.h>.
22307 (__strchrnul): Don't use BP_SYM.
22308 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22309 <bp-sym.h> and <bp-asm.h>.
22310 (strlen): Don't use BP_SYM.
22311 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22312 <bp-sym.h> and <bp-asm.h>.
22313 (strncmp): Don't use BP_SYM.
22314 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22315 <bp-sym.h> and <bp-asm.h>.
22316 (__strnlen): Don't use BP_SYM.
22317 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22319 (__mpn_rshift): Don't use BP_SYM.
22320 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22321 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22322 <bp-sym.h> and <bp-asm.h>.
22323 (__sigsetjmp): Don't use BP_SYM.
22324 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22325 (L(start_addresses)): Don't use BP_SYM.
22326 (_start): Likewise.
22327 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22329 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22330 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22331 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22332 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22334 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22335 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22336 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22337 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22339 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22341 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22342 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22344 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22346 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22347 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22348 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22350 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22352 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22354 (strncmp): Don't use BP_SYM,
22355 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22357 (__mpn_sub_n): Don't use BP_SYM.
22358 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22359 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22361 (__mpn_submul_1): Don't use BP_SYM.
22362 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22364 <bp-sym.h> and <bp-asm.h>.
22365 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22367 <bp-sym.h> and <bp-asm.h>.
22368 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22371 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22374 Use ZK to minimize writes to Z.
22375 (sub_magnitudes): Simplify code a bit.
22376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22377 Use ZK to minimize writes to Z.
22378 (sub_magnitudes): Simplify code a bit.
22380 2013-02-27 Roland McGrath <roland@hack.frob.com>
22382 * csu/gmon-start.c: Add special exception to license text.
22384 2013-02-27 Richard Henderson <rth@redhat.com>
22386 * scripts/config.guess: Update from config.git.
22387 * scripts/config.sub: Likewise.
22389 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22391 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22393 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22395 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22397 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22399 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22401 2013-02-26 Roland McGrath <roland@hack.frob.com>
22403 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22404 [$(build-shared = yes].
22406 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22408 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22409 (__mul): Reduce iterations for calculating mantissa.
22411 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22413 (__mpranred): Likewise.
22416 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22417 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22419 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22421 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22422 Define __attribute__.
22424 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22426 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22428 * posix/regex_internal.h (__attribute): Remove.
22429 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22430 (re_string_context_at): Likewise.
22431 (bitset_not): Use __attribute__ and mark function as possibly
22433 (bitset_merge): Likewise.
22434 (bitset_mask): Likewise.
22435 (re_string_char_size_at): Likewise.
22436 (re_string_wchar_at): Likewise.
22437 (re_string_elem_size_at): Likewise.
22439 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22441 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22445 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22449 (denorm): Likewise.
22450 (__dbl_mp): Likewise.
22451 (add_magnitudes): Likewise.
22452 (sub_magnitudes): Likewise.
22456 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22459 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22462 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22466 up changes with default code.
22467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22470 2013-02-24 Allan McRae <allan@archlinux.org>
22472 * manual/socket.texi (The Internet Namespace): Order menu items
22473 to match that in the file.
22475 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22476 node listing of the info page menu.
22478 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22481 * sysdeps/i386/bp-asm.h: Remove file.
22482 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22483 (PARMS): Do not use macros from bp-asm.h.
22487 (__mpn_add_n): Do not use BP_SYM
22488 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22490 (PARMS): Do not use macros from bp-asm.h.
22493 (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
22501 (PARMS): Do not use macros from bp-asm.h.
22502 (SIGMSK): Likewise.
22503 (setjmp): Likewise. Do not use BP_SYM.
22504 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22506 (PARMS): Do not use macros from bp-asm.h.
22507 (__frexp): Do not use BP_SYM.
22509 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22511 (PARMS): Do not use macros from bp-asm.h.
22512 (__frexpf): Do not use BP_SYM.
22513 (frexpf): Likewise.
22514 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22516 (PARMS): Do not use macros from bp-asm.h.
22517 (__frexpl): Do not use BP_SYM.
22518 (frexpl): Likewise.
22519 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22521 (PARMS): Do not use macros from bp-asm.h.
22522 (__remquo): Do not use BP_SYM.
22523 (remquo): Likewise.
22524 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22526 (PARMS): Do not use macros from bp-asm.h.
22527 (__remquof): Do not use BP_SYM.
22528 (remquof): Likewise.
22529 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22531 (PARMS): Do not use macros from bp-asm.h.
22532 (__remquol): Do not use BP_SYM.
22533 (remquol): Likewise.
22534 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22536 (PARMS): Do not use macros from bp-asm.h.
22539 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22540 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22542 (PARMS): Do not use macros from bp-asm.h.
22543 (strlen): Do not use BP_SYM.
22544 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22546 (PARMS): Do not use macros from bp-asm.h.
22550 (__mpn_add_n): Do not use BP_SYM.
22551 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22553 (PARMS): Do not use macros from bp-asm.h.
22556 (__mpn_addmul_1): Do not use BP_SYM.
22557 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22560 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22562 (PARMS): Do not use macros from bp-asm.h.
22565 (__mpn_lshift): Do not use BP_SYM.
22566 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22568 (PARMS): Do not use macros from bp-asm.h.
22572 (memcpy): Likewise. Do not use BP_SYM.
22573 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22574 libc_hidden_def and weak_alias.
22575 (mempcpy): Do not use BP_SYM in weak_alias.
22576 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22578 (PARMS): Do not use macros from bp-asm.h.
22581 [!BZERO_P] (CHR): Likewise.
22582 (memset): Likewise. Do not use BP_SYM.
22583 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22585 (PARMS): Do not use macros from bp-asm.h.
22588 (__mpn_mul_1): Do not use BP_SYM.
22589 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22591 (PARMS): Do not use macros from bp-asm.h.
22594 (__mpn_rshift): Do not use BP_SYM.
22595 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22597 (PARMS): Do not use macros from bp-asm.h.
22600 (strchr): Likewise. Do not use BP_SYM.
22601 (index): Do not use BP_SYM in weak_alias.
22602 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22604 (PARMS): Do not use macros from bp-asm.h.
22607 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22608 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22610 (PARMS): Do not use macros from bp-asm.h.
22611 (strlen): Do not use BP_SYM.
22612 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22614 (PARMS): Do not use macros from bp-asm.h.
22618 (__mpn_sub_n): Do not use BP_SYM.
22619 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22621 (PARMS): Do not use macros from bp-asm.h.
22624 (__mpn_submul_1): Do not use BP_SYM.
22625 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22627 (PARMS): Do not use macros from bp-asm.h.
22631 (__mpn_add_n): Do not use BP_SYM.
22632 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22635 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22637 (PARMS): Do not use macros from bp-asm.h.
22640 (memcmp): Do not use BP_SYM.
22641 (bcmp): Do not use BP_SYM in weak_alias.
22642 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22644 (PARMS): Do not use macros from bp-asm.h.
22648 (memcpy): Likewise. Do not use BP_SYM.
22649 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22651 (PARMS): Do not use macros from bp-asm.h.
22655 (memmove): Likewise. Do not use BP_SYM.
22656 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22658 (PARMS): Do not use macros from bp-asm.h.
22662 (__mempcpy): Likewise. Do not use BP_SYM.
22663 (mempcpy): Do not use BP_SYM in weak_alias.
22664 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22666 (PARMS): Do not use macros from bp-asm.h.
22669 [!BZERO_P] (CHR): Likewise.
22670 (memset): Likewise. Do not use BP_SYM.
22671 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22673 (PARMS): Do not use macros from bp-asm.h.
22675 (strcmp): Do not use BP_SYM.
22676 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22678 (PARMS): Do not use macros from bp-asm.h.
22681 [USE_AS_STRTOK_R] (SAVE): Likewise.
22682 (FUNCTION): Likewise. Do not use BP_SYM.
22683 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22685 (strtok_r): Likewise.
22686 (__GI___strtok_r): Likewise.
22687 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22688 (PARMS): Do not use macros from bp-asm.h.
22691 (__mpn_lshift): Do not use BP_SYM.
22692 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22693 (PARMS): Do not use macros from bp-asm.h.
22696 (__memchr): Do not use BP_SYM.
22697 (memchr): Do not use BP_SYM in weak_alias.
22698 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22699 (PARMS): Do not use macros from bp-asm.h.
22702 (memcmp): Do not use BP_SYM.
22703 (bcmp): Do not use BP_SYM in weak_alias.
22704 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22705 (PARMS): Do not use macros from bp-asm.h.
22708 (__mpn_mul_1): Do not use BP_SYM.
22709 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22711 (PARMS): Do not use macros from bp-asm.h.
22714 (__rawmemchr): Do not use BP_SYM.
22715 (rawmemchr): Do not use BP_SYM in weak_alias.
22716 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22717 (PARMS): Do not use macros from bp-asm.h.
22720 (__mpn_rshift): Do not use BP_SYM.
22721 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22722 (PARMS): Do not use macros from bp-asm.h.
22723 (SIGMSK): Likewise.
22724 (__sigsetjmp): Likewise. Do not use BP_SYM.
22725 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22726 (_start): Do not use BP_SYM.
22727 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22728 (PARMS): Do not use macros from bp-asm.h.
22731 (__stpcpy): Likewise. Do not use BP_SYM.
22732 (stpcpy): Do not use BP_SYM in weak_alias.
22733 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22735 (PARMS): Do not use macros from bp-asm.h.
22739 (__stpncpy): Likewise. Do not use BP_SYM.
22740 (stpncpy): Do not use BP_SYM in weak_alias.
22741 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22742 (PARMS): Do not use macros from bp-asm.h.
22745 (strchr): Likewise. Do not use BP_SYM.
22746 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22748 (PARMS): Do not use macros from bp-asm.h.
22751 (__strchrnul): Likewise. Do not use BP_SYM.
22752 (strchrnul): Do not use BP_SYM in weak_alias.
22753 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22755 (PARMS): Do not use macros from bp-asm.h.
22757 (strcspn): Do not use BP_SYM.
22758 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22760 (PARMS): Do not use macros from bp-asm.h.
22763 (strpbrk): Likewise. Do not use BP_SYM.
22764 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22766 (PARMS): Do not use macros from bp-asm.h.
22769 (strrchr): Likewise. Do not use BP_SYM.
22770 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22771 (PARMS): Do not use macros from bp-asm.h.
22773 (strspn): Do not use BP_SYM.
22774 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22775 (PARMS): Do not use macros from bp-asm.h.
22779 (FUNCTION): Likewise. Do not use BP_SYM.
22780 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22782 (strtok_r): Likewise.
22783 (__GI___strtok_r): Likewise.
22784 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22785 (PARMS): Do not use macros from bp-asm.h.
22789 (__mpn_sub_n): Do not use BP_SYM.
22790 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22792 (PARMS): Do not use macros from bp-asm.h.
22795 (__mpn_submul_1): Do not use BP_SYM.
22796 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22798 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22800 (PARMS): Do not use macros from bp-asm.h.
22805 (__clone): Do not use BP_SYM.
22806 (clone): Do not use BP_SYM in weak_alias.
22807 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22809 (PARMS): Do not use macros from bp-asm.h.
22811 (__mmap64): Do not use BP_SYM.
22812 (mmap64): Do not use BP_SYM in weak_alias.
22813 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22814 <bp-sym.h> and <bp-asm.h>.
22815 (PARMS): Do not use macros from bp-asm.h.
22816 (__posix_fadvise64_l64): Do not use BP_SYM.
22817 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22818 (PARMS): Do not use macros from bp-asm.h.
22820 (semtimedop): Do not use BP_SYM.
22821 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22824 2013-02-21 Allan McRae <allan@archlinux.org>
22826 * manual/message.texi (Charset conversion in gettext):
22827 Move @end statement to beginning of line.
22829 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22836 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22837 (denorm): Likewise.
22838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22841 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22843 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22844 tail-call to the resolved function if pltexit isn't needed.
22846 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22849 or Y being zero as being unlikely.
22850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22853 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22855 * manual/nss.texi (System Databases and Name Service Switch):
22856 Remove frobnicate @pxref.
22858 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22860 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22861 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22863 2013-02-20 Petr Machata <pmachata@redhat.com>
22865 * elf/elf.h (R_ARM_TARGET1): New macro.
22866 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22867 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22868 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22869 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22870 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22871 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22872 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22873 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22874 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22875 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22876 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22877 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22878 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22879 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22880 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22881 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22882 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22883 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22884 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22885 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22886 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22887 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22888 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22889 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22890 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22891 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22892 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22893 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22894 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22895 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22896 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22897 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22898 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22899 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22900 (R_ARM_THM_GOT_BREL12): Likewise.
22901 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22902 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22903 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22904 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22905 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22906 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22907 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22908 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22909 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22911 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22913 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22914 __attribute_used__ to __attribute__ ((unused)).
22916 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22918 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22921 comment formatting.
22922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22924 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22927 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22929 (ENTER): Remove both macro definitions.
22931 (CHECK_BOUNDS_LOW): Likewise.
22932 (CHECK_BOUNDS_HIGH): Likewise.
22933 (CHECK_BOUNDS_BOTH): Likewise.
22934 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22935 (RETURN_BOUNDED_POINTER): Likewise.
22936 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22937 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22938 (POP_ERRNO_LOCATION_RETURN): Likewise.
22939 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22940 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22941 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22943 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22944 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22945 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22946 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22947 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22948 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22949 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22950 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22951 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22952 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22953 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22954 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22955 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22956 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22958 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22959 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22961 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22962 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22963 * sysdeps/i386/i586/memset.S (memset): Likewise.
22964 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22965 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22966 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22968 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22969 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22970 Change uses of L(2) to L(out).
22971 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22972 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22973 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22974 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22975 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22977 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22978 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22980 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22981 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22982 (RETURN): Do not use macro LEAVE.
22983 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22984 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22985 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22986 * sysdeps/i386/i686/memset.S (memset): Likewise.
22987 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22988 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22989 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22990 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22992 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22993 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22994 L(1_2) and L(1_3) into L(1).
22995 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22996 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22997 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22998 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22999 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23000 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23001 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23002 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23003 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23005 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23006 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23007 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23008 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23009 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23010 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23011 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23012 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23013 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23014 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23015 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23016 * sysdeps/i386/strspn.S (strspn): Likewise.
23017 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23019 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23020 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23021 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23022 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23023 L(1_3) into L(1_1).
23024 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23025 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23026 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23028 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23030 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23032 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23035 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23037 * math/atest-exp.c (exp_mpn): Remove ROUND.
23038 * math/atest-exp2.c (exp_mpn): Likewise.
23039 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23041 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23042 * stdlib/tst-tls-atexit-lib.c: Likewise.
23043 * stdlib/tst-tls-atexit.c: Likewise.
23045 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23047 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23048 and __attribute_alloc_size__.
23050 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23052 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23053 __attribute_alloc_size__.
23054 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23055 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23057 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23059 * include/programs/xmalloc.h: New file.
23060 * catgets/gencat.c: Include it.
23061 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23062 * elf/pldd.c: Likewise.
23063 * iconv/iconv_charmap.c: Likewise.
23064 * iconv/iconvconfig.c: Likewise.
23065 * iconv/strtab.c: Likewise.
23066 * locale/programs/locale.c: Likewise.
23067 * locale/programs/localedef.h: Likewise.
23068 * locale/programs/simple-hash.c: Likewise.
23069 * nscd/nscd.h: Likewise.
23070 * nss/makedb.c: Likewise.
23071 * sysdeps/generic/ldconfig.h: Likewise.
23073 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23075 * Versions.def: Add GLIBC_2.18.
23076 * include/link.h (struct link_map): New member l_tls_dtor_count.
23077 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23078 (__call_tls_dtors): Likewise.
23079 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23080 __cxa_thread_atexit_impl.
23081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23089 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23097 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23098 (tests): Add test case tst-tls-atexit.
23099 (modules-names): Add shared library for tst-tls-atexit.
23100 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23101 (GLIBC_PRIVATE): Add __call_tls_dtors.
23102 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23104 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23105 * stdlib/tst-tls-atexit.c: New test case.
23106 * stdlib/tst-tls-atexit-lib.c: New test case.
23108 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23110 * elf/Versions (ld): Add _dl_find_dso_for_object.
23111 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23112 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23113 (dl_open_worker): Use _dl_find_dso_for_object.
23114 * elf/dl-sym.c (do_sym): Likewise.
23115 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23117 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23119 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23120 Syntactic changes only.
23121 (_dl_runtime_profile): Do a tail-call to the resolved function.
23123 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23126 * sysdeps/x86_64/bp-asm.h: Remove file.
23127 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23128 <bp-sym.h> and <bp-asm.h>.
23129 (__clone): Do not use BP_SYM.
23130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23131 <bp-sym.h> and <bp-asm.h>.
23132 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23133 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23135 (_setjmp): Do not use BP_SYM.
23136 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23138 (setjmp): Do not use BP_SYM.
23139 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23141 (mempcpy): Do not use BP_SYM in weak_alias.
23142 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23144 (strchr): Do not use BP_SYM.
23145 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23147 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23148 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23149 (_start): Do not use BP_SYM.
23150 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23152 (strcat): Do not use BP_SYM.
23153 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23155 (STRCMP): Do not use BP_SYM.
23156 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23158 (STRCPY): Do not use BP_SYM.
23159 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23161 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23163 (FUNCTION): Do not use BP_SYM.
23164 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23166 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23168 2013-02-17 Andreas Jaeger <aj@suse.de>
23170 * time/Versions: Sort entries.
23171 * string/Versions: Likewise.
23172 * resolv/Versions: Likewise.
23173 * posix/Versions: Likewise.
23174 * iconv/Versions: Likewise.
23175 * elf/Versions: Likewise.
23176 * wcsmbs/Versions: Likewise.
23178 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23180 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23181 loop termination condition.
23183 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23184 variable to calculate EZ.
23187 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23188 the lower precision input.
23190 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23193 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23194 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23195 (run-via-rtld-prefix): Do not handle %-bp tests.
23196 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23197 (all-object-suffixes): Remove .ob.
23198 (bppfx): Remove variable.
23199 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23200 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23201 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23202 [$(build-bounded) = yes] (libtype.ob): Likewise.
23203 * Makerules (elide-routines.ob): Remove variable.
23204 (do-tests-clean): Do not handle *-bp.out.
23205 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23206 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23207 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23208 (tests): Do not include $(tests-bp.out).
23209 (xtests): Do not include $(xtests-bp.out).
23210 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23211 [$(build-bounded) = yes] ($(addprefix
23212 $(objpfx),$(binaries-bounded))): Remove rule.
23213 ($(objpfx)%-bp.out): Remove rule.
23214 * config.make.in (build-bounded): Remove variable.
23215 * crypt/Makefile [$(build-bounded) = yes]
23216 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23217 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23218 append to variable.
23219 [$(build-bounded) = yes] (install-lib): Likewise.
23220 [$(build-bounded) = yes] (generated): Likewise.
23221 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23223 * intl/Makefile [$(build-bounded) = yes]
23224 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23225 * math/Makefile [$(build-bounded) = yes]
23226 ($(tests:%=$(objpfx)%-bp): Likewise.
23227 * misc/Makefile [$(build-bounded) = yes]
23228 ($(objpfx)tst-tsearch-bp): Likewise.
23229 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23230 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23232 * string/Makefile (o-objects.ob): Remove variable.
23233 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23234 (CFLAGS-.ob): Remove variable.
23235 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23236 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23237 both definitions of variable.
23238 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23239 (ASFLAGS-.ob): Remove variable.
23241 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23244 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23245 Remove __BOUNDED_POINTERS__ from condition.
23246 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23247 * string/bits/string2.h [!__NO_STRING_INLINES &&
23248 !__BOUNDED_POINTERS__]: Likewise.
23249 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23251 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23252 Remove conditional code.
23253 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23254 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23255 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23259 * csu/libc-start.c: Do not include <bp-sym.h>.
23260 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23261 * elf/dl-open.c: Do not include <bp-sym.h>.
23262 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23263 * math/fegetenv.c: Do not include <bp-sym.h>.
23264 (fegetenv): Do not use BP_SYM in versioned symbols.
23265 * nptl/sysdeps/pthread/bits/libc-lockP.h
23266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23269 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23271 (__pthread_mutex_destroy): Likewise.
23272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23273 (__pthread_mutex_lock): Likewise.
23274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23275 (__pthread_mutex_trylock): Likewise.
23276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23277 (__pthread_mutex_unlock): Likewise.
23278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23279 (__pthread_mutexattr_init): Likewise.
23280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23281 (__pthread_mutexattr_destroy): Likewise.
23282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23283 (__pthread_mutexattr_settype): Likewise.
23284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23285 (__pthread_rwlock_init): Likewise.
23286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23287 (__pthread_rwlock_destroy): Likewise.
23288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23289 (__pthread_rwlock_rdlock): Likewise.
23290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23291 (__pthread_rwlock_tryrdlock): Likewise.
23292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23293 (__pthread_rwlock_wrlock): Likewise.
23294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23295 (__pthread_rwlock_trywrlock): Likewise.
23296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23297 (__pthread_rwlock_unlock): Likewise.
23298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23299 (__pthread_key_create): Likewise.
23300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23301 (__pthread_setspecific): Likewise.
23302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23303 (__pthread_getspecific): Likewise.
23304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23307 (_pthread_cleanup_push_defer): Likewise.
23308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23309 (_pthread_cleanup_pop_restore): Likewise.
23310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23311 (pthread_setcancelstate): Likewise.
23312 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23314 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23315 (memchr): Do not use BP_SYM in weak_alias.
23316 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23317 (fegetenv): Do not use BP_SYM in versioned symbols.
23318 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23319 (fesetenv): Do not use BP_SYM in versioned symbols.
23320 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23321 (feupdateenv): Do not use BP_SYM in versioned symbols.
23322 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23323 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23324 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23325 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23326 (open64): Do not use BP_SYM in weak_alias.
23327 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23328 (fegetenv): Do not use BP_SYM in versioned symbols.
23329 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23330 (fesetenv): Do not use BP_SYM in versioned symbols.
23331 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23332 (feupdateenv): Do not use BP_SYM in versioned symbols.
23333 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23334 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23335 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23336 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23337 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23338 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23339 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23341 (__libc_start_main): Do not use BP_SYM.
23343 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23346 redundant return line.
23348 (denorm): Likewise.
23349 (dbl_mp): Likewise.
23350 (sub_magnitudes): Likewise.
23356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23358 (denorm): Likewise.
23359 (dbl_mp): Likewise.
23360 (sub_magnitudes): Likewise.
23367 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23369 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23370 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23373 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23374 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23376 of __mul for squares.
23377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23381 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23382 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23384 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23387 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23389 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23390 prototype or function definition. Rename ubp_* variables and
23391 parameters. Remove argv definitions conditional on
23392 [__BOUNDED_POINTERS__].
23393 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23394 * elf/dl-runtime.c (_dl_fixup): Likewise.
23395 * include/set-hooks.h (RUN_HOOK): Likewise.
23396 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23398 * string/strcpy.c (strcpy): Do not use __unbounded.
23399 * sysdeps/generic/frame.h (struct layout): Likewise.
23400 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23401 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23402 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23403 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23404 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23405 (__backtrace): Likewise.
23406 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23408 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23409 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23410 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23412 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23413 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23414 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23415 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23416 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23417 Do not use __unbounded.
23418 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23419 Rename __unboundedrlimits parameter to rlimits in prototype.
23420 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23421 Do not use __unbounded.
23422 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23423 not use __ptrvalue.
23424 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23425 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23426 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23427 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23428 __ptrvalue or __unbounded.
23429 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23430 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23432 (__new_msgctl): Do not use __ptrvalue.
23433 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23435 (__libc_msgrcv): Do not use __ptrvalue.
23436 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23437 startup_info): Do not use __unbounded.
23438 (__libc_start_main): Likewise. Rename ubp_* variables and
23439 parameters. Remove argv definitions conditional on
23440 [__BOUNDED_POINTERS__].
23441 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23443 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23445 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23447 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23449 (__new_shmctl): Do not use __ptrvalue.
23450 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23451 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23453 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23454 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23455 (__libc_sigaction): Likewise.
23456 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23457 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23459 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23461 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23463 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23465 * string/mempcpy.c: Implement by calling memcpy.
23467 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23469 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23474 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23475 values in the mantissa.
23477 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23478 minimize writes to Z.
23479 (sub_magnitudes): Simplify code a bit.
23481 2013-02-12 Roland McGrath <roland@hack.frob.com>
23483 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23484 from the message. The linker prefixes all warnings with that already.
23486 2013-02-12 Andreas Schwab <schwab@suse.de>
23489 * posix/regexec.c (extend_buffers): Add parameter min_len.
23490 (check_matching): Pass minimum needed length.
23491 (clean_state_log_if_needed): Likewise.
23492 (get_subexp): Likewise.
23493 * posix/Makefile (tests): Add bug-regex34.
23494 (bug-regex34-ENV): Define.
23495 * posix/bug-regex34.c: New file.
23498 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23499 elements compare against the byte sequence of it, not its name.
23500 * posix/Makefile (tests): Add bug-regex35.
23501 (bug-regex35-ENV): Define.
23502 * posix/bug-regex35.c: New file.
23504 2013-02-11 Tom de Vries <tom@codesourcery.com>
23506 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23508 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23509 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23510 (CHECK_EOL): Add undef.
23512 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23514 * bits/stdlib-bsearch.h: New file.
23515 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23516 * stdlib/stdlib.h: Likewise.
23518 2013-02-11 Roland McGrath <roland@hack.frob.com>
23520 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23521 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23523 * manual/search.texi (Array Search Function): Add missing const in
23525 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23526 declaration to use rlim_t.
23527 (Basic Scheduling Functions): Remove erroneous const from
23528 sched_getparam prototype. Remove erroneous * from
23529 sched_get_priority_max and sched_get_priority_min prototypes.
23530 (Resource Usage): Fix summary @comment on vtimes to refer to
23531 sys/vtimes.h rather than vtimes.h.
23532 Add missing *s in vtimes prototype.
23533 (Limits on Resources): Fix ulimit prototype to return long int.
23534 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23535 prototypes to use long int rather than double.
23536 (BSD Random): Fix initstate and setstate to use char *, not void *.
23537 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23538 prototype to make second argument 'struct aiocb64 *const[]'.
23539 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23540 (Status of AIO Operations): Remove erroneous const in aio_return and
23541 aio_return64 prototypes.
23542 (Synchronizing I/O): Fix sync prototype to return void.
23543 * manual/startup.texi (Suboptions): Remove an erroneous const in
23544 getsubopt prototype.
23545 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23546 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23547 use size_t rather than int.
23548 (Scanning All Users): Likewise for getpwent_r.
23549 (Setting Groups): Add missing const to setgroups prototype.
23550 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23551 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23552 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23553 'const void *' rather than 'const char *'.
23554 (Host Address Functions): Likewise for inet_ntop.
23555 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23556 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23557 ssize_t for return value.
23558 (Sending Data): Likewise for send, sendto, sendmsg.
23559 (Socket Option Functions): Add a missing const in setsockopt prototype.
23560 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23561 use wchar_t for the argument.
23562 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23563 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23565 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23566 double/float/long double for second argument.
23567 Fix return types of significand, significandf, significandl.
23568 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23569 argument in fchmod prototype.
23570 (File Owner): Use uid_t and gid_t in fchown prototype.
23571 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23572 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23573 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23574 use 'const struct dirent **' as argument types to CMP function pointer
23576 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23577 (File Times): Fix summary magic @comment for struct utimbuf and utime
23578 to refer to utime.h, not time.h.
23579 * manual/string.texi (Argz Functions): Add missing const in
23580 argz_extract and argz_next prototypes.
23581 (Finding Tokens in a String): Likewise for basename.
23582 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23583 (Copying and Concatenation): Fix typo in wmemmove prototype.
23584 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23585 (Signal Stack): Remove erroneous const in sigstack prototype.
23586 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23588 (Simple Calendar Time): Likewise for stime.
23589 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23591 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23592 say sys/sysctl.h instead.
23593 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23594 and vsyslog prototypes.
23596 2013-02-11 Tom de Vries <tom@codesourcery.com>
23598 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23601 2013-02-11 Roland McGrath <roland@hack.frob.com>
23603 * misc/sys/mman.h: Fix typo in mremap comment.
23605 2013-02-08 Roland McGrath <roland@hack.frob.com>
23607 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23608 the '\0' terminator.
23610 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23613 * debug/segfault.c: Don't include <bp-checks.h>.
23614 * sysdeps/generic/bp-checks.h: Remove file.
23615 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23616 (__GETDENTS): Don't use CHECK_N.
23617 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23618 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23619 (__getgroups): Don't use CHECK_N.
23620 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23621 (setgroups): Don't use CHECK_N.
23622 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23623 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23624 (__libc_msgrcv): Don't use CHECK_N.
23625 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23626 (__libc_msgsnd): Don't use CHECK_N.
23627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23629 (__libc_pread): Don't use CHECK_N.
23630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23631 include <bp-checks.h>.
23632 (__libc_pread64): Don't use CHECK_N.
23633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23634 include <bp-checks.h>.
23635 (__libc_pwrite): Don't use CHECK_N.
23636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23637 include <bp-checks.h>.
23638 (__libc_pwrite64): Don't use CHECK_N.
23639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23641 (__libc_pread): Don't use CHECK_N.
23642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23643 include <bp-checks.h>.
23644 (__libc_pread64): Don't use CHECK_N.
23645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23646 include <bp-checks.h>.
23647 (__libc_pwrite): Don't use CHECK_N.
23648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23649 include <bp-checks.h>.
23650 (__libc_pwrite64): Don't use CHECK_N.
23651 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23652 (do_pread): Don't use CHECK_N.
23653 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23654 (do_pread64): Don't use CHECK_N.
23655 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23656 (do_pwrite): Don't use CHECK_N.
23657 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23658 (do_pwrite64): Don't use CHECK_N.
23659 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23660 (__libc_readv): Don't use CHECK_N.
23661 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23662 (semop): Don't use CHECK_N.
23663 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23665 (semtimedop): Don't use CHECK_N.
23666 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23667 (__libc_pread): Don't use CHECK_N.
23668 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23670 (__libc_pread64): Don't use CHECK_N.
23671 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23673 (__libc_pwrite): Don't use CHECK_N.
23674 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23676 (__libc_pwrite64): Don't use CHECK_N.
23677 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23679 (__libc_msgrcv): Don't use CHECK_N.
23680 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23681 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23682 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23683 (__libc_writev): Don't use CHECK_N.
23685 2013-02-08 Roland McGrath <roland@hack.frob.com>
23687 * string/strcpy.c: Removed unused variable.
23689 * Makeconfig (+sysdep-includes): Define with := rather than =.
23690 Use an existing include/ subdir of each sysdeps dir before it.
23692 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23694 * nscd/connection.c (register_traced_file): Comment function.
23695 [HAVE_INOTIFY] (union __inev): Define.
23696 [HAVE_INOTIFY] (inotify_check_files): New function.
23697 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23698 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23700 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23702 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23704 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23705 loaded if not already and that a failure is permanent.
23707 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23710 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23711 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23713 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23716 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23717 (CHECK_1_NULL_OK): Likewise.
23718 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23719 (__fxstat): Do not use CHECK_1.
23720 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23722 (___fxstat64): Do not use CHECK_1.
23723 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23725 (__fxstatat): Do not use CHECK_1.
23726 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23728 (__fxstatat64): Do not use CHECK_1.
23729 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23731 (__fxstat): Do not use CHECK_1.
23732 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23734 (__fxstatat): Do not use CHECK_1.
23735 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23737 (__getresgid): Do not use CHECK_1.
23738 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23740 (__getresuid): Do not use CHECK_1.
23741 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23743 (__lxstat): Do not use CHECK_1.
23744 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23746 (__old_msgctl): Do not use CHECK_1.
23747 (__new_msgctl): Likewise.
23748 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23750 (__new_setrlimit): Do not use CHECK_1.
23751 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23753 (__old_shmctl): Do not use CHECK_1.
23754 (__new_shmctl): Likewise.
23755 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23757 (__xstat): Do not use CHECK_1.
23758 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23759 (__lxstat): Do not use CHECK_1.
23760 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23762 (___lxstat64): Do not use CHECK_1.
23763 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23764 (__old_msgctl): Do not use CHECK_1.
23765 (__new_msgctl): Likewise.
23766 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23768 (__gettimeofday): Do not use CHECK_1.
23769 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23770 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23771 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23773 (__gettimeofday): Do not use CHECK_1.
23774 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23775 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23776 (__new_shmctl): Do not use CHECK_1.
23777 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23779 (do_sigtimedwait): Do not use CHECK_1.
23780 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23782 (do_sigwaitinfo): Do not use CHECK_1.
23783 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23785 (msgctl): Do not use CHECK_1.
23786 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23788 (shmctl): Do not use CHECK_1.
23789 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23790 (ustat): Do not use CHECK_1.
23791 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23793 (__fxstat): Do not use CHECK_1.
23794 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23796 (__fxstatat): Do not use CHECK_1.
23797 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23799 (__lxstat): Do not use CHECK_1.
23800 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23802 (__xstat): Do not use CHECK_1.
23803 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23804 (__xstat): Do not use CHECK_1.
23805 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23806 (___xstat64): Do not use CHECK_1.
23809 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23811 (CHECK_BOUNDS_HIGH): Likewise.
23812 * string/strcpy.c: Do not include <bp-checks.h>.
23813 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23815 2013-02-07 Roland McGrath <roland@hack.frob.com>
23817 * nscd/nscd-client.h (__nscd_drop_map_ref):
23818 Add __attribute__ ((unused)).
23819 * nis/nss-nisplus.h (niserr2nss): Likewise.
23821 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23822 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23824 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23825 Remove inline keyword.
23826 * include/rounding-mode.h (round_away): Likewise.
23827 * libio/wfileops.c (adjust_wide_data): Likewise.
23828 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23829 (__m128i_strloadu_tolower): Likewise.
23830 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23831 (__m128i_strloadu_tolower): Likewise.
23832 * time/mktime.c (ydhms_diff): Likewise.
23833 * locale/elem-hash.h (elem_hash): Likewise.
23834 * locale/setlocale.c (setdata): Likewise.
23835 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23836 (re_string_wchar_at): Likewise.
23837 (bitset_not, bitset_merge, bitset_mask): Likewise.
23838 [!(__GNUC__ > 3)] (inline): Remove macro.
23839 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23840 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23841 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23842 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23843 * string/memcmp.c (memcmp_bytes): Likewise.
23844 * locale/programs/locarchive.c (compute_hashval): Likewise.
23845 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23846 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23847 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23848 * nss/getent.c (print_rpc, print_protocols): Likewise.
23849 (print_passwd, print_group, print_aliases): Likewise.
23850 * nis/nss-nisplus.h (niserr2nss): Likewise.
23851 * nscd/connections.c (restart_p): Likewise.
23852 Change return type to bool.
23854 2013-02-05 Roland McGrath <roland@hack.frob.com>
23856 * Makeconfig (all-Depend-files): Add existing
23857 $(sorted-subdirs:=/Depend) files.
23858 (all-subdirs): Remove nss.
23859 * sysdeps/unix/inet/Subdirs: Add it here instead.
23860 * hesiod/Depend: New file.
23862 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23863 instead of calling alloca.
23865 * io/lseek.c (__lseek): Rename to __libc_lseek.
23866 Define __lseek as an alias.
23868 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23870 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23872 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23873 else clause and remove check for non-standard endianness.
23875 2013-02-04 David S. Miller <davem@davemloft.net>
23877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23879 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23882 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23883 (__ubp_memchr): Remove prototype.
23884 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23885 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23886 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23887 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23888 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23890 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23891 (__ubp_memchr): Likewise.
23892 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23893 (__ubp_memchr): Likewise.
23894 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23895 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23896 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23897 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23899 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23900 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23901 (__getcwd): Do not use CHECK_STRING.
23902 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23904 (__real_chown): Do not use CHECK_STRING.
23905 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23907 (fchownat): Do not use CHECK_STRING.
23908 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23910 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23912 (__lchown): Do not use CHECK_STRING.
23913 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23914 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23915 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23916 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23918 include <bp-checks.h>.
23919 (truncate64): Do not use CHECK_STRING.
23920 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23922 (__real_chown): Do not use CHECK_STRING.
23923 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23925 (__lchown): Do not use CHECK_STRING.
23926 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23928 (__chown): Do not use CHECK_STRING.
23929 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23931 (truncate64): Do not use CHECK_STRING.
23932 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23934 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23935 (__xmknod): Do not use CHECK_STRING.
23936 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23938 (__xmknodat): Do not use CHECK_STRING.
23939 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23940 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23942 2013-02-04 Andreas Schwab <schwab@suse.de>
23945 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23946 * include/netdb.h: Likewise for h_errno.
23947 * elf/tst-stackguard1.c: Include <tls.h>.
23949 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23951 * elf/link.h (struct link_map): Extend the l_addr comment.
23952 * include/link.h (struct link_map): Likewise.
23954 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23957 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23958 (BOUNDED_1): Remove macro.
23959 * debug/backtrace.c: Don't include <bp-checks.h>.
23960 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23961 (__backtrace): Likewise.
23962 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23964 (__backtrace): Don't use BOUNDED_1.
23965 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23967 (__backtrace): Don't use BOUNDED_1.
23968 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23969 (__backtrace): Don't use BOUNDED_1.
23970 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23971 (shmat): Don't use BOUNDED_N.
23973 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23976 * sysdeps/generic/bp-start.h: Remove file.
23977 * csu/libc-start.c: Don't include <bp-start.h>.
23978 (LIBC_START_MAIN): Set up __environ directly instead of using
23979 INIT_ARGV_and_ENVIRON.
23980 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23984 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23986 (CHECK_FCNTL): Likewise.
23987 (CHECK_N_PAGES): Likewise.
23990 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23992 (CHECK_SIGSET_NULL_OK): Likewise.
23993 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23995 (sigpending): Don't use CHECK_SIGSET.
23996 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23998 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23999 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24001 (do_sigsuspend): Don't use CHECK_SIGSET.
24002 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24004 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24005 (do_sigwait): Don't use CHECK_SIGSET.
24006 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24008 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24009 include <bp-checks.h>.
24010 (sigpending): Don't use CHECK_SIGSET.
24011 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24012 include <bp-checks.h>.
24013 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24014 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24016 (sigpending): Don't use CHECK_SIGSET.
24017 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24019 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24022 * sysdeps/generic/bp-semctl.h: Remove file.
24023 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24024 <bp-checks.h> and <bp-semctl.h>.
24025 (__old_semctl): Don't use CHECK_SEMCTL.
24026 (__new_semctl): Likewise.
24027 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24029 (__old_semctl): Don't use CHECK_SEMCTL.
24030 (__new_semctl): Likewise.
24031 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24032 <bp-checks.h> and <bp-semctl.h>.
24033 (__old_semctl): Don't use CHECK_SEMCTL.
24034 (__new_semctl): Likewise.
24035 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24036 <bp-checks.h> and <bp-semctl.h>.
24037 (semctl): Don't use CHECK_SEMCTL.
24040 * Makerules (elide-bp-thunks): Remove variable.
24041 (elide-routines.oS): Don't use $(elide-bp-thunks).
24042 (elide-routines.os): Likewise.
24043 (elide-routines.o): Likewise.
24044 (elide-routines.op): Likewise.
24045 (elide-routines.og): Likewise.
24046 (objects): Don't use $(bp-thunks).
24047 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24049 (common-generated): Do not add s-proto-bp.d.
24050 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24053 Do not generate makefile rules for bounded-pointer thunks.
24054 * sysdeps/generic/bp-thunks.h: Remove file.
24055 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24056 * sysdeps/unix/s-proto-bp.S: Likewise.
24059 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24060 parts of result separately when argument is not close to line from
24061 -i to i and one part of argument is small.
24062 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24063 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24064 * math/libm-test.inc (cacos_test): Add more tests.
24065 (casin_test): Likewise.
24066 (casinh_test): Likewise.
24067 * sysdeps/i386/fpu/libm-test-ulps: Update.
24068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24070 2013-01-31 David S. Miller <davem@davemloft.net>
24072 * po/de.po: Update from translation team.
24074 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24076 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24078 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24080 * configure.in (_AC_PROG_CC_C89): New definition.
24081 * configure: Regenerate.
24083 * configure.in (AC_PROG_CPP): New definition.
24084 * configure: Regenerate.
24086 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24088 * debug/tst-backtrace.h: New file.
24089 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24090 (ret): Remove variable.
24092 (FAIL): Remove macro.
24093 (NO_INLINE): Likewise.
24094 (fn1): Use match function instead of strstr.
24095 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24096 (ret): Remove variable.
24098 (FAIL): Remove macro.
24099 (NO_INLINE): Likewise.
24100 (fn): Use match function instead of strstr.
24101 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24102 (ret): Remove variable.
24104 (FAIL): Remove macro.
24105 (NO_INLINE): Likewise.
24106 (handle_signal): Use match function instead of strstr.
24107 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24108 (ret): Remove variable.
24110 (FAIL): Remove macro.
24111 (NO_INLINE): Likewise.
24112 (handle_signal): Use match function instead of strstr.
24114 2013-01-23 Roland McGrath <roland@hack.frob.com>
24116 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24118 2013-01-23 David S. Miller <davem@davemloft.net>
24120 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24121 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24122 argument of CAS if possible.
24123 * sysdeps/sparc/sparc64/bits/atomic.h
24124 (__arch_compare_and_exchange_val_32_acq): Likewise.
24125 (__arch_compare_and_exchange_val_64_acq): Likewise.
24127 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24129 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24130 * sysdeps/posix/ulimit.c: ... this.
24131 Include <limits.h>.
24132 * sysdeps/unix/bsd/ulimit.c: Remove file.
24134 2013-01-23 Adam Conrad <adconrad@0c3.net>
24136 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24137 (LDFLAGS-tst-array5): Likewise.
24139 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24142 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24143 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24144 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24145 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24147 2013-01-21 David S. Miller <davem@davemloft.net>
24149 * sysdeps/sparc/backtrace.c: New file.
24150 * sysdeps/sparc/sparc32/backtrace.h: New file.
24151 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24152 * sysdeps/sparc/sparc64/backtrace.h: New file.
24153 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24154 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24157 2013-01-21 Andreas Schwab <schwab@suse.de>
24160 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24163 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24169 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24170 Mark Mitchell <mark@codesourcery.com>
24171 Tom de Vries <tom@codesourcery.com>
24172 Paul Pluzhnikov <ppluzhnikov@google.com>
24174 * debug/tst-backtrace2.c: New file.
24175 * debug/tst-backtrace3.c: Likewise.
24176 * debug/tst-backtrace4.c: Likewise.
24177 * debug/tst-backtrace5.c: Likewise.
24178 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24179 (CFLAGS-tst-backtrace3.c): Likewise.
24180 (CFLAGS-tst-backtrace4.c): Likewise.
24181 (CFLAGS-tst-backtrace5.c): Likewise.
24182 (LDFLAGS-tst-backtrace2): Likewise.
24183 (LDFLAGS-tst-backtrace3): Likewise.
24184 (LDFLAGS-tst-backtrace4): Likewise.
24185 (LDFLAGS-tst-backtrace5): Likewise.
24186 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24187 tst-backtrace4 and tst-backtrace5.
24189 2013-01-18 Anton Blanchard <anton@samba.org>
24190 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24192 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24193 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24194 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24195 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24197 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24198 "+r" and remove output regs list as redundant. Add explicit inline
24199 asm to specify register of return val to work around compiler codegen
24200 bug. Remove (int) cast on return value. Add return type parameter to
24201 use in macro so that this macro does not truncate return value for
24203 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24204 pass to INTERNAL_VSYSCALL_NCS.
24205 (INLINE_VSYSCALL): Add 'long int' as return type to
24206 INTERNAL_VSYSCALL_NCS macro invocation.
24207 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24208 INTERNAL_VSYSCALL_NCS macro invocation.
24209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24211 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24214 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24215 Fix application of SIMD FP exception mask.
24217 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24218 mp_no from a power of two.
24219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24220 __mpexp_twomm1. Use __pow_mp.
24222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24225 2013-01-17 David S. Miller <davem@davemloft.net>
24227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24229 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24232 * include/complex.h: Condition contents on [!_COMPLEX_H].
24233 (__kernel_casinhf): New prototype.
24234 (__kernel_casinh): Likewise.
24235 (__kernel_casinhl): Likewise.
24236 * math/Makefile (libm_calls): Add k_casinh.
24237 * math/k_casinh.c: New file.
24238 * math/k_casinhf.c: Likewise.
24239 * math/k_casinhl.c: Likewise.
24240 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24241 finite nonzero arguments.
24242 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24243 finite nonzero arguments.
24244 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24245 finite nonzero arguments.
24246 * math/s_casinh.c: Do not include <float.h>.
24247 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24248 * math/s_casinhf.c: Do not include <float.h>.
24249 (__casinhf): Move code for finite nonzero arguments to
24251 * math/s_casinhl.c: Do not include <float.h>.
24252 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24254 (__casinhl): Move code for finite nonzero arguments to
24256 * math/libm-test.inc (cacos_test): Add more tests.
24257 * sysdeps/i386/fpu/libm-test-ulps: Update.
24258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24260 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24262 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24263 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24264 [!HAVE_MREMAP]: Remove [defined linux] case.
24265 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24267 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24269 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24271 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24273 * elf/elf.h (R_386_SIZE32): New relocation.
24274 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24276 (elf_machine_rela): Likewise.
24277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24278 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24280 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24282 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24283 (FP_FAST_FMA): Do not define.
24284 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24285 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24286 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24287 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24288 !_SOFT_FLOAT]: Likewise.
24289 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24290 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24292 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24293 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24294 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24295 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24296 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24297 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24300 2013-01-16 Andreas Schwab <schwab@suse.de>
24303 * include/stdlib.h (__mktemp): Add declaration.
24304 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24305 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24307 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24309 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24311 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24312 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24313 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24315 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24316 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24318 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24320 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24321 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24322 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24324 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24325 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24327 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24329 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24331 2013-01-15 David S. Miller <davem@davemloft.net>
24333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24334 trunc{,f} to libm-sysdep_routes.
24335 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24345 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24346 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24347 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24348 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24349 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24350 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24353 nearbyint{,f} to libm-sysdep_routes.
24354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24365 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24367 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24368 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24370 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24371 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24372 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24374 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24375 libc_feholdexcept and libc_fesetenv.
24377 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24379 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24381 2013-01-14 David S. Miller <davem@davemloft.net>
24383 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24384 (SPARC_ASM_VIS2_IFUNC): Likewise.
24385 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24387 use of 'siam' instruction.
24388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24421 routines to libm-sysdep_routines.
24422 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24425 fdim/fdimf to libm-sysdep_routines.
24426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24434 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24435 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24436 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24437 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24439 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24441 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24442 to optimize copies.
24444 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24449 local variable MPTWO.
24450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24453 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24455 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24458 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24460 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24462 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24464 * manual/pattern.texi (glob_t): Document gl_flags.
24465 (glob64_t): Likewise.
24467 2013-01-11 David S. Miller <davem@davemloft.net>
24469 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24470 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24471 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24472 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24473 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24474 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24475 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24476 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24477 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24478 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24479 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24480 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24481 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24483 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24484 sparc V9 rather than using V8 code.
24485 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24486 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24488 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24490 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24493 2013-01-11 Roland McGrath <roland@hack.frob.com>
24495 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24496 not in the main loop.
24497 * configure: Regenerated.
24499 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24501 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24502 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24504 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24505 [!__GLIBC_HAVE_LONG_LONG] case.
24506 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24507 condition to just #else.
24508 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24509 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24510 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24511 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24513 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24514 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24515 #elif condition to just #else.
24516 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24517 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24518 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24519 #elif condition to just #else.
24521 2013-01-11 Steve Ellcey <sellcey@mips.com>
24523 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24524 (EF_MIPS_ARCH_64): Fix value.
24525 (EF_MIPS_ARCH_32R2): New.
24526 (EF_MIPS_ARCH_64R2): New.
24528 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24530 * Makeconfig (+link-pie-before-libc): New.
24531 (+link-pie-after-libc): Likewise.
24532 (+link-pie-tests): Likewise.
24533 (+link-pie): Rewritten.
24534 (link-before-libc): Remove $(config-LDFLAGS).
24535 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24536 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24537 (config-LDFLAGS): Renamed to ...
24538 (rtld-LDFLAGS): This.
24539 (rtld-tests-LDFLAGS): New macro.
24540 (link-libc-rpath-link): Likewise.
24541 (link-libc-tests-rpath-link): Likewise.
24542 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24543 (link-libc): Prepand $(link-libc-rpath-link).
24544 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24545 (test-program-prefix): New macro.
24546 (test-via-rtld-prefix): Likewise.
24547 (test-program-cmd): Likewise.
24548 (host-test-program-cmd): Likewise.
24549 * Makefile ($(common-objpfx)testrun.sh): Replace
24550 $(run-program-prefix) with $(test-program-prefix).
24551 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24553 ($(common-objpfx)shlib.lds): Likewise.
24554 (build-module-helper): Likewise.
24555 ($(common-objpfx)format.lds): Likewise.
24556 * Rules (binaries-pie-tests): New.
24557 (binaries-pie-notests): Likewise.
24558 (binaries-pie): Rewritten.
24559 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24560 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24561 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24562 (make-test-out): Replace $(host-built-program-cmd) with
24563 $(host-test-program-cmd).
24564 * config.make.in (build-hardcoded-path-in-tests): New variable.
24565 * configure.in (--enable-hardcoded-path-in-tests): New configure
24567 (hardcoded_path_in_tests): New AC_SUBST.
24568 * configure: Regenerated.
24569 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24570 $(built-program-cmd) with $(test-program-cmd).
24571 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24572 (test_program_cmd): This.
24573 * elf/Makefile ($(objpfx)order.out): Run test with
24574 $(test-program-prefix).
24575 ($(objpfx)order2.out): Likewise.
24576 ($(objpfx)tst-initorder.out): Likewise.
24577 ($(objpfx)tst-initorder2.out): Likewise.
24578 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24579 $(test-program-cmd).
24580 ($(objpfx)tst-array1-static.out): Likewise.
24581 ($(objpfx)tst-array2.out): Likewise.
24582 ($(objpfx)tst-array3.out): Likewise.
24583 ($(objpfx)tst-array4.out): Likewise.
24584 ($(objpfx)tst-array5.out): Likewise.
24585 ($(objpfx)tst-array5-static.out): Likewise.
24586 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24587 $(test-program-cmd).
24588 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24589 $(run-program-prefix) with $(test-program-prefix).
24590 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24591 (test_program_prefix): This.
24592 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24593 $(run-program-prefix) with $(test-program-prefix).
24594 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24595 (test_program_prefix): This.
24596 * iconvdata/tst-tables.sh: Likewise.
24597 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24598 $(run-program-prefix) with $(test-program-prefix).
24599 ($(objpfx)tst-translit.out): Likewise.
24600 ($(objpfx)tst-gettext2.out): Likewise.
24601 ($(objpfx)tst-gettext4.out): Likewise.
24602 ($(objpfx)tst-gettext6.out): Likewise.
24603 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24604 (test_program_prefix): This.
24605 * intl/tst-gettext2.sh: Likewise.
24606 * intl/tst-gettext4.sh Likewise.
24607 * intl/tst-gettext6.sh: Likewise.
24608 * intl/tst-translit.sh: Likewise.
24609 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24610 with $(test-program-cmd).
24611 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24612 $(run-program-prefix) with $(test-program-prefix).
24613 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24614 (test_program_prefix): This.
24615 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24616 $(run-program-prefix) with $(test-program-prefix).
24617 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24618 (test_program_prefix): This.
24619 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24620 * posix/Makefile ($(objpfx)globtest.out): Replace
24621 $(run-via-rtld-prefix) and $(test-wrapper) with
24622 $(test-program-prefix) and $(test-via-rtld-prefix).
24623 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24624 $(test-program-prefix).
24625 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24626 $(host-test-program-cmd).
24627 (tst-spawn-ARGS): Likewise.
24628 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24629 $(test-program-prefix).
24630 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24631 (test_via_rtld_prefix): This.
24632 (test_wrapper): Renamed to ...
24633 (test_program_prefix): This.
24634 (run_program_prefix): Replaced by test_program_prefix.
24635 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24636 (test_program_prefix): This.
24637 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24638 with $(host-test-program-cmd).
24639 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24640 $(run-program-prefix) with $(test-program-prefix).
24641 ($(objpfx)tst-printf.out): Likewise.
24642 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24643 $(test-program-cmd).
24644 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24645 (test_program_prefix): This.
24646 * stdio-common/tst-unbputc.sh: Likewise.
24647 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24648 $(run-program-prefix) with $(test-program-prefix).
24649 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24650 (test_program_prefix): This.
24651 * string/Makefile ($(objpfx)tst-svc.out): Replace
24652 $(built-program-cmd) with $(test-program-cmd).
24654 2013-01-11 Andreas Jaeger <aj@suse.de>
24657 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24658 value. Sync with Linux 3.7.
24660 2013-01-10 David S. Miller <davem@davemloft.net>
24662 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24663 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24664 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24666 2013-01-10 Roland McGrath <roland@hack.frob.com>
24668 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24670 * configure: Regenerated.
24672 2013-01-10 David S. Miller <davem@davemloft.net>
24674 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24675 sparc V9 rather than using V8 code.
24676 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24677 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24679 2013-01-10 Roland McGrath <roland@hack.frob.com>
24681 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24682 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24683 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24684 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24685 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24686 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24687 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24688 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24689 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24690 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24691 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24692 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24693 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24694 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24695 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24696 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24697 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24698 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24699 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24700 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24701 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24702 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24703 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24704 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24705 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24706 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24707 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24709 2013-01-10 David S. Miller <davem@davemloft.net>
24711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24713 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24715 * posix/Makefile (tests-static): New variable.
24716 (tests): Add $(tests-static).
24717 (tst-exec-static-ARGS): New variable.
24718 (tst-spawn-static-ARGS): Likewise.
24719 * posix/tst-exec-static.c: New file.
24720 * posix/tst-spawn-static.c: Likewise.
24721 * posix/tst-exec.c: Support run directly.
24722 * posix/tst-spawn.c: Likewise.
24724 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24726 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24728 * math/bits/mathcalls.h (llrint): Likewise.
24729 (llround): Likewise.
24730 * stdlib/stdlib.h (struct drand48_data): Likewise.
24731 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24732 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24733 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24735 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24737 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24738 (elf_greg_t): Likewise.
24739 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24740 (__jmp_buf): Likewise.
24741 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24743 (llrint): Likewise, for all definitions.
24744 (llrintl): Likewise.
24746 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24747 Remove [__GNUC__] condition.
24748 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24749 condition to just [__USE_ISOC99].
24750 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24752 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24755 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24756 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24758 (_POSIX_V6_ILP32_OFF32): Likewise.
24759 (_XBS5_ILP32_OFF32): Likewise.
24760 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24761 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24763 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24765 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24767 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24768 doubles __mpexp_twomm1. Adjust usage.
24769 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24772 2013-01-10 Andreas Schwab <schwab@suse.de>
24775 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24776 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24778 2013-01-09 David S. Miller <davem@davemloft.net>
24781 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24782 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24783 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24784 (TCP_FASTOPEN): Define.
24785 (tcp_repair_opt): New structure.
24786 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24788 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24789 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24790 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24791 (tcp_cookie_transactions): New structure.
24793 2013-01-09 Anton Blanchard <anton@samba.org>
24795 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24796 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24797 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24798 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24800 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24802 * include/features.h (__USE_ANSI): Remove.
24804 2013-01-09 Roland McGrath <roland@hack.frob.com>
24806 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24808 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24810 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24812 * sysdeps/s390/fpu/libm-test-ulps: Update.
24814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24816 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24820 (denorm): Likewise.
24821 (__mp_dbl): Likewise.
24822 (__dbl_mp): Likewise.
24823 (add_magnitudes): Likewise.
24824 (sub_magnitudes): Likewise.
24830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24834 (denorm): Likewise.
24835 (__mp_dbl): Likewise.
24836 (__dbl_mp): Likewise.
24837 (add_magnitudes): Likewise.
24838 (sub_magnitudes): Likewise.
24844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24848 (denorm): Likewise.
24849 (__mp_dbl): Likewise.
24850 (__dbl_mp): Likewise.
24851 (add_magnitudes): Likewise.
24852 (sub_magnitudes): Likewise.
24859 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24861 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24862 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24863 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24864 2 && __USE_EXTERN_INLINES]: Likewise.
24866 2013-01-08 Andreas Jaeger <aj@suse.de>
24869 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24871 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24872 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24874 2013-01-07 Anton Blanchard <anton@samba.org>
24876 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24877 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24878 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24879 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24880 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24881 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24882 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24883 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24886 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24887 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24888 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24889 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24890 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24891 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24892 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24893 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24894 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24895 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24896 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24897 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24898 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24899 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24900 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24901 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24902 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24903 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24904 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24905 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24906 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24908 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24909 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24910 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24911 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24912 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24913 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24914 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24915 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24916 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24917 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24918 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24920 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24922 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24923 (__MALLOC_PMT): Likewise.
24924 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24925 [__GNUC__], only on [_LIBC].
24926 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24927 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24928 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24929 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24930 forward declaration.
24931 (realloc_hook_ini): Likewise.
24932 (memalign_hook_ini): Likewise.
24933 (__libc_memalign): Do not use __MALLOC_PMT in variable
24935 (__libc_valloc): Likewise.
24936 (__libc_pvalloc): Likewise.
24937 (__libc_calloc): Likewise.
24938 (__posix_memalign): Likewise.
24941 * math/s_casinh.c: Include <float.h>.
24942 (__casinh): Do not do computation with squaring and square root
24943 for large arguments.
24944 * math/s_casinhf.c: Include <float.h>.
24945 (__casinhf): Do not do computation with squaring and square root
24946 for large arguments.
24947 * math/s_casinhl.c: Include <float.h>.
24948 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24949 (__casinhl): Do not do computation with squaring and square root
24950 for large arguments.
24951 * math/libm-test.inc (casin_test): Add more tests.
24952 (casinh_test): Likewise.
24953 * sysdeps/i386/fpu/libm-test-ulps: Update.
24954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24956 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24958 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24959 (__x86_64_raw_data_cache_size): Likewise.
24960 (__x86_64_data_cache_size_half): Likewise.
24961 (__x86_64_raw_data_cache_size_half): Likewise.
24962 (__x86_64_shared_cache_size): Likewise.
24963 (__x86_64_raw_shared_cache_size): Likewise.
24964 (__x86_64_shared_cache_size_half): Likewise.
24965 (__x86_64_raw_shared_cache_size_half): Likewise.
24966 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24968 (__x86_data_cache_size): This.
24969 (__x86_64_raw_data_cache_size): Renamed to ...
24970 (__x86_raw_data_cache_size): This.
24971 (__x86_64_data_cache_size_half): Renamed to ...
24972 (__x86_data_cache_size_half): This.
24973 (__x86_64_raw_data_cache_size_half): Renamed to ...
24974 (__x86_raw_data_cache_size_half): This.
24975 (__x86_64_shared_cache_size): Renamed to ...
24976 (__x86_shared_cache_size): This.
24977 (__x86_64_raw_shared_cache_size): Renamed to ...
24978 (__x86_raw_shared_cache_size): This.
24979 (__x86_64_shared_cache_size_half): Renamed to ...
24980 (__x86_shared_cache_size_half): This.
24981 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24982 (__x86_raw_shared_cache_size_half): This.
24983 * sysdeps/x86_64/memcpy.S: Updated.
24984 * sysdeps/x86_64/memset.S: Likewise.
24985 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24986 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24987 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24989 2013-01-04 David S. Miller <davem@davemloft.net>
24991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24993 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24995 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24996 1 to avoid redefinition warning.
24997 (__USE_GNU): Don't define.
24998 (init_signaling_nan): Protoize.
25000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25002 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25004 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25006 (__cpymn): Likewise.
25007 (norm): Remove commented code.
25008 (denorm): Likewise.
25009 (__mp_dbl): Likewise.
25011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25012 (__cpymn): Likewise.
25013 (norm): Remove commented code.
25014 (denorm): Likewise.
25015 (__mp_dbl): Likewise.
25018 * sysdeps/powerpc/powerpc32/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.
25023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25024 mp_no value for 1.0 and 2.0.
25025 (norm): Use RADIXI instead of radixi.d.
25026 (denorm): Likewise.
25027 (__mul): Use 0.0 instead of zero.d.
25029 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25032 * math/s_casinh.c (__casinh): Reduce finite argument to first
25033 quadrant then set signs of results at the end.
25034 * math/s_casinhf.c (__casinhf): Likewise.
25035 * math/s_casinhl.c (__casinhl): Likewise.
25036 * math/libm-test.inc (casin_test): Add more tests.
25037 (casinh_test): Likewise.
25038 * sysdeps/i386/fpu/libm-test-ulps: Update.
25039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25041 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25043 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25045 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25047 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25049 (denorm): Likewise.
25050 (__mp_dbl): Likewise.
25053 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25054 and adjust the header comment.
25056 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25057 variable name from declaration.
25059 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25062 Initialize COMMON_CPUID_INDEX_7 element.
25063 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25064 (CPUID_RTM): Likewise.
25065 (HAS_RTM): Likewise.
25066 (COMMON_CPUID_INDEX_7): New enum.
25068 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25071 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25072 size is zero, record memory as freed.
25074 2013-01-03 Andreas Jaeger <aj@suse.de>
25076 * po/ia.po: Add new Interlingua translation.
25078 2012-01-03 Allan McRae <allan@archlinux.org>
25080 * locale/programs/localedef.c: Fix description of '--posix' flag.
25082 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25084 * NEWS: Update dates in second copyright notice.
25085 * README: Update copyright dates in example.
25086 * manual/libc.texinfo: Update copyright dates.
25087 * scripts/test-installation.pl: Update copyright date in --version
25090 * hurd/ctty-input.c: Fix copyright notice formatting.
25091 * hurd/ctty-output.c: Likewise.
25092 * hurd/dtable.c: Likewise.
25093 * hurd/hurd-raise.c: Likewise.
25094 * hurd/hurdprio.c: Likewise.
25095 * hurd/msgportdemux.c: Likewise.
25096 * misc/sys/file.h: Likewise.
25097 * misc/sys/ioctl.h: Likewise.
25098 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25099 * sysdeps/mach/hurd/chdir.c: Likewise.
25100 * sysdeps/mach/hurd/fchdir.c: Likewise.
25101 * sysdeps/mach/hurd/rename.c: Likewise.
25102 * sysdeps/mach/hurd/rmdir.c: Likewise.
25103 * sysdeps/mach/hurd/seekdir.c: Likewise.
25104 * sysdeps/mach/hurd/setsid.c: Likewise.
25105 * sysdeps/posix/wait3.c: Likewise.
25107 * All files with FSF copyright notices: Update copyright dates
25108 using scripts/update-copyrights.
25109 * intl/plural.c: Regenerated.
25110 * locale/programs/charmap-kw.h: Likewise.
25111 * locale/programs/locfile-kw.h: Likewise.
25113 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25115 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25118 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25119 calculation loop and add branch prediction.
25121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25122 check access beyond bounds of m1np.
25124 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25126 (__inv): Remove local variable MPTWO to use the global
25128 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25129 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25131 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25132 MP3HALFS static const.
25134 2013-01-01 David S. Miller <davem@davemloft.net>
25136 * po/ca.po: Update from translation team.
25138 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25140 * scripts/update-copyrights: New file.
25141 * Makeconfig: Reformat copyright notice.
25142 * ctype/ctype.h: Likewise.
25143 * debug/swprintf_chk.c: Likewise.
25144 * elf/dl-cache.c: Likewise.
25145 * elf/dl-debug.c: Likewise.
25146 * elf/dl-object.c: Likewise.
25147 * grp/initgroups.c: Likewise.
25148 * hurd/Makefile: Likewise.
25149 * hurd/hurd/signal.h: Likewise.
25150 * hurd/hurdfault.c: Likewise.
25151 * hurd/hurdioctl.c: Likewise.
25152 * hurd/hurdlookup.c: Likewise.
25153 * hurd/intr-msg.c: Likewise.
25154 * iconv/gconv_open.c: Likewise.
25155 * libio/swprintf.c: Likewise.
25156 * locale/lc-ctype.c: Likewise.
25157 * locale/nl_langinfo.c: Likewise.
25158 * mach/Machrules: Likewise.
25159 * mach/Makefile: Likewise.
25160 * malloc/obstack.h: Likewise.
25161 * manual/Makefile: Likewise.
25162 * manual/tsort.awk: Likewise.
25163 * misc/bits/stab.def: Likewise.
25164 * nis/nis_print_group_entry.c: Likewise.
25165 * nis/nis_table.c: Likewise.
25166 * nis/nss_compat/compat-pwd.c: Likewise.
25167 * nis/nss_compat/compat-spwd.c: Likewise.
25168 * po/Makefile: Likewise.
25169 * posix/fnmatch.c: Likewise.
25170 * posix/regex.h: Likewise.
25171 * resolv/Makefile: Likewise.
25172 * resolv/nss_dns/dns-network.c: Likewise.
25173 * resolv/res_hconf.c: Likewise.
25174 * scripts/gen-sorted.awk: Likewise.
25175 * soft-fp/soft-fp.h: Likewise.
25176 * stdio-common/printf.h: Likewise.
25177 * stdlib/monetary.h: Likewise.
25178 * stdlib/random.c: Likewise.
25179 * stdlib/random_r.c: Likewise.
25180 * sysdeps/generic/Makefile: Likewise.
25181 * sysdeps/gnu/Makefile: Likewise.
25182 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25184 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25187 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25189 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25190 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25192 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25193 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25194 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25195 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25196 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25197 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25198 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25200 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25202 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25203 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25204 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25205 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25206 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25207 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25208 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25209 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25210 * sysdeps/mach/hurd/errnos.awk: Likewise.
25211 * sysdeps/mach/hurd/fork.c: Likewise.
25212 * sysdeps/mach/hurd/getcwd.c: Likewise.
25213 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25214 * sysdeps/mach/hurd/mmap.c: Likewise.
25215 * sysdeps/mach/hurd/utimes.c: Likewise.
25216 * sysdeps/mach/hurd/xmknod.c: Likewise.
25217 * sysdeps/posix/profil.c: Likewise.
25218 * sysdeps/posix/readdir_r.c: Likewise.
25219 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25220 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25221 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25222 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25223 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25224 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25225 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25226 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25228 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25229 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25230 * sysdeps/pthread/lio_listio.c: Likewise.
25231 * sysdeps/sparc/dl-procinfo.h: Likewise.
25232 * sysdeps/unix/i386/sysdep.S: Likewise.
25233 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25234 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25235 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25236 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25238 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25239 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25240 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25241 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25242 * sysdeps/wordsize-32/divdi3.c: Likewise.
25243 * time/sys/time.h: Likewise.
25244 * wcsmbs/Makefile: Likewise.
25246 2013-01-01 David S. Miller <davem@davemloft.net>
25248 * po/fr.po: Update from translation team.
25250 * catgets/gencat.c: Update copyright year.
25251 * csu/version.c: Likewise.
25252 * debug/catchsegv.sh: Likewise.
25253 * debug/pcprofiledump.c: Likewise.
25254 * debug/xtrace.sh: Likewise.
25255 * elf/ldconfig.c: Likewise.
25256 * elf/ldd.bash.in: Likewise.
25257 * elf/pldd.c: Likewise.
25258 * elf/sotruss.ksh: Likewise.
25259 * elf/sprof.c: Likewise.
25260 * iconv/iconv_prog.c: Likewise.
25261 * iconv/iconvconfig.c: Likewise.
25262 * locale/programs/locale.c: Likewise.
25263 * locale/programs/localedef.c: Likewise.
25264 * login/programs/pt_chown.c: Likewise.
25265 * malloc/memusage.sh: Likewise.
25266 * malloc/memusagestat.c: Likewise.
25267 * malloc/mtrace.pl: Likewise.
25268 * nscd/nscd.c: Likewise.
25269 * nss/getent.c: Likewise.
25270 * nss/makedb.c: Likewise.
25271 * posix/getconf.c: Likewise.
25273 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25275 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25278 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25280 * math/bits/mathcalls.h (modf): Use __nonnull.
25282 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25284 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25285 (split): Use macro CN instead of the bare value.
25286 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25288 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25289 instead of the bare value.
25290 (power1): Likewise.
25292 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25294 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25296 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25298 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25300 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25301 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25302 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25303 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25305 2012-12-28 Andreas Jaeger <aj@suse.de>
25307 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25308 values are from Linux 3.7.
25310 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25311 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25313 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25315 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25318 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25320 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25321 variables with preprocessor constants.
25322 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25323 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25324 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25326 2012-12-27 Bruno Haible <bruno@clisp.org>
25329 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25332 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25335 and use variable directly.
25336 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25338 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25340 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25341 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25343 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25345 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25346 include directive. Remove local variable MPONE.
25347 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25348 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25349 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25351 2012-12-25 David S. Miller <davem@davemloft.net>
25353 * version.h (RELEASE): Set to "development".
25354 (VERSION): Set to "2.17.90".
25355 * NEWS: Add 2.18 section.
25357 2012-12-21 David S. Miller <davem@davemloft.net>
25359 * po/hr.po: Update from translation team.
25361 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25363 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25365 2012-12-19 Steve Ellcey <sellcey@mips.com>
25367 * NEWS: Mention new memcpy for MIPS.
25369 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25371 * manual/contrib.texi (Contributors): Spelling correction.
25373 2012-12-15 David S. Miller <davem@davemloft.net>
25375 * po/ru.po: Update from translation team.
25377 2012-12-13 David S. Miller <davem@davemloft.net>
25379 * NEWS: Mention IFUNC testsuite enhancements.
25381 * po/pl.po: Update from translation team.
25382 * po/bg.po: Likewise.
25384 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25385 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25387 2012-12-11 David S. Miller <davem@davemloft.net>
25389 * po/sv.po: Update from translation team.
25391 * po/vi.po: Update from translation team.
25393 * po/cs.po: Update from translation team.
25395 * po/de.po: Update from translation team.
25396 * po/eo.po: Likewise.
25397 * po/nl.po: Likewise.
25399 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25402 * manual/argp.texi (Argp Helper Functions): Move node to follow
25403 Argp Parsing State.
25406 * manual/conf.texi (Limits on File System Capacity): Mention if
25407 terminating null is included in the max size.
25409 2012-12-10 Andreas Jaeger <aj@suse.de>
25411 * po/cs.po: Update from translation team.
25413 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25415 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25416 void pointer and cast to uintptr_t.
25417 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25419 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25420 * sysdeps/s390/s390-64/memset.S: Likewise.
25422 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25425 * menual/message.texi (Message Translation): Fix typos.
25426 (Helper programs for gettext): Likewise.
25428 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25431 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25434 2012-12-07 David S. Miller <davem@davemloft.net>
25436 * po/libc.pot: Update.
25438 2012-12-07 Richard Henderson <rth@redhat.com>
25441 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25442 normal/normal case to before the switch.
25443 (_FP_DIV): Likewise.
25445 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25446 Mike Frysinger <vapier@gentoo.org>
25448 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25449 check for __NR_fadvise64_64.
25451 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25453 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25454 0, not just to plain "0" as a statement.
25455 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25458 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25460 * NEWS: Use sourceware.org in Bugzilla URL.
25462 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25465 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25467 * stdio-common/tst-put-error.c (do_test): Add newline to the
25468 padded test to ensure flush.
25470 2012-12-05 Jeff Law <law@redhat.com>
25472 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25474 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25476 * README: Don't refer to ports add-on as distributed separately.
25477 Mention AArch64 in list of systems supported in the ports add-on.
25479 * LICENSES: Add more non-FSF copyright and license notices.
25481 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25484 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25486 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25487 10000 as width of padded output.
25489 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25491 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25493 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25494 variable LX with __attribute__ ((unused)).
25495 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25497 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25498 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25499 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25500 with __attribute__ ((unused)).
25502 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25504 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25506 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25508 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25509 (CFLAGS-nldbl-acos.c): New variable.
25510 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25511 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25512 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25513 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25514 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25515 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25516 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25517 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25518 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25519 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25520 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25521 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25522 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25523 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25524 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25525 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25526 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25527 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25528 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25529 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25530 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25531 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25532 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25533 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25534 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25535 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25536 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25537 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25538 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25539 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25540 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25541 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25542 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25543 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25544 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25545 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25546 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25547 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25548 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25549 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25550 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25551 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25552 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25553 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25554 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25555 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25556 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25557 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25558 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25559 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25560 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25561 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25562 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25563 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25564 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25565 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25566 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25567 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25568 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25569 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25570 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25571 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25572 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25573 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25574 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25575 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25576 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25577 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25578 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25579 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25580 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25581 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25582 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25583 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25584 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25585 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25586 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25587 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25588 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25589 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25590 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25591 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25592 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25593 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25594 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25595 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25596 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25597 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25598 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25599 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25600 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25601 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25602 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25603 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25604 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25605 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25606 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25609 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25612 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25613 whole low double instead of just low 47 bits when splitting values
25616 2012-12-03 Allan McRae <allan@archlinux.org>
25618 * manual/stdio.texi (Predefined Printf Handlers): Remove
25619 @hsep and @vsep usage.
25621 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25623 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25624 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25626 2012-12-03 Jeff Law <law@redhat.com>
25628 * time/sys/time.h (settimeofday): Do not mark TV argument
25631 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25633 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25634 when currently writing and seek to current position when not.
25635 * libio/Makefile (tests): Remove bug-fclose1.
25636 * libio/bug-fclose1.c: Delete.
25638 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25640 * manual/arith.texi (feenableexcept): Fix typo.
25641 (fedisableexcept): Likewise.
25643 2012-11-30 Roland McGrath <roland@hack.frob.com>
25645 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25646 second, differently-typed declaration, rather than a cast.
25648 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25650 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25651 * include/rpc/svc.h: ... here.
25653 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25656 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25657 depending n and resplen2 to catch cases where answer
25660 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25662 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25663 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25665 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25667 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25669 2012-11-29 Roland McGrath <roland@hack.frob.com>
25671 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25673 2012-11-28 Jeff Law <law@redhat.com>
25676 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25677 dataset_temporary. Track alloca usage into alloca_used.
25678 If dataset is large allocate and release it via malloc/free.
25680 2012-06-04 Florian Weimer <fweimer@redhat.com>
25683 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25685 2012-11-28 David S. Miller <davem@davemloft.net>
25687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25689 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25692 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25693 of pi/2 rounded to nearest to 64 bits.
25694 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25695 nearest to 64 bits.
25696 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25699 2012-11-28 Jeff Law <law@redhat.com>
25700 Martin Osvald <mosvald@redhat.com>
25703 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25704 * sunrpc/svc.c: Include time.h.
25705 (__svc_accept_failed): New function.
25706 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25707 any reason other than EINTR, call __svc_accept_failed.
25708 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25709 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25711 2012-11-28 Andreas Schwab <schwab@suse.de>
25713 * scripts/abilist.awk: Also handle indirect functions in .opd
25716 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25719 * sysdeps/x86/fpu/powl_helper.c: New file.
25720 * sysdeps/x86/fpu/Makefile: Likewise.
25721 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25723 (__ieee754_powl): Use __powl_helper for finite arguments except
25724 integer exponents below 8.
25725 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25727 (__ieee754_powl): Use __powl_helper for finite arguments except
25728 integer exponents below 8.
25729 * math/libm-test.inc (pow_test): Add more tests and enable some
25730 previously disabled tests.
25731 * sysdeps/i386/fpu/libm-test-ulps: Update.
25732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25734 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25735 Carlos O'Donell <carlos_odonell@mentor.com>
25737 * nss/makedb.c (is_prime): Assert that input is odd and greater
25738 than 4. Note that fact in a comment too.
25739 (next_prime): Add 4 to input.
25741 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25744 * libio/Makefile (tests): Add test case tst-fwrite-error.
25745 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25746 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25747 * libio/tst-fwrite-error.c: New test case.
25749 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25751 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25752 before casting to void *.
25753 * include/libc-internal.h (__pointer_type): New macro.
25754 (__integer_if_pointer_type_sub): Likewise.
25755 (__integer_if_pointer_type): Likewise.
25756 (cast_to_integer): Likewise.
25757 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25758 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25759 before casting to atomic64_t.
25760 (atomic_exchange_acq): Likewise.
25761 (__arch_exchange_and_add_body): Likewise.
25762 (__arch_add_body): Likewise.
25763 (atomic_add_negative): Likewise.
25764 (atomic_add_zero): Likewise.
25766 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25768 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25769 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25770 (add_fdes): Likewise.
25771 (linear_search_fdes): Likewise.
25772 (binary_search_unencoded_fdes): Likewise.
25774 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25776 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25778 2012-11-24 Adam Conrad <adconrad@0c3.net>
25780 * configure.in: Autodetect C++ header directories.
25781 * configure: Regenerated.
25783 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25785 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25787 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25791 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25793 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25794 LDBL_MANT_DIG == 106]: Disable some tests.
25795 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25797 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25801 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25802 input for small inputs. Return +/- pi/2 for large inputs.
25803 * math/libm-test.inc (atan_test): Add more tests.
25805 * sysdeps/generic/unwind-dw2-fde-glibc.c
25806 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25807 __attribute__ ((unused)).
25810 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25811 x * y if x and y are nonzero and z is zero.
25814 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25815 nonzero exponents with absolute value below 0x1p-117 to +/-
25819 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25820 up arguments below 2**-450, not just those below 2**-500.
25821 * math/libm-test.inc (hypot_test): Add another test.
25824 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25825 Return a+b for ratio over 2**120, not 2**60.
25826 * math/libm-test.inc (hypot_test): Add another test.
25828 * math/libm-test.inc (clog_test): Use
25829 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25830 (clog10_test): Likewise.
25833 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25835 2012-11-22 Andreas Schwab <schwab@suse.de>
25837 * sysdeps/i386/fpu/libm-test-ulps: Update.
25839 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25841 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25842 printf output with newline.
25844 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25847 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25848 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25849 -z nodlopen, -z initfirst and -z execstack support.
25850 * configure: Regenerated.
25852 * elf/elf.h (DF_1_NODIRECT): New macro.
25853 (DF_1_IGNMULDEF): Likewise.
25854 (DF_1_NOKSYMS): Likewise.
25855 (DF_1_NOHDR): Likewise.
25856 (DF_1_EDITED): Likewise.
25857 (DF_1_NORELOC): Likewise.
25858 (DF_1_SYMINTPOSE): Likewise.
25859 (DF_1_GLOBAUDIT): Likewise.
25860 (DF_1_SINGLETON): Likewise.
25861 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25862 DT_1_SUPPORTED_MASK bits.
25863 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25865 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25867 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25869 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25871 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25874 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25875 (sendmmsg): Move declarations...
25876 * socket/sys/socket.h: ... here.
25877 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25878 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25880 * socket/recvmmsg.c: ... this new file.
25881 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25882 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25883 definition of __sendmmsg hidden.
25884 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25885 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25886 Move ENOSYS stub into and include it from...
25887 * socket/sendmmsg.c: ... this new file.
25888 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25889 (sysdep_routines): Move recvmmsg and sendmmsg...
25890 * socket/Makefile (routines): ... here.
25891 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25892 (GLIBC_PRIVATE): Add __sendmmsg.
25893 * include/sys/socket.h (__sendmmsg): Add declarations.
25894 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25897 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25899 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25900 variable I1 with __attribute__ ((unused)).
25901 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25903 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25905 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25906 DUMMY variables with __attribute__ ((unused)).
25908 * bits/byteswap.h: Include <bits/types.h>.
25909 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25911 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25913 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25914 string_t. Do not manually set errno.
25915 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25916 length with __strnlen. Make sure to both set errno and return it on
25919 2012-11-19 David S. Miller <davem@davemloft.net>
25921 With help from Joseph Myers.
25922 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25923 very large arguments properly.
25924 * math/libm-test.inc (atan_test): New tests.
25925 (atan2_test): New tests.
25926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25929 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25932 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25935 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25936 [POSIX] (EADDRNOTAVAIL): Likewise.
25937 [POSIX] (EAFNOSUPPORT): Likewise.
25938 [POSIX] (EALREADY): Likewise.
25939 [POSIX] (ECONNABORTED): Likewise.
25940 [POSIX] (ECONNREFUSED): Likewise.
25941 [POSIX] (ECONNRESET): Likewise.
25942 [POSIX] (EDESTADDRREQ): Likewise.
25943 [POSIX] (EDQUOT): Likewise.
25944 [POSIX] (EHOSTUNREACH): Likewise.
25945 [POSIX] (EIDRM): Likewise.
25946 [POSIX] (EISCONN): Likewise.
25947 [POSIX] (ELOOP): Likewise.
25948 [POSIX] (EMULTIHOP): Likewise.
25949 [POSIX] (ENETDOWN): Likewise.
25950 [POSIX] (ENETUNREACH): Likewise.
25951 [POSIX] (ENOBUFS): Likewise.
25952 [POSIX] (ENODATA): Likewise.
25953 [POSIX] (ENOLINK): Likewise.
25954 [POSIX] (ENOMSG): Likewise.
25955 [POSIX] (ENOPROTOOPT): Likewise.
25956 [POSIX] (ENOSR): Likewise.
25957 [POSIX] (ENOSTR): Likewise.
25958 [POSIX] (ENOTCONN): Likewise.
25959 [POSIX] (ENOTSOCK): Likewise.
25960 [POSIX] (EOPNOTSUPP): Likewise.
25961 [POSIX] (EOVERFLOW): Likewise.
25962 [POSIX] (EPROTO): Likewise.
25963 [POSIX] (EPROTONOSUPPORT): Likewise.
25964 [POSIX] (EPROTOTYPE): Likewise.
25965 [POSIX] (ESTALE): Likewise.
25966 [POSIX] (ETIME): Likewise.
25967 [POSIX] (ETXTBSY): Likewise.
25968 [POSIX] (EWOULDBLOCK): Likewise.
25969 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25970 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25971 [POSIX] (SEEK_CUR): Likewise.
25972 [POSIX] (SEEK_END): Likewise.
25973 [POSIX || UNIX98] (mode_t): Do not require.
25974 [POSIX] (off_t): Likewise.
25975 [POSIX] (pid_t): Likewise.
25976 [POSIX] (sys/stat.h): Do not allow header.
25977 [POSIX] (unistd.h): Likewise.
25978 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25979 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25980 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25981 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25983 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25984 sigevent): Specify elements.
25985 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25987 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25988 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25990 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25991 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25992 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25993 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25994 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25995 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25996 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25997 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25998 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25999 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26000 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26001 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26002 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26003 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26005 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26007 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26009 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26011 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26012 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26013 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26014 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26015 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26016 Specify lower bound on value.
26017 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26018 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26019 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26020 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26021 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26022 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26023 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26024 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26026 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26028 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26029 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26030 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26031 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26032 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26033 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26034 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26035 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26036 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26037 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26038 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26039 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26040 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26041 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26042 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26043 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26045 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26047 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26048 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26049 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26050 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26051 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26052 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26054 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26055 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26056 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26057 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26058 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26059 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26060 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26062 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26063 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26064 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26065 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26066 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26067 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26068 specify as optional.
26069 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26070 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26071 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26072 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26073 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26074 [XPG3] (NL_LANGMAX): Likewise.
26075 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26076 [POSIX || XPG3] (NL_NMAX): Likewise.
26077 [POSIX || XPG3] (NL_SETMAX): Likewise.
26078 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26079 [XPG3] (NZERO): Likewise.
26080 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26081 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26082 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26083 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26084 (REG_ERANGE): Expect.
26085 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26087 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26088 Use (void) in prototype.
26089 [POSIX] (*_t): Allow.
26090 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26091 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26092 (WRDE_BADVAL): Expect.
26094 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26096 [XPG3 || XPG4] (O_RSYNC): Likewise.
26097 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26099 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26100 [XPG3 || XPG4] (sigqueue): Likewise.
26101 [XPG3 || XPG4] (sigtimedwait): Likewise.
26102 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26103 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26104 [XPG3 || XPG4] (vsnprintf): Likewise.
26105 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26107 [XPG3 || XPG4] (blksize_t): Likewise.
26108 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26110 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26111 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26112 [XPG3 || XPG4] (struct itimerspec): Likewise.
26113 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26114 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26115 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26116 [XPG3 || XPG4] (clockid_t): Likewise.
26117 [XPG3 || XPG4] (timer_t): Likewise.
26118 [XPG3 || XPG4] (clock_getres): Likewise.
26119 [XPG3 || XPG4] (clock_gettime): Likewise.
26120 [XPG3 || XPG4] (clock_settime): Likewise.
26121 [XPG3 || XPG4] (nanosleep): Likewise.
26122 [XPG3 || XPG4] (timer_create): Likewise.
26123 [XPG3 || XPG4] (timer_delete): Likewise.
26124 [XPG3 || XPG4] (timer_gettime): Likewise.
26125 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26126 [XPG3 || XPG4] (timer_settime): Likewise.
26127 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26128 [XPG3 || XPG4] (getlogin_r): Likewise.
26129 [XPG3 || XPG4] (pread): Likewise.
26130 [XPG3 || XPG4] (pthread_atfork): Likewise.
26131 [XPG3 || XPG4] (pwrite): Likewise.
26134 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26137 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26139 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26140 finalizing MALLSTREAM.
26142 * sysdeps/mach/hurd/syncfs.c: New file.
26144 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26147 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26148 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26149 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26150 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26151 (_nss_dns_gethostbyname4_r): Likewise.
26152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26153 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26155 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26158 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26160 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26162 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26163 * elf/cache.c (print_entry): Print ",AArch64" for
26166 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26167 * elf/cache.c (print_entry): Print ",hard-float" for
26170 2012-11-18 David S. Miller <davem@davemloft.net>
26172 With help from Joseph Myers.
26173 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26175 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26177 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26178 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26180 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26181 * math/libm-test.inc (y0_test): New tests.
26182 (y1_test): New tests.
26183 * sysdeps/i386/fpu/libm-test-ulps: Update.
26184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26187 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26189 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26191 * configure: Regenerated.
26193 2012-11-17 David S. Miller <davem@davemloft.net>
26196 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26197 nonzero exponents with absolute value below 0x1p-128 to +/-
26200 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26202 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26204 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26206 * posix/getconf-speclist.c: New file.
26207 * posix/posix-envs.def: Likewise.
26208 * posix/confstr.c (START_ENV_GROUP): New macro.
26209 (END_ENV_GROUP): Likewise.
26210 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26211 (KNOWN_PRESENT_ENV_STRING): Likewise.
26212 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26213 (UNKNOWN_ENVIRONMENT): Likewise.
26214 (confstr): Include posix-envs.def instead of handling
26215 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26216 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26217 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26218 (END_ENV_GROUP): Likewise.
26219 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26220 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26221 (UNKNOWN_ENVIRONMENT): Likewise.
26222 (__sysconf): Include posix-envs.def instead of handling associated
26223 cases directly here.
26224 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26225 preprocessing getconf-speclist.c rather than running getconf or
26226 generating empty file.
26228 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26230 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26232 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26235 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26237 2012-11-16 David S. Miller <davem@davemloft.net>
26239 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26240 smaller than LDBL_EPSILON/2.0L, just return xm1.
26242 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26244 * elf/tst-array1.c (init): Set constructor priority to 1000.
26245 (fini): Set destructor priority to 1000.
26246 * elf/tst-array2dep.c: Likewise.
26248 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26251 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26252 (_IO_new_file_xsputn): Also return EOF if none of the input
26253 data was written when overflow failed.
26254 * libio/iopadn.c (_IO_padn): Likewise.
26255 * libio/iowpadn.c (_IO_wpadn): Likewise.
26256 * stdio-common/tst-put-error.c: Add copyright notice.
26257 (do_test): Add case for printing padded string.
26258 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26259 _IO_padn returned error.
26260 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26261 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26264 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26266 * libio/libioP.h: Add comment note that the references to C++
26267 bits are now obsolete.
26269 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26271 * math/libm-test.inc (check_complex): Use asprintf.
26273 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26275 * debug/pcprofiledump.c (print_version): Update copyright year.
26276 * malloc/memusagestat.c (print_version): Likewise.
26278 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26281 * elf/Makefile (tests): Add tst-audit8.
26282 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26283 ($(objpfx)tst-audit8.out): New target.
26284 (tst-audit8-ENV): New variable.
26285 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26286 audit if l_reloc_result is NULL.
26287 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26288 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26289 * elf/tst-audit8.c: New file.
26291 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26293 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26294 * misc/Makefile (CFLAGS-select.c): Define.
26295 * posix/Makefile (CFLAGS-pause.c): Define.
26297 2012-11-13 David S. Miller <davem@davemloft.net>
26299 * crypt/Makefile: Move test targets after toplevel Rules
26300 inclusion. Grab any necessary sysdep routines when linking.
26301 * crypt/md5.c (md5_process_block): Remove define, we will always
26302 name it __md5_process_block.
26303 (md5_finish_ctx): Update md5_process_block call.
26304 (md5_stream): Likewise.
26305 (md5_process_bytes): Likewise.
26306 (md5_process_block): Rename to __md5_process_block and move to ...
26307 * crypt/md5-block.c: ... here.
26308 * crypt/sha256.c (sha256_process_block): Move to ...
26309 * crypt/sha256-block.c: ... here.
26310 * crypt/sha512.c (sha512_process_block): Move to ...
26311 * crypt/sha512-block.c: ... here.
26312 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26314 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26315 * sysdeps/sparc/sparc64/multiarch/Makefile
26316 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26318 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26319 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26321 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26322 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26323 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26324 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26325 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26326 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26327 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26328 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26329 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26331 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26332 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26334 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26336 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26338 * timezone/tzselect.ksh: Update from tzcode git revision
26339 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26340 * timezone/zdump.c: Likewise.
26341 * timezone/zic.c: Likewise.
26342 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26343 in TZVERSION setting, not $(PKGVERSION).
26344 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26345 REPORT_BUGS_TO settings.
26348 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26351 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26353 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26354 detection to immediately after _FP_ROUND().
26355 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26358 2012-11-11 David S. Miller <davem@davemloft.net>
26360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26362 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26363 __close rather than their public counterparts.
26365 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26367 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26369 [UNIX98] (sem_timedwait): Do not expect.
26370 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26371 [XPG4 || UNIX98] (sockatmark): Do not expect.
26372 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26373 (clock_getcpuclockid): Do not expect.
26374 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26375 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26377 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26378 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26379 [UNIX98] (vwscanf): Likewise.
26380 [UNIX98] (vswscanf): Likewise.
26382 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26384 * timezone/version.h: Remove file.
26385 * timezone/README: Do not refer to version.h.
26386 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26387 $(objpfx)version.h.
26388 ($(objpfx)zdump.o): Likewise.
26389 ($(objpfx)version.h): New target.
26391 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26393 * timezone/README: Don't mention modification to tzselect.ksh.
26394 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26395 work on unmodified tzselect.ksh. Substitute version numbers in
26398 * Makefile (format-me): Remove.
26399 (INSTALL): Adjust indentation. Use commands directly instead of
26400 using $(format-me).
26402 * aclocal.m4 (ACX_PKGVERSION): New macro.
26403 (ACX_BUGURL): Likewise.
26404 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26405 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26406 (REPORT_BUGS_TO): Likewise.
26407 * configure: Regenerated.
26408 * config.h.in (PKGVERSION): New macro.
26409 (REPORT_BUGS_TO): Likewise.
26410 * config.make.in (PKGVERSION): New variable.
26411 (PKGVERSION_TEXI): Likewise.
26412 (REPORT_BUGS_TO): Likewise.
26413 (REPORT_BUGS_TEXI): Likewise.
26414 * Makefile (format-me): Use -I$(common-objpfx)manual.
26415 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26416 ($(common-objpfx)manual/%): New target.
26417 (manual/%): Remove target.
26418 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26419 (print_version): Use PKGVERSION.
26420 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26421 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26422 and REPORT_BUGS_TO.
26423 ($(objpfx)xtrace): Likewise.
26424 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26425 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26426 (print_version): Use PKGVERSION.
26427 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26428 (do_version): Use PKGVERSION.
26429 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26431 (common-ldd-rewrite): Likewise.
26432 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26433 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26434 (print_version): Use PKGVERSION.
26435 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26436 * elf/pldd.c (argp_program_bug_address): Remove variable.
26437 (more_help): New function.
26438 (argp): Use more_help.
26439 (print_version): Use PKGVERSION.
26440 * elf/sln.c (main): Use PKGVERSION.
26441 (usage): Use REPORT_BUGS_TO.
26442 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26443 (top level): Use PKGVERSION.
26444 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26445 (print_version): Use PKGVERSION.
26446 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26447 (print_version): Use PKGVERSION.
26448 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26449 (print_version): Use PKGVERSION.
26450 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26451 (print_version): Use PKGVERSION.
26452 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26453 (print_version): Use PKGVERSION.
26454 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26455 (print_version): Use PKGVERSION.
26456 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26458 ($(objpfx)memusage): Likewise.
26459 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26460 (do_version): Use PKGVERSION.
26461 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26462 (print_version): Use PKGVERSION.
26463 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26464 ($PKGVERSION): New variable.
26465 ($REPORT_BUGS_TO): Likewise.
26466 (usage): Use $REPORT_BUGS_TO.
26467 (top level): Use $PKGVERSION.
26468 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26469 ($(objpfx)pkgvers.texi): New rule.
26470 ($(objpfx)stamp-pkgvers): Likewise.
26471 * manual/install.texi: Include pkgvers.texi.
26472 (--with-pkgversion): Document new configure option.
26473 (--with-bugurl): Likewise.
26474 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26475 than necessarily for this particular distribution. Use
26476 REPORT_BUGS_TO for where to report bugs.
26477 * INSTALL: Regenerated.
26478 * manual/libc.texinfo: Include pkgvers.texi.
26479 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26480 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26481 (print_version): Use PKGVERSION.
26482 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26483 (print_version): Use PKGVERSION.
26484 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26485 (print_version): Use PKGVERSION.
26486 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26487 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26489 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26490 (print_version): Use PKGVERSION.
26491 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26492 (print_version): Use PKGVERSION.
26493 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26496 * timezone/checktab.awk: Update from tzcode 2012i.
26497 * timezone/ialloc.c: Likewise.
26498 * timezone/private.h: Likewise.
26499 * timezone/scheck.c: Likewise.
26500 * timezone/tzfile.h: Likewise.
26501 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26502 (TZVERSION): Hardcode tzcode version number.
26503 * timezone/zdump.c: Update from tzcode 2012i.
26504 * timezone/zic.c: Likewise.
26505 * timezone/version.h: New file.
26506 * timezone/README: Describe version.h. Update upstream location.
26509 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26510 (mktemp): Enable declaration.
26511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26528 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26529 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26530 for copies of such integer values.
26531 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26532 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26534 2012-11-09 Andreas Jaeger <aj@suse.de>
26536 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26537 definitions and declarations that are provided by
26538 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26540 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26542 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26543 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26544 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26547 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26549 * elf/elf.h: Update comment before AArch64 relocations.
26551 2012-11-07 David S. Miller <davem@davemloft.net>
26553 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26554 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26555 (__start_context): Declare.
26556 (__makecontext_ret): Delete.
26557 (__makecontext): Hook up __start_context instead of
26559 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26560 (sysdep_routines): Add __start_context when in stdlib.
26562 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26564 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26565 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26566 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26568 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26569 (READELF): New variable. Use it instead of hardcoded "readelf".
26571 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26573 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26574 * sysdeps/x86/Makefile: Here.
26575 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26576 * sysdeps/x86/tst-xmmymm.sh: This.
26578 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26580 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26582 [UNIX98] (pthread_barrier_t): Do not expect.
26583 [UNIX98] (pthread_barrierattr_t): Likewise.
26584 [UNIX98] (pthread_spinlock_t): Likewise.
26585 [UNIX98] (pthread_barrier_destroy): Likewise.
26586 [UNIX98] (pthread_barrier_init): Likewise.
26587 [UNIX98] (pthread_barrier_wait): Likewise.
26588 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26589 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26590 [UNIX98] (pthread_barrierattr_init): Likewise.
26591 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26592 [UNIX98] (pthread_getcpuclockid): Likewise.
26593 [UNIX98] (pthread_mutex_timedlock): Likewise.
26594 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26595 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26596 [UNIX98] (pthread_sigmask): Likewise.
26597 [UNIX98] (pthread_spin_destroy): Likewise.
26598 [UNIX98] (pthread_spin_init): Likewise.
26599 [UNIX98] (pthread_spin_lock): Likewise.
26600 [UNIX98] (pthread_spin_trylock): Likewise.
26601 [UNIX98] (pthread_spin_unlock): Likewise.
26602 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26604 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26605 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26606 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26607 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26608 [XPG3 || XPG4] (pthread_key_t): Likewise.
26609 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26610 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26611 [XPG3 || XPG4] (pthread_once_t): Likewise.
26612 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26613 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26614 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26615 [XPG3 || XPG4] (pthread_t): Likewise.
26617 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26619 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26621 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26622 Change function return type to int.
26624 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26625 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26626 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26627 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26628 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26629 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26630 [!POSIX] (posix_madvise): Likewise.
26631 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26633 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26634 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26635 (mode_t): Likewise.
26636 (posix_mem_offset): Likewise.
26637 (posix_typed_mem_get_info): Likewise.
26638 (posix_typed_mem_open): Likewise.
26640 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26641 Change condition to [XOPEN2K8].
26643 * conform/conformtest.pl: Preprocess allow-header data with -x c
26644 instead of from stdin.
26645 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26646 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26647 [C99-based standards] (cerfc): Likewise.
26648 [C99-based standards] (cexp2): Likewise.
26649 [C99-based standards] (cexpm1): Likewise.
26650 [C99-based standards] (clog10): Likewise.
26651 [C99-based standards] (clog1p): Likewise.
26652 [C99-based standards] (clog2): Likewise.
26653 [C99-based standards] (clgamma): Likewise.
26654 [C99-based standards] (ctgamma): Likewise.
26655 [C99-based standards] (cerff): Likewise.
26656 [C99-based standards] (cerfcf): Likewise.
26657 [C99-based standards] (cexp2f): Likewise.
26658 [C99-based standards] (cexpm1f): Likewise.
26659 [C99-based standards] (clog10f): Likewise.
26660 [C99-based standards] (clog1pf): Likewise.
26661 [C99-based standards] (clog2f): Likewise.
26662 [C99-based standards] (clgammaf): Likewise.
26663 [C99-based standards] (ctgammaf): Likewise.
26664 [C99-based standards] (cerfl): Likewise.
26665 [C99-based standards] (cerfcl): Likewise.
26666 [C99-based standards] (cexp2l): Likewise.
26667 [C99-based standards] (cexpm1l): Likewise.
26668 [C99-based standards] (clog10l): Likewise.
26669 [C99-based standards] (clog1pl): Likewise.
26670 [C99-based standards] (clog2l): Likewise.
26671 [C99-based standards] (clgammal): Likewise.
26672 [C99-based standards] (ctgammal): Likewise.
26673 * conform/data/inttypes.h-data [C99-based standards]: Include
26674 stdint.h-data. Remove all expectations for stdint.h contents.
26675 [C99-based standards] (PRI*): Do not allow.
26676 [C99-based standards] (SCN*): Likewise.
26677 [C99-based standards] (*_t): Likewise.
26678 [C99-based-standards] (PRId8): Expect macro.
26679 [C99-based-standards] (PRIi8): Likewise.
26680 [C99-based-standards] (PRIo8): Likewise.
26681 [C99-based-standards] (PRIu8): Likewise.
26682 [C99-based-standards] (PRIx8): Likewise.
26683 [C99-based-standards] (PRIX8): Likewise.
26684 [C99-based-standards] (SCNd8): Likewise.
26685 [C99-based-standards] (SCNi8): Likewise.
26686 [C99-based-standards] (SCNo8): Likewise.
26687 [C99-based-standards] (SCNu8): Likewise.
26688 [C99-based-standards] (SCNx8): Likewise.
26689 [C99-based-standards] (PRIdLEAST8): Likewise.
26690 [C99-based-standards] (PRIiLEAST8): Likewise.
26691 [C99-based-standards] (PRIoLEAST8): Likewise.
26692 [C99-based-standards] (PRIuLEAST8): Likewise.
26693 [C99-based-standards] (PRIxLEAST8): Likewise.
26694 [C99-based-standards] (PRIXLEAST8): Likewise.
26695 [C99-based-standards] (SCNdLEAST8): Likewise.
26696 [C99-based-standards] (SCNiLEAST8): Likewise.
26697 [C99-based-standards] (SCNoLEAST8): Likewise.
26698 [C99-based-standards] (SCNuLEAST8): Likewise.
26699 [C99-based-standards] (SCNxLEAST8): Likewise.
26700 [C99-based-standards] (PRIdFAST8): Likewise.
26701 [C99-based-standards] (PRIiFAST8): Likewise.
26702 [C99-based-standards] (PRIoFAST8): Likewise.
26703 [C99-based-standards] (PRIuFAST8): Likewise.
26704 [C99-based-standards] (PRIxFAST8): Likewise.
26705 [C99-based-standards] (PRIXFAST8): Likewise.
26706 [C99-based-standards] (SCNdFAST8): Likewise.
26707 [C99-based-standards] (SCNiFAST8): Likewise.
26708 [C99-based-standards] (SCNoFAST8): Likewise.
26709 [C99-based-standards] (SCNuFAST8): Likewise.
26710 [C99-based-standards] (SCNxFAST8): Likewise.
26711 [C99-based-standards] (PRId16): Likewise.
26712 [C99-based-standards] (PRIi16): Likewise.
26713 [C99-based-standards] (PRIo16): Likewise.
26714 [C99-based-standards] (PRIu16): Likewise.
26715 [C99-based-standards] (PRIx16): Likewise.
26716 [C99-based-standards] (PRIX16): Likewise.
26717 [C99-based-standards] (SCNd16): Likewise.
26718 [C99-based-standards] (SCNi16): Likewise.
26719 [C99-based-standards] (SCNo16): Likewise.
26720 [C99-based-standards] (SCNu16): Likewise.
26721 [C99-based-standards] (SCNx16): Likewise.
26722 [C99-based-standards] (PRIdLEAST16): Likewise.
26723 [C99-based-standards] (PRIiLEAST16): Likewise.
26724 [C99-based-standards] (PRIoLEAST16): Likewise.
26725 [C99-based-standards] (PRIuLEAST16): Likewise.
26726 [C99-based-standards] (PRIxLEAST16): Likewise.
26727 [C99-based-standards] (PRIXLEAST16): Likewise.
26728 [C99-based-standards] (SCNdLEAST16): Likewise.
26729 [C99-based-standards] (SCNiLEAST16): Likewise.
26730 [C99-based-standards] (SCNoLEAST16): Likewise.
26731 [C99-based-standards] (SCNuLEAST16): Likewise.
26732 [C99-based-standards] (SCNxLEAST16): Likewise.
26733 [C99-based-standards] (PRIdFAST16): Likewise.
26734 [C99-based-standards] (PRIiFAST16): Likewise.
26735 [C99-based-standards] (PRIoFAST16): Likewise.
26736 [C99-based-standards] (PRIuFAST16): Likewise.
26737 [C99-based-standards] (PRIxFAST16): Likewise.
26738 [C99-based-standards] (PRIXFAST16): Likewise.
26739 [C99-based-standards] (SCNdFAST16): Likewise.
26740 [C99-based-standards] (SCNiFAST16): Likewise.
26741 [C99-based-standards] (SCNoFAST16): Likewise.
26742 [C99-based-standards] (SCNuFAST16): Likewise.
26743 [C99-based-standards] (SCNxFAST16): Likewise.
26744 [C99-based-standards] (PRId32): Likewise.
26745 [C99-based-standards] (PRIi32): Likewise.
26746 [C99-based-standards] (PRIo32): Likewise.
26747 [C99-based-standards] (PRIu32): Likewise.
26748 [C99-based-standards] (PRIx32): Likewise.
26749 [C99-based-standards] (PRIX32): Likewise.
26750 [C99-based-standards] (SCNd32): Likewise.
26751 [C99-based-standards] (SCNi32): Likewise.
26752 [C99-based-standards] (SCNo32): Likewise.
26753 [C99-based-standards] (SCNu32): Likewise.
26754 [C99-based-standards] (SCNx32): Likewise.
26755 [C99-based-standards] (PRIdLEAST32): Likewise.
26756 [C99-based-standards] (PRIiLEAST32): Likewise.
26757 [C99-based-standards] (PRIoLEAST32): Likewise.
26758 [C99-based-standards] (PRIuLEAST32): Likewise.
26759 [C99-based-standards] (PRIxLEAST32): Likewise.
26760 [C99-based-standards] (PRIXLEAST32): Likewise.
26761 [C99-based-standards] (SCNdLEAST32): Likewise.
26762 [C99-based-standards] (SCNiLEAST32): Likewise.
26763 [C99-based-standards] (SCNoLEAST32): Likewise.
26764 [C99-based-standards] (SCNuLEAST32): Likewise.
26765 [C99-based-standards] (SCNxLEAST32): Likewise.
26766 [C99-based-standards] (PRIdFAST32): Likewise.
26767 [C99-based-standards] (PRIiFAST32): Likewise.
26768 [C99-based-standards] (PRIoFAST32): Likewise.
26769 [C99-based-standards] (PRIuFAST32): Likewise.
26770 [C99-based-standards] (PRIxFAST32): Likewise.
26771 [C99-based-standards] (PRIXFAST32): Likewise.
26772 [C99-based-standards] (SCNdFAST32): Likewise.
26773 [C99-based-standards] (SCNiFAST32): Likewise.
26774 [C99-based-standards] (SCNoFAST32): Likewise.
26775 [C99-based-standards] (SCNuFAST32): Likewise.
26776 [C99-based-standards] (SCNxFAST32): Likewise.
26777 [C99-based-standards] (PRId64): Likewise.
26778 [C99-based-standards] (PRIi64): Likewise.
26779 [C99-based-standards] (PRIo64): Likewise.
26780 [C99-based-standards] (PRIu64): Likewise.
26781 [C99-based-standards] (PRIx64): Likewise.
26782 [C99-based-standards] (PRIX64): Likewise.
26783 [C99-based-standards] (SCNd64): Likewise.
26784 [C99-based-standards] (SCNi64): Likewise.
26785 [C99-based-standards] (SCNo64): Likewise.
26786 [C99-based-standards] (SCNu64): Likewise.
26787 [C99-based-standards] (SCNx64): Likewise.
26788 [C99-based-standards] (PRIdLEAST64): Likewise.
26789 [C99-based-standards] (PRIiLEAST64): Likewise.
26790 [C99-based-standards] (PRIoLEAST64): Likewise.
26791 [C99-based-standards] (PRIuLEAST64): Likewise.
26792 [C99-based-standards] (PRIxLEAST64): Likewise.
26793 [C99-based-standards] (PRIXLEAST64): Likewise.
26794 [C99-based-standards] (SCNdLEAST64): Likewise.
26795 [C99-based-standards] (SCNiLEAST64): Likewise.
26796 [C99-based-standards] (SCNoLEAST64): Likewise.
26797 [C99-based-standards] (SCNuLEAST64): Likewise.
26798 [C99-based-standards] (SCNxLEAST64): Likewise.
26799 [C99-based-standards] (PRIdFAST64): Likewise.
26800 [C99-based-standards] (PRIiFAST64): Likewise.
26801 [C99-based-standards] (PRIoFAST64): Likewise.
26802 [C99-based-standards] (PRIuFAST64): Likewise.
26803 [C99-based-standards] (PRIxFAST64): Likewise.
26804 [C99-based-standards] (PRIXFAST64): Likewise.
26805 [C99-based-standards] (SCNdFAST64): Likewise.
26806 [C99-based-standards] (SCNiFAST64): Likewise.
26807 [C99-based-standards] (SCNoFAST64): Likewise.
26808 [C99-based-standards] (SCNuFAST64): Likewise.
26809 [C99-based-standards] (SCNxFAST64): Likewise.
26810 [C99-based-standards] (PRIdMAX): Likewise.
26811 [C99-based-standards] (PRIiMAX): Likewise.
26812 [C99-based-standards] (PRIoMAX): Likewise.
26813 [C99-based-standards] (PRIuMAX): Likewise.
26814 [C99-based-standards] (PRIxMAX): Likewise.
26815 [C99-based-standards] (PRIXMAX): Likewise.
26816 [C99-based-standards] (SCNdMAX): Likewise.
26817 [C99-based-standards] (SCNiMAX): Likewise.
26818 [C99-based-standards] (SCNoMAX): Likewise.
26819 [C99-based-standards] (SCNuMAX): Likewise.
26820 [C99-based-standards] (SCNxMAX): Likewise.
26821 [C99-based-standards] (PRIdPTR): Likewise.
26822 [C99-based-standards] (PRIiPTR): Likewise.
26823 [C99-based-standards] (PRIoPTR): Likewise.
26824 [C99-based-standards] (PRIuPTR): Likewise.
26825 [C99-based-standards] (PRIxPTR): Likewise.
26826 [C99-based-standards] (PRIXPTR): Likewise.
26827 [C99-based-standards] (SCNdPTR): Likewise.
26828 [C99-based-standards] (SCNiPTR): Likewise.
26829 [C99-based-standards] (SCNoPTR): Likewise.
26830 [C99-based-standards] (SCNuPTR): Likewise.
26831 [C99-based-standards] (SCNxPTR): Likewise.
26832 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26834 * conform/data/stdint.h-data: Update comments to clarify
26836 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26838 [C99-based standards] (INT8_MAX): Likewise.
26839 [C99-based standards] (INT16_MIN): Likewise.
26840 [C99-based standards] (INT16_MAX): Likewise.
26841 [C99-based standards] (INT32_MIN): Likewise.
26842 [C99-based standards] (INT32_MAX): Likewise.
26843 [C99-based standards] (INT64_MIN): Likewise.
26844 [C99-based standards] (INT64_MAX): Likewise.
26845 [C99-based standards] (UINT8_MAX): Likewise.
26846 [C99-based standards] (UINT16_MAX): Likewise.
26847 [C99-based standards] (UINT32_MAX): Likewise.
26848 [C99-based standards] (UINT64_MAX): Likewise.
26849 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26850 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26851 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26852 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26853 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26854 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26855 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26856 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26857 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26858 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26859 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26860 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26861 [C99-based standards] (INT_FAST8_MIN): Likewise.
26862 [C99-based standards] (INT_FAST8_MAX): Likewise.
26863 [C99-based standards] (INT_FAST16_MIN): Likewise.
26864 [C99-based standards] (INT_FAST16_MAX): Likewise.
26865 [C99-based standards] (INT_FAST32_MIN): Likewise.
26866 [C99-based standards] (INT_FAST32_MAX): Likewise.
26867 [C99-based standards] (INT_FAST64_MIN): Likewise.
26868 [C99-based standards] (INT_FAST64_MAX): Likewise.
26869 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26870 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26871 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26872 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26873 [C99-based standards] (INTPTR_MIN): Likewise.
26874 [C99-based standards] (INTPTR_MAX): Likewise.
26875 [C99-based standards] (UINTPTR_MAX): Likewise.
26876 [C99-based standards] (INTMAX_MIN): Likewise.
26877 [C99-based standards] (INTMAX_MAX): Likewise.
26878 [C99-based standards] (UINTMAX_MAX): Likewise.
26879 [C99-based standards] (PTRDIFF_MIN): Likewise.
26880 [C99-based standards] (PTRDIFF_MAX): Likewise.
26881 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26882 [C99-based standards] (SIZE_MAX): Likewise.
26883 [C99-based standards] (WCHAR_MAX): Likewise.
26884 [C99-based standards] (WINT_MAX): Likewise.
26885 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26886 constraint on value.
26887 [C99-based standards] (WCHAR_MIN): Likewise.
26888 [C99-based standards] (WINT_MIN): Likewise.
26889 [C99-based standards] (*_t): Allow.
26890 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26891 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26892 Include math.h-data and complex.h-data. Remove all expectations
26893 of math.h and complex.h contents.
26894 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26896 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26897 (struct tm): Expect tag.
26898 [C99-based-standards] (wcstof): Expect function.
26899 [C99-based-standards] (wcstold): Likewise.
26900 [C99-based-standards] (wcstoll): Likewise.
26901 [C99-based-standards] (wcstoull): Likewise.
26902 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26903 macro-int-constant. Specify type.
26904 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26905 constraint on value.
26906 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26908 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26910 [ISO C standards]: Do not allow headers.
26911 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26912 wcs[abcdefghijklmnopqrstuvwxyz]*.
26913 [ISO C standards] (*_t): Do not allow.
26914 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26916 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26917 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26919 [ISO C standards]: Do not allow headers.
26920 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26921 is[abcdefghijklmnopqrstuvwxyz]*.
26922 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26923 to[abcdefghijklmnopqrstuvwxyz]*.
26924 [ISO C standards] (*_t): Do not allow.
26925 * conform/data/stdalign.h-data: New file.
26926 * conform/data/stdbool.h-data: Likewise.
26927 * conform/data/stdnoreturn.h-data: Likewise.
26929 2012-11-07 Roland McGrath <roland@hack.frob.com>
26932 * manual/filesys.texi (Directory Entries): Typo fix.
26933 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26935 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26937 * elf/elf.h (EM_AARCH64): New macro.
26938 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26939 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26940 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26941 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26942 (R_AARCH64_TLSDESC): Likewise.
26943 (NT_ARM_TLS): Likewise.
26944 (NT_ARM_HW_BREAK): Likewise.
26945 (NT_ARM_HW_WATCH): Likewise.
26947 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26950 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26951 (__ieee754_powl): Saturate nonzero exponents with absolute value
26952 below 0x1p-79 to +/- 0x1p-79.
26953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26954 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26955 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26956 nonzero exponents with absolute value below 0x1p-32 to +/-
26958 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26959 (__ieee754_powl): Saturate nonzero exponents with absolute value
26960 below 0x1p-79 to +/- 0x1p-79.
26961 * math/libm-test.inc (pow_test): Add more tests.
26963 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26965 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26966 _dl_s390_cap_flags with kernel. Increase string length.
26967 (_dl_s390_platforms): Add z196 and zEC12.
26969 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26971 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26972 Change XOPEN21K to XOPEN2K.
26974 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26976 * string/memmove.c: Use memcpy when possible.
26978 2012-11-06 Andreas Jaeger <aj@suse.de>
26980 * po/eo.po: Update from translation team.
26982 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26986 exponent and small x and y exponents, scale x or y up. Increase
26987 by 2 the exponent used in scaling up.
26988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26990 * math/libm-test.inc (fma_test): Add more tests.
26991 (fma_test_towardzero): Likewise.
26992 (fma_test_downward): Likewise.
26993 (fma_test_upward): Likewise.
26995 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26998 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27002 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27003 namespace for names of struct fields.
27004 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27006 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27007 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27009 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27012 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27014 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27016 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27020 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27023 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27027 definitely overflow as x * y not x * y + z.
27028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27029 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27030 * math/libm-test.inc (fma_test): Add more tests.
27031 (fma_test_towardzero): Likewise.
27032 (fma_test_downward): Likewise.
27033 (fma_test_upward): Likewise.
27035 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27039 * include/stub-tag.h: Remove file.
27040 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27042 * manual/maint.texi (Porting): Don't reference it.
27043 * Makerules ($(objpfx)stubs): Likewise.
27044 * dirent/closedir.c: Don't include <stub-tag.h>.
27045 * dirent/dirfd.c: Likewise.
27046 * dirent/fdopendir.c: Likewise.
27047 * dirent/getdents.c: Likewise.
27048 * dirent/getdents64.c: Likewise.
27049 * dirent/opendir.c: Likewise.
27050 * dirent/readdir.c: Likewise.
27051 * dirent/readdir64.c: Likewise.
27052 * dirent/readdir64_r.c: Likewise.
27053 * dirent/readdir_r.c: Likewise.
27054 * dirent/rewinddir.c: Likewise.
27055 * dirent/seekdir.c: Likewise.
27056 * dirent/telldir.c: Likewise.
27057 * gmon/profil.c: Likewise.
27058 * grp/setgroups.c: Likewise.
27059 * inet/if_index.c: Likewise.
27060 * io/access.c: Likewise.
27061 * io/chdir.c: Likewise.
27062 * io/chmod.c: Likewise.
27063 * io/chown.c: Likewise.
27064 * io/close.c: Likewise.
27065 * io/dup.c: Likewise.
27066 * io/dup2.c: Likewise.
27067 * io/dup3.c: Likewise.
27068 * io/euidaccess.c: Likewise.
27069 * io/faccessat.c: Likewise.
27070 * io/fchdir.c: Likewise.
27071 * io/fchmod.c: Likewise.
27072 * io/fchmodat.c: Likewise.
27073 * io/fchown.c: Likewise.
27074 * io/fchownat.c: Likewise.
27075 * io/fcntl.c: Likewise.
27076 * io/flock.c: Likewise.
27077 * io/fstatfs.c: Likewise.
27078 * io/fstatfs64.c: Likewise.
27079 * io/fstatvfs.c: Likewise.
27080 * io/fstatvfs64.c: Likewise.
27081 * io/futimens.c: Likewise.
27082 * io/fxstat.c: Likewise.
27083 * io/fxstat64.c: Likewise.
27084 * io/fxstatat.c: Likewise.
27085 * io/fxstatat64.c: Likewise.
27086 * io/getcwd.c: Likewise.
27087 * io/isatty.c: Likewise.
27088 * io/lchmod.c: Likewise.
27089 * io/lchown.c: Likewise.
27090 * io/link.c: Likewise.
27091 * io/linkat.c: Likewise.
27092 * io/lseek.c: Likewise.
27093 * io/lseek64.c: Likewise.
27094 * io/lxstat64.c: Likewise.
27095 * io/mkdir.c: Likewise.
27096 * io/mkdirat.c: Likewise.
27097 * io/mkfifo.c: Likewise.
27098 * io/mkfifoat.c: Likewise.
27099 * io/open.c: Likewise.
27100 * io/open64.c: Likewise.
27101 * io/openat.c: Likewise.
27102 * io/openat64.c: Likewise.
27103 * io/pipe.c: Likewise.
27104 * io/pipe2.c: Likewise.
27105 * io/poll.c: Likewise.
27106 * io/posix_fadvise.c: Likewise.
27107 * io/posix_fadvise64.c: Likewise.
27108 * io/posix_fallocate.c: Likewise.
27109 * io/posix_fallocate64.c: Likewise.
27110 * io/read.c: Likewise.
27111 * io/readlink.c: Likewise.
27112 * io/readlinkat.c: Likewise.
27113 * io/rmdir.c: Likewise.
27114 * io/sendfile.c: Likewise.
27115 * io/sendfile64.c: Likewise.
27116 * io/statfs.c: Likewise.
27117 * io/statfs64.c: Likewise.
27118 * io/statvfs.c: Likewise.
27119 * io/statvfs64.c: Likewise.
27120 * io/symlink.c: Likewise.
27121 * io/symlinkat.c: Likewise.
27122 * io/ttyname.c: Likewise.
27123 * io/ttyname_r.c: Likewise.
27124 * io/umask.c: Likewise.
27125 * io/unlink.c: Likewise.
27126 * io/unlinkat.c: Likewise.
27127 * io/utime.c: Likewise.
27128 * io/utimensat.c: Likewise.
27129 * io/write.c: Likewise.
27130 * io/xmknod.c: Likewise.
27131 * io/xmknodat.c: Likewise.
27132 * io/xstat.c: Likewise.
27133 * io/xstat64.c: Likewise.
27134 * login/getpt.c: Likewise.
27135 * login/grantpt.c: Likewise.
27136 * login/unlockpt.c: Likewise.
27137 * math/e_acoshl.c: Likewise.
27138 * math/e_acosl.c: Likewise.
27139 * math/e_asinl.c: Likewise.
27140 * math/e_atan2l.c: Likewise.
27141 * math/e_atanhl.c: Likewise.
27142 * math/e_coshl.c: Likewise.
27143 * math/e_expl.c: Likewise.
27144 * math/e_fmodl.c: Likewise.
27145 * math/e_gammal_r.c: Likewise.
27146 * math/e_hypotl.c: Likewise.
27147 * math/e_j0l.c: Likewise.
27148 * math/e_j1l.c: Likewise.
27149 * math/e_jnl.c: Likewise.
27150 * math/e_lgammal_r.c: Likewise.
27151 * math/e_log10l.c: Likewise.
27152 * math/e_log2l.c: Likewise.
27153 * math/e_logl.c: Likewise.
27154 * math/e_powl.c: Likewise.
27155 * math/e_rem_pio2l.c: Likewise.
27156 * math/e_sinhl.c: Likewise.
27157 * math/e_sqrtl.c: Likewise.
27158 * math/fclrexcpt.c: Likewise.
27159 * math/fedisblxcpt.c: Likewise.
27160 * math/feenablxcpt.c: Likewise.
27161 * math/fegetenv.c: Likewise.
27162 * math/fegetexcept.c: Likewise.
27163 * math/fegetround.c: Likewise.
27164 * math/feholdexcpt.c: Likewise.
27165 * math/fesetenv.c: Likewise.
27166 * math/fesetround.c: Likewise.
27167 * math/feupdateenv.c: Likewise.
27168 * math/fgetexcptflg.c: Likewise.
27169 * math/fraiseexcpt.c: Likewise.
27170 * math/fsetexcptflg.c: Likewise.
27171 * math/ftestexcept.c: Likewise.
27172 * math/k_cosl.c: Likewise.
27173 * math/k_rem_pio2l.c: Likewise.
27174 * math/k_sinl.c: Likewise.
27175 * math/k_tanl.c: Likewise.
27176 * math/s_asinhl.c: Likewise.
27177 * math/s_atanl.c: Likewise.
27178 * math/s_cbrtl.c: Likewise.
27179 * math/s_erfl.c: Likewise.
27180 * math/s_expm1l.c: Likewise.
27181 * math/s_log1pl.c: Likewise.
27182 * math/s_tanhl.c: Likewise.
27183 * misc/acct.c: Likewise.
27184 * misc/brk.c: Likewise.
27185 * misc/chflags.c: Likewise.
27186 * misc/chroot.c: Likewise.
27187 * misc/fchflags.c: Likewise.
27188 * misc/fgetxattr.c: Likewise.
27189 * misc/flistxattr.c: Likewise.
27190 * misc/fremovexattr.c: Likewise.
27191 * misc/fsetxattr.c: Likewise.
27192 * misc/fsync.c: Likewise.
27193 * misc/ftruncate.c: Likewise.
27194 * misc/futimes.c: Likewise.
27195 * misc/futimesat.c: Likewise.
27196 * misc/getdomain.c: Likewise.
27197 * misc/getdtsz.c: Likewise.
27198 * misc/gethostid.c: Likewise.
27199 * misc/gethostname.c: Likewise.
27200 * misc/getloadavg.c: Likewise.
27201 * misc/getpagesize.c: Likewise.
27202 * misc/getsysstats.c: Likewise.
27203 * misc/getxattr.c: Likewise.
27204 * misc/gtty.c: Likewise.
27205 * misc/ioctl.c: Likewise.
27206 * misc/lgetxattr.c: Likewise.
27207 * misc/listxattr.c: Likewise.
27208 * misc/llistxattr.c: Likewise.
27209 * misc/lremovexattr.c: Likewise.
27210 * misc/lsetxattr.c: Likewise.
27211 * misc/lutimes.c: Likewise.
27212 * misc/madvise.c: Likewise.
27213 * misc/mincore.c: Likewise.
27214 * misc/mlock.c: Likewise.
27215 * misc/mlockall.c: Likewise.
27216 * misc/mmap.c: Likewise.
27217 * misc/mprotect.c: Likewise.
27218 * misc/msync.c: Likewise.
27219 * misc/munlock.c: Likewise.
27220 * misc/munlockall.c: Likewise.
27221 * misc/munmap.c: Likewise.
27222 * misc/preadv.c: Likewise.
27223 * misc/preadv64.c: Likewise.
27224 * misc/ptrace.c: Likewise.
27225 * misc/pwritev.c: Likewise.
27226 * misc/pwritev64.c: Likewise.
27227 * misc/readv.c: Likewise.
27228 * misc/reboot.c: Likewise.
27229 * misc/remap_file_pages.c: Likewise.
27230 * misc/removexattr.c: Likewise.
27231 * misc/revoke.c: Likewise.
27232 * misc/select.c: Likewise.
27233 * misc/setdomain.c: Likewise.
27234 * misc/setegid.c: Likewise.
27235 * misc/seteuid.c: Likewise.
27236 * misc/sethostid.c: Likewise.
27237 * misc/sethostname.c: Likewise.
27238 * misc/setregid.c: Likewise.
27239 * misc/setreuid.c: Likewise.
27240 * misc/setxattr.c: Likewise.
27241 * misc/sstk.c: Likewise.
27242 * misc/stty.c: Likewise.
27243 * misc/swapoff.c: Likewise.
27244 * misc/swapon.c: Likewise.
27245 * misc/sync.c: Likewise.
27246 * misc/syncfs.c: Likewise.
27247 * misc/syscall.c: Likewise.
27248 * misc/truncate.c: Likewise.
27249 * misc/ualarm.c: Likewise.
27250 * misc/usleep.c: Likewise.
27251 * misc/ustat.c: Likewise.
27252 * misc/utimes.c: Likewise.
27253 * misc/vhangup.c: Likewise.
27254 * misc/writev.c: Likewise.
27255 * posix/_exit.c: Likewise.
27256 * posix/alarm.c: Likewise.
27257 * posix/execve.c: Likewise.
27258 * posix/fexecve.c: Likewise.
27259 * posix/fork.c: Likewise.
27260 * posix/fpathconf.c: Likewise.
27261 * posix/getaddrinfo.c: Likewise.
27262 * posix/getegid.c: Likewise.
27263 * posix/geteuid.c: Likewise.
27264 * posix/getgid.c: Likewise.
27265 * posix/getgroups.c: Likewise.
27266 * posix/getlogin.c: Likewise.
27267 * posix/getlogin_r.c: Likewise.
27268 * posix/getpgid.c: Likewise.
27269 * posix/getpid.c: Likewise.
27270 * posix/getppid.c: Likewise.
27271 * posix/getresgid.c: Likewise.
27272 * posix/getresuid.c: Likewise.
27273 * posix/getsid.c: Likewise.
27274 * posix/getuid.c: Likewise.
27275 * posix/glob64.c: Likewise.
27276 * posix/nanosleep.c: Likewise.
27277 * posix/pathconf.c: Likewise.
27278 * posix/pause.c: Likewise.
27279 * posix/posix_madvise.c: Likewise.
27280 * posix/pread.c: Likewise.
27281 * posix/pread64.c: Likewise.
27282 * posix/pwrite.c: Likewise.
27283 * posix/pwrite64.c: Likewise.
27284 * posix/sched_getaffinity.c: Likewise.
27285 * posix/sched_getp.c: Likewise.
27286 * posix/sched_gets.c: Likewise.
27287 * posix/sched_primax.c: Likewise.
27288 * posix/sched_primin.c: Likewise.
27289 * posix/sched_rr_gi.c: Likewise.
27290 * posix/sched_setaffinity.c: Likewise.
27291 * posix/sched_setp.c: Likewise.
27292 * posix/sched_sets.c: Likewise.
27293 * posix/sched_yield.c: Likewise.
27294 * posix/setgid.c: Likewise.
27295 * posix/setlogin.c: Likewise.
27296 * posix/setpgid.c: Likewise.
27297 * posix/setresgid.c: Likewise.
27298 * posix/setresuid.c: Likewise.
27299 * posix/setsid.c: Likewise.
27300 * posix/setuid.c: Likewise.
27301 * posix/sleep.c: Likewise.
27302 * posix/spawni.c: Likewise.
27303 * posix/sysconf.c: Likewise.
27304 * posix/times.c: Likewise.
27305 * posix/wait.c: Likewise.
27306 * posix/wait3.c: Likewise.
27307 * posix/wait4.c: Likewise.
27308 * posix/waitpid.c: Likewise.
27309 * resolv/gai_sigqueue.c: Likewise.
27310 * resource/getpriority.c: Likewise.
27311 * resource/getrlimit.c: Likewise.
27312 * resource/getrusage.c: Likewise.
27313 * resource/nice.c: Likewise.
27314 * resource/setpriority.c: Likewise.
27315 * resource/setrlimit.c: Likewise.
27316 * resource/ulimit.c: Likewise.
27317 * rt/aio_cancel.c: Likewise.
27318 * rt/aio_fsync.c: Likewise.
27319 * rt/aio_read.c: Likewise.
27320 * rt/aio_sigqueue.c: Likewise.
27321 * rt/aio_suspend.c: Likewise.
27322 * rt/aio_write.c: Likewise.
27323 * rt/clock_getres.c: Likewise.
27324 * rt/clock_gettime.c: Likewise.
27325 * rt/clock_nanosleep.c: Likewise.
27326 * rt/clock_settime.c: Likewise.
27327 * rt/lio_listio.c: Likewise.
27328 * rt/mq_close.c: Likewise.
27329 * rt/mq_getattr.c: Likewise.
27330 * rt/mq_notify.c: Likewise.
27331 * rt/mq_open.c: Likewise.
27332 * rt/mq_receive.c: Likewise.
27333 * rt/mq_send.c: Likewise.
27334 * rt/mq_setattr.c: Likewise.
27335 * rt/mq_timedreceive.c: Likewise.
27336 * rt/mq_timedsend.c: Likewise.
27337 * rt/mq_unlink.c: Likewise.
27338 * rt/shm_open.c: Likewise.
27339 * rt/shm_unlink.c: Likewise.
27340 * rt/timer_create.c: Likewise.
27341 * rt/timer_delete.c: Likewise.
27342 * rt/timer_getoverr.c: Likewise.
27343 * rt/timer_gettime.c: Likewise.
27344 * rt/timer_settime.c: Likewise.
27345 * setjmp/__longjmp.c: Likewise.
27346 * setjmp/setjmp.c: Likewise.
27347 * signal/kill.c: Likewise.
27348 * signal/killpg.c: Likewise.
27349 * signal/raise.c: Likewise.
27350 * signal/sigaction.c: Likewise.
27351 * signal/sigaltstack.c: Likewise.
27352 * signal/sigblock.c: Likewise.
27353 * signal/sigignore.c: Likewise.
27354 * signal/sigintr.c: Likewise.
27355 * signal/signal.c: Likewise.
27356 * signal/sigpause.c: Likewise.
27357 * signal/sigpending.c: Likewise.
27358 * signal/sigqueue.c: Likewise.
27359 * signal/sigreturn.c: Likewise.
27360 * signal/sigset.c: Likewise.
27361 * signal/sigsetmask.c: Likewise.
27362 * signal/sigstack.c: Likewise.
27363 * signal/sigsuspend.c: Likewise.
27364 * signal/sigtimedwait.c: Likewise.
27365 * signal/sigvec.c: Likewise.
27366 * signal/sigwait.c: Likewise.
27367 * signal/sigwaitinfo.c: Likewise.
27368 * signal/sysv_signal.c: Likewise.
27369 * socket/accept.c: Likewise.
27370 * socket/accept4.c: Likewise.
27371 * socket/bind.c: Likewise.
27372 * socket/connect.c: Likewise.
27373 * socket/getpeername.c: Likewise.
27374 * socket/getsockname.c: Likewise.
27375 * socket/getsockopt.c: Likewise.
27376 * socket/isfdtype.c: Likewise.
27377 * socket/listen.c: Likewise.
27378 * socket/recv.c: Likewise.
27379 * socket/recvfrom.c: Likewise.
27380 * socket/recvmsg.c: Likewise.
27381 * socket/send.c: Likewise.
27382 * socket/sendmsg.c: Likewise.
27383 * socket/sendto.c: Likewise.
27384 * socket/setsockopt.c: Likewise.
27385 * socket/shutdown.c: Likewise.
27386 * socket/sockatmark.c: Likewise.
27387 * socket/socket.c: Likewise.
27388 * socket/socketpair.c: Likewise.
27389 * stdio-common/ctermid.c: Likewise.
27390 * stdio-common/cuserid.c: Likewise.
27391 * stdio-common/remove.c: Likewise.
27392 * stdio-common/rename.c: Likewise.
27393 * stdio-common/renameat.c: Likewise.
27394 * stdio-common/tempname.c: Likewise.
27395 * stdlib/getcontext.c: Likewise.
27396 * stdlib/makecontext.c: Likewise.
27397 * stdlib/setcontext.c: Likewise.
27398 * stdlib/swapcontext.c: Likewise.
27399 * stdlib/system.c: Likewise.
27400 * streams/fattach.c: Likewise.
27401 * streams/fdetach.c: Likewise.
27402 * streams/getmsg.c: Likewise.
27403 * streams/getpmsg.c: Likewise.
27404 * streams/putmsg.c: Likewise.
27405 * streams/putpmsg.c: Likewise.
27406 * sysdeps/unix/bsd/getpt.c: Likewise.
27407 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27408 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27409 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27412 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27413 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27414 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27415 * sysvipc/msgctl.c: Likewise.
27416 * sysvipc/msgget.c: Likewise.
27417 * sysvipc/msgrcv.c: Likewise.
27418 * sysvipc/msgsnd.c: Likewise.
27419 * sysvipc/semctl.c: Likewise.
27420 * sysvipc/semget.c: Likewise.
27421 * sysvipc/semop.c: Likewise.
27422 * sysvipc/semtimedop.c: Likewise.
27423 * sysvipc/shmat.c: Likewise.
27424 * sysvipc/shmctl.c: Likewise.
27425 * sysvipc/shmdt.c: Likewise.
27426 * sysvipc/shmget.c: Likewise.
27427 * termios/tcdrain.c: Likewise.
27428 * termios/tcflow.c: Likewise.
27429 * termios/tcflush.c: Likewise.
27430 * termios/tcgetattr.c: Likewise.
27431 * termios/tcgetpgrp.c: Likewise.
27432 * termios/tcsendbrk.c: Likewise.
27433 * termios/tcsetattr.c: Likewise.
27434 * termios/tcsetpgrp.c: Likewise.
27435 * time/adjtime.c: Likewise.
27436 * time/clock.c: Likewise.
27437 * time/getitimer.c: Likewise.
27438 * time/gettimeofday.c: Likewise.
27439 * time/setitimer.c: Likewise.
27440 * time/settimeofday.c: Likewise.
27441 * time/stime.c: Likewise.
27442 * time/time.c: Likewise.
27444 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27446 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27449 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27451 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27453 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27457 FE_TONEAREST before applying Dekker multiplication and Knuth
27458 addition. Clear inexact exceptions and check for exact zero
27459 results afterwards.
27460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27461 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27462 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27463 * math/libm-test.inc (fma_test): Add more tests.
27464 (fma_test_towardzero): Likewise.
27465 (fma_test_downward): Likewise.
27466 (fma_test_upward): Likewise.
27467 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27469 (libc_fesetround): New macro.
27470 (libc_fesetroundf): Likewise.
27471 (libc_fesetroundl): Likewise.
27472 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27474 (libc_fesetround_387): Likewise.
27475 (libc_fesetroundf): New macro.
27476 (libc_fesetround): Likewise.
27477 (libc_fesetroundl): Likewise.
27478 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27480 (libc_fesetroundf): New macro.
27481 (libc_fesetround): Likewise.
27482 (libc_fesetroundl): Likewise.
27483 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27484 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27485 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27487 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27488 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27490 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27491 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27493 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27497 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27498 integer constant usable in #if and use that to give value to enum
27500 (FE_DIVBYZERO): Likewise.
27501 (FE_UNDERFLOW): Likewise.
27502 (FE_OVERFLOW): Likewise.
27503 (FE_INVALID): Likewise.
27504 (FE_INVALID_SNAN): Likewise.
27505 (FE_INVALID_ISI): Likewise.
27506 (FE_INVALID_IDI): Likewise.
27507 (FE_INVALID_ZDZ): Likewise.
27508 (FE_INVALID_IMZ): Likewise.
27509 (FE_INVALID_COMPARE): Likewise.
27510 (FE_INVALID_SOFTWARE): Likewise.
27511 (FE_INVALID_SQRT): Likewise.
27512 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27513 (FE_TONEAREST): Likewise.
27514 (FE_TOWARDZERO): Likewise.
27515 (FE_UPWARD): Likewise.
27516 (FE_DOWNWARD): Likewise.
27517 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27518 (FE_DIVBYZERO): Likewise.
27519 (FE_OVERFLOW): Likewise.
27520 (FE_UNDERFLOW): Likewise.
27521 (FE_INEXACT): Likewise.
27522 (FE_TONEAREST): Likewise.
27523 (FE_DOWNWARD): Likewise.
27524 (FE_UPWARD): Likewise.
27525 (FE_TOWARDZERO): Likewise.
27526 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27527 (FE_UNDERFLOW): Likewise.
27528 (FE_OVERFLOW): Likewise.
27529 (FE_DIVBYZERO): Likewise.
27530 (FE_INVALID): Likewise.
27531 (FE_TONEAREST): Likewise.
27532 (FE_TOWARDZERO): Likewise.
27533 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27534 (FE_OVERFLOW): Likewise.
27535 (FE_UNDERFLOW): Likewise.
27536 (FE_DIVBYZERO): Likewise.
27537 (FE_INEXACT): Likewise.
27538 (FE_TONEAREST): Likewise.
27539 (FE_TOWARDZERO): Likewise.
27540 (FE_UPWARD): Likewise.
27541 (FE_DOWNWARD): Likewise.
27542 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27543 (FE_DIVBYZERO): Likewise.
27544 (FE_OVERFLOW): Likewise.
27545 (FE_UNDERFLOW): Likewise.
27546 (FE_INEXACT): Likewise.
27547 (FE_TONEAREST): Likewise.
27548 (FE_DOWNWARD): Likewise.
27549 (FE_UPWARD): Likewise.
27550 (FE_TOWARDZERO): Likewise.
27552 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27554 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27556 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27558 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27559 commands. Quote $PWD.
27560 (blacklist_exports): Don't use remove_newlines. Replace "declare
27562 (remove_newlines): Remove.
27564 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27566 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27567 * stdlib/stdlib.h (atof): Moved to ...
27568 * include/bits/stdlib-float.h: Here. New file.
27569 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27570 * stdlib/bits/stdlib-float.h: New file.
27571 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27576 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27578 * conform/conformtest.pl (@headers): Add fenv.h.
27579 * conform/data/fenv.h-data: New file.
27580 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27581 include of <math/fenv.h>.
27583 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27584 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27585 && !UNIX98]. Enables tests for XOPEN2K8.
27586 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27587 POSIX2008]: Likewise.
27589 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27590 (struct rusage): Do not expect type or its members.
27593 * math/math.h (FP_NAN): Define macro to integer constant usable in
27594 #if and use that to give value to enum constant.
27595 (FP_INFINITE): Likewise.
27596 (FP_ZERO): Likewise.
27597 (FP_SUBNORMAL): Likewise.
27598 (FP_NORMAL): Likewise.
27600 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27602 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27603 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27606 2012-11-02 Roland McGrath <roland@hack.frob.com>
27608 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27609 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27610 autoconf-time if not.
27611 * configure.in: Remove AC_PREREQ.
27613 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27615 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27616 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27617 of the internal implementation.
27619 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27621 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27622 except include of <misc/sys/syslog.h>.
27624 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27627 function returns with a NULL context exit with zero.
27629 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27631 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27633 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27635 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27636 (run_program_cmd): This.
27637 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27638 (tst_langinfo): New variable. Use it.
27640 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27642 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27643 floating point opcodes.
27645 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27647 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27650 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27652 * sysdeps/mach/hurd/powerpc: Remove directory.
27653 * sysdeps/mach/powerpc: Likewise.
27655 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27657 * scripts/check-local-headers.sh: Ignore c++ headers.
27659 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27661 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27662 __libc_cleanup_region_start argument.
27664 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27669 x * y using scaling, not as x * y + z.
27670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27672 * math/libm-test.inc (fma_test): Add more tests.
27673 (fma_test_towardzero): Likewise.
27674 (fma_test_downward): Likewise.
27675 (fma_test_upward): Likewise.
27677 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27679 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27681 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27683 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27686 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27688 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27690 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27697 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27700 Fix the order of the list for glibc 2.17.
27701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27704 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27708 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27711 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27712 for low part of x being zero before using __atanl (y).
27713 * math/libm-test.inc (atan2_test): Add another test.
27715 * manual/install.texi (Configuring and compiling): Document
27716 general use of test-wrapper and test-wrapper-env.
27717 * INSTALL: Regenerated.
27719 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27720 (__fma): Do not extract and scale down low bits on after-rounding
27721 systems when result rounded to normal precision would have normal
27723 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27724 (__fmal): Do not extract and scale down low bits on after-rounding
27725 systems when result rounded to normal precision would have normal
27727 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27728 (__fmal): Do not extract and scale down low bits on after-rounding
27729 systems when result rounded to normal precision would have normal
27731 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27733 (fma_test): Add more tests.
27734 (fma_test_towardzero): Likewise.
27735 (fma_test_downward): Likewise.
27736 (fma_test_upward): Likewise.
27738 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27740 * sysdeps/i386/tininess.h: Renamed to ...
27741 * sysdeps/x86/tininess.h: This.
27742 * sysdeps/x86_64/tininess.h: Removed.
27744 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27746 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27747 input. Use $(build-program-cmd).
27748 ($(objpfx)tst-array1-static.out): Likewise.
27749 ($(objpfx)tst-array2.out): Likewise.
27750 ($(objpfx)tst-array3.out): Likewise.
27751 ($(objpfx)tst-array4.out): Likewise.
27752 ($(objpfx)tst-array5.out): Likewise.
27753 ($(objpfx)tst-array5-static.out): Likewise.
27755 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27757 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27760 * nss/nsswitch.h (nss_interface_function): Provide new
27761 macro for use with NSS functions.
27762 * grp/initgroups.c: Use new macro.
27763 * nss/getXXbyYY.c: Likewise.
27764 * nss/getXXbyYY_r.c: Likewise.
27765 * nss/getXXent.c: Likewise.
27766 * nss/getXXent_r.c: Likewise.
27767 * sysdeps/posix/getaddrinfo.c: Likewise.
27769 2012-10-30 Andreas Jaeger <aj@suse.de>
27771 * po/ru.po: Update Russion translation from translation project.
27773 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27778 result and shift together with sticky bit instead of replicating
27779 round-to-nearest rounding.
27780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27781 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27782 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27783 missing underflow exceptions.
27784 (fma_test_towardzero): Add more tests.
27785 (fma_test_downward): Likewise.
27786 (fma_test_upward): Likewise.
27789 * sysdeps/generic/tininess.h: New file.
27790 * sysdeps/i386/tininess.h: Likewise.
27791 * sysdeps/sh/tininess.h: Likewise.
27792 * sysdeps/x86_64/tininess.h: Likewise.
27793 * stdlib/tst-strtod-underflow.c: Likewise.
27794 * stdlib/tst-tininess.c: Likewise.
27795 * stdlib/strtod_l.c: Include <tininess.h>.
27796 (round_and_return): Do not set errno for exact underflow cases.
27797 Force an underflow exception when setting errno for underflow.
27798 Determine underflow based on rounding to normal precision if
27799 TININESS_AFTER_ROUNDING.
27800 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27801 ERANGE for exact underflow cases.
27802 * stdlib/Makefile (tests): Add tst-tininess and
27803 tst-strtod-underflow.
27804 ($(objpfx)tst-tininess): Use $(link-libm).
27805 ($(objpfx)tst-strtod-underflow): Likewise.
27807 2012-10-30 Andreas Jaeger <aj@suse.de>
27810 * elf/Makefile (tests): Remove conditional for have-initfini-array
27811 since this is now always required and the variable does not exist
27813 (tests-static): Likewise.
27814 (modules-names): Likewise.
27816 * po/eo.po: Add Esperanto translation from translation project.
27818 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27819 merged with constructor/destructor.
27820 (init_array): Likewise.
27821 * elf/tst-array2dep.c (fini_array): Likewise.
27822 (init_array): Likewise.
27824 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27826 * manual/message.texi: Delete @cartouche tags.
27828 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27830 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27832 * sysdeps/mach/hurd/fsync.c: Likewise.
27834 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27835 [_POSIX_REALTIME_SIGNALS]: Change condition to
27836 [_POSIX_REALTIME_SIGNALS > 0].
27838 2012-10-27 Andreas Jaeger <aj@suse.de>
27840 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27841 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27843 [__WORDSIZE != 64]: Likewise.
27845 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27847 * iconvdata/tst-table.sh: Remove ${SHELL}.
27848 * iconvdata/tst-tables.sh: Likewise.
27850 2012-10-25 David S. Miller <davem@davemloft.net>
27852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27853 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27858 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27859 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27860 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27863 2012-10-25 Roland McGrath <roland@hack.frob.com>
27865 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27866 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27869 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27870 Jim Blandy <jimb@codesourcery.com>
27872 * scripts/cross-test-ssh.sh: New file.
27873 * manual/install.texi (Configuring and compiling): Document use of
27875 * INSTALL: Regenerated.
27877 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27879 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27882 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27884 * Makeconfig (run-program-prefix): Fix comment.
27886 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27887 Jim Blandy <jimb@codesourcery.com>
27889 * Makeconfig (test-wrapper): New variable,
27890 (test-wrapper-env): Likewise.
27891 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27892 (run-built-tests): Define to yes.
27893 (run-program-prefix): Use $(test-wrapper).
27894 (built-program-cmd): Likewise.
27895 * Rules (make-test-out): Use $(test-wrapper-env) and
27896 $(host-built-program-cmd).
27897 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27898 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27900 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27901 $(test-wrapper-env) to tst-rtld-load-self.sh.
27902 ($(objpfx)order2.out): Use $(test-wrapper).
27903 ($(objpfx)tst-initorder.out): Likewise.
27904 ($(objpfx)tst-initorder2.out): Likewise.
27905 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27906 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27907 (test_wrapper_env): New variable. Use it to run ld.so.
27908 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27909 Use it to run ld.so.
27910 (test_wrapper_env): Likewise.
27911 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27912 $(test-wrapper) to run-iconv-test.sh.
27913 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27914 (ICONV): Use $test_wrapper.
27915 * posix/Makefile ($(objpfx)globtest.out): Pass
27916 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27917 globtest.sh, not $(run-program-prefix).
27918 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27919 (test_wrapper): Likewise.
27920 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27921 set together with run_via_rtld_prefix.
27922 (run_program_prefix): Define in terms of test_wrapper and
27923 run_via_rtld_prefix.
27925 2012-10-24 Roland McGrath <roland@hack.frob.com>
27927 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27928 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27932 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27933 Declare __clock_getres, __clock_gettime, __clock_settime,
27934 __clock_nanosleep, and __clock_getcpuclockid.
27935 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27936 Remove librt_hidden_def (clock_gettime).
27937 * sysdeps/unix/clock_gettime.c: Likewise.
27938 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27939 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27940 * rt/clock_getres.c: Define __clock_getres as an alias.
27941 * sysdeps/posix/clock_getres.c: Likewise.
27942 * rt/clock_settime.c: Define __clock_settime as an alias.
27943 * sysdeps/unix/clock_settime.c: Likewise.
27944 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27945 * sysdeps/unix/clock_nanosleep.c: Likewise.
27946 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27947 * rt/clock-compat.c: New file.
27948 * rt/Makefile (librt-routines): Add clock-compat and move
27949 $(clock-routines) to ...
27950 (routines): ... here, new variable.
27951 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27952 Don't add get_clockfreq here.
27953 * rt/Versions (libc: GLIBC_2.17): New version set.
27954 Add clock_* symbols here.
27955 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27956 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27957 (GLIBC_2.17): Add clock_* symbols.
27958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27960 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27969 * NEWS: Mention the move.
27971 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27972 Use __open, __read, __close rather than their public counterparts.
27973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27974 (__get_clockfreq_via_cpuinfo): Likewise.
27975 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27976 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27978 * config.h.in (HAVE_IFUNC): New #undef.
27979 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27981 * configure: Regenerated.
27983 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27985 * configure.in: Move READELF check to start of file.
27986 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27987 libc_cv_asm_gnu_indirect_function in the process.
27988 * configure: Regenerated.
27990 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27992 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27993 send the output to /dev/null.
27994 (libc_cv_cc_with_libunwind): Likewise.
27995 (libc_cv_as_noexecstack): Likewise.
27996 * configure: Regenerate.
27998 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28000 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28002 * posix/globtest.sh (TMPDIR): Do not set.
28003 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28004 (testout): Likewise.
28006 2012-10-24 Andreas Jaeger <aj@suse.de>
28008 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28009 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28010 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28011 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28012 posix_fadvise64, posix_fallocate64.
28014 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28015 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28016 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28018 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28020 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28023 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28024 <bits/fcntl-linux.h>.
28025 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28028 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28029 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28030 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28031 [__WORDSIZE != 64]: Likewise.
28033 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28035 * Makeconfig (run-built-tests): New variable.
28036 * Rules [$(cross-compiling) = yes]: Change condition to
28037 [$(run-built-tests) = no].
28038 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28039 to [$(run-built-tests) = yes].
28040 * elf/Makefile [$(cross-compiling) = no]: Likewise
28041 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28042 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28043 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28044 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28045 * io/Makefile [$(cross-compiling) = no]: Likewise.
28046 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28047 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28048 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28049 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28050 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28051 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28052 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28053 * string/Makefile [$(cross-compiling) = no]: Likewise.
28055 * posix/Makefile ($(objpfx)globtest.out): Pass
28056 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28057 $(rtld-installed-name).
28058 * posix/globtest.sh (elf_objpfx): Remove variable.
28059 (rtld_installed_name): Likewise.
28060 (library_path): Likewise.
28061 (run_program_prefix): New variable. Use for running globtest
28064 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28065 Joseph Myers <joseph@codesourcery.com>
28067 * Makeconfig (host-built-program-cmd): New variable.
28068 * elf/Makefile (tst-stackguard1-ARGS): Use
28069 $(host-built-program-cmd).
28070 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28071 (tst-spawn-ARGS): Likewise.
28072 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28074 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28075 Jim Blandy <jimb@codesourcery.com>
28077 * Makeconfig (run-via-rtld-prefix): New variable.
28078 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28079 (built-program-cmd): Likewise.
28081 2012-10-22 Andreas Jaeger <aj@suse.de>
28083 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28084 __O_RSYNC if it exists, otherwise to O_SYNC.
28086 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28087 Joseph Myers <joseph@codesourcery.com>
28089 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28091 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28093 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28096 2012-10-22 Andreas Jaeger <aj@suse.de>
28098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28100 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28103 bits/fcntl-linux.h.
28105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28106 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28113 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28114 Joseph Myers <joseph@codesourcery.com>
28116 * config.make.in (NM): New variable.
28118 2012-10-21 Andreas Jaeger <aj@suse.de>
28120 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28121 definitions and declarations that are provided by
28122 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28124 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28127 * elf/Makefile (tests-static): Add tst-leaks1-static.
28128 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28129 ($(objpfx)tst-leaks1-static): New rule.
28130 ($(objpfx)tst-leaks1-static-mem): Likewise.
28131 (tst-leaks1-static-ENV): New macro.
28132 * elf/dl-open.c (dl_open_worker): Check the main application
28133 only if SHARED is defined.
28134 * elf/tst-leaks1-static.c: New file.
28136 2012-10-20 Andreas Jaeger <aj@suse.de>
28138 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28139 generic values for Linux.
28140 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28141 and declarations that are provided by <bits/fcntl-linux.h> and
28142 include <bits/fcntl-linux.h>.
28143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28146 2012-10-20 Roland McGrath <roland@hack.frob.com>
28148 * io/fcntl.h: Move include of <bits/types.h> to the top and
28149 include it unconditionally.
28151 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28153 * wcsmbs/Makefile (tests-ifunc): New variable.
28154 (tests): Add $(tests-ifunc).
28155 * wcsmbs/test-wcschr-ifunc.c: New file.
28156 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28157 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28158 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28159 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28160 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28162 * string/Makefile (tests-ifunc): New variable.
28163 (tests): Add $(tests-ifunc).
28164 * string/test-memccpy.c (TEST_NAME): New macro.
28165 * string/test-memchr.c (TEST_NAME): Likewise.
28166 * string/test-memcmp.c (TEST_NAME): Likewise.
28167 * string/test-memcpy.c (TEST_NAME): Likewise.
28168 * string/test-memmem.c (TEST_NAME): Likewise.
28169 * string/test-memmove.c (TEST_NAME): Likewise.
28170 * string/test-memset.c (TEST_NAME): Likewise.
28171 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28172 * string/test-stpcpy.c (TEST_NAME): Likewise.
28173 * string/test-stpncpy.c (TEST_NAME): Likewise.
28174 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28175 * string/test-strcasestr.c (TEST_NAME): Likewise.
28176 * string/test-strcat.c (TEST_NAME): Likewise.
28177 * string/test-strchr.c (TEST_NAME): Likewise.
28178 * string/test-strcmp.c(TEST_NAME): Likewise.
28179 * string/test-strcpy.c (TEST_NAME): Likewise.
28180 * string/test-strcspn.c (TEST_NAME): Likewise.
28181 * string/test-strlen.c (TEST_NAME): Likewise.
28182 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28183 * string/test-strncmp.c (TEST_NAME): Likewise.
28184 * string/test-strncpy.c (TEST_NAME): Likewise.
28185 * string/test-strnlen.c (TEST_NAME): Likewise.
28186 * string/test-strpbrk.c (TEST_NAME): Likewise.
28187 * string/test-strrchr.c (TEST_NAME): Likewise.
28188 * string/test-strspn.c (TEST_NAME): Likewise.
28189 * string/test-strstr.c (TEST_NAME): Likewise.
28190 * string/test-bcopy-ifunc.c: New file.
28191 * string/test-bzero-ifunc.c: Likewise.
28192 * string/test-memccpy-ifunc.c: Likewise.
28193 * string/test-memchr-ifunc.c: Likewise.
28194 * string/test-memcmp-ifunc.c: Likewise.
28195 * string/test-memcpy-ifunc.c: Likewise.
28196 * string/test-memmem-ifunc.c: Likewise.
28197 * string/test-memmove-ifunc.c: Likewise.
28198 * string/test-mempcpy-ifunc.c: Likewise.
28199 * string/test-memset-ifunc.c: Likewise.
28200 * string/test-rawmemchr-ifunc.c: Likewise.
28201 * string/test-stpcpy-ifunc.c: Likewise.
28202 * string/test-stpncpy-ifunc.c: Likewise.
28203 * string/test-strcasecmp-ifunc.c: Likewise.
28204 * string/test-strcasestr-ifunc.c: Likewise.
28205 * string/test-strcat-ifunc.c: Likewise.
28206 * string/test-strchr-ifunc.c: Likewise.
28207 * string/test-strchrnul-ifunc.c: Likewise.
28208 * string/test-strcmp-ifunc.c: Likewise.
28209 * string/test-strcpy-ifunc.c: Likewise.
28210 * string/test-strcspn-ifunc.c: Likewise.
28211 * string/test-strlen-ifunc.c: Likewise.
28212 * string/test-strncasecmp-ifunc.c: Likewise.
28213 * string/test-strncat-ifunc.c: Likewise.
28214 * string/test-strncmp-ifunc.c: Likewise.
28215 * string/test-strncpy-ifunc.c: Likewise.
28216 * string/test-strnlen-ifunc.c: Likewise.
28217 * string/test-strpbrk-ifunc.c: Likewise.
28218 * string/test-strrchr-ifunc.c: Likewise.
28219 * string/test-strspn-ifunc.c: Likewise.
28220 * string/test-strstr-ifunc.c: Likewise.
28222 * debug/Makefile (tests-ifunc): New variable.
28223 (tests): Add $(tests-ifunc).
28224 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28225 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28226 * debug/test-stpcpy_chk-ifunc.c: New file.
28227 * debug/test-strcpy_chk-ifunc.c: Likewise.
28229 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28232 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28233 header is not read in.
28235 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28237 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28238 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28239 directly. Pass built executable to script as
28240 $(built-program-cmd).
28241 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28242 $testprogram without using LD_LIBRARY_PATH and $ldso.
28244 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28245 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28246 $(rtld-installed-name).
28247 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28248 (rtld_installed_name): Likewise.
28249 (library_path): Likewise.
28250 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28251 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28252 $(run-program-prefix) to tst-tables.sh.
28253 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28254 it to run tst-table-from and tst-table-to.
28255 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28256 Pass it to tst-table.sh.
28257 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28258 $(run-program-prefix) to tst-gettext.sh.
28259 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28261 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28263 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28264 to run tst-gettext.
28265 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28266 to run tst-gettext2.
28267 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28268 to run tst-translit.
28269 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28270 $(run-program-prefix) to tst-mtrace.sh.
28271 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28273 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28274 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28275 $(rtld-installed-name).
28276 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28277 (rtld_installed_name): Likewise.
28278 (run_program_prefix): New variable. Use it to run wordexp-test.
28280 * Makeconfig (ARCH): Remove all definitions.
28281 (machine): Likewise.
28282 [ARCH]: Remove conditional code.
28283 [!objdir]: Give error.
28284 [!objdir] (objpfx): Remove.
28285 [!objdir] (common-objpfx): Likewise.
28286 [!objdir] (common-objdir): Likewise.
28287 * configure.in (config_makefile): Remove. Hardcode Makefile in
28288 AC_CONFIG_FILES call.
28289 * configure: Regenerated.
28292 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28294 (testout): Likewise.
28296 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28297 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28298 $(rtld-installed-name).
28299 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28300 (rtld_installed_name): Likwise.
28301 (runit): Remove function.
28302 (run_getconf): New variable, Use it for running getconf binary.
28304 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28307 * string/test-memmem.c (check_result): New function.
28308 (do_one_test): Use it.
28309 (check1): New function.
28310 (test_main): Use it.
28312 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28314 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28316 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28318 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28319 (_G_LSEEK64): Likewise.
28320 (_G_MMAP64): Likewise.
28321 (_G_FSTAT64): Likewise.
28322 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28323 (_G_LSEEK64): Likewise.
28324 (_G_MMAP64): Likewise.
28325 (_G_FSTAT64): Likewise.
28326 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28327 unconditional. Call __mmap64 directly.
28328 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28329 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28330 __lseek64 directly.
28331 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28332 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28334 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28335 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28336 __lseek64 directly.
28337 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28338 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28339 __lseek64 directly.
28340 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28341 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28342 __lseek64 directly.
28343 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28344 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28345 __fxstat64 directly.
28346 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28347 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28349 (freopen64) [!_G_OPEN64]: Remove conditional code.
28350 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28352 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28353 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28355 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28356 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28358 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28359 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28361 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28362 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28364 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28365 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28367 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28368 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28370 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28372 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28375 * manual/memory.texi (Malloc Tunable Parameters): Add note
28376 about free list pointers overwriting some perturb bytes.
28377 Wording suggested by Roland McGrath.
28379 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28381 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28382 (lgamma_test): Likewise.
28383 (tgamma_test): Likewise.
28385 2012-10-16 Florian Weimer <fweimer@redhat.com>
28388 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28389 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28391 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28393 * NEWS: Mention BZ #14716.
28394 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28395 when removing AVAILABLE1_USES_J macro.
28397 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28399 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28400 (__bswap_64): __uint64_t for unsigned 64-bit int.
28402 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28404 * include/string.h (memmem): Declare libc hidden alias.
28405 * string/memmem.c (memmem): Define libc hidden alias.
28406 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28407 __read, __close instead of open, read, close.
28409 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28412 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28414 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28415 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28416 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28418 (__rawmemchr_sse2): Likewise.
28419 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28420 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28421 (__strchr_sse2): Likewise.
28422 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28423 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28424 (__strcasecmp_sse2): Likewise.
28425 (__strncasecmp_sse2): Likewise.
28426 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28427 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28428 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28429 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28430 (__strrchr_sse2): Likewise.
28431 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28433 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28434 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28435 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28436 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28437 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28438 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28439 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28440 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28441 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28442 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28443 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28444 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28445 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28446 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28447 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28448 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28449 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28450 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28451 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28452 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28453 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28454 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28455 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28456 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28457 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28458 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28459 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28460 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28461 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28462 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28464 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28466 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28467 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28468 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28469 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28471 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28473 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28474 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28475 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28476 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28478 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28479 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28480 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28481 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28482 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28483 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28484 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28485 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28486 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28487 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28488 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28489 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28490 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28491 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28492 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28493 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28494 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28495 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28496 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28497 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28498 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28499 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28500 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28501 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28502 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28503 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28504 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28505 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28506 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28507 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28508 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28509 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28510 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28511 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28512 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28513 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28514 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28515 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28516 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28517 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28518 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28520 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28521 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28522 * include/ifunc-impl-list.h: New file.
28523 * misc/ifunc-impl-list.c: Likewise.
28524 * misc/Makefile (routines): Add ifunc-impl-list.
28525 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28526 * string/test-string.h: Include <ifunc-impl-list.h>.
28527 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28528 TEST_NAME]: New variables.
28529 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28531 (test_init): Call __libc_ifunc_impl_list to initialize
28532 func_list if TEST_IFUNC and TEST_NAME are defined.
28534 * string/Makefile (strop-tests): Add bcopy and bzero.
28535 * string/test-bcopy.c: New file.
28536 * string/test-bzero.c: Likewise.
28537 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28539 * string/test-memset.c: Support bzero test if TEST_BZERO is
28541 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28543 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28545 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28548 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28550 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28551 * configure: Regenerated.
28553 * Makeconfig (+link-static-before-libc): Don't include
28554 $(link-static-libc).
28556 * libio/libio.h (_IO_pos_t): Remove.
28558 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28560 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28563 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28565 * crypt/crypt-entry.c: Include fips-private.h.
28566 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28567 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28568 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28569 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28571 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28573 * crypt/crypt-private.h: Include stdbool.h.
28574 (_ufc_setup_salt_r): Return bool.
28575 * crypt/crypt-entry.c: Include errno.h.
28576 (__crypt_r): Return NULL with EINVAL for bad salt.
28577 * crypt/crypt_util.c (bad_for_salt): New.
28578 (_ufc_setup_salt_r): Check that salt is long enough and within
28579 the specified alphabet.
28580 * crypt/badsalttest.c: New file.
28581 * crypt/Makefile (tests): Add it.
28582 ($(objpfx)badsalttest): New.
28584 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28586 * NEWS: Add entry for BZ #14602.
28588 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28590 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28592 * math/libm-test.inc: Update comment listing what functions and
28594 (isgreater_test): New function.
28595 (isgreaterequal_test): Likewise.
28596 (isless_test): Likewise.
28597 (islessequal_test): Likewise.
28598 (islessgreater_test): Likewise.
28599 (isunordered_test): Likewise.
28600 (main): Call the new functions.
28602 2012-10-09 Roland McGrath <roland@hack.frob.com>
28604 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28605 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28606 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28607 * sysdeps/i386/configure: Regenerated.
28608 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28609 * sysdeps/mach/configure: Regenerated.
28610 * sysdeps/mach/hurd/configure: Regenerated.
28611 * sysdeps/powerpc/configure: Regenerated.
28612 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28613 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28614 * sysdeps/s390/s390-32/configure: Regenerated.
28615 * sysdeps/s390/s390-64/configure: Regenerated.
28616 * sysdeps/sh/configure: Regenerated.
28617 * sysdeps/sparc/configure: Regenerated.
28618 * sysdeps/unix/sysv/linux/configure: Regenerated.
28619 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28620 * sysdeps/x86_64/configure: Regenerated.
28622 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28623 defined. Don't check if MAP is NULL.
28625 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28627 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28628 (_G_stat64): Likewise.
28629 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28630 (_G_stat64): Likewise.
28631 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28632 instead of struct _G_stat64.
28633 * libio/fileops.c (mmap_remap_check): Likewise.
28634 (decide_maybe_mmap): Likewise.
28635 (_IO_new_file_seekoff): Likewise.
28636 (_IO_file_stat): Likewise.
28637 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28639 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28640 instead of struct _G_stat64.
28641 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28643 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28646 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28648 (CHECK_EOL): New macro.
28649 (two_way_short_needle): Check beginning of haystack for EOL. Use
28651 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28652 Replace with CHECK_EOL.
28653 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28654 Replace with CHECK_EOL.
28656 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28658 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28660 * math/libm-test.inc: Update comment listing what functions and
28662 (finite_test): New function.
28663 (isinf_test): Likewise.
28664 (isnan_test): Likewise.
28665 (fpclassify_test): Test subnormal input.
28666 (isfinite_test): Likewise.
28667 (isnormal_test): Likewise.
28668 (main): Call the new functions.
28670 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28673 * Makerules (%.dynsym): Force C locale when running
28674 $(OBJDUMP) --dynamic-syms.
28676 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28678 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28681 2012-10-06 David S. Miller <davem@davemloft.net>
28683 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28684 upper 32-bits of the length value in %o2 since we use branch-on-register
28685 tests which consider the entire 64-bit register.
28687 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28689 * string/test-strstr.c (check2): Add a test for page boundary.
28691 2012-10-05 David S. Miller <davem@davemloft.net>
28693 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28694 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28696 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28698 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28699 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28700 and bzero when HWCAP_SPARC_CRYPTO is present.
28702 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28705 * string/test-strstr.c (check2): New function.
28706 (test_main): Call check2.
28708 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28710 * string/bug-strcasestr1.c (do_test): Moved to ...
28711 * string/test-strcasestr.c (check1): Here. New function.
28712 (do_one_test): Break out result checking code into ...
28713 (check_result): This. New function.
28714 (do_one_test): Call check_result.
28715 (test_main): Call check1.
28716 * string/bug-strchr1.c (do_test): Moved to ...
28717 * string/test-strchr.c (check1): Here. New function.
28718 (do_one_test): Break out result checking code into ...
28719 (check_result): This. New function.
28720 (do_one_test): Call check_result.
28721 (test_main): Call check1.
28722 * string/bug-strstr1.c (main): Moved to ...
28723 * string/test-strstr.c (check1): Here. New function.
28724 (do_one_test): Break out result checking code into ...
28725 (check_result): This. New function.
28726 (do_one_test): Call check_result.
28727 (test_main): Call check1.
28728 * string/bug-strcasestr1.c: Removed.
28729 * string/bug-strchr1.c: Likewise.
28730 * string/bug-strstr1.c: Likewise.
28732 * elf/Makefile (dl-routines): Add hwcaps.
28733 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28734 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28735 (_dl_important_hwcaps): Moved to ...
28736 * elf/dl-hwcaps.c: Here. New file.
28737 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28740 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28741 if IS_IN_rtld isn't defined.
28743 * elf/dl-support.c (_dl_sysinfo_map): New.
28744 Include "get-dynamic-info.h" and "setup-vdso.h".
28745 (_dl_non_dynamic_init): Call setup_vdso.
28746 * elf/dynamic-link.h: Don't include <assert.h>.
28747 (elf_get_dynamic_info): Moved to ...
28748 * elf/get-dynamic-info.h: Here. New file.
28749 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28750 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28751 * elf/setup-vdso.h: Here. New file.
28752 * elf/rtld.c: Include "setup-vdso.h".
28753 (dl_main): Call setup_vdso.
28755 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28757 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28758 creal in comment listing functions tested. List finite, isinf,
28759 isnan, isless, islessequal, isgreater, isgreaterequal,
28760 islessgreater, isunordered, lgamma_r and pow10 as functions and
28761 macros not tested. Mention which functions not tested are aliases
28762 for other functions. Fix typo. Note that signs of NaNs are not
28765 * scripts/config.guess: Update from config.git.
28766 * scripts/config.sub: Likewise.
28768 2012-10-04 Roland McGrath <roland@hack.frob.com>
28770 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28771 * misc/madvise.c (madvise): Renamed to __madvise.
28772 Make madvise a weak alias.
28773 * include/sys/mman.h: Declare __madvise.
28774 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28775 * sysdeps/unix/syscalls.list
28776 (madvise): Make __madvise the strong name, and madvise a weak alias.
28777 * sysdeps/unix/sysv/linux/syscalls.list
28778 (madvise, mmap): Remove redundant entries.
28779 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28780 * malloc/malloc.c (mtrim): Likewise.
28781 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28783 2012-10-03 Roland McGrath <roland@hack.frob.com>
28785 * sysdeps/mach/hurd/dl-cache.c: File removed.
28786 * config.h.in (USE_LDCONFIG): New #undef.
28787 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28788 * configure: Regenerated.
28789 * elf/Makefile (dl-routines): Add dl-cache only under
28790 [$(use-ldconfig) = yes].
28791 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28792 cache on [USE_LDCONFIG].
28793 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28795 * elf/rtld.c (dl_main): Likewise.
28797 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28799 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28800 _SC_LEVEL4_CACHE_LINESIZE.
28802 2012-10-03 Roland McGrath <roland@hack.frob.com>
28804 * sysdeps/unix/bsd/confstr.h: File removed.
28806 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28808 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28811 2012-10-02 Roland McGrath <roland@hack.frob.com>
28813 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28814 Make 'mapoff' field ElfW(Off) rather than off_t.
28816 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28818 * nscd/Makefile: Remove nscd-cflags and all its users.
28819 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28820 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28823 * malloc.c (malloc_printerr): Clarify error message.
28825 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28829 Set bit_FMA_Usable if FMA is supported.
28830 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28832 (bit_FMA4_Usable): Updated.
28833 (index_FMA_Usable): New macro.
28834 (CPUID_FMA): Likewise
28835 (HAS_FMA): Defined with bit_FMA_Usable.
28837 2012-10-01 Roland McGrath <roland@hack.frob.com>
28839 * bits/types.h (__swblk_t): Type removed.
28840 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28841 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28843 (__SWBLK_T_TYPE): Likewise.
28844 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28845 (__SWBLK_T_TYPE): Likewise.
28846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28847 (__SWBLK_T_TYPE): Likewise.
28848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28849 (__SWBLK_T_TYPE): Likewise.
28851 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28852 Honza Horak <hhorak@redhat.com>
28854 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28855 (xdr_mapname): Use YPMAXMAP as maxsize.
28856 (xdr_peername): Use YPMAXPEER as maxsize.
28857 (xdr_keydat): Use YPAXRECORD as maxsize.
28858 (xdr_valdat): Use YPMAXRECORD as maxsize.
28860 2012-10-01 Roland McGrath <roland@hack.frob.com>
28862 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28864 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28865 * csu/init-first.c: ... here.
28866 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28867 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28868 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28869 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28870 * sysdeps/i386/init-first.c: File removed.
28871 * sysdeps/sh/init-first.c: File removed.
28873 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28877 if x * y might underflow to zero and z is zero.
28878 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28879 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28880 * math/libm-test.inc (min_subnorm_value): New variable.
28881 (fma_test): Add more tests.
28882 (fma_test_towardzero): Likewise.
28883 (fma_test_downward): Likewise
28884 (fma_test_upward): Likewise.
28885 (initialize): Set min_subnorm_value.
28887 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28892 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28893 mode for addition resulting in exact zero.
28894 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28897 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28899 * math/libm-test.inc (fma_test): Add more tests.
28900 (fma_test_towardzero): New function.
28901 (fma_test_downward): Likewise.
28902 (fma_test_upward): Likewise.
28903 (main): Call the new functions.
28905 2012-09-28 David S. Miller <davem@davemloft.net>
28907 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28909 2012-09-28 Roland McGrath <roland@hack.frob.com>
28911 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28912 instead of SIGALRM.
28914 * sysdeps/gnu/_G_config.h: Moved to ...
28915 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28916 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28917 * sysdeps/generic/_G_config.h: ... here.
28919 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28921 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28923 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28924 Conditionalize target on [libnss_test1.so-version].
28926 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28928 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28929 (elfobjdir): Move out of conditionals.
28931 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28932 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28933 (__nss_lookup_function): Conditionalize label remove_from_tree on
28934 [!DO_STATIC_NSS || SHARED], matching its only use.
28936 2012-09-28 David S. Miller <davem@davemloft.net>
28938 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28939 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28941 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28943 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28945 when HWCAP_SPARC_CRYPTO is present.
28947 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28949 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28951 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28954 * stdio-common/vfprintf.c (process_string_arg): Revert
28957 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28959 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28961 * stdio-common/tst-sprintf.c: Include <locale.h>
28962 (main): Test sprintf's handling of incomplete multibyte
28965 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28967 * elf/dl-runtime.c (VERSYMIDX): Removed.
28968 * elf/dl-version.c (VERSYMIDX): Likewise.
28969 * elf/do-rel.h (VERSYMIDX): Likewise.
28970 (VALIDX): Likewise.
28971 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28972 * elf/rtld.c (VALIDX): Likewise.
28973 (ADDRIDX): Likewise.
28974 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28975 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28976 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28977 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28978 (VALIDX): Likewise.
28979 (ADDRIDX): Likewise.
28981 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28983 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28985 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28988 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28990 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28991 addresses are in the same scope as 192.0.2/24.
28992 * posix/gai.conf: Document new scope table defaults.
28994 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28997 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28998 for ftell. Compute offsets from write pointers instead.
28999 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29001 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29004 * libio/Makefile (tests): New test case tst-fseek.
29005 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29006 combination works in wide mode.
29007 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29008 state when the external buffer state changes.
29010 2012-09-27 David S. Miller <davem@davemloft.net>
29013 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29014 pass reloc->r_addend in as the 'high' argument to
29015 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29019 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29021 * rt/tst-aio2.c: Include <pthread.h>.
29022 * rt/tst-aio3.c: Likewise.
29024 2012-09-27 Steve Ellcey <sellcey@mips.com>
29026 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29028 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29030 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29031 contents on [SHARED].
29033 2012-09-26 Marek Polacek <polacek@redhat.com>
29037 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29038 for C++ and GCC <4.3 as well as for non GCC compilers.
29040 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29044 2012-09-25 Roland McGrath <roland@hack.frob.com>
29046 * Makefile.in (all, install): Declare with .PHONY.
29047 Reported by Michael Hope <michael.hope@linaro.org>.
29049 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29051 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29052 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29054 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29056 (sydep_routines): Add the new and the internal functions.
29057 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29058 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29060 (GLIBC_2.17): Add the new function.
29061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29062 (GLIBC_2.17): Likewise.
29063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29064 (GLIBC_2.17): Likewise.
29065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29066 (GLIBC_2.17): Likewise.
29067 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29069 2012-09-25 Alan Modra <amodra@gmail.com>
29071 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29072 Add release barrier before setting once_control to say
29073 initialisation is done. Add hints on lwarx. Use macro in
29075 (clear_once_control): Add release barrier.
29077 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29080 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29082 * math/s_clog10.c (__clog10): Likewise.
29083 * math/s_clog10f.c (__clog10f): Likewise.
29084 * math/s_clog10l.c (__clog10l): Likewise.
29085 * math/s_clogf.c (__clogf): Likewise.
29086 * math/s_clogl.c (__clogl): Likewise.
29087 * math/Makefile (libm-calls): Add x2y2m1.
29088 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29089 (__x2y2m1): Likewise.
29090 (__x2y2m1l): Likewise.
29091 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29092 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29093 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29094 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29095 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29096 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29097 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29098 * sysdeps/i386/fpu/libm-test-ulps: Update.
29099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29102 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29103 int as type of variable DEPTH.
29104 (glob): Use size_t instead of int as type of variables NEWCOUNT
29107 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29109 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29110 Add s_sincosf-sse2.
29111 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29112 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29113 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29114 macros for using routine as __sincosf_ia32.
29115 Use macro for function declaration and weak_alias.
29116 * sysdeps/i386/fpu/libm-test-ulps: Update.
29118 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29121 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29122 subnormal argument.
29123 * math/s_cexpf.c (__cexpf): Likewise.
29124 * math/s_csinf.c (__csinf): Likewise.
29125 * math/s_csinhf.c (__csinhf): Likewise.
29126 * math/s_ctanf.c (__ctanf): Likewise.
29127 * math/s_ctanhf.c (__ctanhf): Likewise.
29128 * math/s_ccosh.c (__ccoshf): Likewise.
29129 * math/s_cexp.c (__cexpl): Likewise.
29130 * math/s_csin.c (__csin): Likewise.
29131 * math/s_csinh.c (__csinh): Likewise.
29132 * math/s_ctan.c (__ctan): Likewise.
29133 * math/s_ctanh.c (ctanh): Likewise.
29134 * math/s_ccoshl.c (__ccoshl): Likewise.
29135 * math/s_cexpl.c (__cexpl): Likewise.
29136 * math/s_csinl.c (__csinl): Likewise.
29137 * math/s_csinhl.c (__csinhl): Likewise.
29138 * math/s_ctanl.c (__ctanl): Likewise.
29139 * math/s_ctanhl.c (__ctanhl): Likewise.
29141 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29143 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29144 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29145 (_IO_off_t): Define to __off_t, not _G_off_t.
29146 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29147 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29148 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29149 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29150 type of __dummy and __dummy2 fields.
29151 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29152 (_G_ssize_t): Likewise.
29153 (_G_off_t): Likewise.
29154 (_G_pid_t): Likewise.
29155 (_G_uid_t): Likewise.
29156 (_G_wchar_t): Likewise.
29157 (_G_wint_t): Likewise.
29158 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29159 (_G_ssize_t): Likewise.
29160 (_G_off_t): Likewise.
29161 (_G_pid_t): Likewise.
29162 (_G_uid_t): Likewise.
29163 (_G_wchar_t): Likewise.
29164 (_G_wint_t): Likewise.
29165 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29166 (_G_ssize_t): Likewise.
29167 (_G_off_t): Likewise.
29168 (_G_pid_t): Likewise.
29169 (_G_uid_t): Likewise.
29170 (_G_wchar_t): Likewise.
29171 (_G_wint_t): Likewise.
29173 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29175 * malloc/arena.c: Include malloc-sysdep.h.
29176 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29177 is sufficient to shrink the heap or an unmap is needed.
29178 * sysdeps/generic/malloc-sysdep.h: New file. Define
29179 new function check_may_shrink_heap.
29180 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29181 new function check_may_shrink_heap.
29183 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29185 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29188 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29190 * catgets/test-gencat.sh: Add "set -e".
29191 * elf/tst-pathopt.sh: Likewise.
29192 * grp/tst_fgetgrent.sh: Likewise.
29193 * iconvdata/run-iconv-test.sh: Likewise.
29194 * intl/tst-gettext.sh: Likewise.
29195 * intl/tst-gettext2.sh: Likewise.
29196 * intl/tst-gettext4.sh: Likewise.
29197 * intl/tst-gettext6.sh: Likewise.
29198 * intl/tst-translit.sh: Likewise.
29199 * io/ftwtest-sh: Likewise.
29200 * libio/test-freopen.sh: Likewise.
29201 * malloc/tst-mtrace.sh: Likewise.
29202 * posix/globtest.sh: Likewise.
29203 * posix/tst-getconf.sh: Likewise.
29204 * posix/wordexp-tst.sh: Likewise.
29205 * stdio-common/tst-printf.sh: Likewise.
29206 * stdio-common/tst-unbputc.sh: Likewise.
29207 * stdlib/tst-fmtmsg.sh: Likewise.
29208 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29209 * catgets/Makefile: Do not specify -e option when running
29210 testsuite shell scripts.
29211 * elf/Makefile: Likewise.
29212 * grp/Makefile: Likewise.
29213 * iconvdata/Makefile: Likewise.
29214 * intl/Makefile: Likewise.
29215 * io/Makefile: Likewise.
29216 * libio/Makefile: Likewise.
29217 * malloc/Makefile: Likewise.
29218 * posix/Makefile: Likewise.
29219 * stdio-common/Makefile: Likewise.
29220 * stdlib/Makefile: Likewise.
29221 * sysdeps/x86_64/Makefile: Likewise.
29223 * io/ftwtest-sh: Add copyright header.
29224 * posix/globtest.sh: Likewise.
29225 * posix/tst-getconf.sh: Likewise.
29226 * posix/wordexp-tst.sh: Likewise.
29227 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29229 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29232 * Makeconfig (+link): Defined as $(+link-static) if
29233 $(build-shared) isn't yes.
29234 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29236 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29238 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29241 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29242 new chunk size with MALLOC_ALIGN_MASK.
29244 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29247 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29249 (__printf_fphex): Determine rounding using get_rounding_mode and
29251 * stdio-common/tst-printf-round.c (struct hex_test): New
29253 (hex_tests): New variable.
29254 (test_hex_in_one_mode): New function.
29255 (do_test): Also run tests for hex float output.
29257 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29259 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29260 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29261 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29262 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29263 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29264 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29265 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29266 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29268 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29270 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29271 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29272 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29273 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29275 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29278 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29280 * elf/tst-rtld-load-self.sh: New test.
29281 * elf/Makefile: Run it.
29283 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29285 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29286 (tst-writev-ENV): Remove.
29287 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29289 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29291 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29293 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29295 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29297 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29299 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29300 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29301 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29304 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29307 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29308 * config.make.in (have-cpp-asm-debuginfo): Removed.
29309 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29310 * configure: Regenerated.
29312 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29315 * stdio-common/printf_fp.c: Include <stdbool.h> and
29317 (___printf_fp): Determine rounding using get_rounding_mode and
29319 * stdio-common/tst-printf-round.c: New file.
29320 * stdio-common/Makefile (tests): Add tst-printf-round.
29321 (link-libm): New variable.
29322 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29324 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29327 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29328 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29330 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29333 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29335 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29336 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29337 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29338 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29340 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29343 * include/rounding-mode.h: New file.
29344 * sysdeps/generic/get-rounding-mode.h: Likewise.
29345 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29346 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29347 (MAX_VALUE): New macro.
29348 (MIN_VALUE): Likewise.
29349 (overflow_value): New function.
29350 (underflow_value): Likewise.
29351 (round_and_return): Use overflow_value and underflow_value to
29352 determine return values in overflow and underflow cases. Use
29353 round_away to determine rounding depending on rounding mode.
29354 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29355 determine return values in overflow and underflow cases.
29356 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29357 (struct test_results): New structure.
29358 (struct test): Use struct test_results to store expected results
29359 for all rounding modes.
29360 (TEST): Include expected results for all rounding modes.
29361 (test_in_one_mode): New function.
29362 (do_test): Use test_in_one_mode to compute and check results.
29363 Check results for all rounding modes.
29364 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29367 2012-12-09 Allan McRae <allan@archlinux.org>
29369 * sysdeps/i386/fpu/libm-test-ulps: Update
29371 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29373 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29374 (_G_int32_t): Likewise.
29375 (_G_uint16_t): Likewise.
29376 (_G_uint32_t): Likewise.
29377 (_G_HAVE_BOOL): Likewise.
29378 (_G_HAVE_ATEXIT): Likewise.
29379 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29380 (_G_HAVE_IO_FILE_OPEN): Likewise.
29381 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29382 (_G_int32_t): Likewise.
29383 (_G_uint16_t): Likewise.
29384 (_G_uint32_t): Likewise.
29385 (_G_HAVE_BOOL): Likewise.
29386 (_G_HAVE_ATEXIT): Likewise.
29387 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29388 (_G_HAVE_IO_FILE_OPEN): Likewise.
29389 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29390 (_G_int32_t): Likewise.
29391 (_G_uint16_t): Likewise.
29392 (_G_uint32_t): Likewise.
29393 (_G_HAVE_BOOL): Likewise.
29394 (_G_HAVE_ATEXIT): Likewise.
29395 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29396 (_G_HAVE_IO_FILE_OPEN): Likewise.
29398 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29400 * csu/libc-tls.c: Update copyright years.
29402 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29404 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29405 [!_G_USING_THUNKS]: Remove conditional code.
29406 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29407 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29409 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29410 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29411 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29412 (_G_VTABLE_LABEL_PREFIX): Likewise.
29413 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29414 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29415 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29416 (_G_VTABLE_LABEL_PREFIX): Likewise.
29417 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29418 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29419 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29420 (_G_VTABLE_LABEL_PREFIX): Likewise.
29421 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29423 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29425 * libio/Makefile: Include ../Makeconfig before tests.
29426 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29427 only if $(build-shared) is yes.
29429 * iconv/gconv_db.c: Update copyright years.
29431 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29433 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29434 unwind info if defined PIC. Fix special cases description.
29435 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29437 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29439 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29441 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29443 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29445 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29448 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29449 (LDLIBS-tst-chk4): This.
29450 (LDFLAGS-tst-chk5): Renamed to ...
29451 (LDLIBS-tst-chk5): This.
29452 (LDFLAGS-tst-chk6): Renamed to ...
29453 (LDLIBS-tst-chk6): This.
29454 (LDFLAGS-tst-lfschk4): Renamed to ...
29455 (LDLIBS-tst-lfschk4): This.
29456 (LDFLAGS-tst-lfschk5): Renamed to ...
29457 (LDLIBS-tst-lfschk5): This.
29458 (LDFLAGS-tst-lfschk6): Renamed to ...
29459 (LDLIBS-tst-lfschk6): This.
29461 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29462 on $(common-objpfx)soversions.mk.
29464 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29467 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29470 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29472 * malloc/arena.c (arena_get_retry): New function that gets
29473 another arena for the caller to try its request on.
29474 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29475 current arena cannot fulfill the request.
29476 (__libc_memalign): Likewise.
29477 (__libc_memalign): Likewise.
29478 (__libc_pvalloc): Likewise.
29479 (__libc_calloc): Likewise.
29481 2012-09-05 John Tobey <john.tobey@gmail.com>
29484 * manual/arith.texi (Operations on Complex): Fix description
29485 of carg branch cut.
29487 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29490 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29494 * manual/memory.texi (Memory): Make order of menu items match
29497 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29499 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29500 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29501 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29503 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29505 * csu/libc-tls.c (static_dtv): Renamed to ...
29506 (_dl_static_dtv): This. Make it global.
29507 (_dl_initial_dtv): Removed.
29508 (__libc_setup_tls): Updated.
29509 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29510 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29513 2012-09-06 Petr Machata <pmachata@redhat.com>
29515 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29516 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29517 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29518 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29520 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29523 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29524 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29527 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29530 * Makeconfig (link-static-before-libc): Replace $(+prector)
29532 (link-static-after-libc): Replace $(+postctor) with
29534 (link-bounded): Replace $(+prector)/$(+postctor) with
29535 $(+prectorT)/$(+postctorT).
29536 (+prectorT): New macro.
29537 (+postctorT): Likewise.
29539 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29541 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29542 (round_str): Handle values above the maximum for IBM long double
29544 * stdlib/tst-strtod-round.c (tests): Regenerated.
29546 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29548 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29550 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29551 zarch_nohighgprs around the zarch optimized routines.
29552 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29553 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29554 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29557 2012-09-05 David S. Miller <davem@davemloft.net>
29559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29561 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29562 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29563 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29564 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29567 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29569 * malloc/arena.c: Fold copyright years.
29570 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29572 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29574 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29576 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29578 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29580 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29582 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29583 change internal state upon failure.
29585 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29587 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29588 * malloc/memusage.c (mmap): Likewise.
29589 (mmap64, mremap): Likewise. Adjust name in comment.
29591 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29593 * libio/fileops.c: Fix typos in comments.
29594 * libio/oldfileops.c: Likewise.
29595 * libio/wfileops.c: Likewise.
29597 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29600 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29601 (tst-malloc-usable-ENV): Set environment for test case.
29602 * malloc/hooks.c (malloc_check_get_size): New function to get
29604 * malloc/malloc.c (musable): Use malloc_check_get_size.
29605 * malloc/tst-malloc-usable.c: New test case.
29607 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29609 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29611 2012-09-05 Allan McRae <allan@archlinux.org>
29614 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29615 determine header location.
29616 * configure: Regenerated.
29618 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29620 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29622 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29623 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29625 (test): Regenerate.
29627 2012-09-04 David S. Miller <davem@davemloft.net>
29629 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29630 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29631 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29633 2012-09-04 Florian Weimer <fweimer@redhat.com>
29635 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29638 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29640 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29643 * libio/iogetdelim.c: Include <limits.h>.
29644 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29645 + len + 1 would overflow.
29647 2012-09-03 Andreas Jaeger <aj@suse.de>
29649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29650 * sysdeps/i386/fpu/libm-test-ulps: Update.
29652 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29654 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29655 Add s_sinf-sse2, s_conf-sse2.
29657 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29658 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29659 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29660 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29662 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29663 for using routine as __sinf_ia32.
29664 Use macro for function declaration and weak_alias.
29665 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29666 for using routine as __cosf_ia32.
29667 Use macro for function declaration and weak_alias.
29669 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29670 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29672 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29673 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29676 * math/libm-test.inc (cos_test): Add more test cases.
29677 (sin_test): Likewise.
29678 (sincos_test): Likewise.
29680 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29682 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29683 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29685 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29687 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29690 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29691 first element of the GOT.
29692 (elf_machine_load_address): Return the difference between
29693 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29695 2012-09-01 Allan McRae <allan@archlinux.org>
29698 * configure.in (AWK): Require gawk version 3.0 or later.
29699 * configure: Regenerated.
29701 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29703 * sysdeps/unix/sysv/linux/kernel-features.h
29704 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29705 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29706 [__NR_clock_getres]: Make code unconditional.
29707 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29708 (clock_getcpuclockid): Remove code left unreachable by removal of
29710 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29711 code unconditional.
29712 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29713 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29714 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29715 Make code unconditional.
29716 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29717 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29718 * sysdeps/unix/sysv/linux/clock_settime.c
29719 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29721 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29722 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29724 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29727 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29728 scripts/test-installation.pl.
29730 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29731 and $ld_so_version if it is set.
29733 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29736 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29737 failure if reading from procfs failed.
29738 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29740 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29742 * sysdeps/unix/sysv/linux/kernel-features.h
29743 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29744 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29745 Remove conditional code.
29746 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29747 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29748 Remove conditional code.
29749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29750 * sysdeps/unix/sysv/linux/i386/fxstat.c
29751 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29753 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29754 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29755 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29756 * sysdeps/unix/sysv/linux/i386/lxstat.c
29757 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29758 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29759 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29760 Remove conditional code.
29761 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29762 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29763 Remove conditional code.
29764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29765 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29766 <kernel-features.h>.
29767 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29769 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29770 Remove conditional code.
29771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29772 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29773 Remove conditional.
29775 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29778 * NEWS: Add fixed bug number.
29780 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29783 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29784 underflowing exponent in case of negative sign.
29785 * stdlib/tst-strtod-round-data: Add more tests.
29786 * stdlib/tst-strtod-round.c (tests): Regenerated.
29789 * stdlib/strtod_l.c (NDIG): Remove.
29790 (HEXNDIG): Likewise.
29791 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29792 smallest representable value.
29793 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29794 lie within an exact representation of 1/2 ulp of the result.
29795 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29797 (TENS_P9_IDX): Define unconditionally.
29798 (TENS_P9_SIZE): Likewise.
29799 (TENS_P10_IDX): Likewise.
29800 (TENS_P10_SIZE): Likewise.
29801 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29802 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29803 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29804 entries for 10^2^13 and 10^2^14.
29805 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29806 (TENS_P13_IDX): Define.
29807 (TENS_P13_SIZE): Likewise.
29808 (TENS_P14_IDX): Likewise.
29809 (TENS_P14_SIZE): Likewise.
29810 (_fpioconst_pow10): Change array size to
29811 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29813 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29814 1024]: Add entries for 10^2^13 and 10^2^14.
29815 [LAST_POW10 > _LAST_POW10]: Remove #error.
29816 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29817 (_fpioconst_pow10): Change array size to
29818 FPIOCONST_POW10_ARRAY_SIZE.
29819 * stdlib/gen-fpioconst.c: New file.
29820 * stdlib/gen-tst-strtod-round.c: Likewise.
29821 * stdlib/tst-strtod-round-data: Likewise.
29822 * stdlib/tst-strtod-round.c: Likewise.
29823 * stdlib/Makefile (tests): Add tst-strtod-round.
29826 * stdlib/strtod_l.c: Include <stdint.h>.
29827 (NDEBUG): Do not define.
29828 (round_and_return): Change EXPONENT parameter to type intmax_t.
29829 Rearrange calculations to avoid internal overflow possibilities.
29830 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29831 Rearrange calculations to avoid internal overflow possibilities.
29832 Assert that number fits inside MPNSIZE limbs.
29833 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29834 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29835 calculations and add assertions to avoid internal overflow
29836 possibilities. Add casts to avoid signed/unsigned operations.
29837 * stdlib/tst-strtod-overflow.c: New file.
29838 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29840 2012-08-25 Marek Polacek <polacek@redhat.com>
29842 * time/time.h: Fix some typos in comments.
29844 2012-08-23 Roland McGrath <roland@hack.frob.com>
29846 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29847 * posix/tst-rfc3484-2.c: Likewise.
29848 * posix/tst-rfc3484-3.c: Likewise.
29850 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29852 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29853 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29855 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29857 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29858 #include of fxstatat64.c.
29860 2012-08-22 Roland McGrath <roland@hack.frob.com>
29862 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29863 * shadow/getspent_r.c: Likewise.
29864 * shadow/getspnam.c: Likewise.
29865 * shadow/getspnam_r.c: Likewise.
29866 * gshadow/getsgent.c: Likewise.
29867 * gshadow/getsgent_r.c: Likewise.
29868 * gshadow/getsgnam.c: Likewise.
29869 * gshadow/getsgnam_r.c: Likewise.
29870 * inet/getnetbyad.c: Likewise.
29871 * inet/getnetbyad_r.c: Likewise.
29872 * inet/getnetbynm.c: Likewise.
29873 * inet/getnetbynm_r.c: Likewise.
29874 * inet/getnetent.c: Likewise.
29875 * inet/getnetent_r.c: Likewise.
29876 * inet/getproto.c: Likewise.
29877 * inet/getproto_r.c: Likewise.
29878 * inet/getprtent.c: Likewise.
29879 * inet/getprtent_r.c: Likewise.
29880 * inet/getprtname.c: Likewise.
29881 * inet/getprtname_r.c: Likewise.
29882 * inet/getrpcbyname.c: Likewise.
29883 * inet/getrpcbyname_r.c: Likewise.
29884 * inet/getrpcbynumber.c: Likewise.
29885 * inet/getrpcbynumber_r.c: Likewise.
29886 * inet/getrpcent.c: Likewise.
29887 * inet/getrpcent_r.c: Likewise.
29888 * inet/getaliasent.c: Likewise.
29889 * inet/getaliasent_r.c: Likewise.
29890 * inet/getaliasname.c: Likewise.
29891 * inet/getaliasname_r.c: Likewise.
29892 * nscd/getgrgid_r.c: Likewise.
29893 * nscd/getgrnam_r.c: Likewise.
29894 * nscd/gethstbyad_r.c: Likewise.
29895 * nscd/gethstbynm3_r.c: Likewise.
29896 * nscd/getpwnam_r.c: Likewise.
29897 * nscd/getpwuid_r.c: Likewise.
29898 * nscd/getsrvbynm_r.c: Likewise.
29899 * nscd/getsrvbypt_r.c: Likewise.
29900 * nscd/gai.c: Likewise.
29902 * configure.in (build_nscd): New substituted variable, set
29903 by --disable-build-nscd and defaults to $use_nscd.
29904 * configure: Regenerated.
29905 * config.make.in (build-nscd): New substituted variable.
29906 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29907 Change conditional to require [$(build-nscd) = yes] as well.
29908 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29911 * configure.in (use_nscd): New substituted variable, set by
29912 --disable-nscd. If enabled, define USE_NSCD.
29913 * configure: Regenerated.
29914 * config.h.in: Add USE_NSCD.
29915 * config.make.in (use-nscd): New substituted variable.
29916 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29917 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29918 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29919 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29920 (CFLAGS-getgrnam_r.c): Likewise.
29921 (CFLAGS-initgroups.c): Likewise.
29922 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29923 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29925 * inet/getnetgrent_r.c
29926 (nscd_setnetgrent): New function, broken out of ...
29927 (setnetgrent): ... here. Call it.
29928 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29929 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29930 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29931 * nscd/Makefile (routines, aux): Move definitions after include of
29932 Makeconfig. Conditionalize on [$(use-nscd) != no].
29933 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29934 Conditionalize on [USE_NSCD].
29935 (is_nscd, nscd_init_cb): Likewise.
29936 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29937 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29938 * nss/nss_db/db-init.c: Likewise.
29939 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29941 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29942 (make_request): Use it.
29943 (cache_valid_p): New function.
29944 (__check_pf): Use it.
29945 * NEWS: Add item for --disable-nscd.
29947 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29949 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29950 to support sed >= 4.2.1-20-ga9bf076.
29951 * configure: Regenerated.
29953 2012-08-22 Roland McGrath <roland@hack.frob.com>
29955 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29956 Conditionalize whole body on [IREL].
29958 2012-08-22 Jeff Law <law@redhat.com>
29961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29962 if the family is PF_UNSPEC.
29964 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29966 * Makerules (lib-version): Rename from V.
29967 (install-lib-nosubdir): Change V to lib-version.
29969 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29972 * powerpc32/power6/wcschr.c: New file.
29973 * powerpc32/power6/wcscpy.c: New file.
29974 * powerpc32/power6/wcsrchr.c: New file.
29975 * powerpc64/power6/wcschr.c: New file.
29976 * powerpc64/power6/wcscpy.c: New file.
29977 * powerpc64/power6/wcsrchr.c: New file.
29979 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29981 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29982 (two_way_short_needle): Use it.
29983 * string/strstr.c (AVAILABLE1_USES_J): Define.
29984 * string/strcasestr.c: Likewise.
29986 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29988 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29991 * NEWS: Add an entry.
29992 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29993 define their defaults.
29994 (two_way_short_needle): Detect end-of-string on-the-fly.
29995 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29996 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29997 * string/bug-strcasestr1.c: New test.
29998 * string/Makefile: Run it.
30000 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30003 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30004 the first character.
30006 2012-08-21 Roland McGrath <roland@hack.frob.com>
30008 * csu/elf-init.c (__libc_csu_irel): Function removed.
30009 * csu/libc-start.c (apply_irel): New function.
30010 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30012 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30014 * sysdeps/unix/sysv/linux/kernel-features.h
30015 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30016 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30017 <kernel-features.h>.
30018 [__NR_fadvise64_64]: Make code unconditional.
30019 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30020 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30021 !__NR_fadvise64_64)]: Likewise.
30022 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30023 !__NR_fadvise64_64))]: Likewise.
30024 [__NR_fadvise64]: Make code unconditional.
30025 [!__NR_fadvise64]: Remove conditional code.
30026 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30027 <kernel-features.h>.
30028 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30030 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30033 not include <kernel-features.h>.
30034 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30036 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30038 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30039 include <kernel-features.h>.
30040 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30042 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30045 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30047 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30048 slight instruction rearrangements per scrollpipe analysis.
30049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30051 2012-08-20 Roland McGrath <roland@hack.frob.com>
30053 * manual/syslog.texi (syslog; vsyslog, closelog):
30054 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30055 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30057 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30058 DSOCAPS to match condition on defining it.
30060 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30062 * sysdeps/unix/sysv/linux/kernel-features.h
30063 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30065 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30066 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30068 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30069 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30071 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30072 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30074 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30075 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30077 * sysdeps/unix/sysv/linux/kernel-features.h
30078 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30079 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30081 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30082 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30083 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30084 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30085 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30086 Make code unconditional.
30087 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30088 (__mmap64) [!__NR_mmap2]: Likewise.
30089 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30090 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30091 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30092 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30093 [__NR_mmap2]: Make code unconditional.
30094 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30095 (__mmap64) [!__NR_mmap2]: Likewise.
30097 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30099 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30101 2012-08-18 Andreas Jaeger <aj@suse.de>
30103 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30105 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30107 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30108 * include/unistd.h (__have_sock_cloexec): Likewise.
30109 (__have_pipe2): Likewise.
30110 (__have_dup3): Likewise.
30112 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30115 * include/unistd.h (__have_pipe2): Change define into an extern int.
30116 (__have_dup3): Likewise.
30117 * socket/have_sock_cloexec.c: Include fcntl.h.
30118 (__have_pipe2): New variable.
30119 (__have_dup3): Likewise.
30121 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30123 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30125 2012-08-17 Marek Polacek <polacek@redhat.com>
30127 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30128 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30130 2012-08-17 Roland McGrath <roland@hack.frob.com>
30132 * configure.in: Add AC_SUBST for sysheaders.
30133 * configure: Regenerated.
30134 * config.make.in (sysheaders): New substituted variable.
30136 * sysdeps/unix/mkfifo.c: Moved ...
30137 * sysdeps/posix/mkfifo.c: ... here.
30138 * sysdeps/unix/mkfifoat.c: Moved ...
30139 * sysdeps/posix/mkfifoat.c: ... here.
30141 * sysdeps/unix/utime.c: Moved ...
30142 * sysdeps/posix/utime.c: ... here.
30144 * sysdeps/unix/time.c: Moved ...
30145 * sysdeps/posix/time.c: ... here.
30146 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30147 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30149 * sysdeps/unix/nice.c: Moved ...
30150 * sysdeps/posix/nice.c: ... here.
30152 * sysdeps/unix/alarm.c: Moved ...
30153 * sysdeps/posix/alarm.c: ... here.
30155 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30157 2012-08-17 Jeff Law <law@redhat.com>
30159 * intl/Makefile (codeset_mo): New variable.
30160 ($(codeset_mo)): New target.
30161 (tst-codeset.out): Depend on that. Remove explicit rule.
30162 (tst-gettext3.out, tst-gettext5.out): Likewise.
30163 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30164 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30165 * intl/tst-codeset.sh: Remove.
30166 * intl/tst-gettext3.sh: Likewise.
30167 * intl/tst-gettext5.sh: Likewise.
30169 2012-08-17 Roland McGrath <roland@hack.frob.com>
30171 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30172 * sysdeps/unix/syscalls.list: ... here.
30174 * sysdeps/posix/getaddrinfo.c
30175 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30176 (gaiconf_init, gaiconf_reload): Use them.
30177 [!_STATBUF_ST_NSEC]
30178 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30179 Define using time_t rather than struct timespec.
30181 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30182 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30184 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30186 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30187 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30190 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30191 __libc_cleanup_push argument.
30193 * bits/param.h: New file.
30194 * misc/sys/param.h: New file.
30195 * include/sys/param.h: New file.
30196 * misc/Makefile (headers): Add bits/param.h.
30197 * sysdeps/generic/sys/param.h: File removed.
30198 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30199 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30200 * sysdeps/mach/hurd/bits/param.h: New file.
30201 * sysdeps/mach/hurd/sys/param.h: File removed.
30203 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30206 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30208 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30209 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30212 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30213 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30214 rather than -D_IO_MTSAFE_IO conditionally.
30215 * stdio-common/Makefile (CPPFLAGS): Likewise.
30216 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30217 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30218 Use $(libio-mtsafe).
30219 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30220 of -D_IO_MTSAFE_IO.
30221 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30222 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30223 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30224 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30225 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30226 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30227 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30228 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30229 (CFLAGS-fread_u_chk.c): Likewise.
30230 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30231 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30232 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30233 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30234 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30235 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30236 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30237 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30238 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30240 * libio/Makefile: Test [$(libc-reentrant) = yes]
30241 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30244 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30245 * sysdeps/pthread/configure: File removed.
30246 * sysdeps/pthread/Makeconfig: New file.
30247 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30248 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30250 2012-08-16 Gary Benson <gbenson@redhat.com>
30252 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30253 unmapping the first object in a namespace.
30255 2012-08-16 Roland McGrath <roland@hack.frob.com>
30257 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30258 (__internal_setnetgrent): ... this. Add internal_function to
30259 definition. Add libc_hidden_def.
30260 (setnetgrent): Update caller.
30261 (internal_endnetgrent): Renamed to ...
30262 (__internal_endnetgrent): ... this. Add internal_function to
30263 definition. Add libc_hidden_def.
30264 (endnetgrent): Update caller.
30265 (internal_getnetgrent_r): Renamed to ...
30266 (__internal_getnetgrent_r): ... this. Add internal_function to
30267 definition. Add libc_hidden_def.
30268 (__getnetgrent_r): Update caller.
30269 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30271 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30273 * stdlib/longlong.h: Update from GCC.
30275 2012-08-16 Roland McGrath <roland@hack.frob.com>
30277 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30278 on _QL, which is set by umul_ppmm but never used.
30279 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30280 variables, which are set by GMP macros but never used.
30281 * stdio-common/_itowa.c (_itowa): Likewise.
30282 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30283 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30285 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30287 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30288 struct La_sh_regs is not constant.
30289 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30290 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30291 and struct La_sparc64_regs are not constant.
30293 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30295 * sysdeps/unix/sysv/linux/kernel-features.h
30296 (__ASSUME_POSIX_TIMERS): Remove.
30297 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30298 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30299 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30300 Make code unconditional.
30301 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30302 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30303 Make code unconditional.
30304 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30305 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30306 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30307 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30308 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30309 Make code unconditional.
30310 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30311 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30312 (__libc_missing_posix_timers): Remove.
30314 2012-08-15 Roland McGrath <roland@hack.frob.com>
30316 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30317 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30319 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30321 * elf/dl-sym.c: Include <stdlib.h>.
30323 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30324 constants, which avoids warnings in 32-bit builds.
30326 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30327 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30329 * misc/lseek.c: File moved to ...
30330 * io/lseek.c: ... here.
30332 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30334 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30335 shifting LEN more than 31 bits at once.
30337 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30340 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30341 segmentation fault for a case of two empty input strings.
30342 * string/test-strncasecmp.c (check1): Renamed to...
30343 (bz12205): ...this.
30344 (bz14195): Add new testcase for two empty input strings and N > 0.
30345 (test_main): Call new testcase, adapt for renamed function.
30347 2012-08-15 Andreas Jaeger <aj@suse.de>
30350 * crypt/md5test2.c: New test, based on test supplied by Serge
30351 Belyshev <belyshev@depni.sinp.msu.ru>.
30352 * crypt/Makefile (xtests): Add md5test-giant..
30353 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30355 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30358 * crypt/md5.c (md5_process_block): Don't assume the buffer
30359 length is less than 2**32.
30360 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30361 length is less than 2**64.
30363 2012-08-15 Roland McGrath <roland@hack.frob.com>
30365 * string/str-two-way.h: Include <sys/param.h>.
30366 (MAX): Macro removed.
30368 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30369 Move #define and #undef of memmove to just before and after
30370 including <string.h>.
30372 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30373 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30374 and after including <string.h>. Move declarations of
30375 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30376 to before #include "string/memmove.c".
30378 * include/dirent.h: Declare __getdirentries.
30380 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30381 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30383 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30385 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30386 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30387 * sysdeps/i386/configure: Regenerated.
30388 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30389 STABS_CURRENT_FILE, and STABS_FUN.
30390 (END): Remove call to STABS_FUN_END.
30391 (STABS_CURRENT_FILE1): Delete.
30392 (STABS_CURRENT_FILE): Likewise.
30393 (STABS_FUN): Likewise.
30394 (STABS_FUN_END): Likewise.
30395 (STABS_FUN2): Likewise.
30396 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30397 * sysdeps/x86_64/configure: Regenerated.
30399 2012-08-14 Roland McGrath <roland@hack.frob.com>
30401 * elf/dl-open.c: Include <atomic.h>.
30402 * elf/dl-lookup.c: Likewise.
30404 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30406 * sysdeps/unix/sysv/linux/kernel-features.h
30407 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30408 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30410 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30412 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30413 condition on __ASSUME_CLONE_THREAD_FLAGS.
30415 2012-08-14 Andreas Jaeger <aj@suse.de>
30417 * sysdeps/i386/fpu/libm-test-ulps: Update.
30419 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30421 * include/atomic.h (atomic_exchange_and_add): Split into ...
30422 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30425 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30429 2012-08-13 Jeff Law <law@redhat.com>
30431 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30432 null byte in the output string.
30434 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30436 * sysdeps/unix/sysv/linux/kernel-features.h
30437 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30438 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30439 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30440 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30441 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30442 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30443 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30445 2012-08-09 Jeff Law <law@redhat.com>
30448 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30449 When avoid_arena is set, don't retry in the that arena. Pick the
30450 next one, whatever it might be.
30451 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30452 (arena_lock): Pass in new parameter to arena_get2.
30453 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30455 (__libc_malloc): Unify retrying after main arena failure with
30456 __libc_memalign version.
30457 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30459 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30462 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30463 to __redirect_strstr.
30464 (__strstr_sse42): Use typeof __redirect_strstr.
30465 (__strstr_ia32): Likewise.
30466 (__libc_strstr): New prototype.
30467 (strstr): Renamed to ...
30468 (__libc_strstr): This.
30469 (strstr): New strong alias of __libc_strstr.
30470 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30471 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30474 (__libc_time): New prototype.
30475 (time_ifunc): Replace time with __libc_time.
30476 (time): New strong alias and hidden definition of __libc_time.
30477 (__GI_time): Remove strong alias.
30478 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30479 Include <stddef.h>.
30480 (memmove): Redefined to __redirect_memmove.
30481 (__memmove_sse2): Use typeof __redirect_memmove.
30482 (__memmove_ssse3): Likewise.
30483 (__memmove_ssse3_back): Likewise.
30484 (__libc_memmove): New prototype.
30485 (memmove): Renamed to ...
30486 (__libc_memmove): This.
30487 (memmove): New strong alias of __libc_memmove.
30489 2012-08-08 Mark Salter <msalter@redhat.com>
30492 (R_MN10300_TLS_GD): Define.
30493 (R_MN10300_TLS_LD): Likewise.
30494 (R_MN10300_TLS_LDO): Likewise.
30495 (R_MN10300_TLS_GOTIE): Likewise.
30496 (R_MN10300_TLS_IE): Likewise.
30497 (R_MN10300_TLS_LE): Likewise.
30498 (R_MN10300_TLS_DTPMOD): Likewise.
30499 (R_MN10300_TLS_DTPOFF): Likewise.
30500 (R_MN10300_TLS_TPOFF): Likewise.
30501 (R_MN10300_SYM_DIFF): Likewise.
30502 (R_MN10300_ALIGN): Likewise.
30503 (R_MN10300_NUM): Update.
30505 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30507 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30510 2012-08-08 Roland McGrath <roland@hack.frob.com>
30512 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30514 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30515 sysdeps/unix -> sysdeps/posix move.
30516 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30518 2012-08-07 Allan McRae <allan@archlinux.org>
30521 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30522 (SUNOS_CPP): Likewise.
30523 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30525 (open_input): Call CPP using execvp.
30527 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30529 * sysdeps/unix/sysv/linux/kernel-features.h
30530 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30531 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30532 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30533 (__ASSUME_WAITID_SYSCALL): Likewise.
30534 * sysdeps/unix/sysv/linux/dl-execstack.c
30535 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30536 code unconditional.
30537 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30539 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30540 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30541 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30543 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30545 [__ASSUME_WAITID_SYSCALL]: Likewise.
30546 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30548 2012-08-07 Roland McGrath <roland@hack.frob.com>
30550 * sysdeps/unix/closedir.c: Renamed to ...
30551 * sysdeps/posix/closedir.c: ... here.
30552 * sysdeps/unix/dirfd.c: Renamed to ...
30553 * sysdeps/posix/dirfd.c: ... here.
30554 * sysdeps/unix/dirstream.h: Renamed to ...
30555 * sysdeps/posix/dirstream.h: ... here.
30556 * sysdeps/unix/fdopendir.c: Renamed to ...
30557 * sysdeps/posix/fdopendir.c: ... here.
30558 * sysdeps/unix/opendir.c: Renamed to ...
30559 * sysdeps/posix/opendir.c: ... here.
30560 * sysdeps/unix/readdir.c: Renamed to ...
30561 * sysdeps/posix/readdir.c: ... here.
30562 * sysdeps/unix/readdir_r.c: Renamed to ...
30563 * sysdeps/posix/readdir_r.c: ... here.
30564 * sysdeps/unix/rewinddir.c: Renamed to ...
30565 * sysdeps/posix/rewinddir.c: ... here.
30566 * sysdeps/unix/seekdir.c: Renamed to ...
30567 * sysdeps/posix/seekdir.c: ... here.
30568 * sysdeps/unix/telldir.c: Renamed to ...
30569 * sysdeps/posix/telldir.c: ... here.
30570 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30571 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30572 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30573 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30575 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30576 * bits/fcntl.h: ... here.
30578 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30580 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30581 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30582 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30583 (struct flock): Move l_start, l_len to the beginning.
30584 Use __pid_t for l_pid.
30585 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30586 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30587 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30588 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30589 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30590 [__USE_LARGEFILE64] (struct flock64): New type.
30591 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30593 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30594 * bits/dirent.h: ... here.
30596 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30597 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30599 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30601 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30602 Change from 2.6.0 to 2.6.16.
30603 * sysdeps/unix/sysv/linux/configure: Regenerated.
30604 * sysdeps/unix/sysv/linux/kernel-features.h
30605 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30606 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30608 (__ASSUME_UTIMES): Likewise.
30609 (__ASSUME_CLONE_STOPPED): Remove.
30610 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30611 architectures, not kernel version.
30612 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30613 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30614 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30615 (__ASSUME_WAITID_SYSCALL): Likewise.
30616 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30617 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30618 * README: State 2.6.16 as minimum Linux kernel version. Do not
30619 refer to older versions.
30621 2012-08-06 Roland McGrath <roland@hack.frob.com>
30623 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30624 Define alphasort64 as an alias.
30625 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30626 Define versionsort64 as an alias.
30627 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30628 Define scandir64 as an alias.
30629 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30630 Define scandirat64 as an alias.
30631 * dirent/alphasort64.c (alphasort64):
30632 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30633 * dirent/versionsort64.c: Likewise.
30634 * dirent/scandir64.c: Likewise.
30635 * dirent/scandirat64.c: Likewise.
30636 * sysdeps/wordsize-64/alphasort.c: File removed.
30637 * sysdeps/wordsize-64/alphasort64.c: File removed.
30638 * sysdeps/wordsize-64/scandir.c: File removed.
30639 * sysdeps/wordsize-64/scandir64.c: File removed.
30640 * sysdeps/wordsize-64/scandirat.c: File removed.
30641 * sysdeps/wordsize-64/scandirat64.c: File removed.
30642 * sysdeps/wordsize-64/versionsort.c: File removed.
30643 * sysdeps/wordsize-64/versionsort64.c: File removed.
30644 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30645 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30646 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30647 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30648 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30649 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30650 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30651 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30653 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30655 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30657 [defined __arch64__ || defined __sparcv9]
30658 (__INO_T_MATCHES_INO64_T): New macro.
30659 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30660 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30661 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30662 * sysdeps/unix/sysv/linux/bits/dirent.h
30663 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30664 (_DIRENT_MATCHES_DIRENT64): New macro.
30666 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30667 Define lockf64 as an alias.
30668 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30669 Define fseeko64 as an alias.
30670 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30671 Define ftello64 as an alias.
30672 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30673 Define _IO_fgetpos64 and fgetpos64 as aliases.
30674 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30675 Define _IO_fsetpos64 and fsetpos64 as aliases.
30676 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30677 Conditionalize body on this.
30678 * libio/fseeko64.c: Likewise.
30679 * libio/ftello64.c: Likewise.
30680 * libio/iofgetpos64.c: Likewise.
30681 * libio/iofsetpos64.c: Likewise.
30682 * sysdeps/wordsize-64/lockf.c: File removed.
30683 * sysdeps/wordsize-64/lockf64.c: File removed.
30684 * sysdeps/wordsize-64/fseeko.c: File removed.
30685 * sysdeps/wordsize-64/fseeko64.c: File removed.
30686 * sysdeps/wordsize-64/ftello.c: File removed.
30687 * sysdeps/wordsize-64/ftello64.c: File removed.
30688 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30689 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30690 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30691 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30692 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30693 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30694 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30695 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30696 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30697 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30698 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30699 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30700 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30701 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30703 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30704 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30705 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30706 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30707 [defined __arch64__ || defined __sparcv9]
30708 (__OFF_T_MATCHES_OFF64_T): New macro.
30709 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30710 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30712 (__OFF_T_MATCHES_OFF64_T): New macro.
30714 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30716 * stdlib/secure-getenv.c (__secure_getenv): Replace
30717 GLIBC_2_16 with GLIBC_2_17.
30719 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30721 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30722 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30724 2012-08-03 David S. Miller <davem@davemloft.net>
30726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30728 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30730 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30732 (__ASSUME_CORRECT_SI_PID): Likewise.
30733 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30734 (__ASSUME_TMPFS_NAME): Likewise.
30735 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30736 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30737 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30738 (HAVE_AUX_SECURE): Make definition unconditional.
30739 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30740 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30742 2012-08-03 Roland McGrath <roland@hack.frob.com>
30744 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30745 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30746 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30747 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30748 __eloop_threshold instead of SYMLOOP_MAX.
30750 * sysdeps/generic/eloop-threshold.h: New file.
30751 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30753 * elf/chroot_canon.c (chroot_canon): Likewise.
30755 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30758 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30759 Change to 2.6.0 everywhere.
30760 * sysdeps/unix/sysv/linux/configure: Regenerated.
30761 * sysdeps/unix/sysv/linux/kernel-features.h
30762 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30763 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30765 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30766 (__ASSUME_FUTEX_REQUEUE): Remove.
30767 (__ASSUME_STATFS64): Define unconditionally.
30768 (__ASSUME_AT_SECURE): Likewise.
30769 (__ASSUME_CORRECT_SI_PID): Likewise.
30770 (__ASSUME_TGKILL): Define without depending on kernel version for
30772 (__ASSUME_UTIMES): Likewise.
30773 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30775 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30776 (__ASSUME_TMPFS_NAME): Likewise.
30777 * README: Update reference to Linux kernel versions.
30779 2012-08-02 Marek Polacek <polacek@redhat.com>
30782 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30783 libc_cv_asm_type_prefix with %.
30784 * configure: Regenerated.
30785 * include/libc-symbols.h: Remove comment about
30786 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30787 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30788 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30789 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30790 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30791 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30792 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30793 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30794 * elf/tst-unique2mod1.c: Likewise.
30795 * elf/tst-unique1mod2.c: Likewise.
30796 * elf/tst-unique1mod1.c: Likewise.
30797 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30798 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30799 Replace ASM_TYPE_DIRECTIVE with .type.
30800 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30801 * sysdeps/i386/sysdep.h: Likewise.
30802 * sysdeps/x86_64/sysdep.h: Likewise.
30803 * sysdeps/sh/sysdep.h: Likewise.
30804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30805 Do not define ASM_TYPE_DIRECTIVE.
30806 * sysdeps/powerpc/sysdep.h: Likewise.
30807 * sysdeps/powerpc/powerpc32/sysdep.h:
30808 Replace ASM_TYPE_DIRECTIVE with .type.
30809 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30810 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30811 * sysdeps/i386/fpu/e_powf.S: Likewise.
30812 * sysdeps/i386/fpu/e_expl.S: Likewise.
30813 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30814 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30815 * sysdeps/i386/fpu/e_pow.S: Likewise.
30816 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30817 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30818 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30819 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30820 * sysdeps/i386/fpu/e_log2.S: Likewise.
30821 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30822 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30823 * sysdeps/i386/fpu/e_powl.S: Likewise.
30824 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30825 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30826 * sysdeps/i386/fpu/e_logl.S: Likewise.
30827 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30828 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30829 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30830 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30831 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30832 * sysdeps/i386/fpu/e_log.S: Likewise.
30833 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30834 * sysdeps/i386/fpu/e_logf.S: Likewise.
30835 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30836 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30837 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30838 * sysdeps/i386/fpu/e_log10.S: Likewise.
30839 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30840 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30841 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30842 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30843 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30844 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30845 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30846 * sysdeps/i386/i686/strtok.S: Likewise.
30847 * sysdeps/i386/i386-mcount.S: Likewise.
30848 * sysdeps/i386/strtok.S: Likewise.
30849 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30850 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30851 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30852 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30853 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30854 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30855 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30856 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30858 * sysdeps/x86_64/_mcount.S: Likewise.
30859 * sysdeps/x86_64/strtok.S: Likewise.
30860 * sysdeps/sh/_mcount.S: Likewise.
30862 2012-08-01 Roland McGrath <roland@hack.frob.com>
30864 * libio/iofopen.c: Include <fcntl.h>.
30865 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30866 (_IO_fopen64, fopen64): Define as aliases.
30867 * libio/iofopen64.c: Include <fcntl.h>.
30868 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30869 Conditionalize body on this.
30870 * sysdeps/wordsize-64/iofopen.c: File removed.
30871 * sysdeps/wordsize-64/iofopen64.c: File removed.
30873 2012-08-01 Marek Polacek <polacek@redhat.com>
30875 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30876 Use dlfcn directly instead of a variable.
30877 (binfmt-subdir): Do not define.
30880 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30882 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30883 Remove all definitions.
30884 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30885 <kernel-features.h>.
30886 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30887 (miss_F_GETOWN_EX): Remove all definitions.
30888 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30890 [!__ASSUME_FCNTL64]: Remove conditional code.
30891 [__ASSUME_FCNTL64]: Make code unconditional.
30892 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30893 <kernel-features.h>.
30894 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30895 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30896 (lockf64) [__NR_fcntl64]: Make code unconditional.
30897 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30899 * sysdeps/unix/sysv/linux/kernel-features.h
30900 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30901 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30902 Make code unconditional.
30903 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30904 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30906 [__NR_vfork]: Make code unconditional.
30907 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30908 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30910 [__NR_vfork]: Make code unconditional.
30911 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30912 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30914 2012-08-01 Roland McGrath <roland@hack.frob.com>
30916 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30917 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30919 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30920 Define mkstemp64 as an alias.
30921 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30922 Define mkstemps64 as an alias.
30923 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30924 Define mkostemp64 as an alias.
30925 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30926 Define mkostemps64 as an alias.
30927 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30928 Conditionalize body on this.
30929 * misc/mkostemp64.c: Likewise.
30930 * misc/mkostemps64.c: Likewise.
30931 * misc/mkstemps64.c: Likewise.
30932 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30933 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30934 * sysdeps/wordsize-64/mkostemp.c: File removed.
30935 * sysdeps/wordsize-64/mkstemp.c: File removed.
30936 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30937 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30938 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30939 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30942 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30943 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30944 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30945 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30947 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30948 compat_symbol macros from <shlib-compat.h> rather than the underlying
30949 default_symbol_version and symbol_version macros, so that DEFAULT
30950 lines in shlib-versions are respected.
30951 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30953 2012-08-01 Florian Weimer <fweimer@redhat.com>
30955 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30956 Declare with warn_unused_result.
30957 (setgid, setregid, setegid, setresgid): Likewise.
30958 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30960 * WUR-REPORT: Remove set*id functions.
30962 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30964 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30966 2012-07-31 Roland McGrath <roland@hack.frob.com>
30969 * include/sys/socket.h (__libc_accept, __libc_accept4):
30970 Add attribute_hidden.
30971 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30973 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30975 * inet/getnetgrent_r.c (setup): Likewise.
30977 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30979 2012-07-31 David S. Miller <davem@davemloft.net>
30981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30983 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30986 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30987 value between 1.0 and 2.0 and smaller part has absolute value less
30989 * math/s_clog10.c (__clog10): Likewise.
30990 * math/s_clog10f.c (__clog10f): Likewise.
30991 * math/s_clog10l.c (__clog10l): Likewise.
30992 * math/s_clogf.c (__clogf): Likewise.
30993 * math/s_clogl.c (__clogl): Likewise.
30994 * math/libm-test.inc (clog_test): Add more tests.
30995 (clog10_test): Likewise.
30996 * sysdeps/i386/fpu/libm-test-ulps: Update.
30997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30999 2012-07-31 Florian Weimer <fweimer@redhat.com>
31001 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31002 Exit with zero in case no suitable GID is found, and write a
31003 message to standard error.
31005 2012-07-30 Roland McGrath <roland@hack.frob.com>
31007 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31009 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31010 (MAXPATHLEN): Removed.
31011 (NOGROUP, NODEV): New macros.
31012 (setbit, clrbit, isset, isclr): New macros.
31013 (howmany, roundup, powerof2): New macros.
31014 (DEV_BSIZE): New macro.
31016 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31017 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31019 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31020 definition on [!__NO_LONG_DOUBLE_MATH].
31022 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31023 PTR_MANGLE and PTR_DEMANGLE.
31025 * socket/accept4.c (accept4): Rename to __libc_accept4.
31026 Define accept4 as a weak alias.
31028 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31029 on [_DIRENT_HAVE_D_TYPE].
31030 * io/ftw.c (ftw_dir): Likewise.
31032 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31034 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31036 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31037 Use the BSD numbers rather than the arbitrary ones we had.
31038 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31039 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31040 (SIGXCPU, SIGXFSZ): New macros.
31043 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31044 initializer on [_LIBC_REENTRANT].
31046 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31047 definitions inside [_POSIX_MAPPED_FILES].
31049 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31051 * dirent/opendir.c: Include <fcntl.h>.
31053 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31054 (__libc_getspecific): Likewise.
31055 (__libc_key_create): Likewise.
31057 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31058 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31059 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31060 (tmpfile64): Define as alias.
31061 * sysdeps/wordsize-64/tmpfile.c: File removed.
31062 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31063 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31064 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31066 * stdio-common/vfscanf.c: Include <stdbool.h>.
31067 * nss/makedb.c: Likewise.
31068 * stdio-common/_i18n_number.h: Likewise.
31069 * argp/argp-help.c: Likewise.
31070 * posix/wordexp.c: Likewise.
31071 * sysdeps/posix/spawni.c: Likewise.
31072 * nss/nss_files/files-initgroups.c: Likewise.
31073 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31074 * nss/nss_files/files-initgroups.c: Likewise.
31075 * nss/nss_db/db-netgrp.c: Likewise.
31076 * nss/nss_db/db-initgroups.c: Likewise.
31077 * io/fchmodat.c: Include <sys/stat.h>.
31079 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31080 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31082 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31085 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31086 Add multiple inclusion protection.
31088 2012-07-27 David S. Miller <davem@davemloft.net>
31090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31092 2012-07-27 Gary Benson <gbenson@redhat.com>
31095 * elf/rtld.c: Include <stap-probe.h>.
31096 (dl_main): Added static probes "init_start" and "init_complete".
31097 * elf/dl-load.c: Include <stap-probe.h>.
31098 (lose): Take new parameter "nsid".
31099 Added static probe "map_failed".
31100 (_dl_map_object_from_fd): Pass namespace id to lose.
31101 Added static probe "map_start".
31102 (open_verify): Pass namespace id to lose.
31103 * elf/dl-open.c: Include <stap-probe.h>.
31104 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31105 and "reloc_complete".
31106 * elf/dl-close.c: Include <stap-probe.h>.
31107 (_dl_close_worker): Added static probes "unmap_start" and
31109 * elf/rtld-debugger-interface.txt: New file documenting the above.
31111 2012-07-26 Roland McGrath <roland@hack.frob.com>
31113 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31114 rather than a string variable.
31115 * sunrpc/rpc_main.c (h_output): Likewise.
31116 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31118 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31120 * inet/check_native.c: New file.
31122 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31125 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31126 if larger part has absolute value 1.0.
31127 * math/s_clog10.c (__clog10): Likewise.
31128 * math/s_clog10f.c (__clog10f): Likewise.
31129 * math/s_clog10l.c (__clog10l): Likewise.
31130 * math/s_clogf.c (__clogf): Likewise.
31131 * math/s_clogl.c (__clogl): Likewise.
31132 * math/libm-test.inc (clog_test): Add more tests.
31133 (clog10_test): Likewise.
31134 * sysdeps/i386/fpu/libm-test-ulps: Update.
31135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31137 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31138 (pltexit): Likewise.
31139 (La_regs): Likewise.
31140 (La_retval): Likewise.
31141 (int_retval): Likewise.
31142 Update #error for removed macros to refer only to definitions in
31144 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31146 (pltexit): Likewise.
31147 (La_regs): Likewise.
31148 (La_retval): Likewise.
31149 (int_retval): Likewise.
31150 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31152 (pltexit): Likewise.
31153 (La_regs): Likewise.
31154 (La_retval): Likewise.
31155 (int_retval): Likewise.
31156 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31158 (pltexit): Likewise.
31159 (La_regs): Likewise.
31160 (La_retval): Likewise.
31161 (int_retval): Likewise.
31162 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31164 (pltexit): Likewise.
31165 (La_regs): Likewise.
31166 (La_retval): Likewise.
31167 (int_retval): Likewise.
31168 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31170 (pltexit): Likewise.
31171 (La_regs): Likewise.
31172 (La_retval): Likewise.
31173 (int_retval): Likewise.
31174 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31176 (pltexit): Likewise.
31177 (La_regs): Likewise.
31178 (La_retval): Likewise.
31179 (int_retval): Likewise.
31180 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31181 macro definitions in tst-audit.h.
31182 * sysdeps/i386/tst-audit.h: New file.
31183 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31184 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31185 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31186 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31187 * sysdeps/sh/tst-audit.h: Likewise.
31188 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31189 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31190 * sysdeps/x86_64/tst-audit.h: Likewise.
31192 2012-07-26 Andreas Jaeger <aj@suse.de>
31194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31197 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31198 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31199 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31201 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31202 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31203 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31205 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31208 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31210 (si_call_addr, si_syscall, si_arch): Define new macro.
31211 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31213 (si_call_addr, si_syscall, si_arch): Define new marcro.
31214 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31216 (si_call_addr, si_syscall, si_arch): Define new macro.
31217 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31219 (si_call_addr, si_syscall, si_arch): Define new macro.
31221 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31225 Change to 2.4.21 where previously 2.4.1.
31226 * sysdeps/unix/sysv/linux/configure: Regenerated.
31227 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31228 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31229 Linux kernel version.
31230 (__ASSUME_STD_AUXV): Remove.
31231 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31233 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31234 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31235 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31236 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31237 (__ASSUME_NETLINK_SUPPORT): Likewise.
31238 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31239 (__no_netlink_support): Remove conditional definition.
31240 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31242 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31243 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31244 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31245 (if_nameindex_ioctl): Remove.
31246 (if_nameindex_netlink): Do not handle __no_netlink_support.
31247 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31249 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31250 Remove conditional code.
31251 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31253 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31255 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31256 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31257 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31259 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31260 [!__ASSUME_STD_AUXV]: Remove conditional code.
31261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31262 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31263 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31265 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31266 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31268 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31270 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31271 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31273 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31275 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31278 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31281 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31282 code unconditional.
31283 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31285 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31287 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31290 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31292 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31295 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31296 code unconditional.
31297 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31299 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31301 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31304 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31305 code unconditional.
31306 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31308 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31310 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31313 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31315 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31316 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31317 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31318 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31319 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31320 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31321 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31322 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31323 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31324 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31325 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31326 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31327 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31328 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31329 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31330 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31331 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31332 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31333 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31335 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31336 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31337 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31339 2012-07-25 Florian Weimer <fweimer@redhat.com>
31341 * Versions.def: Add GLIBC_2.17.
31342 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31343 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31344 Introduce __libc_secure_getenv.
31345 * stdlib/Versions (2.17): Add secure_getenv
31346 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31347 * stdlib/secure-getenv.c: Rename __secure_getenv to
31348 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31349 symbol __secure_getenv for GLIBC_2.0.
31350 * stdlib/tst-secure-getenv.c: New.
31351 * stdlib/Makefile (tests): Add testcase.
31352 * manual/startup.texi (Environment Access): Document
31354 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31355 __libc_secure_getenv.
31356 * inet/ruserpass.c (ruserpass): Likewise.
31357 * malloc/mtrace.c (mtrace): Likewise.
31358 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31359 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31360 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31361 * sysdeps/posix/tempname.c: Likewise. Evaluate
31362 HAVE_SECURE_GETENV.
31363 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31364 __secure_getenv to __libc_secure_getenv.
31365 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31372 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31378 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31380 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31381 (struct La_i86_retval): Likewise.
31382 (struct La_x86_64_regs): Likewise.
31383 (struct La_x86_64_retval): Likewise.
31384 (struct La_x32_regs): Likewise.
31385 (struct La_x32_retval): Likewise.
31386 (struct La_ppc32_regs): Likewise.
31387 (struct La_ppc32_retval): Likewise.
31388 (struct La_ppc64_regs): Likewise.
31389 (struct La_ppc64_retval): Likewise.
31390 (struct La_sh_regs): Likewise.
31391 (struct La_sh_retval): Likewise.
31392 (struct La_s390_32_regs): Likewise.
31393 (struct La_s390_32_retval): Likewise.
31394 (struct La_s390_64_regs): Likewise.
31395 (struct La_s390_64_retval): Likewise.
31396 (struct La_sparc32_regs): Likewise.
31397 (struct La_sparc32_retval): Likewise.
31398 (struct La_sparc64_regs): Likewise.
31399 (struct La_sparc64_retval): Likewise.
31400 (struct audit_ifaces): Remove architecture-specific pltenter and
31402 * sysdeps/i386/ldsodefs.h: New file.
31403 * sysdeps/powerpc/ldsodefs.h: Likewise.
31404 * sysdeps/s390/ldsodefs.h: Likewise.
31405 * sysdeps/sh/ldsodefs.h: Likewise.
31406 * sysdeps/sparc/ldsodefs.h: Likewise.
31407 * sysdeps/x86_64/ldsodefs.h: Likewise.
31409 2012-07-25 Marek Polacek <polacek@redhat.com>
31412 * math/libm-test.inc (yn_test): Add another test.
31413 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31414 to ERANGE when the result is +-Inf.
31415 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31416 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31417 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31418 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31420 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31422 * conform/data/time.h-data (NULL): Use macro-constant. Require
31424 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31426 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31428 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31430 * configure.in <sysdeps resolving>: Correct printing
31432 * configure: Regenerate.
31434 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31436 * math/w_ilogb.c: Include <limits.h>.
31437 * math/w_ilogbl.c: Likewise.
31439 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31441 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31442 va_copy. Document allowing for unavailable va_copy only as
31443 pre-C99 compatibility.
31444 * manual/string.texi (Copying and Concatenation): Use va_copy
31445 instead of __va_copy in concat example.
31447 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31449 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31450 (__sendto): Use create_address_port. Initialize APORT and deallocate
31453 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31454 with O_NOLINK passed to __file_name_lookup.
31456 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31457 with O_NOLINK passed to __file_name_lookup.
31459 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31460 negative N or less than NGIDS.
31462 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31463 type to string_t. Set ERANGE as errno and return it if NAME is not big
31464 enough. Use memcpy instead of strncpy.
31466 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31468 * elf/Makefile (check-data): Remove.
31469 (localplt.data): New vpath directive.
31470 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31471 instead of $(check-data).
31472 * scripts/data/localplt-generic.data: Move to ...
31473 * sysdeps/generic/localplt.data: ... here.
31474 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31475 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31476 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31479 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31482 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31485 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31488 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31491 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31495 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31497 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31498 PPC32 and PPC64 files.
31499 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31500 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31502 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31504 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31505 __makecontext_ret to ...
31506 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31507 ... here and call exit if uc_link is NULL. New file.
31508 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31509 __makecontext_ret.S.
31510 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31511 __makecontext_ret to ...
31512 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31513 ... here and call exit if uc_link is NULL. New file.
31514 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31515 __makecontext_ret.S.
31517 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31519 * elf/elf.h (R_390_IRELATIVE): New definition.
31520 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31521 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31522 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31523 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31524 (elf_machine_lazy_rel): Likewise.
31525 * sysdeps/s390/dl-irel.h: New file.
31526 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31527 * sysdeps/s390/s390-64/memset.S: New asm code.
31528 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31529 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31530 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31531 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31532 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31533 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31534 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31535 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31536 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31537 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31538 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31539 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31540 * sysdeps/s390/s390-32/memset.S: New asm code.
31541 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31543 2012-07-17 Marek Polacek <polacek@redhat.com>
31546 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31547 * sysdeps/s390/s390-64/configure.in: Likewise.
31548 * sysdeps/sparc/configure.in: Likewise.
31549 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31550 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31551 * sysdeps/i386/configure.in: Likewise.
31552 * sysdeps/x86_64/configure.in: Likewise.
31553 * sysdeps/sh/configure.in: Likewise.
31554 * sysdeps/s390/s390-32/configure: Regenerated.
31555 * sysdeps/s390/s390-64/configure: Likewise.
31556 * sysdeps/x86_64/configure: Likewise.
31557 * sysdeps/sh/configure: Likewise.
31558 * sysdeps/powerpc/powerpc64/configure: Likewise.
31559 * sysdeps/powerpc/powerpc32/configure: Likewise.
31560 * sysdeps/sparc/configure: Likwise.
31561 * sysdeps/i386/configure: Likewise.
31563 * elf/dl-open.c: Comment fixes.
31565 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31567 * Makefile [CXX] (check-data): Remove.
31568 [CXX] (c++-types.data): New vpath directive.
31569 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31570 vpath. Do not allow for C++ type data being missing.
31571 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31572 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31573 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31574 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31575 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31576 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31577 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31580 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31583 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31586 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31589 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31592 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31595 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31598 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31601 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31602 definitions to architecture-specific files.
31603 (TLS_IE): Likewise.
31604 (TLS_LD): Likewise.
31605 (TLS_GD): Likewise.
31606 * sysdeps/i386/tls-macros.h: New file.
31607 * sysdeps/powerpc/tls-macros.h: Likewise.
31608 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31609 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31610 * sysdeps/sh/tls-macros.h: Likewise.
31611 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31612 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31613 * sysdeps/x86_64/tls-macros.h: Likewise.
31615 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31617 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31618 zero value for regular exit case.
31620 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31621 (__start_context): Preserve zero value for regular exit case.
31623 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31624 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31626 * manual/setjmp.texi (setcontext): Clarify normal process
31627 termination when uc_link is the null pointer.
31628 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31631 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31633 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31634 preprocessor. Test for each exception mask separately.
31636 2012-07-16 Andreas Jaeger <aj@suse.de>
31638 * po/ru.po: Update from translation team.
31640 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31642 * conform/data/string.h-data (NULL): Use macro-constant. Require
31644 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31645 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31646 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31647 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31648 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31650 2012-07-13 Andreas Jaeger <aj@suse.de>
31652 * po/fr.po: Update from translation team.
31654 2012-07-12 Marek Polacek <polacek@redhat.com>
31657 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31658 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31661 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31665 Change to 2.4.1 where previously 2.4.0.
31666 * sysdeps/unix/sysv/linux/configure: Regenerated.
31667 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31668 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31670 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31671 (__ASSUME_AT_CLKTCK): Remove.
31672 (__ASSUME_AT_PAGESIZE): Likewise.
31673 (__ASSUME_AT_XID): Likewise.
31674 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31675 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31676 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31678 (HAVE_AUX_PAGESIZE): Likewise.
31679 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31680 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31681 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31683 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31687 the temporary buffer used to invoke __gethostbyname2_r,
31688 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31689 host_data / struct gaih_addrtuple.
31690 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31691 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31692 header file nss/nsswitch.h.
31693 * nss/nsswitch.h (global scope): Add definition of implementation
31694 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31695 resolv/nss_dns/dns-host.c).
31697 2012-07-11 Andreas Jaeger <aj@suse.de>
31699 * po/fr.po: Update from translation team.
31701 * po/sv.po: Update from translation team
31702 * po/fr.po: Another update from translation team.
31704 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31706 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31707 for subnormals or multiply small sinh result by itself.
31708 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31711 2012-07-11 David S. Miller <davem@davemloft.net>
31713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31715 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31718 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31719 (INTERNAL_MARK): Shift it here.
31721 2012-07-10 Marek Polacek <polacek@redhat.com>
31724 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31725 libc_cv_asm_global_directive with .globl.
31726 * configure: Regenerated.
31727 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31729 * sysdeps/i386/configure: Regenerated.
31730 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31732 * sysdeps/x86_64/configure: Regenerated.
31733 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31734 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31735 * elf/tst-unique2mod2.c: Likewise.
31736 * elf/tst-unique2mod1.c: Likewise.
31737 * elf/tst-unique1mod2.c: Likewise.
31738 * elf/tst-unique1mod1.c: Likewise.
31739 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31740 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31741 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31742 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31743 * sysdeps/mach/sysdep.h: Likewise.
31744 * sysdeps/i386/sysdep.h: Likewise.
31745 * sysdeps/i386/i386-mcount.S: Likewise.
31746 * sysdeps/x86_64/_mcount.S: Likewise.
31747 * sysdeps/x86_64/sysdep.h: Likewise.
31748 * sysdeps/sh/_mcount.S: Likewise.
31749 * sysdeps/sh/sysdep.h: Likewise.
31750 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31751 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31752 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31753 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31754 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31755 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31756 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31757 * locale/localeinfo.h: Likewise.
31758 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31759 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31761 2012-07-09 Roland McGrath <roland@hack.frob.com>
31764 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31766 * manual/message.texi (The Uniforum approach): Likewise.
31767 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31768 (glibc iconv Implementation): Likewise.
31770 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31773 * math/s_clog.c (__clog): Avoid scaling a value down where that
31774 could result in underflow.
31775 * math/s_clog10.c (__clog10): Likewise.
31776 * math/s_clog10f.c (__clog10f): Likewise.
31777 * math/s_clog10l.c (__clog10l): Likewise.
31778 * math/s_clogf.c (__clogf): Likewise.
31779 * math/s_clogl.c (__clogl): Likewise.
31780 * math/libm-test.inc (clog_test): Add more tests.
31781 (clog10_test): Likewise.
31782 * sysdeps/i386/fpu/libm-test-ulps: Update.
31783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31785 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31788 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31789 by 7 not 8 to examine high bit of fractional part.
31792 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31793 for call to __mcount_internal.
31794 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31795 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31796 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31798 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31801 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31802 approximation for values within 0x1p-13f of an odd multiple of
31804 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31805 exception. Add more tests.
31806 * sysdeps/i386/fpu/libm-test-ulps: Update.
31809 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31810 inputs and return -1 for them. Do not check for +Inf in case not
31811 reachable for +Inf.
31812 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31813 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31819 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31820 and return -1 for them. Do not check for +Inf in case not
31821 reachable for +Inf.
31822 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31823 spurious underflow.
31824 * sysdeps/i386/fpu/libm-test-ulps: Update.
31825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31827 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31829 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31831 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31835 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31836 could result in spurious underflow. Scale down values above
31837 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31838 * math/s_csqrtf.c (__csqrtf): Likewise.
31839 * math/s_csqrtl.c (__csqrtl): Likewise.
31840 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31841 spurious underflow.
31842 * sysdeps/i386/fpu/libm-test-ulps: Update.
31843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31845 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31847 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31849 * catgets/xopen-msg.awk: New file.
31850 * catgets/xopen-msg.sed: Removed.
31852 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31854 * intl/po2test.awk: New file.
31855 * intl/po2test.sed: Removed.
31857 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31860 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31861 or multiply small sinh result by itself.
31862 * math/s_ctanf.c (__ctanf): Likewise.
31863 * math/s_ctanh.c (__ctanh): Likewise.
31864 * math/s_ctanhf.c (__ctanhf): Likewise.
31865 * math/s_ctanhl.c (__ctanhl): Likewise.
31866 * math/s_ctanl.c (__ctanl): Likewise.
31867 * math/libm-test.inc (ctan_test_tonearest): New function.
31868 (ctan_test_towardzero): Likewise.
31869 (ctan_test_downward): Likewise.
31870 (ctan_test_upward): Likewise.
31871 (ctanh_test_tonearest): Likewise.
31872 (ctanh_test_towardzero): Likewise.
31873 (ctanh_test_downward): Likewise.
31874 (ctanh_test_upward): Likewise.
31875 (main): Call these new functions.
31876 * sysdeps/i386/fpu/libm-test-ulps: Update.
31877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31879 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31881 * .gitignore: Delete /ports entry.
31883 2012-07-03 Andreas Jaeger <aj@suse.de>
31885 * po/bg.po: Update from translation team.
31886 * po/cs.po: Likewise.
31887 * po/de.po: Likewise.
31888 * po/hr.po: Likewise.
31889 * po/nl.pl: Likewise.
31890 * po/pl.po: Likewise.
31891 * po/vi.po: Likewise.
31893 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31895 * Makeconfig [!+link] (+link-before-libc): New variable.
31896 [!+link] (+link-after-libc): Likewise.
31897 [!+link] (+link-tests): Likewise.
31898 [!+link] (+link): Define in terms of $(+link-before-libc) and
31899 $(+link-after-libc).
31900 [!+link-static] (+link-static-before-libc): New variable.
31901 [!+link-static] (+link-static-after-libc): Likewise.
31902 [!+link-static] (+link-static-tests): Likewise.
31903 [!+link-static] (+link-static): Define in terms of
31904 $(+link-static-before-libc) and $(+link-static-after-libc).
31905 [build-shared] (link-libc-before-gnulib): New variable.
31906 [build-shared] (link-libc-tests): Likewise.
31907 [build-shared] (link-libc): Define in terms of
31908 $(link-libc-before-gnulib).
31909 [!build-shared] (link-libc-tests): New variable.
31910 (link-libc-static-tests): New variable.
31911 [!gnulib] (gnulib-arch): New variable.
31912 [!gnulib] (gnulib-tests): Likewise.
31913 [!gnulib] (static-gnulib-arch): Likewise.
31914 [!gnulib] (static-gnulib-tests): Likewise.
31915 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31916 Define with "=" instead of ":=".
31917 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31918 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31919 * Rules (binaries-all-notests): New variable.
31920 (binaries-all-tests): Likewise.
31921 (binaries-static-notests): Likewise.
31922 (binaries-static-tests): Likewise.
31923 (binaries-all): Define using $(binaries-all-notests) and
31924 $(binaries-all-tests).
31925 (binaries-static): Define using $(binaries-static-notests) and
31926 $(binaries-static-tests).
31927 (binaries-shared-tests): New variable.
31928 (binaries-shared-notests): Likewise.
31929 (binaries-shared): Remove variable.
31930 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31931 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31932 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31933 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31934 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31935 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31936 * elf/Makefile (sln-modules): New variable.
31937 (extra-objs): Add $(sln-modules:=.o).
31938 (ldconfig-modules): Add static-stubs.
31939 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31940 * elf/static-stubs.c: New file.
31943 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31944 by 7 not 8 to examine high bit of fractional part. Use volatile
31945 variables when splitting into final array of floats if
31946 __FLT_EVAL_METHOD__ != 0.
31947 * math/libm-test.inc (cos_test): Add another test.
31948 (sin_test): Likewise.
31949 * sysdeps/i386/fpu/libm-test-ulps: Update.
31952 * math/libm-test.inc (cosh_test): Add more tests.
31954 * version.h (RELEASE): Set to "development".
31955 (VERSION): Set to "2.16.90".
31957 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31959 * NEWS: Update copyright. Remove last-updated date.
31960 Mention math library bug fixes and timezone data changes.
31961 * README: Mention GNU/Hurd, x32, and HPPA support status.
31963 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31965 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31967 2012-06-27 Andreas Jaeger <aj@suse.de>
31969 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31971 2012-06-25 Andreas Jaeger <aj@suse.de>
31973 * sysdeps/s390/fpu/libm-test-ulps: Update.
31975 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31976 Thomas Schwinge <thomas@codesourcery.com>
31978 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31979 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31983 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31985 * sysdeps/mach/start.c: Remove file.
31986 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31987 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31988 * sysdeps/sh/init-first.c: Likewise.
31990 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31991 registers for frame unwinding purposes, add CFI directives.
31992 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31993 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31994 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31997 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31998 __fortify_fail returning.
31999 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32001 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32002 sysdeps/sh/____longjmp_chk.S.
32003 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32004 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32005 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32006 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32008 * sysdeps/sh/abort-instr.h: New file.
32009 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32010 process in case exit returns.
32012 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32013 initialize the GOT register before use.
32015 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32016 calculation of ARGC > 4.
32018 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32019 meaningful names to some local labels.
32021 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32022 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32024 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32025 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32026 (__arch_compare_and_exchange_val_16_acq): Likewise.
32027 (__arch_compare_and_exchange_val_32_acq): Likewise.
32028 (atomic_exchange_and_add): Fix gUSA sequence.
32029 (atomic_add): Likewise.
32030 (atomic_add_negative): Likewise.
32031 (atomic_add_zero): Likewise.
32032 (atomic_bit_test_set): Likewise.
32034 2012-06-22 Andreas Schwab <schwab@redhat.com>
32037 * include/link.h (struct link_map): Add l_free_initfini.
32038 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32040 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32041 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32042 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32045 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32047 * configure.in: Use AC_LANG_SOURCE.
32048 * configure: Regenerate.
32050 2012-06-22 Roland McGrath <roland@hack.frob.com>
32052 * configure.in (libc_cv_localstatedir): New substituted variable.
32053 * configure: Regenerated.
32054 * config.make.in (localstatedir): New variable, substituted from
32055 libc_cv_localstatedir.
32056 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32057 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32058 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32059 * sysdeps/gnu/configure: Regenerated.
32061 2012-06-21 Jeff Law <law@redhat.com>
32064 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32065 free. Simplify list management for _LIBC case.
32067 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32070 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32071 Clear sign bit of 64-bit integer value before comparing against
32074 * sysdeps/mach/configure: Regenerated.
32076 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32079 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32081 2012-06-21 Jeff Law <law@redhat.com>
32084 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32085 uint16_t for elements in the "seen" array to avoid char overflows.
32086 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32087 * elf/dl-open.c (dl_open_worker): Likewise.
32089 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32091 * scripts/list-sources.sh: Scan PORTS for translations.
32092 * po/libc.pot: Regenerated.
32094 2012-06-21 Andreas Jaeger <aj@suse.de>
32097 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32099 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32100 * bits/byteswap-16.h (__bswap_16): Likewise.
32101 * bits/byteswap.h (__bswap_constant_16): Likewise.
32103 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32106 * sysdeps/i386/fpu_control.h: Removed.
32107 * sysdeps/x86_64/fpu_control.h: Moved to ...
32108 * sysdeps/x86/fpu_control.h: Here.
32110 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32111 (_FPU_SETCW): Likewise.
32113 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32116 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32117 * sysdeps/x86/fpu/bits/mathinline.h: This.
32118 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32122 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32123 functions if __x86_64__ is defined.
32125 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32127 * string/endian.h: Add !__ASSEMBLER__ condition for including
32128 conversion interfaces.
32130 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32134 of ABS(x) in calculating zero to negative powers other than odd
32136 * math/libm-test.inc (pow_test): Add more tests.
32138 2012-06-15 Andreas Jaeger <aj@suse.de>
32140 * manual/contrib.texi (Contributors): Update entry of Liubov
32141 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32144 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32146 * string/string.h: Add __wur to GNU version of strerror_r.
32148 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32151 * string/Makefile (tests): Add tst-strtok_r.
32152 * string/tst-strtok_r.c: New file.
32153 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32154 RAX_LP/RDX_LP on SAVE_PTR.
32156 2012-06-14 Roland McGrath <roland@hack.frob.com>
32158 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32160 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32162 * libm_test.inc (csqrt_test): Allow more spurious underflow
32164 (j0_test): Likewise.
32165 (j1_test): Likewise.
32166 (y0_test): Likewise.
32167 (y1_test): Likewise.
32169 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32171 * po/Makefile (libc.pot): Use UTF-8 charset.
32173 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32176 Suppress sign-conversion warning from FD_SET.
32177 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32178 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32179 not unsigned long int.
32180 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32182 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32186 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32187 __extern_always_inline instead of __extern_inline.
32188 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32189 (__signbit): Likewise.
32190 (__signbitl): Support C++ namespace.
32191 (lrintf): New inline function.
32193 (llrintf): Likewise.
32194 (llrint): Likewise.
32204 (floorf): Likewise.
32205 (nearbyint): Likewise.
32206 (nearbyintf): Likewise.
32208 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32210 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32211 non-default versions.
32213 2012-06-11 Roland McGrath <roland@hack.frob.com>
32216 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32218 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32220 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32221 (FE_UPWARD, FE_DOWNWARD): Don't define.
32222 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32223 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32225 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32227 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32228 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32230 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32232 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32234 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32235 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32237 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32240 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32241 * sysdeps/i386/fpu/Implies: New file.
32242 * sysdeps/x86_64/fpu/Implies: Likewise.
32243 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32244 * sysdeps/x86/fpu/bits/fenv.h: This.
32246 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32249 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32252 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32253 character 0xffff that matches the last element of the
32256 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32258 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32261 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32263 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32264 values higher than 25.6283.
32266 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32269 subnormal exponent extraction and add some __builtin_expect.
32270 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32271 Fix for subnormal mantissa calculation.
32273 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32275 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32276 cpu2 is -1 and errno is not ENOSYS.
32278 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32281 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32282 * sysdeps/x86/bits/string.h: This.
32283 * sysdeps/x86_64/bits/string.h: Removed.
32285 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32286 if not compiling for x86-64, but compiling for >= i486.
32288 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32289 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32291 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32292 New macro from Linux kernel 3.4.0.
32293 (FP_XSTATE_MAGIC2): Likewise.
32294 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32295 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32296 (struct _fpx_sw_bytes): New struct.
32297 (struct _xsave_hdr): Likewise.
32298 (struct _ymmh_state): Likewise.
32299 (struct _xstate): Likewise.
32301 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32302 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32303 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32304 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32305 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32306 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32308 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32309 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32310 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32311 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32312 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32313 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32315 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32318 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32319 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32320 (sysdep_headers): Include sys/platform/ppc.h.
32321 * sysdeps/powerpc/test-gettimebase.c: Test for
32322 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32323 * manual/Makefile (appendices): Include platform.texi.
32324 * manual/contrib.texi (Contributors): Update @node pointers.
32325 * manual/maint.texi (Maintenance): Likewise.
32326 (Platform): New node.
32327 * manual/platform.texi: New file. Document the new features.
32329 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32330 Jakub Jelinek <jakub@redhat.com>
32333 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32334 where __builtin_expect is unavailable.
32336 2012-06-03 David S. Miller <davem@davemloft.net>
32338 * stdlib/longlong.h: Updated from GCC.
32340 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32343 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32344 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32347 (GLIBC_2.16): Likewise.
32349 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32351 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32353 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32356 (default-abi): New variable.
32357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32358 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32360 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32362 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32364 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32367 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32368 definition. Document in comment.
32370 2012-06-01 David S. Miller <davem@davemloft.net>
32372 * stdlib/longlong.h: Updated from GCC.
32374 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32377 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32378 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32379 sys/debugreg.h sys/io.h here.
32380 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32381 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32383 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32384 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32385 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32386 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32387 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32388 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32390 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32391 Define only if __x86_64__ is defined.
32393 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32396 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32397 Use int64_t for variable i.
32398 * math/libm-test.inc (fmod_test): Add more tests.
32400 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32401 z computation is not scheduled after fetestexcept.
32402 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32403 Use math_force_eval instead of asm to ensure calculation scheduled
32404 before exception test.
32405 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32406 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32408 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32411 computation is not scheduled after fetestexcept.
32413 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32416 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32417 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32419 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32421 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32422 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32424 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32427 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32429 (__WCHAR_MIN): Support __WORDSIZE == 64.
32430 (__WCHAR_MAX): Likewise.
32432 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32433 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32436 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32437 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32440 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32441 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32443 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32444 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32446 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32447 Defined to 1 if __x86_64__ isn't defined.
32448 (_STAT_VER_LINUX_OLD): New.
32449 (st_atime): Remove duplicate.
32450 (st_mtime): Likewise.
32451 (st_ctime): Likewise.
32453 2012-05-31 David S. Miller <davem@davemloft.net>
32455 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32458 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32460 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32464 * elf/dl-reloc.c: Include <_itoa.h>.
32465 (_dl_reloc_bad_type): Remove use of INTUSE.
32466 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32467 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32468 * stdio-common/psiginfo.c (psiginfo): Likewise.
32469 * stdio-common/psignal.c (psignal): Likewise.
32470 * string/strsignal.c (strsignal): Likewise.
32471 * include/signal.h (_sys_siglist): Declare hidden proto.
32472 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32473 INTVARDEF with libc_hidden_data_def.
32474 * stdio-common/itoa-udigits.c: Likewise.
32475 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32476 (_itoa_lower_digits_internal): Remove declaration.
32477 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32478 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32479 (_sys_sigabbrev_internal): Remove aliases.
32480 (_sys_siglist): Define hidden alias.
32482 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32487 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32490 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32491 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32493 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32494 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32495 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32496 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32497 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32498 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32500 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32501 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32502 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32504 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32512 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32513 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32514 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32516 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32517 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32518 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32519 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32520 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32521 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32523 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32524 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32526 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32527 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32529 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32531 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32533 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32534 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32536 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32538 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32539 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32540 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32542 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32544 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32546 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32548 * math/math.h (M_El): Use two more decimal places.
32549 (M_LOG2El): Likewise.
32550 (M_LOG10El): Likewise.
32551 (M_LN2l): Likewise.
32552 (M_LN10l): Likewise.
32554 (M_PI_2l): Likewise.
32555 (M_PI_4l): Likewise.
32556 (M_1_PIl): Likewise.
32557 (M_2_PIl): Likewise.
32558 (M_2_SQRTPIl): Likewise.
32559 (M_SQRT2l): Likewise.
32560 (M_SQRT1_2l): Likewise.
32562 2012-05-31 David S. Miller <davem@davemloft.net>
32564 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32565 values between float registers.
32566 * sysdeps/sparc/sparc64/memset.S: Likewise.
32567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32569 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32571 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32572 -D_FORTIFY_SOURCE=1.
32573 (CPPFLAGS-tst-longjmp_chk.c): Define.
32574 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32575 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32576 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32577 CFLAGS-tst-wchar-h.c.
32579 2012-05-31 Marek Polacek <polacek@redhat.com>
32582 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32583 __endmntent_internal): Remove declaration.
32584 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32585 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32586 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32588 2012-05-30 David S. Miller <davem@davemloft.net>
32590 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32591 (___Q_simulate_exceptions): Use real FP ops rather than writing
32593 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32596 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32599 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32600 * sysdeps/x86/bits/xtitypes.h: This.
32602 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32603 * sysdeps/x86/bits/wordsize.h: This.
32605 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32606 * sysdeps/x86/bits/huge_vall.h: This.
32608 * sysdeps/i386/bits/select.h: Removed.
32609 * sysdeps/x86_64/bits/select.h: Renamed to ...
32610 * sysdeps/x86/bits/select.h: This.
32612 * sysdeps/i386/bits/setjmp.h: Removed.
32613 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32614 * sysdeps/x86/bits/setjmp.h: This.
32616 * sysdeps/i386/bits/mathdef.h: Removed.
32617 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32618 * sysdeps/x86/bits/mathdef.h: This.
32620 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32623 * include/sys/socket.h (__connect_internal)
32624 (__libc_sa_len_internal): Remove declaration.
32625 (__connect, __libc_sa_len): Declare hidden_proto.
32626 (SA_LEN): Remove use of INTUSE.
32627 * socket/connect.c: Add libc_hidden_def.
32628 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32629 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32630 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32632 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32633 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32634 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32635 of adding _internal alias.
32637 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32640 * sysdeps/i386/bits/link.h: Removed.
32641 * sysdeps/i386/bits/linkmap.h: Likewise.
32642 * sysdeps/x86_64/bits/link.h: Renamed to ...
32643 * sysdeps/x86/bits/link.h: This.
32644 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32645 * sysdeps/x86/bits/linkmap.h: This.
32647 * sysdeps/i386/bits/endian.h: Removed.
32648 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32649 * sysdeps/x86/bits/endian.h: This.
32651 * sysdeps/i386/bits/byteswap.h: Removed.
32652 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32653 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32654 * sysdeps/x86/bits/byteswap.h: This.
32655 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32656 * sysdeps/x86/bits/byteswap-16.h: This.
32657 * sysdeps/i386/Implies: Add x86.
32658 * sysdeps/x86_64/Implies: Likewise.
32660 2012-05-30 David S. Miller <davem@davemloft.net>
32662 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32663 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32664 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32665 (FP_TRAPPING_EXCEPTIONS): Define.
32666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32667 (FP_TRAPPING_EXCEPTIONS): Define.
32668 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32669 subnormals only when inexact has been signalled or underflow
32670 exceptions are enabled.
32671 (_FP_PACK_CANONICAL): Likewise.
32673 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32676 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32677 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32679 2012-05-30 Richard Henderson <rth@twiddle.net>
32681 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32682 with #ifndef NOT_IN_libc.
32684 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32685 marked to avoid plt entry.
32687 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32690 * Makeconfig (default-abi): New macro.
32691 (abi-includes): Likewise.
32692 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32693 $(abi-$(default-abi)-lib-soname) for soname if defined.
32694 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32696 * Makefile (installed-stubs): Likewise.
32697 * include/stubs-biarch.h: Removed.
32698 * scripts/lib-names.awk: Only handle one library at a time.
32699 * scripts/soversions.awk: Remove WORDSIZE support.
32700 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32702 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32704 (syscall-list-default-condition): Likewise.
32705 (syscall-list-default-condition): Likewise.
32706 (syscall-list-includes): Likewise.
32707 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32708 syscall-list-* with abi-*. Handle undefined abi-variants.
32709 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32710 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32711 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32712 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32713 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32714 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32716 (syscall-list-32-options): Likewise.
32717 (syscall-list-32-condition): Likewise.
32718 (syscall-list-64-options): Likewise.
32719 (syscall-list-64-condition): Likewise.
32720 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32722 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32725 (abi-64-ld-soname): New macro.
32726 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32727 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32730 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32731 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32733 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32735 * sysdeps/unix/sysv/linux/kernel-features.h
32736 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32737 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32738 include <kernel-features.h>.
32739 [!__NR_ftruncate64]: Remove conditional code.
32740 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32741 [__NR_ftruncate64]: Make code unconditional.
32742 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32743 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32744 include <kernel-features.h>.
32745 [!__NR_ftruncate64]: Remove conditional code.
32746 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32747 [__NR_ftruncate64]: Make code unconditional.
32748 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32750 include <kernel-features.h>.
32751 [!__NR_ftruncate64]: Remove conditional code.
32752 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32753 [__NR_ftruncate64]: Make code unconditional.
32754 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32756 include <kernel-features.h>.
32757 [!__NR_ftruncate64]: Remove conditional code.
32758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32759 [__NR_ftruncate64]: Make code unconditional.
32760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32762 * configure.in (libc_cv_fpie): Weaken to a compile test using
32763 LIBC_TRY_CC_OPTION.
32764 * configure: Regenerated.
32766 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32781 2012-05-27 David S. Miller <davem@davemloft.net>
32783 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32785 (__Q_simulate_exceptions): Return void. Change to simulate
32786 exceptions by writing into the %fsr.
32787 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32788 (__Qp_handle_exceptions): Likewise.
32790 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32791 __Qp_handle_exceptions.
32792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32793 __Qp_handle_exceptions.
32794 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32795 as unused and give dummy FP_RND_NEAREST initializer.
32796 (FP_INHIBIT_RESULTS): Define.
32797 (___Q_simulate_exceptions): Update declaration.
32798 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32800 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32801 as unused and give dummy FP_RND_NEAREST initializer.
32802 (__Qp_handle_exceptions): Update declaration.
32803 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32806 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32808 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32809 the temporary FPU control word.
32810 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32811 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32812 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32813 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32814 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32815 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32816 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32817 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32818 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32819 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32820 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32822 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32824 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32827 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32829 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32830 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32831 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32832 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32834 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32835 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32838 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32840 * po/h.po: Update from translation team.
32842 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32844 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32846 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32847 handling of denormals.
32848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32849 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32850 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32851 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32852 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32854 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32857 2012-05-26 Marek Polacek <polacek@redhat.com>
32860 * math/libm-test.inc (fma_test): Don't always expect underflow
32863 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32866 * elf/tst-execstack.c: Include stackinfo.h.
32867 (do_test): Adjust test case to ensure that pthread_getattr_np
32868 behaviour remains the same after marking stack executable.
32870 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32872 * sysdeps/unix/sysv/linux/kernel-features.h
32873 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32874 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32876 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32877 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32878 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32880 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32881 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32883 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32885 * configure.in: Define the default includes to being none.
32886 * configure: Regenerated.
32888 2012-05-25 Roland McGrath <roland@hack.frob.com>
32890 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32891 * sysdeps/x86_64/setjmp.S: Likewise.
32892 * sysdeps/i386/bsd-setjmp.S: Likewise.
32893 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32894 * sysdeps/i386/setjmp.S: Likewise.
32895 * sysdeps/i386/__longjmp.S: Likewise.
32896 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32897 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32899 * include/stap-probe.h: New file.
32900 * configure.in: Handle --enable-systemtap.
32901 * configure: Regenerated.
32902 * config.h.in (USE_STAP_PROBE): New #undef.
32903 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32904 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32905 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32907 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32910 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32911 to 2.4.0 where earlier.
32912 * sysdeps/unix/sysv/linux/configure: Regenerated.
32913 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32914 <kernel-features.h>.
32915 [__ASSUME_32BITUIDS]: Make code unconditional.
32916 [!__ASSUME_32BITUIDS]: Remove conditional code.
32917 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32918 <kernel-features.h>.
32919 [__ASSUME_32BITUIDS]: Make code unconditional.
32920 [!__ASSUME_32BITUIDS]: Remove conditional code.
32921 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32922 [__ASSUME_32BITUIDS]: Make code unconditional.
32923 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32924 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32925 <kernel-features.h>.
32926 [__ASSUME_32BITUIDS]: Make code unconditional.
32927 [!__ASSUME_32BITUIDS]: Remove conditional code.
32928 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32929 <kernel-features.h>.
32930 [__ASSUME_32BITUIDS]: Make code unconditional.
32931 [!__ASSUME_32BITUIDS]: Remove conditional code.
32932 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32933 <kernel-features.h>.
32934 [__ASSUME_32BITUIDS]: Make code unconditional.
32935 [!__ASSUME_32BITUIDS]: Remove conditional code.
32936 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32937 <kernel-features.h>.
32938 [__ASSUME_32BITUIDS]: Make code unconditional.
32939 [!__ASSUME_32BITUIDS]: Remove conditional code.
32940 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32941 <kernel-features.h>.
32942 [__ASSUME_32BITUIDS]: Make code unconditional.
32943 [!__ASSUME_32BITUIDS]: Remove conditional code.
32944 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32945 <kernel-features.h>.
32946 [__ASSUME_32BITUIDS]: Make code unconditional.
32947 [!__ASSUME_32BITUIDS]: Remove conditional code.
32948 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32949 <kernel-features.h>.
32950 [__ASSUME_32BITUIDS]: Make code unconditional.
32951 [!__ASSUME_32BITUIDS]: Remove conditional code.
32952 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32953 <kernel-features.h>.
32954 [__ASSUME_32BITUIDS]: Make code unconditional.
32955 [!__ASSUME_32BITUIDS]: Remove conditional code.
32956 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32957 <kernel-features.h>.
32958 [__ASSUME_32BITUIDS]: Make code unconditional.
32959 [!__ASSUME_32BITUIDS]: Remove conditional code.
32960 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32961 <kernel-features.h>.
32962 [__ASSUME_32BITUIDS]: Make code unconditional.
32963 [!__ASSUME_32BITUIDS]: Remove conditional code.
32964 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32965 <kernel-features.h>.
32966 [__NR_setresgid] (__setresgid): Do not declare.
32967 [__ASSUME_32BITUIDS]: Make code unconditional.
32968 [!__ASSUME_32BITUIDS]: Remove conditional code.
32969 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32970 <kernel-features.h>.
32971 [__NR_setresuid] (__setresuid): Do not declare.
32972 [__ASSUME_32BITUIDS]: Make code unconditional.
32973 [!__ASSUME_32BITUIDS]: Remove conditional code.
32974 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32975 <kernel-features.h>.
32976 [__ASSUME_32BITUIDS]: Make code unconditional.
32977 [!__ASSUME_32BITUIDS]: Remove conditional code.
32978 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32979 <kernel-features.h>.
32980 [__ASSUME_32BITUIDS]: Make code unconditional.
32981 [!__ASSUME_32BITUIDS]: Remove conditional code.
32982 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32983 <kernel-features.h>.
32984 [__ASSUME_32BITUIDS]: Make code unconditional.
32985 [!__ASSUME_32BITUIDS]: Remove conditional code.
32986 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32987 <kernel-features.h>.
32988 [__ASSUME_32BITUIDS]: Make code unconditional.
32989 [!__ASSUME_32BITUIDS]: Remove conditional code.
32990 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32991 <kernel-features.h>.
32992 [__ASSUME_32BITUIDS]: Make code unconditional.
32993 [!__ASSUME_32BITUIDS]: Remove conditional code.
32994 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32995 <kernel-features.h>.
32996 [__ASSUME_32BITUIDS]: Make code unconditional.
32997 [!__ASSUME_32BITUIDS]: Remove conditional code.
32998 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32999 <kernel-features.h>.
33000 [__ASSUME_32BITUIDS]: Make code unconditional.
33001 [!__ASSUME_32BITUIDS]: Remove conditional code.
33002 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33003 <kernel-features.h>.
33004 [__ASSUME_32BITUIDS]: Make code unconditional.
33005 [!__ASSUME_32BITUIDS]: Remove conditional code.
33006 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33007 <kernel-features.h>.
33008 [__ASSUME_32BITUIDS]: Make code unconditional.
33009 [!__ASSUME_32BITUIDS]: Remove conditional code.
33010 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33011 <kernel-features.h>.
33012 [__ASSUME_32BITUIDS]: Make code unconditional.
33013 [!__ASSUME_32BITUIDS]: Remove conditional code.
33014 * sysdeps/unix/sysv/linux/kernel-features.h
33015 (__ASSUME_SETRESUID_SYSCALL): Remove.
33016 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33017 (__ASSUME_32BITUIDS): Likewise.
33018 (__ASSUME_LDT_WORKS): Likewise.
33019 (__ASSUME_O_DIRECTORY): Likewise.
33020 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33021 architecture but not kernel version.
33022 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33023 (__ASSUME_MMAP2_SYSCALL): Likewise.
33024 (__ASSUME_STAT64_SYSCALL): Likewise.
33025 (__ASSUME_IPC64): Likewise.
33026 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33027 <kernel-features.h>.
33028 [__ASSUME_32BITUIDS]: Make code unconditional.
33029 [!__ASSUME_32BITUIDS]: Remove conditional code.
33030 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33031 <kernel-features.h>.
33032 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33033 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33034 132096]: Remove conditional code.
33035 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33036 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33037 <kernel-features.h>.
33038 [__ASSUME_32BITUIDS]: Make code unconditional.
33039 [!__ASSUME_32BITUIDS]: Remove conditional code.
33040 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33041 <kernel-features.h>.
33042 [__ASSUME_32BITUIDS]: Make code unconditional.
33043 [!__ASSUME_32BITUIDS]: Remove conditional code.
33044 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33045 <kernel-features.h>.
33046 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33048 (__setresgid): Do not declare.
33049 [__ASSUME_32BITUIDS]: Make code unconditional.
33050 [!__ASSUME_32BITUIDS]: Remove conditional code.
33051 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33052 <kernel-features.h>.
33053 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33055 (__setresuid): Do not declare.
33056 [__ASSUME_32BITUIDS]: Make code unconditional.
33057 [!__ASSUME_32BITUIDS]: Remove conditional code.
33058 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33059 <kernel-features.h>.
33060 [__ASSUME_32BITUIDS]: Make code unconditional.
33061 [!__ASSUME_32BITUIDS]: Remove conditional code.
33062 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33063 <kernel-features.h>.
33064 [__ASSUME_32BITUIDS]: Make code unconditional.
33065 [!__ASSUME_32BITUIDS]: Remove conditional code.
33067 2012-05-25 Richard Henderson <rth@twiddle.net>
33069 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33070 dl_hwcap to ifunc resolver.
33071 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33073 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33074 dl_hwcap to ifunc resolver.
33075 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33077 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33080 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33081 for |x| <= 2**-26, not 2**-57.
33082 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33085 2012-05-24 Jeff Law <law@redhat.com>
33087 * stdio-common/Makefile (tests): Add bug25.
33088 * stdio-common/bug25.c: New test.
33090 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33093 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33094 multiple of MALLOC_ALIGNMENT in size.
33095 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33097 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33099 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33101 (FILENAME_MAX): Use macro-int-constant.
33102 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33103 (_IOFBF): Use macro-int-constant.
33104 (_IOLBF): Likewise.
33105 (_IONBF): Likewise.
33106 (SEEK_CUR): Likewise.
33107 (SEEK_END): Likewise.
33108 (SEEK_SET): Likewise.
33109 (TMP_MAX): Likewise.
33110 (EOF): Use macro-int-constant. Require < 0.
33111 (NULL): Use macro-constant. Require == 0.
33112 (stdin): Require type to be FILE *.
33113 (stdout): Likewise.
33114 (stderr): Likewise.
33115 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33116 macro-int-constant.
33117 (EXIT_SUCCESS): Likewise.
33118 (NULL): Use macro-constant. Require == 0.
33119 (RAND_MAX): Use macro-int-constant.
33120 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33121 [C99-based standards] (strtof): Require function.
33122 [C99-based standards] (strtold): Likewise.
33123 [C99-based standards] (strtoll): Likewise.
33124 [C99-based standards] (strtoull): Likewise.
33125 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33126 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33127 [ISO || ISO99 || ISO11] (math.h): Likewise.
33128 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33129 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33132 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33135 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33136 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33137 * intl/dgettext.c (DCGETTEXT): Likewise.
33138 * intl/gettext.c (DCGETTEXT): Likewise.
33139 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33140 * posix/regex_internal.h (gettext): Likewise.
33141 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33142 Remove declaration.
33143 * include/argz.h (__argz_count_internal)
33144 (__argz_stringify_internal): Remove declaration.
33145 (__argz_count, __argz_stringify): Declare hidden proto.
33146 * intl/dcgettext.c: Remove use of INTDEF.
33147 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33148 * string/argz-stringify.c: Likewise.
33149 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33150 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33151 Declare hidden proto.
33152 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33153 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33154 Declare hidden proto.
33155 * include/stdio.h (__asprintf_internal): Don't declare.
33156 (__asprintf): Don't define as macro. Declare hidden proto.
33157 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33158 (__fsetlocking): Declare hidden proto.
33159 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33160 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33162 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33163 (_IO_setlinebuf): Remove use of INTUSE.
33164 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33165 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33166 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33167 Remove declaration.
33168 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33169 (_IO_do_flush): Remove use of INTUSE.
33170 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33171 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33172 (_IO_adjust_column, _IO_least_wmarker)
33173 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33174 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33175 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33176 (_IO_default_doallocate, _IO_wdefault_doallocate)
33177 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33178 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33179 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33180 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33181 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33182 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33183 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33184 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33185 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33186 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33187 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33188 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33189 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33191 (_IO_flush_all_internal, _IO_adjust_column_internal)
33192 (_IO_default_uflow_internal, _IO_default_finish_internal)
33193 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33194 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33195 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33196 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33197 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33198 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33199 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33200 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33201 (_IO_file_close_internal, _IO_file_close_it_internal)
33202 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33203 (_IO_file_init_internal, _IO_file_attach_internal)
33204 (_IO_file_fopen_internal, _IO_file_read_internal)
33205 (_IO_file_sync_internal, _IO_file_seek_internal)
33206 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33207 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33208 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33209 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33210 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33211 (_IO_list_all_internal, _IO_link_in_internal)
33212 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33213 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33214 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33215 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33216 (_IO_do_write_internal, _IO_padn_internal)
33217 (_IO_getline_info_internal, _IO_getline_internal)
33218 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33219 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33220 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33221 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33222 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33223 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33224 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33225 with libc_hidden_ver, remove use of INTUSE.
33226 * libio/genops.c: Likewise.
33227 * libio/freopen.c: Likewise.
33228 * libio/freopen64.c: Likewise.
33229 * libio/iofclose.c: Likewise.
33230 * libio/iofdopen.c: Likewise.
33231 * libio/iofflush.c: Likewise.
33232 * libio/iofflush_u.c: Likewise.
33233 * libio/iofgets.c: Likewise.
33234 * libio/iofgets_u.c: Likewise.
33235 * libio/iofopen.c: Likewise.
33236 * libio/iofopncook.c: Likewise.
33237 * libio/iofread.c: Likewise.
33238 * libio/iofread_u.c: Likewise.
33239 * libio/ioftell.c: Likewise.
33240 * libio/iofwrite.c: Likewise.
33241 * libio/iogetline.c: Likewise.
33242 * libio/iogets.c: Likewise.
33243 * libio/iogetwline.c: Likewise.
33244 * libio/iopadn.c: Likewise.
33245 * libio/iopopen.c: Likewise.
33246 * libio/ioseekoff.c: Likewise.
33247 * libio/ioseekpos.c: Likewise.
33248 * libio/iosetbuffer.c: Likewise.
33249 * libio/iosetvbuf.c: Likewise.
33250 * libio/ioungetc.c: Likewise.
33251 * libio/ioungetwc.c: Likewise.
33252 * libio/iovdprintf.c: Likewise.
33253 * libio/iovsprintf.c: Likewise.
33254 * libio/iovsscanf.c: Likewise.
33255 * libio/memstream.c: Likewise.
33256 * libio/obprintf.c: Likewise.
33257 * libio/oldfileops.c: Likewise.
33258 * libio/oldiofclose.c: Likewise.
33259 * libio/oldiofdopen.c: Likewise.
33260 * libio/oldiofopen.c: Likewise.
33261 * libio/oldiopopen.c: Likewise.
33262 * libio/oldstdfiles.c: Likewise.
33263 * libio/putc.c: Likewise.
33264 * libio/setbuf.c: Likewise.
33265 * libio/setlinebuf.c: Likewise.
33266 * libio/stdfiles.c: Likewise.
33267 * libio/strops.c: Likewise.
33268 * libio/vasprintf.c: Likewise.
33269 * libio/vscanf.c: Likewise.
33270 * libio/vsnprintf.c: Likewise.
33271 * libio/vswprintf.c: Likewise.
33272 * libio/wfiledoalloc.c: Likewise.
33273 * libio/wfileops.c: Likewise.
33274 * libio/wgenops.c: Likewise.
33275 * libio/wmemstream.c: Likewise.
33276 * libio/wstrops.c: Likewise.
33277 * libio/__fpurge.c: Likewise.
33278 * libio/__fsetlocking.c: Likewise.
33279 * assert/assert.c: Likewise.
33280 * debug/fgets_chk.c: Likewise.
33281 * debug/fgets_u_chk.c: Likewise.
33282 * debug/fread_chk.c: Likewise.
33283 * debug/fread_u_chk.c: Likewise.
33284 * debug/gets_chk.c: Likewise.
33285 * debug/obprintf_chk.c: Likewise.
33286 * debug/vasprintf_chk.c: Likewise.
33287 * debug/vdprintf_chk.c: Likewise.
33288 * debug/vsnprintf_chk.c: Likewise.
33289 * debug/vsprintf_chk.c: Likewise.
33290 * malloc/mtrace.c: Likewise.
33291 * misc/error.c: Likewise.
33292 * misc/syslog.c: Likewise.
33293 * stdio-common/asprintf.c: Likewise.
33294 * stdio-common/fxprintf.c: Likewise.
33295 * stdio-common/getw.c: Likewise.
33296 * stdio-common/isoc99_fscanf.c: Likewise.
33297 * stdio-common/isoc99_scanf.c: Likewise.
33298 * stdio-common/isoc99_vfscanf.c: Likewise.
33299 * stdio-common/isoc99_vscanf.c: Likewise.
33300 * stdio-common/isoc99_vsscanf.c: Likewise.
33301 * stdio-common/printf-prs.c: Likewise.
33302 * stdio-common/printf_fp.c: Likewise.
33303 * stdio-common/printf_fphex.c: Likewise.
33304 * stdio-common/printf_size.c: Likewise.
33305 * stdio-common/putw.c: Likewise.
33306 * stdio-common/scanf.c: Likewise.
33307 * stdio-common/sprintf.c: Likewise.
33308 * stdio-common/tmpfile.c: Likewise.
33309 * stdio-common/vfprintf.c: Likewise.
33310 * stdio-common/vfscanf.c: Likewise.
33311 * stdlib/strfmon_l.c: Likewise.
33312 * sunrpc/openchild.c: Likewise.
33313 * sunrpc/xdr_stdio.c: Likewise.
33314 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33315 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33317 2012-05-24 Roland McGrath <roland@hack.frob.com>
33319 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33321 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33322 in the third column, to generate for the shared library an IFUNC
33323 that uses _dl_vdso_vsym.
33324 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33325 * Makeconfig (object-suffixes-noshared): New variable.
33327 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33328 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33329 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33330 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33333 * include/sys/time.h (__gettimeofday): Remove macro.
33334 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33335 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33337 (__gettimeofday): Add libc_hidden_def.
33338 (gettimeofday): Add libc_hidden_weak.
33339 * sysdeps/mach/gettimeofday.c: Likewise.
33340 * sysdeps/posix/gettimeofday.c: Likewise.
33341 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33342 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33343 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33344 (__gettimeofday_internal): Remove strong_alias.
33345 (__gettimeofday): Add libc_hidden_def.
33346 (gettimeofday): Add libc_hidden_weak.
33347 * sysdeps/unix/syscalls.list (gettimeofday):
33348 Remove __gettimeofday_internal alias.
33350 2012-05-24 Daniel Jacobowitz <drow@false.org>
33351 H.J. Lu <hongjiu.lu@intel.com>
33354 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33355 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33356 (largebin_index_32_big): New.
33357 (largebin_index): Use it for 16-byte alignment.
33358 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33359 correction with front_misalign.
33361 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33389 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33390 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33392 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33396 * math/libm-test.inc (exp_test): Add test from bug 14036.
33397 (pow_test): Add test from bug 10846.
33399 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33401 (special_function): Do not include flags in test name.
33402 (parse_args): Likewise.
33403 * sysdeps/i386/fpu/libm-test-ulps: Update.
33404 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33405 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33406 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33409 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33411 * math/libm-test.inc ("Philosophy"): Update comment about
33413 (UNDERFLOW_EXCEPTION): New macro.
33414 (UNDERFLOW_EXCEPTION_OK): Likewise.
33415 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33416 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33417 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33418 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33419 (INVALID_EXCEPTION_OK): Update value.
33420 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33421 (OVERFLOW_EXCEPTION_OK): Likewise.
33422 (IGNORE_ZERO_INF_SIGN): Likewise.
33423 (test_exceptions): Handle underflow exceptions.
33424 (acos_test): Update for underflow exception expectations.
33425 (cexp_test): Likewise.
33426 (clog_test): Likewise.
33427 (clog10_test): Likewise.
33428 (csqrt_test): Likewise.
33429 (ctan_test): Likewise.
33430 (ctanh_test): Likewise.
33431 (exp_test): Likewise.
33432 (exp10_test): Likewise.
33433 (exp2_test): Likewise.
33434 (expm1_test): Likewise.
33435 (fma_test): Likewise.
33436 (j0_test): Likewise.
33437 (jn_test): Likewise.
33438 (nexttoward_test): Likewise.
33439 (pow_test): Likewise.
33440 (scalbn_test): Likewise.
33441 (scalbln_test): Likewise.
33442 (tan_test): Likewise.
33443 (y1_test): Likewise.
33444 * sysdeps/i386/fpu/libm-test-ulps: Update.
33445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33447 2012-05-23 David S. Miller <davem@davemloft.net>
33449 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33450 (__libc_sigaction): Remove unused local variables.
33452 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33454 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33456 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33458 mktime: avoid signed integer overflow
33459 * time/mktime.c (__mktime_internal): Do not mishandle the case
33460 where diff == INT_MIN.
33462 mktime: simplify computation of average
33463 * time/mktime.c (ranged_convert): Use new time_t_avg function
33464 instead of rolling our own (probably-slower) code.
33466 mktime: do not assume signed right shift propagates sign bit
33467 * time/mktime.c (isdst_differ): New static function.
33468 (__mktime_internal): No need to normalize tm_isdst now.
33469 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33472 mktime: merge another wrapv change from gnulib
33473 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33474 from some compilers.
33476 mktime: remove incorrect attempt at unusual arithmetics
33477 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33478 The code didn't really work on such machines anyway.
33479 (TYPE_MINIMUM): Assume two's complement.
33480 (twos_complement_arithmetic): Verify that long_int and time_t
33481 are two's complement (or unsigned, in the latter case).
33483 mktime: check signed shifts on long_int and time_t, too
33484 * time/mktime.c (SHR): Check that shifts work as desired
33485 on the types long_int and time_t too, as SHR is used on
33488 mktime: do not assume 'long' is wide enough
33489 * time/mktime.c (verify): Move decl up.
33490 (long_int): New type.
33491 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33492 to remove assumption in the code that 'long' is wide enough to
33493 store year values. This assumption is not true on x32 and on
33494 some non-glibc platforms.
33496 mktime: merge wrapv change from gnulib
33497 * time/mktime.c (WRAPV): New macro.
33498 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33499 (guess_time_tm, __mktime_internal): Do not assume that signed
33500 integer overflow wraps around; modern compilers generate code
33501 where this assumption is no longer valid.
33503 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33505 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33506 Replace "jmp L(pseudo_end)" with "ret".
33507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33510 2012-05-23 Andreas Jaeger <aj@suse.de>
33512 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33513 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33515 2012-05-23 Andreas Jaeger <aj@suse.de>
33516 Maximilian Attems <max@stro.at>
33518 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33521 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33523 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33524 code so that pseudo_end is just ret and the stack pointer is
33525 correct also for static library in error case.
33527 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33529 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33530 move to syscalls.list.
33531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33536 * manual/install.texi (Running make install): Do not mention Linux
33537 kernel version for which pt_chown is not needed.
33538 (Linux): Do not mention problems with nscd with 2.0 kernels.
33539 * INSTALL: Regenerated.
33541 2012-05-23 Andreas Jaeger <aj@suse.de>
33543 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33544 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33546 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33548 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33550 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33552 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33555 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33556 * sysdeps/unix/sysv/linux/bits/in.h
33557 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33559 2012-05-22 Roland McGrath <roland@hack.frob.com>
33561 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33562 (PREPARE_VERSION): Just use assert instead, it will be elided
33563 under [NDEBUG] anyway.
33565 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33567 * sysdeps/unix/sysv/linux/Makefile: Include
33568 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33569 (sysdep_routines): Remove sysctl.
33570 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33571 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33572 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33573 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33574 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33576 2012-05-22 Andreas Jaeger <aj@suse.de>
33578 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33579 that pseudo_end is just ret and the stack pointer is correct also
33580 for static library in error case.
33582 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33585 * nss/nsswitch.c (defconfig_entries): New variable.
33586 (__nss_database_lookup): Don't leak defconfig entries.
33587 (nss_parse_service_list): Don't leak on error paths.
33588 (free_database_entries): New function.
33589 (free_defconfig): New function.
33590 (free_mem): Move common code to free_database_entries.
33592 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33594 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33596 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33598 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33599 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33602 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33603 (INTERNAL_SYSCALL_TYPES): Likewise.
33604 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33605 (LOAD_REGS_TYPES_[1-6]): Likewise.
33606 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33607 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33609 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33611 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33612 copysignl for GLIBC_2_0.
33613 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33614 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33616 logbl for GLIBC_2_0.
33617 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33618 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33620 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33623 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33625 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33628 * time/mktime.c: Update copyright years.
33630 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33632 mktime: merge comment-quoting-style change from gnulib
33633 * time/mktime.c: Quote 'like this' in comments.
33634 The GNU coding standards suggest that we no longer quote `like this',
33635 as "`" and "'" are typically rendered asymmetrically nowadays.
33636 The typical gnulib style is to quote 'like this' when quoting
33637 code, and "like this" when quoting English.
33639 * time/mktime.c (compile-command): Add "-I.".
33641 mktime: merge mktime-internal.h change from gnulib
33642 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33644 mktime: merge time_r change from gnulib
33645 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33647 mktime: merge DEBUG change from gnulib
33648 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33649 case system <time.h> has a #define.
33651 mktime: merge <sys/types.h> change from gnulib
33652 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33653 since <time.t> is now guaranteed to define time_t.
33655 mktime: merge HAVE_CONFIG_H change from gnulib
33656 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33658 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33663 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33665 (struct rusage): Use anonymous union to pad each field to
33668 2012-05-21 David S. Miller <davem@davemloft.net>
33670 * Makefules (o-iterator): Remove .s cases.
33671 (compile-command.s): Delete.
33672 (COMPILE.s): Delete.
33673 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33675 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33677 * configure.in (libc_cv_predef_stack_protector): Only consider
33678 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33679 * configure: Regenerated.
33681 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33684 New macro. Use R*LP on int and pointer.
33685 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33686 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33687 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33688 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33690 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33691 [__WORDSIZE_TIME64_COMPAT32] instead of
33692 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33693 (struct utmp): Likewise.
33694 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33695 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33697 (__WORDSIZE_TIME64_COMPAT32): This.
33698 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33699 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33700 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33701 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33702 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33703 (__WORDSIZE_TIME64_COMPAT32): New macro.
33705 2012-05-21 Andreas Jaeger <aj@suse.de>
33707 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33708 only if [SHARED]. Add prototype for __wcschr_ia32.
33710 2012-05-21 Roland McGrath <roland@hack.frob.com>
33712 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33713 of %rbp unmolested in the jmp_buf while mangling the low bits.
33714 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33715 unmolested high bits of %rbp while demangling the low bits.
33716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33718 2012-05-21 Andreas Jaeger <aj@suse.de>
33720 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33721 * sunrpc/svc_simple.c: Use it for registerrpc.
33722 * sunrpc/xcrypt.c: Use it for passwd2des.
33724 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33726 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33728 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33729 Don't define if [__SYSCALL_WORDSIZE != 32].
33730 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33733 2012-05-21 Bruno Haible <bruno@clisp.org>
33734 Andreas Jaeger <aj@suse.de>
33736 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33737 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33738 inptr and inend for must_buffer_ch.
33739 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33740 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33741 * stdio-common/Makefile (tests): Remove bug15.
33742 (bug15-ENV): Remove macro.
33743 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33746 2012-05-19 Andreas Jaeger <aj@suse.de>
33747 Roland McGrath <roland@hack.frob.com>
33749 * manual/contrib.texi: Completely rewritten. It contains now an
33750 alphabetical list of contributors and their contributions.
33752 2012-05-21 Richard Henderson <rth@twiddle.net>
33754 * misc/getauxval.c (__getauxval): Use unsigned long int.
33755 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33756 (getauxval): Use unsigned long int.
33758 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33760 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33762 2012-05-21 Roland McGrath <roland@hack.frob.com>
33764 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33765 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33766 __alignof__ (long double).
33768 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33772 2012-05-20 Richard Henderson <rth@twiddle.net>
33774 * misc/getauxval.c: New file.
33775 * misc/sys/auxv.h: New file.
33776 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33777 (routines): Add getauxval.
33778 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33779 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33780 * elf/dl-sysdep.c (_dl_auxv): Remove.
33781 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33782 * elf/dl-support.c (_dl_auxv): New variable.
33783 (_dl_aux_init): Initialize it.
33784 * manual/startup.texi (Auxiliary Vector): New node.
33785 * sysdeps/generic/bits/hwcap.h: New file.
33786 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33787 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33788 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33789 * sysdeps/sparc/sysdep.h: ... here. Include it.
33790 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33791 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33803 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33807 2012-05-19 David S. Miller <davem@davemloft.net>
33809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33811 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33814 * math/s_ccosh.c: Include <float.h>
33815 (__ccosh): Avoid internal overflow calculating sinh and cosh
33816 values before multiplying by sin and cos values.
33817 * math/s_ccoshf.c: Likewise.
33818 * math/s_ccoshl.c: Likewise.
33819 * math/s_csin.c: Likewise.
33820 * math/s_csinf.c: Likewise.
33821 * math/s_csinl.c: Likewise.
33822 * math/s_csinh.c: Likewise.
33823 * math/s_csinhf.c: Likewise.
33824 * math/s_csinhl.c: Likewise.
33825 * math/libm-test.inc (ccos_test): Add more tests.
33826 (ccosh_test): Likewise.
33827 (csin_test): Likewise.
33828 (csinh_test): Likewise.
33829 * sysdeps/i386/fpu/libm-test-ulps: Update.
33830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33832 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33834 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33835 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33837 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33839 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33841 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33842 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33843 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33844 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33845 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33846 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33847 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33848 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33849 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33850 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33851 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33852 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33853 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33854 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33855 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33856 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33857 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33858 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33859 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33860 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33861 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33862 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33863 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33864 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33865 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33866 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33867 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33868 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33869 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33870 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33871 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33873 2012-05-18 Andreas Jaeger <aj@suse.de>
33875 * csu/.gitignore: Delete.
33877 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33879 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33880 (timex): Use __syscall_slong_t.
33882 2012-05-18 Andreas Jaeger <aj@suse.de>
33883 Carlos O'Donell <carlos_odonell@mentor.com>
33885 * manual/install.texi (Configuring and compiling): Update
33886 description about files modified in the source directory.
33887 * INSTALL: Regenerated.
33889 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33891 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33892 value. Use "or" to set return value to -1.
33893 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33894 negate return value.
33896 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33898 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33899 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33900 failure if the compiler has Graphite support disabled.
33901 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33903 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33904 (CFLAGS-memmove.c): Likewise.
33905 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33908 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33910 * sysdeps/x86_64/x32/_itoa.h: New file.
33912 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33913 getdents system call only if kernel and user dirents have the
33914 same d_ino and d_off.
33916 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33917 LLONG_MAX != LONG_MAX.
33918 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33919 (_fitoa_word): Likewise.
33921 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33923 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33924 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33925 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33927 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33928 include <bits/wordsize.h>. Check __x86_64__ instead of
33930 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33931 if __x86_64__ is defined. Use anonymous union on fpstate.
33933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33936 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33938 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33939 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33940 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33941 Refer to _rtld_local_ro instead of _rtld_global_ro.
33942 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33944 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33946 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33948 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33949 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33950 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33952 * sysdeps/powerpc/powerpc32/dl-machine.c
33953 (__elf_machine_runtime_setup) [PROF]: Don't reference
33956 2012-05-18 Andreas Jaeger <aj@suse.de>
33958 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33959 function only available for GCCs before 3.4 since GCC 3.4
33960 introduced a builtin.
33962 (llrintf): Likewise.
33963 (llrint): Likewise.
33970 (nearbyint): Likewise.
33971 (nearbyintf): Likewise.
33975 (floorf): Likewise.
33977 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33979 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33980 on both fields and cast pointer to __syscall_ulong_t.
33982 * bits/types.h (__fsword_t): New type.
33983 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33984 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33985 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33986 (__FSWORD_T_TYPE): Likewise.
33987 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33988 (__FSWORD_T_TYPE): Likewise.
33989 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33990 (__FSWORD_T_TYPE): Likewise.
33991 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33992 (__FSWORD_T_TYPE): Likewise.
33993 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33994 __SWORD_TYPE with __fsword_t.
33995 (statfs64): Likewise.
33997 2012-05-17 David S. Miller <davem@davemloft.net>
33999 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34001 2012-05-17 Andreas Jaeger <aj@suse.de>
34003 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34006 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34008 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34010 2012-05-17 Andreas Jaeger <aj@suse.de>
34012 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34015 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34017 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34019 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34021 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34022 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34024 2012-05-17 Andreas Jaeger <aj@suse.de>
34025 Carlos O'Donell <carlos_odonell@mentor.com>
34028 * sysdeps/x86_64/multiarch/init-arch.h
34029 (bit_YMM_Usable): Rename to...
34030 (bit_AVX_Usable): ... this.
34031 (bit_FMA4_Usable): New macro.
34032 (bit_XMM_state): New macro.
34033 (bit_YMM_state): New macro.
34034 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34035 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34036 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34037 (CPUID_OSXSAVE): New macro.
34038 (CPUID_AVX): New macro.
34039 (CPUID_FMA4): New macro.
34040 (index_YMM_Usable): Rename to...
34041 (index_AVX_Usable): ... this.
34042 (HAS_AVX): Use HAS_ARCH_FEATURE.
34043 (HAS_FMA4): Likewise.
34044 (HAS_YMM_USABLE): Remove.
34045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34046 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34048 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34049 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34050 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34051 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34052 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34054 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34056 * math/libm-test.c: Support platforms without multiple rounding modes.
34057 * math/bug-nextafter.c: Support platforms without FP exceptions.
34058 * math/bug-nexttoward.c: Likewise.
34059 * math/test-fenv.c: Likewise.
34060 * math/test-misc.c: Likewise.
34061 * stdlib/bug-getcontext.c: Likewise.
34063 2012-05-17 Andreas Jaeger <aj@suse.de>
34065 * manual/examples/search.c (critter_cmp): Change signature to
34067 * manual/string.texi (Collation Functions): Likewise.
34069 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34071 * bits/types.h: Fold copyright years.
34072 * bits/typesizes.h: Likewise.
34073 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34075 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34077 * time/time.h: Likewise.
34079 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34082 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34083 in instead of returning them. Return void.
34084 (__libc_mallinfo): Accumulate over all arenas.
34085 (__malloc_stats): Adjust for change in int_mallinfo interface.
34087 2012-05-16 Roland McGrath <roland@hack.frob.com>
34090 * configure.in (NM): Add AC_CHECK_TOOL for it.
34091 (libc_extra_cflags): New substituted variable.
34092 Check for -fstack-protector being used implicitly.
34093 * configure: Regenerated.
34094 * config.make.in (config-extra-cflags): New variable,
34095 gets @libc_extra_cflags@.
34096 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34099 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34100 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34101 * configure: Regenerated.
34102 * config.make.in (CPPUNDEFS): New substituted variable.
34103 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34104 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34105 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34107 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34109 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34110 (mq_attr): Use __syscall_slong_t.
34112 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34114 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34115 Check __x86_64__ instead of __WORDSIZE.
34116 (_STAT_VER_LINUX): Likewise.
34117 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34118 __syscall_ulong_t and __syscall_slong_t.
34119 (stat64): Likewise.
34121 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34123 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34125 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34127 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34129 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34131 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34134 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34135 include <bits/wordsize.h>. Check __x86_64__ instead of
34137 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34139 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34141 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34142 include <bits/wordsize.h>. Check __x86_64__ instead of
34144 (user_regs_struct): Use "__extension__ unsigned long long"
34145 instead of "unsigned long" if __x86_64__ is defined.
34146 (user): Likewise. Pad after pointer field if __ILP32__ is
34149 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34151 * configure.in (makeinfo): Require version 4.5 or later. Allow
34153 * configure: Regenerated.
34154 * manual/install.texi (texinfo): Increase version requirement to
34156 * INSTALL: Regenerated.
34158 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34160 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34162 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34164 * sysdeps/x86_64/x32/ffs.c: New file.
34166 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34168 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34169 defined. Use __syscall_ulong_t.
34170 (shminfo): Use __syscall_ulong_t.
34171 (shm_info): Likewise.
34173 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34176 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34178 (msgqnum_t): Use __syscall_ulong_t.
34179 (msglen_t): Likewise.
34180 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34183 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34184 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34186 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34188 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34189 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34191 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34194 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34195 include <bits/wordsize.h>. Check __x86_64__ instead of
34198 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34199 "unsigned long long int" if __x86_64__ is defined.
34200 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34202 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34203 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34204 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34206 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34208 (GET_PC): Cast to uintptr_t first.
34209 (GET_FRAME): Likewise.
34210 (GET_STACK): Likewise.
34212 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34213 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34214 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34215 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34216 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34217 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34218 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34219 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34220 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34221 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34222 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34223 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34224 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34225 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34226 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34227 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34228 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34229 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34230 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34231 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34232 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34233 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34235 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34237 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34238 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34239 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34240 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34242 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34244 * Makerules (+depfiles): Also collect depfiles from .oS in
34246 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34247 .oS, $(libnldbl-routines)).
34249 * Makerules (native-compile-mkdep-flags): Define.
34250 * sunrpc/Makefile (extra-objs): Add $(addprefix
34251 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34252 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34253 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34254 calling $(make-target-directory).
34256 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34258 * bits/types.h (__snseconds_t): Removed.
34259 * time/time.h (struct timespec): Replace __snseconds_t with
34261 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34262 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34264 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34265 (__SNSECONDS_T_TYPE): Likewise.
34266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34267 (__SNSECONDS_T_TYPE): Likewise.
34268 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34269 (__SNSECONDS_T_TYPE): Likewise.
34271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34273 * sysdeps/mach/hurd/bits/typesizes.h
34274 (__SYSCALL_SLONG_TYPE): New macro.
34275 (__SYSCALL_ULONG_TYPE): Likewise.
34277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34279 * bits/types.h (__syscall_slong_t): New type.
34280 (__syscall_ulong_t): Likewise.
34282 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34283 (__SYSCALL_ULONG_TYPE): Likewise.
34284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34285 (__SYSCALL_SLONG_TYPE): Likewise.
34286 (__SYSCALL_ULONG_TYPE): Likewise.
34287 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34288 (__SYSCALL_SLONG_TYPE): Likewise.
34289 (__SYSCALL_ULONG_TYPE): Likewise.
34290 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34291 (__SYSCALL_SLONG_TYPE): Likewise.
34292 (__SYSCALL_ULONG_TYPE): Likewise.
34294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34296 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34297 Add sigaltstack-offsets.sym.
34298 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34299 <sigaltstack-offsets.h>.
34300 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34301 longjmp_msg pointer.
34302 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34303 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34305 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34307 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34309 * elf/stackguard-macros.h: Remove file.
34310 * sysdeps/generic/stackguard-macros.h: New file.
34311 * sysdeps/i386/stackguard-macros.h: Likewise.
34312 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34313 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34314 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34315 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34316 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34317 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34318 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34319 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34320 <elf/stackguard-macros.h>.
34323 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34324 __aligned__ in attribute.
34325 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34326 (gregset_t): Likewise.
34328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34330 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34331 * sysdeps/x86_64/64/Implies-after: Here. New file.
34332 * sysdeps/x86_64/x32/Implies-after: New file.
34334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34336 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34337 and access return value for _dl_profile_fixup. Use R10_LP to
34340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34342 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34346 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34347 * sysdeps/x86_64/x32/sysdep.h: New file.
34349 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34351 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34352 * sysdeps/x86_64/setjmp.S: Likewise.
34354 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34356 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34357 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34358 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34359 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34360 remove unused global constant.
34362 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34364 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34365 include of <not-cancel.h>.
34367 2012-05-15 Roland McGrath <roland@hack.frob.com>
34369 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34371 2012-05-15 Jeff Law <law@redhat.com>
34372 Andreas Jaeger <aj@suse.de>
34375 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34377 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34378 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34379 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34380 code changing __hst_map_handle.map.
34382 2012-05-15 Roland McGrath <roland@hack.frob.com>
34384 * configure.in (sysnames): Look for Implies-before and Implies-after
34386 * configure: Regenerated.
34388 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34390 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34391 8-byte data alignment with LP_SIZE alignment.
34393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34395 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34400 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34404 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34405 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34408 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34412 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34413 (stackinfo_sub_sp): Likewise.
34415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34417 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34427 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34432 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34436 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34437 into R11_LP and load __x86_64_shared_cache_size_half into
34440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34442 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34445 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34454 powerpc32/power7/fpu/s_logb.c via #include.
34455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34456 powerpc32/power7/fpu/s_logbf.c via #include.
34457 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34458 powerpc32/power7/fpu/s_logbl.c via #include.
34460 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34462 * README.libm: Remove file.
34464 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34466 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34467 count for x32. Use R*_LP and omit operand-size suffix.
34469 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34471 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34472 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34473 * sysdeps/x86_64/x32/shlib-versions: New file.
34475 2012-05-14 Roland McGrath <roland@hack.frob.com>
34477 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34478 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34479 Use _dl_fatal_printf instead.
34481 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34483 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34484 set if not set by the user. Do not allow for being unset.
34485 * sysdeps/unix/sysv/linux/configure: Regenerated.
34487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34489 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34490 the `q' suffix from lea and replace .quad with ASM_ADDR.
34492 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34495 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34497 (PTR_DEMANGLE): Likewise.
34499 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34501 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34503 (ASM_ADDR): Likewise.
34504 (RAX_LP): Likewise.
34505 (RBP_LP): Likewise.
34506 (RBX_LP): Likewise.
34507 (RCX_LP): Likewise.
34508 (RDI_LP): Likewise.
34509 (RSI_LP): Likewise.
34510 (RSP_LP): Likewise.
34513 (R10_LP): Likewise.
34514 (R10_LP): Likewise.
34515 (R11_LP): Likewise.
34516 (R12_LP): Likewise.
34517 (R13_LP): Likewise.
34518 (R14_LP): Likewise.
34519 (R15_LP): Likewise.
34521 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34523 * sysdeps/x86_64/x32/dl-machine.h: New file.
34525 2012-05-14 Andreas Jaeger <aj@suse.de>
34527 * manual/Makefile (subdir): Remove export of subdir.
34528 (all): Remove target.
34529 (.PHONY): Remove all from list.
34530 (mkinstalldirs): Remove.
34531 (.PHONY): Remove installdirs from list.
34532 ($(inst_infodir)/libc.info): Use make-target-directory.
34533 (installdirs): Remove.
34534 (subdir_%): Remove.
34535 (glibc-targets): Remove.
34538 ($(objpfx)stubs ../po/manual.pot): Remove.
34539 ($(objpfx)stamp%): Remove.
34540 (make-target-directory): Remove.
34541 (subdir_install): Remove.
34542 (routines): Remove.
34549 * manual/.gitignore: Remove, it's not needed anymore.
34550 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34552 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34554 (texis): Renamed to $(objpfx)texis.
34555 (texis-path): New, contains path to generated files.
34556 (chapters.%): Use texis-path for complete path, add extra argument
34558 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34559 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34560 (summary,texi, stamp-summary): Use complete path of
34561 files. Generate files in build dir.
34562 (dir-add.texi): Build in build dir.
34563 (libm-err.texi,stamp-libm-err): Likewise.
34564 (version.texi, stamp-version): Likewise.
34565 (.%c.texi): Likewise.
34566 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34567 (mostlyclean): Remove target.
34568 (realclean): Remove target.
34569 (generated): Add new variable with contents from mostlyclean and
34570 realclean, remove entries duplicated in common-mostlyclean, add
34571 stamp-libm-err and stamp-version.
34572 (generated-dirs): Add libc directory.
34573 ($(inst_infodir)/libc.info): Install files from build dir.
34575 * manual/install.texi (Configuring and compiling): Adjust since
34576 the info files are not part of the tar ball anymore.
34578 2012-05-14 Andreas Jaeger <aj@suse.de>
34580 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34583 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34586 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34587 to 2.2.0 where earlier.
34588 * sysdeps/unix/sysv/linux/configure: Regenerated.
34589 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34590 Remove conditional code.
34591 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34592 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34593 Remove conditional code.
34594 [!__NR_lchown]: Likewise.
34595 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34596 [__NR_lchown]: Likewise.
34597 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34598 comment referencing __ASSUME_LCHOWN_SYSCALL.
34599 * sysdeps/unix/sysv/linux/i386/sigaction.c
34600 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34601 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34602 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34603 Remove conditional code.
34604 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34605 (__protocol_available): Remove #if 0 code.
34606 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34608 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34609 * sysdeps/unix/sysv/linux/kernel-features.h
34610 (__ASSUME_GETCWD_SYSCALL): Don't define.
34611 (__ASSUME_REALTIME_SIGNALS): Likewise.
34612 (__ASSUME_PREAD_SYSCALL): Likewise.
34613 (__ASSUME_PWRITE_SYSCALL): Likewise.
34614 (__ASSUME_POLL_SYSCALL): Likewise.
34615 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34616 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34618 (__ASSUME_SIOCGIFNAME): Don't define.
34619 (__ASSUME_MSG_NOSIGNAL): Likewise.
34620 (__ASSUME_SENDFILE): Define unconditionally.
34621 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34622 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34624 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34625 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34626 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34627 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34628 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34629 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34630 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34632 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34635 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34638 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34641 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34644 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34647 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34650 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34651 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34653 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34655 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34656 Remove conditional code.
34657 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34658 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34659 Remove conditional code.
34660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34661 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34662 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34663 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34664 Remove conditional code.
34665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34666 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34667 Remove conditional code.
34668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34669 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34670 Remove conditional code.
34671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34672 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34673 Remove conditional code.
34674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34675 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34676 Remove conditional code.
34677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34678 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34681 * sysdeps/unix/sysv/linux/sigaction.c
34682 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34683 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34684 * sysdeps/unix/sysv/linux/sigpending.c
34685 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34686 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34687 * sysdeps/unix/sysv/linux/sigprocmask.c
34688 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34689 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34690 * sysdeps/unix/sysv/linux/sigsuspend.c
34691 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34692 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34693 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34694 (__libc_missing_rt_sigs): Remove.
34695 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34696 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34697 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34698 Remove conditional code.
34699 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34700 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34702 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34703 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34704 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34705 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34707 2012-05-14 Andreas Jaeger <aj@suse.de>
34709 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34710 it's not used in glibc.
34711 (__coshm1): Likewise.
34712 (__acosh1p): Likewise.
34715 * manual/string.texi (Copying and Concatenation): Add missing
34716 variable in concat example.
34717 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34719 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34723 __builtin_clzl with __builtin_clzll.
34725 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34728 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34731 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34733 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34734 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34735 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34736 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34738 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34740 * NEWS: Update ia64 info.
34742 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34744 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34747 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34749 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34750 * sysdeps/unix/syscalls.list (dup3): Likewise.
34751 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34752 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34754 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34756 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34757 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34759 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34761 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34763 (TLS_IE): Use mov/add instead of movq/addq to load thread
34765 (TLS_GD_PREFIX): New.
34768 2012-05-11 David S. Miller <davem@davemloft.net>
34770 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34771 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34772 (_FPU_SETCW): Likewise.
34774 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34776 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34777 is 32-byte aligned.
34779 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34782 * iconvdata/gb18030.c: Update tables.
34783 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34784 characters specially.
34785 (BODY for TO_LOOP): Add encoding of missing ranges.
34787 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34790 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34791 * sysdeps/mach/hurd/dup3.c: Likewise.
34792 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34793 * sysdeps/powerpc/memmove.c:: Likewise.
34795 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34797 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34798 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34800 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34802 * elf/elf.h (R_X86_64_RELATIVE64): New.
34803 (R_X86_64_NUM): Updated.
34804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34805 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34806 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34807 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34808 tst-quad1pie tst-quad2pie
34809 (modules-names): Add tst-quadmod1 tst-quadmod2.
34810 ($(objpfx)tst-quad1): New dependency.
34811 ($(objpfx)tst-quad2): Likewise.
34812 ($(objpfx)tst-quad1pie): Likewise.
34813 ($(objpfx)tst-quad2pie): Likewise.
34814 * sysdeps/x86_64/tst-quad1.c: New file.
34815 * sysdeps/x86_64/tst-quad1pie.c: New file.
34816 * sysdeps/x86_64/tst-quad2.c: Likewise.
34817 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34818 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34819 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34820 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34821 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34823 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34825 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34826 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34827 * streams/stropts.h (t_scalar_t): Define type.
34829 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34830 (_PATH_PRESERVE): Set to "/var/lib".
34831 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34833 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34836 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34837 if __dir_mkfile succeeded.
34839 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34840 checking for _hurd_dtablesize. Unlock it right after having
34841 finished _hurd_dtable allocation.
34843 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34845 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34846 * sysdeps/mach/hurd/configure: Regenerated.
34847 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34848 special-casing to...
34849 * sysdeps/gnu/configure.in: ... this new file.
34850 * sysdeps/unix/sysv/linux/configure: Regenerated.
34851 * sysdeps/gnu/configure: New generated file.
34853 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34854 for Linux: use nsec instead of usec, as well as:
34855 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34856 members of type struct timespec.
34857 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34859 (struct stat64): Likewise.
34860 (_STATBUF_ST_NSEC): New macro.
34861 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34863 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34864 __strtoul_internal rather than strtoul.
34866 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34868 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34871 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34873 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34874 which preserves existing values.
34875 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34877 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34879 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34880 TIMEOUT values. Return EINVAL for NFDS values either negative or
34881 greater than FD_SETSIZE.
34883 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34885 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34886 allocated, call __vm_protect to finish enabling the existing space, and
34887 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34888 allocate the remainder.
34890 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34892 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34893 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34895 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34897 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34898 sysdeps/mach/hurd/readlink.c.
34900 * posix/tst-sysconf.c (posix_options): Only use
34901 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34902 _POSIX_SYNCHRONIZED_IO when they are defined
34903 * sysdeps/mach/hurd/bits/posix_opt.h:
34904 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34905 (_XOPEN_REALTIME): Undefine macro.
34906 (_XOPEN_REALTIME_THREADS): Undefine macro.
34907 (_XOPEN_SHM): Undefine macro.
34908 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34910 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34912 (_POSIX_ASYNC_IO): Undefine macro.
34913 (_POSIX_PRIORITIZED_IO): Undefine macro.
34914 (_POSIX_SPIN_LOCKS): Define macro to -1.
34916 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34917 SA_NODEFER, SA_RESETHAND.
34918 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34919 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34922 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34924 * elf/Makefile (pldd-modules): Define unconditionally.
34926 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34928 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34930 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34932 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34933 Return ENOENT when name is empty.
34934 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34936 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34938 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34940 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34942 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34944 Fix mlock in all cases except non-readable pages.
34945 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34946 instead of VM_PROT_ALL as parameter to __vm_wire function.
34948 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34949 (__mkdir): When path is `/', just fail with EEXIST.
34950 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34952 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34954 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34955 <sys/uio.h> (for writev).
34956 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34957 and <sys/param.h> (for MIN).
34959 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34961 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34962 REQUESTED_TIME. Properly set the remaining time and return EINTR
34965 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34967 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34968 Depend on against $(link-rpcuserlibs).
34970 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34972 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34973 (__libc_stack_end): Do not use attribute_relro.
34974 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34975 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34976 to libthread-provided value.
34977 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34980 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34983 * bits/libc-lock.h (__libc_once_get): New macro.
34984 * sysdeps/mach/bits/libc-lock.h: Likewise.
34985 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34986 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34987 instead of using implementation details.
34989 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34990 * libio/freopen.c: Likewise.
34991 * libio/freopen64.c: Likewise.
34992 * misc/syslog.c: Likewise.
34993 * nscd/connections.c: Likewise.
34994 * nscd/netgroupcache.c: Likewise.
34995 * sysdeps/posix/getcwd.c: Likewise.
34997 2012-05-10 Roland McGrath <roland@hack.frob.com>
34999 * math/w_ilogbf.c: Add #include <limits.h>.
35001 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35003 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35004 path instead of returning without unlocking.
35006 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35007 immediate-write ioctls.
35008 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35010 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35012 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35013 __builtin_frame_address instead of making assumptions about the
35014 location of the return address relative to DATA. Force early load of
35015 the return address.
35016 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35017 __builtin_frame_address.
35020 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35021 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35022 implement dup3 and do some further code clean-ups.
35023 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35024 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35028 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35030 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35031 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35032 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35033 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35034 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35037 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35038 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35039 when handler == SIG_ERR, not when handler != SIG_ERR.
35041 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35043 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35044 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35047 accept4 for GNU Hurd.
35048 * include/sys/socket.h (__libc_accept4): New prototype.
35049 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35050 to implement __libc_accept4.
35051 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35053 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35055 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35056 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35057 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35058 signal-defines.sym.
35060 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35062 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35064 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35066 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35067 assertion on O_CLOEXEC flag.
35068 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35069 * hurd/intern-fd.c: Likewise.
35070 * hurd/port2fd.c: Likewise.
35072 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35075 * bits/in.h (IPV6_PKTINFO): Define new macro.
35076 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35078 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35083 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35084 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35085 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35086 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35088 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35089 * math/libm-test.inc (logb_test) : Additional logb tests.
35091 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35092 Andreas Jaeger <aj@suse.de>
35094 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35095 * configure: Regenerated.
35096 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35097 * config.make.in (link-obsolete-rpc): New substituted variable.
35098 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35099 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35100 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35101 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35102 so that libc.a contains the symbols.
35103 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35104 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35105 * sunrpc/auth_none.c: Likewise.
35106 * sunrpc/auth_unix.c: Likewise.
35107 * sunrpc/authdes_prot.c: Likewise.
35108 * sunrpc/authuxprot.c: Likewise.
35109 * sunrpc/clnt_gen.c: Likewise.
35110 * sunrpc/clnt_perr.c: Likewise.
35111 * sunrpc/clnt_raw.c: Likewise.
35112 * sunrpc/clnt_simp.c: Likewise.
35113 * sunrpc/clnt_tcp.c: Likewise.
35114 * sunrpc/clnt_udp.c: Likewise.
35115 * sunrpc/clnt_unix.c: Likewise.
35116 * sunrpc/des_crypt.c: Likewise.
35117 * sunrpc/des_soft.c: Likewise.
35118 * sunrpc/get_myaddr.c: Likewise.
35119 * sunrpc/key_call.c: Likewise.
35120 * sunrpc/key_prot.c: Likewise.
35121 * sunrpc/netname.c: Likewise.
35122 * sunrpc/pm_getmaps.c: Likewise.
35123 * sunrpc/pm_getport.c: Likewise.
35124 * sunrpc/pmap_clnt.c: Likewise.
35125 * sunrpc/pmap_prot.c: Likewise.
35126 * sunrpc/pmap_prot2.c: Likewise.
35127 * sunrpc/pmap_rmt.c: Likewise.
35128 * sunrpc/publickey.c: Likewise.
35129 * sunrpc/rpc_cmsg.c: Likewise.
35130 * sunrpc/rpc_common.c: Likewise.
35131 * sunrpc/rpc_dtable.c: Likewise.
35132 * sunrpc/rpc_prot.c: Likewise.
35133 * sunrpc/rpc_thread.c: Likewise.
35134 * sunrpc/rtime.c: Likewise.
35135 * sunrpc/svc.c: Likewise.
35136 * sunrpc/svc_auth.c: Likewise.
35137 * sunrpc/svc_raw.c: Likewise.
35138 * sunrpc/svc_run.c: Likewise.
35139 * sunrpc/svc_tcp.c: Likewise.
35140 * sunrpc/svc_udp.c: Likewise.
35141 * sunrpc/svc_unix.c: Likewise.
35142 * sunrpc/svcauth_des.c: Likewise.
35143 * sunrpc/xcrypt.c: Likewise.
35144 * sunrpc/xdr.c: Likewise.
35145 * sunrpc/xdr_array.c: Likewise.
35146 * sunrpc/xdr_float.c: Likewise.
35147 * sunrpc/xdr_intXX_t.c: Likewise.
35148 * sunrpc/xdr_mem.c: Likewise.
35149 * sunrpc/xdr_rec.c: Likewise.
35150 * sunrpc/xdr_ref.c: Likewise.
35151 * sunrpc/xdr_sizeof.c: Likewise.
35152 * sunrpc/xdr_stdio.c: Likewise.
35154 2012-05-10 Roland McGrath <roland@hack.frob.com>
35156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35157 change. Update copyright years.
35159 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35161 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35163 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35164 Joseph Myers <joseph@codesourcery.com>
35165 Paul Pluzhnikov <ppluzhnikov@google.com>
35168 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35170 [cross-compiling] (extra-libs): Likewise.
35171 [cross-compiling] (extra-libs-others): Likewise.
35172 [cross-compiling] (librpcsvc-routines): Likewise.
35173 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35174 [cross-compiling] (omit-deps): Likewise.
35175 (sunrpc-CPPFLAGS): New variable.
35176 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35177 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35178 (cross-rpcgen-objs): New variable.
35179 (extra-objs): Append $(cross-rpcgen-objs).
35180 ($(cross-rpcgen-objs)): New rule.
35181 ($(objpfx)cross-rpcgen): Likewise.
35182 (rpcgen-cmd): Define to use $(built-program-file). Expand
35184 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35185 ($(objpfx)x%.stmp): Likewise.
35186 * sunrpc/proto.h [IS_IN_build] (_): Define.
35187 [IS_IN_build] (_libc_intl_domainname): Likewise.
35189 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35192 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35193 and R_X86_64_TPOFF64.
35195 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35197 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35198 sysdeps/unix/sysv/syscalls.list.
35201 * sysdeps/unix/sysv/syscalls.list: Remove file.
35203 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35206 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35207 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35208 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35209 (__LC_IDENTIFICATION): Make these macros useful in #if
35210 expressions, as required by C99.
35212 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35214 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35215 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35218 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35220 * stdlib/longlong.h: Updated from GCC.
35222 2012-05-09 Andreas Jaeger <aj@suse.de>
35224 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35225 default is first entry.
35226 (run_mode): Set type.
35227 (main): Remove informal message about syslog.
35228 (options): Fix typo.
35231 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35234 (llrintf): Likewise.
35235 (llrint): Likewise.
35238 (nearbyint): Likewise.
35239 (nearbyintf): Likewise.
35241 2012-05-09 Andreas Jaeger <aj@suse.de>
35242 Pedro Alves <palves@redhat.com>
35244 * nscd/nscd.c (run_mode): Use enum.
35245 (main): Cleanup coding style issue.
35247 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35248 Andreas Jaeger <aj@suse.de>
35250 * nscd/nscd.c (go_background): Replaced with...
35251 (run_mode): ... this.
35252 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35253 (options): Add -F --foreground.
35254 (main): Implement it.
35255 (parse_opt): Parse it.
35257 2012-05-09 Andreas Jaeger <aj@suse.de>
35260 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35261 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35262 -Wconversion warning.
35263 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35266 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35268 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35270 (LC_ALL): Use macro-int-constant.
35271 (LC_COLLATE): Likewise.
35272 (LC_CTYPE): Likewise.
35273 (LC_MESSAGES): Likewise.
35274 (LC_MONETARY): Likewise.
35275 (LC_NUMERIC): Likewise.
35276 (LC_TIME): Likewise.
35277 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35278 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35280 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35282 [C99-based standards] (float_t): Expect type.
35283 [C99-based standards] (double_t): Expect type.
35284 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35286 [C99-based standards] (HUGE_VALL): Likewise.
35287 [C99-based standards] (INFINITY): Likewise.
35288 [C99-based standards] (NAN): Likewise.
35289 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35290 [C99-based standards] (FP_NAN): Likewise.
35291 [C99-based standards] (FP_NORMAL): Likewise.
35292 [C99-based standards] (FP_SUBNORMAL): Likewise.
35293 [C99-based standards] (FP_ZERO): Likewise.
35294 [C99-based standards] (FP_FAST_FMA): Use
35295 optional-macro-int-constant. Specify type. Require == 1.
35296 [C99-based standards] (FP_FAST_FMAF): Likewise.
35297 [C99-based standards] (FP_FAST_FMAL): Likewise.
35298 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35299 [C99-based standards] (FP_ILOGBNAN): Likewise.
35300 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35302 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35303 [C99-based standards] (math_errhandling): Specify type.
35304 [ISO99 || ISO11] (signgam): Do not allow.
35305 [non-C99-based standards] (copysignf): Do not allow.
35306 [non-C99-based standards] (exp2f): Likewise.
35307 [non-C99-based standards] (log2f): Likewise.
35308 [non-C99-based standards] (modff): Allow.
35309 [non-C99-based standards] (erff): Do not allow.
35310 [non-C99-based standards] (erfcf): Likewise.
35311 [non-C99-based standards] (gammaf): Likewise.
35312 [non-C99-based standards] (hypotf): Likewise.
35313 [non-C99-based standards] (j0f): Likewise.
35314 [non-C99-based standards] (j1f): Likewise.
35315 [non-C99-based standards] (jnf): Likewise.
35316 [non-C99-based standards] (lgammaf): Likewise.
35317 [non-C99-based standards] (tgammaf): Likewise.
35318 [non-C99-based standards] (y0f): Likewise.
35319 [non-C99-based standards] (y1f): Likewise.
35320 [non-C99-based standards] (ynf): Likewise.
35321 [non-C99-based standards] (isnanf): Likewise.
35322 [non-C99-based standards] (acoshf): Likewise.
35323 [non-C99-based standards] (asinhf): Likewise.
35324 [non-C99-based standards] (atanhf): Likewise.
35325 [non-C99-based standards] (cbrtf): Likewise.
35326 [non-C99-based standards] (expm1f): Likewise.
35327 [non-C99-based standards] (ilogbf): Likewise.
35328 [non-C99-based standards] (log1pf): Likewise.
35329 [non-C99-based standards] (logbf): Likewise.
35330 [non-C99-based standards] (nextafterf): Likewise.
35331 [non-C99-based standards] (remainderf): Likewise.
35332 [non-C99-based standards] (rintf): Likewise.
35333 [non-C99-based standards] (scalbf): Likewise.
35334 [non-C99-based standards] (copysignl): Likewise.
35335 [non-C99-based standards] (exp2l): Likewise.
35336 [non-C99-based standards] (log2l): Likewise.
35337 [non-C99-based standards] (modfl): Allow.
35338 [non-C99-based standards] (erfl): Do not allow.
35339 [non-C99-based standards] (erfcl): Likewise.
35340 [non-C99-based standards] (gammal): Likewise.
35341 [non-C99-based standards] (hypotl): Likewise.
35342 [non-C99-based standards] (j0l): Likewise.
35343 [non-C99-based standards] (j1l): Likewise.
35344 [non-C99-based standards] (jnl): Likewise.
35345 [non-C99-based standards] (lgammal): Likewise.
35346 [non-C99-based standards] (tgammal): Likewise.
35347 [non-C99-based standards] (y0l): Likewise.
35348 [non-C99-based standards] (y1l): Likewise.
35349 [non-C99-based standards] (ynl): Likewise.
35350 [non-C99-based standards] (isnanl): Likewise.
35351 [non-C99-based standards] (acoshl): Likewise.
35352 [non-C99-based standards] (asinhl): Likewise.
35353 [non-C99-based standards] (atanhl): Likewise.
35354 [non-C99-based standards] (cbrtl): Likewise.
35355 [non-C99-based standards] (expm1l): Likewise.
35356 [non-C99-based standards] (ilogbl): Likewise.
35357 [non-C99-based standards] (log1pl): Likewise.
35358 [non-C99-based standards] (logbl): Likewise.
35359 [non-C99-based standards] (nextafterl): Likewise.
35360 [non-C99-based standards] (remainderl): Likewise.
35361 [non-C99-based standards] (rintl): Likewise.
35362 [non-C99-based standards] (scalbl): Likewise.
35363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35364 [non-C99-based standards] (FP_*): Do not allow.
35365 [C99-based standards] (FP_*): Change to
35366 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35367 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35369 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35370 (SIG_ERR): Likewise.
35371 [X/Open-based standards] (SIG_HOLD): Likewise.
35372 (SIG_IGN): Likewise.
35373 (SIGABRT): Use macro-int-constant. Specify type. Require
35375 (SIGFPE): Likewise.
35376 (SIGILL): Likewise.
35377 (SIGINT): Likewise.
35378 (SIGSEGV): Likewise.
35379 (SIGTER): Likewise.
35380 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35381 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35382 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35383 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35384 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35385 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35386 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35387 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35388 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35389 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35390 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35391 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35392 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35393 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35394 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35395 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35396 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35397 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35398 [X/Open-based standards] (SIGTRAP): Likewise.
35399 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35400 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35401 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35402 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35403 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35406 2012-05-08 Ian Wienand <ianw@vmware.com>
35409 * time/tzset.c (__tzset_parse_tz): Update default rules for
35410 daylight time changes in the Energy Policy Act of 2005.
35412 2012-05-09 Andreas Jaeger <aj@suse.de>
35415 * elf/ldconfig.c (parse_conf): Change string to make clear that
35416 ldconfig only issued a warning if ld.so.conf does not exist.
35418 2012-05-08 David S. Miller <davem@davemloft.net>
35420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35421 movxtod instead of popping the value on the stack.
35423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35425 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35427 * config.h.in: Add HAVE_ARM_PCS_VFP.
35429 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35432 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35433 checking but the checks are disabled for any reason.
35435 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35437 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35438 and ELF64_R_TYPE with ELFW(R_TYPE).
35440 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35442 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35443 (ulimit): Likewise.
35445 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35446 (settimeofday): Likewise.
35448 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35450 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35451 a struct th_u2 inside the union, and move tu_block/tu_code into
35452 a new th_u3 union of tu_block/tu_code inside of that. Move
35453 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35454 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35455 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35456 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35457 (th_stuff): Change to th_u1.tu_stuff.
35459 (th_msg): Change to th_u1.th_u2.tu_data.
35461 2012-05-07 David S. Miller <davem@davemloft.net>
35463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35466 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35467 (SETUP_PIC_REG): Use it.
35468 (SETUP_PIC_REG_LEAF): Use it.
35470 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35474 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35476 (EXPL_FINITE): Likewise.
35477 (FLDLOG): Likewise.
35478 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35479 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35481 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35483 (EXPL_FINITE): Likewise.
35484 (FLDLOG): Likewise.
35485 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35486 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35488 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35489 test of -max_value argument for long double.
35490 * sysdeps/i386/fpu/libm-test-ulps: Update.
35491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35493 2012-05-06 David S. Miller <davem@davemloft.net>
35495 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35496 quad soft-float symbols whose references which are compiler
35498 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35500 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35504 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35506 (EXPL_FINITE): Likewise.
35507 (FLDLOG): Likewise.
35510 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35511 Adjust comments for base varying.
35512 (__expl_finite): Change alias to EXPL_FINITE.
35513 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35515 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35516 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35517 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35518 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35519 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35521 (EXPL_FINITE): Likewise.
35522 (FLDLOG): Likewise.
35525 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35526 Adjust comments for base varying.
35527 (__expl_finite): Change alias to EXPL_FINITE.
35528 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35533 * math/libm-test.inc (check_float_internal): Correct ulp
35534 calculation for subnormal expected results.
35536 2012-05-06 Andreas Jaeger <aj@suse.de>
35538 * Makeconfig (+math-flags): New, set to -frounding-math.
35539 (+cflags): Add +math-flags so that all of glibc gets compiled with
35542 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35544 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35546 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35552 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35553 (__ieee754_expl): Allow for and saturate large arguments.
35554 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35555 (u_threshold): Likewise.
35556 (__exp): Call __ieee754_exp before checking for overflow and
35558 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35559 (u_threshold): Likewise.
35560 (__expf): Call __ieee754_expf before checking for overflow and
35562 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35563 (u_threshold): Likewise.
35564 (__expl): Call __ieee754_expl before checking for overflow and
35566 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35567 (__ieee754_expl): Allow for and saturate large arguments.
35568 * math/libm-test.inc (exp_test): Add another test. Do not allow
35569 missing overflow exception on overflow.
35570 (expm1_test): Do not allow missing overflow exception on overflow.
35572 * sysdeps/i386/fpu/e_expl.c: Move to ...
35573 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35574 rather than using inline asm.
35575 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35576 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35577 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35579 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35582 (signal): Likewise.
35586 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35588 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35589 sysdeps/unix/common/syscalls.list.
35590 (fchmod): Likewise.
35591 (fchown): Likewise.
35592 (ftruncate): Likewise.
35593 (getrusage): Likewise.
35594 (gettimeofday): Likewise.
35595 (setpgid): Likewise.
35596 (setregid): Likewise.
35597 (setreuid): Likewise.
35598 (sigaction): Likewise.
35599 (truncate): Likewise.
35600 (vhangup): Likewise.
35601 * sysdeps/unix/common/syscalls.list: Remove file.
35602 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35603 * sysdeps/unix/sysv/linux/Implies: Likewise.
35605 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35607 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35609 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35613 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35616 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35619 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35622 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35625 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35628 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35631 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35635 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35639 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35642 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35646 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35650 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35652 * sysdeps/unix/common/bits/dirent.h: Remove file.
35653 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35655 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35656 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35657 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35658 * sysdeps/unix/bsd/isatty.c: Likewise.
35659 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35660 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35661 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35663 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35666 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35667 long double comparison inaccuracies.
35668 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35671 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35673 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35676 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35679 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35680 nonzero digits before rounding a hex value.
35681 * stdlib/tst-strtod.c (tests): Add another test.
35683 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35685 * sysdeps/s390/fpu/libm-test-ulps: Update.
35687 2012-05-03 Andreas Jaeger <aj@suse.de>
35689 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35690 does not get optimized out.
35691 (malloc_opt_barrier): New.
35693 2012-05-03 Andreas Jaeger <aj@suse.de>
35694 Roland McGrath <roland@hack.frob.com>
35696 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35697 intermediate file deletion.
35698 (generated): Add .symlist files.
35700 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35703 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35704 Redirect under this condition.
35705 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35706 [__USE_GNU] (__dprintf_chk): Not under this condition.
35707 [__USE_GNU] (__vdprintf_chk): Likewise.
35708 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35709 under this condition.
35710 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35711 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35712 [__USE_XOPEN2K8] (vdprintf): Likewise.
35713 [__USE_GNU] (__dprintf_chk): Not under this condition.
35714 [__USE_GNU] (__vdprintf_chk): Likewise.
35715 [__USE_GNU] (dprintf): Likewise.
35716 [__USE_GNU] (vdprintf): Likewise.
35718 2012-05-03 Roland McGrath <roland@hack.frob.com>
35720 * elf/Makefile (common-generated): Set this instead of generated for
35721 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35722 $(all-built-dso)-derived lists.
35724 2012-05-03 Andreas Jaeger <aj@suse.de>
35726 * sysdeps/i386/fpu/libm-test-ulps: Update.
35729 * FAQ.in: Likewise.
35730 * scripts/gen-FAQ.pl: Likewise.
35731 * manual/install.texi (Installation): Point to online location of
35733 * Makefile (files-for-dist): Remove FAQ.
35736 2012-05-02 Allan McRae <allan@archlinux.org>
35738 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35739 (LDFLAGS-reldepmod5.so): Likewise.
35740 (LDFLAGS-reldep6mod1.so): Likewise.
35741 (LDFLAGS-reldep6mod4.so): Likewise.
35742 (LDFLAGS-reldep8mod3.so): Likewise.
35743 (LDFLAGS-unload4mod1.so): Likewise.
35744 (LDFLAGS-unload4mod2.so): Likewise.
35745 (LDFLAGS-tst-initorder): Likewise.
35746 (LDFLAGS-tst-initordera2.so): Likewise.
35747 (LDFLAGS-tst-initordera3.so): Likewise.
35748 (LDFLAGS-tst-initordera4.so): Likewise.
35749 (LDFLAGS-tst-initorderb2.so): Likewise.
35750 (LDFLAGS-noload): Likewise.
35751 (LDFLAGS-next): Likewise.
35752 (LDFLAGS-order2mod1.so): Likewise.
35753 (LDFLAGS-order2mod2.so): Likewise.
35754 (LDFLAGS-tst-initorder2): Likewise.
35755 (LDFLAGS-tst-initorder2a.so): Likewise.
35756 (LDFLAGS-tst-initorder2b.so): Likewise.
35757 (LDFLAGS-tst-initorder2c.so): Likewise.
35758 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35760 2012-05-02 David S. Miller <davem@davemloft.net>
35762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35764 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35767 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35769 2012-05-02 Andreas Jaeger <aj@suse.de>
35771 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35772 since we manipulate rounding mode.
35773 (CPPFLAGS-test-idouble.c): Likewise.
35774 (CPPFLAGS-test-ifloat.c): Likewise.
35775 (CFLAGS-test-ldouble.c): Likewise.
35776 (CFLAGS-test-double.c): Likewise.
35777 (CFLAGS-test-float.c): Likewise.
35778 (CFLAGS-test-misc.c): Likewise.
35779 (CFLAGS-test-test-fenv.c): Likewise.
35781 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35785 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35786 comparisons to determine direction to adjust input.
35788 2012-05-01 Roland McGrath <roland@hack.frob.com>
35790 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35791 output to the target.
35793 * scripts/localplt.awk: New file.
35794 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35795 (check-localplt-CFLAGS): Variable removed.
35796 ($(all-built-dso:=.jmprel)): New static pattern rule.
35797 (generated): Add those targets.
35798 (localplt-built-dso): New variable.
35799 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35801 * elf/check-localplt.c: File removed.
35803 * scripts/check-execstack.awk: New file.
35804 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35805 (check-execstack-CFLAGS): Variable removed.
35806 ($(objpfx)check-execstack.h): Target removed.
35807 ($(objpfx)execstack-default): New target.
35808 (generated): Add that instead of check-execstack.h.
35809 ($(all-built-dso:=.phdr)): New static pattern rule.
35810 (generated): Add those targets.
35811 * elf/check-execstack.c: File removed.
35813 * scripts/check-textrel.awk: New file.
35814 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35815 (check-textrel-CFLAGS): Variable removed.
35816 (all-built-dso): Use := to define.o
35817 ($(all-built-dso:=.dyn)): New static pattern rule.
35818 (generated): Add those targets.
35819 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35820 * config.make.in (READELF): New substituted variable.
35821 * elf/check-textrel.c: File removed.
35823 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35825 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35827 * conform/data/ctype.h-data [C99-based standards] (isblank):
35829 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35830 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35831 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35832 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35833 Specify type. Require positive value.
35834 (EILSEQ): Likewise.
35835 (ERANGE): Likewise.
35836 [ISO || POSIX] (EILSEQ): Do not expect.
35837 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35838 Specify type. Require positive value.
35839 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35840 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35841 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35842 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35843 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35844 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35845 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35846 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35847 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35848 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35849 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35850 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35851 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35852 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35853 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35854 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35855 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35856 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35857 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35858 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35859 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35860 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35861 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35862 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35863 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35864 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35865 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35866 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35867 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35868 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35869 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35870 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35871 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35872 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35873 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35874 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35875 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35876 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35877 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35878 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35879 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35880 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35881 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35882 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35883 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35884 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35885 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35886 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35887 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35888 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35889 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35890 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35891 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35892 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35893 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35894 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35895 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35896 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35897 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35898 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35899 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35900 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35901 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35902 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35903 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35904 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35905 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35906 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35907 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35908 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35909 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35910 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35911 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35912 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35913 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35914 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35915 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35917 (FLT_ROUNDS): Expect as macro, not constant.
35918 (FLT_MANT_DIG): Use macro-int-constant.
35919 (DBL_MANT_DIG): Likewise.
35920 (LDBL_MANT_DIG): Likewise.
35921 (FLT_DIG): Likewise.
35922 (DBL_DIG): Likewise.
35923 (LDBL_DIG): Likewise.
35924 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35925 (DBL_MIN_EXP): Likewise.
35926 (LDBL_MIN_EXP): Likewise.
35927 (FLT_MAX_EXP): Use macro-int-constant.
35928 (DBL_MAX_EXP): Likewise.
35929 (LDBL_MAX_EXP): Likewise.
35930 (FLT_MAX_10_EXP): Likewise.
35931 (DBL_MAX_10_EXP): Likewise.
35932 (LDBL_MAX_10_EXP): Likewise.
35933 (FLT_MAX): Use macro-constant.
35934 (DBL_MAX): Likewise.
35935 (LDBL_MAX): Likewise.
35936 (FLT_EPSILON): Use macro-constant. Give upper bound.
35937 (DBL_EPSILON): Likewise.
35938 (LDBL_EPSILON): Likewise.
35939 (FLT_MIN): Likewise.
35940 (DBL_MIN): Likewise.
35941 (LDBL_MIN): Likewise.
35942 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35943 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35944 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35945 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35946 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35947 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35948 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35949 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35950 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35951 [ISO11] (FLT_TRUE_MIN): Likewise.
35952 [ISO11] (LDBL_TRUE_MIN): Likewise.
35953 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35954 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35955 (SCHAR_MIN): Use macro-int-constant. Specify type.
35956 (SCHAR_MAX): Likewise.
35957 (UCHAR_MAX): Likewise.
35958 (CHAR_MIN): Likewise.
35959 (CHAR_MAX): Likewise.
35960 (MB_LEN_MAX): Use macro-int-constant.
35961 (SHRT_MIN): Use macro-int-constant. Specify type.
35962 (SHRT_MAX): Likewise.
35963 (USHRT_MAX): Likewise.
35964 (INT_MAX): Likewise.
35965 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35967 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35969 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35971 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35972 bound negative. Suffix upper bound with "L".
35973 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35975 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35977 [C99-based standards] (LLONG_MAX): Likewise.
35978 [C99-based standards] (ULLONG_MAX): Likewise.
35979 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35981 [ISO11] (max_align_t): Require type.
35982 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35984 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35985 from $CFLAGS, without defining away __attribute__ calls.
35986 (checknamespace): Use $CFLAGS_namespace.
35988 * conform/conformtest.pl (@keywords): Only include C99 keywords
35989 for standards based on C99 or C11.
35991 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35993 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35996 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35997 usability of symbols in #if.
35999 * conform/conformtest.pl: If macro or constant types start
36000 "promoted:", expect the symbol to be of the following type
36001 promoted by the integer promotions.
36003 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36004 in one place. Also handle "macro-constant".
36006 * conform/conformtest.pl: Only accept expected macro values with
36007 "==". Parse all "macro" lines in one place.
36008 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36010 * conform/conformtest.pl: Handle braced types on "constant" lines
36011 instead of handling "typed-constant".
36012 * conform/data/signal.h-data: Use "constant" instead of
36015 * conform/conformtest.pl: Handle "optional-" at start of lines in
36016 one place rather than duplicating several cases. Handle each
36017 format of "macro" line with initial "optional-".
36019 * conform/conformtest.pl: Only accept expected constant or
36020 optional-constant values with "==". Parse all "constant" lines in
36021 one place. Parse all "optional-constant" lines in one place.
36022 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36023 * conform/data/fmtmsg.h-data: Likewise.
36024 * conform/data/netinet/in.h-data: Likewise.
36025 * conform/data/tar.h-data: Likewise.
36026 * conform/data/limits.h-data: Use "==" form on "constant" and
36027 "optional-constant" lines.
36029 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36030 Use -std=c99 for XOPEN2K.
36031 (@knownproblems): Remove.
36032 (newtoken): Don't check %isknown.
36034 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36035 Do not expect macro.
36036 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36037 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36038 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36039 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36040 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36041 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36042 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36043 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36044 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36045 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36046 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36047 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36048 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36049 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36050 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36051 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36052 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36053 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36054 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36055 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36056 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36058 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36059 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36060 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36061 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36062 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36063 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36064 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36065 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36066 [XPG3] (acosh): Likewise.
36067 [XPG3] (asinh): Likewise.
36068 [XPG3] (atanh): Likewise.
36069 [XPG3] (cbrt): Likewise.
36070 [XPG3] (expm1): Likewise.
36071 [XPG3] (ilogb): Likewise.
36072 [XPG3] (log1p): Likewise.
36073 [XPG3] (logb): Likewise.
36074 [XPG3] (nextafter): Likewise.
36075 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36076 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36077 [XPG3] (remainder): Likewise.
36078 [XPG3] (rint): Likewise.
36079 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36080 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36081 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36082 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36083 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36084 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36085 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36086 [UNIX98 || XOPEN2K] (scalb): Expect.
36087 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36088 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36089 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36090 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36091 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36092 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36093 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36094 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36095 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36096 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36097 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36098 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36099 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36100 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36101 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36102 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36103 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36104 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36105 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36106 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36107 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36108 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36109 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36110 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36111 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36112 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36113 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36114 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36115 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36116 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36117 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36118 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36119 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36120 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36121 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36122 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36123 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36124 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36125 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36126 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36127 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36128 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36129 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36130 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36131 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36132 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36133 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36134 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36135 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36136 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36137 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36138 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36139 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36140 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36141 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36142 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36143 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36144 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36145 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36146 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36147 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36148 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36149 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36150 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36151 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36152 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36153 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36154 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36155 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36156 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36157 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36158 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36159 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36160 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36161 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36162 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36163 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36164 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36165 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36166 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36167 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36168 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36169 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36170 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36171 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36172 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36173 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36174 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36175 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36176 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36177 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36178 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36179 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36180 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36181 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36182 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36183 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36184 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36185 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36186 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36187 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36188 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36189 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36190 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36191 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36192 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36193 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36194 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36195 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36196 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36197 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36198 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36199 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36200 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36201 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36202 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36203 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36204 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36205 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36206 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36207 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36208 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36209 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36210 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36211 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36212 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36213 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36214 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36215 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36216 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36217 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36218 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36219 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36220 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36221 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36222 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36223 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36225 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36226 _XOPEN_SOURCE_EXTENDED for XPG4.
36228 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36230 * Makeconfig (localtime): Remove variable.
36231 (inst_localtime-file): Likewise.
36233 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36254 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36258 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36259 comparisons to determine direction to adjust input.
36260 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36261 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36262 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36264 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36266 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36268 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36269 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36271 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36273 * math/libm-test.inc (nexttoward_test): Add more tests.
36275 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36278 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36279 in version GLIBC_2.1, not GLIBC_2.0.
36280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36283 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36286 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36288 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36289 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36290 * math/libm-test.inc (acos_test): Add more tests.
36291 (asin_test): Likewise.
36292 * sysdeps/i386/fpu/libm-test-ulps: Update.
36293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36296 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36298 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36299 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36300 * math/libm-test.inc (acos_test_tonearest): New function.
36301 (acos_test_towardzero): Likewise.
36302 (acos_test_downward): Likewise.
36303 (acos_test_upward): Likewise.
36304 (asin_test_tonearest): Likewise.
36305 (asin_test_towardzero): Likewise.
36306 (asin_test_downward): Likewise.
36307 (asin_test_upward): Likewise.
36308 (main): Call the new functions.
36309 * sysdeps/i386/fpu/libm-test-ulps: Update.
36310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36314 * math/e_exp10.c: Include <float.h>.
36315 (__ieee754_exp10): Handle underflow here rather than multiplying
36316 large negative argument by M_LN10.
36317 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36319 * math/e_exp10l.c: Include <float.h>.
36320 (__ieee754_exp10l): Handle underflow here rather than multiplying
36321 large negative argument by M_LN10l.
36322 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36323 spurious overflow exception on underflow.
36325 2012-04-29 Marek Polacek <polacek@redhat.com>
36327 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36328 (__fortify_function): New macro.
36329 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36330 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36331 __extern_always_inline.
36332 * libio/bits/stdio2.h: Likewise.
36333 * libio/bits/stdio.h: Likewise.
36334 * string/string.h: Likewise.
36335 * string/bits/string3.h: Likewise.
36336 * include/stdio.h: Likewise.
36337 * stdlib/bits/stdlib.h: Likewise.
36338 * stdlib/stdlib.h: Likewise.
36339 * rt/bits/mqueue2.h: Likewise.
36340 * rt/mqueue.h: Likewise.
36341 * posix/bits/unistd.h: Likewise.
36342 * posix/unistd.h: Likewise.
36343 * io/bits/poll2.h: Likewise.
36344 * io/bits/fcntl2.h: Likewise.
36345 * io/fcntl.h: Likewise.
36346 * io/sys/poll.h: Likewise.
36347 * misc/bits/syslog.h: Likewise.
36348 * misc/bits/syslog-ldbl.h: Likewise.
36349 * misc/sys/syslog.h: Likewise.
36350 * socket/bits/socket2.h: Likewise.
36351 * socket/sys/socket.h: Likewise.
36352 * debug/tst-chk1.c: Likewise.
36353 * wcsmbs/bits/wchar2.h: Likewise.
36354 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36355 * wcsmbs/wchar.h: Likewise.
36357 2012-04-29 Andreas Jaeger <aj@suse.de>
36359 * Makerules (tests): Remove enable-check-abi protection.
36360 (check-abi-warn): Remove.
36361 (check-abi-%): Remove check-abi-warn usage.
36363 * configure.in: Remove check-abi configure option.
36364 * configure: Regenerated.
36365 * config.make.in (enable-check-abi): Remove.
36367 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36370 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36371 double functions to double *_finite functions.
36374 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36375 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36377 * stdio-common/Makefile (tests): Add tst-sprintf3.
36378 * stdio-common/tst-sprintf3.c: New file.
36380 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36381 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36383 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36385 * conform/conformtest.pl: Remove duplicate typed-constant
36388 2012-04-28 David S. Miller <davem@davemloft.net>
36390 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36391 (check-abi-%): Remove AWK script prerequisite and explicit
36393 (check-abi): Rewrite to just diff the symlist with the abilist.
36394 (config-tls, config-abi-config): Delete, no longer used.
36395 (update-abi-%): Remove AWK script and explicit abilist directory.
36396 (update-abi): Rewrite to simply compare and conditionally copy the
36397 symlist and the sysdep abilist file. Remove update-abi-config
36399 * abilist/ld.abilist: Remove.
36400 * abilist/libBrokenLocale.abilist: Remove.
36401 * abilist/libanl.abilist: Remove.
36402 * abilist/libcrypt.abilist: Remove.
36403 * abilist/libdl.abilist: Remove.
36404 * abilist/librt.abilist: Remove.
36405 * abilist/libthread_db.abilist: Remove.
36406 * abilist/libutil.abilist: Remove.
36407 * scripts/extract-abilist.awk: Remove.
36408 * scripts/merge-abilist.awk: Remove.
36409 * sysdeps/generic/libcidn.abilist: New file.
36410 * sysdeps/generic/libnss_compat.abilist: New file.
36411 * sysdeps/generic/libnss_db.abilist: New file.
36412 * sysdeps/generic/libnss_dns.abilist: New file.
36413 * sysdeps/generic/libnss_files.abilist: New file.
36414 * sysdeps/generic/libnss_hesiod.abilist: New file.
36415 * sysdeps/generic/libnss_nis.abilist: New file.
36416 * sysdeps/generic/libnss_nisplus.abilist: New file.
36417 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36418 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36419 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36421 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36422 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36423 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36424 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36425 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36426 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36427 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36428 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36429 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36431 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36432 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36433 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36434 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36436 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36437 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36438 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36439 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36440 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36441 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36443 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36444 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36445 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36447 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36550 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36551 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36552 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36554 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36555 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36556 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36557 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36558 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36559 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36560 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36561 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36562 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36563 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36615 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36617 * conform/conformtest.pl: Fix typo in handling typed-constant from
36620 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36622 * README: Cut down references to pre-2.6 Linux kernels and
36623 Linuxthreads. Update lists of configurations in libc and ports
36624 and sort alphabetically. Say "or newer" with Linux kernel version
36627 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36629 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36632 * math/libm-test.inc (logb_test_downward): New test to expose
36633 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36636 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36639 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36641 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36642 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36644 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36646 * sysdeps/unix/i386/brk.S: Remove file.
36647 * sysdeps/unix/i386/dl-brk.S: Likewise.
36648 * sysdeps/unix/i386/pipe.S: Likewise.
36649 * sysdeps/unix/i386/sigreturn.S: Likewise.
36650 * sysdeps/unix/i386/syscall.S: Likewise.
36651 * sysdeps/unix/i386/vfork.S: Likewise.
36652 * sysdeps/unix/i386/wait.S: Likewise.
36654 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36655 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36657 * configure.in (arm*-none*): Do not allow without
36658 --enable-hacker-mode.
36659 (netbsd*): Remove case setting base_os.
36660 (386bsd*): Likewise.
36661 (freebsd*): Likewise.
36664 (sunos*): Likewise.
36665 (ultrix*): Likewise.
36666 (newsos*): Likewise.
36667 (dynix*): Likewise.
36673 (minix*): Likewise.
36674 (irix4*): Likewise.
36675 (irix6*): Likewise.
36676 (solaris[2-9]*): Likewise.
36678 * configure: Regenerated.
36680 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36683 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36684 overflow or cancellation in calculating denominator.
36685 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36687 down expression to avoid unexpected rounding in newer GCCs.
36688 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36690 2012-04-26 David S. Miller <davem@davemloft.net>
36692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36693 long-double compat symbols.
36694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36708 2012-04-25 David S. Miller <davem@davemloft.net>
36710 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36711 HWCAP_* values only after the memory barriers have been defined.
36712 (atomic_full_barrier): Define.
36713 (atomic_read_barrier): Define.
36714 (atomic_write_barrier): Define.
36716 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36718 * shlib-versions: Add libgcc_s version information.
36719 * sysdeps/generic/libgcc_s.h: Remove.
36720 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36722 * sysdeps/gnu/unwind-resume.c: Likewise.
36723 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36725 2012-04-25 David S. Miller <davem@davemloft.net>
36727 * sysdeps/unix/sparc/brk.S: Delete.
36728 * sysdeps/unix/sparc/dl-brk.S: Delete.
36729 * sysdeps/unix/sparc/pipe.S: Delete.
36730 * sysdeps/unix/sparc/sysdep.S: Delete.
36731 * sysdeps/unix/sparc/sysdep.h: Delete.
36732 * sysdeps/unix/sparc/vfork.S: Delete.
36733 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36734 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36735 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36736 (ret_ERRVAL, r0, r1, MOVE): Define.
36737 (JUMPTARGET): Remove.
36738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36739 sysdeps/unix/sparc/sysdep.h
36740 (ENTRY, END): Remove.
36741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36743 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36745 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36746 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36749 * timezone/README: Update upstream location and email address for
36751 * timezone/zdump.c: Update from tzcode 2012b.
36752 * timezone/zic.c: Likewise.
36754 * configure.in (libc_cv_as_needed): Remove test.
36755 * configure: Regenerated.
36756 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36757 conditional definition.
36758 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36759 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36760 * config.make.in (have-as-needed): Remove variable.
36762 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36763 Paul Pluzhnikov <ppluzhnikov@google.com>
36765 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36768 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36770 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36771 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36772 * sysdeps/sh/strlen.S: Likewise.
36774 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36776 * sysdeps/unix/fork.S: Remove file.
36777 * sysdeps/unix/i386/fork.S: Likewise.
36778 * sysdeps/unix/sparc/fork.S: Likewise.
36780 * sysdeps/unix/system.c: Remove file.
36781 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36783 * sysdeps/unix/getegid.S: Remove file.
36784 * sysdeps/unix/geteuid.S: Likewise.
36786 2012-04-24 Roland McGrath <roland@hack.frob.com>
36788 * scripts/check-localplt.awk: New file.
36789 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36791 * scripts/data/localplt-generic.data: Add a comment.
36793 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36794 NODE when __dir_mkfile failed.
36795 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36796 Reported by Ludovic Courtès <ludo@gnu.org>.
36798 2012-04-24 Andreas Jaeger <aj@suse.de>
36800 * Makerules (common-clean): Also remove gen-as-const-headers
36803 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36805 * Makerules (native-compile): Do not change working directory for
36806 build. Use $(OUTPUT_OPTION) in command.
36807 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36809 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36812 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36813 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36814 * math/libm-test.inc (floor_test): Add more tests.
36815 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36817 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36819 * sysdeps/unix/getdents.c: Remove file.
36820 * sysdeps/unix/sysv/getdents.c: Likewise.
36821 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36823 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36824 sysdeps/unix/mman/syscalls.list.
36826 (mprotect): Likewise.
36828 (munmap): Likewise.
36829 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36830 * sysdeps/unix/mman/syscalls.list: Remove.
36831 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36833 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36834 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36835 * configure: Regenerated.
36836 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36837 $(libgcc_s_suffix).
36838 * config.make.in (libgcc_s_suffix): Remove variable.
36840 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36842 * sysdeps/unix/sysv/gethostname.c: Move to ...
36843 * sysdeps/posix/gethostname.c: ... here.
36845 * sysdeps/unix/execve.S: Remove file.
36847 * sysdeps/unix/_exit.S: Remove file.
36849 2012-04-23 Andreas Jaeger <aj@suse.de>
36852 * manual/Makefile: Remove make dist support, there's no
36853 need for a stand-alone documentation tar ball.
36854 (TEXI2DVI): Define always, it's not in Makeconfig.
36857 (edition): Removed.
36858 (glibc-doc-$(edition).tar): Removed
36862 (ETAGS): Remove, it's in Makeconfig.
36863 (move-if-change): Remove, it's in Makeconfig.
36865 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36868 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36869 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36870 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36871 (strtod_l, strtof_l, strtold_l): Remove __wur.
36872 It is not necessarily an error to ignore strtol's return value.
36873 One can reliably look at the stored endptr to decide whether
36874 the number had valid syntax.
36876 2012-04-21 Andreas Jaeger <aj@suse.de>
36879 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36881 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36883 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36884 * sysdeps/unix/sysv/Versions: Remove file.
36886 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36891 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36894 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36895 version from __vm86.
36897 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36899 * sysdeps/unix/common/lxstat.c: Remove file.
36900 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36902 * sysdeps/unix/sysv/Makefile: Remove file.
36904 * sysdeps/unix/sysv/direct.h: Remove file.
36906 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36907 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36908 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36909 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36910 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36911 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36912 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36914 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36916 * sysdeps/unix/xmknod.c: Remove file.
36917 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36919 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36921 * sysdeps/unix/sysv/i386/time.S: Remove file.
36923 * sysdeps/unix/fxstat.c: Remove file.
36924 * sysdeps/unix/xstat.c: Likewise.
36925 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36927 * sysdeps/unix/sysv/sigaction.c: Remove file.
36929 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36930 (sysdep_headers): Remove variable.
36931 [termio.h not in sysdep_headers] (generated): Likewise.
36932 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36933 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36934 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36935 * sysdeps/unix/sysv/tcflow.c: Likewise.
36936 * sysdeps/unix/sysv/tcflush.c: Likewise.
36937 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36938 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36939 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36940 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36941 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36943 * sysdeps/unix/siglist.c: Remove file.
36945 * sysdeps/unix/getppid.S: Remove file.
36947 * sysdeps/unix/mkdir.c: Remove file.
36948 * sysdeps/unix/rmdir.c: Likewise.
36950 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36952 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36954 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36955 errlist-compat value.
36957 2012-04-18 David S. Miller <davem@davemloft.net>
36959 * sysdeps/generic/memcopy.h (reg_char): Delete.
36960 * debug/strcat_chk.c: Use char, not reg_char.
36961 * debug/strcpy_chk.c: Likewise.
36962 * debug/strncat_chk.c: Likewise.
36963 * debug/strncpy_chk.c: Likewise.
36964 * string/memchr.c: Likewise.
36965 * string/memrchr.c: Likewise.
36966 * string/rawmemchr.c: Likewise.
36967 * string/strcat.c: Likewise.
36968 * string/strchr.c: Likewise.
36969 * string/strchrnul.c: Likewise.
36970 * string/strcmp.c: Likewise.
36971 * string/strcpy.c: Likewise.
36972 * string/strncat.c: Likewise.
36973 * string/strncmp.c: Likewise.
36974 * string/strncpy.c: Likewise.
36976 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36978 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36979 __builtin_memcopy is called when src and dest ranges are known to not
36982 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36984 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36985 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36986 fwd_align_merge macro call.
36987 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36988 bwd_align_merge macro call.
36989 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36991 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36993 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36994 bwd_align_merge macros.
36995 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36996 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36997 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36999 2012-04-18 David S. Miller <davem@davemloft.net>
37001 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37003 2012-04-18 Andreas Jaeger <aj@suse.de>
37006 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37007 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37008 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37010 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37011 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37012 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37014 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37015 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37016 Adjust for changed ldbl-128 files.
37018 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37019 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37020 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37022 2012-04-17 David S. Miller <davem@davemloft.net>
37024 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37026 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37028 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37029 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37030 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37031 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37032 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37033 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37035 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37038 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37039 * math/libm-test.inc: Add ilogb errno and exception tests.
37040 * math/w_ilogb.c: New file: ilogb wrapper.
37041 * math/w_ilogbf.c: New file: ilogbf wrapper.
37042 * math/w_ilogbl.c: New file: ilogbl wrapper.
37043 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37044 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37045 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37046 exception being thrown with 0.0 as argument.
37047 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37048 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37049 exception being thrown with 0.0 as argument.
37050 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37051 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37052 exception being thrown with 0.0 as argument.
37053 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37054 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37055 exception being thrown with 0.0 as argument.
37056 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37057 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37058 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37059 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37060 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37061 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37062 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37063 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37064 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37066 2012-04-17 Petr Baudis <pasky@ucw.cz>
37068 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37071 2012-04-16 Marek Polacek <polacek@redhat.com>
37073 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37075 2012-04-16 Marek Polacek <polacek@redhat.com>
37077 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37078 operands of fdivp instruction.
37080 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37082 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37083 * elf/tst-auditmod3b.c: Likewise.
37084 * elf/tst-auditmod4b.c: Likewise.
37085 * elf/tst-auditmod5b.c: Likewise.
37086 * elf/tst-auditmod6b.c: Likewise.
37087 * elf/tst-auditmod6c.c: Likewise.
37088 * elf/tst-auditmod7b.c: Likewise.
37089 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37090 * sysdeps/x86_64/preconfigure.in: Likewise.
37091 * sysdeps/x86_64/preconfigure: Regenerated.
37093 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37095 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37098 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37100 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37101 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37103 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37106 * locale/iso-639.def: Fix gl language name. Spotted by
37109 2012-04-12 Roland McGrath <roland@hack.frob.com>
37112 * libio/libio.h (__io_write_fn): Update comment.
37114 2012-04-12 Petr Baudis <pasky@ucw.cz>
37117 * stdio.texi (Hook Functions): The user provided writer function
37118 is not allowed to return -1.
37120 2012-04-11 David S. Miller <davem@davemloft.net>
37122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37124 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37126 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37127 Add a leading slash to rtkaio.
37129 2012-04-11 Jim Meyering <meyering@redhat.com>
37132 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37133 It is not necessarily an error to ignore fwrite's return
37134 value. One can reliably use ferror to test for errors after
37137 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37139 * bits/types.h (__snseconds_t): New type.
37140 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37142 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37144 (__SNSECONDS_T_TYPE): Likewise.
37145 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37146 (__SNSECONDS_T_TYPE): Likewise.
37147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37148 (__SNSECONDS_T_TYPE): Likewise.
37150 2012-04-10 Andreas Jaeger <aj@suse.de>
37153 * manual/time.texi (Processor Time): Return type of times is
37154 elapsed real time since an arbitrary point in the past.
37155 (CPU Time): Move CLK_TCK from here...
37156 (Processor Time): ...to here. Correct description.
37157 * manual/conf.texi (Constants for Sysconf): Correct description of
37160 2012-04-10 David S. Miller <davem@davemloft.net>
37163 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37164 where the is a gap between DT_REL(A) and DT_JMPREL.
37166 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37168 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37169 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37170 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37172 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37174 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37175 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37176 (dl_main): Handle --inhibit-cache.
37177 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37179 * elf/dl-load.c (_dl_map_object): Use it.
37180 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37182 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37185 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37186 (__ieee754_powl): Saturate large exponents rather than testing for
37187 overflow of y*log2(x).
37188 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37189 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37193 * math/s_ctan.c: Include <float.h>.
37194 (__ctan): Avoid internal overflow or cancellation in calculating
37196 * math/s_ctanf.c: Likewise.
37197 * math/s_ctanl.c: Likewise.
37198 * math/s_ctanh.c: Likewise.
37199 * math/s_ctanhf.c: Likewise.
37200 * math/s_ctanhl.c: Likewise.
37201 * math/libm-test.inc (ctan_test): Add more tests.
37202 (ctanh_test): Likewise.
37203 * sysdeps/i386/fpu/libm-test-ulps: Update.
37204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37206 2012-04-09 Andreas Jaeger <aj@suse.de>
37209 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37210 is an optional BSD extension.
37213 * manual/stdio.texi (Opening Streams): Document additional fopen
37216 2012-04-09 Roland McGrath <roland@hack.frob.com>
37218 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37219 %eax without telling the compiler.
37221 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37224 * manual/install.texi: Use sourceware.org.
37226 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37229 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37230 (__ieee754_pow): Generate overflow and underflow using huge*huge
37231 and tiny*tiny rather than just returning constant infinity or zero
37232 for large exponents.
37233 * math/libm-test.inc (pow_test): Require overflow exceptions for
37234 applicable cases of large exponents.
37237 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37238 (__ieee754_pow): Use iterative multiplication algorithm only for
37239 integer exponents with absolute value below 1024. Check for odd
37240 integer exponents when using algorithm for real exponents.
37241 * math/libm-test.inc (pow_test): Add more tests.
37242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37244 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37247 * math/libm-test.inc (exp_test): Do not allow overflow exception
37250 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37253 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37254 instead of __kernel_standard_f.
37256 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37258 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37259 * sysdeps/x86_64/memset_chk.S: Likewise.
37261 2012-04-08 Andreas Jaeger <aj@suse.de>
37264 * manual/startup.texi (Environment Access): Describe return value
37265 for putenv and setenv.
37268 * manual/filesys.texi (Directory Entries): Add description for
37272 * manual/filesys.texi (Directory Entries): Clarify that it's file
37273 system not operating system in the description of DT_UNKNOWN.
37276 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37278 2012-04-08 Stephen Compall <s11@member.fsf.org>
37281 * manual/llio.texi (Opening and Closing Files): Add cross
37282 reference to explain mode argument.
37284 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37286 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37287 * sysdeps/x86_64/memset_chk.S: Likewise.
37289 2012-04-07 David S. Miller <davem@davemloft.net>
37291 * elf/elf.h (R_SPARC_WDISP10): Define.
37292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37295 R_SPARC_SIZE64 and R_SPARC_H34.
37297 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37299 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37300 conditions and remove no longer applicable assertion.
37302 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37304 * bits/byteswap.h: Include <features.h>.
37305 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37306 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37308 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37310 * bits/byteswap.h (__bswap_16): Removed.
37311 Include <bits/byteswap-16.h> to get __bswap_16.
37312 * sysdeps/i386/bits/byteswap.h: Likewise.
37313 * sysdeps/s390/bits/byteswap.h: Likewise.
37314 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37315 * bits/byteswap-16.h: New file.
37316 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37317 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37318 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37319 * string/Makefile (headers): Add bits/byteswap-16.h.
37321 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37324 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37326 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37327 * nss/tst-nss-static.c: New.
37329 2012-04-06 Robert Millan <rmh@gnu.org>
37332 * manual/llio.texi (File Position Primitive): lseek
37333 refers to WHENCE when it really means OFFSET.
37335 2012-04-06 Andreas Jaeger <aj@suse.de>
37337 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37338 strncmp declarations.
37340 * abilist/libc.abilist: Add __poll and __ppoll.
37342 2012-04-05 David S. Miller <davem@davemloft.net>
37344 * scripts/check-local-headers.sh: Accept a host triplet in the
37345 path matched by the exclude regexp.
37347 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37349 * sysdeps/powerpc/powerpc32/dl-machine.h
37350 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37351 * sysdeps/s390/s390-32/dl-machine.h
37352 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37353 * sysdeps/sparc/sparc32/dl-machine.h
37354 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37355 * sysdeps/sparc/sparc64/dl-machine.h
37356 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37358 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37360 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37361 undefined symbol errors.
37363 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37366 2012-04-05 Michael Matz <matz@suse.de>
37369 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37371 2012-04-05 Andreas Jaeger <aj@suse.de>
37374 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37377 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37379 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37380 which ROUND is no valid rounding mode.
37382 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37384 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37386 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37388 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37390 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37391 an exception using FPU order intentionally.
37393 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37395 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37396 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37397 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37398 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37400 2012-04-05 Simon Josefsson <simon@josefsson.org>
37403 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37404 EINVAL when BUFLEN is too smal.
37406 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37409 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37410 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37412 2012-04-03 Andreas Jaeger <aj@suse.de>
37415 * manual/setjmp.texi (System V contexts): Fix sentence.
37418 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37419 New macro for this case.
37420 [!__GNUC__] (__bswap_64): New inline function for this case.
37421 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37422 * bits/byteswap.h: Likewise.
37423 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37424 ull, guard with __GLIBC_HAVE_LONG_LONG.
37426 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37427 __GLIBC_HAVE_LONG_LONG.
37429 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37430 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37432 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37435 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37436 inptr and inend, rather than using last_ch.
37438 2012-04-02 David S. Miller <davem@davemloft.net>
37440 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37441 * stdio-common/printf-parse.h (read_int): Change return type to
37442 'int', return -1 on INT_MAX overflow.
37443 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37444 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37445 overflows INT_MAX. Check for overflow of in-format-string precision
37446 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37447 SIZE_MAX not INT_MAX for integer overflow test.
37448 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37449 skip the construct in the format string but do not record anything.
37450 * stdio-common/bug22.c: Adjust to test both width/prevision
37451 INT_MAX overflow as well as total length INT_MAX overflow. Check
37452 explicitly for proper errno values.
37454 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37456 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37458 * string/test-strcmp.c [! WIDE]: Likewise.
37459 * time/tst-mktime2.c: Likewise for INT_MAX.
37460 * string/test-string.h: #include <sys/param.h> for MIN.
37462 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37463 * sysdeps/i386/init-first.c (init): Likewise.
37464 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37465 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37466 * sysdeps/sh/init-first.c (init): Likewise.
37468 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37470 * po/ru.po: Update from translation team.
37471 * po/vi.po: Likewise.
37473 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37475 * resolv/nss_dns/dns-host.c: Merge copyright years.
37477 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37479 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37480 Optimize memcpy with prefetch if
37481 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37482 src, dst pointers have unequal 16 byte alignments.
37484 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37487 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37488 from a CNAME entry and return the minimum ttl for the query.
37489 (gaih_getanswer_slice): Likewise.
37491 2012-03-30 Jeff Law <law@redhat.com>
37493 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37495 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37496 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37498 * resolv/nss_dns/dns-host.c: Update copyright year.
37500 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37502 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37503 requests to save a system call. Fix check that all bytes are sent.
37505 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37506 comments for sendmmsg.
37508 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37511 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37512 with only 1 character between 0x0041 and 0x01b0.
37513 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37514 * wcsmbs/tst-mbsnrtowcs.c: New file.
37516 2012-03-29 David S. Miller <davem@davemloft.net>
37518 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37519 small copies by hand.
37521 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37524 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37525 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37528 2012-03-28 David S. Miller <davem@davemloft.net>
37530 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37531 that branches into memcpy.
37532 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37535 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37538 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37539 implementation too.
37540 * sysdeps/sparc/mempcpy.S: New file.
37542 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37543 the IFUNC routine in the libc case.
37544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37546 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37547 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37548 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37549 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37550 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37551 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37552 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37553 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37555 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37556 loop to 256 bytes instead of 64 bytes and fix test signedness.
37558 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37559 * sysdeps/sparc/sparc32/Makefile: rather than here...
37560 * sysdeps/sparc/sparc64/Makefile: and here.
37562 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37564 * malloc/mallocbug.c: Avoid warnings about unused variables.
37566 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37569 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37570 in the right place. Discard and retry query if response is
37571 larger than input buffer size.
37573 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37578 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37579 x for large integer exponent.
37580 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37581 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37582 sign of result as needed afterwards.
37583 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37584 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37585 result for underflowing pow the same as for overflow.
37586 (__kernel_standard_l): Handle powl overflow and underflow here
37587 rather than calling __kernel_standard.
37588 * math/libm-test.inc (pow_test): Add more tests.
37603 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37604 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37605 (__kernel_standard_l): New function.
37606 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37608 * math/w_acosl.c (__acosl): Likewise.
37609 * math/w_asinl.c (__asinl): Likewise.
37610 * math/w_atan2l.c (__atan2l): Likewise.
37611 * math/w_atanhl.c (__atanhl): Likewise.
37612 * math/w_coshl.c (__coshl): Likewise.
37613 * math/w_exp10l.c (__exp10l): Likewise.
37614 * math/w_exp2l.c (__exp2l): Likewise.
37615 * math/w_fmodl.c (__fmodl): Likewise.
37616 * math/w_hypotl.c (__hypotl): Likewise.
37617 * math/w_j0l.c (__j0l, __y0l): Likewise.
37618 * math/w_j1l.c (__j1l, __y1l): Likewise.
37619 * math/w_jnl.c (__jnl, __ynl): Likewise.
37620 * math/w_lgammal.c (__lgammal): Likewise.
37621 * math/w_log10l.c (__log10l): Likewise.
37622 * math/w_log2l.c (__log2l): Likewise.
37623 * math/w_logl.c (__logl): Likewise.
37624 * math/w_powl.c (__powl): Likewise.
37625 * math/w_remainderl.c (__remainderl): Likewise.
37626 * math/w_scalbl.c (sysv_scalbl): Likewise.
37627 * math/w_sinhl.c (__sinhl): Likewise.
37628 * math/w_sqrtl.c (__sqrtl): Likewise.
37629 * math/w_tgammal.c (__tgammal): Likewise.
37630 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37631 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37632 * math/libm-test.inc (acos_test): Add more tests.
37633 (acosh_test): Likewise.
37634 (asin_test): Likewise.
37635 (atanh_test): Likewise.
37636 (exp_test): Likewise.
37637 (exp10_test): Likewise.
37638 (exp2_test): Likewise.
37639 (expm1_test): Likewise.
37640 (lgamma_test): Likewise.
37641 (log_test): Likewise.
37642 (log10_test): Likewise.
37643 (log1p_test): Likewise.
37644 (log2_test): Likewise.
37645 (pow_test): Do not allow some spurious overflow exceptions.
37646 (sqrt_test): Add more tests.
37647 (tgamma_test): Likewise.
37648 (y0_test): Likewise.
37649 (y1_test): Likewise.
37650 (yn_test): Likewise.
37652 2012-03-27 Anton Blanchard <anton@samba.org>
37654 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37656 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37657 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37658 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37660 2012-03-27 David S. Miller <davem@davemloft.net>
37662 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37664 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37665 have-as-vis3 check.
37667 2012-03-27 Andreas Jaeger <aj@suse.de>
37669 * sysdeps/x86_64/elf/configure.in: Moved to ...
37670 * sysdeps/x86_64/configure.in: ... here.
37671 * sysdeps/x86_64/elf/start.S: Moved to ...
37672 * sysdeps/x86_64/start.S: ... here.
37673 * sysdeps/x86_64/elf/configure: Delete.
37675 * sysdeps/x86_64/configure.in: Merge contents from
37676 sysdeps/i386/configure.in (without i686 check).
37678 * sysdeps/i386/elf/Versions: Merge into ...
37679 * sysdeps/i386/Versions: ... this.
37680 * sysdeps/i386/elf/Versions: Delete file.
37681 * sysdeps/i386/elf/start.S: Moved to ...
37682 * sysdeps/i386/start.S: ...here.
37683 * sysdeps/i386/elf/configure.in: Merge into...
37684 * sysdeps/i386/configure.in: ...here.
37685 * sysdeps/i386/elf/configure.in: Delete file.
37686 * sysdeps/i386/elf/configure: Delete file.
37688 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37689 * debug/backtracesyms.c: ... here.
37690 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37691 * debug/backtracesymsfd.c: ... here.
37692 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37693 * sysdeps/generic/ifunc-sel.h: ... here.
37695 * sysdeps/unix/i386/start.c: Delete file.
37696 * sysdeps/unix/sparc/start.c: Delete file.
37697 * sysdeps/unix/start.c: Delete file.
37699 * sysdeps/sh/elf/configure.in: Moved to ...
37700 * sysdeps/sh/configure.in: ... here.
37701 * sysdeps/sh/elf/start.S: Moved to ...
37702 * sysdeps/sh/start.S: ... here.
37703 * sysdeps/sh/elf/configure: Delete file.
37705 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37706 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37707 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37708 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37709 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37710 * sysdeps/powerpc/powerpc64/start.S: here.
37711 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37712 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37713 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37714 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37715 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37717 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37718 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37719 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37720 * sysdeps/powerpc/powerpc32/start.S: ... here.
37721 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37722 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37723 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37725 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37726 * sysdeps/powerpc/ifunc-sel.h: ... here.
37727 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37728 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37730 * sysdeps/sparc/elf/configure.in: Moved to ...
37731 * sysdeps/sparc/configure.in: ... here.
37732 * sysdeps/sparc/elf/configure: Delete file.
37733 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37734 * sysdeps/sparc/sparc32/start.S: ... here.
37735 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37736 * sysdeps/sparc/sparc64/start.S: ... here.
37737 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37738 * sysdeps/sparc/sparc32/Makefile: ... this.
37739 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37740 * sysdeps/sparc/sparc64/Makefile: ... this.
37742 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37743 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37744 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37745 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37746 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37747 * sysdeps/s390/s390-32/setjmp.S: ... here.
37748 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37749 * sysdeps/s390/s390-32/configure.in: ... here.
37750 * sysdeps/s390/s390-32/elf/configure: Delete file.
37751 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37752 * sysdeps/s390/s390-32/start.S: ... here.
37754 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37755 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37756 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37757 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37758 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37759 * sysdeps/s390/s390-64/setjmp.S: ... here.
37760 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37761 * sysdeps/s390/s390-64/configure.in: ... here
37762 * sysdeps/s390/s390-64/elf/configure: Delete file.
37763 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37764 * sysdeps/s390/s390-64/start.S: ... here.
37765 * sysdeps/s390/s390-64/elf/configure: Delete.
37767 * configure.in: Remove support for elf directories in sysdeps.
37769 * configure: Regenerated.
37770 * sysdeps/i386/configure: Regenerated.
37771 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37772 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37773 * sysdeps/s390/s390-32/configure: Regenerated.
37774 * sysdeps/s390/s390-64/configure: Regenerated.
37775 * sysdeps/sh/configure: Regenerated.
37776 * sysdeps/sparc/configure: Regenerated.
37777 * sysdeps/x86_64/configure: Regenerated.
37779 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37784 denormal result into account.
37786 2012-03-25 Roland McGrath <roland@hack.frob.com>
37788 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37789 Reported by Allan McRae <allan@archlinux.org>.
37791 2012-03-23 Jeff Law <law@redhat.com>
37793 * nss/getnssent.c (__nss_getent): Fix typo.
37795 2012-03-23 David S. Miller <davem@davemloft.net>
37797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37799 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37801 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37802 to pad to uint64_t for each field.
37803 (dl_tls_index): Replace unsigned long with uint64_t.
37805 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37806 Paul Pluzhnikov <ppluzhnikov@google.com>
37809 * grp/Makefile (otherlibs): Don't set it.
37810 * inet/Makefile (otherlibs): Likewise.
37811 * login/Makefile (otherlibs): Likewise.
37812 * nscd/Makefile (otherlibs): Likewise.
37813 * posix/Makefile (otherlibs): Likewise.
37814 * pwd/Makefile (otherlibs): Likewise.
37815 * rt/Makefile (otherlibs): Likewise.
37816 * sunrpc/Makefile (otherlibs): Likewise.
37817 * nss/Makefile (otherlibs): Likewise.
37818 Add libnss_files to routines and static-only-routines.
37819 ($(objpfx)getent): Remove rule.
37820 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37821 static-only-routines.
37823 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37826 * math/s_cexp.c: Include <float.h>.
37827 (__cexp): Handle exp result overflowing not necessarily
37828 overflowing both real and imaginary parts of result.
37829 * math/s_cexpf.c: Likewise.
37830 * math/s_cexpl.c: Likewise.
37831 * math/libm-test.inc (cexp_test): Add more tests.
37832 * sysdeps/i386/fpu/libm-test-ulps: Update.
37833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37835 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37837 * include/link.h (ELFW): New macro.
37838 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37839 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37841 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37843 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37846 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37848 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37850 (struct La_x32_retval): Likewise.
37852 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37854 * sysdeps/x86_64/preconfigure.in: New file.
37855 * sysdeps/x86_64/preconfigure: New generated file.
37857 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37860 * math/e_exp2l.c: Include <float.h>.
37861 (__ieee754_exp2l): Handle overflow and underflow cases
37862 separately. Only pass fractional part of argument to
37864 * math/libm-test.inc (exp2_test): Add more tests.
37866 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37867 negating x to take absolute value.
37868 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37870 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37871 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37873 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37874 computing low part if x was negated.
37875 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37877 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37879 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37880 la_x32_gnu_pltexit.
37881 (pltexit): Cast int_retval to ptrdiff_t.
37882 * elf/tst-auditmod3b.c: Likewise.
37883 * elf/tst-auditmod4b.c: Likewise.
37884 * elf/tst-auditmod5b.c: Likewise.
37885 * elf/tst-auditmod6b.c: Likewise.
37886 * elf/tst-auditmod6c.c: Likewise.
37887 * elf/tst-auditmod7b.c: Likewise.
37889 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37890 and x32_gnu_pltexit.
37892 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37893 __ELF_NATIVE_CLASS.
37894 (La_x32_regs): New macro.
37895 (La_x32_retval): Likewise.
37896 (la_x32_gnu_pltenter): New function prototype.
37897 (la_x32_gnu_pltexit): Likewise.
37899 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37901 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37906 * configure.in (libc_cv_cc_nofma): Check for option to disable
37907 generation of FMA instructions.
37908 * configure: Regenerate.
37909 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37910 * sysdeps/ieee754/dbl-64/Makefile: New file.
37911 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37912 Remove brandred-fma4.
37913 (CFLAGS-brandred-fma4.c): Remove.
37914 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37915 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37917 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37920 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37922 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37923 LLONG_MAX != LONG_MAX.
37924 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37925 (_fitoa_word): Likewise.
37926 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37927 LLONG_MAX != LONG_MAX.
37928 * stdio-common/_itowa.h: Include <_itoa.h>.
37929 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37930 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37931 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37932 only if not defined.
37933 (_ITOA_WORD_TYPE): Likewise.
37934 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37935 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37937 2012-03-21 David S. Miller <davem@davemloft.net>
37939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37941 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37943 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37944 of x86_64 when setting libc_cv_slibdir, libdir and
37946 * sysdeps/unix/sysv/linux/configure: Regenerated.
37948 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37950 * manual/lang.texi (Old Varargs): Remove section.
37951 (How Variadic): Update menu.
37952 (va_start): Do not mention varargs.h.
37954 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37955 Joseph Myers <joseph@codesourcery.com>
37957 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37959 * configure: Regenerated.
37961 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37963 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37964 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37967 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37970 * Makefile (files-for-dist): Remove NOTES.
37971 (NOTES): Remove rule.
37972 * README: Don't refer to NOTES.
37973 * manual/creature.texi: Don't include macros.texi.
37974 * manual/intro.texi (creature.texi): Remove comment referring to
37977 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37978 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37979 * configure: Regenerated.
37980 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37981 LIBC_TRY_CC_OPTION.
37982 (libc_cv_as_i686): Likewise.
37983 (libc_cv_cc_avx): Likewise.
37984 (libc_cv_cc_sse2avx): Likewise.
37985 (libc_cv_cc_fma4): Likewise.
37986 (libc_cv_cc_novzeroupper): Likewise.
37987 * sysdeps/i386/configure: Regenerated.
37990 * sysdeps/i386/fpu/s_cexp.S: Remove.
37991 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37992 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37993 * math/libm-test.inc (cexp_test): Add more tests.
37994 * sysdeps/i386/fpu/libm-test-ulps: Update.
37995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37997 2012-03-21 Allan McRae <allan@archlinux.org>
37999 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38001 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38004 * math/w_exp2.c: Do not include <float.h>.
38005 (o_threshold, u_threshold): Remove.
38006 (__exp2): Calculate result before checking finiteness and calling
38008 * math/w_exp2f.c: Likewise.
38009 * math/w_exp2l.c: Likewise.
38010 * math/libm-test.inc (exp2_test): Require overflow exception for
38014 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38015 range of signed 64-bit integers before using fistpll. Remove
38016 checks for whether integers fit in mantissa bits.
38017 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38018 the range of signed 32-bit integers before using fistpl. Remove
38019 checks for whether integers fit in mantissa bits.
38020 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38021 (__ieee754_powl): Test for y outside the range of signed 64-bit
38022 integers before using fistpll. Reduce 64-bit values to 63-bit
38024 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38025 divide-by-zero is raised for zero to large negative powers.
38026 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38027 (__ieee754_powl): Test for y outside the range of signed 64-bit
38028 integers before using fistpll. Reduce 64-bit values to 63-bit
38030 * math/libm-test.inc (pow_test): Add more tests.
38032 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38034 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38035 <stdio-common/_itoa.h>.
38036 * debug/segfault.c: Likewise.
38037 * elf/dl-cache.c: Likewise.
38038 * elf/dl-minimal.c: Likewise.
38039 * elf/dl-misc.c: Likewise.
38040 * elf/dl-sysdep.c: Likewise.
38041 * elf/dl-version.c: Likewise.
38042 * elf/rtld.c: Likewise.
38043 * hurd/hurdsock.c: Likewise.
38044 * hurd/lookup-retry.c: Likewise.
38045 * malloc/malloc.c: Likewise.
38046 * malloc/mtrace.c: Likewise.
38047 * nscd/nscd_getgr_r.c: Likewise.
38048 * nscd/nscd_getpw_r.c: Likewise.
38049 * nscd/nscd_getserv_r.c: Likewise.
38050 * posix/getopt_init.c: Likewise.
38051 * posix/wordexp.c: Likewise.
38052 * stdio-common/_itoa.c: Likewise.
38053 * stdio-common/printf_fphex.c: Likewise.
38054 * stdio-common/vfprintf.c: Likewise.
38055 * string/_strerror.c: Likewise.
38056 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38057 * sysdeps/i386/i686/hp-timing.h: Likewise.
38058 * sysdeps/mach/_strerror.c: Likewise.
38059 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38060 * sysdeps/mach/hurd/sethostid.c: Likewise.
38061 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38062 * sysdeps/mach/xpg-strerror.c: Likewise.
38063 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38064 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38065 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38066 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38067 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38068 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38069 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38070 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38071 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38072 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38073 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38074 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38075 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38076 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38077 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38078 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38079 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38080 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38081 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38082 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38083 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38085 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38087 * stdio-common/_itoa.h: Moved to ...
38088 * sysdeps/generic/_itoa.h: Here.
38090 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38092 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38093 instead of "_itoa.h" and "_itowa.h".
38094 * stdio-common/vfprintf.: Likewise.
38096 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38098 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38100 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38101 (__signbit): Likwise.
38102 (llrintf): Likwise.
38105 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38107 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38110 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38112 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38113 OVERFLOW_EXCEPTION_OK.
38114 * math/libm-test.inc ("Philosophy"): Update comment about
38116 (OVERFLOW_EXCEPTION): Define.
38117 (OVERFLOW_EXCEPTION_OK): Likewise.
38118 (INVALID_EXCEPTION_OK): Renumber.
38119 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38120 (IGNORE_ZERO_INF_SIGN): Likewise.
38121 (test_exceptions): Handle FE_OVERFLOW.
38122 (exp10_test): Expect overflow exceptions.
38123 (exp2_test): Likewise.
38124 (expm1_test): Likewise.
38125 (nextafter_test): Likewise.
38126 (pow_test): Likewise.
38127 (scalbn_test): Likewise.
38128 (scalbln_test): Likewise.
38130 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38132 * sysdeps/x86_64/bits/atomic.h
38133 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38135 (atomic_exchange_acq): Likewise.
38136 (__arch_exchange_and_add_body): Likewise.
38137 (__arch_add_body): Likewise.
38138 (atomic_add_negative): Likewise.
38139 (atomic_add_zero): Likewise.
38141 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38143 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38144 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38146 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38148 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38149 Check __x86_64__ instead of __WORDSIZE.
38151 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38153 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38155 2012-03-19 David S. Miller <davem@davemloft.net>
38157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38159 * sysdeps/sparc/fpu/fenv_private.h: New file.
38160 * sysdeps/sparc/fpu/math_private.h: Use it.
38161 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38163 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38164 (libc_feholdexcept_setroundl): Remove.
38165 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38167 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38168 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38170 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38172 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38173 int64_t instead of long int.
38174 (INSERT_WORDS64): Likwise.
38176 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38178 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38179 _Unwind_GetCFA return to _Unwind_Ptr first.
38181 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38184 * math/s_clog.c: Include <float.h>.
38185 (__clog): Scale large or subnormal inputs.
38186 * math/s_clogf.c: Likewise.
38187 * math/s_clogl.c: Likewise.
38188 * math/s_clog10.c: Include <float.h>.
38189 (M_LOG10_2): Define.
38190 (__clog10): Scale large or subnormal inputs.
38191 * math/s_clog10f.c: Likewise.
38192 * math/s_clog10l.c: Likewise.
38193 * math/libm-test.inc (clog_test): Add more tests.
38194 (clog10_test): Likewise.
38195 * sysdeps/i386/fpu/libm-test-ulps: Update.
38196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38199 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38201 * math/libm-test.inc (atan2_test): Add another test.
38203 * Makerules (common-objdir-compile): Remove.
38204 * sysdeps/unix/Makefile (config-generated): Do not add
38205 $(unix-generated) to variable.
38206 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38207 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38209 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38211 [generic bits/local_lim.h] (before-compile): Do not append to
38213 [generic bits/local_lim.h] (common-generated): Likewise.
38214 [generic sys/param.h] (before-compile): Do not append to variable.
38215 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38216 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38217 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38218 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38220 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38221 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38222 [generic sys/param.h] ($(addprefix
38223 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38224 [generic sys/param.h] (common-generated): Do not append to
38226 [generic sys/param.h] (sysdep_headers): Likewise.
38227 [generic bits/errno.h] (before-compile): Do not append to
38229 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38231 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38232 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38233 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38234 [generic bits/errno.h] (common-generated): Do not append to
38236 [generic bits/ioctls.h] (before-compile): Do not append to
38238 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38240 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38241 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38242 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38244 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38245 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38246 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38247 [generic bits/ioctls.h] (common-generated): Do not append to
38249 [generic sys/syscall.h] (syscall.h): Remove variable.
38250 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38252 [generic sys/syscall.h] (before-compile): Do not append to
38254 [generic sys/syscall.h] (common-generated): Likewise.
38255 * sysdeps/unix/errnos-tmpl.c: Remove file.
38256 * sysdeps/unix/errnos.awk: Likewise.
38257 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38258 * sysdeps/unix/ioctls.awk: Likewise.
38259 * sysdeps/unix/mk-local_lim.c: Likewise.
38260 * sysdeps/unix/snarf-ioctls: Likewise.
38262 2012-03-19 Richard Henderson <rth@twiddle.net>
38264 * sysdeps/i386/fpu/fenv_private.h: New file.
38265 * sysdeps/i386/fpu/math_private.h: Use it.
38266 (math_opt_barrier, math_force_eval): Remove.
38267 (libc_feholdexcept_setround_53bit): Remove.
38268 (libc_feupdateenv_53bit): Remove.
38269 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38270 (math_opt_barrier, math_force_eval): Remove.
38271 (libc_feholdexcept): Remove.
38272 (libc_feholdexcept_setround): Remove.
38273 (libc_fetestexcept, libc_fesetenv): Remove.
38274 (libc_feupdateenv_test): Remove.
38275 (libc_feupdateenv, libc_feholdsetround): Remove.
38276 (libc_feresetround): Remove.
38278 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38279 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38281 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38282 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38283 (libc_feupdateenv_testl): New.
38284 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38285 (libc_feupdateenv_testf): New.
38286 (libc_feupdateenv): Use libc_feupdateenv_test.
38287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38288 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38290 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38291 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38292 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38293 (libc_feresetround_noex): New.
38294 (libc_feresetround_noexf): New.
38295 (libc_feresetround_noexl): New.
38296 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38297 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38298 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38299 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38301 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38302 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38304 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38305 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38306 SET_RESTORE_ROUND_NOEX.
38307 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38308 SET_RESTORE_ROUND_NOEXF.
38309 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38310 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38311 (libc_feholdsetroundf): New.
38312 (libc_feresetround, libc_feresetroundf): New.
38314 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38315 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38316 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38318 * sysdeps/generic/math_private.h: Include <fenv.h>.
38319 (default_libc_feholdexcept): New.
38320 (default_libc_feholdexcept_setround): New.
38321 (default_libc_fesetenv, default_libc_feupdateenv): New.
38322 (libc_feholdexcept): Only define if undefined.
38323 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38324 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38325 (libc_feholdexcept_setroundl): Likewise.
38326 (libc_feholdexcept_setround_53bit): Likewise.
38327 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38328 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38329 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38330 (libc_feupdateenv_53bit): Likewise.
38331 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38332 (libc_feholdexcept): Convert from macro to inline function.
38333 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38334 (libc_fesetenv, libc_feupdateenv): Likewise.
38336 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38337 not previously defined.
38338 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38339 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38340 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38341 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38342 * sysdeps/ieee754/flt-32/math_private.h: New file.
38343 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38344 math_private.h below SET_FLOAT_WORD.
38345 (__isnan, __isinf_ns, __finite): Remove.
38346 (__isnanf, __isinf_nsf, __finitef): Remove.
38348 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38352 2012-03-17 David S. Miller <davem@davemloft.net>
38355 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38358 2012-03-16 David S. Miller <davem@davemloft.net>
38360 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38364 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38366 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38367 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38368 sysdep_routines when subdir is sysvipc.
38369 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38370 __getshmlba helper.
38372 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38374 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38376 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38379 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38381 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38382 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38383 (__lround): Renamed to ...
38384 (__llround): This. Replace long int with long long int.
38385 Define lround functions as aliases of llround functions.
38386 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38388 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38390 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38391 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38392 adresses to uintptr_t. Replace "long int" and "unsigned long
38393 int" with "greg_t" on va_arg.
38395 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38397 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38398 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38400 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38401 Move e_machine check before EI_CLASS check. Handle x32
38402 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38403 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38404 SKIP_EM_IA_64 and include
38405 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38407 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38408 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38409 (add_system_dir): New macro.
38411 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38412 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38414 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38425 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38427 * math/w_j0f.c (j0f): Likewise.
38429 * math/w_j0l.c (__j0l): Likewise.
38431 * math/w_j1.c (j1): Likewise.
38433 * math/w_j1f.c (j1f): Likewise.
38435 * math/w_j1l.c (__j1l): Likewise.
38437 * math/w_jn.c (jn): Likewise.
38439 * math/w_jnf.c (jnf): Likewise.
38441 * math/w_jnl.c (__jnl): Likewise.
38443 * math/libm-test.inc (j0_test): Add more tests.
38444 (j1_test): Likewise.
38445 (jn_test): Likewise. Add trailing semicolon to existing test.
38446 (y0_test): Likewise.
38447 (y1_test): Likewise.
38448 * sysdeps/i386/fpu/libm-test-ulps: Update.
38449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38453 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38454 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38455 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38456 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38457 (__tanl): Set errno for infinite argument.
38458 * sysdeps/i386/fpu/mptan.c: Remove.
38459 * sysdeps/i386/fpu/s_tan.S: Likewise.
38460 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38461 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38462 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38463 * math/libm-test.inc (tan_test): Add more tests and enable more
38464 tests for double and long double.
38465 * sysdeps/i386/fpu/libm-test-ulps: Update.
38466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38468 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38470 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38471 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38473 2012-03-16 Roland McGrath <roland@hack.frob.com>
38475 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38476 * configure.in: Use it for both main tree and add-ons.
38477 * configure: Regenerated.
38479 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38481 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38483 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38485 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38489 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38490 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38491 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38492 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38493 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38495 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38496 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38497 != 0 for prec == 2.
38498 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38499 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38500 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38501 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38502 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38503 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38504 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38505 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38506 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38507 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38508 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38509 * math/libm-test.inc (cos_test): Add more tests and enable more
38510 tests for long double.
38511 (sin_test): Likewise.
38512 (sincos_test): Likewise.
38513 * sysdeps/i386/fpu/libm-test-ulps: Update.
38514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38516 2012-03-16 David S. Miller <davem@davemloft.net>
38518 * sysdeps/sparc/fpu/math_private.h: New file.
38520 2012-03-15 David S. Miller <davem@davemloft.net>
38522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38532 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38536 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38537 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38539 * sysdeps/sparc/sparc-ifunc.h: New file.
38540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38580 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38581 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38582 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38583 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38585 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38587 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38591 2012-03-15 Andreas Jaeger <aj@suse.de>
38594 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38595 ieee754/flt-32 implementation for sin, cos and sincos.
38596 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38597 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38598 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38599 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38600 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38601 ieee754/flt-32 implementation for tan.
38603 * math/libm-test.inc (cos_test): Enable some large input tests for
38605 (sin_test): Likewise.
38606 (sincos_test): Likewise.
38607 (tan_test): Add tests for large input.
38609 * sysdeps/i386/fpu/libm-test-ulps: Update.
38611 2012-03-15 Andreas Jaeger <aj@suse.de>
38614 * math/libm-test.inc (cos_test): Add more test cases.
38615 (sin_test): Likewise.
38616 (sincos_test): Likewise.
38618 2012-03-15 Andreas Jaeger <aj@suse.de>
38621 * math/libm-test.inc (cos_test): Add a test case for large input
38623 (sin_test): Likewise.
38624 (sincos_test): Likewise.
38626 2012-03-15 Andreas Jaeger <aj@suse.de>
38627 Joseph Myers <joseph@codesourcery.com>
38630 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38631 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38632 * sysdeps/i386/fpu/branred.c: Likewise.
38633 * sysdeps/i386/fpu/dosincos.c: Likewise.
38634 * sysdeps/i386/fpu/mpa.c: Likewise.
38635 * sysdeps/i386/fpu/s_cos.S: Likewise.
38636 * sysdeps/i386/fpu/s_sin.S: Likewise.
38637 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38638 * sysdeps/i386/fpu/sincos32.c: Likewise.
38640 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38642 (libc_feupdateenv_53bit): Define.
38643 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38645 (libc_feupdateenv_53bit): Define.
38647 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38648 53 bit (without extend i386 double precision).
38650 * math/libm-test.inc (sincos_test): Add tests for large input.
38654 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38656 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38660 2012-03-15 David S. Miller <davem@davemloft.net>
38662 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38663 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38664 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38665 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38690 fmin/fmax sysdep routines.
38691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38693 2012-03-14 David S. Miller <davem@davemloft.net>
38695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38699 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38767 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38772 * sysdeps/sparc/configure.in: New file.
38773 * sysdeps/sparc/configure: Generate.
38774 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38775 * configure: Regenerate.
38776 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38777 * config.make.in (have-as-vis3): New.
38778 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38779 available use -Av9d instead of -Av9a.
38780 * sysdeps/sparc/sparc64/Makefile: Likewise.
38781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38791 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38796 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38797 fzeros/fnegs to load 0x80000000 into a float register instead of
38799 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38801 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38805 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38806 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38807 ($(inst_includedir)/bits/syscall.h): Remove rule.
38808 ($(objpfx)bits/syscall.d): Include instead of
38809 $(objpfx)syscall-list.d.
38810 (generated): Change syscall-list.h and syscall-list.d to
38811 bits/syscall.h and bits/syscall.d.
38813 2012-03-14 Roland McGrath <roland@hack.frob.com>
38816 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38818 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38821 * math/s_csqrt.c: Include <float.h>.
38822 (__csqrt): Scale large or subnormal inputs.
38823 * math/s_csqrtf.c: Likewise.
38824 * math/s_csqrtl.c: Likewise.
38825 * math/libm-test.inc (csqrt_test): Add more tests.
38826 * sysdeps/i386/fpu/libm-test-ulps: Update.
38827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38830 * math/libm-test.inc (hypot_test): Add more tests.
38832 2012-03-13 David S. Miller <davem@davemloft.net>
38835 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38836 double-precision for the calculation instead of scaling.
38838 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38840 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38841 manipulate bits before adding and subtracting TWO52[sx].
38842 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38843 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38845 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38847 2012-03-13 David S. Miller <davem@davemloft.net>
38849 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38850 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38851 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38852 rtld-global-offsets.h
38853 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38855 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38858 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38860 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38861 'err' in the ifdef scope in which it is actually used.
38863 * nss/nss_db/db-init.c: Include string.h
38865 2012-03-12 David S. Miller <davem@davemloft.net>
38867 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38868 masking out of the most significant byte of random value used.
38869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38870 Fix coding style in previous change.
38872 * sysdeps/unix/sysv/linux/kernel-features.h
38873 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38874 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38876 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38879 2012-03-11 David S. Miller <davem@davemloft.net>
38881 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38882 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38883 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38884 for 'resultvar' otherwise things get truncated on 64-bit.
38886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38887 Fix masking out of the most significant byte of random value used.
38889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38891 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38895 2012-03-09 David S. Miller <davem@davemloft.net>
38897 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38898 variables with appropriate CPP guards.
38899 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38900 from the frame pointer, not the stack pointer. Correct layout
38901 comments. Fix test on resulting framesize and the management of
38902 the outregs buffer for pltexit. Preserve floating point return
38903 values across _dl_call_pltexit call.
38904 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38905 framesize and the management of the outregs buffer for pltexit.
38906 Preserve floating point return values across _dl_call_pltexit
38908 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38909 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38910 (la_sparc64_gnu_pltexit): New functions.
38911 (print_exit): Fix format string for return register value.
38913 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38915 * sunrpc/Makefile (others): Add rpcgen.
38916 ($(objpfx)rpcgen): Remove special build rule and dependency on
38918 * sunrpc/rpcgen.c: New file.
38920 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38923 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38924 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38925 * sysdeps/i386/crti.S: Likewise.
38926 * sysdeps/i386/crtn.S: Likewise.
38927 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38928 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38929 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38930 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38931 * sysdeps/sh/crti.S: Likewise.
38932 * sysdeps/sh/crtn.S: Likewise.
38933 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38936 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38938 * locale/programs/locfile-kw.gperf: Likewise.
38939 * locale/programs/charmap-kw.h: Regenerated.
38940 * locale/programs/locfile-kw.h: Likewise.
38943 * intl/plural.y: Replace FSF snail mail address with URL.
38944 * intl/plural.c: Regenerated.
38946 2012-03-09 Richard Henderson <rth@twiddle.net>
38948 * include/math_private.h: Remove file.
38949 * math/math_private.h: Move file ...
38950 * sysdeps/generic/math_private.h: ... here.
38952 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38953 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38954 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38956 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38957 and <math_private.h>.
38958 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38959 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38960 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38961 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38962 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38963 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38964 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38966 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38967 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38969 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38970 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38971 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38972 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38973 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38974 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38975 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38976 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38977 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38979 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38980 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38982 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38983 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38984 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38985 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38986 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38987 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38988 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38990 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38991 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38992 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38993 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38994 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38996 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38997 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38998 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38999 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39000 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39001 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39002 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39003 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39004 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39006 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39007 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39008 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39009 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39010 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39011 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39012 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39013 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39014 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39015 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39016 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39017 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39018 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39019 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39020 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39021 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39022 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39023 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39024 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39025 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39026 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39027 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39028 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39029 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39030 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39031 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39032 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39034 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39035 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39036 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39037 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39038 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39039 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39040 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39041 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39042 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39044 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39045 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39046 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39047 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39048 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39049 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39050 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39051 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39052 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39053 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39054 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39055 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39056 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39057 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39058 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39059 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39060 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39061 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39062 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39063 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39064 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39065 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39066 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39067 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39068 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39069 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39070 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39071 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39072 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39073 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39074 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39075 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39076 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39077 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39078 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39079 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39080 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39081 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39082 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39083 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39084 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39085 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39086 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39087 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39088 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39089 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39090 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39091 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39092 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39093 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39094 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39095 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39096 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39097 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39098 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39099 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39100 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39101 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39102 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39103 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39104 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39105 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39106 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39107 * sysdeps/ieee754/k_standard.c: Likewise.
39108 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39109 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39110 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39111 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39112 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39113 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39114 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39115 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39116 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39117 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39118 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39119 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39120 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39121 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39122 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39123 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39124 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39125 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39126 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39127 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39128 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39129 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39130 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39131 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39132 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39133 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39134 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39135 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39136 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39137 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39138 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39139 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39140 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39141 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39142 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39143 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39144 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39145 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39146 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39147 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39148 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39149 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39150 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39151 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39152 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39153 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39154 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39155 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39156 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39157 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39158 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39159 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39160 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39161 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39162 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39163 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39164 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39165 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39166 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39167 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39168 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39169 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39170 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39171 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39172 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39173 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39174 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39175 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39176 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39177 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39180 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39181 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39182 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39183 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39184 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39185 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39186 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39187 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39188 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39189 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39190 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39191 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39192 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39193 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39194 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39195 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39196 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39198 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39199 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39200 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39201 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39202 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39203 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39204 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39205 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39206 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39207 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39209 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39210 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39211 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39212 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39213 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39214 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39215 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39216 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39217 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39218 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39219 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39220 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39221 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39222 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39223 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39224 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39225 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39226 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39227 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39228 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39229 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39230 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39231 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39232 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39233 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39234 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39235 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39236 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39237 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39238 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39239 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39240 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39241 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39242 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39243 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39244 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39245 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39246 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39247 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39248 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39249 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39250 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39251 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39252 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39254 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39255 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39256 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39257 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39258 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39259 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39260 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39261 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39262 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39263 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39264 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39265 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39266 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39267 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39268 * sysdeps/ieee754/s_lib_version.c: Likewise.
39269 * sysdeps/ieee754/s_matherr.c: Likewise.
39270 * sysdeps/ieee754/s_signgam.c: Likewise.
39271 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39272 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39273 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39274 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39275 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39276 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39277 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39278 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39279 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39280 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39281 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39282 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39283 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39284 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39285 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39286 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39287 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39288 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39289 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39293 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39295 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39296 * sunrpc/rpc_main.c: Likewise.
39297 * sunrpc/rpc_svcout.c: Likewise.
39299 2012-03-09 David S. Miller <davem@davemloft.net>
39301 * include/math_private.h: New file.
39303 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39305 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39306 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39307 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39308 from <bits/socket_type.h>.
39309 (enum __socket_type): Don't define here.
39310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39312 bits/socket_type.h.
39315 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39316 checking __USE_GNU.
39318 * Makerules ($(inst_includedir)/%.h): New rule.
39319 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39320 (install-others): Remove variable setting.
39321 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39323 2012-03-08 Richard Henderson <rth@twiddle.net>
39325 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39326 from macro to inline function; merge with the
39327 !__LIBC_INTERNAL_MATH_INLINES version.
39328 (__ieee754_sqrtf): Likewise.
39330 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39331 to inline function.
39332 (__rintf, __floor, __floorf): Likewise.
39334 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39335 macro to inline function.
39336 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39338 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39339 not <math/math_private.h>.
39341 2012-03-08 David S. Miller <davem@davemloft.net>
39343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39345 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39347 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39349 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39351 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39352 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39354 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39356 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39357 be defined individually, they must be defined as a block. Define
39358 S for printing a string instead of hidint the different by using a
39359 macro for adding the 'l'.
39360 * stdio-common/tst-fphex-wide.c: Adjust.
39362 2012-03-07 Marek Polacek <polacek@redhat.com>
39364 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39366 2012-03-08 Marek Polacek <polacek@redhat.com>
39369 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39370 * stdio-common/tst-fphex.c: Define a few macros to make the
39371 test reusable. Use them.
39372 * stdio-common/tst-fphex-wide.c: New file.
39374 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39377 * manual/macros.texi (gnusystems): New macro.
39378 (nongnusystems): Likewise.
39379 (gnulinuxhurdsystems): Likewise.
39380 (gnuhurdsystems): Likewise..
39381 (gnulinuxsystems): Likewise.
39382 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39383 variants of the GNU system, not "GNU system".
39384 * manual/conf.texi: Likewise.
39385 * manual/errno.texi: Likewise. Update example of errno macro
39387 * manual/filesys.texi: Likewise.
39388 (getumask): Document as specific to GNU/Hurd.
39389 * manual/install.texi: Likewise. Reword some references to
39391 * manual/intro.texi: Likewise.
39392 * manual/io.texi: Likewise.
39393 (File Name Portability): Detail which constraints are inapplicable
39394 to all GNU systems and which are only inapplicable to GNU/Hurd.
39395 * manual/job.texi: Likewise.
39396 * manual/llio.texi: Likewise.
39397 (O_NOCTTY): Document as present on GNU/Linux.
39398 * manual/maint.texi: Likewise.
39399 * manual/memory.texi: Likewise.
39400 * manual/pattern.texi: Likewise.
39401 * manual/pipe.texi: Likewise.
39402 * manual/process.texi: Likewise.
39403 * manual/resource.texi: Likewise.
39404 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39406 * manual/setjmp.texi: Likewise.
39407 * manual/signal.texi: Likewise.
39408 * manual/startup.texi: Likewise.
39409 * manual/stdio.texi: Likewise.
39410 * manual/terminal.texi: Likewise.
39411 (ONLCR): Document as POSIX.
39412 (OXTABS): Document availability on GNU/Linux as XTABS.
39413 (ONOEOT): Document availability separately from other bits.
39414 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39415 * manual/time.texi: Likewise.
39416 * manual/users.texi: Likewise.
39417 * INSTALL: Regenerated.
39418 * sysdeps/gnu/errlist.c: Regenerated.
39420 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39421 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39422 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39424 * configure: Regenerated.
39426 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39428 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39429 default includes instead of AC_HEADER_CHECK.
39430 * sysdeps/i386/configure: Regenerated.
39433 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39434 * math/s_cacoshf.c (__cacoshf): Likewise.
39435 * math/s_cacoshl.c (__cacoshl): Likewise.
39436 * math/s_casinh.c (__casinh): Set signs of result from argument.
39437 * math/s_casinhf.c (__casinhf): Likewise.
39438 * math/s_casinhl.c (__casinhl): Likewise.
39439 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39440 (casinh_test): Add more tests.
39441 * sysdeps/i386/fpu/libm-test-ulps: Update.
39442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39444 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39446 * po/zh_TW.po: Update from translation team.
39448 * login/Makefile (distribute): Remove variable.
39449 * catgets/Makefile: Likewise.
39450 * mach/Makefile: Likewise.
39451 * malloc/Makefile: Likewise.
39452 * misc/Makefile: Likewise.
39453 * iconv/Makefile: Likewise.
39454 * nscd/Makefile: Likewise.
39455 * hurd/Makefile: Likewise.
39456 * manual/Makefile: Likewise.
39457 * locale/Makefile: Likewise.
39458 * intl/Makefile: Likewise.
39459 * conform/Makefile: Likewise.
39460 * nss/Makefile: Likewise.
39461 * time/Makefile: Likewise.
39462 * soft-fp/Makefile: Likewise.
39463 * dirent/Makefile: Likewise.
39464 * gmon/Makefile: Likewise.
39465 * po/Makefile: Likewise.
39466 * rt/Makefile: Likewise.
39467 * socket/Makefile: Likewise.
39468 * math/Makefile: Likewise.
39469 * signal/Makefile: Likewise.
39470 * debug/Makefile: Likewise.
39471 * elf/Makefile: Likewise.
39472 * timezone/Makefile: Likewise.
39473 * stdlib/Makefile: Likewise.
39474 * iconvdata/Makefile: Likewise.
39475 * sunrpc/Makefile: Likewise.
39476 * io/Makefile: Likewise.
39477 * argp/Makefile: Likewise.
39478 * inet/Makefile: Likewise.
39479 * hesiod/Makefile: Likewise.
39480 * grp/Makefile: Likewise.
39481 * csu/Makefile: Likewise.
39482 * wctype/Makefile: Likewise.
39483 * crypt/Makefile: Likewise.
39484 * libio/Makefile: Likewise.
39485 * string/Makefile: Likewise.
39486 * nis/Makefile: Likewise.
39487 * resolv/Makefile: Likewise.
39488 * stdio-common/Makefile: Likewise.
39489 * wcsmbs/Makefile: Likewise.
39490 * dlfcn/Makefile: Likewise.
39491 * posix/Makefile: Likewise.
39494 * timezone/Makefile: Don't install timezone files, just the programs
39497 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39499 * nss/databases.def: Add missing gshadow entry.
39501 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39503 2012-03-06 Marek Polacek <polacek@redhat.com>
39506 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39507 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39508 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39509 * stdio-common/tst-long-dbl-fphex.c: New file.
39511 2012-03-06 David S. Miller <davem@davemloft.net>
39513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39514 (set_obp_int): New function.
39515 (get_obp_int): New function.
39516 (__get_clockfreq_via_dev_openprom): Likewise.
39517 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39518 Avoid unused variable warnings on 'val' and use builtin_expect.
39519 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39521 (INLINE_CLONE_SYSCALL): Likewise.
39523 2012-03-05 David S. Miller <davem@davemloft.net>
39525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39527 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39531 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39532 only for |x| >= 40.
39533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39535 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39537 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39538 Replace gettimeofday with __vdso_gettimeofday.
39540 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39541 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39542 __vdso_clock_gettime and __vdso_getcpu.
39544 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39545 time with __vdso_time.
39547 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39549 * manual/lang.texi (size_t): Note types to which size_t may be
39550 equivalent with the GNU C Library, but do not describe when
39551 differences between them are significant.
39553 2012-03-05 Andreas Jaeger <aj@suse.de>
39555 * sysdeps/i386/fpu/libm-test-ulps: Update.
39557 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39560 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39561 (__ieee754_pow): Save and restore rounding mode and use
39562 round-to-nearest for main computations.
39563 * math/libm-test.inc (pow_test_tonearest): New function.
39564 (pow_test_towardzero): Likewise.
39565 (pow_test_downward): Likewise.
39566 (pow_test_upward): Likewise.
39567 (main): Call the new functions.
39568 * sysdeps/i386/fpu/libm-test-ulps: Update.
39569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39572 * math/libm-test.inc (cosh_test_tonearest): New function.
39573 (cosh_test_towardzero): Likewise.
39574 (cosh_test_downward): Likewise.
39575 (cosh_test_upward): Likewise.
39576 (sinh_test_tonearest): Likewise.
39577 (sinh_test_towardzero): Likewise.
39578 (sinh_test_downward): Likewise.
39579 (sinh_test_upward): Likewise.
39580 (main): Call the new functions.
39581 * sysdeps/i386/fpu/libm-test-ulps: Update.
39582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39584 2012-03-05 Tom de Vries <tom@codesourcery.com>
39586 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39587 default stack guard is set in last bytes.
39588 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39590 2012-03-05 Kees Cook <keescook@chromium.org>
39592 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39595 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39596 possibly allocate from heap instead of stack.
39597 * stdio-common/bug-vfprintf-nargs.c: New file.
39598 * stdio-common/Makefile (tests): Add nargs overflow test.
39600 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39604 2012-03-03 Marek Polacek <polacek@redhat.com>
39606 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39607 * math/math_private.h: Likewise.
39608 * stdlib/tst-strtod.c: Likewise.
39609 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39610 * sysdeps/x86_64/bits/atomic.h: Likewise.
39612 2012-03-02 David S. Miller <davem@davemloft.net>
39614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39618 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39619 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39620 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39621 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39623 2012-03-02 Roland McGrath <roland@hack.frob.com>
39626 * manual/examples/README: New file, says the example source files
39627 can be used under GPL>=2.
39628 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39629 line containing just "*/".
39630 * manual/examples/add.c: Add copyright header (GPL>=2).
39631 * manual/examples/argp-ex1.c: Likewise.
39632 * manual/examples/argp-ex2.c: Likewise.
39633 * manual/examples/argp-ex3.c: Likewise.
39634 * manual/examples/argp-ex4.c: Likewise.
39635 * manual/examples/atexit.c: Likewise.
39636 * manual/examples/db.c: Likewise.
39637 * manual/examples/dir.c: Likewise.
39638 * manual/examples/dir2.c: Likewise.
39639 * manual/examples/execinfo.c: Likewise.
39640 * manual/examples/filecli.c: Likewise.
39641 * manual/examples/filesrv.c: Likewise.
39642 * manual/examples/fmtmsgexpl.c: Likewise.
39643 * manual/examples/genpass.c: Likewise.
39644 * manual/examples/inetcli.c: Likewise.
39645 * manual/examples/inetsrv.c: Likewise.
39646 * manual/examples/isockad.c: Likewise.
39647 * manual/examples/longopt.c: Likewise.
39648 * manual/examples/memopen.c: Likewise.
39649 * manual/examples/memstrm.c: Likewise.
39650 * manual/examples/mkfsock.c: Likewise.
39651 * manual/examples/mkisock.c: Likewise.
39652 * manual/examples/mygetpass.c: Likewise.
39653 * manual/examples/pipe.c: Likewise.
39654 * manual/examples/popen.c: Likewise.
39655 * manual/examples/rprintf.c: Likewise.
39656 * manual/examples/search.c: Likewise.
39657 * manual/examples/select.c: Likewise.
39658 * manual/examples/setjmp.c: Likewise.
39659 * manual/examples/sigh1.c: Likewise.
39660 * manual/examples/sigusr.c: Likewise.
39661 * manual/examples/stpcpy.c: Likewise.
39662 * manual/examples/strdupa.c: Likewise.
39663 * manual/examples/strftim.c: Likewise.
39664 * manual/examples/strncat.c: Likewise.
39665 * manual/examples/subopt.c: Likewise.
39666 * manual/examples/swapcontext.c: Likewise.
39667 * manual/examples/termios.c: Likewise.
39668 * manual/examples/testopt.c: Likewise.
39669 * manual/examples/testpass.c: Likewise.
39670 * manual/examples/timeval_subtract.c: Likewise.
39673 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39675 * manual/timeval_subtract.c.texi: ... here, new file.
39677 2012-03-02 David S. Miller <davem@davemloft.net>
39679 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39681 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39684 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39685 (__sin): Save and restore rounding mode and use round-to-nearest
39686 for all computations.
39687 (__cos): Save and restore rounding mode and use round-to-nearest
39688 for all computations.
39689 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39691 (tan): Save and restore rounding mode and use round-to-nearest for
39693 * math/libm-test.inc (cos_test_tonearest): New function.
39694 (cos_test_towardzero): Likewise.
39695 (cos_test_downward): Likewise.
39696 (cos_test_upward): Likewise.
39697 (sin_test_tonearest): Likewise.
39698 (sin_test_towardzero): Likewise.
39699 (sin_test_downward): Likewise.
39700 (sin_test_upward): Likewise.
39701 (tan_test_tonearest): Likewise.
39702 (tan_test_towardzero): Likewise.
39703 (tan_test_downward): Likewise.
39704 (tan_test_upward): Likewise.
39705 (main): Call the new functions.
39706 * sysdeps/i386/fpu/libm-test-ulps: Update.
39707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39710 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39711 small n, then large n, before computing and testing k+n.
39712 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39717 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39718 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39719 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39720 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39721 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39722 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39723 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39724 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39725 * math/libm-test.inc (scalbn_test): Add more tests.
39726 (scalbln_test): Likewise.
39728 * manual/filesys.texi (mode_t): Describe constraints on size and
39729 signedness, not exact equivalence to a particular type.
39731 (ino64_t): Likewise.
39733 (nlink_t): Likewise.
39734 (blkcnt_t): Likewise.
39735 (blkcnt64_t): Likewise.
39736 * manual/llio.texi (off_t): Likewise.
39739 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39740 (__ieee754_exp): Save and restore rounding mode and use
39741 round-to-nearest for all computations.
39742 * math/libm-test.inc (exp_test_tonearest): New function.
39743 (exp_test_towardzero): Likewise.
39744 (exp_test_downward): Likewise.
39745 (exp_test_upward): Likewise.
39746 (main): Call the new functions.
39747 * sysdeps/i386/fpu/libm-test-ulps: Update.
39748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39750 2012-03-01 Chris Demetriou <cgd@google.com>
39752 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39753 have predictable order.
39755 2012-03-01 David S. Miller <davem@davemloft.net>
39757 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39759 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39760 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39761 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39762 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39764 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39765 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39766 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39768 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39769 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39770 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39771 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39772 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39776 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39777 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39778 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39780 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39781 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39782 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39783 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39784 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39786 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39787 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39788 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39789 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39790 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39791 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39792 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39793 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39794 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39796 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39797 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39798 * sysdeps/sparc/elf/configure: Regenerated.
39800 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39802 * configure.in (AS, LD): Require binutils 2.20 or later.
39803 * configure: Regenerated.
39804 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39805 as required minimum version.
39806 * INSTALL: Regenerated.
39810 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39811 before squaring exponent.
39812 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39813 bottom long double and 27 bits of top long double before squaring
39815 * math/libm-test.inc (erfc_test): Add more tests.
39816 * sysdeps/i386/fpu/libm-test-ulps: Update.
39817 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39820 2012-03-01 Kai Tietz <ktietz@redhat.com>
39822 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39823 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39824 containing bit-fields.
39825 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39826 * soft-fp/single.h (_FP_UNION_S): Likewise.
39827 * soft-fp/double.h (_FP_UNION_D): Likewise.
39829 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39832 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39833 not include ../strcmp.S.
39834 [USE_AS_STRNCASECMP_L]: Likewise.
39835 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39836 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39837 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39838 (__strncasecmp_l_ia32): Define as alias to
39839 __strncasecmp_l_nonascii.
39842 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39843 * sysdeps/i386/fpu/libm-test-ulps: Update.
39844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39846 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39849 2012-02-29 Jeff Law <law@redhat.com>
39851 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39852 out of bounds read.
39854 2012-02-29 Marek Polacek <polacek@redhat.com>
39857 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39858 * elf/Makefile: Add rules to run tst-unused-dep.out.
39860 2012-02-28 David S. Miller <davem@davemloft.net>
39862 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39863 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39865 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39866 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39867 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39869 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39871 * math/libm-test.inc (llround_test): Move one test from
39872 lround_test. Use TEST_f_L in moved test.
39873 (lround_test): Move misplaced test to llround_test. Add testcase
39876 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39878 * sysdeps/x86_64/fpu/e_expf.S: New file.
39879 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39881 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39884 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39885 of remain_len that may cause incomplete multi-byte character and
39887 * posix/bug-regex33.c: New file.
39888 * posix/Makefile (tests): Add bug-regex33.
39890 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39892 * manual/macros.texi: New file.
39893 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39894 * manual/libc.texinfo: Include macros.texi.
39895 * manual/creatute.texi: Likewise.
39896 * manual/install.texi: Likewise.
39897 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39898 @glibcadj{} in references to the GNU C Library.
39899 * manual/charset.texi: Likewise.
39900 * manual/conf.texi: Likewise.
39901 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39902 when not using those macros.
39903 * manual/creature.texi: Likewise.
39904 * manual/crypt.texi: Likewise.
39905 * manual/errno.texi: Likewise.
39906 * manual/filesys.texi: Likewise.
39907 * manual/header.texi: Likewise.
39908 * manual/install.texi: Likewise.
39909 * manual/intro.texi: Likewise.
39910 * manual/io.texi: Likewise.
39911 * manual/job.texi: Likewise.
39912 * manual/lang.texi: Likewise.
39913 * manual/libc.texiinfo: Likewise.
39914 * manual/llio.texi: Likewise.
39915 * manual/locale.texi: Likewise.
39916 * manual/maint.texi: Likewise.
39917 * manual/math.texi: Likewise.
39918 * manual/memory.texi: Likewise.
39919 * manual/message.texi: Likewise.
39920 * manual/nss.texi: Likewise.
39921 * manual/pattern.texi: Likewise.
39922 * manual/process.texi: Likewise.
39923 * manual/resource.texi: Likewise.
39924 * manual/search.texi: Likewise.
39925 * manual/setjmp.texi: Likewise.
39926 * manual/signal.texi: Likewise.
39927 * manual/socket.texi: Likewise.
39928 * manual/startup.texi: Likewise.
39929 * manual/stdio.texi: Likewise.
39930 * manual/string.texi: Likewise.
39931 * manual/sysinfo.texi: Likewise.
39932 * manual/syslog.texi: Likewise.
39933 * manual/terminal.texi: Likewise.
39934 * manual/time.texi: Likewise.
39935 * manual/users.texi: Likewise.
39936 * INSTALL: Regenerated.
39937 * NOTES: Regenerated.
39938 * sysdeps/gnu/errlist.c: Regenerated.
39940 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39942 * include/dirent.h: Include <dirstream.h> before
39945 2012-02-28 David S. Miller <davem@davemloft.net>
39947 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39948 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39949 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39950 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39952 2012-02-27 David S. Miller <davem@davemloft.net>
39954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39956 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39957 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39960 frame pointer instead of stack pointer relative arg slot.
39961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39962 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39963 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39965 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39968 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39970 2012-02-27 David S. Miller <davem@davemloft.net>
39972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39976 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39977 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39978 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39979 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39981 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39983 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39984 later. Allow versions 5-9.
39985 * configure: Regenerated.
39986 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39987 required minimum version and 4.6 as recommended version. Do not
39988 mention bugs in GCC 2.7 and 2.8.
39989 * INSTALL: Regenerated.
39991 2012-02-27 David S. Miller <davem@davemloft.net>
39993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39997 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39998 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39999 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40000 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40002 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40003 manipulate bits before adding and subtracting TWO112[sx].
40004 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40006 2012-02-27 Roland McGrath <roland@hack.frob.com>
40009 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40010 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40011 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40012 being in POSIX, because they are in 1003.1-2008.
40014 * rt/tst-aio.c: Include <fcntl.h>.
40015 * rt/tst-aio7.c: Likewise.
40016 * rt/tst-aio64.c: Likewise.
40018 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40020 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40022 * manual/install.texi (--with-headers): Describe headers as
40023 interface headers, not private headers.
40024 (Specific advice for GNU/Linux systems): Describe use of headers
40025 from "make headers_install", not private headers from older
40027 * INSTALL: Regenerated.
40028 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40030 * sysdeps/unix/sysv/linux/configure: Regenerated.
40032 * manual/llio.texi (fclean): Remove documentation.
40034 * manual/Makefile (libc-texi-generated): New variable. Include
40036 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40037 $(libc-texi-generated), not duplicated list of files.
40038 (version.texi, stamp-version): New rules.
40039 (realclean): Remove $(libc-texi-generated), not individual files
40040 from that list. Do not remove dir-add.texinfo.
40041 * manual/libc.texinfo: Comment out uses of edition numbers and
40042 references to printed manual. Remove last-updated dates.
40043 (EDITION): Comment out.
40045 (VERSION, UPDATED): Remove.
40046 (version.texi): Include.
40048 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40050 * sysdeps/posix/spawni.c: Include <signal.h>.
40051 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40052 * sysdeps/pthread/aio_fsync.c: Likewise.
40054 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40056 * conform/Makefile (tests): Run only when not cross-compiling and
40057 when fast-check is not defined.
40059 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40060 * conform/data/limits.h-data: Fixes for POSIX2008.
40061 * conform/run-conformtest.sh: Run all tests.
40062 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40064 * include/bits/dlfcn.h: Likewise.
40065 * include/langinfo.h: Likewise.
40066 * include/monetary.h: Likewise.
40067 * include/sys/poll.h: Likewise.
40069 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40071 * posix/spawn.h: Define __need_sigset_t.
40072 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40073 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40074 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40075 to get sigevent_t only.
40076 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40077 only for __USE_GNU.
40078 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40079 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40080 process_vm_writev only for __USE_GNU.
40081 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40083 * conform/Makefile: For now ignore errors from run-conformtest.
40084 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40085 POSIX to avoid namespace pollution. Don't prepend headers.
40086 * conform/data/aio.h-data: Fixes for POSIX testing.
40087 * conform/data/fcntl.h-data: Likewise.
40088 * conform/data/glob.h-data: Likewise.
40089 * conform/data/grp.h-data: Likewise.
40090 * conform/data/pthread.h-data: Likewise.
40091 * conform/data/pwd.h-data: Likewise.
40092 * conform/data/signal.h-data: Likewise.
40093 * conform/data/spawn.h-data: Likewise.
40094 * conform/data/stdio.h-data: Likewise.
40095 * conform/data/stdlib.h-data: Likewise.
40096 * conform/data/stropts.h-data: Likewise.
40097 * conform/data/sys/mman.h-data: Likewise.
40098 * conform/data/sys/stat.h-data: Likewise.
40099 * conform/data/sys/types.h-data: Likewise.
40100 * conform/data/sys/wait.h-data: Likewise.
40101 * conform/data/time.h-data: Likewise.
40102 * conform/data/unistd.h-data: Likewise.
40103 * conform/data/utime.h-data: Likewise.
40105 * io/sys/stat.h: fchmod was always in POSIX.
40106 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40107 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40108 * rt/aio.h: Define __need_timespec before including <time.h>.
40109 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40110 struct. Add forward declaration of pthread_attr_t and use it in
40112 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40113 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40114 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40115 always remove CLK_TCK definition.
40117 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40119 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40121 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40123 * conform/run-conformtest.sh: New file.
40124 * conform/Makefile: Run run-conformtest for tests.
40125 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40128 * conform/data/uchar.h-data: New file.
40129 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40130 * conform/data/arpa/inet.h-data: Likewise.
40131 * conform/data/assert.h-data: Likewise.
40132 * conform/data/complex.h-data: Likewise.
40133 * conform/data/cpio.h-data: Likewise.
40134 * conform/data/ctype.h-data: Likewise.
40135 * conform/data/dirent.h-data: Likewise.
40136 * conform/data/dlfcn.h-data: Likewise.
40137 * conform/data/errno.h-data: Likewise.
40138 * conform/data/fcntl.h-data: Likewise.
40139 * conform/data/float.h-data: Likewise.
40140 * conform/data/fmtmsg.h-data: Likewise.
40141 * conform/data/fnmatch.h-data: Likewise.
40142 * conform/data/ftw.h-data: Likewise.
40143 * conform/data/glob.h-data: Likewise.
40144 * conform/data/grp.h-data: Likewise.
40145 * conform/data/iconv.h-data: Likewise.
40146 * conform/data/inttypes.h-data: Likewise.
40147 * conform/data/langinfo.h-data: Likewise.
40148 * conform/data/libgen.h-data: Likewise.
40149 * conform/data/limits.h-data: Likewise.
40150 * conform/data/locale.h-data: Likewise.
40151 * conform/data/math.h-data: Likewise.
40152 * conform/data/monetary.h-data: Likewise.
40153 * conform/data/mqueue.h-data: Likewise.
40154 * conform/data/ndbm.h-data: Likewise.
40155 * conform/data/net/if.h-data: Likewise.
40156 * conform/data/netdb.h-data: Likewise.
40157 * conform/data/netinet/in.h-data: Likewise.
40158 * conform/data/nl_types.h-data: Likewise.
40159 * conform/data/poll.h-data: Likewise.
40160 * conform/data/pthread.h-data: Likewise.
40161 * conform/data/pwd.h-data: Likewise.
40162 * conform/data/regex.h-data: Likewise.
40163 * conform/data/sched.h-data: Likewise.
40164 * conform/data/search.h-data: Likewise.
40165 * conform/data/semaphore.h-data: Likewise.
40166 * conform/data/setjmp.h-data: Likewise.
40167 * conform/data/signal.h-data: Likewise.
40168 * conform/data/spawn.h-data: Likewise.
40169 * conform/data/stdarg.h-data: Likewise.
40170 * conform/data/stdio.h-data: Likewise.
40171 * conform/data/stdlib.h-data: Likewise.
40172 * conform/data/string.h-data: Likewise.
40173 * conform/data/strings.h-data: Likewise.
40174 * conform/data/stropts.h-data: Likewise.
40175 * conform/data/sys/ipc.h-data: Likewise.
40176 * conform/data/sys/mman.h-data: Likewise.
40177 * conform/data/sys/msg.h-data: Likewise.
40178 * conform/data/sys/resource.h-data: Likewise.
40179 * conform/data/sys/select.h-data: Likewise.
40180 * conform/data/sys/sem.h-data: Likewise.
40181 * conform/data/sys/shm.h-data: Likewise.
40182 * conform/data/sys/socket.h-data: Likewise.
40183 * conform/data/sys/stat.h-data: Likewise.
40184 * conform/data/sys/statvfs.h-data: Likewise.
40185 * conform/data/sys/time.h-data: Likewise.
40186 * conform/data/sys/timeb.h-data: Likewise.
40187 * conform/data/sys/times.h-data: Likewise.
40188 * conform/data/sys/types.h-data: Likewise.
40189 * conform/data/sys/uio.h-data: Likewise.
40190 * conform/data/sys/un.h-data: Likewise.
40191 * conform/data/sys/utsname.h-data: Likewise.
40192 * conform/data/sys/wait.h-data: Likewise.
40193 * conform/data/syslog.h-data: Likewise.
40194 * conform/data/tar.h-data: Likewise.
40195 * conform/data/termios.h-data: Likewise.
40196 * conform/data/utime.h-data: Likewise.
40197 * conform/data/utmpx.h-data: Likewise.
40198 * conform/data/varargs.h-data: Likewise.
40199 * conform/data/wchar.h-data: Likewise.
40200 * conform/data/wctype.h-data: Likewise.
40201 * conform/data/wordexp.h-data: Likewise.
40203 * include/stropts.h: New file.
40204 * include/uchar.h: New file.
40205 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40206 * include/assert.h: Likewise.
40207 * include/ctype.h: Likewise.
40208 * include/dirent.h: Likewise.
40209 * include/dlfcn.h: Likewise.
40210 * include/fcntl.h: Likewise.
40211 * include/fnmatch.h: Likewise.
40212 * include/glob.h: Likewise.
40213 * include/grp.h: Likewise.
40214 * include/libio.h: Likewise.
40215 * include/locale.h: Likewise.
40216 * include/math.h: Likewise.
40217 * include/net/if.h: Likewise.
40218 * include/netdb.h: Likewise.
40219 * include/netinet/in.h: Likewise.
40220 * include/pthread.h: Likewise.
40221 * include/pwd.h: Likewise.
40222 * include/regex.h: Likewise.
40223 * include/sched.h: Likewise.
40224 * include/search.h: Likewise.
40225 * include/setjmp.h: Likewise.
40226 * include/signal.h: Likewise.
40227 * include/stdio.h: Likewise.
40228 * include/stdlib.h: Likewise.
40229 * include/string.h: Likewise.
40230 * include/sys/cdefs.h: Likewise.
40231 * include/sys/mman.h: Likewise.
40232 * include/sys/msg.h: Likewise.
40233 * include/sys/resource.h: Likewise.
40234 * include/sys/select.h: Likewise.
40235 * include/sys/socket.h: Likewise.
40236 * include/sys/stat.h: Likewise.
40237 * include/sys/statvfs.h: Likewise.
40238 * include/sys/time.h: Likewise.
40239 * include/sys/times.h: Likewise.
40240 * include/sys/uio.h: Likewise.
40241 * include/sys/utsname.h: Likewise.
40242 * include/sys/wait.h: Likewise.
40243 * include/termios.h: Likewise.
40244 * include/time.h: Likewise.
40245 * include/ulimit.h: Likewise.
40246 * include/unistd.h: Likewise.
40247 * include/utime.h: Likewise.
40248 * include/wchar.h: Likewise.
40249 * include/wctype.h: Likewise.
40250 * include/wordexp.h: Likewise.
40252 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40254 * time/time.h: TIME_UTC must be a macro.
40255 Make timespec_get available for ISO C11 only as well.
40257 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40259 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40260 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40262 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40264 * configure.in: Use -o not -a in test for unsupported multi-arch.
40266 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40268 * manual/texinfo.tex: Update to version 2012-01-19.16.
40270 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40272 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40274 2012-02-24 Roland McGrath <roland@hack.frob.com>
40277 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40278 * manual/fdl-1.3.texi: New file.
40279 * manual/fdl-1.1.texi: File removed.
40282 * manual/libc.texinfo (FDL_VERSION): New @set.
40283 Use it for mention of FDL in cover text.
40284 (Documentation License): Use it in @include file name.
40286 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40287 Roland McGrath <roland@hack.frob.com>
40290 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40291 (not LONG_LONG_MAX and LONG_LONG_MIN.
40292 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40293 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40295 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40297 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40301 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40302 manipulate bits before adding and subtracting TWO23[sx].
40303 * math/libm-test.inc (nearbyint_test): Add more tests.
40305 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40308 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40309 bits before adding and subtracting TWO23[sx].
40310 * math/libm-test.inc (rint_test): Add more tests.
40311 (rint_test_tonearest): Likewise.
40312 (rint_test_towardzero): Likewise.
40313 (rint_test_downward): Likewise.
40314 (rint_test_upward: Likewise.
40316 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40319 * include/stdc-predef.h: New file. Extracted from features.h.
40320 * include/features.h: Include stdc-predef.h.
40321 * Makefile (headers): Add stdc-predef.h.
40322 * CONFORMANCE (Compiler limitations): Update.
40324 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40326 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40328 2012-02-21 David S. Miller <davem@davemloft.net>
40330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40331 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40333 2012-02-20 David S. Miller <davem@davemloft.net>
40335 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40336 using a normal save/restore sequence, rather than allocating a
40337 dummy stack frame just to store a frame pointer and restore.
40338 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40340 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40342 * manual/install.texi: Fix stray word in line-wrapped comment.
40344 2012-02-20 David S. Miller <davem@davemloft.net>
40346 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40347 both binutils and gcc support GOTDATA.
40349 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40350 "rd %pc" in the PIC register setup sequences.
40352 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40353 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40354 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40355 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40356 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40358 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40359 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40361 (SYSCALL_ERROR_HANDLER): Likewise.
40362 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40363 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40365 (SYSCALL_ERROR_HANDLER): Likewise.
40367 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40368 (HAVE_GCC_GOTDATA): New.
40369 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40370 relocation support in both binutils and gcc.
40371 * sysdeps/sparc/elf/configure: Regenerate.
40373 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40374 * sysdeps/sparc/sparc32/elf/configure: Delete.
40375 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40376 * sysdeps/sparc/sparc64/elf/configure: Delete.
40377 * sysdeps/sparc/elf/configure.in: New file.
40378 * sysdeps/sparc/elf/configure: Generate.
40380 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40381 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40382 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40383 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40384 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40386 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40388 * manual/install.texi: Do not mention specific glibc version
40390 * manual/libc.texinfo (VERSION, UPDATED): Update.
40391 (@copying): Use @copyright{} and range of years.
40393 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40396 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40397 [crti.S not in sysdirs] (generated): Do not append.
40398 [crti.S not in sysdirs] (omit-deps): Likewise.
40399 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40400 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40401 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40402 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40403 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40405 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40406 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40407 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40408 * csu/defs.awk: Remove file.
40409 * sysdeps/generic/initfini.c: Likewise.
40410 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40412 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40415 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40417 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40418 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40419 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40420 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40421 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40422 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40424 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40425 (__EPOLL_PACKED): Define to empty if not defined by
40427 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40431 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40433 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40434 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40435 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40436 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40438 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40442 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40444 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40446 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40447 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40448 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40451 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40453 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40454 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40456 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40458 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40459 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40461 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40463 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40466 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40468 * math/w_acos.c: Use non-signaling floating-point comparisons.
40469 * math/w_acosf.c: Likewise.
40470 * math/w_acosh.c: Likewise.
40471 * math/w_acoshf.c: Likewise.
40472 * math/w_acoshl.c: Likewise.
40473 * math/w_acosl.c: Likewise.
40474 * math/w_asin.c: Likewise.
40475 * math/w_asinf.c: Likewise.
40476 * math/w_asinl.c: Likewise.
40477 * math/w_atanh.c: Likewise.
40478 * math/w_atanhf.c: Likewise.
40479 * math/w_atanhl.c: Likewise.
40480 * math/w_exp2.c: Likewise.
40481 * math/w_exp2f.c: Likewise.
40482 * math/w_exp2l.c: Likewise.
40483 * math/w_j0.c: Likewise.
40484 * math/w_j0f.c: Likewise.
40485 * math/w_j0l.c: Likewise.
40486 * math/w_j1.c: Likewise.
40487 * math/w_j1f.c: Likewise.
40488 * math/w_j1l.c: Likewise.
40489 * math/w_jn.c: Likewise.
40490 * math/w_jnf.c: Likewise.
40491 * math/w_log.c: Likewise.
40492 * math/w_log10.c: Likewise.
40493 * math/w_log10f.c: Likewise.
40494 * math/w_log10l.c: Likewise.
40495 * math/w_log2.c: Likewise.
40496 * math/w_log2f.c: Likewise.
40497 * math/w_log2l.c: Likewise.
40498 * math/w_logf.c: Likewise.
40499 * math/w_logl.c: Likewise.
40500 * math/w_sqrt.c: Likewise.
40501 * math/w_sqrtf.c: Likewise.
40502 * math/w_sqrtl.c: Likewise.
40503 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40504 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40505 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40506 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40507 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40509 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40512 * manual/string.texi (strnlen): Use correct parameter name in
40513 equivalent expression.
40515 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40518 * manual/users.texi (seteuid): Consistently use neweuid for
40521 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40524 * manual/nss.texi (Services in the NSS configuration): Correct
40525 list of services in example configuration file.
40527 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40530 * manual/arith.texi: Remove statements about negative zero
40531 behaving identically to zero.
40533 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40536 * manual/install.texi: Do not document upgrading from libc5.
40538 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40541 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40543 2012-02-18 David S. Miller <davem@davemloft.net>
40545 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40546 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40547 %o7 across the call.
40548 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40551 SETUP_PIC_REG_LEAF.
40552 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40553 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40554 * sysdeps/sparc/crtn.S: Likewise.
40556 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40558 * aout/Makefile: Remove.
40560 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40563 * manual/examples/argp-ex1.c (main): Format definition in GNU
40565 * manual/examples/argp-ex2.c (main): Likewise.
40566 * manual/examples/argp-ex3.c (main): Likewise.
40567 * manual/examples/argp-ex4.c (main): Likewise.
40568 * manual/examples/longopt.c (main): Use new-style prototype
40570 * manual/examples/strncat.c (main): Specify return type and use
40571 (void) for arguments.
40572 * manual/examples/subopt.c (main): Use char **argv argument.
40574 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40577 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40580 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40583 * manual/string.texi (strchr): Change when strchrnul is
40586 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40589 * manual/locale.texi (setlocale): Document LOCPATH.
40591 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40594 * manual/process.texi (execle): Move @dots{} before last argument.
40596 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40599 * manual/charset.texi (Generic Charset Conversion): Fix typo
40600 (LC_TYPE -> LC_CTYPE).
40602 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40605 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40606 (scalbnf): Likewise.
40607 (scalbnl): Likewise.
40608 (scalbln): Likewise.
40609 (scalblnf): Likewise.
40610 (scalblnl): Likewise.
40611 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40612 (vwarnx): Likewise.
40615 * manual/filesys.texi (telldir): Use braces around return type.
40616 * manual/llio.texi (mmap): Add space after comma.
40617 (mmap64): Likewise.
40618 * manual/math.texi (jn): Use @var{} on parameter names.
40624 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40626 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40628 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40629 (sched_get_priority_max): Likewise.
40630 * manual/signal.texi (sigvec): Add space after comma.
40631 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40633 (if_indextoname): Likewise.
40634 (if_freenameindex): Likewise.
40635 (sendto): Use ',' instead of '.' in prototype.
40636 * manual/startup.texi (syscall): Use @dots{} instead of literal
40638 * manual/stdio.texi (__fpending): Separate initial words of
40639 paragraph from @deftypefun line.
40640 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40642 (vsyslog): Use @var{} on parameter names.
40643 * manual/terminal.texi (stty): Use @var{} on parameter names.
40644 * manual/users.texi (getutmp): Use @var{} on parameter names.
40645 (getutmpx): Likewise.
40647 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40650 * manual/stdio.texi (fopen): Fix typos in description of
40653 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40656 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40657 get clock_id definition.
40659 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40662 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40663 (madvise): Cast every argument to void on its own.
40665 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40668 * manual/startup.texi (Exit Status): Fix typo.
40670 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40673 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40674 * manual/examples/argp-ex2.c: Likewise.
40675 * manual/examples/argp-ex3.c: Likewise.
40677 2012-02-16 Richard Henderson <rth@redhat.com>
40679 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40680 * sysdeps/s390/s390-32/initfini.c: Remove.
40681 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40682 * sysdeps/s390/s390-64/initfini.c: Remove.
40684 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40686 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40687 compiler output for sysdeps/generic/initfini.c.
40688 * sysdeps/sh/elf/initfini.c: Remove file.
40690 2012-02-16 David S. Miller <davem@davemloft.net>
40693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40695 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40696 * sysdeps/sparc/crti.S: New file.
40697 * sysdeps/sparc/crtn.S: New file.
40698 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40699 * sysdeps/sparc/sparc64/Makefile: Likewise.
40701 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40704 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40706 2012-02-15 Roland McGrath <roland@hack.frob.com>
40709 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40711 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40712 (write, read, close): Likewise.
40713 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40715 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40717 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40718 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40719 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40720 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40722 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40726 2012-02-14 Marek Polacek <polacek@redhat.com>
40728 * sysdeps/x86_64/crti.S: New file.
40729 * sysdeps/x86_64/crtn.S: New file.
40730 * sysdeps/x86_64/elf/initfini.c: Remove file.
40732 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40734 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40735 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40736 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40737 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40739 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40743 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40745 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40746 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40747 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40748 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40750 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40754 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40756 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40757 __feraiseexcept instead of feraiseexcept.
40759 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40760 nanosleep invocations.
40761 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40762 strings, and add error checking for a nanosleep invocations.
40764 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40766 Replace FSF snail mail address with URLs, as per GNU coding standards.
40767 Most of the snail mail addresses were wrong anyway, and omitting
40768 them makes the source code easier to maintain. Almost all of the
40769 changes are to license notices and to locale LC_IDENTIFICATION
40770 addresses, except for this one:
40771 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40772 not its snail mail address.
40774 2012-02-09 Richard Henderson <rth@twiddle.net>
40776 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40777 of kernel-features.h.
40779 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40781 2012-02-08 Marek Polacek <polacek@redhat.com>
40783 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40784 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40785 * sysdeps/gnu/_G_config.h: Likewise.
40786 * sysdeps/generic/_G_config.h: Likewise.
40788 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40790 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40794 * sysdeps/powerpc/powerpc32/crti.S: New file.
40795 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40796 * sysdeps/powerpc/powerpc64/crti.S: New file.
40797 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40799 * Makeconfig (have-initfini): Don't set.
40800 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40801 * configure.in (nopic_initfini): Don't substitute.
40802 * config.h.in (HAVE_INITFINI): Don't #undef.
40803 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40804 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40806 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40808 Support crti.S and crtn.S provided directly by architectures.
40809 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40810 [crti.S in sysdirs] (omit-deps): Likewise.
40811 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40812 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40813 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40814 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40815 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40816 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40817 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40818 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40819 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40820 compiler output for sysdeps/generic/initfini.c.
40821 * sysdeps/i386/elf/Makefile: Remove file.
40822 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40824 2012-02-07 Marek Polacek <polacek@redhat.com>
40826 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40827 * sysdeps/gnu/_G_config.h: Likewise.
40828 * sysdeps/mach/hurd/_G_config.h: Likewise.
40830 2012-02-07 Marek Polacek <polacek@redhat.com>
40832 * math/Makefile (tests): Add tst-CMPLX2.
40833 * math/tst-CMPLX2.c: New file.
40835 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40837 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40839 * math/libm-test.inc (jn_test): Add missing L suffix.
40841 2012-02-06 Marek Polacek <polacek@redhat.com>
40843 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40844 * sysdeps/i386/fpu/e_powf.S: Likewise.
40845 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40846 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40847 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40848 * sysdeps/i386/fpu/e_pow.S: Likewise.
40849 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40850 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40851 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40852 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40853 * sysdeps/i386/fpu/e_log2.S: Likewise.
40854 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40855 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40856 * sysdeps/i386/fpu/e_powl.S: Likewise.
40857 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40858 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40859 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40860 * sysdeps/i386/fpu/e_logl.S: Likewise.
40861 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40862 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40863 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40864 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40865 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40866 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40867 * sysdeps/i386/fpu/e_log.S: Likewise.
40868 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40869 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40870 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40871 * sysdeps/i386/fpu/e_logf.S: Likewise.
40872 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40873 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40874 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40875 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40876 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40877 * sysdeps/i386/fpu/e_log10.S: Likewise.
40878 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40879 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40880 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40881 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40882 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40883 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40884 * sysdeps/i386/asm-syntax.h: Likewise.
40885 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40886 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40887 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40888 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40889 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40890 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40891 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40892 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40893 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40894 * sysdeps/powerpc/sysdep.h: Likewise.
40895 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40896 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40898 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40901 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40903 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40905 * sysdeps/i386/sysdep.h: Include <features.h>.
40906 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40909 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40911 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40913 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40916 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40918 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40919 (SETUP_PIC_REG): Use GET_PC_THUNK.
40920 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40923 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40925 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40926 for non-PIC compilation.
40927 (SETUP_PIC_REG): Add .p2align directive.
40928 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40929 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40930 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40931 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40932 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40933 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40934 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40935 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40936 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40937 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40938 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40939 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40940 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40941 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40942 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40943 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40944 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40945 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40946 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40947 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40948 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40949 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40950 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40951 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40952 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40953 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40954 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40955 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40956 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40957 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40958 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40959 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40960 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40961 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40962 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40963 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40964 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40965 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40966 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40967 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40968 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40970 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40972 * math/tst-CMPLX.c: Include <stdio.h>.
40974 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40976 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40978 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40979 * sysdeps/sparc/bits/mathdef.h: Likewise.
40981 2012-01-31 Marek Polacek <polacek@redhat.com>
40983 * libio/libio.h: Don't define _PARAMS.
40984 * locale/programs/config.h: Don't define PARAMS.
40985 * stdlib/strtol_l.c: Likewise.
40986 (__strtol_l): Remove PARAMS from the prototype.
40988 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40990 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40991 names. Just use the correct names. Remove unnecessary wrapper
40993 * malloc/arena.c: Likewise.
40994 * malloc/hooks.c: Likewise.
40996 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40997 ARENA_TEST says not to. Simplify test for creation of a new arena.
40998 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41000 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41002 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41004 (update_get_addr): New function.
41005 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41006 GET_ADDR_MODULE parameter.
41008 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41010 * crypt/cert.c: Remove __STDC__ conditionals.
41011 * crypt/crypt-entry.c: Likewise.
41012 * crypt/crypt_util.c: Likewise.
41013 * libio/filedoalloc.c: Likewise.
41014 * libio/fileops.c: Likewise.
41015 * libio/genops.c: Likewise.
41016 * libio/iofclose.c: Likewise.
41017 * libio/iofdopen.c: Likewise.
41018 * libio/iofopen.c: Likewise.
41019 * libio/iofopen64.c: Likewise.
41020 * libio/iogetdelim.c: Likewise.
41021 * libio/iopopen.c: Likewise.
41022 * libio/obprintf.c: Likewise.
41023 * libio/oldfileops.c: Likewise.
41024 * libio/oldiofclose.c: Likewise.
41025 * libio/oldiofdopen.c: Likewise.
41026 * libio/oldiofopen.c: Likewise.
41027 * libio/oldiopopen.c: Likewise.
41028 * libio/wfiledoalloc.c: Likewise.
41029 * libio/wgenops.c: Likewise.
41030 * locale/programs/xmalloc.c: Likewise.
41031 * misc/syslog.c: Likewise.
41032 * stdio-common/xbug.c: Likewise.
41033 * string/memchr.c: Likewise.
41034 * string/memcmp.c: Likewise.
41035 * string/memrchr.c: Likewise.
41036 * string/rawmemchr.c: Likewise.
41037 * sysdeps/posix/getcwd.c: Likewise.
41038 * time/strftime_l.c: Likewise.
41040 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41042 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41043 * config.make.in (config-cflags-sse2avx): Define.
41044 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41047 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41049 * scripts/config.guess: Update from upstream config git repository.
41050 * scripts/config.sub: Likewise.
41052 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41054 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41056 (R_TILEPRO_*, R_TILEGX_*): New macros.
41058 * scripts/firstversions.awk: Fix bug in version range handling.
41060 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41062 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41064 * include/sys/epoll.h: New file.
41065 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41068 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41070 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41071 Avoid unnecessary __WORDSIZE == 64 test.
41072 (fmaxf): Use VEX format if possible.
41077 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41078 * math/math_private.h: Remove libc_fegetround* and
41080 * sysdeps/i386/configure.in: Check for -msse2avx.
41081 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41082 also if SSE2AVX is defined.
41083 Remove libc_fegetround* and libc_fesetround*.
41084 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41085 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41086 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41088 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41089 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41090 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41091 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41092 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41094 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41096 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41098 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41100 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41102 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41105 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41107 * Makeconfig (libm): Define.
41108 * elf/Makefile: Add rules to build and run tst-relsort1.
41109 * elf/tst-relsort1.c: New file.
41110 * elf/tst-relsort1mod1.c: New file.
41111 * elf/tst-relsort1mod2.c: New file.
41113 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41115 * math/s_ldexp.c: Remove __STDC__ conditionals.
41116 * math/s_ldexpf.c: Likewise.
41117 * math/s_ldexpl.c: Likewise.
41118 * math/s_nextafter.c: Likewise.
41119 * math/s_nexttowardf.c: Likewise.
41120 * math/s_significand.c: Likewise.
41121 * math/s_significandf.c: Likewise.
41122 * math/s_significandl.c: Likewise.
41123 * math/w_jnl.c: Likewise.
41124 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41125 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41126 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41127 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41128 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41130 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41131 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41132 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41133 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41134 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41136 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41137 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41138 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41139 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41140 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41141 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41143 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41144 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41145 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41146 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41147 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41148 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41149 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41150 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41151 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41152 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41153 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41154 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41155 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41156 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41157 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41158 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41159 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41160 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41161 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41162 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41163 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41164 * sysdeps/ieee754/k_standard.c: Likewise.
41165 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41166 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41167 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41168 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41169 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41170 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41171 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41172 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41173 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41174 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41175 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41176 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41177 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41178 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41179 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41181 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41182 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41183 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41184 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41185 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41202 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41204 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41205 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41207 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41208 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41209 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41210 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41211 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41212 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41213 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41214 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41215 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41216 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41218 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41219 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41220 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41221 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41222 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41223 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41224 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41225 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41226 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41227 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41228 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41229 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41230 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41231 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41232 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41233 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41234 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41235 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41236 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41237 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41238 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41239 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41240 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41241 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41242 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41243 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41244 * sysdeps/ieee754/s_matherr.c: Likewise.
41245 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41246 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41247 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41248 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41250 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41252 * crypt/md5.h: Remove __STDC__ conditionals.
41253 * libio/libioP.h: Likewise.
41254 * locale/programs/config.h: Likewise.
41255 * sysdeps/generic/sysdep.h: Likewise.
41256 * sysdeps/i386/asm-syntax.h: Likewise.
41257 * sysdeps/s390/asm-syntax.h: Likewise.
41258 * sysdeps/unix/sysdep.h: Likewise.
41259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41262 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41264 * libio/libio.h: Remove __STDC__ conditionals.
41265 * malloc/obstack.h: Likewise.
41266 * math/complex.h: Likewise.
41267 * math/math.h: Likewise.
41268 * sysdeps/generic/_G_config.h: Likewise.
41269 * sysdeps/gnu/_G_config.h: Likewise.
41270 * sysdeps/mach/hurd/_G_config.h: Likewise.
41271 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41272 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41273 * sysdeps/sparc/bits/mathdef.h: Likewise.
41275 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41278 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41279 Clean up HAS_* macros.
41280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41281 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41283 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41285 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41286 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41287 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41288 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41289 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41291 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41293 * elf/tst-unique3.cc (gets): Remove declaration.
41294 * elf/tst-unique3lib.cc (gets): Likewise.
41295 * elf/tst-unique3lib2.cc (gets): Likewise.
41296 * elf/tst-unique4.cc (gets): Likewise.
41298 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41300 * include/stdio.h: Add C++ protection. Add gets declarations and
41302 * debug/tst-chk1.c: Don't declare gets here.
41303 * stdio-common/tst-gets.c: Likewise.
41305 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41307 * posix/glob: Remove directory.
41309 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41311 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41313 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41315 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41316 of the non-standard EPFNOSUPPORT.
41318 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41320 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41321 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41322 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41324 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41326 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41328 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41330 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41332 * nscd/grpcache.c (cache_addgr): Likewise.
41333 * nscd/hstcache.c (cache_addhst): Likewise.
41334 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41335 * nscd/pwdcache.c (cache_addpw): Likewise.
41336 * nscd/servicescache.c (cache_addserv): Likewise.
41338 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41340 * malloc/malloc.c: Various cleanups.
41341 * malloc/hooks.c: Likewise.
41343 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41344 * stdlib/bug-fmtmsg1.c: New file.
41346 * stdlib/fmtmsg.c (init): Add missing unlock.
41347 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41349 2012-01-12 Marek Polacek <polacek@redhat.com>
41351 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41354 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41356 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41357 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41358 macro to ensure uniqueness of label name.
41359 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41360 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41362 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41364 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41366 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41367 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41368 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41369 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41371 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41373 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41375 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41376 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41377 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41379 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41381 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41382 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41383 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41384 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41386 * math/bits/math-finite.h: Add ldexp support.
41388 2012-01-10 Marek Polacek <polacek@redhat.com>
41390 * locale/programs/localedef.h (show_archive_content): Add noreturn
41393 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41395 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41397 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41399 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41401 * io/Makefile (headers): Add bits/poll2.h.
41403 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41406 typo #include statement.
41408 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41410 * include/sys/cdefs.h: Define __attribute_alloc_size.
41411 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41412 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41413 * elf/pldd.c: Likewise.
41414 * iconv/iconv_charmap.c: Likewise.
41415 * iconv/iconvconfig.c: Likewise.
41416 * iconv/strtab.c: Likewise.
41417 * locale/programs/locale.c: Likewise.
41418 * locale/programs/localedef.h: Likewise.
41419 * locale/programs/simple-hash.c: Likewise.
41420 * nscd/nscd.h: Likewise.
41421 * nss/makedb.c: Likewise.
41422 * sysdeps/generic/ldconfig.h: Likewise.
41423 * locale/programs/localedef.c: Remove xmalloc prototype.
41424 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41426 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41428 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41431 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41433 * math/Makefile (tests): Add tst-CMPLX.
41434 * math/tst-CMPLX.c: New file.
41436 * math/complex.h (CMPLXL): Fix typo.
41438 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41439 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41441 * debug/tst-chk1.c: Add poll and ppoll tests.
41442 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41443 * include/sys/poll.h: Add hidden proto for ppoll.
41444 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41445 * sysdeps/mach/hurd/ppoll.c: Likewise.
41446 * io/ppoll.c: Likewise.
41447 * debug/poll_chk.c: New file.
41448 * debug/ppoll_chk.c: New file.
41449 * include/bits/poll2.h: New file.
41450 * io/bits/poll2.h: New file.
41453 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41455 * configure.in: static is always set to yes. Remove.
41456 * config.make.in: Don't set build-static.
41457 * Makeconfig: Remove use of build-static.
41458 * dlfcn/Makefile: Likewise.
41459 * elf/Makefile: Likewise.
41460 * math/Makefile: Likewise.
41461 * misc/Makefile: Likewise.
41462 * nptl/Makefile: Likewise.
41463 * sysdeps/mach/hurd/Makefile: Likewise.
41465 * configure.in: PWD_P is not used anymore.
41466 * config.make.in: Remove PWD_P entry.
41468 * configure.in: Remove last remnants of RANLIB.
41469 No need to check for signed size_t anymore.
41470 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41472 Remove __builtin_expect test because we require at least gcc 3.4.
41473 * aclocal.m4: Likewise.
41475 * wcsmbs/mbrtoc16.c: Implement using towc function.
41476 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41477 * wcsmbs/wcsmbsload.c: Likewise.
41478 * iconv/gconv_simple.c: Likewise.
41479 * iconv/gconv_int.h: Likewise.
41480 * iconv/gconv_builtin.h: Likewise.
41481 * iconv/iconv_prog.c: Remove CHAR16 handling.
41483 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41485 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41487 * configure.in: Remove --with-elf and --enable-bounded options.
41488 Dont set base_machine for ia64. More non-ELF conditions removed.
41489 Remove testing and setting of leading underscore information.
41490 * config.make.in (build-bounded): Set to no.
41491 * config.h.in: Remove NO_UNDERSCORES entry.
41492 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41494 * csu/start.c: Remove !NO_UNDERSCORE code.
41495 * locale/localeinfo.h: Likewise.
41496 * sysdeps/generic/machine-gmon.h: Likewise.
41497 * sysdeps/generic/sysdep.h: Likewise.
41498 * sysdeps/i386/sysdep.h: Likewise.
41499 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41500 * sysdeps/mach/sysdep.h: Likewise.
41501 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41502 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41503 * sysdeps/sh/sysdep.h: Likewise.
41504 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41505 * sysdeps/unix/i386/sysdep.S: Likewise.
41506 * sysdeps/unix/sparc/start.c: Likewise.
41507 * sysdeps/unix/sparc/sysdep.S: Likewise.
41508 * sysdeps/unix/sparc/sysdep.h: Likewise.
41509 * sysdeps/unix/start.c: Likewise.
41510 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41511 * sysdeps/x86_64/sysdep.h: Likewise.
41513 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41516 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41518 * argp/argp-fmtstream.h: Use const instead __const.
41519 * argp/argp.h: Likewise.
41520 * assert/assert.h: Likewise.
41521 * bits/fenv.h: Likewise.
41522 * bits/sched.h: Likewise.
41523 * bits/sigset.h: Likewise.
41524 * bits/sigthread.h: Likewise.
41525 * catgets/nl_types.h: Likewise.
41526 * conform/data/pthread.h-data: Likewise.
41527 * crypt/crypt-private.h: Likewise.
41528 * crypt/crypt.h: Likewise.
41529 * crypt/crypt_util.c: Likewise.
41530 * ctype/ctype.h: Likewise.
41531 * debug/execinfo.h: Likewise.
41532 * debug/mbsnrtowcs_chk.c: Likewise.
41533 * debug/mbsrtowcs_chk.c: Likewise.
41534 * debug/wcsnrtombs_chk.c: Likewise.
41535 * debug/wcsrtombs_chk.c: Likewise.
41536 * debug/wcstombs_chk.c: Likewise.
41537 * dirent/dirent.h: Likewise.
41538 * dlfcn/dlfcn.h: Likewise.
41539 * elf/neededtest4.c: Likewise.
41540 * grp/grp.h: Likewise.
41541 * gshadow/gshadow.h: Likewise.
41542 * iconv/gconv.h: Likewise.
41543 * iconv/gconv_int.h: Likewise.
41544 * iconv/gconv_simple.c: Likewise.
41545 * iconv/iconv.h: Likewise.
41546 * iconv/loop.c: Likewise.
41547 * iconv/skeleton.c: Likewise.
41548 * include/aio.h: Likewise.
41549 * include/aliases.h: Likewise.
41550 * include/argz.h: Likewise.
41551 * include/arpa/inet.h: Likewise.
41552 * include/assert.h: Likewise.
41553 * include/dirent.h: Likewise.
41554 * include/dlfcn.h: Likewise.
41555 * include/execinfo.h: Likewise.
41556 * include/fcntl.h: Likewise.
41557 * include/fenv.h: Likewise.
41558 * include/glob.h: Likewise.
41559 * include/grp.h: Likewise.
41560 * include/libintl.h: Likewise.
41561 * include/mntent.h: Likewise.
41562 * include/netdb.h: Likewise.
41563 * include/pwd.h: Likewise.
41564 * include/rpc/netdb.h: Likewise.
41565 * include/sched.h: Likewise.
41566 * include/search.h: Likewise.
41567 * include/shadow.h: Likewise.
41568 * include/signal.h: Likewise.
41569 * include/stdio.h: Likewise.
41570 * include/stdlib.h: Likewise.
41571 * include/string.h: Likewise.
41572 * include/sys/socket.h: Likewise.
41573 * include/sys/stat.h: Likewise.
41574 * include/sys/statfs.h: Likewise.
41575 * include/sys/statvfs.h: Likewise.
41576 * include/sys/syslog.h: Likewise.
41577 * include/sys/time.h: Likewise.
41578 * include/sys/uio.h: Likewise.
41579 * include/time.h: Likewise.
41580 * include/unistd.h: Likewise.
41581 * include/utmp.h: Likewise.
41582 * include/wchar.h: Likewise.
41583 * include/wctype.h: Likewise.
41584 * inet/aliases.h: Likewise.
41585 * inet/arpa/inet.h: Likewise.
41586 * inet/netinet/ether.h: Likewise.
41587 * inet/netinet/in.h: Likewise.
41588 * intl/libintl.h: Likewise.
41589 * io/bits/fcntl2.h: Likewise.
41590 * io/fcntl.h: Likewise.
41591 * io/ftw.h: Likewise.
41592 * io/sys/poll.h: Likewise.
41593 * io/sys/stat.h: Likewise.
41594 * io/sys/statfs.h: Likewise.
41595 * io/sys/statvfs.h: Likewise.
41596 * io/utime.h: Likewise.
41597 * libio/bits/stdio.h: Likewise.
41598 * libio/bits/stdio2.h: Likewise.
41599 * libio/libio.h: Likewise.
41600 * libio/libioP.h: Likewise.
41601 * libio/stdio.h: Likewise.
41602 * locale/lc-ctype.c: Likewise.
41603 * locale/locale.h: Likewise.
41604 * login/utmp.h: Likewise.
41605 * malloc/arena.c: Likewise.
41606 * malloc/malloc.c: Likewise.
41607 * malloc/malloc.h: Likewise.
41608 * malloc/mcheck.c: Likewise.
41609 * malloc/mtrace.c: Likewise.
41610 * math/bits/mathcalls.h: Likewise.
41611 * math/fenv.h: Likewise.
41612 * math/math_private.h: Likewise.
41613 * misc/bits/error.h: Likewise.
41614 * misc/bits/syslog.h: Likewise.
41615 * misc/err.h: Likewise.
41616 * misc/error.h: Likewise.
41617 * misc/fstab.h: Likewise.
41618 * misc/mntent.h: Likewise.
41619 * misc/regexp.h: Likewise.
41620 * misc/search.h: Likewise.
41621 * misc/sgtty.h: Likewise.
41622 * misc/sys/mman.h: Likewise.
41623 * misc/sys/syslog.h: Likewise.
41624 * misc/sys/uio.h: Likewise.
41625 * misc/sys/xattr.h: Likewise.
41626 * misc/ttyent.h: Likewise.
41627 * nis/rpcsvc/ypclnt.h: Likewise.
41628 * nss/nss.h: Likewise.
41629 * posix/bits/unistd.h: Likewise.
41630 * posix/fnmatch.h: Likewise.
41631 * posix/glob.h: Likewise.
41632 * posix/sched.h: Likewise.
41633 * posix/spawn.h: Likewise.
41634 * posix/sys/wait.h: Likewise.
41635 * posix/unistd.h: Likewise.
41636 * posix/wordexp.h: Likewise.
41637 * pwd/pwd.h: Likewise.
41638 * resolv/netdb.h: Likewise.
41639 * resource/sys/resource.h: Likewise.
41640 * rt/aio.h: Likewise.
41641 * rt/bits/mqueue2.h: Likewise.
41642 * rt/mqueue.h: Likewise.
41643 * shadow/shadow.h: Likewise.
41644 * signal/signal.h: Likewise.
41645 * socket/send.c: Likewise.
41646 * socket/sendto.c: Likewise.
41647 * socket/sys/socket.h: Likewise.
41648 * stdio-common/printf.h: Likewise.
41649 * stdlib/bits/stdlib.h: Likewise.
41650 * stdlib/fmtmsg.h: Likewise.
41651 * stdlib/monetary.h: Likewise.
41652 * stdlib/stdlib.h: Likewise.
41653 * stdlib/ucontext.h: Likewise.
41654 * streams/stropts.h: Likewise.
41655 * string/argz.h: Likewise.
41656 * string/bits/string2.h: Likewise.
41657 * string/string.h: Likewise.
41658 * string/strings.h: Likewise.
41659 * sunrpc/rpc/auth.h: Likewise.
41660 * sunrpc/rpc/auth_des.h: Likewise.
41661 * sunrpc/rpc/clnt.h: Likewise.
41662 * sunrpc/rpc/netdb.h: Likewise.
41663 * sunrpc/rpc/pmap_clnt.h: Likewise.
41664 * sunrpc/rpc/xdr.h: Likewise.
41665 * sysdeps/generic/inttypes.h: Likewise.
41666 * sysdeps/generic/net/if.h: Likewise.
41667 * sysdeps/generic/sys/swap.h: Likewise.
41668 * sysdeps/gnu/net/if.h: Likewise.
41669 * sysdeps/gnu/utmpx.h: Likewise.
41670 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41671 * sysdeps/i386/i486/bits/string.h: Likewise.
41672 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41673 * sysdeps/s390/bits/string.h: Likewise.
41674 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41675 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41676 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41677 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41678 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41679 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41680 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41681 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41682 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41683 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41684 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41685 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41686 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41687 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41688 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41689 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41690 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41692 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41693 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41694 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41695 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41696 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41697 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41698 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41699 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41700 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41701 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41702 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41703 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41704 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41705 * sysvipc/sys/ipc.h: Likewise.
41706 * sysvipc/sys/msg.h: Likewise.
41707 * sysvipc/sys/sem.h: Likewise.
41708 * sysvipc/sys/shm.h: Likewise.
41709 * termios/termios.h: Likewise.
41710 * time/sys/time.h: Likewise.
41711 * time/time.h: Likewise.
41712 * wcsmbs/bits/wchar2.h: Likewise.
41713 * wcsmbs/uchar.h: Likewise.
41714 * wcsmbs/wchar.h: Likewise.
41715 * wctype/wctype.h: Likewise.
41718 * Makeconfig: Remove all but ELF support including AIX support.
41719 * Makerules: Likewise.
41720 * config.h.in: Likewise.
41721 * config.make.in: Likewise.
41722 * configure: Likewise.
41723 * configure.in: Likewise.
41724 * csu/Makefile: Likewise.
41725 * csu/version.c: Likewise.
41726 * debug/Makefile: Likewise.
41727 * dlfcn/Makefile: Likewise.
41728 * elf/Makefile: Likewise.
41729 * extra-lib.mk: Likewise.
41730 * iconv/Makefile: Likewise.
41731 * include/libc-symbols.h: Likewise.
41732 * include/shlib-compat.h: Likewise.
41733 * resolv/Makefile: Likewise.
41734 * resolv/res_libc.c: Likewise.
41735 * rt/Makefile: Likewise.
41736 * sysdeps/i386/asm-syntax.h: Likewise.
41737 * sysdeps/i386/sysdep.h: Likewise.
41738 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41739 * sysdeps/mach/sysdep.h: Likewise.
41740 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41741 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41742 * sysdeps/s390/asm-syntax.h: Likewise.
41743 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41744 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41745 * sysdeps/sh/sysdep.h: Likewise.
41746 * sysdeps/unix/sparc/sysdep.h: Likewise.
41747 * sysdeps/wordsize-32/divdi3.c: Likewise.
41748 * sysdeps/x86_64/sysdep.h: Likewise.
41750 * argp/Versions: Remove _argp_unlock_xxx.
41753 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41754 * abilist/libBrokenLocale.abilist: Likewise.
41755 * abilist/libanl.abilist: Likewise.
41756 * abilist/libc.abilist: Likewise.
41757 * abilist/libcrypt.abilist: Likewise.
41758 * abilist/libdl.abilist: Likewise.
41759 * abilist/libm.abilist: Likewise.
41760 * abilist/libnsl.abilist: Likewise.
41761 * abilist/libpthread.abilist: Likewise.
41762 * abilist/libresolv.abilist: Likewise.
41763 * abilist/librt.abilist: Likewise.
41764 * abilist/libthread_db.abilist: Likewise.
41765 * abilist/libutil.abilist: Likewise.
41766 * abilist/libnss_db.abilist: New file.
41768 * scripts/abilist.awk: Add support for indirect functions.
41770 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41772 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41774 * shlib-versions: Remove entries for ports architectures.
41776 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41778 * elf/stackguard-macros.h: Remove support for IA-64.
41779 * elf/tst-auditmod1.c: Likewise.
41780 * sysdeps/generic/ldsodefs.h: Likewise.
41782 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41783 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41787 * configure.in: Remove --enable-omitfp support.
41789 * config.make.in: Likewise.
41790 * Makeconfig: Likewise.
41791 * manual/install.texi: Likewise.
41793 In case anyone cares, the IA-64 architecture could move to ports.
41794 * sysdeps/ia64/*: Removed.
41795 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41796 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41799 * configure.in: Remove entries for unsupported architectures.
41802 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41803 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41805 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41806 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41807 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41808 fall back to using wcrtomb.
41809 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41810 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41812 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41813 * wcsmbs/tst-c16c32-1.c: New file.
41815 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41818 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41820 * elf/tst-unique3.cc: Add explicit declaration of gets.
41821 * elf/tst-unique3lib.cc: Likewise.
41822 * elf/tst-unique3lib2.cc: Likewise.
41823 * elf/tst-unique4.cc: Likewise.
41825 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41827 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41830 * assert/assert.h (static_assert): Don't define for C++.
41831 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41832 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41834 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41836 * iconv/loop.c (single loop): Fix assertion in storing of
41839 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41841 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41843 * posix/getconf.c: Update copyright year.
41844 * nss/getent.c: Likewise.
41845 * nss/makedb.c: Likewise.
41846 * iconv/iconvconfig.c: Likewise.
41847 * iconv/iconv_prog.c: Likewise.
41848 * elf/ldconfig.c: Likewise.
41849 * elf/pldd.c: Likewise.
41850 * elf/sotruss.ksh: Likewise.
41851 * catgets/gencat.c: Likewise.
41852 * csu/version.c: Likewise.
41853 * elf/ldd.bash.in: Likewise.
41854 * elf/sprof.c (print_version): Likewise.
41855 * locale/programs/locale.c: Likewise.
41856 * locale/programs/localedef.c: Likewise.
41857 * login/programs/pt_chown.c: Likewise.
41858 * nscd/nscd.c (print_version): Likewise.
41859 * debug/xtrace.sh: Likewise.
41860 * malloc/memusage.sh: Likewise.
41861 * malloc/mtrace.pl: Likewise.
41862 * debug/catchsegv.sh: Likewise.
41864 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41866 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41869 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41872 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41873 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41875 * iconv/gconv_int.h: Likewise.
41876 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41877 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41878 from libc for GLIBC_2.16.
41879 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41880 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41881 * wcsmbs/uchar.h: Really define mbstate_t.
41882 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41883 * wcsmbs/c16rtomb.c: New file.
41884 * wcsmbs/mbrtoc16.c: New file.
41885 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41886 for C/POSIX locale.
41887 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41888 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41890 * wcsmbs/wchar.h: Add missing __restrict.
41892 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41895 * time/Makefile (routines): Add timespec_get.
41896 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41897 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41898 timespec for ISO C11.
41899 * time/timespec_get.c: New file.
41900 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41901 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41904 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41905 * stdlib/stdlib.h: Declare aligned_alloc.
41906 * Versions.def: Add GLIBC_2.16 for libc.
41907 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41910 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41913 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41917 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41920 * assert/assert.h (static_assert): Define.
41922 * version.h: Update for 2.16 development version.
41925 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41928 * version.h (RELEASE): Bump for 2.15 release.
41929 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41931 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41932 Patch by Marek Polacek <mpolacek@redhat.com>.
41934 * bits/byteswap.h: Protect long long constants with __extension__.
41935 * sysdeps/i386/bits/byteswap.h: Likewise.
41936 * sysdeps/ia64/bits/byteswap.h: Likewise.
41937 * sysdeps/s390/bits/byteswap.h: Likewise.
41938 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41940 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41943 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41944 destination buffer.
41945 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41947 2011-12-23 Marek Polacek <polacek@redhat.com>
41949 * elf/dl-addr.c (determine_info): Add inline keyword.
41950 * elf/tst-auditmod4b.c (check_avx): Likewise.
41951 * elf/tst-auditmod6b.c (check_avx): Likewise.
41952 * elf/tst-auditmod6c.c (check_avx): Likewise.
41953 * elf/tst-auditmod7b.c (check_avx): Likewise.
41955 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41957 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41960 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41963 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41964 processing for last bytes.
41966 2011-08-06 Bruno Haible <bruno@clisp.org>
41969 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41970 U+0385, not to U+1FEE.
41973 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41974 entry for U+00A5 U+0301.
41976 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41979 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41980 buffer for the output is too small.
41982 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41986 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41987 SSE flags if possible.
41989 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41992 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41993 processing for last bytes.
41995 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41997 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41998 (syscall-list-default-options, syscall-list-default-condition)
41999 (syscall-list-includes): Define.
42000 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42001 list of ABIs and options and #if conditions for each ABI. Do not
42002 handle common syscalls between ABIs specially.
42003 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42005 (syscall-list-variants, syscall-list-32bit-options)
42006 (syscall-list-32bit-condition, syscall-list-64bit-options)
42007 (syscall-list-64bit-condition): Define.
42008 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
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/sparc/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.
42017 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42019 (syscall-list-variants, syscall-list-32bit-options)
42020 (syscall-list-32bit-condition, syscall-list-64bit-options)
42021 (syscall-list-64bit-condition): Define.
42023 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42025 * locale/iso-639.def: Add brx entry.
42028 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42029 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42031 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42032 __feraiseexcept_renamed.
42034 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42037 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42038 EPOLLET with unsigned values.
42039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42040 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42042 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42043 to large cancellation.
42044 * math/s_cacoshf.c: Likewise.
42045 * math/s_cacoshl.c: Likewise.
42047 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42051 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42052 * math/s_cacoshf.c: Likewise.
42053 * math/s_cacoshl.c: Likewise.
42055 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42058 * iconv/gconv.h: Define __GCONV_SWAP.
42059 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42060 * iconvdata/utf-16.c: Likewise.
42061 * iconvdata/utf-32.c: Likewise.
42063 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42066 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42067 numerator after shifting it by one limb.
42069 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42071 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42072 under [__USE_EXTERN_INLINES].
42074 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42077 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42079 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42081 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42082 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42084 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42085 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42086 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42087 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42088 for strncasecmp/strncasecmp_l compilation.
42089 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42090 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42092 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42095 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42098 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42101 * time/tzfile.c (__tzfile_read): Check values from file header.
42103 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42105 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42106 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42107 * powerpc/powerpc32/dl-start.S: Likewise.
42108 * powerpc/powerpc32/elf/start.S: Likewise.
42109 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42110 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42111 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42112 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42113 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42114 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42115 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42116 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42117 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42118 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42119 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42120 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42121 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42122 * powerpc/powerpc32/memset.S: Likewise.
42123 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42124 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42125 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42126 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42127 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42128 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42129 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42130 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42131 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42132 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42133 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42134 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42135 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42137 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42139 * math/libm-test.inc: Added more nearbyint tests.
42140 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42141 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42142 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42143 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42145 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42147 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42150 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42152 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42153 Add wcscpy-ssse3 wcscpy-c.
42154 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42155 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42156 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42157 * sysdeps/x86_64/wcschr.S: New file.
42158 * sysdeps/x86_64/wcsrchr.S: New file.
42159 * string/test-strcmp.c: Remove checking of wcscmp function for
42161 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42162 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42163 wcsrchr-sse2 wcsrchr-c.
42164 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42165 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42166 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42167 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42168 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42169 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42170 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42171 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42172 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42173 * wcsmbc/wcschr.c (WCSCHR): New macro.
42175 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42177 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42178 * wcsmbs/test-wcsrchr.c: New file.
42179 * string/test-strrchr.c: Add wcsrchr support.
42181 * wcsmbs/test-wcscpy.c: New file.
42182 * string/test-strcpy.c: Add wcscpy support.
42185 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42187 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42190 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42193 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42195 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42197 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42198 Minor optimizations.
42200 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42201 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42202 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42204 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42206 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42207 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42208 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42209 for gcc to avoid warnings.
42210 * inet/Makefile (tests): Add tst-checks.
42211 * inet/tst-checks.c: New file.
42213 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42216 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42219 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42220 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42222 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42224 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42226 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42229 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42231 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42233 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42234 conditional on GCC version.
42235 (__arch_compare_and_exchange_val_8_acq)
42236 (__arch_compare_and_exchange_val_16_acq)
42237 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42238 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42239 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42241 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42243 * sysdeps/sh/backtrace.c: New file.
42245 2011-12-02 Andreas Schwab <schwab@redhat.com>
42247 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42250 2011-12-01 Andreas Schwab <schwab@redhat.com>
42252 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42253 falling back to utime.
42255 2011-11-30 Andreas Schwab <schwab@redhat.com>
42257 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42258 expectations for float.
42260 2011-11-29 Andreas Schwab <schwab@redhat.com>
42262 * locale/weight.h (findidx): Add parameter len.
42263 * locale/weightwc.h (findidx): Likewise.
42264 * posix/fnmatch_loop.c (FCT): Adjust caller.
42265 * posix/regcomp.c (build_equiv_class): Likewise.
42266 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42267 * posix/regexec.c (check_node_accept_bytes): Likewise.
42268 * string/strcoll_l.c (STRCOLL): Likewise.
42269 * string/strxfrm_l.c (STRXFRM): Likewise.
42271 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42273 * Makefile.in: Remove CVSOPT handling.
42274 * configure.in: Remove use of AC_REVISION.
42275 * iconvdata/Makefile (distribute): No need to filter out CVS.
42276 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42279 2011-11-16 Andreas Schwab <schwab@redhat.com>
42281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42282 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42283 [USE_AS_STRNCASECMP_L]: Likewise.
42284 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42285 NO_TLS_DIRECT_SEG_REFS.
42286 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42287 Fix argument offsets for non-PIC.
42288 [USE_AS_STRNCASECMP_L]: Likewise.
42289 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42290 NO_TLS_DIRECT_SEG_REFS.
42292 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42294 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42296 * locale/loadlocale.c (_nl_load_locale): Likewise.
42298 2011-11-15 Andreas Schwab <schwab@redhat.com>
42300 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42301 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42302 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42303 (SYSCALL_GETTIME): Set errno on error.
42305 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42306 count references to noai6ai_cached.
42308 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42310 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42312 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42313 FD_CLOEXEC for /proc/self/maps.
42315 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42316 FD_CLOEXEC for /proc/meminfo.
42318 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42321 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42322 FD_CLOEXEC for given file.
42324 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42326 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42327 FD_CLOEXEC for /etc/hosts.
42328 (_gethtent): Likewise.
42330 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42332 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42333 cancellation and set FD_CLOEXEC for /etc/netgroup.
42335 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42336 reading /etc/publickey.
42338 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42339 allow cancellation when reading /etc/group.
42341 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42343 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42345 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42346 when using data file.
42348 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42350 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42351 (write_nis_obj): Use "c" and "e" in fopen.
42353 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42355 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42357 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42359 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42361 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42364 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42366 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42368 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42370 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42371 file parsing and set FD_CLOEXEC.
42373 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42375 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42377 2011-11-14 Andreas Schwab <schwab@redhat.com>
42379 * malloc/arena.c (arena_get2): Don't call reused_arena when
42380 _int_new_arena failed.
42382 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42384 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42385 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42386 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42387 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42388 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42389 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42390 to compile strcasecmp and strncasecmp.
42391 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42392 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42396 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42398 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42399 locale-defines.sym to gen-as-const-headers.
42400 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42401 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42403 to compile strcasecmp and strncasecmp.
42404 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42405 strcasecmp_l and strncasecmp_l.
42406 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42407 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42408 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42409 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42410 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42411 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42412 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42413 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42414 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42415 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42416 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42418 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42420 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42421 result of SYSDEP_GETTIME_CPU to retval.
42422 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42423 parameter list to macro. Remove trailing semicolon. Adjust users.
42425 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42428 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42430 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42432 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42433 from unused variable.
42435 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42437 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42440 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42443 * sunrpc/rpc_prot.c (rejected): Fix case value.
42445 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42446 unsigned long long int to avoid warnings in shift.
42448 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42450 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42453 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42454 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42455 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42457 * nis/nis_table.c (nis_list): Use variable of correct type for
42458 result of __follow_path call.
42460 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42462 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42463 of math functions ceil, trunc, floor, round, and sqrt, when
42464 avaliable on the platform.
42465 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42467 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42468 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42469 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42471 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42473 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42474 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42476 2011-11-11 Roland McGrath <roland@hack.frob.com>
42478 * include/unistd.h: Fix __readlink return type.
42479 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42481 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42483 * stdlib/ucontext.h: Undo last change for makecontext.
42485 2011-11-11 Andreas Schwab <schwab@redhat.com>
42487 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42489 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42490 * setjmp/setjmp.h: Mark functions as non-leaf.
42491 * setjmp/bits/setjmp2.h: Likewise.
42492 * stdlib/ucontext.h: Likewise.
42494 2011-11-10 Andreas Schwab <schwab@redhat.com>
42496 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42497 (reused_arena): Don't check arena limit.
42498 (arena_get2): Atomically check arena limit.
42500 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42502 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42503 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42508 2011-11-07 Andreas Schwab <schwab@redhat.com>
42510 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42511 handler when locking.
42513 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42514 Fix size of allocated buffer.
42516 2011-11-04 Andreas Schwab <schwab@redhat.com>
42519 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42520 declarations for long double functions.
42521 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42523 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42525 2011-11-03 Andreas Schwab <schwab@redhat.com>
42527 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42530 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42533 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42535 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42537 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42539 * include/alloca.h (stackinfo_alloca_round): Define.
42540 (extend_alloca): Use it.
42541 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42542 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42545 * scripts/check-local-headers.sh: Ignore libaudit.h.
42547 * nscd/Makefile (extra-objs): Make recursively expanded.
42549 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42551 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42552 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42554 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42555 * posix/tst-rfc3484-2.c: Likewise.
42556 * posix/tst-rfc3484-3.c: Likewise.
42558 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42560 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42562 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42563 process_vm_writev from libc using GLIBC_2.15 version.
42565 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42567 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42569 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42572 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42575 * nss/getent.c (initgroups_keys): Show error message in case no group
42578 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42579 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42580 __bump_nl_timestamp.
42581 * nscd/connections (nscd_init): When host database is served open
42582 netlink socket and request notification about configuration changes.
42583 (main_loop_poll): Track netlink file descriptor and bump timestamp
42584 in case data becomes available.
42585 (main_loop_epoll): Likewise.
42586 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42587 (database_pers_head): Add extra_data fileds.
42588 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42589 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42590 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42593 in6ai data, call __free_in6ai.
42594 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42595 Add -DHAVE_NETLINK.
42596 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42597 interface information. Reuse previous data if netlink timestamp
42599 (__bump_nl_timestamp): New function.
42600 (__free_in6ai): New function.
42602 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42604 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42605 close_not_cancel_no_status here.
42606 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42608 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42611 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42614 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42615 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42616 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42618 2011-07-03 Andreas Jaeger <aj@suse.de>
42621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42622 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42623 * math/libm-test.inc (sin_test): Add test case.
42625 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42628 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42629 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42631 * elf/chroot_canon.c (chroot_canon): Cleanups.
42633 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42636 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42637 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42639 * string/test-strchr.c: Make usable for strchrnul testing.
42640 * string/test-strchrnul.c: New file.
42641 * string/Makefile (strop-tests): Add strchrnul.
42643 * po/it.po: Update from translation team.
42644 * po/es.po: Likewise.
42646 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42648 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42649 the three constants needed as parameters. Drop the others.
42650 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42651 __m128i_strloadu_tolower.
42652 Create and initialize variable zero and use it in all the places
42653 where _mm_setzero_si128 was used.
42655 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42656 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42657 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42658 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42660 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42661 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42662 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42663 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42664 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42665 __mpranred, __mptan.
42666 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42667 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42668 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42669 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42670 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42671 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42672 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42673 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42674 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42676 2011-10-28 Andreas Schwab <schwab@redhat.com>
42678 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42679 redefine if SHARED.
42680 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42683 wide char related routines to wcsmbs subdir.
42685 2011-10-27 Andreas Schwab <schwab@redhat.com>
42688 * misc/sys/cdefs.h (__THROWNL): Define.
42689 * posix/unistd.h: Use __THREADNL instead of __THREAD
42690 for memory synchronization functions.
42692 2011-10-26 Roland McGrath <roland@hack.frob.com>
42695 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42697 * manual/stdio.texi (Obstack Streams): Node removed.
42699 2011-10-26 Andreas Schwab <schwab@redhat.com>
42701 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42702 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42703 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42705 * math/math_private.h (math_force_eval): Allow non-addressable
42707 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42709 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42711 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42712 file is not needed.
42714 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42715 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42716 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42717 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42718 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42719 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42720 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42721 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42723 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42724 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42725 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42726 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42727 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42728 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42729 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42730 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42731 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42732 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42733 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42734 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42735 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42736 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42737 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42738 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42739 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42740 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42741 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42743 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42744 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42746 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42747 place. Use VEX encoding when compiling for AVX.
42749 2011-10-25 Andreas Schwab <schwab@redhat.com>
42751 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42752 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42754 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42756 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42758 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42759 useless if() expression.
42760 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42761 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42762 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42764 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42765 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42766 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42767 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42768 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42769 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42770 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42771 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42772 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42774 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42775 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42776 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42777 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42778 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42780 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42782 2011-10-25 Andreas Schwab <schwab@redhat.com>
42784 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42786 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42788 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42790 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42791 .text section. Avoid duplicate constants.
42792 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42793 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42794 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42796 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42800 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42801 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42802 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42803 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42804 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42805 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42806 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42807 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42808 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42809 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42810 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42811 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42812 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42813 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42814 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42815 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42816 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42817 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42818 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42819 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42820 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42821 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42822 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42823 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42824 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42825 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42826 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42827 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42828 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42830 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42831 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42832 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42833 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42834 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42835 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42836 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42838 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42840 * sysdeps/x86_64/dla.h: Move to ...
42841 * sysdeps/x86_64/fpu/dla.h: ...here.
42842 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42843 situations. Use __builtin_fma only for gcc 4.6 and up.
42845 * config.make.in: Add have-mfma4 entry.
42846 * configure.in: Substitute libc_cv_cc_fma4.
42847 * math/Makefile (dbl-only-routines): Add sincostab.
42848 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42849 Use __sincostab not sincos.
42850 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42855 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42857 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42858 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42859 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42860 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42862 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42863 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42865 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42866 define aliases when function name is a macro.
42867 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42868 sysdeps/ieee754/dbl-64/sincos.tbl.
42869 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42870 fma4-enabled routines.
42871 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42872 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42873 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42874 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42875 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42876 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42877 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42878 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42879 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42880 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42881 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42882 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42883 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42884 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42885 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42886 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42887 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42888 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42889 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42890 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42891 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42892 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42893 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42894 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42896 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42897 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42898 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42899 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42900 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42902 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42909 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42910 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42911 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42913 2011-10-24 Andreas Schwab <schwab@redhat.com>
42915 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42917 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42919 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42921 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42923 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42925 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42926 Remove unused variable magic_bits.
42927 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42929 * string/strnlen.c: Define and use STRNLEN macro.
42930 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42931 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42932 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42933 * wcsmbs/wcslen.c: Define and use WCSLEN.
42934 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42935 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42936 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42937 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42938 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42939 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42940 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42942 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42945 strnlen-sse2-no-bsf.
42946 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42947 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42948 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42949 Add strnlen support.
42950 (USE_AS_STRNLEN): New macro.
42951 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42952 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42953 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42954 * sysdeps/x86_64/wcslen.S: New file.
42956 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42958 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42959 XMM-moves are used for copying on small sizes.
42961 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42963 * wcsmbs/Makefile (strop-tests): Add wcschr.
42964 * wcsmbs/test-wcschr.c: New file.
42965 * string/test-strchr.c: Update.
42966 Add wcschr support.
42969 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42971 * wcsmbs/Makefile (strop-tests): Add wcslen.
42972 * wcsmbs/test-wcslen.c: New file.
42973 * string/test-strlen.c: Update.
42974 Add wcslen support.
42977 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42979 * po/it.po: Update from translation team.
42981 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42983 * sysdeps/x86_64/wcscmp.S: Update.
42984 Fix wrong comparison semantics.
42985 wcscmp shall use signed comparison not unsigned.
42986 Don't use substraction to avoid overflow bug.
42987 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42988 * wcsmbc/wcscmp.c: Likewise.
42989 * string/test-strcmp.c: Likewise.
42990 Add new tests to check cases with negative values.
42992 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42994 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42995 * sysdeps/x86_64/dla.h: ...here. New file.
42996 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43001 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43003 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43006 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43009 __ynl_finite aliases.
43011 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43015 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43017 [DLA_FMA] (EMULV): Use DLA_FMA.
43018 [DLA_FMA] (MUL12): Use EMULV.
43019 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43020 that are not needed.
43021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43025 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43026 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43029 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43031 * math/s_nan.c: Undef __nan.
43032 * math/s_nanf.c: Undef __nanf.
43033 * math/s_nanl.c: Undef __nanl.
43034 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43037 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43039 * math/s_catan.c: Add branch predictions.
43040 * math/s_catanf.c: Likewise.
43041 * math/s_catanh.c: Likewise.
43042 * math/s_catanhf.c: Likewise.
43043 * math/s_catanhl.c: Likewise.
43044 * math/s_catanl.c: Likewise.
43045 * math/s_cexp.c: Likewise.
43046 * math/s_cexpf.c: Likewise.
43047 * math/s_cexpl.c: Likewise.
43048 * math/s_clog.c: Likewise.
43049 * math/s_clog10.c: Likewise.
43050 * math/s_clog10f.c: Likewise.
43051 * math/s_clog10l.c: Likewise.
43052 * math/s_clogf.c: Likewise.
43053 * math/s_clogl.c: Likewise.
43054 * math/s_csqrt.c: Likewise.
43055 * math/s_csqrtf.c: Likewise.
43056 * math/s_csqrtl.c: Likewise.
43057 * math/s_ctanf.c: Likewise.
43058 * math/s_ctanh.c: Likewise.
43059 * math/s_ctanhf.c: Likewise.
43060 * math/s_ctanhl.c: Likewise.
43061 * math/s_ctanl.c: Likewise.
43063 * math/math_private.h: Define __nan, __nanf, __nanl.
43064 * math/s_cacosh.c: Include <math_private.h>.
43065 * math/s_cacoshl.c: Likewise.
43066 * math/s_casinh.c: Likewise.
43067 * math/s_casinhf.c: Likewise.
43068 * math/s_casinhl.c: Likewise.
43069 * math/s_ccos.c: Rely entire on ccosh.
43070 * math/s_ccosf.c: Rely entire on ccoshf.
43071 * math/s_ccosl.c: Rely entirely on ccoshl.
43072 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43073 Remove tests for FE_INVALID.
43074 * math/s_ccoshf.c: Likewise.
43075 * math/s_ccoshl.c: Likewise.
43076 * math/s_csin.c: Likewise.
43077 * math/s_csinf.c: Likewise.
43078 * math/s_csinh.c Likewise.
43079 * math/s_csinhf.c: Likewise.
43080 * math/s_csinhl.c: Likewise.
43081 * math/s_csinl.c: Likewise.
43082 * math/s_ctan.c: Likewise.
43083 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43084 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43085 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43087 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43090 compilation problems.
43092 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43095 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43097 * sysdeps/i386/configure.in: Test for -mfma4 option.
43098 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43099 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43100 COMMON_CPUID_INDEX_80000001.
43101 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43102 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43103 use it if FMA3 is not supported.
43104 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43106 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43107 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43109 2011-10-20 Andreas Schwab <schwab@redhat.com>
43112 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43113 it would create a cycle with a link time dependency.
43115 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43117 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43119 * string/Makefile (strop-tests): Add rawmemchr.
43120 * string/test-rawmemchr.c: New file.
43122 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43123 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43124 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43125 when compiling str{,n}casecmp and when AVX is available. Hook up
43126 new optimized code in initializers.
43128 2011-10-19 Andreas Schwab <schwab@redhat.com>
43130 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43131 __feraiseexcept instead of feraiseexcept.
43133 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43135 * math/math_private.h: Define defaults for libc_fetestexcept and
43137 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43138 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43139 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43140 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43141 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43142 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43143 libc_fetestexcept and libc_feupdateenv.
43145 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43146 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43147 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43148 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43149 libc_feholdexcept_setround.
43151 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43152 Add s_nearbyint-c and s_nearbyintf-c.
43153 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43154 nearbyintf inlines.
43155 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43156 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43157 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43158 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43160 * math/math_private.h: Define defaults for libc_fegetround,
43161 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43162 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43163 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43164 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43165 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43166 standard functions.
43167 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43168 Remove comments and hacks for old compiler versions.
43169 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43170 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43171 libc_feholdexceptl.
43173 2011-10-18 Andreas Schwab <schwab@redhat.com>
43175 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43176 (__feraiseexcept_renamed): Add __NTH.
43177 (feraiseexcept): Add __NTH. Rename local variables to fix
43178 namespace violations.
43180 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43182 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43184 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43186 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43187 recently added interfaces.
43188 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43190 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43191 about macro parameter expansion.
43193 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43194 __NO_MATH_INLINES is defined. Cleanups.
43196 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43197 and __floorf is target has SSE4.1.
43198 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43199 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43200 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43201 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43203 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43205 (floorf): Likewise.
43207 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43209 2011-10-17 Andreas Schwab <schwab@redhat.com>
43211 * misc/sys/cdefs.h: Fix last change.
43213 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43216 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43218 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43220 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43221 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43222 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43223 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43225 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43226 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43227 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43228 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43229 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43230 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43231 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43232 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43233 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43234 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43235 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43236 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43237 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43238 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43239 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43240 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43241 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43243 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43244 ceil, ceilf, floor, floorf.
43246 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43247 Perform IRELATIVE relocations last.
43249 * elf/do-rel.h: Add another parameter nrelative, replacing the
43250 local variable with the same name. Change name of the function
43251 to end in Rel or Rela (uppercase).
43252 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43253 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43254 elf_dynamic_do_##reloc function.
43256 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43258 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43259 is sufficient, at least on modern CPUs.
43261 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43263 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43264 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43266 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43268 * math/bits/math-finite.h: Add entries for exp.
43269 * math/e_expl.c: Add __*_finite alias.
43270 * sysdeps/i386/fpu/e_exp.S: Likewise.
43271 * sysdeps/i386/fpu/e_expf.S: Likewise.
43272 * sysdeps/i386/fpu/e_expl.c: Likewise.
43273 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43274 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43275 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43276 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43277 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43278 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43279 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43281 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43282 is sufficient, at least on modern CPUs.
43284 * ctype/ctype-info.c (__ctype_init): Define.
43285 * include/ctype.h (__ctype_init): Declare.
43286 (__ctype_b_loc): The variable is always initialized.
43287 (__ctype_toupper_loc): Likewise.
43288 (__ctype_tolower_loc): Likewise.
43289 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43290 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43292 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43294 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43296 * configure.in: Also look in $cxxmachine/include for C++ system
43299 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43301 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43302 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43303 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43304 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43305 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43306 (USE_AS_WMEMCMP): New macro.
43308 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43309 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43310 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43311 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43313 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43314 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43315 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43316 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43317 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43318 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43319 (USE_AS_WMEMCMP): New macro.
43320 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43321 * sysdeps/string/test-memcmp.c: Update.
43322 Fix simple_wmemcmp.
43324 * wcsmbs/wmemcmp.c: Update.
43325 (WMEMCMP): New macro.
43328 2011-10-12 Andreas Jaeger <aj@suse.de>
43331 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43333 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43335 * libio/iofwide.c (do_length): Avoid warning.
43337 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43339 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43341 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43343 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43344 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43345 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43346 * sysdeps/i386/i686/fpu/e_log.S: New file.
43347 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43348 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43350 * ctype/ctype.h: Add support for inlined isXXX functions when
43351 compiling C++ code.
43353 2011-10-14 Andreas Schwab <schwab@redhat.com>
43355 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43357 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43359 2011-10-13 Roland McGrath <roland@hack.frob.com>
43362 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43364 2011-10-13 Andreas Schwab <schwab@redhat.com>
43366 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43367 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43370 * sysdeps/x86_64/memrchr.S: Check for zero size.
43372 * string/stratcliff.c: Add memrchr tests.
43374 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43377 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43378 rawmemchr-sse2 rawmemchr-sse2-bsf.
43379 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43380 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43381 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43382 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43383 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43384 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43385 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43386 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43387 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43388 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43389 * string/memrchr.c (MEMRCHR): New macro.
43391 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43393 Add integration with gcc's -ffinite-math-only and optimize wrapper
43395 * Versions.def: Define GLIBC_2.15 version for libm.
43396 * math/Makefile (headers): Add bits/math-finite.h.
43397 * math/bits/math-finite.h: New file.
43398 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43399 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43400 * math/e_acoshl.c: Add __*_finite alias.
43401 * math/e_acosl.c: Likewise.
43402 * math/e_asinl.c: Likewise.
43403 * math/e_atan2l.c: Likewise.
43404 * math/e_atanhl.c: Likewise.
43405 * math/e_coshl.c: Likewise.
43406 * math/e_exp10.c: Likewise.
43407 * math/e_exp10f.c: Likewise.
43408 * math/e_exp10l.c: Likewise.
43409 * math/e_exp2l.c: Likewise.
43410 * math/e_fmodl.c: Likewise.
43411 * math/e_gammal_r.c: Likewise.
43412 * math/e_hypotl.c: Likewise.
43413 * math/e_j0l.c: Likewise.
43414 * math/e_j1l.c: Likewise.
43415 * math/e_jnl.c: Likewise.
43416 * math/e_lgammal_r.c: Likewise.
43417 * math/e_log10l.c: Likewise.
43418 * math/e_log2l.c: Likewise.
43419 * math/e_logl.c: Likewise.
43420 * math/e_powl.c: Likewise.
43421 * math/e_sinhl.c: Likewise.
43422 * math/e_sqrtl.c: Likewise.
43423 * math/e_scalb.c: Completely rewritten and optimized.
43424 * math/e_scalbf.c: Likewise.
43425 * math/e_scalbl.c: Likewise.
43426 * math/w_acos.c: Likewise.
43427 * math/w_acosf.c: Likewise.
43428 * math/w_acosl.c: Likewise.
43429 * math/w_acosh.c: Likewise.
43430 * math/w_acoshf.c: Likewise.
43431 * math/w_acoshl.c: Likewise.
43432 * math/w_asin.c: Likewise.
43433 * math/w_asinf.c: Likewise.
43434 * math/w_asinl.c: Likewise.
43435 * math/w_atan2.c: Likewise.
43436 * math/w_atan2f.c: Likewise.
43437 * math/w_atan2l.c: Likewise.
43438 * math/w_atanh.c: Likewise.
43439 * math/w_atanhf.c: Likewise.
43440 * math/w_atanhl.c: Likewise.
43441 * math/w_exp10.c: Likewise.
43442 * math/w_exp10f.c: Likewise.
43443 * math/w_exp10l.c: Likewise.
43444 * math/w_fmod.c: Likewise.
43445 * math/w_fmodf.c: Likewise.
43446 * math/w_fmodl.c: Likewise.
43447 * math/w_j0.c: Likewise.
43448 * math/w_j0f.c: Likewise.
43449 * math/w_j0l.c: Likewise.
43450 * math/w_j1.c: Likewise.
43451 * math/w_j1f.c: Likewise.
43452 * math/w_j1l.c: Likewise.
43453 * math/w_jn.c: Likewise.
43454 * math/w_jnf.c: Likewise.
43455 * math/w_log.c: Likewise.
43456 * math/w_logf.c: Likewise.
43457 * math/w_logl.c: Likewise.
43458 * math/w_log10.c: Likewise.
43459 * math/w_log10f.c: Likewise.
43460 * math/w_log10l.c: Likewise.
43461 * math/w_log2.c: Likewise.
43462 * math/w_log2f.c: Likewise.
43463 * math/w_log2l.c: Likewise.
43464 * math/w_pow.c: Likewise.
43465 * math/w_powf.c: Likewise.
43466 * math/w_powl.c: Likewise.
43467 * math/w_remainder.c: Likewise.
43468 * math/w_remainderf.c: Likewise.
43469 * math/w_remainderl.c: Likewise.
43470 * math/w_scalb.c: Likewise.
43471 * math/w_scalbf.c: Likewise.
43472 * math/w_scalbl.c: Likewise.
43473 * math/w_sqrt.c: Likewise.
43474 * math/w_sqrtf.c: Likewise.
43475 * math/w_sqrtl.c: Likewise.
43476 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43477 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43479 * math/math_private.h: Declare __kernel_standard_f.
43480 * math/w_cosh.c: Remove cruft and optimize a bit.
43481 * math/w_coshf.c: Likewise.
43482 * math/w_coshl.c: Likewise.
43483 * math/w_exp2.c: Likewise.
43484 * math/w_exp2f.c: Likewise.
43485 * math/w_exp2l.c: Likewise.
43486 * math/w_hypot.c: Likewise.
43487 * math/w_hypotf.c: Likewise.
43488 * math/w_hypotl.c: Likewise.
43489 * math/w_lgamma.c: Likewise.
43490 * math/w_lgamma_r.c: Likewise.
43491 * math/w_lgammaf.c: Likewise.
43492 * math/w_lgammaf_r.c: Likewise.
43493 * math/w_lgammal.c: Likewise.
43494 * math/w_lgammal_r.c: Likewise.
43495 * math/w_sinh.c: Likewise.
43496 * math/w_sinhf.c: Likewise.
43497 * math/w_sinhl.c: Likewise.
43498 * math/w_tgamma.c: Likewise.
43499 * math/w_tgammaf.c: Likewise.
43500 * math/w_tgammal.c: Likewise.
43501 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43502 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43503 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43504 Minor optimizations. Pretty printing. Remove cruft.
43505 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43506 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43507 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43508 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43509 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43510 * sysdeps/i386/fpu/e_asin.S: Likewise.
43511 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43512 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43513 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43514 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43515 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43516 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43517 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43518 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43519 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43520 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43521 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43522 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43523 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43524 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43525 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43526 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43527 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43528 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43529 * sysdeps/i386/fpu/e_log.S: Likewise.
43530 * sysdeps/i386/fpu/e_log10.S: Likewise.
43531 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43532 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43533 * sysdeps/i386/fpu/e_log2.S: Likewise.
43534 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43535 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43536 * sysdeps/i386/fpu/e_logf.S: Likewise.
43537 * sysdeps/i386/fpu/e_logl.S: Likewise.
43538 * sysdeps/i386/fpu/e_pow.S: Likewise.
43539 * sysdeps/i386/fpu/e_powf.S: Likewise.
43540 * sysdeps/i386/fpu/e_powl.S: Likewise.
43541 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43542 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43543 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43544 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43545 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43546 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43547 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43548 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43549 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43550 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43551 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43553 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43554 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43555 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43556 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43557 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43558 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43559 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43560 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43561 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43563 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43564 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43566 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43567 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43570 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43571 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43572 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43573 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43574 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43575 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43576 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43577 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43578 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43579 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43580 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43581 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43582 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43583 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43584 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43585 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43586 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43587 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43588 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43589 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43590 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43591 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43592 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43593 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43594 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43595 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43596 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43597 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43598 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43599 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43600 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43601 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43602 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43603 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43604 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43605 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43606 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43607 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43608 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43609 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43610 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43611 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43612 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43613 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43614 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43615 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43616 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43618 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43619 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43620 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43621 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43622 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43624 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43625 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43626 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43627 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43628 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43629 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43630 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43631 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43632 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43633 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43634 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43635 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43636 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43637 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43638 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43639 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43640 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43641 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43642 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43643 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43644 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43645 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43646 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43647 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43648 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43649 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43650 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43651 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43652 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43653 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43654 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43655 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43656 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43657 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43658 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43659 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43660 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43661 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43662 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43663 (__isnanf): Likewise.
43664 (__isinf_ns): Likewise.
43665 (__isinf_nsf): Likewise.
43666 (__finite): Likewise.
43667 (__finitef): Likewise.
43668 (__ieee754_sqrt): Define as macro.
43669 (__ieee754_sqrtf): Define as macro.
43670 (__ieee754_sqrtl): Define as macro.
43671 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43673 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43674 __FINITE_MATH_ONLY__ consistent.
43675 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43677 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43679 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43682 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43684 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43686 * po/ja.po: Update from translation team.
43688 2011-10-08 Roland McGrath <roland@hack.frob.com>
43690 * locale/programs/locarchive.c (prepare_address_space): New function.
43691 (create_archive, enlarge_archive, open_archive): Use it.
43693 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43694 inside [SHARED], where it is used.
43696 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43698 * nss/getent.c (netgroup_keys): Remove unused variable.
43699 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43701 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43703 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43704 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43705 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43707 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43708 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43709 * math/Makefile (libm-calls): Add s_isinf_ns.
43710 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43711 * math/multc3.c: Likewise.
43712 * math/s_casin.c: Likewise.
43713 * math/s_casinf.c: Likewise.
43714 * math/s_casinl.c: Likewise.
43715 * math/s_ccos.c: Likewise.
43716 * math/s_ccosf.c: Likewise.
43717 * math/s_ccosl.c: Likewise.
43718 * math/s_ctan.c: Likewise.
43719 * math/s_ctanf.c: Likewise.
43720 * math/s_ctanh.c: Likewise.
43721 * math/s_ctanhf.c: Likewise.
43722 * math/s_ctanhl.c: Likewise.
43723 * math/s_ctanl.c: Likewise.
43724 * math/w_fmod.c: Likewise.
43725 * math/w_fmodf.c: Likewise.
43726 * math/w_fmodl.c: Likewise.
43727 * math/w_remainder.c: Likewise.
43728 * math/w_remainderf.c: Likewise.
43729 * math/w_remainderl.c: Likewise.
43730 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43731 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43732 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43733 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43734 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43735 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43736 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43737 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43739 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43741 * stdio-common/printf_fphex.c: Likewise.
43742 * stdio-common/printf_size.c: Likewise.
43744 * math/e_exp10.c: Include math_private.h using <...> not "...".
43745 * math/e_exp10f.c: Likewise.
43746 * math/e_exp10l.c: Likewise.
43747 * math/e_exp2l.c: Likewise.
43748 * math/e_j0l.c: Likewise.
43749 * math/e_j1l.c: Likewise.
43750 * math/e_jnl.c: Likewise.
43751 * math/e_lgammal_r.c: Likewise.
43752 * math/e_rem_pio2l.c: Likewise.
43753 * math/e_scalb.c: Likewise.
43754 * math/e_scalbf.c: Likewise.
43755 * math/e_scalbl.c: Likewise.
43756 * math/k_cosl.c: Likewise.
43757 * math/k_sinl.c: Likewise.
43758 * math/k_tanl.c: Likewise.
43759 * math/s_cacoshf.c: Likewise.
43760 * math/s_catan.c: Likewise.
43761 * math/s_catanf.c: Likewise.
43762 * math/s_catanh.c: Likewise.
43763 * math/s_catanhf.c: Likewise.
43764 * math/s_catanhl.c: Likewise.
43765 * math/s_catanl.c: Likewise.
43766 * math/s_ccosh.c: Likewise.
43767 * math/s_ccoshf.c: Likewise.
43768 * math/s_ccoshl.c: Likewise.
43769 * math/s_cexp.c: Likewise.
43770 * math/s_cexpf.c: Likewise.
43771 * math/s_cexpl.c: Likewise.
43772 * math/s_clog.c: Likewise.
43773 * math/s_clog10.c: Likewise.
43774 * math/s_clog10f.c: Likewise.
43775 * math/s_clog10l.c: Likewise.
43776 * math/s_clogf.c: Likewise.
43777 * math/s_clogl.c: Likewise.
43778 * math/s_csin.c: Likewise.
43779 * math/s_csinf.c: Likewise.
43780 * math/s_csinh.c: Likewise.
43781 * math/s_csinhf.c: Likewise.
43782 * math/s_csinhl.c: Likewise.
43783 * math/s_csinl.c: Likewise.
43784 * math/s_csqrt.c: Likewise.
43785 * math/s_csqrtf.c: Likewise.
43786 * math/s_csqrtl.c: Likewise.
43787 * math/s_ctan.c: Likewise.
43788 * math/s_ctanf.c: Likewise.
43789 * math/s_ctanh.c: Likewise.
43790 * math/s_ctanhf.c: Likewise.
43791 * math/s_ctanhl.c: Likewise.
43792 * math/s_ctanl.c: Likewise.
43793 * math/s_ldexp.c: Likewise.
43794 * math/s_ldexpf.c: Likewise.
43795 * math/s_ldexpl.c: Likewise.
43796 * math/s_significand.c: Likewise.
43797 * math/s_significandf.c: Likewise.
43798 * math/s_significandl.c: Likewise.
43799 * math/w_acos.c: Likewise.
43800 * math/w_acosf.c: Likewise.
43801 * math/w_acosh.c: Likewise.
43802 * math/w_acoshf.c: Likewise.
43803 * math/w_acoshl.c: Likewise.
43804 * math/w_acosl.c: Likewise.
43805 * math/w_asin.c: Likewise.
43806 * math/w_asinf.c: Likewise.
43807 * math/w_asinl.c: Likewise.
43808 * math/w_atan2.c: Likewise.
43809 * math/w_atan2f.c: Likewise.
43810 * math/w_atan2l.c: Likewise.
43811 * math/w_atanh.c: Likewise.
43812 * math/w_atanhf.c: Likewise.
43813 * math/w_atanhl.c: Likewise.
43814 * math/w_cosh.c: Likewise.
43815 * math/w_coshf.c: Likewise.
43816 * math/w_coshl.c: Likewise.
43817 * math/w_dremf.c: Likewise.
43818 * math/w_exp10.c: Likewise.
43819 * math/w_exp10f.c: Likewise.
43820 * math/w_exp10l.c: Likewise.
43821 * math/w_exp2.c: Likewise.
43822 * math/w_exp2f.c: Likewise.
43823 * math/w_fmod.c: Likewise.
43824 * math/w_fmodf.c: Likewise.
43825 * math/w_fmodl.c: Likewise.
43826 * math/w_hypot.c: Likewise.
43827 * math/w_hypotf.c: Likewise.
43828 * math/w_hypotl.c: Likewise.
43829 * math/w_j0.c: Likewise.
43830 * math/w_j0f.c: Likewise.
43831 * math/w_j0l.c: Likewise.
43832 * math/w_j1.c: Likewise.
43833 * math/w_j1f.c: Likewise.
43834 * math/w_j1l.c: Likewise.
43835 * math/w_jn.c: Likewise.
43836 * math/w_jnf.c: Likewise.
43837 * math/w_jnl.c: Likewise.
43838 * math/w_lgamma.c: Likewise.
43839 * math/w_lgamma_r.c: Likewise.
43840 * math/w_lgammaf.c: Likewise.
43841 * math/w_lgammaf_r.c: Likewise.
43842 * math/w_lgammal.c: Likewise.
43843 * math/w_lgammal_r.c: Likewise.
43844 * math/w_log.c: Likewise.
43845 * math/w_log10.c: Likewise.
43846 * math/w_log10f.c: Likewise.
43847 * math/w_log10l.c: Likewise.
43848 * math/w_log2.c: Likewise.
43849 * math/w_log2f.c: Likewise.
43850 * math/w_log2l.c: Likewise.
43851 * math/w_logf.c: Likewise.
43852 * math/w_logl.c: Likewise.
43853 * math/w_pow.c: Likewise.
43854 * math/w_powf.c: Likewise.
43855 * math/w_powl.c: Likewise.
43856 * math/w_remainder.c: Likewise.
43857 * math/w_remainderf.c: Likewise.
43858 * math/w_remainderl.c: Likewise.
43859 * math/w_scalb.c: Likewise.
43860 * math/w_scalbf.c: Likewise.
43861 * math/w_scalbl.c: Likewise.
43862 * math/w_sinh.c: Likewise.
43863 * math/w_sinhf.c: Likewise.
43864 * math/w_sinhl.c: Likewise.
43865 * math/w_sqrt.c: Likewise.
43866 * math/w_sqrtf.c: Likewise.
43867 * math/w_sqrtl.c: Likewise.
43868 * math/w_tgamma.c: Likewise.
43869 * math/w_tgammaf.c: Likewise.
43870 * math/w_tgammal.c: Likewise.
43872 * po/ja.po: Update from translation team.
43874 2011-09-29 Andreas Jaeger <aj@suse.de>
43877 * sunrpc/netname.c (netname2host): Fix logic.
43881 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43883 * math/w_remainder.c (__remainder): Likewise.
43884 * math/w_remainderf.c (__remainderf): Likewise.
43885 * math/libm-test.inc (remainder_test): Add test cases.
43887 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43889 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43892 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43894 * string/test-memcmp.c: Avoid unncessary #defines.
43895 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43897 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43899 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43900 Use new sse2 version for core i3 - i7 as it's faster
43901 than sse42 version.
43902 (bit_Prefer_PMINUB_for_stringop): New.
43903 * sysdeps/x86_64/rawmemchr.S: Update.
43904 Replace with faster SSE2 version.
43905 * sysdeps/x86_64/memrchr.S: New file.
43906 * sysdeps/x86_64/memchr.S: Update.
43907 Replace with faster SSE2 version.
43909 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43911 * elf/dl-load.c (lose): Add cast to avoid warning.
43913 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43915 * po/ca.po: Update from translation team.
43917 * inet/getnetgrent_r.c: Hook up nscd.
43918 * nscd/Makefile (routines): Add nscd_netgroup.
43919 (nscd-modules): Add netgroupcache.
43920 (CFLAGS-netgroupcache.c): Define.
43921 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43922 (cache_search): Add const to second parameter.
43923 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43925 (dbs): Add netgrdb entry.
43926 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43927 (verify_persistent_db): Handle netgrdb.
43928 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43929 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43931 (netgroup_response_header): Define.
43932 (innetgroup_response_header): Define.
43933 (datahead): Add netgroup_response_header and innetgroup_response_header
43935 * nscd/nscd.conf: Add entries for netgroup cache.
43936 * nscd/nscd.h (dbtype): Add netgrdb.
43937 (_PATH_NSCD_NETGROUP_DB): Define.
43938 (netgroup_iov_disabled): Declare.
43939 (xmalloc, xcalloc, xrealloc): Move declarations here.
43940 (cache_search): Adjust prototype.
43941 Add netgroup-related prototypes.
43942 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43943 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43944 (__nscd_innetgr): Declare.
43945 * nscd/selinux.c (perms): Use access_vector_t as element type and
43946 add netgroup-related initializers.
43947 * nscd/netgroupcache.c: New file.
43948 * nscd/nscd_netgroup.c: New file.
43949 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43950 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43951 For four parameters use innetgr.
43952 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43953 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43954 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43955 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43957 * nscd/connections.c (register_traced_file): Don't register file
43958 for disabled databases.
43960 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43962 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43964 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43965 from tree and freeing node.
43967 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43969 * nss/nsswitch.c (__nss_database_lookup): Handle
43970 nss_parse_service_list out of memory case.
43972 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43974 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43975 out of memory case.
43977 2011-10-04 Andreas Schwab <schwab@redhat.com>
43979 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43980 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43982 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43983 elf_machine_rela, elf_machine_lazy_rel.
43984 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43985 (ELF_DYNAMIC_DO_REL): Likewise.
43986 (ELF_DYNAMIC_DO_RELA): Likewise.
43987 (ELF_DYNAMIC_RELOCATE): Likewise.
43988 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43989 to ELF_DYNAMIC_DO_REL.
43990 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43991 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43992 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43994 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43995 skip_ifunc, don't call ifunc function if non-zero.
43996 (elf_machine_rela): Likewise.
43997 (elf_machine_lazy_rel): Likewise.
43998 (elf_machine_lazy_rela): Likewise.
43999 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44000 (elf_machine_lazy_rel): Likewise.
44001 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44003 (elf_machine_lazy_rel): Likewise.
44004 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44006 (elf_machine_lazy_rel): Likewise.
44007 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44008 (elf_machine_lazy_rel): Likewise.
44009 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44010 (elf_machine_lazy_rel): Likewise.
44011 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44012 (elf_machine_lazy_rel): Likewise.
44013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44014 (elf_machine_lazy_rel): Likewise.
44015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44016 (elf_machine_lazy_rel): Likewise.
44017 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44018 (elf_machine_lazy_rel): Likewise.
44020 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44022 * nss/nss_files/files-init.c (_nss_files_init): Use static
44023 initialization for all the *_traced_file variables.
44025 2011-09-28 Andreas Schwab <schwab@redhat.com>
44027 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44029 2011-09-27 Roland McGrath <roland@hack.frob.com>
44032 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44034 2011-09-27 Andreas Schwab <schwab@redhat.com>
44036 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44037 Reread the line before reparsing it.
44039 2011-09-26 Andreas Schwab <schwab@redhat.com>
44041 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44043 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44044 Maxim Kuvyrkov <maxim@codesourcery.com>
44045 Joseph Myers <joseph@codesourcery.com>
44047 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44048 if needed for __stack_chk_guard.
44050 2011-09-19 Roland McGrath <roland@hack.frob.com>
44052 * sysdeps/posix/spawni.c (script_execute): Always define it.
44053 It will be optimized away if unused.
44054 (maybe_script_execute): New function.
44055 (__spawni): Call it.
44057 * Makerules: Don't include tls.make.
44058 (config-tls): Always set to thread.
44059 * tls.make.c: File removed.
44061 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44063 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44064 * config.make.in (CPPFLAGS-config): New substituted variable.
44066 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44068 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44071 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44072 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44074 2011-09-15 Roland McGrath <roland@hack.frob.com>
44076 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44077 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44078 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44079 (CALL_FAIL): Likewise.
44080 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44081 (CALL_FAIL): Macro removed.
44082 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44084 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44086 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44087 for __FINITE_MATH_ONLY__ == 1.
44089 2011-09-15 Andreas Schwab <schwab@redhat.com>
44091 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44092 __ieee754_sqrt instead of sqrt.
44093 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44094 __ieee754_sqrtf instead of sqrtf.
44095 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44096 __floorf instead of floorf.
44097 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44098 __floorf, __truncf instead of floorf, truncf.
44100 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44102 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44104 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44105 __extern_always_inline.
44106 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44109 2011-09-14 Andreas Schwab <schwab@redhat.com>
44111 * elf/rtld.c (dl_main): Also relocate in dependency order when
44112 doing symbol dependency testing.
44114 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44116 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44117 Always define `refsym'.
44119 2011-09-13 Andreas Schwab <schwab@redhat.com>
44121 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44122 (__FD_ELT): Renamed from __FDELT.
44123 * misc/bits/select2.h (__FD_ELT): Likewise.
44124 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44125 __FD_MASK instead of __FDELT, __FDMASK.
44126 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44128 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44131 * elf/Makefile (gen-ldd): Fix pattern.
44133 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44134 (init_tls): Likewise.
44136 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44138 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44140 2011-09-12 Andreas Schwab <schwab@redhat.com>
44142 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44143 `struct cmsghdr *' instead of `void *'.
44144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44147 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44149 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44151 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44152 ldd_rewrite_script.
44154 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44156 * configure.in: Remove --with-tls option.
44157 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44158 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44159 out in case it is missing.
44160 * sysdeps/ia64/elf/configure.in: Likewise.
44161 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44162 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44163 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44164 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44165 * sysdeps/sh/elf/configure.in: Likewise.
44166 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44167 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44168 * sysdeps/x86_64/elf/configure.in: Likewise.
44169 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44170 * sysdeps/mach/hurd/tls.h: Likewise.
44173 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44176 * configure.in: Fix use of AC_INIT.
44178 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44180 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44182 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44184 * malloc/hooks.c: Likewise.
44187 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44188 variables statically.
44189 (narenas): Initialize.
44190 (list_lock): Initialize.
44191 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44192 initializtion of main_arena and list_lock. Small cleanups.
44193 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44194 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44195 Add initializers to main_arena and mp_.
44196 (malloc_state): Remove pagesize member. Change all users to use
44199 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44200 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44201 is always initialized.
44203 * malloc/malloc.c: Removed unused configurations and dead code.
44204 * malloc/arena.c: Likewise.
44205 * malloc/hooks.c: Likewise.
44206 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44208 * include/tls.h: Removed. USE___THREAD must always be defined.
44209 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44210 * elf/dl-libc.c: Likewise.
44211 * elf/dl-tsd.c: Likewise.
44212 * include/errno.h: Likewise.
44213 * include/netdb.h: Likewise.
44214 * include/resolv.h: Likewise.
44215 * inet/herrno-loc.c: Likewise.
44216 * inet/herrno.c: Likewise.
44217 * malloc/arena.c: Likewise.
44218 * malloc/hooks.c: Likewise.
44219 * malloc/malloc.c: Likewise.
44220 * resolv/res-state.c: Likewise.
44221 * resolv/res_libc.c: Likewise.
44222 * sysdeps/i386/dl-machine.h: Likewise.
44223 * sysdeps/ia64/dl-machine.h: Likewise.
44224 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44225 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44226 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44227 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44228 * sysdeps/sh/dl-machine.h: Likewise.
44229 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44230 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44231 * sysdeps/unix/i386/sysdep.S: Likewise.
44232 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44233 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44235 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44237 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44238 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44240 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44242 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44243 * sysdeps/x86_64/dl-machine.h: Likewise.
44244 * tls.make.c: Likewise.
44246 * configure.in: Remove --with-__thread option. Make tests for
44247 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44248 tls_model attribute fail if no support is available. Remove
44250 * Makeconfig: Adjust for dropped configure option. All features are
44252 * Makerules: Likewise.
44253 * Versions.def: Likewise.
44254 * argp/argp-fmtstream.c: Likewise.
44255 * argp/argp-fmtstream.h: Likewise.
44256 * argp/argp-help.c: Likewise.
44257 * assert/assert.c: Likewise.
44258 * config.h.in: Likewise.
44259 * config.make.in: Likewise.
44260 * configure: Likewise.
44261 * configure.in: Likewise.
44262 * csu/Versions: Likewise.
44263 * csu/init.c: Likewise.
44264 * elf/tst-audit2.c: Likewise.
44265 * elf/tst-tls10.c: Likewise.
44266 * elf/tst-tls10.h: Likewise.
44267 * elf/tst-tls11.c: Likewise.
44268 * elf/tst-tls12.c: Likewise.
44269 * elf/tst-tls14.c: Likewise.
44270 * elf/tst-tlsmod11.c: Likewise.
44271 * elf/tst-tlsmod12.c: Likewise.
44272 * elf/tst-tlsmod13.c: Likewise.
44273 * elf/tst-tlsmod13a.c: Likewise.
44274 * elf/tst-tlsmod14a.c: Likewise.
44275 * elf/tst-tlsmod15b.c: Likewise.
44276 * elf/tst-tlsmod16a.c: Likewise.
44277 * elf/tst-tlsmod16b.c: Likewise.
44278 * elf/tst-tlsmod7.c: Likewise.
44279 * elf/tst-tlsmod8.c: Likewise.
44280 * elf/tst-tlsmod9.c: Likewise.
44281 * gmon/gmon.c: Likewise.
44282 * grp/fgetgrent_r.c: Likewise.
44283 * grp/putgrent.c: Likewise.
44284 * hurd/fopenport.c: Likewise.
44285 * include/libc-symbols.h: Likewise.
44286 * include/tls.h: Likewise.
44287 * intl/gettextP.h: Likewise.
44288 * intl/loadinfo.h: Likewise.
44289 * locale/global-locale.c: Likewise.
44290 * locale/localeinfo.h: Likewise.
44291 * mach/devstream.c: Likewise.
44292 * malloc/arena.c: Likewise.
44293 * malloc/set-freeres.c: Likewise.
44294 * misc/err.c: Likewise.
44295 * misc/getttyent.c: Likewise.
44296 * misc/mntent_r.c: Likewise.
44297 * posix/getopt.c: Likewise.
44298 * posix/wordexp.c: Likewise.
44299 * pwd/fgetpwent_r.c: Likewise.
44300 * resolv/Versions: Likewise.
44301 * resolv/res_hconf.c: Likewise.
44302 * shadow/fgetspent_r.c: Likewise.
44303 * shadow/putspent.c: Likewise.
44304 * stdio-common/printf_fphex.c: Likewise.
44305 * stdio-common/tmpfile.c: Likewise.
44306 * stdlib/abort.c: Likewise.
44307 * stdlib/fmtmsg.c: Likewise.
44308 * sunrpc/auth_unix.c: Likewise.
44309 * sunrpc/clnt_perr.c: Likewise.
44310 * sunrpc/clnt_tcp.c: Likewise.
44311 * sunrpc/clnt_udp.c: Likewise.
44312 * sunrpc/clnt_unix.c: Likewise.
44313 * sunrpc/openchild.c: Likewise.
44314 * sunrpc/svc_simple.c: Likewise.
44315 * sunrpc/svc_tcp.c: Likewise.
44316 * sunrpc/svc_udp.c: Likewise.
44317 * sunrpc/svc_unix.c: Likewise.
44318 * sunrpc/xdr.c: Likewise.
44319 * sunrpc/xdr_array.c: Likewise.
44320 * sunrpc/xdr_rec.c: Likewise.
44321 * sunrpc/xdr_ref.c: Likewise.
44322 * sunrpc/xdr_stdio.c: Likewise.
44324 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44326 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44328 2011-07-03 Andreas Jaeger <aj@suse.de>
44330 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44331 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44332 regenerate with gen-libm-tests.pl.
44334 2010-05-12 Petr Baudis <pasky@suse.cz>
44337 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44338 around j0() zero points by switching to j1().
44339 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44340 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44342 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44344 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44346 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44348 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44351 Patch in part by Pavel Roskin <proski@gnu.org>.
44354 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44356 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44357 Free memory block if necessary.
44360 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44361 be NULL. Don't lock in this case.
44363 2011-09-09 Roland McGrath <roland@hack.frob.com>
44365 * elf/elf.h (ELFOSABI_GNU): New macro.
44366 (ELFOSABI_LINUX): Define to that.
44368 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44370 * string/strncat.c (strncat): Undef the symbol in case it has been
44371 defined in bits/string.h.
44373 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44375 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44377 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44380 2011-08-17 Andreas Jaeger <aj@suse.de>
44382 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44384 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44385 Ian Lance Taylor <iant@google.com>
44387 * math/libm-test.inc (lround_test): New testcase.
44388 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44390 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44392 * Makefile: Remove support for automatic cvs check-ins.
44393 * Makerules: Likewise.
44394 * config.make.in: Likewise.
44395 * configure.in: Likewise.
44396 * intl/Makefile: Likewise.
44397 * locale/Makefile: Likewise.
44398 * po/Makefile: Likewise.
44399 * posix/Makefile: Likewise.
44400 * sysdeps/gnu/Makefile: Likewise.
44401 * sysdeps/mach/hurd/Makefile: Likewise.
44402 * sysdeps/sparc/sparc32/Makefile: Likewise.
44405 * posix/Makefile (bug-regex32-ENV): Define.
44406 Patch by John Stanley <jpsinthemix@verizon.net>.
44408 * misc/Makefile (headers): Add bits/select2.h.
44409 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44410 * misc/bits/select2.h: New file.
44411 * include/bits/select2.h: New file.
44412 * debug/Makefile (routines): Add fdelt_chk.
44413 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44414 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44416 * debug/fdelt_chk.c: New file.
44418 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44419 * wcsmbs/test-wmemcmp.c: Likewise.
44420 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44421 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44423 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44425 * string/Makefile (strop-tests): Add memcmp.
44426 * string/test-wmemcmp.c: New file.
44427 * string/test-memcmp.c: Add wmemcmp support.
44429 2011-09-08 Roland McGrath <roland@hack.frob.com>
44432 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44435 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44436 garbage value in a __mach_port_mod_refs call in the cases of the
44437 task-self and thread-self ports.
44439 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44441 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44443 2011-09-08 Andreas Schwab <schwab@redhat.com>
44445 * elf/dl-load.c (lose): Check for non-null L.
44447 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44449 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44451 * elf/dl-libc.c (dlerror_run): Pass back error code from
44455 * elf/dl-load.c (lose): Free l_origin if it is valid.
44457 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44459 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44460 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44461 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44462 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44463 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44464 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44466 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44468 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44469 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44470 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44471 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44472 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44473 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44474 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44475 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44476 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44477 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44479 2011-08-15 Alan Modra <amodra@gmail.com>
44482 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44483 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44484 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44485 ppc_mcount to static-only-routines.
44486 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44488 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44489 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44491 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44493 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44494 for finite and infinity parameters.
44496 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44498 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44499 and add nop instructions for throughput optimization.
44500 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44502 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44504 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44505 aligned copy for power7 with vector-scalar instructions.
44506 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44508 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44513 2011-09-07 Andreas Schwab <schwab@redhat.com>
44516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44519 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44521 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44522 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44523 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44524 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44527 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44529 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44530 Forgot to demangle the pointer.
44532 * sysdeps/i386/sysdep.h: Define atom_text_section.
44533 * sysdeps/x86_64/sysdep.h: Likewise.
44534 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44535 section with atom_text_section.
44536 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44537 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44538 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44539 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44540 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44542 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44543 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44544 already be defined. Change to take two parameters and don't assign
44545 result to variable. Adjust all users.
44546 Define INTERNAL_GETTIME if not already defined.
44547 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44550 HAVE_CLOCK_GETTIME_VSYSCALL.
44551 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44554 gettimeofday vsyscall, just use time.
44556 2011-09-06 Andreas Schwab <schwab@redhat.com>
44558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44561 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44563 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44567 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44568 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44569 syscall if possible.
44571 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44573 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44574 e_ident. Don't pass to find_mapsXX.
44575 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44577 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44580 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44581 * sysdeps/x86_64/multiarch/strchr.S: Update.
44582 Check bit_slow_BSF bit.
44583 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44584 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44585 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44587 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44590 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44592 (tryshell): Define.
44593 (__spawni): Change last parameter to be flag. Test
44594 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44595 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44596 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44597 * posix/spawni.c: Likewise.
44598 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44599 * posix/spawnp.c: Likewise. Change normal version to use
44600 SPAWN_XFLAGS_USE_PATH.
44601 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44602 SPAWN_XFLAGS_TRY_SHELL.
44605 * posix/glob.h: Remove gcc 1.x support.
44608 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44610 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44613 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44615 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44616 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44617 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44618 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44619 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44620 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44622 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44624 * sysdeps/x86_64/wcscmp.S: New file.
44626 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44627 wcscmp-c wcscmp-sse2
44628 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44629 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44630 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44631 * wcsmbs/wcscmp.c: Allow renaming.
44633 2011-09-05 David S. Miller <davem@davemloft.net>
44635 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44636 stack slot, rather than the struct return pointer slot.
44637 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44638 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44640 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44642 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44644 * po/ja.po: Update from translation team.
44647 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44648 kernel in 64-bit binaries.
44650 2011-09-01 David S. Miller <davem@davemloft.net>
44652 * elf/elf.h (HWCAP_SPARC_*): Move to..
44653 * sysdeps/sparc/sysdep.h: this new file and add new values.
44654 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44655 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44656 _DL_HWCAP_COUNT to 24.
44657 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44659 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44660 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44661 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44663 instead of magic constants.
44664 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44666 2011-08-31 David S. Miller <davem@davemloft.net>
44668 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44669 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44670 Reimplement to do errno handling inline.
44671 (SYSCALL_ERROR_HANDLER): New macro.
44672 (__SYSCALL_STRING): Do not do errno handling in asm.
44673 (__CLONE_SYSCALL_STRING): Delete.
44674 (__INTERNAL_SYSCALL_STRING): Delete.
44675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44676 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44677 (PSEUDO): Reimplement to do errno handling inline.
44678 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44679 (SYSCALL_ERROR_HANDLER): New macro.
44680 (__SYSCALL_STRING): Do not do errno handling in asm.
44681 (__CLONE_SYSCALL_STRING): Delete.
44682 (__INTERNAL_SYSCALL_STRING): Delete.
44683 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44684 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44686 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44687 (inline_syscall*): Add 'err' argument.
44688 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44689 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44690 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44691 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44693 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44694 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44696 2011-08-30 Andreas Schwab <schwab@redhat.com>
44698 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44700 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44702 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44705 2011-08-24 David S. Miller <davem@davemloft.net>
44707 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44709 2011-08-24 Andreas Schwab <schwab@redhat.com>
44711 * elf/Makefile: Add rules to build and run unload8 test.
44712 * elf/unload8.c: New file.
44713 * elf/unload8mod1.c: New file.
44714 * elf/unload8mod1x.c: New file.
44715 * elf/unload8mod2.c: New file.
44716 * elf/unload8mod3.c: New file.
44718 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44721 2011-08-23 David S. Miller <davem@davemloft.net>
44723 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44724 subtract stack bias.
44725 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44726 %sp not %fp in calculations.
44727 (_JMPBUF_UNWINDS_ADJ): Likewise.
44729 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44730 (aio_suspend): Call it to force an exception region around the
44731 AIO_MISC_WAIT() invocation.
44733 2011-08-23 Andreas Schwab <schwab@redhat.com>
44735 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44738 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44740 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44742 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44743 and <dl-machine.h>.
44744 (Elf64_FuncDesc): Remove.
44746 2011-08-22 David S. Miller <davem@davemloft.net>
44748 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44749 sigaltstack check, add missing cfi directives.
44750 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44751 missing cfi directives, and sigaltstack handling.
44753 2011-08-16 Andreas Schwab <schwab@redhat.com>
44756 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44757 object is seen twice.
44758 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44760 * elf/Makefile (distribute): Add tst-initorder2.c.
44761 (tests): Add tst-initorder2.
44762 (modules-names): Add tst-initorder2a tst-initorder2b
44763 tst-initorder2c tst-initorder2d. Add rules to build them.
44764 ($(objpfx)tst-initorder2.out): New rule.
44765 * elf/tst-initorder2.c: New file.
44766 * elf/tst-initorder2.exp: New file.
44768 2011-08-22 Andreas Schwab <schwab@redhat.com>
44770 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44772 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44773 dependencies back to end of function.
44775 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44776 $(elfobjdir)/ld.so.
44778 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44781 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44783 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44784 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44785 of __vdso_gettimeofday.
44786 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44787 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44789 (_libc_vdso_platform_setup): Remove initialization of
44790 __vdso_gettimeofday and __vdso_time.
44792 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44794 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44795 and fgetc_unlocked.
44796 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44799 * elf/dl-open.c (add_to_global): Report additions to the global scope
44800 for LD_DEBUG=scopes.
44801 (dl_open_worker): Also print scope of newly loaded dependencies.
44802 (_dl_show_scope): Indicate if there is no scope.
44805 * stdio-common/Makefile (tests): Add bug24.
44806 * stdio-common/bug24.c: New file.
44808 2011-08-19 Andreas Jaeger <aj@suse.de>
44811 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44812 non-existant file when using close-on-exec mode.
44814 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44816 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44817 the very first instruction.
44819 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44820 the CFI state in the end.
44821 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44822 inclusion of dl-trampoline.h.
44823 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44825 2011-08-19 Andreas Schwab <schwab@redhat.com>
44827 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44828 expectations for long double.
44830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44831 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44833 2011-08-14 David S. Miller <davem@davemloft.net>
44835 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44836 artificual limit depends upon the system page size.
44838 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44840 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44841 * resolv/Makefile: Define CFLAGS-libresolv.
44843 2011-08-17 Andreas Schwab <schwab@redhat.com>
44845 * nss/makedb.c (compute_tables): Make variables used in nested
44848 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44850 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44851 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44852 if buffer was too small.
44854 * elf/pldd.c (main): Attach to all threads in the process.
44855 Rewrite /proc handling to use *at functions.
44857 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44859 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44860 specifies first scope to show.
44861 (dl_open_worker): Update callers. Move printing scope of new
44862 object to before the relocation.
44863 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44864 * sysdeps/generic/ldsodefs.h: Update declaration.
44866 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44867 string for the scope number.
44869 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44871 * nscd/servicescache.c (cache_addserv): Make sure written is always
44874 2011-08-14 Roland McGrath <roland@hack.frob.com>
44876 * sysdeps/i386/i486/bits/atomic.h
44877 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44878 statement expression, so as to suppress "set but not used" warning.
44879 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44881 * string/strncat.c (STRNCAT): Use prototype definition.
44883 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44884 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44886 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44887 (localedef-modules): Add localedef.
44888 (locale-modules): Add locale.
44890 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44891 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44892 to avoid a warning.
44894 2011-08-14 David S. Miller <davem@davemloft.net>
44896 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44897 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44899 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44901 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44902 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44903 * elf/rtld.c (dl_main): Set l_name of vDSO.
44904 Call _dl_show_scope when DL_DEBUG_SCOPES.
44905 (process_dl_debug): Recognize scopes flag and also set it for all.
44906 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44907 Declare _dl_show_scope.
44909 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44910 (do_dlopen): Pass caller_dlopen to dl_open.
44911 (__libc_dlopen_mode): Initialize caller_dlopen.
44913 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44914 of libc. Make tolower call locale-independent. Optimize a bit by
44915 using isdigit instead of isalnum.
44916 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44918 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44920 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44921 was a dependency or dynamically loaded.
44923 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44925 * intl/l10nflist.c: Allow architecture-specific pop function.
44926 * sysdeps/x86_64/l10nflist.c: New file.
44928 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44931 2011-08-10 Andreas Schwab <schwab@redhat.com>
44933 * include/dirent.h: Add libc_hidden_proto for scandirat and
44934 scandirat64. Don't declare __scandirat64.
44935 * dirent/scandirat.c: Add libc_hidden_def.
44936 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44937 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44939 2011-08-10 David S. Miller <davem@davemloft.net>
44941 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44943 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44944 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44945 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44947 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44949 * Versions.def [libc]: Add GLIBC_2.15.
44950 * dirent/Makefile (routines): Add scandirat and scandirat64.
44951 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44953 * dirent/dirent.h: Declare scandirat and scandirat64.
44954 * dirent/scandirat.c: New file.
44955 * dirent/scandirat64.c: New file.
44956 * sysdeps/wordsize-64/scandirat.c: New file.
44957 * sysdeps/wordsize-64/scandirat64.c: New file.
44958 * dirent/opendir.c: Define opendirat.
44959 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44961 * dirent/scandir64.c: Adjust for scandir.c change.
44962 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44963 __scandirat64, and __scandir_cancel_handler.
44964 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44965 additional parameter and use openat instead of open (outside of ld.so).
44966 Add new __opendir as wrapper around __opendirat.
44967 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44968 here without requiring old scandirat implementation.
44970 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44972 * dirent/scandir.c (cancel_handler): Renamed to
44973 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44974 defined. Adjust users.
44975 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44976 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44978 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44980 * string/test-string.h (IMPL): Use __STRING to expand name and then
44983 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44986 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44988 * string/Makefile: Update.
44989 (strop-tests): Append strncat.
44990 * string/test-wcscmp.c: New file.
44991 New comprehensive test for wcscmp.
44992 * string/test-strcmp.c: Update.
44993 (WIDE): New define.
44995 2011-07-22 Andreas Schwab <schwab@redhat.com>
44997 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45000 2011-07-26 Andreas Schwab <schwab@redhat.com>
45002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45003 encoding to ACE if AI_IDN.
45005 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45007 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45008 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45010 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45012 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45013 Fix overflow bug in strncat.
45014 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45016 * string/test-strncat.c: Update.
45017 Add new tests for checking overflow bugs.
45019 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45022 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45023 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45024 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45025 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45026 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45027 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45028 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45029 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45032 (USE_AS_STRCAT): Define.
45033 Add strcat and strncat support.
45034 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45036 2011-07-25 Andreas Schwab <schwab@redhat.com>
45038 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45039 __n bigger than INT_MAX+1.
45040 (__strncmp_g): Likewise.
45042 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45044 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45045 * libio/stido.h: Likewise.
45047 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45049 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45052 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45054 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45055 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45056 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45059 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45064 (_dl_x86_64_save_sse): Likewise.
45066 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45068 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45070 (_dl_x86_64_save_sse): Likewise.
45072 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45074 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45076 2011-07-21 Andreas Schwab <schwab@redhat.com>
45078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45080 (_dl_x86_64_save_sse): Use correct AVX check.
45082 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45084 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45085 bug in strncpy/strncat.
45086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45088 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45090 * string/tester.c (test_strcat): Add tests for different alignments
45091 of source and destination.
45092 (test_strncat): Likewise.
45094 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45097 * posix/glob.c (glob): Check passed in values before using them in
45098 expressions to avoid some overflows.
45099 (glob_in_dir): Likewise.
45102 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45103 check for AVX enablement so that we don't crash with old kernels and
45105 * elf/tst-audit4.c: Add same checks here.
45106 * elf/tst-audit6.c: Likewise.
45108 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45110 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45112 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45114 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45116 * po/cs.po: Update from translation team.
45117 * po/bg.po: Likewise.
45119 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45121 * misc/sys/cdefs.h: Add support for const attribute.
45122 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45123 to gnu_dev_{major,minor,makedev} functions.
45125 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45127 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45129 2011-07-20 Andreas Schwab <schwab@redhat.com>
45131 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45134 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45137 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45138 register in order to avoid conflicts with the soft frame pointer
45139 being held in r11 when necessary.
45140 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45141 (INTERNAL_VSYSCALL_NCS): Likewise.
45143 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45145 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45146 * elf/dl-fini.c (_dl_fini): Adjust caller.
45147 * elf/dl-close.c (_dl_close_worker): Likewise.
45148 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45150 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45152 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45153 "aux_cache->nlibs < 0".
45155 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45156 in the reload-count case.
45158 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45161 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45162 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45163 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45164 * sysdeps/x86_64/multiarch/strcat.S: New file.
45165 * sysdeps/x86_64/multiarch/strncat.S: New file.
45166 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45167 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45168 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45169 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45170 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45171 (USE_AS_STRCAT): Define.
45172 Add strcat and strncat support.
45173 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45174 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45175 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45176 * string/strncat.c: Update.
45177 (USE_AS_STRNCAT): Define.
45178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45179 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45181 * sysdeps/x86_64/multiarch/init-arch.h
45182 (bit_Prefer_PMINUB_for_stringop): New.
45183 (index_Prefer_PMINUB_for_stringop): Likewise.
45184 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45185 bit_Prefer_PMINUB_for_stringop.
45187 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45189 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45191 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45192 of casting of buffer.
45193 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45194 buffer32 and buffer64.
45195 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45196 writes instead of casting of buffer.
45197 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45199 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45202 2011-07-19 Andreas Schwab <schwab@redhat.com>
45204 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45206 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45208 * nscd/nscd.c (termination_handler): Don't do anything for a database
45209 if it has not yet been initialized.
45211 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45213 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45215 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45217 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45219 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45221 * po/nl.po: Update from translation team.
45222 * po/sv.po: Likewise.
45224 2011-07-16 Roland McGrath <roland@hack.frob.com>
45226 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45227 now disallowed by GCC.
45229 * configure.in (use-default-link): Default to yes if a test -shared
45230 link meets our qualifications.
45231 * configure: Regenerated.
45233 * config.make.in (output-format): New variable.
45234 * configure.in: Check for ld --print-output-format support.
45235 * configure: Regenerated.
45236 * Makerules ($(common-objpfx)format.lds)
45237 [$(output-format) != unknown]: Just use $(output-format),
45238 instead of the linker-script munging.
45240 2011-07-14 Roland McGrath <roland@hack.frob.com>
45242 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45243 of $(common-objpfx)shlib.lds.
45244 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45246 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45247 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45249 * configure.in (-z relro check): Adjust test code to add a large
45250 writable data section after it.
45251 * configure: Regenerated.
45253 2011-07-11 Roland McGrath <roland@hack.frob.com>
45255 * configure.in (-z relro check): Fix test code to make the variable
45257 * configure: Regenerated.
45259 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45261 * nscd/nscd.h (struct traced_file): Define.
45262 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45263 elements. Add traced_files.
45264 (inotify_fd): Declare.
45265 (register_traced_file): Declare.
45266 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45267 (inotify_fd): Export.
45268 (resolv_conf_descr): Remove.
45269 (nscd_init): Move inotify descriptor creation to main.
45270 Don't register files for notification here.
45271 (register_traced_file): New function.
45272 (invalidate_cache): Don't use reset_res to determine whether to call
45273 res_init, go through the list of registered files.
45274 (main_loop_poll): The inotify descriptors are now stored in the
45275 structures for the traced files.
45276 (main_loop_epoll): Likewise
45277 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45278 to __nss_disable_nscd.
45279 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45280 for a database anymore. Check the records for all the registered
45282 * nss/Makefile (libnss_files-routines): Add files-init.
45283 (libnss_db-routines): Add db-init.
45284 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45285 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45286 * nss/nss_db/db-init.c: New file.
45287 * nss/nss_files/files-init.c: New file.
45288 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45289 __nss_lookup_function.
45290 (__nss_lookup_function): Call nss_load_library.
45291 (nss_load_all_libraries): New function.
45292 (__nss_disable_nscd): Take parameter with callback function for files
45293 to register. Set is_nscd. Load all the DSOs for the NSS modules
45294 used for the cached services.
45295 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45296 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45297 options for features to all the files in nscd.
45299 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45301 2011-07-10 Roland McGrath <roland@hack.frob.com>
45303 * csu/elf-init.c (__libc_csu_init): Comment typo.
45305 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45307 * po/pl.po: Update from translation team.
45308 * po/ja.po: Likewise.
45309 * po/ru.po: Likewise.
45310 * po/ko.po: Likewise.
45311 * po/fr.po: Likewise.
45313 2011-07-09 Roland McGrath <roland@hack.frob.com>
45315 * configure.in (.ctors/.dtors header and trailer check):
45316 Use an empirical test on a built program.
45317 * configure: Regenerated.
45319 * configure.in (-z relro check): Use an empirical test on a built DSO.
45320 Detect, but do not require, on ia64.
45321 * configure: Regenerated.
45323 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45324 Update tests that use readelf to use $READELF instead.
45325 * configure: Regenerated.
45327 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45329 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45330 if the result is not used.
45332 2011-07-05 Andreas Jaeger <aj@suse.de>
45335 * stdlib/tst-strtod.c: Add testcase.
45337 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45339 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45340 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45341 The latter has a higher limit. Take additional parameter to pass to
45343 (__pathconf): Pass file to __statfs_link_max.
45344 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45346 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45350 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45351 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45353 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45354 (__statfs_filesize_max): Likewise.
45355 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45357 2011-07-05 Andreas Jaeger <aj@suse.de>
45359 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45361 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45363 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45365 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45368 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45370 * Makefile (strop-tests): Add strncat.
45371 * string/test-strncat.c: New file.
45373 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45375 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45377 2011-06-21 Andreas Jaeger <aj@suse.de>
45379 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45380 Copy rule from iconvdata/Makefile.
45382 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45385 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45386 but no long options are defined, just return 'W'.
45388 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45391 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45393 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45395 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45397 (innetgr): Likewise.
45399 2011-07-05 Roland McGrath <roland@hack.frob.com>
45401 * config.make.in (install_root): Default to $(DESTDIR).
45403 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45405 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45407 2011-07-02 Roland McGrath <roland@hack.frob.com>
45409 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45411 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45412 containing directory rather than embedding absolute directory names.
45414 * scripts/check-local-headers.sh: Rewritten using awk.
45415 Match by word, not by line. Print error messages for matches.
45416 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45418 * Makerules [shlib-lds-flags empty]:
45419 ($(common-objpfx)libc_pic.opts): New target.
45420 ($(common-objpfx)libc_pic.os.clean): New target.
45421 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45423 * config.make.in (OBJCOPY): New variable.
45424 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45425 * configure: Regenerated.
45427 * config.make.in (use-default-link): New variable.
45428 * configure.in (use_default_link): Grok --with-default-link to set it.
45429 * configure: Regenerated.
45430 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45431 (shlib-lds, shlib-lds-flags): Define to empty.
45433 * Makerules (shlib-lds): New variable.
45434 (shlib-lds-flags): New variable.
45435 (build-shlib, build-moduile, build-module-asneeded): Use it.
45436 ($(common-objpfx)libc.so): Use $(shlib-lds).
45437 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45438 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45440 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45441 DT_FLAGS/DT_FLAGS_1 with zero flags.
45443 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45444 linker script munging.
45446 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45448 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45450 * crypt/sha512.c (sha512_process_block): Perform total addition using
45451 128-bit if possible.
45452 (__sha512_finish_ctx): Likewise.
45453 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45455 * crypt/sha256.c (SWAP64): Define.
45456 (sha256_process_block): Perform total addition using 64-bit if
45458 (__sha256_finish_ctx): Likewise.
45460 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45462 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45463 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45464 * nscd/hstcache.c (cache_addhst): Likewise.
45465 * nscd/grpcache.c (cache_addgr): Likewise.
45466 * nscd/aicache.c (addhstaiX): Likewise
45467 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45469 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45471 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45473 * nscd/hstcache.c (cache_addhst): Likewise.
45474 * nscd/grpcache.c (cache_addgr): Likewise.
45475 * nscd/aicache.c (addhstaiX): Likewise
45477 2011-07-01 Andreas Schwab <schwab@redhat.com>
45479 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45480 domain only when needed.
45482 2011-06-30 Andreas Schwab <schwab@redhat.com>
45484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45485 is always restored.
45487 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45489 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45490 are re-adding the entry.
45491 * nscd/servicescache.c (cache_addserv): Likewise.
45493 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45495 * sysdeps/generic/dl-irel.h: fix protection against multiple
45497 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45499 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45502 * malloc/memusage.sh: Fix quoting in message.
45503 * debug/xtrace.sh: Likewise.
45505 * configure.in: Remove support for --experimental-malloc option, make
45507 * config.make.in: Likewise.
45508 * malloc/Makefile: Likewise.
45510 2011-06-27 Andreas Schwab <schwab@redhat.com>
45512 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45513 two-byte characters.
45515 2011-06-27 Roland McGrath <roland@hack.frob.com>
45517 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45518 AC_CACHE_CHECK invocation.
45519 * configure: Regenerated.
45521 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45523 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45526 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45527 bit from old_res_options.
45529 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45531 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45532 value type for setfct.
45534 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45536 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45537 __gettimeofday instead of gettimeofday.
45539 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45541 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45543 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45545 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45547 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45550 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45553 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45554 strcpy-sse2-unaligned strncpy-sse2-unaligned
45555 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45556 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45557 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45558 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45559 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45560 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45561 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45562 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45563 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45564 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45565 (STRCPY): Support SSE2 and SSSE3 versions.
45567 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45570 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45571 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45572 kernels which artificially limit size of requests.
45574 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45577 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45578 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45579 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45580 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45581 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45582 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45583 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45584 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45586 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45587 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45588 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45589 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45590 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45592 Enable unaligned load optimization for Intel Core i3, i5 and i7
45594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45596 (index_Fast_Unaligned_Load): Define.
45597 (HAS_FAST_UNALIGNED_LOAD): Define.
45599 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45601 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45603 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45606 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45607 until it is clear that the information is realy needed.
45608 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45610 2011-06-22 Andreas Schwab <schwab@redhat.com>
45612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45614 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45617 /sys/devices/system/cpu/online if it is usable.
45619 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45620 reading the information from the /proc filesystem to once a second.
45622 2011-06-21 Andreas Jaeger <aj@suse.de>
45624 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45625 NULL after inclusion of kernel headers.
45627 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45629 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45630 calls to internal_setent.
45633 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45634 addresses using gethostbyname4_r ignore IPv4 addresses.
45636 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45637 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45639 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45641 2011-06-20 David S. Miller <davem@davemloft.net>
45643 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45645 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45647 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45648 (elf_irel): Use it.
45649 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45650 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45651 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45652 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45653 * sysdeps/x86_64/dl-irel.h: Likewise.
45655 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45656 * elf/dl-sym.c: Likewise.
45658 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45660 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45661 need to dereference resplen2.
45663 2011-06-14 Andreas Schwab <schwab@redhat.com>
45665 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45667 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45669 * Makeconfig: Define vardbdir and inst_vardbdir.
45670 * nss/Makefile: Add rules to install db-Makefile.
45672 * nss/nss_db/db-XXX.c: Cleanup.
45674 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45675 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45677 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45678 * nss/makedb.c: Implement -g option to specify that value strings
45679 are generated and should not be added to table iterated over for
45681 * nss/nss_db/db-initgroups.c: New file.
45683 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45686 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45687 (internal_getgrouplist): Adjust to name change.
45688 Update use_initgroups_entry if this is not the first call.
45689 * nss/databases.def: Add initgroups entry.
45691 * nss/makedb.c (compute_tables): Check result of multiple hash table
45692 sizes to minimize maximum chain length.
45694 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45696 * Versions.def: Add entry for libnss_db.
45697 * shlib-versions: Likewise.
45698 * nss/Makefile: Add rules to build libnss_db.
45699 * nss/Versions: Add libnss_db information. Organize libnss_files
45701 * nss/db-Makefile: Add gshadow support. Change rules for the new
45702 makedb progra. Some minor improvements to generate smaller files.
45703 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45705 * nss/makedb.c: ...here.
45706 Improve database format to be smaller and require less memory at
45708 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45710 * nss/nss_db/db-netgrp.c: Likewise.
45711 * nss/nss_db/db-open.c: Likewise.
45712 * nss/nss_files/flies-XXX.x: Adjust comments.
45713 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45714 * nss/nss_files/files-grp.c: Likewise.
45715 * nss/nss_files/files-hosts.c: Likewise.
45716 * nss/nss_files/files-network.c: Likewise.
45717 * nss/nss_files/files-proto.c: Likewise.
45718 * nss/nss_files/files-pwd.c: Likewise.
45719 * nss/nss_files/files-rpc.c: Likewise.
45720 * nss/nss_files/files-service.c: Likewise.
45721 * nss/nss_files/files-sgrp.c: Likewise.
45722 * nss/nss_files/files-spwd.c: Likewise.
45723 * nss/nss_db/db-alias.c: Removed.
45724 * nss/nss_db/dummy-db.h: Removed.
45726 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45728 * nss/makedb.c: Rewritten to not use database library.
45729 * nss/Makefile: Update to build new makedb program.
45731 2011-06-14 Andreas Jaeger <aj@suse.de>
45733 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45734 memset declaration.
45736 2011-06-10 Andreas Schwab <schwab@redhat.com>
45738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45741 2011-06-10 Roland McGrath <roland@hack.frob.com>
45743 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45744 * elf/Makefile ($(objpfx)ld.so): Likewise.
45746 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45747 Don't list ld.so twice in dependencies.
45749 * posix/bug-regex31.c: Include <stdlib.h>.
45751 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45753 * nis/nss_compat/compat-spwd.c
45754 (getspent_next_nss_netgr): Remove unused variable.
45755 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45757 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45758 nonmembers" output to use the right array.
45760 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45762 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45764 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45765 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45766 * catgets/gencat.c (read_input_file): Likewise.
45767 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45769 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45770 variable definition inside #if's controlling its use.
45772 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45774 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45776 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45778 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45781 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45783 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45784 * configure: Regenerated.
45786 * Makerules: Revert last change.
45787 * elf/Makefile: Likewise.
45789 2011-06-09 Roland McGrath <roland@hack.frob.com>
45791 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45792 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45793 (reloc-link): Likewise.
45795 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45797 * elf/Makefile: Add rules to build pldd.
45798 * elf/pldd.c: New file.
45799 * elf/pldd-xx.c: New file.
45801 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45803 * version.h: Update for 2.15 development version.
45805 2011-06-07 David S. Miller <davem@davemloft.net>
45807 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45809 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45810 elf_machine_lazy_rel): Likewise.
45811 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45812 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45813 elf_machine_lazy_rel): Likewise.
45814 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45815 dl_hwcap via passed in argument.
45816 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45819 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45821 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45823 2011-06-06 Roland McGrath <roland@hack.frob.com>
45826 * manual/fdl-1.1.texi: New file, verbatim from:
45827 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45828 * manual/lgpl-2.1.texi: New file, verbatim from:
45829 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45830 * manual/Makefile (licenses): New variable, list those new file names.
45832 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45834 * manual/fdl.texi: File removed.
45835 * manual/lesser.texi: File removed.
45836 * manual/libc.texinfo (Copying, Documentation License):
45837 Use new @include file names, put @appendix directive before @include.
45839 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45842 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45843 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45844 (mq_open): Add __NTH.
45846 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45849 Assume Intel Core i3/i5/i7 processor if AVX is available.
45851 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45856 2011-05-31 Andreas Schwab <schwab@redhat.com>
45858 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45859 memory. Use alloca_account. Fix memory leak when retrying.
45861 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45863 * version.h (RELEASE): Bump for 2.14 release.
45864 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45866 * config.make.in (RANLIB): Remove entry.
45868 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45870 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45871 (libc.pot): Work around missing support for .ksh extension in xgettext.
45874 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45875 if both request failed.
45876 (send_dg): In case of server errors clear resplen or *resplen2.
45879 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45880 when there are multiple maps.
45881 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45882 (_dl_fini): Remove test here.
45884 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45886 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45889 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45890 bit from old_res_options.
45891 (gaih_inet): Likewise.
45894 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45897 * resolv/res_init.c (res_setoptions): Make the code more compact.
45900 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45904 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45906 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45909 * malloc/malloc.h: Declare malloc hook variables as volatile.
45911 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45915 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45916 raise in the comment.
45917 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45918 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45919 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45921 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45924 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45925 grow the buffers more if it already has to be sufficient.
45926 (build_wcs_upper_buffer): Likewise.
45927 * posix/regexec.c (check_matching): Likewise.
45928 (clean_state_log_if_needed): Likewise.
45929 (extend_buffers): Don't enlarge buffers beyond size of the input
45931 Patches mostly by Emil Wojak <emil@wojak.eu>.
45932 * posix/bug-regex32.c: New file.
45933 * posix/Makefile (tests): Add bug-regex32.
45935 * locale/findlocale.c (_nl_find_locale): Return right away if
45936 _nl_explode_name failed.
45937 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45939 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45941 * debug/xtrace.sh: Unify messages.
45942 * malloc/memusage.sh: Likewise.
45945 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45946 time symbol from vDSO. Substitute with vsyscall if not available.
45947 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45950 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45951 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45952 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45953 Add sendmmsg and internal_sendmmsg.
45954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45955 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45956 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45958 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45959 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45960 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45962 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45965 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45966 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45968 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45972 * iconvdata/Makefile (tests): Add bug-iconv9.
45973 * iconvdata/bug-iconv9.c: New file.
45975 2011-05-27 Andreas Schwab <schwab@redhat.com>
45978 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45980 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45982 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45983 (struct user_regs_struct): Change intcs field back to cs.
45985 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45987 * po/ja.po: Update from translation team.
45989 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45992 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45993 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45995 2011-05-20 Andreas Schwab <schwab@redhat.com>
45997 * stdlib/longlong.h: Update from GCC.
45999 2011-05-23 Andreas Schwab <schwab@redhat.com>
46001 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46003 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46004 Add parameter name.
46005 (__sysconf): Pass it down.
46007 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46010 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46012 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46013 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46014 add in in __libc_use_alloca calls. Adjust callers.
46015 (glob): Use malloc in some situations.
46017 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46018 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46021 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46023 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46024 and CLOCK_BOOTTIME_ALARM.
46027 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46030 * string/_strerror.c (__strerror_r): Print negative errors as signed
46034 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46035 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46036 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46038 * configure.in: Fix typo in redirection and correct removal of test
46039 files in two cases.
46042 * locale/setlocale.c (new_composite_name): Fix test to check for
46043 identical name of all categories.
46046 * libio/filedoalloc.c (local_isatty): New function.
46047 (_IO_file_doallocate): Use local_isatty.
46048 * stdio-common/perror.c (perror): In case a new stream is used
46049 forward the stream error.
46050 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46053 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46058 * include/alloca.h (extend_alloca_account): Define.
46061 * posix/regex.h: Fix comments with documentation of user-accessible
46062 fields after compilation and describe correct free'ing of pattern
46063 after re_compile_pattern.
46064 Patch by Reuben Thomas <rrt@sc3d.org>.
46066 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46068 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46069 and -mno-altivec to prevent the compiler from using Altivec and/or
46070 VSX instructions when the corresponding registers are not available.
46072 2011-05-19 Andreas Schwab <schwab@redhat.com>
46074 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46076 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46078 * libio/freopen.c (freopen): Use __dup2, not dup2.
46079 * libio/freopen64.c (freopen64): Likewise.
46081 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46084 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46085 * math/Makefile (tests): Add test-powl.
46086 (CFLAGS-test-powl.c): Define.
46087 * math/test-powl.c: New file.
46089 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46091 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46093 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46096 * iconvdata/gb18030.c: Update to GB18020-2005.
46098 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46100 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46101 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46102 Patch by Aharon Robbins <arnold@skeeve.com>.
46105 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46109 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46110 through underflows.
46113 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46114 point to strings before performing equality test for error_one_per_line
46118 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46121 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46122 (struct user_fpregs_struct): Avoid __uint*_t types.
46125 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46126 symbol info. Use it instead of calling _dl_addr locally.
46127 (lock_and_info): New function.
46128 (tr_freehook): Call lock_and_info and pass symbol info as additional
46129 parameter to tr_where.
46130 (tr_mallochook): Likewise.
46131 (tr_reallochook): Likewise.
46132 (tr_memalignhook): Likewise.
46134 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46135 used and couldn't be at all thread-safe.
46137 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46139 * libio/freopen.c (freopen): Don't close old file descriptor
46140 before the new one is opened. Instead dup the new file descriptor
46141 to the old one after the new stream is created.
46142 * libio/freopen64.c (freopen64): Likewise.
46143 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46144 * libio/fileops.c (_IO_new_file_close_it): Handle new
46145 _IO_FLAGS2_NOCLOSE flag.
46146 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46147 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46148 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46149 _IO_FLAGS2_NOCLOSE flag.
46150 * include/unistd.h: Add hidden_proto for dup3.
46151 Define __have_dup3.
46152 * io/dup3.c: Define hidden symbol.
46153 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46156 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46157 when an incomplete long option is used.
46158 * posix/tst-getopt_long1.c: New file.
46159 * posix/Makefile (tests): Add tst-getopt_long1.
46162 * scripts/config.guess: Update from autoconf-2.68.
46163 * scripts/config.sub: Likewise.
46166 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46168 (has_cpuclock): ...this. New function.
46169 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46170 macro here based on has_cpuclock code.
46173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46174 First byte (not low byte) is now always NUL.
46175 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46178 Use non-cancelable interfaces.
46181 * locale/iso-639.def: Add entry for Sorani.
46184 * include/stdlib.h: Move include protection to the right place.
46185 Define abort_msg_s. Declare __abort_msg with it.
46186 * stdlib/abort.c (__abort_msg): Adjust type.
46187 * assert/assert.c (__assert_fail_base): New function. Majority
46188 of code from __assert_fail. Allocate memory for __abort_msg with
46190 (__assert_fail): Now call __assert_fail_base.
46191 * assert/assert-perr.c: Remove bulk of implementation. Use
46192 __assert_fail_base.
46193 * include/assert.hL Declare __assert_fail_base.
46194 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46196 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46198 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46202 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46203 until all modules are registered in the DTV.
46204 * elf/Makefile: Add rules to build and run tst-tls19.
46205 * elf/tst-tls19.c: New file.
46206 * elf/tst-tls19mod1.c: New file.
46207 * elf/tst-tls19mod2.c: New file.
46208 * elf/tst-tls19mod3.c: New file.
46209 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46212 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46216 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46217 two-byte sequence errors.
46218 * iconvdata/Makefile (tests): Add bug-iconv8.
46219 * iconvdata/bug-iconv8.c: New file.
46222 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46225 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46228 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46229 (dummy_getcfa): New function.
46230 (init): Get _Unwind_GetCFA address, use dummy if not found.
46231 (backtrace_helper): In recursion check, also check whether CFA changes.
46232 (__backtrace): Completely initialize arg.
46234 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46235 storing incomplete byte sequence in state object. Avoid testing for
46236 guaranteed too small input if we know there is enough data available.
46238 2011-05-11 Andreas Schwab <schwab@redhat.com>
46240 * Makeconfig (+link-pie): Indent.
46241 * Rules (binaries-pie): Define if $(have-fpie) and
46243 (binaries-shared): Also filter out $(binaries-pie).
46244 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46245 * nscd/Makefile (others-pie): Add nscd.
46246 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46247 ($(objpfx)nscd): Remove command override.
46248 * login/Makefile (others-pie): Add pt_chown.
46249 ($(objpfx)pt_chown): Remove command override.
46250 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46251 remove command overrides.
46253 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46255 * libio/tst_putwc.c: Fix error messages.
46258 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46259 currently writing and seek to current position when not.
46260 * libio/Makefile (tests): Add bug-fclose1.
46261 * libio/bug-fclose1.c: New file.
46263 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46266 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46267 don't set DF_1_NODELETE here.
46268 (do_lookup_x): When entering new entry test for copy relocation
46269 and if necessary set DF_1_NODELETE flag.
46270 * elf/tst-unique4.cc: New file.
46271 * elf/tst-unique4.h: New file.
46272 * elf/tst-unique4lib.cc: New file.
46273 * elf/Makefile: Add rules to build and run tst-unique4.
46274 Patch by Piotr Bury <pbury@goahead.com>.
46276 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46279 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46282 * misc/mntent_r.c (addmntent): Flush the stream after the output
46285 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46286 (is_trusted_path_normalize): Skip initial colon. Append slash
46287 to empty buffer. Duplicate is_trusted_path code but allow
46288 constructed patch to be prefix.
46289 (is_dst): Allow $ORIGIN followed by /.
46290 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46291 Correct testing of result of is_trusted_path_normalize
46292 (decompose_rpath): Fix warning.
46294 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46297 * grp/initgroups.c (internal_getgrouplist): When we found the service
46298 list through the initgroups entry in nsswitch.conf do not always
46299 continue on a successful lookup. Don't always use the
46300 __nss_group_database value if it is set.
46301 * nss/nsswitch.conf (initgroups): Change action for successful db
46302 lookup to continue for compatibility.
46304 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46307 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46309 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46311 * iconvdata/tst-tables.sh: Likewise.
46312 * iconvdata/cp770.c: New file.
46313 * iconvdata/cp771.c: New file.
46314 * iconvdata/cp772.c: New file.
46315 * iconvdata/cp773.c: New file.
46316 * iconvdata/cp774.c: New file.
46317 * iconvdata/testdata/CP770: New file.
46318 * iconvdata/testdata/CP770..UTF8: New file.
46319 * iconvdata/testdata/CP771: New file.
46320 * iconvdata/testdata/CP771..UTF8: New file.
46321 * iconvdata/testdata/CP772: New file.
46322 * iconvdata/testdata/CP772..UTF8: New file.
46323 * iconvdata/testdata/CP773: New file.
46324 * iconvdata/testdata/CP773..UTF8: New file.
46325 * iconvdata/testdata/CP774: New file.
46326 * iconvdata/testdata/CP774..UTF8: New file.
46328 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46330 * iconvdata/gen-8bit-gap.sh: Likewise.
46331 * iconvdata/gen-8bit.sh: Likewise.
46333 * locale/iso-639.def: Add ary entry.
46336 * locale/C-translit.h.in: Add U20A1 transliteration.
46339 * locale/iso-639.def: Add wae entry.
46340 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46343 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46347 * locale/C-translit.h.in: Add entry for U20B9.
46348 Patch by pravin.d.s@gmail.com.
46350 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46353 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46354 ENAMETOOLONG use generic getcwd.
46355 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46356 in rtld. Use *stat64.
46357 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46358 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46359 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46360 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46361 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46362 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46363 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46364 __fstatat64 macros.
46365 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46366 * dirent/rewinddir.c: Add libc_hidden_def.
46367 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46368 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46370 * include/dirent.h (__alloc_dir): Add flags parameter.
46371 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46372 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46374 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46375 from fdopendir if O_CLOEXEC is already set.
46377 2011-03-15 Alan Modra <amodra@gmail.com>
46379 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46380 l_tls_firstbyte_offset non-zero. Save padding offset in
46381 l_tls_firstbyte_offset for later use.
46382 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46383 freeing static tls block.
46385 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46387 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46388 where #ifdef was intended. The intent is to prevent ARG_MAX from
46389 being defined by the kernel headers.
46391 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46394 * resolv/resolv.h: Define RES_NOTLDQUERY.
46395 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46396 no-tld-query and set RES_NOTLDQUERY.
46397 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46398 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46399 modern BIND to search name as TLD unless forbidden.
46401 2011-05-07 Petr Baudis <pasky@suse.cz>
46402 Ulrich Drepper <drepper@gmail.com>
46405 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46406 (is_trusted_path): ...to here.
46407 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46408 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46409 using is_trusted_path_normalize() in setuid scripts.
46411 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46413 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46414 __BEGIN/__END_DECLS.
46416 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46418 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46419 NSS_STATUS_NOTFOUND if no record was found.
46421 2011-05-05 Andreas Schwab <schwab@redhat.com>
46423 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46424 (headers-not-in-tirpc): Remove rpc/netdb.h
46425 * resolv/netdb.h: Revert last change.
46427 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46429 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46430 circular dependency between libgcc.a and libc.a.
46432 2011-05-05 Andreas Schwab <schwab@redhat.com>
46434 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46435 * nis/Makefile: Don't install rpcsvc/*.
46436 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46437 instead of <rpc/types.h>.
46438 (MAXHOSTNAMELEN): Define.
46440 2011-05-03 Andreas Schwab <schwab@redhat.com>
46442 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46444 2011-04-28 Maciej Babinski <mbabinski@google.com>
46447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46448 gethostbyname4_r when IPv6 results are possible.
46450 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46453 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46454 _PC_PIPE_BUF handling.
46456 2011-04-30 Bruno Haible <bruno@clisp.org>
46459 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46460 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46462 * inet/getnameinfo.c (getnameinfo): Likewise.
46464 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46466 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46467 to groups setting in database lookup.
46468 * nss/nsswitch.conf: Add initgroups entry.
46470 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46473 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46475 Patch by Eric Blake <eblake@redhat.com>.
46477 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46479 * sunrpc/Makefile (need-export-routines): Add svc_run.
46480 (routines): Remove svc_run.
46481 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46482 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46483 * sunrpc/svc_run.c (svc_run): Likewise.
46484 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46486 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46488 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46489 problem in reallocation in last patch.
46491 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46493 * sunrpc/Makefile: Move inclusion of Rules.
46495 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46497 * nss/nss_files/files-initgroups.c: New file.
46498 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46499 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46500 _nss_files_initgroups_dyn.
46502 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46504 * elf/elf.h (R_ARM_IRELATIVE): Define.
46506 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46508 * po/ru.po: Update from translation team.
46510 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46512 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46515 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46518 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46519 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46522 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46524 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46526 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46528 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46529 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46530 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46532 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46535 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46537 * stdlib/bug-getcontext.c: New file.
46538 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46540 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46542 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46543 instructions into .machine "z9-109".
46544 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46545 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46547 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46549 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46550 between environment variables and auxiliary vector.
46552 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46554 * Makefile: Add rules to build linkobj/libc.so.
46555 * include/libc-symbols.h: Define libc_hidden_nolink.
46556 * include/rpc/auth.h: Mark functions which are to be hidden.
46557 * include/rpc/auth_des.h: Likewise.
46558 * include/rpc/auth_unix.h: Likewise.
46559 * include/rpc/clnt.h: Likewise.
46560 * include/rpc/des_crypt.h: Likewise.
46561 * include/rpc/key_prot.h: Likewise.
46562 * include/rpc/pmap_clnt.h: Likewise.
46563 * include/rpc/pmap_prot.h: Likewise.
46564 * include/rpc/pmap_rmt.h: Likewise.
46565 * include/rpc/rpc_msg.h: Likewise.
46566 * include/rpc/svc.h: Likewise.
46567 * include/rpc/svc_auth.h: Likewise.
46568 * include/rpc/xdr.h: Likewise.
46569 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46570 * nss/Makefile: Likewise.
46571 * sunrpc/Makefile: Don't install headers. Build library with normal
46572 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46573 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46574 for the compat linking library. Remove use of INTDEF/INTUSE.
46575 * sunrpc/auth_none.c: Likewise.
46576 * sunrpc/auth_unix.c: Likewise.
46577 * sunrpc/authdes_prot.c: Likewise.
46578 * sunrpc/authuxprot.c: Likewise.
46579 * sunrpc/clnt_gen.c: Likewise.
46580 * sunrpc/clnt_perr.c: Likewise.
46581 * sunrpc/clnt_raw.c: Likewise.
46582 * sunrpc/clnt_simp.c: Likewise.
46583 * sunrpc/clnt_tcp.c: Likewise.
46584 * sunrpc/clnt_udp.c: Likewise.
46585 * sunrpc/clnt_unix.c: Likewise.
46586 * sunrpc/des_crypt.c: Likewise.
46587 * sunrpc/des_soft.c: Likewise.
46588 * sunrpc/get_myaddr.c: Likewise.
46589 * sunrpc/key_call.c: Likewise.
46590 * sunrpc/key_prot.c: Likewise.
46591 * sunrpc/netname.c: Likewise.
46592 * sunrpc/pm_getmaps.c: Likewise.
46593 * sunrpc/pm_getport.c: Likewise.
46594 * sunrpc/pmap_clnt.c: Likewise.
46595 * sunrpc/pmap_prot.c: Likewise.
46596 * sunrpc/pmap_prot2.c: Likewise.
46597 * sunrpc/pmap_rmt.c: Likewise.
46598 * sunrpc/publickey.c: Likewise.
46599 * sunrpc/rpc_cmsg.c: Likewise.
46600 * sunrpc/rpc_common.c: Likewise.
46601 * sunrpc/rpc_dtable.c: Likewise.
46602 * sunrpc/rpc_prot.c: Likewise.
46603 * sunrpc/rpc_thread.c: Likewise.
46604 * sunrpc/rtime.c: Likewise.
46605 * sunrpc/svc.c: Likewise.
46606 * sunrpc/svc_auth.c: Likewise.
46607 * sunrpc/svc_authux.c: Likewise.
46608 * sunrpc/svc_raw.c: Likewise.
46609 * sunrpc/svc_run.c: Likewise.
46610 * sunrpc/svc_simple.c: Likewise.
46611 * sunrpc/svc_tcp.c: Likewise.
46612 * sunrpc/svc_udp.c: Likewise.
46613 * sunrpc/svc_unix.c: Likewise.
46614 * sunrpc/svcauth_des.c: Likewise.
46615 * sunrpc/xcrypt.c: Likewise.
46616 * sunrpc/xdr.c: Likewise.
46617 * sunrpc/xdr_array.c: Likewise.
46618 * sunrpc/xdr_float.c: Likewise.
46619 * sunrpc/xdr_intXX_t.c: Likewise.
46620 * sunrpc/xdr_mem.c: Likewise.
46621 * sunrpc/xdr_rec.c: Likewise.
46622 * sunrpc/xdr_ref.c: Likewise.
46623 * sunrpc/xdr_sizeof.c: Likewise.
46624 * sunrpc/xdr_stdio.c: Likewise.
46626 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46629 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46630 * sysdeps/ia64/dl-tls.h: Likewise.
46631 * sysdeps/powerpc/dl-tls.h: Likewise.
46632 * sysdeps/s390/dl-tls.h: Likewise.
46633 * sysdeps/sh/dl-tls.h: Likewise.
46634 * sysdeps/sparc/dl-tls.h: Likewise.
46635 * sysdeps/x86_64/dl-tls.h: Likewise.
46636 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46638 2011-03-14 Andreas Schwab <schwab@redhat.com>
46640 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46641 rpath element also skip the following colon.
46642 (expand_dynamic_string_token): Add is_path parameter and pass
46643 down to DL_DST_REQUIRED and _dl_dst_substitute.
46644 (decompose_rpath): Call expand_dynamic_string_token with
46645 non-zero is_path. Ignore empty rpaths.
46646 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46649 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46654 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46657 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46658 Patch by Filipe David Manana <fdmanana@apache.org>.
46660 2011-04-07 Andreas Schwab <schwab@redhat.com>
46662 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46663 Maintain aligned stack.
46664 (CHECK_RSP): Remove unused macro.
46666 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46668 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46669 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46671 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46673 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46675 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46677 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46680 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46681 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46682 * sysdeps/x86_64/memmove.c: New file.
46683 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46684 (memcpy): Renamed to ...
46685 (__new_memcpy): This.
46686 (memcpy): Provide GLIBC_2_14 memcpy.
46687 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46688 (memcpy): Provide GLIBC_2_2_5 memcpy.
46690 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46693 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46695 2011-03-30 Andreas Schwab <schwab@redhat.com>
46697 * misc/syncfs.c: New file.
46698 * misc/Makefile (routines): Add syncfs.
46699 * posix/unistd.h: Declare syncfs.
46700 * sysdeps/unix/syscalls.list: Add syncfs.
46702 2011-04-01 Andreas Schwab <schwab@redhat.com>
46704 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46706 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46707 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46711 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46712 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46714 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46716 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46717 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46718 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46720 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46724 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46725 sync_file_range.c with -fexceptions.
46726 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46727 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46728 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46729 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46730 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46731 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46732 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46733 sync_file_range as cancellation point
46734 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46735 now a wrapper around __call_sync_file_range with cancellation handling.
46736 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46737 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46738 function name to __call_sync_file_range.
46739 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46740 Add call_sync_file_range.
46742 2011-04-01 Andreas Schwab <schwab@redhat.com>
46744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46747 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46749 * iconv/iconv.h: Fix typo in comment.
46750 * io/fcntl.h: Likewise.
46751 * libio/stdio.h: Likewise.
46752 * posix/spawn.h: Likewise.
46753 * posix/unistd.h: Likewise.
46754 * stdlib/stdlib.h: Likewise.
46755 * time/time.h: Likewise.
46756 * wcsmbs/wchar.h: Likewise.
46758 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46759 open_by_handle): Add.
46760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46761 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46762 Augment a few comments.
46763 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46765 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46768 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46771 * io/fcntl.h (AT_EMPTY_PATH): Define.
46773 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46775 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46776 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46777 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46779 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46780 * Versions.def: Add GLIBC_2.14.
46781 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46784 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46786 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46788 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46790 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46793 * string/test-strncmp.c (do_page_test): New function.
46794 (check2): Likewise.
46795 (test_main): Call check2.
46796 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46798 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46801 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46802 Handle cache information in CPU leaf 4.
46803 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46805 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46808 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46809 character representation.
46810 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46812 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46814 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46815 END(__isnan) to END(__isnanf) to match function entry point/label
46816 EALIGN(__isnanf,...).
46818 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46820 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46822 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46825 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46826 copy from the symbol referenced in the relocation to initialize the
46828 Patch by Piotr Bury <pbury@goahead.com>.
46829 * elf/Makefile: Add rules to build and tst-unique3.
46830 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46831 * elf/tst-unique3.cc: New file.
46832 * elf/tst-unique3.h: New file.
46833 * elf/tst-unique3lib.cc: New file.
46834 * elf/tst-unique3lib2.cc: New file.
46836 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46838 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46840 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46841 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46844 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46846 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46847 to-be-loaded object along a path to loader is ld.so.
46849 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46850 Ulrich Drepper <drepper@gmail.com>
46852 * sysdeps/x86_64/memset.S: After aligning destination, code
46853 branches to different locations depending on the value of
46854 misalignment, when multiarch is enabled. Fix this.
46856 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46858 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46859 Set _x86_64_preferred_memory_instruction for AMD processsors.
46860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46861 Set bit_Prefer_SSE_for_memop for AMD processors.
46863 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46865 * libio/fmemopen.c (fmemopen): Optimize a bit.
46867 2011-03-03 Andreas Schwab <schwab@redhat.com>
46869 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46871 2011-03-03 Roland McGrath <roland@redhat.com>
46873 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46875 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46877 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46878 __bzero_ultra1 instead of __memset_ultra1.
46880 2011-02-23 Andreas Schwab <schwab@redhat.com>
46881 Ulrich Drepper <drepper@gmail.com>
46884 * include/link.h (struct link_map): Add l_orig_initfini.
46885 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46886 returning unsuccessfully.
46887 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46888 close of a file loaded at startup, restore the original l_initfini
46890 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46891 list, store the pointer.
46892 * elf/Makefile ($(objpfx)noload-mem): New rule.
46893 (noload-ENV): Define.
46894 (tests): Add $(objpfx)noload-mem.
46895 * elf/noload.c: Include <memcheck.h>.
46896 (main): Call mtrace. Close all opened handles.
46898 2011-02-17 Andreas Schwab <schwab@redhat.com>
46901 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46902 dependencies are missing.
46904 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46906 Fix __if_freereq crash: Unlike the generic version which uses free,
46908 * sysdeps/mach/hurd/ifreq.h: New file.
46910 2011-01-27 Petr Baudis <pasky@suse.cz>
46911 Ulrich Drepper <drepper@gmail.com>
46914 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46915 to extend_alloca().
46916 * stdio-common/bug23.c: New file.
46917 * stdio-common/Makefile (tests): Add bug23.
46919 2010-09-28 Andreas Schwab <schwab@redhat.com>
46920 Ulrich Drepper <drepper@gmail.com>
46923 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46924 before performing relro protection. At old place add assertion
46925 to make sure nothing changed.
46927 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46928 Glauber de Oliveira Costa <glommer@gmail.com>
46930 * elf/elf.h: Add new ARM TLS relocs.
46932 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46935 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46937 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46939 * sysdeps/wordsize-64/tst-writev.c: New file.
46941 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46943 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46944 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46945 insns in _dl_start to prevent a TOC reference before relocs are
46948 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46951 * Makeconfig: Remove RANLIB definition.
46952 * Makerules: Don't use RANLIB.
46953 * aclocal.m4: Remove ranlib test.
46954 * configure.in: No need to check for ranlib.
46955 * elf/rtld-Rules: Don't use RANLIB.
46957 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46959 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46961 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46962 inclusion protection macro.
46964 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46965 SIGRTMIN and SIGRTMAX and print information in that case only when
46966 SIGRTMIN is defined.
46968 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46970 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46971 arginfo fn returning -1.
46973 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46974 and thousands string is zero terminated.
46976 2011-02-03 Andreas Schwab <schwab@redhat.com>
46978 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46979 sysdeps/unix/sysv/linux/bits/socket.h.
46981 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46983 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46984 (__CPU_COUNT): Remove old macros.
46985 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46986 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46987 (__CPU_ALLOC, __CPU_FREE): Add macros.
46988 (__sched_cpualloc, __sched_cpufree): Add declarations.
46990 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46992 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46993 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46994 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46995 (readdhstai): Return value of addhstaiX call.
46996 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46997 (addgrbyX): Return value returned by cache_addgr.
46998 (readdgrbyname): Return value returned by addgrbyX.
46999 (readdgrbygid): Likewise.
47000 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47001 (addpwbyX): Return value returned by cache_addpw.
47002 (readdpwbyname): Return value returned by addhstbyX.
47003 (readdpwbyuid): Likewise.
47004 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47005 (addservbyX): Return value returned by cache_addserv.
47006 (readdservbyname): Return value returned by addservbyX:
47007 (readdservbyport): Likewise.
47008 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47009 (addhstbyX): Return value returned by cache_addhst.
47010 (readdhstbyname): Return value returned by addhstbyX.
47011 (readdhstbyaddr): Likewise.
47012 (readdhstbynamev6): Likewise.
47013 (readdhstbyaddrv6): Likewise.
47014 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47015 (readdinitgroups): Return value returned by addinitgroupsX.
47016 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47017 (prune_cache): Keep track of timeout value of re-added entries.
47018 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47019 * nscd/nscd.h: Adjust prototypes of readd* functions.
47021 2011-02-04 Roland McGrath <roland@redhat.com>
47023 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47024 (nis_stats): Likewise.
47025 * nis/nis_modify.c (nis_modify): Likewise.
47026 * nis/nis_remove.c (nis_remove): Likewise.
47027 * nis/nis_add.c (nis_add): Likewise.
47029 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47031 * posix/fnmatch_loop.c: Add some consts.
47033 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47035 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47038 * config.make.in (config-cflags-novzeroupper): Define.
47039 * configure.in: Substitute libc_cv_cc_novzeroupper.
47040 * elf/Makefile (AVX-CFLAGS): Define.
47041 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47042 (CFLAGS-tst-auditmod4a.c): Likewise.
47043 (CFLAGS-tst-auditmod4b.c): Likewise.
47044 (CFLAGS-tst-auditmod6b.c): Likewise.
47045 (CFLAGS-tst-auditmod6c.c): Likewise.
47046 (CFLAGS-tst-auditmod7b.c): Likewise.
47047 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47049 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47051 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47052 function to the callback.
47053 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47055 2011-02-02 Andreas Schwab <schwab@redhat.com>
47057 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47060 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47063 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47065 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47067 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47070 * elf/Makefile: Add rules to build and run new test.
47071 * elf/tst-initorder.c: New file.
47072 * elf/tst-initorder.exp: New file.
47073 * elf/tst-initordera1.c: New file.
47074 * elf/tst-initordera2.c: New file.
47075 * elf/tst-initordera3.c: New file.
47076 * elf/tst-initordera4.c: New file.
47077 * elf/tst-initorderb1.c: New file.
47078 * elf/tst-initorderb2.c: New file.
47079 * elf/tst-order-a1.c: New file.
47080 * elf/tst-order-a2.c: New file.
47081 * elf/tst-order-a3.c: New file.
47082 * elf/tst-order-a4.c: New file.
47083 * elf/tst-order-b1.c: New file.
47084 * elf/tst-order-b2.c: New file.
47085 * elf/tst-order-main.c: New file.
47086 New test case by George Gensure <werkt0@gmail.com>.
47088 2010-10-01 Andreas Schwab <schwab@redhat.com>
47090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47091 decoding ACE if AI_CANONIDN.
47093 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47095 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47097 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47099 * version.h (RELEASE): Bump for 2.13 release.
47100 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47102 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47104 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47106 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47107 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47108 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47109 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47111 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47113 * posix/getconf.c: Update copyright year.
47114 * catgets/gencat.c: Likewise.
47115 * csu/version.c: Likewise.
47116 * debug/catchsegv.sh: Likewise.
47117 * debug/xtrace.sh: Likewise.
47118 * elf/ldconfig.c: Likewise.
47119 * elf/ldd.bash.in: Likewise.
47120 * elf/sprof.c (print_version): Likewise.
47121 * iconv/iconv_prog.c: Likewise.
47122 * iconv/iconvconfig.c: Likewise.
47123 * locale/programs/locale.c: Likewise.
47124 * locale/programs/localedef.c: Likewise.
47125 * malloc/memusage.sh: Likewise.
47126 * malloc/mtrace.pl: Likewise.
47127 * nscd/nscd.c (print_version): Likewise.
47128 * nss/getent.c: Likewise.
47130 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47131 PF_CAIF, and PF_ALG.
47132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47134 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47136 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47137 (modules-names): Use them.
47138 (ifunc-test-modules, ifunc-pie-tests): Define.
47139 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47140 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47141 (test-extras): Likewise.
47142 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47143 $(compile-command.c).
47144 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47145 (all-built-dso): Define.
47146 (check-textrel.out, check-execstack.out): Depend on it.
47148 * configure.in: Don't override --enable-multi-arch.
47150 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47153 * nscd/hstcache.c (tryagain): Define.
47154 (cache_addhst): Return tryagain not notfound for temporary errors.
47155 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47158 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47161 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47162 to make the syscall.
47163 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47166 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47167 and fall back to matching as normal character if the string ends before
47168 the matching ']' is found. This is what POSIX requires.
47169 * posix/testfnm.c: Adjust test result.
47170 * posix/globtest.sh: Adjust test result. Add new test.
47171 * posix/tst-fnmatch.input: Likewise.
47172 * posix/tst-fnmatch2.c: Add new test.
47174 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47176 * elf/Makefile (check-execstack): Revert last change. Depend on
47178 (check-execstack.h): New target.
47179 (generated): Add check-execstack.h.
47180 * elf/check-execstack.c: Include "check-execstack.h".
47181 (main): Revert last change.
47182 (handle_file): Return zero if GNU_STACK is absent and
47183 DEFAULT_STACK_PERMS doesn't include PF_X.
47185 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47187 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47188 in child fails because the descriptor is already closed.
47189 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47190 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47191 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47194 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47198 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47199 temporary buffer used to handle multi lookups locally.
47200 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47202 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47204 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47207 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47209 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47210 alignment for SSE2.
47212 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47215 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47216 characters. When rounding increased number of integer digits recompute
47218 * stdio-common/tst-grouping.c: New file.
47219 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47221 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47223 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47224 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47226 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47228 * bits/select.h: Likewise.
47230 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47232 * po/ja.po: Update from translation team.
47234 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47237 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47238 implementation just like for lxstat, fxstatat, et al.
47240 2010-12-27 Jim Meyering <meyering@redhat.com>
47243 * posix/regexec.c (build_trtable): Return failure indication upon
47244 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47246 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47249 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47250 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47251 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47252 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47255 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47258 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47259 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47261 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47263 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47264 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47265 script has SORT_BY_INIT_PRIORITY.
47266 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47267 NO_CTORS_DTORS_SECTIONS is defined.
47268 * elf/soinit.c: Likewise.
47269 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47270 NO_CTORS_DTORS_SECTIONS is defined.
47271 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47272 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47273 * sysdeps/sh/init-first.c: Likewise.
47274 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47276 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47278 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47279 always use the slow path.
47281 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47283 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47284 similar rule which adds the sysdep directories to the header search in
47285 order to pick up the correct platform stackinfo.h.
47286 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47287 perform test if it is, otherwise return successfully without testing.
47288 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47289 DEFAULT_STACK_PERMS define in stackinfo.h.
47290 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47291 defined in stackinfo.h.
47292 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47293 DEFAULT_STACK_PERMS defined in stackinfo.h.
47294 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47295 * sysdeps/ia64/stackinfo.h: Likewise.
47296 * sysdeps/s390/stackinfo.h: Likewise.
47297 * sysdeps/sh/stackinfo.h: Likewise.
47298 * sysdeps/sparc/stackinfo.h: Likewise.
47299 * sysdeps/x86_64/stackinfo.h: Likewise.
47300 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47301 PF_X for powerpc64. Retain PF_X for powerpc32.
47303 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47305 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47307 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47308 GETDENTS_64BIT_ALIGNED.
47310 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47312 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47314 2010-12-10 Andreas Schwab <schwab@redhat.com>
47316 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47319 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47320 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47322 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47323 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47325 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47328 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47331 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47333 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47335 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47337 * po/it.po: Update from translation team.
47339 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47344 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47346 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47348 2010-11-24 Andreas Schwab <schwab@redhat.com>
47350 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47352 (gaih_getanswer_slice): Likewise.
47354 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47358 2010-05-31 Petr Baudis <pasky@suse.cz>
47361 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47362 silently even in the chroot mode.
47364 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47366 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47367 last patch a bit. Pretty printing
47369 2010-05-31 Petr Baudis <pasky@suse.cz>
47372 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47373 initialization of skip_initgroups_dyn.
47375 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47377 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47378 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47380 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47382 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47384 2010-11-11 Andreas Schwab <schwab@redhat.com>
47386 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47387 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47388 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47389 ($(objpfx)tst-fnmatch-mem): New rule.
47390 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47391 * posix/tst-fnmatch.c (main): Call mtrace.
47393 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47396 Support Intel processor model 6 and model 0x2c.
47398 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47400 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47403 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47406 * string/test-strncasecmp.c (check_result): New function.
47407 (do_one_test): Use it.
47408 (check1): New function.
47409 (test_main): Use it.
47410 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47411 Support strcasecmp and strncasecmp.
47413 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47416 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47417 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47419 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47421 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47425 * sysdeps/x86_64/multiarch/bzero.S: New file.
47426 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47427 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47428 * sysdeps/x86_64/multiarch/memset.S: New file.
47429 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47431 Set bit_Prefer_SSE_for_memop for Intel processors.
47432 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47434 (index_Prefer_SSE_for_memop): Define.
47435 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47437 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47439 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47440 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47442 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47445 * sysdeps/i386/i686/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.
47450 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47451 (__x86_64_raw_data_cache_size_half): Likewise.
47452 (__x86_64_raw_shared_cache_size): Likewise.
47453 (__x86_64_raw_shared_cache_size_half): Likewise.
47454 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47455 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47456 and __x86_64_raw_shared_cache_size_half. Round
47457 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47458 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47459 to multiple of 256 bytes.
47461 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47464 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47465 of inacessible symlinks. Verify result of symlink before returning it.
47466 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47467 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47469 2010-10-28 Erich Ritz <erichritz@gmail.com>
47471 * math/math.h (isinf): Fix typo in comment.
47473 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47475 * po/da.po: Update from translation team.
47477 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47479 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47480 is added to the list.
47482 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47483 Ulrich Drepper <drepper@gmail.com>
47485 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47486 the global list here. Move code to...
47487 (_dl_add_to_namespace_list): ...here. New function.
47488 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47489 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47490 * elf/dl-load.c (lose): Don't remove the element from the list.
47491 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47492 (_dl_map_object): Likewise.
47494 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47497 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47498 into all bytes of SSE register.
47499 Patch by Richard Li <richardpku@gmail.com>.
47501 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47504 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47507 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47509 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47510 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47511 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47512 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47517 2010-10-22 Andreas Schwab <schwab@redhat.com>
47519 * include/dlfcn.h (__RTLD_SECURE): Define.
47520 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47521 mode & __RTLD_SECURE instead.
47522 (open_path): Rename preloaded parameter to secure.
47523 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47524 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47525 * elf/dl-deps.c (openaux): Likewise.
47526 * elf/rtld.c (struct map_args): Remove is_preloaded.
47527 (map_doit): Don't use it.
47528 (dl_main): Likewise.
47529 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47530 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47532 2010-09-09 Andreas Schwab <schwab@redhat.com>
47534 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47535 (sysd-rules-targets): Remove duplicates.
47536 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47537 rtld-%.$o dependency.
47539 2010-10-18 Andreas Schwab <schwab@redhat.com>
47541 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47542 _dl_map_object do it.
47544 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47546 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47547 fast fma builtins, define the macros in the C99 standard.
47548 (FP_FAST_FMAF): Likewise.
47549 (FP_FAST_FMAL): Likewise.
47550 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47552 * bits/mathdef.h: Update copyright year.
47553 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47555 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47557 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47558 builtins, define the macros in the C99 standard.
47559 (FP_FAST_FMAF): Likewise.
47560 (FP_FAST_FMAL): Likewise.
47561 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47563 (FP_FAST_FMAF): Likewise.
47565 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47568 * math/libm-test.inc (fma_test): Some new testcases.
47569 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47570 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47571 y and infinite z. Do multiplication by C already in long double.
47572 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47574 y and infinite z. Do bitwise or of inexact bit into u.d.
47575 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47576 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47577 * sysdeps/i386/fpu/s_fma.S: Removed.
47578 * sysdeps/i386/fpu/s_fmal.S: Removed.
47580 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47583 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47585 computation is not scheduled after fetestexcept. Fix value
47586 of minimum denormal long double.
47588 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47591 * math/libm-test.inc (fma_test): Add some more tests.
47592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47595 2010-10-15 Andreas Schwab <schwab@redhat.com>
47597 * scripts/data/localplt-s390-linux-gnu.data: New file.
47598 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47600 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47603 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47604 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47606 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47608 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47610 if one of x and y is very large and the other is subnormal.
47611 * sysdeps/s390/fpu/s_fmaf.c: New file.
47612 * sysdeps/s390/fpu/s_fma.c: New file.
47613 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47614 * sysdeps/powerpc/fpu/s_fma.S: New file.
47615 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47616 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47617 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47619 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47622 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47624 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47625 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47626 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47627 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47628 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47629 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47630 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47632 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47635 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47636 * posix/bug-regex31.input: Add test case.
47638 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47640 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47641 * posix/bug-regex31.input: New file.
47644 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47645 (parse_sub_exp): Fix last change, use postorder.
47647 * posix/bug-regex31.c: New file.
47648 * posix/Makefile: Add rules to build and run bug-regex31.
47650 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47653 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47656 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47657 to have entries in sys_siglist.
47660 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47663 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47666 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47667 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47668 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47669 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47670 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47671 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47672 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47673 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47674 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47675 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47676 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47677 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47678 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47679 * math/ftestexcept.c (fetestexcept): Likewise.
47680 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47681 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47682 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47683 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47684 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47685 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47686 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47688 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47691 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47694 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47696 * string/bug-strstr1.c: New file.
47697 * string/Makefile: Add rules to build and run bug-strstr1.
47699 2010-10-05 Eric Blake <eblake@redhat.com>
47702 * string/str-two-way.h (two_way_long_needle): Always clear memory
47703 when skipping input due to the shift table.
47705 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47708 * malloc/mcheck.c: Handle large requests.
47711 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47712 for strncmp and strncasecmp.
47713 * string/stratcliff.c: Add tests for strcmp and strncmp.
47714 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47716 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47718 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47721 2010-09-30 Andreas Jaeger <aj@suse.de>
47723 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47724 (CGROUP_SUPER_MAGIC): Define.
47725 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47726 Handle btrfs and cgroup file systems.
47727 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47730 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47732 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47733 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47735 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47738 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47739 trying to locate the ELF header.
47741 2010-09-27 Andreas Schwab <schwab@redhat.com>
47744 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47745 Mask out sign-bit copies when constructing f_fsid.
47747 2010-09-24 Petr Baudis <pasky@suse.cz>
47749 * debug/stack_chk_fail_local.c: Add missing licence exception.
47750 * debug/warning-nop.c: Likewise.
47752 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47754 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47755 implementing getdents64 using getdents syscall, set d_type if
47756 __ASSUME_GETDENTS32_D_TYPE.
47758 2010-09-16 Andreas Schwab <schwab@redhat.com>
47760 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47761 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47763 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47766 * posix/unistd.h: Undo change of feature selection for ftruncate from
47769 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47771 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47774 2010-09-20 Andreas Schwab <schwab@redhat.com>
47776 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47778 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47780 2010-09-14 Andreas Schwab <schwab@redhat.com>
47782 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47783 variables after CHECK_SP call.
47784 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47786 2010-09-13 Andreas Schwab <schwab@redhat.com>
47787 Ulrich Drepper <drepper@redhat.com>
47789 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47790 re-relocationg ld.so.
47791 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47792 _dl_init_paths call.
47793 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47796 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47798 * resolv/res_init.c (__res_vinit): Count the default server we added.
47800 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47801 Ulrich Drepper <drepper@redhat.com>
47804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47805 (____longjmp_chk): Use %ebx for saving value across system call.
47808 2010-09-06 Andreas Schwab <schwab@redhat.com>
47810 * manual/Makefile: Don't mix pattern rules with normal rules.
47812 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47814 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47816 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47817 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47818 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47819 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47820 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47823 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47826 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47827 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47829 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47831 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47832 * sysdeps/x86_64/addmul_1.S: Likewise.
47833 * sysdeps/x86_64/lshift.S: Likewise.
47834 * sysdeps/x86_64/mul_1.S: Likewise.
47835 * sysdeps/x86_64/rshift.S: Likewise.
47836 * sysdeps/x86_64/sub_n.S: Likewise.
47837 * sysdeps/x86_64/submul_1.S: Likewise.
47839 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47841 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47842 Define __sched_param instead of SCHED_* and sched_param when
47843 <bits/sched.h> is included with __need_schedparam defined.
47844 * bits/sched.h [__need_schedparam]
47845 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47846 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47847 (__defined_schedparam): Define to 1.
47848 (__sched_param): New structure, identical to sched_param.
47849 (__need_schedparam): Undefine.
47851 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47853 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47854 (epoll_create1): Declare.
47856 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47858 2010-08-31 Andreas Schwab <schwab@redhat.com>
47861 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47862 shifting retval into place.
47864 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47866 * nis/rpcsvc/nis.h: Update copyright notice.
47867 * nis/rpcsvc/nis.x: Likewise.
47868 * nis/rpcsvc/nis_callback.h: Likewise.
47869 * nis/rpcsvc/nis_callback.x: Likewise.
47870 * nis/rpcsvc/nis_object.x: Likewise.
47871 * nis/rpcsvc/nis_tags.h: Likewise.
47872 * nis/rpcsvc/yp.h: Likewise.
47873 * nis/rpcsvc/yp.x: Likewise.
47874 * nis/rpcsvc/ypupd.h: Likewise.
47875 * nis/yp_xdr.c: Likewise.
47876 * nis/ypupdate_xdr.c: Likewise.
47878 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47879 mainly the body of pmap_getport. Add parameters to specify timeouts.
47880 (pmap_getport): Use __libc_rpc_getport.
47881 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47882 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47883 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47885 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47890 2010-08-27 Roland McGrath <roland@redhat.com>
47892 * sysdeps/i386/i686/multiarch/Makefile
47893 (CFLAGS-varshift.c): New variable.
47895 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47897 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47898 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47902 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47904 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47906 * sysdeps/x86_64/strlen.S: Unroll the loop.
47907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47908 strlen-sse2 strlen-sse2-bsf.
47909 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47910 __strlen_no_bsf if bit_Slow_BSF is set.
47911 (__strlen_sse42): Removed.
47912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47913 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47915 2010-08-25 Roland McGrath <roland@redhat.com>
47917 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47918 * sysdeps/x86_64/multiarch/varshift.c: New file.
47919 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47920 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47921 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47922 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47924 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47927 strlen-sse2 strlen-sse2-bsf.
47928 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47929 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47930 (__strlen_sse2): Removed.
47931 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47932 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47934 bit_Slow_BSF for Atom.
47935 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47936 (index_Slow_BSF): Define.
47937 (HAS_SLOW_BSF): Define.
47939 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47942 * resolv/res_init.c (__res_vinit): When no server address at all
47943 is given default to loopback.
47945 2010-08-24 Roland McGrath <roland@redhat.com>
47947 * configure.in: Remove config-name.h generation.
47948 * configure: Regenerated.
47949 * config-name.in: File removed.
47950 * scripts/config-uname.sh: New file.
47951 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47952 ($(objdir)config-name.h): New target.
47954 * sunrpc/rpc_parse.h: Avoid nested comment.
47956 2010-08-24 Richard Henderson <rth@redhat.com>
47957 Ulrich Drepper <drepper@redhat.com>
47958 H.J. Lu <hongjiu.lu@intel.com>
47960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47962 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47963 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47964 _mm_alignr_epi8 with _mm_loadu_si128.
47965 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47966 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47967 (__m128i_shift_right): Removed.
47968 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47969 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47970 * sysdeps/x86_64/multiarch/varshift.h: New file.
47971 * sysdeps/x86_64/multiarch/varshift.S: New file.
47973 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47975 * configure.in: Move assembler checks to before sysdep dir checking.
47977 2010-08-20 Petr Baudis <pasky@suse.cz>
47979 * LICENSES: Sync the sunrpc license.
47981 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47983 * sunrpc/auth_des.c: Update copyright notice once again.
47984 * sunrpc/auth_none.c: Likewise.
47985 * sunrpc/auth_unix.c: Likewise.
47986 * sunrpc/authdes_prot.c: Likewise.
47987 * sunrpc/authuxprot.c: Likewise.
47988 * sunrpc/bindrsvprt.c: Likewise.
47989 * sunrpc/clnt_gen.c: Likewise.
47990 * sunrpc/clnt_perr.c: Likewise.
47991 * sunrpc/clnt_raw.c: Likewise.
47992 * sunrpc/clnt_simp.c: Likewise.
47993 * sunrpc/clnt_tcp.c: Likewise.
47994 * sunrpc/clnt_udp.c: Likewise.
47995 * sunrpc/clnt_unix.c: Likewise.
47996 * sunrpc/des_crypt.c: Likewise.
47997 * sunrpc/des_soft.c: Likewise.
47998 * sunrpc/get_myaddr.c: Likewise.
47999 * sunrpc/getrpcport.c: Likewise.
48000 * sunrpc/key_call.c: Likewise.
48001 * sunrpc/key_prot.c: Likewise.
48002 * sunrpc/openchild.c: Likewise.
48003 * sunrpc/pm_getmaps.c: Likewise.
48004 * sunrpc/pm_getport.c: Likewise.
48005 * sunrpc/pmap_clnt.c: Likewise.
48006 * sunrpc/pmap_prot.c: Likewise.
48007 * sunrpc/pmap_prot2.c: Likewise.
48008 * sunrpc/pmap_rmt.c: Likewise.
48009 * sunrpc/rpc/auth.h: Likewise.
48010 * sunrpc/rpc/auth_unix.h: Likewise.
48011 * sunrpc/rpc/clnt.h: Likewise.
48012 * sunrpc/rpc/des_crypt.h: Likewise.
48013 * sunrpc/rpc/key_prot.h: Likewise.
48014 * sunrpc/rpc/netdb.h: Likewise.
48015 * sunrpc/rpc/pmap_clnt.h: Likewise.
48016 * sunrpc/rpc/pmap_prot.h: Likewise.
48017 * sunrpc/rpc/pmap_rmt.h: Likewise.
48018 * sunrpc/rpc/rpc.h: Likewise.
48019 * sunrpc/rpc/rpc_des.h: Likewise.
48020 * sunrpc/rpc/rpc_msg.h: Likewise.
48021 * sunrpc/rpc/svc.h: Likewise.
48022 * sunrpc/rpc/svc_auth.h: Likewise.
48023 * sunrpc/rpc/types.h: Likewise.
48024 * sunrpc/rpc/xdr.h: Likewise.
48025 * sunrpc/rpc_clntout.c: Likewise.
48026 * sunrpc/rpc_cmsg.c: Likewise.
48027 * sunrpc/rpc_common.c: Likewise.
48028 * sunrpc/rpc_cout.c: Likewise.
48029 * sunrpc/rpc_dtable.c: Likewise.
48030 * sunrpc/rpc_hout.c: Likewise.
48031 * sunrpc/rpc_main.c: Likewise.
48032 * sunrpc/rpc_parse.c: Likewise.
48033 * sunrpc/rpc_parse.h: Likewise.
48034 * sunrpc/rpc_prot.c: Likewise.
48035 * sunrpc/rpc_sample.c: Likewise.
48036 * sunrpc/rpc_scan.c: Likewise.
48037 * sunrpc/rpc_scan.h: Likewise.
48038 * sunrpc/rpc_svcout.c: Likewise.
48039 * sunrpc/rpc_tblout.c: Likewise.
48040 * sunrpc/rpc_util.c: Likewise.
48041 * sunrpc/rpc_util.h: Likewise.
48042 * sunrpc/rpcinfo.c: Likewise.
48043 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48044 * sunrpc/rpcsvc/key_prot.x: Likewise.
48045 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48046 * sunrpc/rpcsvc/mount.x: Likewise.
48047 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48048 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48049 * sunrpc/rpcsvc/rex.x: Likewise.
48050 * sunrpc/rpcsvc/rstat.x: Likewise.
48051 * sunrpc/rpcsvc/rusers.x: Likewise.
48052 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48053 * sunrpc/rpcsvc/spray.x: Likewise.
48054 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48055 * sunrpc/rtime.c: Likewise.
48056 * sunrpc/svc.c: Likewise.
48057 * sunrpc/svc_auth.c: Likewise.
48058 * sunrpc/svc_authux.c: Likewise.
48059 * sunrpc/svc_raw.c: Likewise.
48060 * sunrpc/svc_run.c: Likewise.
48061 * sunrpc/svc_simple.c: Likewise.
48062 * sunrpc/svc_tcp.c: Likewise.
48063 * sunrpc/svc_udp.c: Likewise.
48064 * sunrpc/svc_unix.c: Likewise.
48065 * sunrpc/svcauth_des.c: Likewise.
48066 * sunrpc/xcrypt.c: Likewise.
48067 * sunrpc/xdr.c: Likewise.
48068 * sunrpc/xdr_array.c: Likewise.
48069 * sunrpc/xdr_float.c: Likewise.
48070 * sunrpc/xdr_mem.c: Likewise.
48071 * sunrpc/xdr_rec.c: Likewise.
48072 * sunrpc/xdr_ref.c: Likewise.
48073 * sunrpc/xdr_sizeof.c: Likewise.
48074 * sunrpc/xdr_stdio.c: Likewise.
48076 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48079 2010-08-19 Andreas Schwab <schwab@redhat.com>
48081 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48083 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48085 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48086 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48087 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48088 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48089 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48090 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48091 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48092 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48093 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48094 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48095 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48096 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48097 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48098 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48100 2010-07-26 Anton Blanchard <anton@samba.org>
48102 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48103 * malloc/arena.c (heap_trim): Likewise.
48105 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48107 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48110 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48112 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48114 * sysdeps/i386/elf/Makefile: New file.
48116 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48118 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48119 from fanotify_init.
48120 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48123 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48125 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48127 * sysdeps/multiarch/strcmp.S: Likewise.
48129 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48131 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48132 strncase_l-nonascii.
48133 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48134 Add strncase_l-ssse3.
48135 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48136 * sysdeps/x86_64/strcmp.S: Likewise.
48137 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48138 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48139 * sysdeps/x86_64/strncase.S: New file.
48140 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48141 * sysdeps/x86_64/strncase_l.S: New file.
48142 * string/Makefile (strop-tests): Add strncasecmp.
48143 * string/test-strncasecmp.c: New file.
48145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48148 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48149 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48151 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48153 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48155 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48157 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48158 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48159 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48161 2010-05-01 Alan Modra <amodra@gmail.com>
48163 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48164 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48165 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48166 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48167 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48168 tidying. Don't tail-call __sigjmp_save for static lib.
48169 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48171 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48172 (CALL_MCOUNT): Add eh info, and nop after bl.
48173 (TAIL_CALL_SYSCALL_ERROR): New macro.
48174 (PSEUDO_RET): Use it.
48175 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48176 Correct save location of integer regs and cr.
48177 (_dl_profile_resolve): Correct cr save location. Delete nops
48178 after bl when SHARED. Reduce cfi size a little by better
48179 placement of cfi directives.
48180 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48181 make a stack frame. Instead use parm save area as a temp.
48182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48183 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48185 Don't make a stack frame for parent, use parm save area.
48186 Increase child stack frame to 112 bytes. Don't save unused reg,
48187 and adjust reg usage. Set up cfi on error recovery and
48188 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48190 (__makecontext): Add dummy nop after jump to exit.
48191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48192 Use correct parm save area and cr save, reduce stack frame.
48193 Correct cfi for possible PSEUDO_RET frame setup.
48194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48195 Branch to local label emitted by PSEUDO_RET rather than
48198 2010-08-12 Andreas Schwab <schwab@redhat.com>
48201 * locale/programs/locale.c (print_assignment): New function.
48202 (show_locale_vars): Use it.
48204 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48206 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48208 (struct statfs64): Likewise.
48209 (_STATFS_F_FLAGS): Define.
48210 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48211 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48212 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48213 (ST_VALID): Define locally.
48214 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48215 __statvfs_getflags, use the provided value.
48216 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48217 __ASSUME_STATFS_F_FLAGS.
48219 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48221 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48222 Add sys/fanotify.h.
48223 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48224 fanotify_mask for GLIBC_2.13.
48225 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48226 fanotify_init and fanotify_mark.
48227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48228 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48230 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48232 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48233 prlimit64 for GLIBC_2.13.
48234 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48236 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48239 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48240 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48241 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48242 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48244 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48247 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48248 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48250 * nss/Makefile: Add rules to build and run tst-nss-test1.
48251 * shlib-versions: Add entry for libnss_test1.
48252 * nss/nss_test1.c: New file.
48253 * nss/tst-nss-test1.c: New file.
48255 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48256 (__nss_configure_lookup): Set appropriate entry in
48257 __nss_configure_lookup to true.
48258 * nss/nsswitch.h: Define enum with indeces of databases in
48259 databases and __nss_database_custom arrays. Declare
48260 __nss_database_custom.
48261 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48262 to avoid using nscd when custom rules are installed.
48263 * nss/getXXbyYY_r.c: Likewise.
48264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48266 * nss/nss_files/files-parse.c: Whitespace fixes.
48268 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48271 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48272 * posix/fnmatch_loop.c: Likewise.
48274 2010-07-17 Andi Kleen <ak@linux.intel.com>
48276 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48277 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48278 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48279 * Versions.def [GLIBC_2.13]: Add.
48281 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48283 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48284 Also fail if tpwd after pwuid call is NULL.
48286 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48288 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48289 when converting to ms.
48291 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48293 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48294 EOPNOTSUPP errors with ENOTTY.
48295 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48296 EOPNOTSUPP errors with ENOTTY.
48298 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48300 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48301 Add strcasecmp_l-ssse3.
48302 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48304 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48305 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48306 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48308 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48310 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48312 * string/Makefile (strop-tests): Add strcasecmp.
48313 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48314 strcasecmp_l-nonascii.
48315 (gen-as-const-headers): Add locale-defines.sym.
48316 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48317 * sysdeps/x86_64/strcasecmp.S: New file.
48318 * sysdeps/x86_64/strcasecmp_l.S: New file.
48319 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48320 * sysdeps/x86_64/locale-defines.sym: New file.
48321 * string/test-strcasecmp.c: New file.
48323 * string/test-strcasestr.c: Test both ends of the range of characters.
48324 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48326 2010-07-29 Roland McGrath <roland@redhat.com>
48329 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48331 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48333 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48336 2010-07-27 Andreas Schwab <schwab@redhat.com>
48338 * manual/memory.texi (Malloc Tunable Parameters): Document
48341 2010-07-26 Roland McGrath <roland@redhat.com>
48344 * configure.in (-fgnu89-inline check): Set and substitute
48345 gnu89_inline, not libc_cv_gnu89_inline.
48346 * configure: Regenerated.
48347 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48349 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48351 * string/test-strnlen.c: New file.
48352 * string/Makefile (strop-tests): Add strnlen.
48353 * string/tester.c (test_strnlen): Add a few more test cases.
48354 * string/tst-strlen.c: Better error reporting.
48356 * sysdeps/x86_64/strnlen.S: New file.
48358 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48360 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48361 lower-latency instructions.
48363 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48365 * string/test-strcasestr.c: New file.
48366 * string/test-strstr.c: New file.
48367 * string/Makefile (strop-tests): Add strstr and strcasestr.
48368 * string/str-two-way.h: Don't undefine MAX.
48369 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48371 2010-07-21 Andreas Schwab <schwab@redhat.com>
48373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48374 strcasestr-nonascii.
48375 (CFLAGS-strcasestr-nonascii.c): Define.
48376 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48377 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48378 Remove unused attribute.
48380 2010-07-20 Roland McGrath <roland@redhat.com>
48382 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48383 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48384 ld.so.cache was broken. With it, there is no way to disable dsocaps
48385 like LD_HWCAP_MASK can disable hwcaps.
48387 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48389 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48391 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48393 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48394 call in strcasestr.
48395 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48396 __strcasestr_sse42_nonascii.
48397 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48398 strcasestr-nonascii.c.
48399 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48401 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48403 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48404 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48405 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48406 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48408 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48410 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48413 2010-07-06 Andreas Schwab <schwab@redhat.com>
48416 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48419 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48421 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48422 _PC_PIPE_BUF using F_GETPIPE_SZ.
48424 2010-07-05 Roland McGrath <roland@redhat.com>
48426 * manual/arith.texi (Rounding Functions): Fix rint description
48427 implicit in round description.
48429 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48431 * elf/Makefile: Fix linking for a few tests to make recent linker
48434 2010-06-30 Andreas Schwab <schwab@redhat.com>
48436 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48437 $(common-objpfx)libc_nonshared.a.
48439 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48441 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48442 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48443 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48444 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48445 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48446 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48447 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48448 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48463 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48464 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48465 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48466 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48467 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48468 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48469 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48470 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48471 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48472 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48473 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48474 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48490 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48492 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48493 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48494 * string/memmove.c (memmove): Renamed to ...
48495 (MEMMOVE): ...this. Default to memmove.
48496 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48497 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48500 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48501 mempcpy-ssse3-back memmove-ssse3-back.
48502 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48503 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48504 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48505 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48506 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48507 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48508 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48509 * sysdeps/x86_64/multiarch/memmove.c: New file.
48510 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48511 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48512 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48513 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48514 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48515 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48517 (index_Fast_Copy_Backward): Define.
48518 (HAS_ARCH_FEATURE): Define.
48519 (HAS_FAST_REP_STRING): Define.
48520 (HAS_FAST_COPY_BACKWARD): Define.
48522 2010-06-21 Andreas Schwab <schwab@redhat.com>
48524 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48525 Restore proper fallback handling.
48527 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48530 * posix/group_member.c (__group_member): Correct checking loop.
48532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48533 OOM in getpwuid_r correctly. Return error number when the caller
48534 should return, otherwise -1.
48535 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48536 call returning > 0 value.
48537 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48539 2010-06-07 Andreas Schwab <schwab@redhat.com>
48541 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48542 libc_nonshared.a from targets in modules-names.
48544 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48546 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48549 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48551 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48552 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48553 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48554 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48556 2010-06-02 Andreas Schwab <schwab@redhat.com>
48558 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48560 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48562 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48568 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48569 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48571 2010-06-14 Roland McGrath <roland@redhat.com>
48573 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48575 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48577 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48578 __REDIRECT followed by __THROW.
48579 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48580 * posix/getopt.h (getopt): Likewise.
48582 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48584 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48585 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48586 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48588 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48589 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48591 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48593 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48595 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48599 Properly check family and model.
48601 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48603 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48605 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48607 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48609 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48611 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48614 2010-05-19 Andreas Schwab <schwab@redhat.com>
48616 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48619 2010-05-21 Andreas Schwab <schwab@redhat.com>
48621 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48622 and internal_recvmmsg.
48623 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48624 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48625 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48626 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48628 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48629 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48630 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48632 2010-05-20 Andreas Schwab <schwab@redhat.com>
48634 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48636 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48638 POWER7 optimizations.
48639 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48640 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48642 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48644 * version.h: Update for 2.13 development version.
48646 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48648 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48649 exceptions. Return 0.
48651 2010-05-07 Roland McGrath <roland@redhat.com>
48653 * elf/ldconfig.c (main): Add a const.
48655 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48657 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48658 (args_options): Add no-idn option.
48659 (ahosts_keys_int): Add idn_flags to ai_flags.
48660 (parse_option): Handle 'i' option to clear idn_flags.
48662 * malloc/malloc.c (_int_free): Possible race in the most recently
48663 added check. Only act on the data if no current modification
48666 See ChangeLog.17 for earlier changes.