1 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5 [_MSC_VER]: Include malloc.h
6 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9 TEMP_FAILURE_RETRY. Cast return of alloca.
10 [!_LIBC] Call gl_rwlock_init.
11 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13 2014-07-02 Roland McGrath <roland@hack.frob.com>
15 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16 before checking its value.
18 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22 * debug/memcpy_chk.c: Don't include pagecopy.h.
23 * debug/mempcpy_chk.c: Likewise.
24 * string/memcpy.c: Likewise.
25 * string/memmove.c: Likewise.
26 * sysdeps/powerpc/memmove.c: Likewise.
27 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
28 definition of PAGE_COPY_FWD_MAYBE here...
29 * sysdeps/generic/pagecopy.h: ... from here.
30 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
33 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
38 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39 (__libc_ifunc_impl_list): Likewise.
40 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41 multiarch strcat for PPC64.
42 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
43 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
45 2014-07-02 Roland McGrath <roland@hack.frob.com>
47 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
49 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51 * intl/loadmsgcat.c: Remove declaration of
52 get_sysdep_segment_value.
53 (get_sysdep_segment_value): Use ISO C style.
54 (_nl_load_domain): Use ISO C style. Get rid of redundant
55 semicolon. Fix typo and formatting in comment.
56 (_nl_unload_domain): Use ISO C style.
58 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
60 2014-07-02 Will Newton <will.newton@linaro.org>
62 * malloc/obstack.c: Merge from gnulib master.
63 [HAVE_CONFIG_H]: Remove conditional code.
64 [!_LIBC]: Include config.h.
65 [!ELIDE_CODE]: Don't include inttypes.h, include
66 stdint.h unconditionally.
67 (print_and_abort): Mark as _Noreturn.
68 (_obstack_allocated_p): Mark as __attribute_pure__.
69 (obstack_free): Rename to __obstack_free.
70 [!__attribute__]: Remove conditional code.
71 * malloc/obstack.h: Merge from gnulib master.
72 [__cplusplus]: Move conditional down.
73 [!__attribute_pure__]: Define __attribute_pure__ here
74 if it is not already defined.
75 (_obstack_memory_used): Mark as __attribute_pure__.
76 [!__obstack_free]: Define as obstack_free.
77 [__GNUC__]: Remove check for ancient NeXT gcc.
79 2014-07-02 Will Newton <will.newton@linaro.org>
80 Paul Eggert <eggert@cs.ucla.edu>
82 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
84 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
86 * resolv/gethnamaddr.c: Add comment warning that the file is
89 2014-07-01 Carlos O'Donell <carlos@redhat.com>
91 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
94 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
95 entry for aio_cancel and aio_cancel64.
96 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
97 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
98 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
99 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
100 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
101 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
102 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
103 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
104 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
105 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
106 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
107 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
108 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
110 2014-07-01 Roland McGrath <roland@hack.frob.com>
112 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
113 * nptl/pthread_mutex_lock.c: Likewise.
114 * nptl/pthread_mutex_timedlock.c: Likewise.
115 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
117 2014-07-01 Richard henderson <rth@redhat.com>
119 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
120 (__isnan, __isnanl): Remove.
121 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
123 * sysdeps/alpha/fpu/libm-test-ulps: Update.
125 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
127 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
129 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
131 * resolv/nss_dns/dns-host.c (getanswer_r)
132 [MULTI_PTRS_ARE_ALIASES]: Remove code.
134 2014-07-01 Joseph Myers <joseph@codesourcery.com>
136 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
137 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
139 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
140 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
142 2014-07-01 Roland McGrath <roland@hack.frob.com>
144 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
145 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
147 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
148 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
150 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
151 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
153 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
154 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
156 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
157 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
158 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
159 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
161 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
162 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
163 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
164 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
165 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
167 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
169 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
170 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
171 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
173 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
174 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
175 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
176 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
177 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
179 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
180 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
181 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
182 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
183 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
184 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
185 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
186 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
187 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
190 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
191 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
192 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
193 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
194 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
195 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
196 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
197 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
199 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
201 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
202 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
203 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
206 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
210 2014-06-30 Joseph Myers <joseph@codesourcery.com>
212 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
213 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
215 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
217 * sysdeps/arm/libm-test-ulps: Regenerated.
219 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
220 Roland McGrath <roland@hack.frob.com>
222 * test-skeleton.c (signal_handler): Kill the whole process group
223 before killing the child individually.
224 (main): Report any failure on `setpgid'.
226 2014-06-30 Roland McGrath <roland@hack.frob.com>
228 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
229 from _TLS_H to _ARM_NPTL_TLS_H.
230 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
231 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
233 2014-06-30 Joseph Myers <joseph@codesourcery.com>
236 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
237 (__expm1l): Return argument unchanged when small but not
240 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
242 (_FP_UNPACK_RAW_1_P): Likewise.
243 (_FP_PACK_RAW_1): Likewise.
244 (_FP_PACK_RAW_1_P): Likewise.
245 (_FP_MUL_MEAT_1_wide): Likewise.
246 (_FP_MUL_MEAT_DW_1_hard): Likewise.
247 (_FP_MUL_MEAT_1_hard): Likewise.
248 (_FP_DIV_MEAT_1_imm): Likewise.
249 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
250 (_FP_DIV_MEAT_1_udiv): Likewise.
251 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
252 (_FP_UNPACK_RAW_2): Likewise.
253 (_FP_UNPACK_RAW_2_P): Likewise.
254 (_FP_PACK_RAW_2): Likewise.
255 (_FP_PACK_RAW_2_P): Likewise.
256 (_FP_MUL_MEAT_DW_2_wide): Likewise.
257 (_FP_MUL_MEAT_2_wide): Likewise.
258 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
259 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
260 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
261 (_FP_MUL_MEAT_2_gmp): Likewise.
262 (_FP_DIV_MEAT_2_udiv): Likewise.
263 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
264 (_FP_FRAC_SRL_4): Likewise.
265 (_FP_FRAC_SRST_4): Likewise.
266 (_FP_FRAC_SRS_4): Likewise.
267 (_FP_UNPACK_RAW_4): Likewise.
268 (_FP_UNPACK_RAW_4_P): Likewise.
269 (_FP_PACK_RAW_4): Likewise.
270 (_FP_PACK_RAW_4_P): Likewise.
271 (_FP_MUL_MEAT_DW_4_wide): Likewise.
272 (_FP_MUL_MEAT_4_wide): Likewise.
273 (_FP_MUL_MEAT_4_gmp): Likewise.
274 (umul_ppppmnnn): Likewise.
275 (_FP_DIV_MEAT_4_udiv): Likewise.
276 (__FP_FRAC_ADD_4): Likewise.
277 (__FP_FRAC_SUB_3): Likewise.
278 (__FP_FRAC_SUB_4): Likewise.
279 (__FP_FRAC_DEC_3): Likewise.
280 (__FP_FRAC_DEC_4): Likewise.
281 (__FP_FRAC_ADDI_4): Likewise.
282 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
283 (_FP_FRAC_SRL_8): Likewise.
284 (_FP_FRAC_SRS_8): Likewise.
286 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
288 (FP_UNPACK_RAW_EP): Likewise.
289 (FP_PACK_RAW_E): Likewise.
290 (FP_PACK_RAW_EP): Likewise.
291 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
292 (_FP_ISSIGNAN): Likewise.
293 (_FP_ADD_INTERNAL): Likewise.
296 (_FP_SQRT): Likewise.
297 (_FP_TO_INT): Likewise.
298 (_FP_FROM_INT): Likewise.
299 (FP_EXTEND): Likewise.
300 (_FP_DIV_MEAT_N_loop): Likewise.
302 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
304 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
307 2014-06-29 Joseph Myers <joseph@codesourcery.com>
310 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
311 result with correct sign in case of exponents that produce
312 overflow except for X very close to 1.
314 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
316 mktime: merge #if/#ifdef usage from glibc
317 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
318 as that works with both Glibc's and Gnulib's style.
319 See thread starting at Siddhesh Poyarekar's bug report at:
320 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
322 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
324 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
325 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
326 * sysdeps/tile/tilegx/memmove.c: Remove file.
328 2014-06-27 Joseph Myers <joseph@codesourcery.com>
330 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
332 * scripts/soversions.awk: Do not handle or generate ABI lines.
333 * shlib-versions: Remove ABI entries.
334 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
335 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
337 2014-06-27 Roland McGrath <roland@hack.frob.com>
339 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
340 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
341 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
342 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
343 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
344 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
345 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
347 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
350 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
352 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
354 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
356 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
358 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
360 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
363 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
365 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
367 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
370 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
371 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
373 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
374 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
375 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
376 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
378 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
379 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
380 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
381 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
382 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
383 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
384 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
387 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
388 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
389 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
390 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
392 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
393 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
395 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
396 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
397 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
398 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
400 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
402 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
403 Identical file removed.
404 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
406 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
408 Identical file removed.
409 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
410 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
411 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
413 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
414 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
415 Identical file removed.
416 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
417 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
419 Identical file removed.
420 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
421 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
422 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
423 Identical file removed.
424 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
425 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
426 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
427 Identical file removed.
428 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
430 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
431 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
432 Identical file removed.
433 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
435 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
436 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
437 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
438 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
439 Identical file removed.
440 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
442 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
444 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
445 Identical file removed.
446 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
448 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
449 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
450 Identical file removed.
451 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
453 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
454 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
455 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
456 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
457 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
458 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
460 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
461 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
462 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
464 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
465 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
466 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
467 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
468 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
470 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
473 * nscd/nscd.c (monitor_child): Return exit status of child
474 instead of return value from wait syscall.
476 2014-06-27 Joseph Myers <joseph@codesourcery.com>
478 * configure.ac (libc_commonpagesize): Remove variable.
479 (libc_relro_required): Likewise.
480 (libc_cv_z_relro): Remove configure test.
481 * configure: Regenerated.
482 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
484 (libc_relro_required): Likewise.
485 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
486 (libc_relro_required): Likewise.
487 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
488 (libc_relro_required): Likewise.
489 * sysdeps/arm/preconfigure: Regenerated.
490 * sysdeps/ia64/preconfigure: Remove file.
491 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
493 (libc_relro_required): Likewise.
497 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
498 (__ieee754_yn): Set FE_TONEAREST mode internally and then
499 recompute overflowing results in original rounding mode.
500 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
501 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
502 recompute overflowing results in original rounding mode.
503 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
504 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
505 recompute overflowing results in original rounding mode.
506 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
507 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
508 recompute overflowing results in original rounding mode.
509 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
510 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
511 recompute overflowing results in original rounding mode.
512 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
513 (libc_feholdsetround_ctx): New macro.
514 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
515 * sysdeps/i386/fpu/libm-test-ulps: Update.
516 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
518 2014-06-26 Joseph Myers <joseph@codesourcery.com>
520 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
521 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
522 corresponding .cpsetup call.
524 2014-06-26 Roland McGrath <roland@hack.frob.com>
526 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
527 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
528 * sysdeps/arm/Makefile [$(subdir) = csu]
529 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
530 (static-only-routines): Add aeabi_read_tp here.
531 (shared-only-routines): Add libc-aeabi_read_tp here.
532 (CFLAGS-libc-start.c): Add -fexceptions here.
533 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
534 (sysdep_routines, static-only-routines, shared-only-routines):
535 Don't add to these here.
536 (CFLAGS-libc-start.c): Likewise.
538 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
539 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
540 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
541 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
542 * sysdeps/arm/Makefile [$(subdir) = rt]
543 (librt-sysdep_routines, librt-shared-only-routines):
544 Append rt-aeabi_unwind_cpp_pr1 here.
545 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
546 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
547 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
548 (libpthread-sysdep_routines, libpthread-shared-only-routines):
549 Append nptl-aeabi_unwind_cpp_pr1 here.
550 (tests): Filter out tst-cleanupx4 here.
551 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
552 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
555 2014-06-26 Joseph Myers <joseph@codesourcery.com>
557 * scripts/list-sources.sh: Do not handle ports specially.
559 2014-06-26 Roland McGrath <roland@hack.frob.com>
561 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
562 * sysdeps/arm/feupdateenv.c: Likewise.
564 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
566 2014-06-26 Joseph Myers <joseph@codesourcery.com>
568 * manual/texinfo.tex: Update to version 2014-05-05.10 with
569 trailing whitespace removed.
570 * scripts/config.guess: Update to version 2014-03-23.
571 * scripts/config.sub: Update to version 2014-05-01
572 * scripts/install-sh: Update to version 2013-12-25.23.
573 * scripts/move-if-change: Update from gnulib.
575 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
577 * debug/memmove_chk.c: Remove pagecopy.h include.
579 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
581 * time/mktime.c (leapyear): Remove inline keyword. The code is now
582 identical to gnulib mktime.
584 2014-06-26 Joseph Myers <joseph@codesourcery.com>
586 * configure.ac: Do not test for machine being rs6000. Do not test
588 * configure: Regenerated.
590 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
592 * configure: Regenerated.
593 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
594 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
595 Remove configure test.
596 * sysdeps/arm/configure: Regenerated.
597 * sysdeps/nptl/configure.ac: Do not check
598 libc_cv_asm_cfi_directives.
599 * sysdeps/nptl/configure: Regenerated.
600 * sysdeps/x86_64/nptl/configure.ac: Remove file.
601 * sysdeps/x86_64/nptl/configure: Remove generated file.
602 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
604 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
606 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
608 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
609 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
610 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
613 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
614 instead of whether it is defined.
615 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
616 * sysdeps/hppa/dl-machine.h: Likewise.
617 * sysdeps/ia64/dl-machine.h: Likewise.
618 * sysdeps/m68k/dl-machine.h: Likewise.
619 * sysdeps/microblaze/dl-machine.h: Likewise.
620 * sysdeps/mips/dl-machine.: Likewise.
621 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
622 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
623 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
624 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
625 * sysdeps/sh/dl-machine.h: Likewise.
626 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
627 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
628 * sysdeps/tile/dl-machine.h: Likewise.
629 * sysdeps/x86_64/dl-machine.h: Likewise.
631 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
633 (verify_persistent_db): Likewise.
635 2014-06-26 Roland McGrath <roland@hack.frob.com>
637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
638 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
640 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
643 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
646 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
648 Identical file removed.
649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
650 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
652 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
654 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
656 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
658 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
661 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
663 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
665 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
668 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
670 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
672 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
674 Identical file removed.
675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
676 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
678 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
681 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
684 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
686 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
688 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
690 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
692 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
695 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
698 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
700 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
703 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
705 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
707 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
709 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
710 * sysdeps/unix/sysv/linux/s390/Versions
711 (libpthread: GLIBC_2.19): New version set.
712 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
713 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
714 (librt: GLIBC_2.3.3): New version set.
715 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
716 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
717 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
718 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
719 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
720 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
721 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
722 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
723 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
724 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
725 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
726 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
727 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
728 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
729 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
730 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
731 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
732 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
733 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
734 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
735 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
736 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
737 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
738 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
739 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
740 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
741 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
742 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
743 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
744 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
745 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
746 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
748 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
751 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
753 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
755 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
757 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
759 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
761 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
762 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
763 (__libc_vfork): Define the function under this name.
764 [!NOT_IN_libc] (__vfork): Make this an alias.
765 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
766 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
767 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
768 (__libc_vfork): Define the function under this name.
769 [!NOT_IN_libc] (__vfork): Make this an alias.
770 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
771 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
772 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
773 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
774 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
775 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
777 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
778 code that was previously under [RESET_PID].
779 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
780 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
781 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
783 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
784 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
785 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
786 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
787 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
788 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
789 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
790 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
791 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
792 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
793 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
795 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
796 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
797 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
798 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
799 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
800 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
801 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
802 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
803 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
804 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
805 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
806 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
807 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
808 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
809 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
810 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
811 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
812 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
813 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
814 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
815 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
816 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
817 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
818 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
819 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
820 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
821 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
822 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
823 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
825 2014-06-25 Roland McGrath <roland@hack.frob.com>
827 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
828 that was previously under [RESET_PID].
829 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
831 2014-06-25 Joseph Myers <joseph@codesourcery.com>
833 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
834 not undefine and redefine.
835 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
836 [O_CLOEXEC]: Make code unconditional.
837 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
838 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
840 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
841 conditional variable definition.
842 (shm_open) [O_CLOEXEC]: Make code unconditional.
843 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
846 * configure.ac (USE_REGPARMS): Don't define here.
847 * configure: Regenerated.
848 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
849 * sysdeps/i386/configure: Regenerated.
851 * nptl/createthread.c: Don't include kernel-features.h.
852 * nptl/pthread_cancel.c: Likewise.
853 * nptl/pthread_condattr_setclock.c: Likewise.
854 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
855 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
856 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
857 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
858 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
859 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
860 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
861 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
863 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
864 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
865 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
866 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
867 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
868 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
869 * nscd/gai.c: Likewise.
870 * nss/nss_db/db-open.c: Likewise.
871 * sysdeps/generic/ldsodefs.h: Likewise.
872 * sysdeps/sh/nptl/tls.h: Likewise.
873 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
874 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
875 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
876 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
877 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
878 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
879 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
880 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
881 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
882 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
883 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
884 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
885 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
886 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
887 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
888 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
889 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
890 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
891 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
892 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
893 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
894 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
895 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
896 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
897 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
898 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
899 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
900 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
901 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
902 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
903 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
904 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
905 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
906 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
907 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
908 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
909 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
910 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
911 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
912 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
913 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
914 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
915 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
916 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
917 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
918 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
919 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
920 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
921 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
922 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
923 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
924 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
925 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
926 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
927 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
928 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
929 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
930 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
953 * sysdeps/unix/sysv/linux/pread.c: Likewise.
954 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
955 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
956 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
957 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
958 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
959 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
960 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
961 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
962 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
963 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
964 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
965 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
966 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
967 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
968 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
969 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
970 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
971 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
972 * sysdeps/unix/sysv/linux/system.c: Likewise.
973 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
974 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
975 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
976 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
977 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
978 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
979 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
981 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
982 * configure: Regenerated.
983 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
985 * configure.ac (base_machine): Do not set specially for particular
987 * configure: Regenerated.
988 * sysdeps/powerpc/preconfigure: Move machine and base_machine
989 settings from configure.ac.
990 * sysdeps/i386/preconfigure: New file.
991 * sysdeps/s390/preconfigure: Likewise.
992 * sysdeps/sh/preconfigure: Likewise.
993 * sysdeps/sparc/preconfigure: Likewise.
995 2014-06-25 Roland McGrath <roland@hack.frob.com>
997 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
998 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
999 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1000 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1001 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1002 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1003 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1004 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1005 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1006 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1007 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1008 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1009 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1010 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1011 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1012 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1013 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1014 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1015 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1017 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1018 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1019 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1020 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1021 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1022 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1023 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1024 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1025 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1026 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1027 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1028 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1029 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1030 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1031 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1032 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1033 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1034 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1035 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1036 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1037 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1038 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1039 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1040 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1041 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1042 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1044 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1045 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1046 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1047 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1048 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1049 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1050 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1052 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1053 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1054 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1057 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1059 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1062 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1065 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1067 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1070 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1072 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1074 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1076 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1079 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1082 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1084 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1087 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1089 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1091 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1093 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1095 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1098 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1101 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1103 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1106 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1108 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1110 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1112 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1115 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1118 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1120 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1123 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1125 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1127 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1129 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1131 * timezone/checktab.awk: Update from tzcode 2014e.
1132 * timezone/private.h: Likewise.
1133 * timezone/tzfile.h: Likewise.
1134 * timezone/zdump.c: Likewise.
1135 * timezone/zic.c: Likewise.
1137 * sysdeps/unix/sysv/linux/kernel-features.h
1138 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1139 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1140 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1141 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1142 Remove conditional code.
1144 2014-06-25 Will Newton <will.newton@linaro.org>
1146 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1147 (_dl_arm_cap_flags): Add HWCAP2 values.
1148 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1149 (_DL_HWCAP_COUNT): Increase to 37.
1150 (_DL_HWCAP_LAST): New define.
1151 (_DL_HWCAP2_LAST): New define.
1152 (_dl_procinfo): Add support for printing
1154 (_dl_string_hwcap): Use _dl_hwcap_string.
1156 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1160 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1162 * README: Do not mention ports directory.
1164 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1166 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1167 <kernel-features.h>.
1168 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1169 conditional variable definition.
1170 (__futimes): Update comment.
1171 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1172 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1175 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1176 arguments close to 0.
1177 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1179 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1181 * math/auto-libm-test-in: Add more tests of exp10.
1182 * math/auto-libm-test-out: Regenerated.
1183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1185 * sysdeps/unix/sysv/linux/kernel-features.h
1186 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1187 * sysdeps/unix/sysv/linux/readv.c: Do not include
1188 <kernel-features.h>.
1189 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1190 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1191 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1193 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1195 * sysdeps/unix/sysv/linux/writev.c: Do not include
1196 <kernel-features.h>.
1197 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1198 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1199 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1201 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1204 2014-06-25 Will Newton <will.newton@linaro.org>
1206 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1207 comment changes throughout the file. Remove checks
1208 for HAVE_*_H definitions that are not required.
1209 (__gen_tempname): Call abort if an unknown kind value is
1212 2014-06-25 Andreas Schwab <schwab@suse.de>
1215 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1216 scalbln, scalblnf, scalblnl in libc.
1218 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1221 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1222 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1223 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1225 2014-06-24 Roland McGrath <roland@hack.frob.com>
1227 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1228 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1229 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1230 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1232 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1233 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1235 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1236 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1237 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1238 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1239 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1240 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1241 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1242 * sysdeps/x86/bits/semaphore.h: ... here.
1243 * sysdeps/x86/nptl/elide.h: Moved ...
1244 * sysdeps/x86/elide.h: ... here.
1245 * sysdeps/x86_64/nptl/Implies: File removed.
1246 * sysdeps/i386/nptl/Implies: File removed.
1248 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1251 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1252 return the argument for normal arguments with exponent below -64.
1253 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1255 * math/auto-libm-test-in: Add another test of expm1.
1256 * math/auto-libm-test-out: Regenerated.
1259 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1260 calling __erfcl for arguments at least 16.
1261 * math/auto-libm-test-in: Add more tests of erf.
1262 * math/auto-libm-test-out: Regenerated.
1264 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1265 individual architectures.
1266 * sysdeps/unix/sysv/linux/configure: Regenerated.
1267 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1268 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1269 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1270 (ldd_rewrite_script): Define variable.
1271 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1276 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1277 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1278 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1279 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1280 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1281 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1282 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1283 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1285 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1288 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1289 Rename member __data.d to __data.__elision_data.
1291 2014-06-24 Wilco <wdijkstr@arm.com>
1293 * NEWS: Add 16918 to fixed bug list.
1295 2014-06-24 Wilco <wdijkstr@arm.com>
1297 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1299 2014-06-24 Wilco <wdijkstr@arm.com>
1301 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1302 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1303 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1304 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1305 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1306 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1307 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1310 2014-06-24 Wilco <wdijkstr@arm.com>
1312 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1314 2014-06-24 Wilco <wdijkstr@arm.com>
1316 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1317 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1318 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1319 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1321 2014-06-24 Wilco <wdijkstr@arm.com>
1324 * sysdeps/arm/feupdateenv.c (feupdateenv):
1325 Rewrite to reduce FPSCR accesses and fix return value.
1327 2014-06-24 Wilco <wdijkstr@arm.com>
1329 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1330 Optimize to avoid unnecessary FPSCR writes.
1331 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1332 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1333 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1334 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1336 2014-06-24 Wilco <wdijkstr@arm.com>
1338 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1339 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1340 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1341 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1342 Call libc_fetestexcept_vfp.
1343 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1344 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1345 __SOFTFP__ ifdef so that they can be built for softfp.
1347 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1349 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1350 argument type signed char.
1352 * Makerules (check-abi): Dump diff of symlist if the test
1355 2014-06-23 Roland McGrath <roland@hack.frob.com>
1357 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1360 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1361 Remove unused variable ST.
1363 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1367 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1368 small arguments before calling __expm1.
1369 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1370 small arguments before calling __expm1f.
1371 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1372 small arguments before calling __expm1l.
1373 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1375 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1376 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1377 spurious underflow for some cosh tests.
1378 * math/auto-libm-test-out: Regenerated.
1379 * sysdeps/i386/fpu/libm-test-ulps: Update.
1382 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1383 (__ieee754_y1): Set errno if return value overflows.
1384 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1385 (__ieee754_y1f): Set errno if return value overflows.
1386 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1387 (__ieee754_y1l): Set errno if return value overflows.
1388 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1389 (__ieee754_y1l): Set errno if return value overflows.
1390 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1391 * math/auto-libm-test-out: Regenerated.
1393 * math/gen-auto-libm-tests.c: Document use of
1394 ignore-zero-inf-sign.
1395 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1396 (input_flags): Add ignore-zero-inf-sign.
1397 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1398 * math/gen-libm-test.pl (generate_testfile): Handle
1399 ignore-zero-inf-sign.
1400 * math/auto-libm-test-in: Mark some cpow tests with
1401 ignore-zero-inf-sign and some with xfail-rounding.
1402 * math/auto-libm-test-out: Regenerated.
1403 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1404 * sysdeps/i386/fpu/libm-test-ulps: Update.
1405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1408 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1409 overflowing or underflowing operations take place with sign of
1411 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1412 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1413 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1414 (__ieee754_pow): Recompute overflowing and underflowing results in
1415 original rounding mode.
1416 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1417 (__powl_helper): Allow negative argument X and scale negated value
1418 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1419 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1420 overflowing or underflowing operations take place with sign of
1422 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1424 * math/auto-libm-test-in: Add more tests of pow.
1425 * math/auto-libm-test-out: Regenerated.
1426 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1427 (pow_tonearest_test_data): Remove.
1428 (pow_test_tonearest): Likewise.
1429 (pow_towardzero_test_data): Likewise.
1430 (pow_test_towardzero): Likewise.
1431 (pow_downward_test_data): Likewise.
1432 (pow_test_downward): Likewise.
1433 (pow_upward_test_data): Likewise.
1434 (pow_test_upward): Likewise.
1435 (main): Don't call removed functions.
1436 * sysdeps/i386/fpu/libm-test-ulps: Update.
1437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1439 2014-06-23 Roland McGrath <roland@hack.frob.com>
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1615 2014-06-23 Will Newton <will.newton@linaro.org>
1616 Wilco <wdijkstr@arm.com>
1618 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1619 implementation. Include get-rounding-mode.h.
1620 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1621 [!libc_feholdsetround_noex_ctx]: Define
1622 libc_feholdsetround_noex_ctx.
1623 [!libc_feholdsetround_noexf_ctx]: Define
1624 libc_feholdsetround_noexf_ctx.
1625 [!libc_feholdsetround_noexl_ctx]: Define
1626 libc_feholdsetround_noexl_ctx.
1627 (libc_feholdsetround_ctx): New function.
1628 (libc_feresetround_ctx): New function.
1629 (libc_feholdsetround_noex_ctx): New function.
1630 (libc_feresetround_noex_ctx): New function.
1632 2014-06-23 Roland McGrath <roland@hack.frob.com>
1634 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1635 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1636 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1637 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1638 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1639 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1641 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1642 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1643 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1644 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1645 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1646 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1647 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1648 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1649 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1650 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1653 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1655 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1658 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1661 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1665 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1670 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1671 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1673 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1675 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1678 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1682 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1683 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1684 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1685 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1686 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1687 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1689 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1691 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1694 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1696 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1698 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1700 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1702 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1705 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1706 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1707 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1709 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1712 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1713 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1714 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1715 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1716 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1718 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1719 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1720 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1721 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1722 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1723 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1724 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1725 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1726 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1727 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1728 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1729 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1730 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1731 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1732 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1733 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1735 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1736 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1737 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1738 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1739 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1740 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1741 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1742 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1743 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1744 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1745 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1747 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1750 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1751 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1752 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1753 (IPV6_PMTUDISC_INTERFACE): Likewise.
1754 (IPV6_PMTUDISC_OMIT): Likewise.
1756 2014-06-23 Andreas Schwab <schwab@suse.de>
1758 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1759 Remove unused errout label.
1761 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1763 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1764 macro: hardware supports Vector Crypto instructions.
1766 2014-06-23 Will Newton <will.newton@linaro.org>
1768 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1769 rather than __builtin_expect.
1771 * elf/dl-lookup.c (undefined_msg): Remove variable.
1772 (_dl_lookup_symbol_x): Replace undefined_msg with string
1775 * elf/dl-lookup.c (do_lookup_unique): New function.
1776 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1777 to a separate function.
1779 2014-06-23 Andreas Schwab <schwab@suse.de>
1782 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1783 before reading the next line.
1785 2014-06-23 Will Newton <will.newton@linaro.org>
1787 * test-skeleton.c (signal_handler): Use printf and %m
1788 rather than perror. Use printf rather than fprintf to
1789 stderr. Use puts rather than fputs to stderr.
1792 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1794 * nscd/nscd.c (thread_info_t): Remove typedef.
1795 (thread_info): Remove variable.
1797 2014-06-21 Allan McRae <allan@archlinux.org>
1799 * NEWS: Mention CVE-2014-4043.
1801 2014-06-20 Roland McGrath <roland@hack.frob.com>
1803 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1804 * nptl/smp.h: ... here.
1806 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1808 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1809 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1810 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1811 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1813 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1814 * nptl/stack-aliasing.h: New file.
1815 * sysdeps/i386/i686/stack-aliasing.h: New file.
1816 * sysdeps/i386/i686/nptl/Makefile: File removed.
1817 * sysdeps/x86_64/stack-aliasing.h: New file.
1818 * sysdeps/x86_64/nptl/Makefile
1819 (CFLAGS-pthread_create.c): Variable removed.
1821 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1822 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1824 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1825 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1828 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1830 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1831 (__ASSUME_SIGFRAME_V2): Remove macro.
1832 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1833 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1834 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1835 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1836 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1837 Declare as function. Remove conditional macro definitions.
1838 (__default_rt_sa_restorer): Likewise.
1839 (__default_sa_restorer_v1): Remove declaration.
1840 (__default_sa_restorer_v2): Likewise.
1841 (__default_rt_sa_restorer_v1): Likewise.
1842 (__default_rt_sa_restorer_v2): Likewise.
1843 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1844 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1845 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1847 2014-06-20 Roland McGrath <roland@hack.frob.com>
1849 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1850 (libpthread-routines): Add sysdep.
1851 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1852 * sysdeps/unix/sysv/linux/sparc/Versions
1853 (libpthread: GLIBC_2.3.3): New version set.
1854 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1855 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1856 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1857 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1858 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1859 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1861 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1862 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1863 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1864 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1865 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1866 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1867 * sysdeps/sparc/nptl/sem_init.c: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1869 * sysdeps/sparc/nptl/sem_post.c: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1871 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1872 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1873 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1874 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1875 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1876 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1877 (libpthread-routines): Add cpu_relax.
1878 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1880 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1881 (librt: GLIBC_2.3.3): New version set.
1882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1883 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1884 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1885 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1888 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1891 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1893 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1895 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1897 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1899 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1902 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1906 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1910 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1914 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1918 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1922 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1925 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1929 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1931 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1933 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1936 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1938 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1940 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1942 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1944 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1945 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1946 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1947 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1948 * nscd/nscd.c: Likewise.
1949 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1950 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1951 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1952 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1954 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1955 <kernel-features.h>.
1956 (init_mq_netlink): Remove conditional have_sock_cloexec
1957 definitions. Remove code conditional on have_sock_cloexec < 0.
1958 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1959 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1960 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1961 <kernel-features.h>.
1962 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1963 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1965 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1967 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1968 Add tests for memset_chk and memset.
1970 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1973 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1976 * elf/tst-dl-iter-static.c: New file.
1977 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1979 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1982 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1984 * sysdeps/unix/sysv/linux/kernel-features.h
1985 (__ASSUME_F_GETOWN_EX): Remove macro.
1986 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1987 <kernel-features.h>.
1988 (miss_F_GETOWN_EX): Remove variable or macro.
1989 (do_fcntl): Do not check miss_F_GETOWN_EX.
1990 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1992 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1994 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1995 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1996 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1998 * sysdeps/unix/sysv/linux/kernel-features.h
1999 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2000 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2001 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2002 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2004 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2007 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2008 Fix calculation of the symbol's value.
2009 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2010 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2011 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2012 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2013 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2014 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2015 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2016 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2017 (modules-names): Add `tst-armtlsdescmod',
2018 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2019 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2020 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2021 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2022 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2023 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2024 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2025 ($(objpfx)tst-armtlsdescloc): New dependency.
2026 ($(objpfx)tst-armtlsdescextnow): Likewise.
2027 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2028 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2030 * sysdeps/arm/configure: Regenerate.
2032 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2034 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2035 (__atfct_seterrno_2): Likewise.
2036 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2037 <kernel-features.h>.
2038 (__ASSUME_ATFCTS): Do not undefine and redefine.
2039 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2040 (__have_atfcts): Remove conditional definition.
2041 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2042 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2043 unreachable if [__ASSUME_ATFCTS].
2044 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2045 not undefine and redefine.
2046 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2047 <kernel-features.h>.
2048 (faccessat) [__NR_faccessat]: Make code unconditional.
2049 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2050 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2051 <kernel-features.h>.
2052 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2053 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2054 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2055 <kernel-features.h>.
2056 (fchownat) [__NR_fchownat]: Make code unconditional.
2057 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2058 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2059 <kernel-features.h>.
2060 (futimesat) [__NR_futimesat]: Make code unconditional.
2061 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2062 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2063 <kernel-features.h>.
2064 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2065 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2066 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2067 <kernel-features.h>.
2068 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2069 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2070 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2071 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2072 <kernel-features.h>.
2073 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2074 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2075 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2076 <kernel-features.h>.
2077 (linkat) [__NR_linkat]: Make code unconditional.
2078 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2079 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2080 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2081 <kernel-features.h>.
2082 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2083 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2084 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2085 <kernel-features.h>.
2086 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2087 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2088 * sysdeps/unix/sysv/linux/openat.c: Do not include
2089 <kernel-features.h>.
2090 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2091 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2092 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2093 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2094 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2095 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2096 <kernel-features.h>.
2097 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2098 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2099 result of INLINE_SYSCALL directly, not via int variable.
2100 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2101 <kernel-features.h>.
2102 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2103 (renameat) [__NR_renameat]: Make code unconditional.
2104 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2105 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2106 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2107 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2108 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2109 (__ASSUME_ATFCTS): Do not undefine and redefine.
2110 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2111 <kernel-features.h>.
2112 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2113 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2114 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2115 <kernel-features.h>.
2116 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2117 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2118 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2119 (__ASSUME_ATFCTS): Do not undefine and redefine.
2120 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2121 <kernel-features.h>.
2122 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2123 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2124 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2125 <kernel-features.h>.
2126 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2127 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2129 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2131 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2133 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2136 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2137 constructed tree before returning error.
2138 * posix/bug-regexp36.c: Expand test case.
2140 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2143 * math/libm-test.inc (scalbln_test_date):
2144 Add errno expectations.
2145 * math/w_scalblnf.c: New File.
2146 Add wrapper which checks for setting errno to ERANGE.
2147 Add weak_alias for corresponding scalbln function.
2148 * math/w_scalbln.c: Likewise.
2149 * math/w_scalblnl.c: Likewise.
2150 * math/Makefile (libm-calls): Add w_scalbln.
2151 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2152 Remove weak_alias for corresponding scalbln function.
2153 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2155 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2157 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2158 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2159 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2160 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2161 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2162 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2163 Remove long_double_symbol for scalblnl function in libm, libc.
2164 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2165 Add wrapper which checks for setting errno to ERANGE.
2166 Add long_double_symbol for scalblnl function in libm, libc.
2167 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2168 Remove long_double_symbol for scalblnl in libm.
2169 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2170 Add wrapper which checks for setting errno to ERANGE.
2171 Add long_double_symbol for scalblnl function in libm.
2172 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2173 Do not use wrapper because of own implementation.
2175 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2177 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2178 3 bytes for __pad1 for x32.
2179 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2181 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2182 H.J. Lu <hongjiu.lu@intel.com>
2184 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2185 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2186 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2187 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2188 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2190 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2193 * posix/regcomp.c (parse_expression): Deallocate partially
2194 constructed tree before returning error.
2195 * posix/Makefile.c (tests): Add bug-regex36.
2196 (generated): Add bug-regex36.mtrace.
2197 (tests-special): Add $(objpfx)bug-regex36-mem.out
2198 (bug-regex36-ENV): New variable.
2199 ($(objpfx)bug-regex36-mem.out): New rule.
2200 * posix/bug-regex36.c: New file.
2202 2014-06-19 Will Newton <will.newton@linaro.org>
2204 * malloc/malloc.c (systrim): If extra is zero then return
2207 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2209 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2211 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2213 * sysdeps/aarch64/strchr.S: New file.
2215 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2218 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2219 from arguments -2 or below.
2220 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2221 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2223 2014-06-18 Andreas Schwab <schwab@suse.de>
2226 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2227 of a bracket expr not to run off the end of the string.
2228 * posix/Makefile (tests): Add tst-fnmatch3.
2229 * posix/tst-fnmatch3.c: New file.
2231 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2233 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2234 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2235 [$(cross-compiling) = no]: Likewise.
2236 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2237 [$(cross-compiling) = no]: Likewise.
2239 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2242 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2243 double, adjusted for any remainder from the high double.
2244 * math/libm-test.inc (nearbyint): Add tests.
2247 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2249 * nptl/sysdeps/powerpc/Makefile: Moved ...
2250 * sysdeps/powerpc/nptl/Makefile: ... here.
2251 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2252 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2253 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2254 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2255 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2256 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2257 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2258 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2259 * nptl/sysdeps/powerpc/tls.h: Moved ...
2260 * sysdeps/powerpc/nptl/tls.h: ... here.
2262 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2265 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2266 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2267 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2268 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2269 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2270 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2271 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2272 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2273 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2275 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2277 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2279 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2281 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2284 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2287 2014-06-16 Florian Weimer <fweimer@redhat.com>
2290 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2291 non-executed part of the test.
2293 2014-06-16 Andreas Schwab <schwab@suse.de>
2295 * string/bits/string2.h (strdup, strndup): Update feature guard.
2297 2014-06-14 David S. Miller <davem@davemloft.net>
2299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2301 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2303 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2304 that was previously under [RESET_PID].
2305 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2307 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2308 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2309 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2310 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2311 (__libc_vfork): New strong alias.
2312 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2314 2014-06-14 Andi Kleen <ak@linux.intel.com>
2316 * sysdeps/generic/elide.h: New file.
2318 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2320 * Makefile (installed-headers): Adjust path of pthread.h header.
2322 2014-06-13 Roland McGrath <roland@hack.frob.com>
2324 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2325 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2326 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2327 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2329 * nptl/sysdeps/s390/Makefile: Moved ...
2330 * sysdeps/s390/nptl/Makefile: ... here.
2331 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2332 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2333 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2334 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2335 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2336 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2337 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2338 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2339 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2340 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2341 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2342 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2343 * nptl/sysdeps/s390/tls.h: Moved ...
2344 * sysdeps/s390/nptl/tls.h: ... here.
2346 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2347 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2349 2014-06-13 David S. Miller <davem@davemloft.net>
2351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2354 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2358 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2359 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2360 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2361 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2362 Remove RESET_PID cpp guards.
2363 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2364 Remove RESET_PID cpp guards.
2365 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2367 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2369 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2372 2014-06-13 Andi Kleen <ak@linux.intel.com>
2374 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2375 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2376 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2377 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2378 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2380 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2381 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2382 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2383 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2384 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2385 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2386 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2387 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2388 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2389 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2390 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2391 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2392 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2393 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2395 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2396 (pthread_rwlock_rdlock): Add elision.
2397 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2398 (pthread_rwlock_wrlock): Add elision.
2399 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2400 (pthread_rwlock_trywrlock): Add elision.
2401 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2402 (pthread_rwlock_tryrdlock): Add elision.
2403 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2404 (pthread_rwlock_tryrdlock): Add elision unlock.
2405 * nptl/sysdeps/pthread/pthread.h:
2406 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2407 (PTHREAD_RWLOCK_INITIALIZER,
2408 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2409 Handle new elision field.
2410 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2411 * sysdeps/arm/nptl/bits/pthreadtypes.h
2412 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2413 * sysdeps/sh/nptl/bits/pthreadtypes.h
2414 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2415 * sysdeps/tile/nptl/bits/pthreadtypes.h
2416 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2417 * sysdeps/a/nptl/bits/pthreadtypes.h
2418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2419 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2420 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2421 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2423 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2425 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2427 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2429 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2431 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2433 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2435 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2436 (elision_init): Set try_xbegin to zero when no RTM.
2437 * sysdeps/x86/nptl/bits/pthreadtypes.h
2438 (pthread_rwlock_t): Change __pad1 to __rwelision.
2439 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2441 2014-06-13 Andi Kleen <ak@linux.intel.com>
2443 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2444 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2445 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2446 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2448 2014-06-13 Meador Inge <meadori@codesourcery.com>
2451 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2452 that the cached result has been set before returning it.
2454 2014-06-12 Roland McGrath <roland@hack.frob.com>
2456 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2457 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2458 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2459 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2461 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2463 * nptl/sysdeps/sparc/Makefile: Moved ...
2464 * sysdeps/sparc/nptl/Makefile: ... here.
2465 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2466 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2467 * nptl/sysdeps/sparc/tls.h: Moved ...
2468 * sysdeps/sparc/nptl/tls.h: ... here.
2469 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2470 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2471 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2472 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2473 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2474 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2475 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2476 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2477 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2478 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2479 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2480 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2481 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2482 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2483 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2484 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2485 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2486 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2488 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2489 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2491 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2492 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2494 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2495 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2498 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2500 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2501 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2503 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2504 (struct list_links): Type removed.
2505 (struct thread_node, struct timer_node): Replace struct list_links
2506 with struct list_head.
2507 (list_unlink_ip): Likewise.
2508 * sysdeps/pthread/timer_routines.c
2509 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2510 (list_append, list_insbefore): Likewise.
2511 (list_init): Function removed.
2512 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2513 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2514 * sysdeps/pthread/Makefile: ... here, new file.
2516 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2517 * sysdeps/nptl/Implies: ... here.
2518 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2519 * nptl/sysdeps/pthread/list.h: Moved ...
2520 * include/list.h: ... here.
2521 * nptl/sysdeps/pthread/createthread.c: Moved ...
2522 * nptl/createthread.c: ... here.
2523 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2524 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2525 * nptl/pt-longjmp.c: ... here.
2526 * nptl/sysdeps/pthread/Makefile: Moved ...
2527 * sysdeps/nptl/Makefile: ... here.
2528 * nptl/sysdeps/pthread/Subdirs: Moved ...
2529 * sysdeps/nptl/Subdirs: ... here.
2530 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2531 * sysdeps/nptl/aio_misc.h: ... here.
2532 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2533 * sysdeps/nptl/bits/libc-lock.h: ... here.
2534 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2535 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2536 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2537 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2538 * nptl/sysdeps/pthread/configure: Moved ...
2539 * sysdeps/nptl/configure: ... here.
2540 * nptl/sysdeps/pthread/configure.ac: Moved ...
2541 * sysdeps/nptl/configure.ac: ... here.
2542 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2543 * sysdeps/nptl/gai_misc.h: ... here.
2544 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2545 * sysdeps/nptl/librt-cancellation.c: ... here.
2546 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2547 * sysdeps/nptl/malloc-machine.h: ... here.
2548 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2549 * sysdeps/nptl/pthread-functions.h: ... here.
2550 * nptl/sysdeps/pthread/pthread.h: Moved ...
2551 * sysdeps/nptl/pthread.h: ... here.
2552 * nptl/sysdeps/pthread/setxid.h: Moved ...
2553 * sysdeps/nptl/setxid.h: ... here.
2554 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2555 * sysdeps/nptl/sigfillset.c: ... here.
2556 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2557 * sysdeps/nptl/tcb-offsets.h: ... here.
2558 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2559 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2560 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2561 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2562 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2563 * sysdeps/pthread/allocalim.h: ... here.
2564 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2565 * sysdeps/pthread/bits/sigthread.h: ... here.
2566 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2567 * sysdeps/pthread/flockfile.c: ... here.
2568 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2569 * sysdeps/pthread/ftrylockfile.c: ... here.
2570 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2571 * sysdeps/pthread/funlockfile.c: ... here.
2572 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2573 * sysdeps/pthread/posix-timer.h: ... here.
2574 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2575 * sysdeps/pthread/timer_create.c: ... here.
2576 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2577 * sysdeps/pthread/timer_delete.c: ... here.
2578 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2579 * sysdeps/pthread/timer_getoverr.c: ... here.
2580 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2581 * sysdeps/pthread/timer_gettime.c: ... here.
2582 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2583 * sysdeps/pthread/timer_routines.c: ... here.
2584 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2585 * sysdeps/pthread/timer_settime.c: ... here.
2586 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2587 * sysdeps/pthread/tst-timer.c: ... here.
2588 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2589 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2591 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2592 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2594 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2595 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2596 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2597 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2598 Update #include target.
2599 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2600 * sysdeps/i386/i686/nptl/Makefile: ... here.
2601 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2602 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2603 Update #include target.
2604 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2605 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2606 * nptl/sysdeps/i386/Makefile: Moved ...
2607 * sysdeps/i386/nptl/Makefile: ... here.
2608 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2609 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2610 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2611 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2612 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2613 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2614 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2615 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2616 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2617 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2618 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2619 * nptl/sysdeps/i386/tls.h: Moved ...
2620 * sysdeps/i386/nptl/tls.h: ... here.
2622 * sysdeps/sh/Makefile [$(subdir) = csu]
2623 (gen-as-const-headers): Add tcb-offsets.sym.
2624 * nptl/sysdeps/sh/Makefile: File removed.
2625 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2626 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2627 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2628 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2629 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2630 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2631 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2632 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2633 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2634 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2635 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2636 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2637 * nptl/sysdeps/sh/tls.h: Moved ...
2638 * sysdeps/sh/nptl/tls.h: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2640 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2641 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2642 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2644 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2645 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2646 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2647 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2648 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2649 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2650 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2651 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2652 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2654 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2656 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2658 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2659 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2660 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2662 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2663 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2665 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2666 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2668 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2669 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2670 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2671 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2672 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2673 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2674 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2675 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2676 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2677 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2678 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2679 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2680 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2681 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2682 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2683 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2684 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2685 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2686 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2688 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2690 * posix/spawn_faction_addopen.c: Include string.h.
2692 2014-06-11 Roland McGrath <roland@hack.frob.com>
2694 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2695 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2696 * nptl/sysdeps/x86_64/Makefile: Moved ...
2697 * sysdeps/x86_64/nptl/Makefile: ... here.
2698 * nptl/sysdeps/x86_64/configure: Moved ...
2699 * sysdeps/x86_64/nptl/configure: ... here.
2700 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2701 * sysdeps/x86_64/nptl/configure.ac: ... here.
2702 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2703 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2704 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2705 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2706 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2707 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2708 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2709 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2710 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2711 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2712 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2713 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2714 * nptl/sysdeps/x86_64/tls.h: Moved ...
2715 * sysdeps/x86_64/nptl/tls.h: ... here.
2716 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2717 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2718 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2719 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2721 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2723 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2727 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2729 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2731 [POSIX] (off_t): Likewise.
2732 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2733 [POSIX] (S_ISBLK): Require macro.
2734 [POSIX] (S_ISCHR): Likewise.
2735 [POSIX] (S_ISDIR): Likewise.
2736 [POSIX] (S_ISFIFO): Likewise.
2737 [POSIX] (S_ISREG): Likewise.
2738 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2740 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2742 [POSIX] (time_t): Likewise.
2743 [POSIX] (timer_t): Likewise.
2745 2014-06-11 Florian Weimer <fweimer@redhat.com>
2748 * posix/spawn_int.h (struct __spawn_action): Make the path string
2749 non-const to support deallocation.
2750 * posix/spawn_faction_addopen.c
2751 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2752 * posix/spawn_faction_destroy.c
2753 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2754 path in all spawn_do_open actions.
2755 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2756 posix_spawn_file_actions_addopen.
2758 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2760 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2761 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2762 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2763 conditional code always true.
2764 (__libc_vfork): New alias.
2766 2014-06-11 Roland McGrath <roland@hack.frob.com>
2768 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2769 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2771 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2773 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2774 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2776 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2777 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2779 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2780 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2782 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2784 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2785 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2786 multiarch strcmp for PPC64.
2787 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2788 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2790 multiarch optimizations.
2791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2792 (__libc_ifunc_impl_list): Likewise.
2794 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2796 * benchtests/scripts/validate_benchout.py: New script.
2797 * benchtests/Makefile (bench-func): Call it.
2798 * benchtests/scripts/benchout.schema.json: New file.
2800 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2802 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2803 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2804 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2805 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2806 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2807 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2808 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2809 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2810 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2811 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2812 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2813 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2814 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2815 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2816 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2817 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2921 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2922 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2923 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2924 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2925 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2927 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2930 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2931 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2932 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2933 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2934 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2936 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2938 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2940 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2943 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2944 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2946 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2948 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2951 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2952 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2953 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2954 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2955 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2956 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2957 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2959 2014-06-10 Wilco <wdijkstr@arm.com>
2961 * math/test-fenv-return.c: New file.
2962 * math/Makefile: Add new test test-fenv-return.
2964 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2967 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2969 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2970 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2971 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2972 0.0L for an argument of 1.0L.
2973 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2975 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2976 value when x - 1 is zero.
2977 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2978 * sysdeps/i386/fpu/libm-test-ulps: Update.
2979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2981 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2984 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2986 2014-06-09 Roland McGrath <roland@hack.frob.com>
2988 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2989 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2991 2014-06-09 Roland McGrath <roland@hack.frob.com>
2993 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2994 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2996 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2997 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2999 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3000 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3002 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3003 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3005 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3006 if not already defined.
3007 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3008 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3009 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3010 (TLS_INIT_TP): Use it.
3011 (TLS_DEFINE_INIT_TP): New macro.
3012 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3014 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3016 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3018 [POSIX] (IXANY): Likewise.
3019 [POSIX] (OLCUC): Likewise.
3020 [POSIX || POSIX2008] (CBAUD): Do not allow.
3021 [POSIX || POSIX2008] (DEFECHO): Likewise.
3022 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3023 [POSIX || POSIX2008] (ECHOKE): Likewise.
3024 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3025 [POSIX || POSIX2008] (EXTA): Likewise.
3026 [POSIX || POSIX2008] (EXTB): Likewise.
3027 [POSIX || POSIX2008] (FLUSHO): Likewise.
3028 [POSIX || POSIX2008] (LOBLK): Likewise.
3029 [POSIX || POSIX2008] (PENDIN): Likewise.
3030 [POSIX || POSIX2008] (SWTCH): Likewise.
3031 [POSIX || POSIX2008] (VDISCARD): Likewise.
3032 [POSIX || POSIX2008] (VDSUSP): Likewise.
3033 [POSIX || POSIX2008] (VLNEXT): Likewise.
3034 [POSIX || POSIX2008] (VREPRINT): Likewise.
3035 [POSIX || POSIX2008] (VSTATUS): Likewise.
3036 [POSIX || POSIX2008] (VWERASE): Likewise.
3037 (B*): Change to B[0123456789]*.
3038 * conform/data/time.h-data [POSIX || UNIX98]
3039 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3040 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3041 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3042 [POSIX] (tm_*): Do not allow.
3044 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3046 * Makefile (install): Don't set LANGUAGE.
3047 * Makefile.in (install): Likewise.
3048 * assert/Makefile (test-assert-ENV): Remove variable.
3049 (test-assert-perr-ENV): Likewise.
3050 * elf/Makefile (neededtest4-ENV): Likewise.
3051 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3052 [$(cross-compiling) = no]: Don't set LANGUAGE.
3053 * io/ftwtest-sh (LANG): Remove variable.
3054 * libio/Makefile (tst-widetext-ENV): Likewise.
3055 * manual/install.texi (Running make install): Don't refer to
3056 environment settings for make install.
3057 * INSTALL: Regenerated.
3058 * nptl/tst-tls6.sh: Don't set LANG.
3059 * posix/globtest.sh (LANG): Remove variable.
3060 * string/Makefile (tester-ENV): Likewise.
3061 (inl-tester-ENV): Likewise.
3062 (noinl-tester-ENV): Likewise.
3063 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3064 [$(cross-compiling) = no]: Don't set LANGUAGE.
3065 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3066 without explicit environment settings.
3068 2014-06-06 Roland McGrath <roland@hack.frob.com>
3070 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3071 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3072 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3073 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3075 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3077 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3078 other files in the crypt directory.
3079 * crypt/crypt.c: Remove duplicate includes.
3080 * crypt/crypt-entry.c: Likewise.
3081 * crypt/crypt_util.c: Likewise.
3083 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3085 * Makeconfig (run-program-env): New variable.
3086 (run-program-prefix-before-env): Likewise.
3087 (run-program-prefix-after-env): Likewise.
3088 (run-program-prefix): Define in terms of new variables.
3089 (built-program-cmd-before-env): New variable.
3090 (built-program-cmd-after-env): Likewise.
3091 (built-program-cmd): Define in terms of new variables.
3092 (test-program-prefix-before-env): New variable.
3093 (test-program-prefix-after-env): Likewise.
3094 (test-program-prefix): Define in terms of new variables.
3095 (test-program-cmd-before-env): New variable.
3096 (test-program-cmd-after-env): Likewise.
3097 (test-program-cmd): Define in terms of new variables.
3098 * Rules (make-test-out): Use $(run-program-env).
3099 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3100 (help): Do not mention environment variables. Mention
3101 --timeoutfactor option.
3102 (timeoutfactor): New variable.
3103 (blacklist_exports): Remove function.
3104 (exports): Remove variable.
3105 (command): Do not include ${exports}.
3106 * manual/install.texi (Configuring and compiling): Do not mention
3107 test wrappers preserving environment variables. Mention that last
3108 assignment to a variable must take precedence.
3109 * INSTALL: Regenerated.
3110 * benchtests/Makefile (run-bench): Use $(run-program-env).
3111 * catgets/Makefile ($(objpfx)test1.cat): Use
3112 $(built-program-cmd-before-env), $(run-program-env) and
3113 $(built-program-cmd-after-env).
3114 ($(objpfx)test2.cat): Do not specify environment variables
3116 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3117 $(run-program-env) and $(built-program-cmd-after-env).
3118 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3119 $(run-program-env) and $(test-program-cmd-after-env).
3120 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3122 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3123 run_program_env and test_program_cmd_after_env arguments.
3124 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3125 * elf/tst-pathopt.sh: Use run_program_env argument.
3126 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3127 $(test-wrapper-env) and $(run-program-env).
3128 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3129 run_program_env arguments.
3130 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3131 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3132 $(test-program-prefix-before-env), $(run-program-env) and
3133 $(test-program-prefix-after-env).
3134 ($(objpfx)tst-gettext2.out): Likewise.
3135 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3136 run_program_env and test_program_prefix_after_env arguments.
3137 * intl/tst-gettext2.sh: Likewise.
3138 * intl/tst-gettext4.sh: Do not set environment variables
3140 * intl/tst-gettext6.sh: Likewise.
3141 * intl/tst-translit.sh: Likewise.
3142 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3143 $(test-program-prefix-before-env), $(run-program-env) and
3144 $(test-program-prefix-after-env).
3145 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3146 run_program_env and test_program_prefix_after_env arguments.
3147 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3148 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3149 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3150 explicitly with each use of ${test_wrapper_env}.
3151 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3152 $(test-program-prefix-before-env), $(run-program-env) and
3153 $(test-program-prefix-after-env).
3154 * posix/tst-getconf.sh: Do not set environment variables
3156 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3157 run_program_env and test_program_prefix_after_env arguments.
3158 * stdio-common/tst-printf.sh: Do not set environment variables
3160 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3161 $(test-program-prefix-before-env), $(run-program-env) and
3162 $(test-program-prefix-after-env).
3163 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3164 run_program_env and test_program_prefix_after_env arguments.
3165 Split $test calls into $test_pre and $test.
3166 * timezone/Makefile (build-testdata): Use
3167 $(built-program-cmd-before-env), $(run-program-env) and
3168 $(built-program-cmd-after-env).
3170 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3172 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3173 strlen for non SHARED builds.
3175 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3177 * nptl/allocatestack.c (check_list): Inlined function...
3178 (__reclaim_stacks): ... here.
3180 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3183 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3186 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3188 * Rules (make-test-out): Include
3189 LOCPATH=$(common-objpfx)localedata in default environment.
3190 * debug/Makefile (tst-chk1-ENV): Remove variable.
3191 (tst-chk2-ENV): Likewise.
3192 (tst-chk3-ENV): Likewise.
3193 (tst-chk4-ENV): Likewise.
3194 (tst-chk5-ENV): Likewise.
3195 (tst-chk6-ENV): Likewise.
3196 (tst-lfschk1-ENV): Likewise.
3197 (tst-lfschk2-ENV): Likewise.
3198 (tst-lfschk3-ENV): Likewise.
3199 (tst-lfschk4-ENV): Likewise.
3200 (tst-lfschk5-ENV): Likewise.
3201 (tst-lfschk6-ENV): Likewise.
3202 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3203 (tst-iconv7-ENV): Likewise.
3204 * intl/Makefile (LOCPATH-ENV): Likewise.
3205 (tst-codeset-ENV): Likewise.
3206 (tst-gettext3-ENV): Likewise.
3207 (tst-gettext5-ENV): Likewise.
3208 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3209 (tst-fopenloc-ENV): Likewise.
3210 (tst-fgetws-ENV): Remove variable.
3211 (tst-ungetwc1-ENV): Likewise.
3212 (tst-ungetwc2-ENV): Likewise.
3213 (bug-ungetwc2-ENV): Likewise.
3214 (tst-swscanf-ENV): Likewise.
3215 (bug-ftell-ENV): Likewise.
3216 (tst-fgetwc-ENV): Likewise.
3217 (tst-fseek-ENV): Likewise.
3218 (tst-ftell-partial-wide-ENV): Likewise.
3219 (tst-ftell-active-handler-ENV): Likewise.
3220 (tst-ftell-append-ENV): Likewise.
3221 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3222 (tst-regexloc-ENV): Likewise.
3223 (bug-regex1-ENV): Likewise.
3224 (tst-regex-ENV): Likewise.
3225 (tst-regex2-ENV): Likewise.
3226 (bug-regex5-ENV): Likewise.
3227 (bug-regex6-ENV): Likewise.
3228 (bug-regex17-ENV): Likewise.
3229 (bug-regex18-ENV): Likewise.
3230 (bug-regex19-ENV): Likewise.
3231 (bug-regex20-ENV): Likewise.
3232 (bug-regex22-ENV): Likewise.
3233 (bug-regex23-ENV): Likewise.
3234 (bug-regex25-ENV): Likewise.
3235 (bug-regex26-ENV): Likewise.
3236 (bug-regex30-ENV): Likewise.
3237 (bug-regex32-ENV): Likewise.
3238 (bug-regex33-ENV): Likewise.
3239 (bug-regex34-ENV): Likewise.
3240 (bug-regex35-ENV): Likewise.
3241 (tst-rxspencer-ENV): Likewise.
3242 (tst-rxspencer-no-utf8-ENV): Likewise.
3243 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3244 (tst-sscanf-ENV): Likewise.
3245 (tst-swprintf-ENV): Likewise.
3246 (tst-swscanf-ENV): Likewise.
3247 (test-vfprintf-ENV): Likewise.
3248 (scanf13-ENV): Likewise.
3249 (bug14-ENV): Likewise.
3250 (tst-grouping-ENV): Likewise.
3251 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3252 (tst-strtod3-ENV): Likewise.
3253 (tst-strtod4-ENV): Likewise.
3254 (tst-strtod5-ENV): Likewise.
3255 (testmb2-ENV): Likewise./
3256 * string/Makefile (tst-strxfrm-ENV): Likewise.
3257 (tst-strxfrm2-ENV): Likewise.
3258 (bug-strcoll1-ENV): Likewise.
3259 (test-strcasecmp-ENV): Likewise.
3260 (test-strncasecmp-ENV): Likewise.
3261 * time/Makefile (tst-strptime-ENV): Likewise.
3262 (tst-ftime_l-ENV): Likewise.
3263 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3264 (tst-mbrtowc-ENV): Likewise.
3265 (tst-wcrtomb-ENV): Likewise.
3266 (tst-mbrtowc2-ENV): Likewise.
3267 (tst-c16c32-1-ENV): Likewise.
3268 (tst-mbsnrtowcs-ENV): Likewise.
3270 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3272 * manual/resource.texi (How to get information about the memory
3273 subsystem?): Fix typo.
3274 Reported by Peon de la Parra Ivan <peon@keba.com>
3276 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3279 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3280 (pthread_spin_lock): Branch out of spin loop to proper location.
3281 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3282 (pthread_spin_lock): Likewise.
3284 * nptl/tst-spin4.c: New test.
3285 * nptl/Makefile (tests): Add tst-spin4.
3287 2014-06-03 Andreas Schwab <schwab@suse.de>
3290 * resolv/res_send.c (send_dg): Reload file descriptor after
3293 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3295 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3297 2014-06-03 Richard Henderson <rth@redhat.com>
3299 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3300 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3301 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3302 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3303 in the SAVE_PID block.
3304 (__libc_vfork): New alias.
3305 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3307 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3308 child in registers, not on the stack. Remove RESET_PID conditionals.
3309 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3311 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3313 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3315 2014-06-03 Wilco <wdijkstr@arm.com>
3317 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3318 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3319 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3320 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3321 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3324 2014-06-03 Wilco <wdijkstr@arm.com>
3326 * sysdeps/aarch64/fpu/math_private.h
3327 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3328 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3329 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3330 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3333 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3335 * crypt/crypt-private.h: Include ufc-crypt.h.
3336 (__b64_from_24bit): Declare extern.
3337 * crypt/crypt_util.c(__b64_from_24bit): New function.
3338 (b64t): New static const variable.
3339 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3340 (b64t): Remove variable.
3341 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3342 * crypt/sha256-crypt.c: Include crypt-private.h.
3343 (b64t): Remove variable.
3344 (__sha256_crypt_r): Remove b64_from_24bit and replace
3345 with __b64_from_24bit.
3346 * crypt/sha512-crypt.c: Likewise.
3348 2014-06-02 Roland McGrath <roland@hack.frob.com>
3350 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3351 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3352 Label the code __libc_vfork rather than __vfork.
3353 [!NOT_IN_libc] (vfork): Define as weak alias.
3354 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3355 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3356 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3358 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3360 * malloc/malloc.c (malloc_info): Fix format specifier for
3363 2014-06-02 Wilco <wdijkstr@arm.com>
3365 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3368 2014-06-02 Wilco <wdijkstr@arm.com>
3371 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3372 Rewrite to reduce FPCR/FPSR accesses.
3374 2014-06-01 David S. Miller <davem@davemloft.net>
3376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3378 2014-05-31 David S. Miller <davem@davemloft.net>
3380 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3381 to occur in round to nearest mode when |x| >= 2.0
3383 2014-05-30 Richard Henderson <rth@twiddle.net>
3385 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3386 (PSEUDO_RET_NOERRNO): Remove.
3387 (ret): Don't redefine.
3388 (ret_NOERRNO): Define in terms of ret.
3389 (ret_ERRVAL): Likewise.
3391 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3392 use of PSEUDO_RET; perform the error check directly.
3394 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3396 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3399 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3401 * malloc/malloc (malloc_info): Fix formatting.
3403 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3404 Roland McGrath <roland@hack.frob.com>
3406 * malloc/malloc (malloc_info): Also print mmapped statistics.
3408 2014-05-30 Roland McGrath <roland@hack.frob.com>
3410 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3411 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3413 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3415 * malloc/malloc.c (malloc_info): Inline mi_arena.
3417 2014-05-29 Richard Henderson <rth@twiddle.net>
3419 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3420 Remove comma before expanding ASM_ARGS_##nr.
3421 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3422 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3424 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3425 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3426 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3427 (ASM_ARGS_1): Add leading comma.
3429 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3430 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3431 to __errno_location.
3432 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3433 Remove the expected plt for __errno_location.
3435 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3436 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3439 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3440 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3441 it and break it down.
3442 (DOCARGS_0, DOCARGS_1): Do nothing.
3443 (DOCARGS_2): Update to store into the new stack frame.
3444 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3445 (UNDOCARGS_1): Update to restore from the new stack frame.
3446 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3447 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3449 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3450 (SINGLE_THREAD_P): New parameter for result regno.
3451 (PSEUDO): Update to match; use cbz instead of beq.
3453 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3454 Use ENTRY to define the _nocancel entry point. Share the syscall
3455 and syscall error check paths with the cancel path.
3458 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3459 whitespace; tabs before and after asm mnemonics.
3461 2014-05-29 Eric Wong <normalperson@yhbt.net>
3464 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3465 Call fstat64 or stat64 internally, depending on arguments passed.
3466 Replace stat buffer argument with file descriptor argument.
3467 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3468 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3469 Pass fd to __internal_statvfs instead of calling fstat64.
3470 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3471 Pass fd to __internal_statvfs64 instead of calling fstat64.
3472 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3473 Pass -1 to __internal_statvfs instead of calling stat64.
3474 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3475 Pass -1 to __internal_statvfs64 instead of calling stat64.
3477 2014-05-28 Roland McGrath <roland@hack.frob.com>
3479 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3480 that was previously under [RESET_PID].
3481 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3483 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3484 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3486 2014-05-27 Roland McGrath <roland@hack.frob.com>
3488 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3490 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3491 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3493 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3495 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3497 2014-05-27 Andreas Schwab <schwab@suse.de>
3499 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3501 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3502 * elf/rtld.c (init_tls, dl_main): Likewise.
3503 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3504 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3505 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3506 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3507 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3508 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3509 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3510 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3511 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3512 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3513 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3514 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3515 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3516 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3517 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3518 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3519 * sysdeps/generic/tls.h: Update description.
3521 2014-05-27 Will Newton <will.newton@linaro.org>
3524 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3525 and restore r2 rather than just restoring.
3527 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3530 * libio/tst-ftell-append.c: New test case.
3531 * libio/Makefile (tests): Add test case.
3532 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3534 * libio/wfileops.c (do_ftell_wide): Likewise.
3536 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3540 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3544 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3545 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3546 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3547 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3548 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3549 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3550 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3553 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3556 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3557 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3558 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3559 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3560 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3562 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3563 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3565 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3567 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3569 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3570 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3571 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3573 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3574 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3575 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3576 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3581 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3587 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3591 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3594 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3599 conditional [RESET_PID].
3600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3608 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3609 (__libc_vfork): New strong alias.
3610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3617 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3618 (__libc_vfork): New strong alias.
3619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3624 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3626 * malloc/malloc.c (mi_arena): New function.
3627 (malloc_info): Remove nested function mi_arena. Call non-nosted
3630 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3632 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3634 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3635 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3636 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3637 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3638 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3639 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3640 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3642 2014-05-26 Andreas Schwab <schwab@suse.de>
3645 * locale/programs/repertoire.c (repertoire_read): Add slash
3646 between I18NPATH element and file name.
3647 * locale/programs/locfile.c (locfile_read): Likewise.
3649 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3651 * nptl/pthread_mutexattr_settype.c
3652 (__pthread_mutexattr_settype):
3653 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3655 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3657 * nptl/tst-mutex5 (do_test):
3658 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3660 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3662 * benchtests/README: Document 'init' directive.
3663 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3665 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3666 (parse_file): Recognize 'init' directive.
3668 2014-05-26 Kyle McMartin <kyle@redhat.com>
3671 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3672 alignment of struct pthread.
3674 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3677 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3678 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3679 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3680 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3682 2014-05-25 Richard Henderson <rth@twiddle.net>
3684 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3685 (SINGLE_THREAD_P_PIC): Remove.
3686 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3687 (SINGLE_THREAD_P_PIC): Remove.
3689 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3690 branch to syscall error ...
3692 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3693 from __local_syscall_error to .Lsyscall_error.
3694 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3695 (SYSCALL_ERROR): Update label name.
3697 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3698 Do not use DOARGS/UNDOARGS.
3699 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3700 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3701 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3702 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3703 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3705 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3708 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3709 define if !NOT_IN_libc.
3710 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3711 define with non-default symbol versions.
3713 2014-05-23 Richard Henderson <rth@twiddle.net>
3715 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3716 (vfork, __vfork): Define via compat_symbol.
3718 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3719 [!HAVE_IFUNC] (vfork_compat): Remove.
3720 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3722 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3725 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3726 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3729 2014-05-23 Richard Henderson <rth@twiddle.net>
3731 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3732 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3733 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3734 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3736 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3737 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3738 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3739 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3740 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3741 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3742 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3743 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3744 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3745 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3746 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3747 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3748 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3749 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3750 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3751 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3752 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3753 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3754 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3755 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3756 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3757 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3758 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3759 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3761 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3762 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3763 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3764 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3765 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3766 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3767 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3768 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3769 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3770 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3771 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3772 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3773 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3774 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3775 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3776 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3777 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3778 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3779 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3780 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3781 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3782 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3783 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3784 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3785 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3787 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3789 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3791 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3793 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3794 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3795 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3796 before exiting on error.
3797 (__libc_vfork): New strong alias.
3798 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3799 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3801 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3802 that was previously under [RESET_PID].
3803 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3805 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3807 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3810 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3811 value when x - 1 is zero.
3812 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3813 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3814 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3815 0.0L for an argument of 1.0L.
3816 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3818 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3819 value when x - 1 is zero.
3820 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3821 * sysdeps/i386/fpu/libm-test-ulps: Update.
3822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3824 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3826 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3827 alphasort and versionsort.
3829 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3831 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3833 [copysignf]: Likewise.
3835 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3837 * crypt/md5-crypt.c: Fix formatting.
3839 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3841 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3842 (b64_from_24bit): New function.
3844 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3846 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3847 libc_hidden_builtin_def to ifunc.
3848 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3849 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3851 2014-05-21 Roland McGrath <roland@hack.frob.com>
3853 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3854 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3856 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3858 * nscd/Depend (linuxthreads): Remove.
3860 * resolv/Depend (linuxthreads): Remove.
3861 * rt/Depend (linuxthreads): Remove.
3863 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3864 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3865 $(common-objpfx)elf/.
3866 (link-libc-before-gnulib): Likewise.
3867 (elfobjdir): Remove variable.
3868 * Makefile (install): Use $(elf-objpfx) instead of
3869 $(common-objpfx)elf/.
3870 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3872 (link-libc-deps): Likewise.
3873 ($(common-objpfx)libc.so): Likewise.
3874 ($(common-objpfx)linkobj/libc.so): Likewise.
3875 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3876 instead of $(common-objpfx)elf/.
3877 (symbolic-link-list): Likewise.
3878 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3879 [$(cross-compiling) = no]: Likewise.
3880 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3882 (static-gnulib-arch): Likewise.
3883 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3884 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3885 $(common-objpfx)elf/.
3887 2014-05-21 Richard Henderson <rth@redhat.com>
3889 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3890 (SINGLE_THREAD_P): Use the correct width load. Fold
3891 into the ldr offset.
3893 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3894 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3896 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3898 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3899 (libgcc_s_resume): Use __attribute_used__.
3900 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3903 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3905 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3906 optimization when used with float constants.
3908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3910 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3913 * locale/nl_langinfo_l.c: Make direct reference to every
3914 _nl_current_CATEGORY symbol.
3915 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3916 (tests-static): Add tst-langinfo-static.
3917 (tests-special): Add tst-langinfo-static.out.
3918 ($(objpfx)tst-langinfo.out): Redirect output.
3919 ($(objpfx)tst-langinfo-static.out): New.
3920 * localedata/tst-langinfo.sh: Send output to stdout.
3921 * localedata/tst-langinfo-static.c: New file.
3924 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3925 when the shift amount is modulo the limb size.
3927 2014-05-20 Richard Henderson <rth@redhat.com>
3930 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3931 Change type of sa_flags from unsigned int to int.
3934 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3936 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3938 2014-05-20 Will Newton <will.newton@linaro.org>
3940 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3941 Test the return value of the system call in the nocancel case.
3943 2014-05-20 Will Newton <will.newton@linaro.org>
3944 Yvan Roux <yvan.roux@linaro.org>
3946 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3947 #include of asm/ptrace.h.
3948 (PTRACE_GET_THREAD_AREA): Remove #undef.
3949 (PTRACE_GETHBPREGS): Likewise.
3950 (PTRACE_SETHBPREGS): Likewise.
3951 (struct user_regs_struct): New structure.
3952 (struct user_fpsimd_struct): New structure.
3953 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3954 #include of asm/ptrace.h and second #include of sys/user.h.
3955 (PTRACE_GET_THREAD_AREA): Remove #undef.
3956 (PTRACE_GETHBPREGS): Likewise.
3957 (PTRACE_SETHBPREGS): Likewise.
3958 (ELF_NGREG): Use new struct user_regs_struct.
3959 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3961 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3963 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3964 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3966 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3970 membar to avoid block loads/stores to overlap previous stores.
3972 2014-05-17 Richard Henderson <rth@redhat.com>
3974 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3975 Create the __##syscall_name##_nocancel entry point.
3976 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3977 Remove; let the sysdep-cancel.h code create it.
3979 2014-05-17 David S. Miller <davem@davemloft.net>
3981 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3982 Protect with __USE_GNU.
3983 (TIOCSET_TEMPT): Likewise.
3984 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3985 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3986 these are already provided in bits/ioctl-types.h
3988 2014-05-16 Roland McGrath <roland@hack.frob.com>
3990 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3991 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3993 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3994 Use wait4 regardless of [__NR_waitpid].
3996 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3999 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4000 (_FP_NANSIGN_Q): Set the quiet bit.
4002 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4004 * benchtests/Makefile
4005 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4006 not $(common-objpfx)math/libm.so.
4007 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4008 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4009 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4010 $(common-objpfx)dlfcn/libdl.so.
4011 ($(objpfx)tst-audit8): Depend on $(libm), not
4012 $(common-objpfx)math/libm.so.
4013 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4014 not $(common-objpfx)dlfcn/libdl.so.
4016 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4017 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4018 [$(build-shared) = yes].
4019 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4020 $(common-objpfx)nptl/libpthread.so.
4021 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4022 $(common-objpfx)math/libm.so$(libm.so-version) or
4023 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4024 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4025 $(common-objpfx)dlfcn/libdl.so.
4026 * setjmp/Makefile (link-libm): Remove variable.
4027 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4028 * stdio-common/Makefile (link-libm): Remove variable.
4029 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4030 * stdlib/Makefile (link-libm): Remove variable.
4031 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4032 ($(objpfx)tst-strtod-round): Likewise.
4033 ($(objpfx)tst-tininess): Likewise.
4034 ($(objpfx)tst-strtod-underflow): Likewise.
4035 ($(objpfx)tst-strtod6): Likewise.
4036 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4037 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4038 $(common-objpfx)dlfcn/libdl.so.
4040 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4042 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4043 BSD terminal modes definitions.
4045 2014-05-16 Roland McGrath <roland@hack.frob.com>
4047 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4048 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4050 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4051 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4052 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4053 Don't do #include_next.
4054 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4055 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4056 Don't do #include_next.
4057 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4058 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4059 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4060 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4062 2014-05-16 Allan McRae <allan@archlinux.org>
4064 * po/sv.po: Update Swedish translation from translation project.
4066 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4069 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4072 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4073 errno if the TIOCGPTN ioctl fails with an error different than
4075 * login/tst-ptsname.c: New file.
4076 * login/Makefile (tests): Add tst-ptsname.
4079 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4082 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4086 herrno to return EAI_AGAIN.
4088 2014-05-14 Roland McGrath <roland@hack.frob.com>
4090 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4091 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4092 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4093 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4095 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4097 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4101 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4103 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4107 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4109 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4110 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4111 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4113 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4117 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4119 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4121 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4126 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4128 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4130 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4132 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4134 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4136 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4138 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4140 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4142 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4144 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4146 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4148 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4150 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4152 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4155 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4157 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4159 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4161 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4163 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4165 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4167 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4169 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4171 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4173 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4176 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4178 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4180 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4181 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4182 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4183 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4184 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4185 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4186 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4187 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4188 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4189 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4190 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4191 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4192 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4193 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4194 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4195 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4196 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4197 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4198 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4199 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4200 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4201 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4202 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4204 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4205 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4206 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4207 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4208 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4209 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4210 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4212 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4213 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4215 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4216 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4217 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4218 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4219 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4220 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4222 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4223 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4225 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4226 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4228 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4229 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4231 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4232 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4233 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4234 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4236 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4237 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4238 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4239 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4240 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4241 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4242 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4245 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4246 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4248 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4250 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4251 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4252 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4253 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4254 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4256 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4258 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4260 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4261 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4262 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4263 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4264 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4265 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4267 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4268 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4270 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4271 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4273 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4274 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4276 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4277 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4278 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4279 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4281 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4282 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4283 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4284 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4285 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4286 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4287 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4288 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4290 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4291 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4293 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4295 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4296 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4297 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4298 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4299 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4301 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4303 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4305 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4306 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4307 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4308 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4309 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4310 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4311 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4312 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4313 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4314 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4316 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4319 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4320 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4322 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4323 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4325 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4326 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4327 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4328 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4329 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4330 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4332 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4333 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4334 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4335 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4336 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4337 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4338 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4341 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4342 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4344 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4346 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4347 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4348 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4349 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4350 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4352 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4354 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4356 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4357 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4358 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4359 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4360 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4361 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4362 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4363 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4364 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4365 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4366 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4368 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4369 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4371 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4372 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4374 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4375 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4376 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4377 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4378 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4379 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4380 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4381 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4382 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4383 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4384 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4385 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4386 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4387 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4388 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4389 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4390 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4391 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4393 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4394 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4395 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4398 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4399 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4400 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4402 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4404 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4407 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4408 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4410 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4416 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4417 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4418 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4419 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4420 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4421 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4422 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4423 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4424 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4425 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4426 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4428 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4429 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4430 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4431 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4432 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4434 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4435 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4436 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4437 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4438 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4439 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4440 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4441 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4442 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4443 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4445 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4446 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4448 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4449 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4450 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4451 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4452 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4453 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4454 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4455 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4456 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4457 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4459 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4460 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4461 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4462 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4485 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4488 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4490 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4491 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4492 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4493 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4494 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4495 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4496 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4498 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4499 that was previously under [RESET_PID].
4500 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4501 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4502 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4504 * sysdeps/i386/nptl/Implies: New file.
4505 * sysdeps/x86_64/nptl/Implies: New file.
4506 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4507 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4508 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4509 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4511 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4512 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4513 (__libc_vfork): New strong alias.
4514 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4515 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4517 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4518 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4519 (__libc_vfork): New strong alias.
4520 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4521 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4523 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4524 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4525 (__libc_vfork): New strong alias.
4526 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4527 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4528 * nptl/pt-vfork.c: New file.
4529 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4530 (libpthread: GLIBC_2.20): New version set (empty).
4532 2014-05-14 Will Newton <will.newton@linaro.org>
4534 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4537 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4540 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4541 arguments with exponent 65 or above.
4542 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4543 arguments 0x1p113L or above.
4544 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4545 to arguments 0x1p107L or above.
4546 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4547 positive arguments with exponent 65 or above.
4548 * math/auto-libm-test-in: Add more tests of log1p.
4549 * math/auto-libm-test-out: Regenerated.
4552 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4553 non-finite arguments is +0.
4554 * math/s_cacosf.c (__cacosf): Likewise.
4555 * math/s_cacosl.c (__cacosl): Likewise.
4556 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4557 * sysdeps/i386/fpu/libm-test-ulps: Update.
4558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4561 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4563 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4564 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4565 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4566 for explicit high bit of mantissa when testing for argument equal
4568 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4569 * sysdeps/i386/fpu/libm-test-ulps: Update.
4570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4573 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4574 (__erf): Scale by 16 instead of 8 in potentially underflowing
4575 case. Ensure exception if result actually underflows.
4576 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4577 (__erff): Scale by 16 instead of 8 in potentially underflowing
4578 case. Ensure exception if result actually underflows.
4579 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4580 (efx8): Remove variable.
4581 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4582 case. Ensure exception if result actually underflows.
4583 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4584 (efx8): Remove variable.
4585 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4586 case. Ensure exception if result actually underflows.
4587 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4588 (efx8): Remove variable.
4589 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4590 case. Ensure exception if result actually underflows.
4591 * math/auto-libm-test-in: Add more tests of erf.
4592 * math/auto-libm-test-out: Regenerated.
4594 2014-05-14 Andreas Schwab <schwab@suse.de>
4596 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4597 Remove code conditionalized on USE___THREAD.
4599 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4600 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4603 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4605 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4606 Define unconditionally.
4607 (__ASSUME_O_CLOEXEC): Likewise.
4608 (__ASSUME_SOCK_CLOEXEC): Likewise.
4609 (__ASSUME_IN_NONBLOCK): Likewise.
4610 (__ASSUME_PIPE2): Likewise.
4611 (__ASSUME_EVENTFD2): Likewise.
4612 (__ASSUME_SIGNALFD4): Likewise.
4613 (__ASSUME_DUP3): Likewise.
4614 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4615 (__ASSUME_DUP3): Do not define.
4616 (__ASSUME_EVENTFD2): Likewise.
4617 (__ASSUME_IN_NONBLOCK): Likewise.
4618 (__ASSUME_O_CLOEXEC): Likewise.
4619 (__ASSUME_PIPE2): Likewise.
4620 (__ASSUME_SIGNALFD4): Likewise.
4621 (__ASSUME_SOCK_CLOEXEC): Likewise.
4622 (__ASSUME_UTIMES): Undefine.
4623 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4624 (__ASSUME_UTIMES): Do not define.
4625 (__ASSUME_O_CLOEXEC): Likewise.
4626 (__ASSUME_SOCK_CLOEXEC): Likewise.
4627 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4628 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4630 (__ASSUME_PIPE2): Likewise.
4631 (__ASSUME_EVENTFD2): Likewise.
4632 (__ASSUME_SIGNALFD4): Likewise.
4633 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4634 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4636 (__ASSUME_EVENTFD2): Likewise.
4637 (__ASSUME_SIGNALFD4): Likewise.
4638 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4639 (__ASSUME_32BITUIDS): Likewise.
4640 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4641 (__ASSUME_IPC64): Likewise.
4642 (__ASSUME_ST_INO_64_BIT): Likewise.
4643 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4644 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4645 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4646 (__ASSUME_UTIMES): Do not define.
4647 (__ASSUME_PSELECT): Likewise.
4648 (__ASSUME_PPOLL): Likewise.
4649 (__ASSUME_O_CLOEXEC): Likewise.
4650 (__ASSUME_SOCK_CLOEXEC): Likewise.
4651 (__ASSUME_IN_NONBLOCK): Likewise.
4652 (__ASSUME_PIPE2): Likewise.
4653 (__ASSUME_EVENTFD2): Likewise.
4654 (__ASSUME_SIGNALFD4): Likewise.
4655 (__ASSUME_DUP3): Likewise.
4656 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4657 (__ASSUME_UTIMES): Likewise.
4658 (__ASSUME_O_CLOEXEC): Likewise.
4659 (__ASSUME_SOCK_CLOEXEC): Likewise.
4660 (__ASSUME_IN_NONBLOCK): Likewise.
4661 (__ASSUME_PIPE2): Likewise.
4662 (__ASSUME_EVENTFD2): Likewise.
4663 (__ASSUME_SIGNALFD4): Likewise.
4664 (__ASSUME_DUP3): Likewise.
4665 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4666 (__ASSUME_UTIMES): Likewise.
4667 (__ASSUME_O_CLOEXEC): Likewise.
4668 (__ASSUME_SOCK_CLOEXEC): Likewise.
4669 (__ASSUME_IN_NONBLOCK): Likewise.
4670 (__ASSUME_PIPE2): Likewise.
4671 (__ASSUME_EVENTFD2): Likewise.
4672 (__ASSUME_SIGNALFD4): Likewise.
4673 (__ASSUME_DUP3): Likewise.
4674 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4676 (__ASSUME_UTIMES): Likewise.
4677 (__ASSUME_EVENTFD2): Likewise.
4678 (__ASSUME_SIGNALFD4): Likewise.
4679 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4680 (__ASSUME_O_CLOEXEC): Likewise.
4681 (__ASSUME_SOCK_CLOEXEC): Likewise.
4682 (__ASSUME_IN_NONBLOCK): Likewise.
4683 (__ASSUME_PIPE2): Likewise.
4684 (__ASSUME_EVENTFD2): Likewise.
4685 (__ASSUME_SIGNALFD4): Likewise.
4686 (__ASSUME_DUP3): Likewise.
4687 (__ASSUME_UTIMES): Undefine.
4689 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4690 feclearexcept. Remove symbol versioning code.
4691 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4692 symbol versioning code.
4693 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4694 symbol versioning code.
4695 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4696 feupdateenv. Remove symbol versioning code.
4697 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4698 fegetexceptflag. Remove symbol versioning code.
4699 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4700 fesetexceptflag. Remove symbol versioning code.
4701 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4702 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4703 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4704 (__posix_fadvise64_l32): Remove prototype.
4705 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4708 2014-05-13 Roland McGrath <roland@hack.frob.com>
4710 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4711 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4712 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4713 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4715 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4717 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4718 current working directory
4720 2014-05-13 Roland McGrath <roland@hack.frob.com>
4722 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4723 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4724 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4725 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4726 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4727 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4728 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4733 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4734 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4735 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4736 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4737 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4741 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4742 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4743 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4744 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4745 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4746 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4747 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4748 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4749 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4750 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4751 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4752 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4753 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4754 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4755 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4756 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4757 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4758 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4759 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4760 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4761 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4762 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4763 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4765 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4766 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4768 * sysdeps/unix/sysv/linux/arm/Makefile
4769 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4770 Add rt-aeabi_unwind_cpp_pr1.
4771 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4772 Add nptl-aeabi_unwind_cpp_pr1.
4773 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4774 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4775 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4776 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4777 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4778 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4780 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4781 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4782 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4783 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4785 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4786 Deconditionalize the code that was previously under [RESET_PID].
4787 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4789 * sysdeps/generic/exit-thread.h: New file.
4790 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4791 * include/unistd.h (__exit_thread): Remove declaration.
4792 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4793 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4794 * csu/libc-start.c: Include <exit-thread.h>.
4795 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4796 * nptl/pthread_create.c: Include <exit-thread.h>.
4797 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4798 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4799 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4800 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4801 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4802 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4803 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4804 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4805 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4806 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4807 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4808 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4809 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4810 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4811 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4812 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4813 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4815 2014-05-13 Andreas Schwab <schwab@suse.de>
4817 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4819 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4821 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4822 (__ASSUME_UTIMES): Do not condition on kernel version.
4823 (__ASSUME_PSELECT): Define unconditionally.
4824 (__ASSUME_PPOLL): Likewise.
4825 (__ASSUME_ATFCTS): Likewise.
4826 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4827 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4828 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4829 (__ASSUME_UTIMENSAT): Define unconditionally.
4830 (__ASSUME_PRIVATE_FUTEX): Likewise.
4831 (__ASSUME_FALLOCATE): Likewise.
4832 (__ASSUME_O_CLOEXEC): Likewise.
4833 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4834 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4835 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4836 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4837 (__ASSUME_IN_NONBLOCK): Likewise.
4838 (__ASSUME_PIPE2): Likewise.
4839 (__ASSUME_EVENTFD2): Likewise.
4840 (__ASSUME_SIGNALFD4): Likewise.
4841 (__ASSUME_DUP3): Likewise.
4842 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4843 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4844 (__ASSUME_AT_RANDOM): Likewise.
4845 (__ASSUME_PREADV): Likewise.
4846 (__ASSUME_PWRITEV): Likewise.
4847 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4848 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4849 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4850 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4851 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4852 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4853 (__ASSUME_O_CLOEXEC): Define unconditionally.
4854 (__ASSUME_PSELECT): Do not undefine conditionally.
4855 (__ASSUME_PPOLL): Likewise.
4856 (__ASSUME_ATFCTS): Likewise.
4857 (__ASSUME_SET_ROBUST_LIST): Likewise.
4858 (__ASSUME_UTIMENSAT): Likewise.
4859 (__ASSUME_FDATASYNC): Define unconditionally.
4860 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4861 (__ASSUME_SIGFRAME_V2): Likewise.
4862 )__ASSUME_EVENTFD2): Likewise.
4863 (__ASSUME_SIGNALFD4): Likewise.
4864 (__ASSUME_PSELECT): Do not undefine conditionally.
4865 (__ASSUME_PPOLL): Likewise.
4866 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4867 (__ASSUME_PSELECT): Define unconditionally.
4868 (__ASSUME_PPOLL): Likewise.
4869 (__ASSUME_O_CLOEXEC): Likewise.
4870 (__ASSUME_SOCK_CLOEXEC): Likewise.
4871 (__ASSUME_IN_NONBLOCK): Likewise.
4872 (__ASSUME_PIPE2): Likewise.
4873 (__ASSUME_EVENTFD2): Likewise.
4874 (__ASSUME_SIGNALFD4): Likewise.
4875 (__ASSUME_DUP3): Likewise.
4876 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4877 (__ASSUME_O_CLOEXEC): Likewise.
4878 (__ASSUME_SOCK_CLOEXEC): Likewise.
4879 (__ASSUME_IN_NONBLOCK): Likewise.
4880 (__ASSUME_PIPE2): Likewise.
4881 (__ASSUME_EVENTFD2): Likewise.
4882 (__ASSUME_SIGNALFD4): Likewise.
4883 (__ASSUME_DUP3): Likewise.
4884 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4885 (__ASSUME_EVENTFD2): Likewise.
4886 (__ASSUME_SIGNALFD4): Likewise.
4887 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4889 2014-05-12 Andreas Schwab <schwab@suse.de>
4892 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4893 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4894 than maximum RPC packet size.
4895 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4896 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4897 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4898 (_nss_nis_getservbyport_r): Likewise.
4900 2014-05-12 Will Newton <will.newton@linaro.org>
4902 * malloc/Makefile (tests): Add tst-mallopt.
4903 * malloc/tst-mallopt.c: New file.
4905 2014-05-09 Roland McGrath <roland@hack.frob.com>
4907 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4908 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4910 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4912 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4913 (tst-tlsmod6.so): Likewise.
4915 2014-05-09 Roland McGrath <roland@hack.frob.com>
4917 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4919 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4922 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4923 and <dl-procinfo.h>.
4924 (__fegetenv): Save SSE state in envp->__eip if supported.
4925 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4926 envp->__eip if supported.
4927 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4928 and <dl-procinfo.h>.
4929 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4930 __data_offset and __data_selector in environment to 0. Set SSE
4932 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4934 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4936 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4938 2014-05-09 Will Newton <will.newton@linaro.org>
4940 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4941 and libc_relro_required for ARM.
4942 * sysdeps/arm/preconfigure: Regenerate.
4944 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4945 Stefan Liebler <stli@linux.vnet.ibm.com>
4947 * config.make.in (enable-lock-elision): New Makefile variable.
4948 * configure.ac: Likewise.
4949 * configure: Regenerate.
4950 * sysdeps/s390/configure.ac:
4951 Add check for gcc transactions support.
4952 * sysdeps/s390/configure: Regenerate.
4953 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4954 Build elision files if enabled.
4955 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4956 Add lock elision support for s390.
4957 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4958 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4959 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4960 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4961 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4962 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4963 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4965 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4969 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4971 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4972 (__lll_timedlock_elision, __lll_lock_elision)
4973 (__lll_unlock_elision, __lll_trylock_elision)
4974 (lll_timedlock_elision, lll_lock_elision)
4975 (lll_unlock_elision, lll_trylock_elision): Add.
4976 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4977 (pthread_mutex_t): Add lock elision support for s390.
4979 2014-05-14 Wilco <wdijkstr@arm.com>
4981 * sysdeps/arm/fclrexcpt.c: Cleanup.
4982 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4983 * sysdeps/arm/feenablxcpt.c: Cleanup.
4984 * sysdeps/arm/fegetenv.c: Cleanup.
4985 * sysdeps/arm/fegetexcept.c: Cleanup.
4986 * sysdeps/arm/fegetround.c: Cleanup.
4987 * sysdeps/arm/feholdexcpt.c: Cleanup.
4988 * sysdeps/arm/fesetenv.c: Cleanup.
4989 * sysdeps/arm/fesetround.c: Cleanup.
4990 * sysdeps/arm/feupdateenv.c: Cleanup.
4991 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4992 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4993 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4994 * sysdeps/arm/ftestexcept.c: Cleanup.
4995 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4996 * sysdeps/arm/setfpucw.c: Cleanup.
4998 2014-05-09 Will Newton <will.newton@linaro.org>
5000 * sysdeps/arm/armv7/strcmp.S: New file.
5001 * NEWS: Mention addition of ARMv7 optimized strcmp.
5003 2014-05-08 Roland McGrath <roland@hack.frob.com>
5005 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5006 look for %.ac rather than %.in.
5008 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5009 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5010 * sysdeps/mach/hurd/configure: Regenerated.
5011 * sysdeps/unix/sysv/linux/configure: Regenerated.
5013 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5015 2014-05-07 Steve Ellcey <sellcey@mips.com>
5018 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5022 2014-05-07 Andreas Schwab <schwab@suse.de>
5024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5025 when skipping over non-matching result from nscd.
5027 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5030 * nptl/sockperf.c (client): Check socket return value.
5033 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5034 nscd security class.
5036 2014-05-06 Roland McGrath <roland@hack.frob.com>
5038 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5039 * sysdeps/arm/unwind.h: ... here.
5041 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5044 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5047 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5049 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5050 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5051 multiarch strncpy for PPC64.
5052 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5053 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5055 multiarch optimizations.
5056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5057 (__libc_ifunc_impl_list): Likewise.
5058 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5059 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5060 multiarch stpncpy for PPC64.
5061 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5062 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5064 2014-05-06 Andreas Schwab <schwab@suse.de>
5067 * gmon/mcount.c (_MCOUNT_DECL): Use
5068 atomic_compare_and_exchange_bool_acq instead of
5069 catomic_compare_and_exchange_bool_acq.
5071 2014-05-05 Roland McGrath <roland@hack.frob.com>
5073 * elf/Makefile (others, install-bin): Remove pldd.
5074 (pldd-modules): Variable removed.
5075 ($(objpfx)pldd): Target removed.
5076 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5077 (others, install-bin): Append pldd here.
5078 ($(objpfx)pldd): New target.
5080 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5081 to 0, so the first #if test emitted later doesn't see it undefined.
5082 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5083 * sysdeps/gnu/errlist.c: Regenerated.
5085 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5087 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5088 [libc_hidden_builtin_def]: Define to empty value.
5089 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5090 [libc_hidden_builtin_def]: Likewise.
5091 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5092 [libc_hidden_builtin_def]: Likewise.
5093 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5094 [libc_hidden_builtin_def]: Likewise.
5095 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5096 __redirect_memcpy and define ifunc as default hidden symbol.
5097 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5098 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5100 2014-05-04 Adam Conrad <adconrad@0c3.net>
5102 * locale/iso-4217.def: Reintroduce XDR currency.
5104 2014-05-04 Allan McRae <allan@archlinux.org>
5106 * po/eo.po: Update Esperanto translation from translation project.
5108 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5110 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5111 and FEATURE_INDEX_MAX to 1.
5112 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5114 2014-05-01 Steve Ellcey <sellcey@mips.com>
5116 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5117 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5118 * iconvdata/big5.c (ONE_DIRECTION): Define.
5119 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5120 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5121 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5122 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5123 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5124 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5125 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5126 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5127 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5128 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5129 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5130 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5131 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5132 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5133 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5134 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5135 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5136 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5137 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5138 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5139 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5140 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5141 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5142 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5143 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5144 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5145 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5146 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5147 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5148 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5149 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5150 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5151 * iconvdata/johab.c (ONE_DIRECTION): Define.
5152 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5153 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5154 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5155 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5156 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5157 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5158 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5159 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5160 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5161 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5163 2014-05-01 Roland McGrath <roland@hack.frob.com>
5165 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5166 (_IO_JUMPS_OFFSET): Define to 0.
5168 * nptl/sysdeps/pthread/bits/libc-lock.h
5169 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5170 (__libc_lock_define_initialized_recursive): Always define using
5171 initializer. Modern compilers treat uninitialized (implicit zero) and
5172 explicit zero initializers the same (i.e. put the datum in bss).
5174 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5176 * nscd/nscd-client.h: Include <string.h>.
5178 2014-05-01 David S. Miller <davem@davemloft.net>
5181 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5182 multiple zero bytes exist at the end of a string.
5183 Reported by Aurelien Jarno <aurelien@aurel32.net>
5185 * string/test-strcmp.c (check): Add explicit test for situations where
5186 there are multiple zero bytes after the first.
5188 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5191 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5192 when compiling wprintf.
5193 * stdio-common/tstdiomisc.c (t3): New function.
5196 2014-05-01 Steve Ellcey <sellcey@mips.com>
5198 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5199 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5200 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5201 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5203 2014-05-01 Steve Ellcey <sellcey@mips.com>
5205 * stdlib/longlong.h: Updated from GCC.
5207 2014-05-01 Will Newton <will.newton@linaro.org>
5208 Bernard Ogden <bernie.ogden@linaro.org>
5210 * NEWS: Update fixed bug list.
5213 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5215 2014-04-30 David S. Miller <davem@davemloft.net>
5217 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5218 (libc_feholdexcept_setround_sparc_ctx): New function.
5219 (libc_fesetenv_sparc_ctx): Likewise.
5220 (libc_feupdateenv_sparc_ctx): Likewise.
5221 (libc_feholdsetround_sparc_ctx): Likewise.
5222 (libc_feholdexcept_setround_ctx): Define.
5223 (libc_feholdexcept_setroundf_ctx): Likewise.
5224 (libc_feholdexcept_setroundl_ctx): Likewise.
5225 (libc_fesetenv_ctx): Likewise.
5226 (libc_fesetenvf_ctx): Likewise.
5227 (libc_fesetenvl_ctx): Likewise.
5228 (libc_feupdateenv_ctx): Likewise.
5229 (libc_feupdateenvf_ctx): Likewise.
5230 (libc_feupdateenvl_ctx): Likewise.
5231 (libc_feresetround_ctx): Likewise.
5232 (libc_feresetroundf_ctx): Likewise.
5233 (libc_feresetroundl_ctx): Likewise.
5234 (libc_feholdsetround_ctx): Likewise.
5235 (libc_feholdsetroundf_ctx): Likewise.
5236 (libc_feholdsetroundl_ctx): Likewise.
5238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5239 with __USE_GNU instead of XOPEN cpp guards.
5241 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5244 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5245 with XOPEN cpp guards.
5247 2014-04-30 Julian Brown <julian@codesourcery.com>
5250 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5253 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5256 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5258 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5259 * sysdeps/unix/sysv/linux/configure: Regenerated.
5260 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5261 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5262 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5263 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5264 * README: Update reference to required Linux kernel version.
5265 * manual/install.texi (Linux): Update reference to required Linux
5266 kernel headers version.
5267 * INSTALL: Regenerated.
5269 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5271 [POSIX] (limits.h): Likewise.
5272 [POSIX] (math.h): Likewise.
5273 [POSIX] (sys/wait.h): Likewise.
5274 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5276 [POSIX] (stddef.h): Do not allow header inclusion.
5278 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5280 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5282 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5284 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5285 Return immediately after lll_futex_wake.
5287 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5290 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5292 (datahead_init_pos): Call datahead_init_common early.
5293 (datahead_init_neg): Likewise.
5295 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5296 datahead_init_neg): New functions.
5297 * nscd/aicache.c (addhstaiX): Use them.
5298 * nscd/grpcache.c (cache_addgr): Likewise.
5299 * nscd/hstcache.c (cache_addhst): Likewise.
5300 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5301 * nscd/netgroupcache.c (do_notfound): Likewise.
5302 (addgetnetgrentX): Likewise.
5303 (addinnetgrX): Likewise.
5304 * nscd/pwdcache.c (cache_addpw): Likewise.
5305 * nscd/servicescache.c (cache_addserv): Likewise.
5307 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5308 Atsushi Onoe <atsushi@onoe.org>
5313 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5314 one response is valid.
5315 * resolv/res_send.c (send_dg): Check for validity of other
5316 response if the current response is a referral.
5318 2014-04-29 Steve Ellcey <sellcey@mips.com>
5320 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5322 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5325 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5326 Always divide by positive zero when computing -Inf result.
5327 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5328 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5330 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5332 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5333 FPSCR if value do not change.
5334 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5335 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5336 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5337 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5338 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5339 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5342 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5344 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5345 * sysdeps/unix/sysv/linux/hppa: Move directory from
5346 ports/systeps/unix/sysv/linux/hppa.
5347 * README: Update listing for hppa-*-linux-gnu.
5349 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5352 * manual/stdio.texi (Hook functions): Fix types of stream hook
5355 * socket/sys/socket.h: Fix typo in comment.
5357 2014-04-28 Wilco <wdijkstr@arm.com>
5359 * sysdeps/arm/fenv_private.h: New file.
5360 * sysdeps/arm/math_private.h: New file.
5361 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5363 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5365 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5367 (La_x86_64_retval): Likewise.
5369 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5371 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5372 fpsr if value didn't change.
5373 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5374 to fpcr if value didn't change.
5375 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5376 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5377 fpsr or fpcr if value didn't change.
5378 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5379 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5380 fpcr if value didn't change.
5381 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5382 to fpsr if value didn't change.
5384 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5386 * nptl/tst-sem3.c: Use test-skeleton.c
5387 (main): Rename to do_test. Use return instead of
5389 * nptl/tst-sem4.c: Use test-skeleton.c
5390 (main): Rename to do_test.
5392 2014-04-22 David S. Miller <davem@davemloft.net>
5394 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5395 (struct sigaction): New struct member __glibc_reserved0, change
5396 type of sa_flags to int.
5398 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5400 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5401 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5403 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5405 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5406 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5408 2014-04-22 Will Newton <will.newton@linaro.org>
5409 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5411 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5412 (__longjmp): Add longjmp and longjmp_target SystemTap
5414 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5415 (__sigsetjmp): Add setjmp SystemTap probe.
5417 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5419 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5422 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5424 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5426 * sysdeps/powerpc/fpu/fenv_private.h
5427 (libc_feholdexcept_setroundl_ctx): Define to
5428 libc_feholdexcept_setround_ppc_ctx.
5429 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5430 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5431 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5432 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5434 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5436 * sysdeps/aarch64/math-tests.h: New file.
5438 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5440 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5443 Check and set bit_AVX2_Usable.
5444 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5446 (bit_AVX2): Likewise.
5447 (index_AVX2_Usable): Likewise.
5448 (CPUID_AVX2): Likewise.
5449 (HAS_AVX2): Likewise.
5451 2014-04-17 Will Newton <will.newton@linaro.org>
5453 * manual/setjmp.texi (System V contexts): Add note that
5454 calling setcontext on a context created by a call to a
5455 signal handler is undefined. Update text to note that
5456 setcontext from a signal handler is possible but not
5460 * stdlib/tst-setcontext.c: Include signal.h.
5461 (main): Check that the signal stack before and
5462 after swapcontext is the same.
5464 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5465 Re-implement to restore registers in user code and avoid
5466 rt_sigreturn system call.
5468 2014-04-17 Wilco <wdijkstr@arm.com>
5470 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5471 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5472 * math/test-fenv.c: Skip exception trap tests on targets which only
5473 support non-stop mode.
5475 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5476 Wilco Dijkstra <wilco.dijkstra@arm.com>
5478 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5479 (libc_feholdsetround_aarch64_ctx)
5480 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5481 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5482 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5483 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5484 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5485 (libc_feresetround_noexl_ctx): Define.
5487 2014-04-16 Richard Henderson <rth@redhat.com>
5489 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5491 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5494 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5495 const from the non-libc, non-ldso copy.
5497 * sysdeps/alpha/libm-test-ulps: Regenerate.
5499 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5500 Wilco Dijkstra <wilco.dijkstra@arm.com>
5502 * sysdeps/aarch64/fpu/math_private.h: New file.
5504 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5506 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5508 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5510 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5511 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5513 Intel MPX bound registers before _dl_profile_fixup.
5514 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5515 registers after _dl_profile_fixup. Save and restore bound
5516 registers bnd0/bnd1 when calling _dl_call_pltexit.
5517 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5518 (LR_BND_OFFSET): Likewise.
5519 (LRV_BND0_OFFSET): Likewise.
5520 (LRV_BND1_OFFSET): Likewise.
5522 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5524 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5526 * sysdeps/mach/hurd/i386/tls.h: ... here.
5527 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5528 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5531 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5533 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5535 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5537 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5539 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5542 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5543 * sysdeps/s390/configure: Regenerate.
5546 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5547 Set round-to-nearest internally to reduce error accumulation.
5549 2014-04-16 Alan Modra <amodra@gmail.com>
5553 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5554 * math/libm-test.inc (frexp_test_data): Add tests.
5555 * NEWS: Update fixed bug list.
5557 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5559 * benchtests/Makefile: Depend on libraries in build directory.
5560 (bench-math): Separate out math tests.
5561 (bench-pthread): Separate out pthread tests.
5562 (bench): Include math and pthread tests.
5564 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5567 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5568 _dl_debug_initialize.
5570 * configure.ac: Remove SELinux header check.
5571 * configure: Regenerate.
5572 * nscd/selinux.c (perms): Array of const char* to permission names.
5573 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5574 default policy. Call string_to_security_class and string_to_av_perm to
5575 translate strings. Enforce default policy and call avs_has_perm with
5576 results of translated strings.
5578 2014-04-13 David S. Miller <davem@davemloft.net>
5580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5582 2014-04-12 Allan McRae <allan@archlinux.org>
5585 * manual/string.texi (Collation Functions): Fix qsort argument
5587 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5589 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5591 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5592 Make the test a no-op if there are no exceptions defined.
5594 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5596 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5597 enable-hardcoded-path-in-tests
5599 2014-04-11 Will Newton <will.newton@linaro.org>
5601 * benchtests/Makefile (extra-objs): Add json-lib.o.
5602 (bench-func): Tidy up JSON output.
5603 * benchtests/bench-skeleton.c: Include json-lib.h.
5604 (main): Use JSON library functions to do output of
5606 * benchtests/bench-timing-type.c (main): Output the
5607 timing type simply, leaving formatting to the user.
5608 * benchtests/json-lib.c: New file.
5609 * benchtests/json-lib.h: Likewise.
5611 2014-04-11 Torvald Riegel <triegel@redhat.com>
5614 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5615 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5616 memory barriers. Add comments.
5617 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5618 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5619 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5620 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5621 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5622 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5624 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5626 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5627 * sysdeps/s390/s390-64/configure.ac: ... this ...
5628 * sysdeps/s390/configure.ac: ... to here.
5629 * sysdeps/s390/s390-32/configure: Delete file.
5630 * sysdeps/s390/s390-64/configure: Delete file.
5631 * sysdeps/s390/configure: Regenerate.
5633 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5635 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5637 2014-04-11 Will Newton <will.newton@linaro.org>
5639 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5640 to zero if it is not defined elsewhere. (mtrim): Test
5641 the value of MALLOC_DEBUG with #if rather than #ifdef.
5643 2014-04-10 Torvald Riegel <triegel@redhat.com>
5645 * benchtests/pthread_once-inputs: New file.
5646 * benchtests/pthread_once-source.c: New file.
5647 * benchtests/README: Update documentation.
5649 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5650 H.J. Lu <hongjiu.lu@intel.com>
5652 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5653 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5654 * sysdeps/x86_64/configure: Regenerated.
5655 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5657 (REGISTER_SAVE_RAX): Likewise.
5658 (REGISTER_SAVE_RCX): Likewise.
5659 (REGISTER_SAVE_RDX): Likewise.
5660 (REGISTER_SAVE_RSI): Likewise.
5661 (REGISTER_SAVE_RDI): Likewise.
5662 (REGISTER_SAVE_R8): Likewise.
5663 (REGISTER_SAVE_R9): Likewise.
5664 (REGISTER_SAVE_BND0): Likewise.
5665 (REGISTER_SAVE_BND1): Likewise.
5666 (REGISTER_SAVE_BND2): Likewise.
5667 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5668 bound registers when calling _dl_fixup.
5670 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5672 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5673 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5675 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5676 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5677 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5678 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5679 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5680 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5681 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5683 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5686 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5687 pathconf(_PC_NAME_MAX).
5689 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5691 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5693 (__PTHREAD_SPINS): Move definition to ...
5694 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5695 (__PTHREAD_SPINS): ... here.
5696 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5697 (__PTHREAD_SPIN): Likewise.
5698 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5699 (__PTHREAD_SPIN): Likewise.
5700 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5701 (__PTHREAD_SPIN): Likewise.
5702 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5703 (__PTHREAD_SPIN): Likewise.
5704 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5705 (__PTHREAD_SPIN): Likewise.
5706 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5707 (__PTHREAD_SPIN): Likewise.
5708 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5709 (__PTHREAD_SPIN): Likewise.
5710 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5711 (__PTHREAD_SPIN): Likewise.
5712 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5713 (__PTHREAD_SPIN): Likewise.
5714 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5715 (__PTHREAD_SPIN): Likewise.
5716 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5717 (__PTHREAD_SPIN): Likewise.
5718 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5719 (__PTHREAD_SPIN): Likewise.
5721 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5722 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5723 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5724 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5726 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5727 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5728 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5729 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5731 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5732 strlen symbol for non multi-arch builds.
5733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5734 missing hidden_def and weak_alias.
5736 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5738 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5740 2014-04-07 Will Newton <will.newton@linaro.org>
5742 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5743 and contents. [!_LIBC] Remove #ifndef and contents.
5744 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5745 * string/memccpy.c (__memccpy): Use ANSI prototype.
5746 * string/memfrob.c (memfrob): Likewise.
5747 * string/strcoll.c (STRCOLL): Likewise.
5748 * string/strlen.c (strlen): Likewise.
5749 * string/strtok.c (STRTOK): Likewise.
5750 * string/strcat.c: Remove unused #include of memcopy.h.
5751 (strcat): Use ANSI prototype.
5752 * string/strchr.c: Remove unused #include of memcopy.h.
5753 (strchr): Use ANSI prototype.
5754 * string/strcmp.c: Remove unused #include of memcopy.h.
5755 (strcmp): Use ANSI prototype.
5756 * string/strcpy.c: Remove unused #include of memcopy.h.
5757 (strcpy): Use ANSI prototype.
5759 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5761 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5762 * config.make.in (config-extra-cppflags): Set it from
5763 libc_extra_cppflags.
5764 * configure.ac (libc_extra_cflags): Make it accumulate over
5765 configure fragments.
5766 (libc_extra_cppflags): New flag.
5767 * configure. Regenerate.
5768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5769 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5770 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5775 result for FE_DOWNWARD rounding mode.
5776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5780 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5782 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5783 in function argument name.
5785 2014-04-03 David Svoboda <svoboda@cert.org>
5788 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5791 2014-04-03 Roland McGrath <roland@hack.frob.com>
5793 * elf/dl-unmap-segments.h: New file.
5794 * sysdeps/generic/ldsodefs.h
5795 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5796 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5797 * elf/dl-fptr.c: Likewise.
5798 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5799 * sysdeps/aarch64/tlsdesc.c: Likewise.
5800 * sysdeps/arm/tlsdesc.c: Likewise.
5801 * sysdeps/i386/tlsdesc.c: Likewise.
5802 * sysdeps/tile/dl-runtime.c: Likewise.
5803 * sysdeps/x86_64/tlsdesc.c: Likewise.
5804 * elf/dl-load.h: New file.
5805 * elf/dl-load.c: Include it.
5806 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5807 Macros moved to dl-load.h.
5808 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5809 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5810 Use _dl_unmap_segments in place of __munmap.
5811 Break out segment-mapping loop into ...
5812 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5814 2014-04-03 Will Newton <will.newton@linaro.org>
5816 * elf/dl-lookup.c (do_lookup_x): Remove comment
5817 referring to nested function and move variable
5818 declarations down to before first use.
5820 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5824 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5826 * math/s_catanf.c (__catanf): Likewise.
5827 * math/s_catanh.c (__catanh): Likewise.
5828 * math/s_catanhf.c (__catanhf): Likewise.
5829 * math/s_catanhl.c (__catanhl): Likewise.
5830 * math/s_catanl.c (__catanl): Likewise.
5831 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5832 by positive zero when computing -Inf result.
5833 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5834 (catanh_test): Likewise.
5835 * sysdeps/i386/fpu/libm-test-ulps: Update.
5836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5839 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5840 instead of using underflowing value in computing result.
5841 * math/s_clog10.c (__clog10): Likewise.
5842 * math/s_clog10f.c (__clog10f): Likewise.
5843 * math/s_clog10l.c (__clog10l): Likewise.
5844 * math/s_clogf.c (__clogf): Likewise.
5845 * math/s_clogl.c (__clogl): Likewise.
5846 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5847 (clog10_test): Likewise.
5848 * sysdeps/i386/fpu/libm-test-ulps: Update.
5849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5851 2014-04-02 Alan Modra <amodra@gmail.com>
5854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5855 output when value is near a power of two. Use int64_t for lx and
5856 remove casts. Use decimal rather than hex exponent constants.
5857 Don't use long double multiplication when double will suffice.
5858 * math/libm-test.inc (nextafter_test_data): Add tests.
5859 * NEWS: Add 16739 and 16786 to bug list.
5861 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5863 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5865 2014-04-01 Will Newton <will.newton@linaro.org>
5867 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5868 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5870 2014-04-01 Florian Weimer <fweimer@redhat.com>
5873 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5874 * nptl/tst-setuid2.c: New file.
5875 * nptl/Makefile (xtests): Add tst-setuid2.
5877 2014-04-01 Alan Modra <amodra@gmail.com>
5880 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5882 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5886 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5887 set errno as appropriate.
5888 * math/w_scalbf.c (__scalbf): Likewise.
5889 * math/w_scalbl.c (__scalbl): Likewise.
5890 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5891 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5892 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5896 * math/w_atan2.c: Include <errno.h>.
5897 (__atan2): Set errno for result underflowing to zero.
5898 * math/w_atan2f.c: Include <errno.h>.
5899 (__atan2f): Set errno for result underflowing to zero.
5900 * math/w_atan2l.c: Include <errno.h>.
5901 (__atan2l): Set errno for result underflowing to zero.
5902 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5904 * math/auto-libm-test-out: Regenerated.
5906 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5908 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5909 Encode instruction correctly in little endian.
5910 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5912 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5914 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5916 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5919 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5922 * sysdeps/unix/sysv/linux/kernel-features.h
5923 [__sparc__ && !__arch64__ && !__sparc_v9__]
5924 (__ASSUME_SET_ROBUST_LIST): Do not define.
5925 [__sparc__ && !__arch64__ && !__sparc_v9__]
5926 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5927 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5929 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5930 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5931 (__ASSUME_REQUEUE_PI): Likewise.
5932 (__ASSUME_SET_ROBUST_LIST): Likewise.
5933 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5934 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5937 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5939 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5941 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5943 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5944 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5946 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5947 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5951 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5952 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5953 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5955 2014-03-31 Will Newton <will.newton@linaro.org>
5957 * benchtests/Makefile (bench): Add ffs and ffsll to list
5959 * benchtests/ffs-inputs: New file.
5960 * benchtests/ffsll-inputs: Likewise.
5962 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5965 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5966 too large before casting to int.
5967 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5968 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5969 * math/libm-test.inc (scalb_test_data): Add more tests.
5971 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5973 * benchtests/Makefile (DETAILED_OPT): New make option.
5974 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5976 * benchtests/bench-skeleton.c: Include stdbool.h.
5977 (main): Store and print timings per input.
5978 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5979 member to each argument value.
5980 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5981 (_print_arg_data): Initialize per-input timing to 0.
5983 * benchtests/Makefile (timing-type): New binary.
5984 (bench-clean): Also remove bench-timing-type.
5985 (bench): New target for timing-type.
5986 (bench-func): Print output in JSON format.
5987 * benchtests/bench-skeleton.c (main): Print output in JSON
5989 * benchtests/bench-timing-type.c: New file.
5990 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5991 (TIMING_PRINT_STATS): Remove.
5992 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5995 * benchtests/bench-modf.c: Remove.
5996 * benchtests/modf-inputs: New inputs file.
5998 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6001 * math/s_clog10.c (M_PI_LOG10E): New macro.
6002 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6003 imaginary parts are 0.
6004 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6005 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6006 imaginary parts are 0.
6007 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6008 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6009 imaginary parts are 0.
6010 * math/libm-test.inc (clog10_test_data): Update expected results
6011 for when real and imaginary parts are 0.
6013 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6015 * elf/dl-load.c: Finish conversion of __builtin_expect into
6018 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6022 1+x for argument with exponent below -67.
6023 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6025 * math/auto-libm-test-in: Add more tests of exp.
6026 * math/auto-libm-test-out: Regenerated.
6028 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6031 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6032 (nscd_getnetgrent): Use it.
6035 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6038 2014-03-27 Andi Kleen <ak@linux.intel.com>
6040 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6041 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6042 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6043 (lll_robust_unlock): Remove out of line section. Use cfi
6045 (LLL_STUB_UNWIND_INFO*): Remove.
6046 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6047 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6048 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6049 (lll_robust_unlock): Remove out of line section. Use cfi
6051 (LLL_STUB_UNWIND_INFO*): Remove.
6053 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6056 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6059 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6061 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6063 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6066 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6068 * math/test-fenv-preserve.c: New file.
6069 * math/Makefile (tests): Add test-fenv-preserve.
6071 2014-03-26 Will Newton <will.newton@linaro.org>
6073 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6075 2014-03-25 Roland McGrath <roland@hack.frob.com>
6077 * scripts/versionlist.awk: Partition the version sets and emit all
6078 GLIBC_* (sorted) before all others (sorted).
6080 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6082 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6083 GLIBC_2.2.5 version.
6085 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6087 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6090 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6095 2014-03-25 Andreas Schwab <schwab@suse.de>
6097 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6098 label to be used after in6ailist is initialized.
6100 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6102 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6103 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6105 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6109 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6111 (fp_formats): Update initializers.
6112 (init_fp_formats): Initialize new field.
6113 (output_for_one_input_case): Allow underflow for results up to
6115 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6116 * math/auto-libm-test-in: Don't mark some underflows from asin and
6118 * math/auto-libm-test-out: Regenerated.
6119 * sysdeps/i386/fpu/libm-test-ulps: Update.
6120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6122 2014-03-25 Andreas Schwab <schwab@suse.de>
6124 * libio/Makefile (tst-ftell-partial-wide-ENV)
6125 (tst-ftell-active-handler-ENV): Define.
6127 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6129 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6131 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6133 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6135 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6137 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6138 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6139 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6141 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6144 * elf/dl-load.c (open_verify): Add mode parameter.
6145 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6146 (open_path): Change from boolean 'secure' to complete flag 'mode'
6147 (_dl_map_object): Adjust.
6148 * elf/Makefile (tests): Add tst-dlopen-aout.
6149 * elf/tst-dlopen-aout.c: New test.
6151 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6154 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6155 (struct stat): Rename member pad0 to __glibc_reserved0.
6158 * sysdeps/s390/s390-32/bits/wordsize.h
6159 (__WORDSIZE32_SIZE_ULONG): New define.
6160 * sysdeps/s390/s390-64/bits/wordsize.h
6161 (__WORDSIZE32_SIZE_ULONG): Likewise.
6162 * sysdeps/generic/stdint.h (SIZE_MAX):
6163 Define as UL if __WORDSIZE32_SIZE_ULONG.
6166 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6167 (__glibc_reserved0): New variable.
6168 (sa_flags): Change type to int.
6170 * posix/Makefile (before-compile): Use += before-compile instead
6173 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6174 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6176 2014-03-20 Andreas Schwab <schwab@suse.de>
6179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6180 non-matching result from nscd.
6182 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6184 * scripts/bench.py: Moved to ...
6185 * benchtests/scripts/bench.py: ... here.
6186 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6188 2014-03-24 Andreas Schwab <schwab@suse.de>
6191 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6192 alloca_account and account alloca use for struct in6ailist.
6194 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6197 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6198 rounding mode to recompute results that overflow to infinity or
6200 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6202 * math/auto-libm-test-out: Regenerated.
6203 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6204 (ccosh_test): Likewise.
6205 (csin_test_data): Use plus_oflow.
6206 (csin_test): Use ALL_RM_TEST.
6207 (csinh_test_data): Use plus_oflow.
6208 (csinh_test): Use ALL_RM_TEST.
6209 * sysdeps/i386/fpu/libm-test-ulps: Update.
6210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6212 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6214 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6215 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6216 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6219 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6221 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6222 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6223 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6226 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6227 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6229 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6230 * sysdeps/i386/fpu/libm-test-ulps: Update.
6231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6233 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6235 * scripts/bench.pl: Remove file.
6236 * scripts/bench.py: New benchmark script.
6237 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6238 * benchtests/README: Mention python dependency.
6239 * scripts/pylintrc: New file.
6240 * scripts/pylint: New file.
6242 * bits/mathdef.h: Use #ifdef instead of #if.
6243 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6244 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6245 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6246 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6247 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6248 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6250 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6251 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6253 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6255 and strpbrk-ppc64 objects.
6256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6257 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6258 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6259 multiarch strpbrk for POWER7.
6260 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6261 multiarch strpbrk for PPC64.
6262 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6264 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6267 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6269 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6270 (atan_test): Likewise.
6271 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6272 (atanh_test): Use ALL_RM_TEST.
6273 (atan2_test_data): Likewise.
6274 (cabs_test): Likewise.
6275 (cacosh_test): Likewise.
6276 (carg_test): Likewise.
6277 (casin_test): Likewise.
6278 (casinh_test): Likewise.
6279 (cbrt_test): Likewise.
6280 (csqrt_test): Likewise.
6281 (erf_test): Likewise.
6282 (erfc_test): Likewise.
6283 (pow10_test): Likewise.
6284 (exp2_test): Likewise.
6285 (hypot_test): Likewise.
6286 (j0_test): Likewise.
6287 (j1_test): Likewise.
6288 (lgamma_test): Likewise.
6289 (gamma_test): Likewise.
6290 (sincos_test): Likewise.
6291 (tanh_test): Likewise.
6292 (y0_test): Likewise.
6293 (y1_test): Likewise.
6294 * sysdeps/i386/fpu/libm-test-ulps: Update.
6295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6297 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6299 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6301 and strcspn-ppc64 objects.
6302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6303 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6304 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6305 multiarch strcspn for POWER7.
6306 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6307 multiarch strcspn for PPC64.
6308 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6310 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6313 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6315 * math/gen-libm-test.pl (generate_testfile): Expect only function
6316 name as argument to AUTO_TESTS_* and pass results for all rounding
6317 modes to parse_args.
6318 (parse_auto_input): Separate inputs of automatic tests from
6319 outputs before storing in %auto_tests.
6320 * math/libm-test.inc (acos_test_data): Update call to
6322 (acos_test): Use ALL_RM_TEST.
6323 (acos_tonearest_test_data): Remove.
6324 (acos_test_tonearest): Likewise.
6325 (acos_towardzero_test_data): Likewise.
6326 (acos_test_towardzero): Likewise.
6327 (acos_downward_test_data): Likewise.
6328 (acos_test_downward): Likewise.
6329 (acos_upward_test_data): Likewise.
6330 (acos_test_upward): Likewise.
6331 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6332 (asin_test_data): Likewise.
6333 (asin_test): Use ALL_RM_TEST.
6334 (asin_tonearest_test_data): Remove.
6335 (asin_test_tonearest): Likewise.
6336 (asin_towardzero_test_data): Likewise.
6337 (asin_test_towardzero): Likewise.
6338 (asin_downward_test_data): Likewise.
6339 (asin_test_downward): Likewise.
6340 (asin_upward_test_data): Likewise.
6341 (asin_test_upward): Likewise.
6342 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6343 (atan_test_data): Likewise.
6344 (atanh_test_data): Likewise.
6345 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6346 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6347 (carg_test_data): Likewise.
6348 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6349 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6350 (ccosh_test_data): Likewise.
6351 (cexp_test_data): Likewise.
6352 (clog_test_data): Likewise.
6353 (clog10_test_data): Likewise.
6354 (cos_test_data): Update call to AUTO_TESTS_f_f.
6355 (cos_test): Use ALL_RM_TEST.
6356 (cos_tonearest_test_data): Remove.
6357 (cos_test_tonearest): Likewise.
6358 (cos_towardzero_test_data): Likewise.
6359 (cos_test_towardzero): Likewise.
6360 (cos_downward_test_data): Likewise.
6361 (cos_test_downward): Likewise.
6362 (cos_upward_test_data): Likewise.
6363 (cos_test_upward): Likewise.
6364 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6365 (cosh_test): Use ALL_RM_TEST.
6366 (cosh_tonearest_test_data): Remove.
6367 (cosh_test_tonearest): Likewise.
6368 (cosh_towardzero_test_data): Likewise.
6369 (cosh_test_towardzero): Likewise.
6370 (cosh_downward_test_data): Likewise.
6371 (cosh_test_downward): Likewise.
6372 (cosh_upward_test_data): Likewise.
6373 (cosh_test_upward): Likewise.
6374 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6375 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6376 (ctan_test_data): Likewise.
6377 (ctan_test): Use ALL_RM_TEST.
6378 (ctan_tonearest_test_data): Remove.
6379 (ctan_test_tonearest): Likewise.
6380 (ctan_towardzero_test_data): Likewise.
6381 (ctan_test_towardzero): Likewise.
6382 (ctan_downward_test_data): Likewise.
6383 (ctan_test_downward): Likewise.
6384 (ctan_upward_test_data): Likewise.
6385 (ctan_test_upward): Likewise.
6386 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6387 (ctanh_test): Use ALL_RM_TEST.
6388 (ctanh_tonearest_test_data): Remove.
6389 (ctanh_test_tonearest): Likewise.
6390 (ctanh_towardzero_test_data): Likewise.
6391 (ctanh_test_towardzero): Likewise.
6392 (ctanh_downward_test_data): Likewise.
6393 (ctanh_test_downward): Likewise.
6394 (ctanh_upward_test_data): Likewise.
6395 (ctanh_test_upward): Likewise.
6396 (erf_test_data): Update call to AUTO_TESTS_f_f.
6397 (erfc_test_data): Likewise.
6398 (exp_test_data): Likewise.
6399 (exp_test): Use ALL_RM_TEST.
6400 (exp_tonearest_test_data): Remove.
6401 (exp_test_tonearest): Likewise.
6402 (exp_towardzero_test_data): Likewise.
6403 (exp_test_towardzero): Likewise.
6404 (exp_downward_test_data): Likewise.
6405 (exp_test_downward): Likewise.
6406 (exp_upward_test_data): Likewise.
6407 (exp_test_upward): Likewise.
6408 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6409 (exp10_test): Use ALL_RM_TEST.
6410 (exp10_tonearest_test_data): Remove.
6411 (exp10_test_tonearest): Likewise.
6412 (exp10_towardzero_test_data): Likewise.
6413 (exp10_test_towardzero): Likewise.
6414 (exp10_downward_test_data): Likewise.
6415 (exp10_test_downward): Likewise.
6416 (exp10_upward_test_data): Likewise.
6417 (exp10_test_upward): Likewise.
6418 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6419 (expm1_test_data): Likewise.
6420 (expm1_test): Use ALL_RM_TEST.
6421 (expm1_tonearest_test_data): Remove.
6422 (expm1_test_tonearest): Likewise.
6423 (expm1_towardzero_test_data): Likewise.
6424 (expm1_test_towardzero): Likewise.
6425 (expm1_downward_test_data): Likewise.
6426 (expm1_test_downward): Likewise.
6427 (expm1_upward_test_data): Likewise.
6428 (expm1_test_upward): Likewise.
6429 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6430 (fma_test): Use ALL_RM_TEST.
6431 (fma_towardzero_test_data): Remove.
6432 (fma_test_towardzero): Likewise.
6433 (fma_downward_test_data): Likewise.
6434 (fma_test_downward): Likewise.
6435 (fma_upward_test_data): Likewise.
6436 (fma_test_upward): Likewise.
6437 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6438 (j0_test_data): Update call to AUTO_TESTS_f_f.
6439 (j1_test_data): Likewise.
6440 (jn_test_data): Update call to AUTO_TESTS_if_f.
6441 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6442 (log_test_data): Update call to AUTO_TESTS_f_f.
6443 (log10_test_data): Likewise.
6444 (log1p_test_data): Likewise.
6445 (log2_test_data): Likewise.
6446 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6447 (pow_tonearest_test_data): Likewise.
6448 (sin_test_data): Update call to AUTO_TESTS_f_f.
6449 (sin_test): Use ALL_RM_TEST.
6450 (sin_tonearest_test_data): Remove.
6451 (sin_test_tonearest): Likewise.
6452 (sin_towardzero_test_data): Likewise.
6453 (sin_test_towardzero): Likewise.
6454 (sin_downward_test_data): Likewise.
6455 (sin_test_downward): Likewise.
6456 (sin_upward_test_data): Likewise.
6457 (sin_test_upward): Likewise.
6458 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6459 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6460 (sinh_test): Use ALL_RM_TEST.
6461 (sinh_tonearest_test_data): Remove.
6462 (sinh_test_tonearest): Likewise.
6463 (sinh_towardzero_test_data): Likewise.
6464 (sinh_test_towardzero): Likewise.
6465 (sinh_downward_test_data): Likewise.
6466 (sinh_test_downward): Likewise.
6467 (sinh_upward_test_data): Likewise.
6468 (sinh_test_upward): Likewise.
6469 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6470 (sqrt_test): Use ALL_RM_TEST.
6471 (sqrt_tonearest_test_data): Remove.
6472 (sqrt_test_tonearest): Likewise.
6473 (sqrt_towardzero_test_data): Likewise.
6474 (sqrt_test_towardzero): Likewise.
6475 (sqrt_downward_test_data): Likewise.
6476 (sqrt_test_downward): Likewise.
6477 (sqrt_upward_test_data): Likewise.
6478 (sqrt_test_upward): Likewise.
6479 (tan_test_data): Update call to AUTO_TESTS_f_f.
6480 (tan_test): Use ALL_RM_TEST.
6481 (tan_tonearest_test_data): Remove.
6482 (tan_test_tonearest): Likewise.
6483 (tan_towardzero_test_data): Likewise.
6484 (tan_test_towardzero): Likewise.
6485 (tan_downward_test_data): Likewise.
6486 (tan_test_downward): Likewise.
6487 (tan_upward_test_data): Likewise.
6488 (tan_test_upward): Likewise.
6489 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6490 (tgamma_test_data): Likewise.
6491 (y0_test_data): Likewise.
6492 (y1_test_data): Likewise.
6493 (yn_test_data): Update call to AUTO_TESTS_if_f.
6494 (main): Do not call removed functions.
6496 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6498 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6499 (ldexp_test_data): Remove.
6500 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6502 (scalb_test): Use ALL_RM_TEST.
6504 2014-03-19 Andreas Schwab <schwab@suse.de>
6506 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6508 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6511 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6512 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6513 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6514 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6515 (__ASSUME_PREADV): Undefine.
6516 (__ASSUME_PWRITEV): Likewise.
6518 2014-03-18 Roland McGrath <roland@hack.frob.com>
6520 * bits/mman-linux.h: Add comment about non-Linux use.
6521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6522 bits/mman-linux.h resting place.
6524 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6525 * bits/mman-linux.h: ... here.
6527 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6529 * conform/conformtest.pl: Add standard definition when calling C
6530 preprocessor on data files.
6531 (checknamespace): Remove unused variable.
6533 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6535 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6536 minus_oflow, plus_uflow and minus_uflow in expected results.
6537 * math/libm-test.inc (scalbn_test_data): Add more tests of
6538 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6540 (scalbn_test): Use ALL_RM_TEST.
6541 (scalbln_test_data): Add more tests of negative arguments. Use
6542 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6543 (scalbln_test): Use ALL_RM_TEST.
6545 2014-03-18 Roland McGrath <roland@hack.frob.com>
6547 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6549 2014-03-18 Will Newton <will.newton@linaro.org>
6551 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6554 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6556 * Makerules [!subdir] (check-abi): Exit with error status if a
6559 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6561 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6562 for rint. Include results for all rounding modes.
6563 (nearbyint_test): Use ALL_RM_TEST.
6564 (rint_test_data): Include all tests used for nearbyint.
6566 2014-03-17 Will Newton <will.newton@linaro.org>
6568 * nptl/sysdeps/pthread/pthread.h: Revert previous
6571 * sysdeps/generic/ldsodefs.h: Revert previous
6574 * libio/genops.c: Revert previous change.
6575 * libio/libioP.h: Likewise.
6576 * stdio-common/vfprintf.c: Likewise.
6578 * sysdeps/generic/math_private.h: Revert previous
6581 * sysdeps/generic/math_private.h: Check whether
6582 HAVE_RM_CTX is defined with #ifdef rather
6585 * argp/argp-fmtstream.h: Check whether
6586 __STRICT_ANSI__ is defined with #ifdef rather
6588 * argp/argp.h: Likewise.
6590 * libio/genops.c: Check whether
6591 _IO_JUMPS_OFFSET is defined with #ifdef rather
6593 * libio/libioP.h: Likewise.
6594 * stdio-common/vfprintf.c: Likewise.
6596 * sysdeps/generic/ldsodefs.h: Check whether
6597 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6600 * nptl/sysdeps/pthread/pthread.h: Check
6601 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6604 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6606 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6608 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6612 * libio/fileops.c (_IO_file_open): Seek to end of file but
6613 don't cache the offset.
6614 (get_file_offset): Remove function.
6615 (do_ftell): Use cached offset when available.
6616 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6617 don't cache the offset.
6618 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6620 (do_one_test): Call it.
6621 (do_ftell_test): Fix up expected old offset for a+ mode.
6622 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6625 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6626 up test status with function return status.
6627 (do_write_test): Likewise.
6628 (do_append_test): Likewise.
6630 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6631 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6634 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6636 * math/gen-libm-test.pl (parse_args): Handle results specified for
6637 each rounding mode separately.
6638 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6639 tests and results from lrint_tonearest_test_data,
6640 lrint_towardzero_test_data, lrint_downward_test_data and
6641 lrint_upward_test_data.
6642 (lrint_test): Use ALL_RM_TEST.
6643 (lrint_tonearest_test_data): Remove.
6644 (lrint_test_tonearest): Likewise.
6645 (lrint_towardzero_test_data): Likewise.
6646 (lrint_test_towardzero): Likewise.
6647 (lrint_downward_test_data): Likewise.
6648 (lrint_test_downward): Likewise.
6649 (lrint_upward_test_data): Likewise.
6650 (lrint_test_upward): Likewise.
6651 (llrint_test_data): Merge in per-rounding-mode tests and results
6652 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6653 llrint_downward_test_data and llrint_upward_test_data.
6654 (llrint_test): Use ALL_RM_TEST.
6655 (llrint_tonearest_test_data): Remove.
6656 (llrint_test_tonearest): Likewise.
6657 (llrint_towardzero_test_data): Likewise.
6658 (llrint_test_towardzero): Likewise.
6659 (llrint_downward_test_data): Likewise.
6660 (llrint_test_downward): Likewise.
6661 (llrint_upward_test_data): Likewise.
6662 (llrint_test_upward): Likewise.
6663 (rint_test_data): Merge in per-rounding-mode tests and results
6664 from rint_tonearest_test_data, rint_towardzero_test_data,
6665 rint_downward_test_data and rint_upward_test_data. Add
6666 per-rounding-mode results for tests not in those arrays.
6667 (rint_test): Use ALL_RM_TEST.
6668 (rint_tonearest_test_data): Remove.
6669 (rint_test_tonearest): Likewise.
6670 (rint_towardzero_test_data): Likewise.
6671 (rint_test_towardzero): Likewise.
6672 (rint_downward_test_data): Likewise.
6673 (rint_test_downward): Likewise.
6674 (rint_upward_test_data): Likewise.
6675 (rint_test_upward): Likewise.
6676 (main): Don't call removed functions.
6678 2014-03-14 Roland McGrath <roland@hack.frob.com>
6680 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6681 "Compiled on ..." crapola. It is anti-useful.
6683 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6685 * scripts/evaluate-test.sh: Handle fourth argument to determine
6686 whether test run should stop on failure.
6687 * Makeconfig (stop-on-test-failure): New variable.
6688 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6689 $(stop-on-test-failure).
6690 * Makefile (tests): Give a summary of results from testing and
6691 exit with failure status if they include an ERROR or FAIL.
6693 * manual/install.texi (Configuring and compiling): Mention
6694 stop-on-test-failure=y.
6695 * INSTALL: Regenerated.
6697 2014-03-14 Roland McGrath <roland@hack.frob.com>
6699 * scripts/versionlist.awk: New file.
6700 * Makerules [$(build-shared) = yes]
6701 (postclean-generated): Add Versions.def, not Versions.def.v and
6703 ($(common-objpfx)Versions.def.v.i): Target removed.
6704 ($(common-objpfx)Versions.def): New target.
6705 ($(common-objpfx)Versions.all): Depend on that rather that
6706 $(common-objpfx)Versions.def.v.
6707 * Versions.def: File removed.
6709 * Makeconfig (+gccwarn): Add -Wundef.
6710 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6711 a dl-sysdep.h breaking its contract.
6712 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6713 * include/stackinfo.h: New file.
6714 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6715 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6716 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6717 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6718 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6719 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6720 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6721 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6722 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6723 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6724 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6725 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6726 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6727 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6728 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6730 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6733 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6735 * math/libm-test.inc (round_test_data): Add more tests.
6738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6740 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6743 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6745 * math/libm-test.inc (ceil_test_data): Add more tests.
6747 * math/libm-test.inc (trunc_test_data): Add more tests related to
6750 2014-03-14 Roland McGrath <roland@hack.frob.com>
6752 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6753 with #if rather than #ifdef.
6754 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6756 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6758 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6759 first. Disable AVX-512 GCC support if assembler doesn't support
6761 * sysdeps/x86_64/configure: Regenerated.
6763 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6765 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6766 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6767 (__old_pthread_attr_setstack): Likewise.
6768 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6769 [!_STACK_GROWS_DOWN]: Likewise.
6771 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6773 * config.make.in (have-bash2): Delete.
6774 * configure.ac (libc_cv_have_bash2): Delete.
6775 * configure: Regenerate.
6776 * elf/Makefile (common-ldd-rewrite): Rename to ...
6777 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6778 (sh-ldd-rewrite): Delete.
6779 (bash-ldd-rewrite): Delete.
6780 (have-bash2): Delete checks.
6781 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6784 * config.make.in (have-ksh): Delete.
6786 * configure.ac (libc_cv_have_ksh): Delete.
6787 * configure: Regenerate.
6789 * elf/Makefile: Delete $(have-ksh) check.
6790 ($(objpfx)sotruss): Change KSH to BASH.
6791 * elf/sotruss.ksh: Rename to ...
6792 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6793 function style to match POSIX. Drop ksh vim mode setting.
6795 * manual/time.texi (Specifying the Time Zone with TZ): Change
6796 Tuesday to Thursday.
6798 * debug/tst-longjmp_chk2.c: Update header comment.
6799 (stackoverflow_handler): Add comment. Call assert on pass value.
6801 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6803 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6804 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6805 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6806 (La_x86_64_vector): Add zmm.
6807 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6808 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6809 ($(objpfx)tst-audit10): New target.
6810 ($(objpfx)tst-audit10.out): Likewise.
6811 (tst-audit10-ENV): New.
6812 (AVX512-CFLAGS): Likewise.
6813 (CFLAGS-tst-audit10.c): Likewise.
6814 (CFLAGS-tst-auditmod10a.c): Likewise.
6815 (CFLAGS-tst-auditmod10b.c): Likewise.
6816 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6817 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6818 * sysdeps/x86_64/configure: Regenerated.
6819 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6820 AVX-512 zmm register support.
6821 (_dl_x86_64_save_sse): Likewise.
6822 (_dl_x86_64_restore_sse): Likewise.
6823 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6824 size vector registers.
6825 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6826 (ZMM_SIZE): Likewise.
6827 * sysdeps/x86_64/tst-audit10.c: New file.
6828 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6829 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6831 2014-03-13 Roland McGrath <roland@hack.frob.com>
6833 * configure.ac (HAVE_EHDR_START): New check.
6834 * configure: Regenerated.
6835 * config.h.in (HAVE_EHDR_START): New #undef.
6836 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6837 assuming the lowest-addressed segment maps the start of the file.
6839 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6841 * INSTALL: Regenerated.
6843 2014-03-13 Will Newton <will.newton@linaro.org>
6845 * manual/setjmp.texi (System V contexts): Improve
6846 clarity and grammar of documentation.
6848 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6851 * elf/Makefile (tests): Add tst-pie2.
6852 (tests-pie): Add tst-pie2.
6853 * elf/tst-pie2.c: New file.
6854 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6856 * elf/rtld.c (map_doit): Load executable as lt_executable.
6857 (dl_main): Likewise.
6859 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6862 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6863 (__ASSUME_PSELECT): Undefine.
6865 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6868 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6869 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6871 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6872 selector for static builds.
6874 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6877 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6880 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6882 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6883 IFUNC selector for static builds.
6885 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6887 * sysdeps/mips/math_private.h [__mips_hard_float]
6888 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6889 libc_feresetround_mips_ctx.
6890 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6891 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6892 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6895 * math/s_nextafter.c (__nextafter): Do not return value from
6896 overflowing computation.
6897 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6898 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6899 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6903 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6904 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6906 2014-03-11 Roland McGrath <roland@hack.frob.com>
6908 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6909 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6910 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6911 the new mov targetting sp.
6913 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6916 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6917 Define it for static builds as well.
6918 (NO_BZERO_IMPL): Likewise.
6920 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6922 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6923 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6924 multiarch strspn for PPC64.
6925 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6926 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6928 (__libc_ifunc_impl_list): Likewise.
6929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6930 multiarch optimizations
6931 * string/strspn.c (strspn): Using macro to redefine symbol name.
6933 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6934 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6936 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6937 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6938 multiarch strncat for PPC64.
6939 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6940 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6942 (__libc_ifunc_impl_list): Likewise.
6943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6944 multiarch optimizations
6946 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6949 * nscd/nscd.service: Make service type forking.
6951 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6953 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6954 sign in non default rounding modes.
6955 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6957 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6959 * math/libm-test.inc (ALL_RM_TEST): New macro.
6960 (ceil_test): Use ALL_RM_TEST.
6961 (cimag_test): Likewise.
6962 (conj_test): Likewise.
6963 (copysign_test): Likewise.
6964 (cproj_test): Likewise.
6965 (creal_test): Likewise.
6966 (fabs_test): Likewise.
6967 (floor_test): Likewise.
6968 (fmax_test): Likewise.
6969 (fmin_test): Likewise.
6970 (fmod_test): Likewise.
6971 (fpclassify_test): Likewise.
6972 (frexp_test): Likewise.
6973 (ilogb_test): Likewise.
6974 (isfinite_test): Likewise.
6975 (finite_test): Likewise.
6976 (isgreater_test): Likewise.
6977 (isgreaterequal_test): Likewise.
6978 (isinf_test): Likewise.
6979 (isless_test): Likewise.
6980 (islessequal_test): Likewise.
6981 (islessgreater_test): Likewise.
6982 (isnan_test): Likewise.
6983 (isnormal_test): Likewise.
6984 (issignaling_test): Likewise.
6985 (isunordered_test): Likewise.
6986 (logb_test): Likewise.
6987 (logb_downward_test_data): Remove.
6988 (logb_test_downward): Likewise.
6989 (lround_test): Use ALL_RM_TEST.
6990 (llround_test): Likewise.
6991 (modf_test): Likewise.
6992 (nexttoward_test): Likewise.
6993 (remainder_test): Likewise.
6994 (drem_test): Likewise.
6995 (remainder_tonearest_test_data): Likewise.
6996 (remainder_test_tonearest): Likewise.
6997 (drem_test_tonearest): Likewise.
6998 (remainder_towardzero_test_data): Likewise.
6999 (remainder_test_towardzero): Likewise.
7000 (drem_test_towardzero): Likewise.
7001 (remainder_downward_test_data): Likewise.
7002 (remainder_test_downward): Likewise.
7003 (drem_test_downward): Likewise.
7004 (remainder_upward_test_data): Likewise.
7005 (remainder_test_upward): Likewise.
7006 (drem_test_upward): Likewise.
7007 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7008 (round_test): Use ALL_RM_TEST.
7009 (signbit_test): Likewise.
7010 (trunc_test): Likewise.
7011 (significand_test): Likewise.
7012 (main): Don't call removed functions.
7014 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7017 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7019 (ILL_ILLOPN): Likewise.
7020 (ILL_ILLADR): Likewise.
7021 (ILL_ILLTRP): Likewise.
7022 (ILL_PRVOPC): Likewise.
7023 (ILL_PRVREG): Likewise.
7024 (ILL_COPROC): Likewise.
7025 (ILL_BADSTK): Likewise.
7026 (FPE_INTDIV): Likewise.
7027 (FPE_INTOVF): Likewise.
7028 (FPE_FLTDIV): Likewise.
7029 (FPE_FLTOVF): Likewise.
7030 (FPE_FLTUND): Likewise.
7031 (FPE_FLTRES): Likewise.
7032 (FPE_FLTINV): Likewise.
7033 (FPE_FLTSUB): Likewise.
7034 (SEGV_MAPERR): Likewise.
7035 (SEGV_ACCERR): Likewise.
7036 (BUS_ADRALN): Likewise.
7037 (BUS_ADRERR): Likewise.
7038 (BUS_OBJERR): Likewise.
7039 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7040 (TRAP_TRACE): Likewise.
7041 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7043 (CLD_KILLED): Likewise.
7044 (CLD_DUMPED): Likewise.
7045 (CLD_TRAPPED): Likewise.
7046 (CLD_STOPPED): Likewise.
7047 (CLD_CONTINUED): Likewise.
7048 (POLL_IN): Likewise.
7049 (POLL_OUT): Likewise.
7050 (POLL_MSG): Likewise.
7051 (POLL_ERR): Likewise.
7052 (POLL_PRI): Likewise.
7053 (POLL_HUP): Likewise.
7054 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7056 (ILL_ILLOPN): Likewise.
7057 (ILL_ILLADR): Likewise.
7058 (ILL_ILLTRP): Likewise.
7059 (ILL_PRVOPC): Likewise.
7060 (ILL_PRVREG): Likewise.
7061 (ILL_COPROC): Likewise.
7062 (ILL_BADSTK): Likewise.
7063 (FPE_INTDIV): Likewise.
7064 (FPE_INTOVF): Likewise.
7065 (FPE_FLTDIV): Likewise.
7066 (FPE_FLTOVF): Likewise.
7067 (FPE_FLTUND): Likewise.
7068 (FPE_FLTRES): Likewise.
7069 (FPE_FLTINV): Likewise.
7070 (FPE_FLTSUB): Likewise.
7071 (SEGV_MAPERR): Likewise.
7072 (SEGV_ACCERR): Likewise.
7073 (BUS_ADRALN): Likewise.
7074 (BUS_ADRERR): Likewise.
7075 (BUS_OBJERR): Likewise.
7076 (BUS_MCEERR_AR): Likewise.
7077 (BUS_MCEERR_AO): Likewise.
7078 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7079 (TRAP_TRACE): Likewise.
7080 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7082 (CLD_KILLED): Likewise.
7083 (CLD_DUMPED): Likewise.
7084 (CLD_TRAPPED): Likewise.
7085 (CLD_STOPPED): Likewise.
7086 (CLD_CONTINUED): Likewise.
7087 (POLL_IN): Likewise.
7088 (POLL_OUT): Likewise.
7089 (POLL_MSG): Likewise.
7090 (POLL_ERR): Likewise.
7091 (POLL_PRI): Likewise.
7092 (POLL_HUP): Likewise.
7093 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7094 (ILL_ILLOPN): Likewise.
7095 (ILL_ILLADR): Likewise.
7096 (ILL_ILLTRP): Likewise.
7097 (ILL_PRVOPC): Likewise.
7098 (ILL_PRVREG): Likewise.
7099 (ILL_COPROC): Likewise.
7100 (ILL_BADSTK): Likewise.
7101 (FPE_INTDIV): Likewise.
7102 (FPE_INTOVF): Likewise.
7103 (FPE_FLTDIV): Likewise.
7104 (FPE_FLTOVF): Likewise.
7105 (FPE_FLTUND): Likewise.
7106 (FPE_FLTRES): Likewise.
7107 (FPE_FLTINV): Likewise.
7108 (FPE_FLTSUB): Likewise.
7109 (SEGV_MAPERR): Likewise.
7110 (SEGV_ACCERR): Likewise.
7111 (BUS_ADRALN): Likewise.
7112 (BUS_ADRERR): Likewise.
7113 (BUS_OBJERR): Likewise.
7114 (BUS_MCEERR_AR): Likewise.
7115 (BUS_MCEERR_AO): Likewise.
7116 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7117 (TRAP_TRACE): Likewise.
7118 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7120 (CLD_KILLED): Likewise.
7121 (CLD_DUMPED): Likewise.
7122 (CLD_TRAPPED): Likewise.
7123 (CLD_STOPPED): Likewise.
7124 (CLD_CONTINUED): Likewise.
7125 (POLL_IN): Likewise.
7126 (POLL_OUT): Likewise.
7127 (POLL_MSG): Likewise.
7128 (POLL_ERR): Likewise.
7129 (POLL_PRI): Likewise.
7130 (POLL_HUP): Likewise.
7131 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7133 (ILL_ILLOPN): Likewise.
7134 (ILL_ILLADR): Likewise.
7135 (ILL_ILLTRP): Likewise.
7136 (ILL_PRVOPC): Likewise.
7137 (ILL_PRVREG): Likewise.
7138 (ILL_COPROC): Likewise.
7139 (ILL_BADSTK): Likewise.
7140 (ILL_BADIADDR): Likewise.
7141 (ILL_BREAK): Likewise.
7142 (FPE_INTDIV): Likewise.
7143 (FPE_INTOVF): Likewise.
7144 (FPE_FLTDIV): Likewise.
7145 (FPE_FLTOVF): Likewise.
7146 (FPE_FLTUND): Likewise.
7147 (FPE_FLTRES): Likewise.
7148 (FPE_FLTINV): Likewise.
7149 (FPE_FLTSUB): Likewise.
7150 (FPE_DECOVF): Likewise.
7151 (FPE_DECDIV): Likewise.
7152 (FPE_DECERR): Likewise.
7153 (FPE_INVASC): Likewise.
7154 (FPE_INVDEC): Likewise.
7155 (SEGV_MAPERR): Likewise.
7156 (SEGV_ACCERR): Likewise.
7157 (SEGV_PSTKOVF): Likewise.
7158 (BUS_ADRALN): Likewise.
7159 (BUS_ADRERR): Likewise.
7160 (BUS_OBJERR): Likewise.
7161 (BUS_MCEERR_AR): Likewise.
7162 (BUS_MCEERR_AO): Likewise.
7163 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7164 (TRAP_TRACE): Likewise.
7165 (TRAP_BRANCH): Likewise.
7166 (TRAP_HWBKPT): Likewise.
7167 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7169 (CLD_KILLED): Likewise.
7170 (CLD_DUMPED): Likewise.
7171 (CLD_TRAPPED): Likewise.
7172 (CLD_STOPPED): Likewise.
7173 (CLD_CONTINUED): Likewise.
7174 (POLL_IN): Likewise.
7175 (POLL_OUT): Likewise.
7176 (POLL_MSG): Likewise.
7177 (POLL_ERR): Likewise.
7178 (POLL_PRI): Likewise.
7179 (POLL_HUP): Likewise.
7180 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7181 (ILL_ILLOPN): Likewise.
7182 (ILL_ILLADR): Likewise.
7183 (ILL_ILLTRP): Likewise.
7184 (ILL_PRVOPC): Likewise.
7185 (ILL_PRVREG): Likewise.
7186 (ILL_COPROC): Likewise.
7187 (ILL_BADSTK): Likewise.
7188 (FPE_INTDIV): Likewise.
7189 (FPE_INTOVF): Likewise.
7190 (FPE_FLTDIV): Likewise.
7191 (FPE_FLTOVF): Likewise.
7192 (FPE_FLTUND): Likewise.
7193 (FPE_FLTRES): Likewise.
7194 (FPE_FLTINV): Likewise.
7195 (FPE_FLTSUB): Likewise.
7196 (SEGV_MAPERR): Likewise.
7197 (SEGV_ACCERR): Likewise.
7198 (BUS_ADRALN): Likewise.
7199 (BUS_ADRERR): Likewise.
7200 (BUS_OBJERR): Likewise.
7201 (BUS_MCEERR_AR): Likewise.
7202 (BUS_MCEERR_AO): Likewise.
7203 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7204 (TRAP_TRACE): Likewise.
7205 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7207 (CLD_KILLED): Likewise.
7208 (CLD_DUMPED): Likewise.
7209 (CLD_TRAPPED): Likewise.
7210 (CLD_STOPPED): Likewise.
7211 (CLD_CONTINUED): Likewise.
7212 (POLL_IN): Likewise.
7213 (POLL_OUT): Likewise.
7214 (POLL_MSG): Likewise.
7215 (POLL_ERR): Likewise.
7216 (POLL_PRI): Likewise.
7217 (POLL_HUP): Likewise.
7218 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7219 (ILL_ILLOPN): Likewise.
7220 (ILL_ILLADR): Likewise.
7221 (ILL_ILLTRP): Likewise.
7222 (ILL_PRVOPC): Likewise.
7223 (ILL_PRVREG): Likewise.
7224 (ILL_COPROC): Likewise.
7225 (ILL_BADSTK): Likewise.
7226 (FPE_INTDIV): Likewise.
7227 (FPE_INTOVF): Likewise.
7228 (FPE_FLTDIV): Likewise.
7229 (FPE_FLTOVF): Likewise.
7230 (FPE_FLTUND): Likewise.
7231 (FPE_FLTRES): Likewise.
7232 (FPE_FLTINV): Likewise.
7233 (FPE_FLTSUB): Likewise.
7234 (SEGV_MAPERR): Likewise.
7235 (SEGV_ACCERR): Likewise.
7236 (BUS_ADRALN): Likewise.
7237 (BUS_ADRERR): Likewise.
7238 (BUS_OBJERR): Likewise.
7239 (BUS_MCEERR_AR): Likewise.
7240 (BUS_MCEERR_AO): Likewise.
7241 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7242 (TRAP_TRACE): Likewise.
7243 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7245 (CLD_KILLED): Likewise.
7246 (CLD_DUMPED): Likewise.
7247 (CLD_TRAPPED): Likewise.
7248 (CLD_STOPPED): Likewise.
7249 (CLD_CONTINUED): Likewise.
7250 (POLL_IN): Likewise.
7251 (POLL_OUT): Likewise.
7252 (POLL_MSG): Likewise.
7253 (POLL_ERR): Likewise.
7254 (POLL_PRI): Likewise.
7255 (POLL_HUP): Likewise.
7256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7257 (ILL_ILLOPN): Likewise.
7258 (ILL_ILLADR): Likewise.
7259 (ILL_ILLTRP): Likewise.
7260 (ILL_PRVOPC): Likewise.
7261 (ILL_PRVREG): Likewise.
7262 (ILL_COPROC): Likewise.
7263 (ILL_BADSTK): Likewise.
7264 (FPE_INTDIV): Likewise.
7265 (FPE_INTOVF): Likewise.
7266 (FPE_FLTDIV): Likewise.
7267 (FPE_FLTOVF): Likewise.
7268 (FPE_FLTUND): Likewise.
7269 (FPE_FLTRES): Likewise.
7270 (FPE_FLTINV): Likewise.
7271 (FPE_FLTSUB): Likewise.
7272 (SEGV_MAPERR): Likewise.
7273 (SEGV_ACCERR): Likewise.
7274 (BUS_ADRALN): Likewise.
7275 (BUS_ADRERR): Likewise.
7276 (BUS_OBJERR): Likewise.
7277 (BUS_MCEERR_AR): Likewise.
7278 (BUS_MCEERR_AO): Likewise.
7279 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7280 (TRAP_TRACE): Likewise.
7281 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7283 (CLD_KILLED): Likewise.
7284 (CLD_DUMPED): Likewise.
7285 (CLD_TRAPPED): Likewise.
7286 (CLD_STOPPED): Likewise.
7287 (CLD_CONTINUED): Likewise.
7288 (POLL_IN): Likewise.
7289 (POLL_OUT): Likewise.
7290 (POLL_MSG): Likewise.
7291 (POLL_ERR): Likewise.
7292 (POLL_PRI): Likewise.
7293 (POLL_HUP): Likewise.
7294 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7295 (ILL_ILLOPN): Likewise.
7296 (ILL_ILLADR): Likewise.
7297 (ILL_ILLTRP): Likewise.
7298 (ILL_PRVOPC): Likewise.
7299 (ILL_PRVREG): Likewise.
7300 (ILL_COPROC): Likewise.
7301 (ILL_BADSTK): Likewise.
7302 (ILL_DBLFLT): Likewise.
7303 (ILL_HARDWALL): Likewise.
7304 (FPE_INTDIV): Likewise.
7305 (FPE_INTOVF): Likewise.
7306 (FPE_FLTDIV): Likewise.
7307 (FPE_FLTOVF): Likewise.
7308 (FPE_FLTUND): Likewise.
7309 (FPE_FLTRES): Likewise.
7310 (FPE_FLTINV): Likewise.
7311 (FPE_FLTSUB): Likewise.
7312 (SEGV_MAPERR): Likewise.
7313 (SEGV_ACCERR): Likewise.
7314 (BUS_ADRALN): Likewise.
7315 (BUS_ADRERR): Likewise.
7316 (BUS_OBJERR): Likewise.
7317 (BUS_MCEERR_AR): Likewise.
7318 (BUS_MCEERR_AO): Likewise.
7319 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7320 (TRAP_TRACE): Likewise.
7321 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7323 (CLD_KILLED): Likewise.
7324 (CLD_DUMPED): Likewise.
7325 (CLD_TRAPPED): Likewise.
7326 (CLD_STOPPED): Likewise.
7327 (CLD_CONTINUED): Likewise.
7328 (POLL_IN): Likewise.
7329 (POLL_OUT): Likewise.
7330 (POLL_MSG): Likewise.
7331 (POLL_ERR): Likewise.
7332 (POLL_PRI): Likewise.
7333 (POLL_HUP): Likewise.
7334 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7335 (ILL_ILLOPN): Likewise.
7336 (ILL_ILLADR): Likewise.
7337 (ILL_ILLTRP): Likewise.
7338 (ILL_PRVOPC): Likewise.
7339 (ILL_PRVREG): Likewise.
7340 (ILL_COPROC): Likewise.
7341 (ILL_BADSTK): Likewise.
7342 (FPE_INTDIV): Likewise.
7343 (FPE_INTOVF): Likewise.
7344 (FPE_FLTDIV): Likewise.
7345 (FPE_FLTOVF): Likewise.
7346 (FPE_FLTUND): Likewise.
7347 (FPE_FLTRES): Likewise.
7348 (FPE_FLTINV): Likewise.
7349 (FPE_FLTSUB): Likewise.
7350 (SEGV_MAPERR): Likewise.
7351 (SEGV_ACCERR): Likewise.
7352 (BUS_ADRALN): Likewise.
7353 (BUS_ADRERR): Likewise.
7354 (BUS_OBJERR): Likewise.
7355 (BUS_MCEERR_AR): Likewise.
7356 (BUS_MCEERR_AO): Likewise.
7357 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7358 (TRAP_TRACE): Likewise.
7359 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7361 (CLD_KILLED): Likewise.
7362 (CLD_DUMPED): Likewise.
7363 (CLD_TRAPPED): Likewise.
7364 (CLD_STOPPED): Likewise.
7365 (CLD_CONTINUED): Likewise.
7366 (POLL_IN): Likewise.
7367 (POLL_OUT): Likewise.
7368 (POLL_MSG): Likewise.
7369 (POLL_ERR): Likewise.
7370 (POLL_PRI): Likewise.
7371 (POLL_HUP): Likewise.
7372 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7373 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7376 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7377 before #include of <time.h>.
7378 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7379 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7380 (test-xfail-UNIX98/sched.h/conform): Likewise.
7382 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7384 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7385 error absence of trapping exception support.
7386 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7388 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7390 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7391 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7392 * timezone/Makefile (testdata): Move definition above include of
7394 (test-zones): New variable.
7395 (tests-special): Add zone files.
7396 (build-testdata): Use $(evaluate-test).
7398 * elf/Makefile (tests-special): Rename tests to end with .out.
7399 ($(objpfx)noload-mem): Likewise.
7400 ($(objpfx)tst-leaks1-mem): Likewise.
7401 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7402 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7403 $(objpfx)test-iconvconfig.out.
7404 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7405 set -e inside subshell and redirect output to file.
7406 * iconvdata/Makefile (generated): Rename tests to end with .out.
7408 (tests-special): Rename tests to end with .out.
7409 ($(objpfx)mtrace-tst-loading): Likewise.
7410 * intl/Makefile (generated): Likewise.
7411 (tests-special): Likewise.
7412 ($(objpfx)mtrace-tst-gettext): Likewise.
7413 * misc/Makefile (generated): Likewise.
7414 (tests-special): Likewise.
7415 ($(objpfx)tst-error1-mem): Likewise.
7416 * nptl/Makefile (tests-special): Likewise.
7417 ($(objpfx)tst-stack3-mem): Likewise.
7418 (generated): Likewise.
7419 * posix/Makefile (generated): Likewise.
7420 (tests-special): Likewise.
7421 (xtests-special): Likewise.
7422 ($(objpfx)tst-fnmatch-mem): Likewise.
7423 ($(objpfx)bug-regex2-mem): Likewise.
7424 ($(objpfx)bug-regex14-mem): Likewise.
7425 ($(objpfx)bug-regex21-mem): Likewise.
7426 ($(objpfx)bug-regex31-mem): Likewise.
7427 ($(objpfx)tst-vfork3-mem): Likewise.
7428 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7429 ($(objpfx)tst-pcre-mem): Likewise.
7430 ($(objpfx)tst-boost-mem): Likewise.
7431 ($(objpfx)bug-ga2-mem): Likewise.
7432 ($(objpfx)bug-glob2-mem): Likewise.
7433 * resolv/Makefile (generate): Likewise.
7434 (tests-special): Likewise.
7435 (xtests-special): Likewise.
7436 (generated): Likewise.
7437 ($(objpfx)mtrace-tst-leaks): Likewise.
7438 ($(objpfx)mtrace-tst-leaks2): Likewise.
7440 * scripts/merge-test-results.sh: New file.
7441 * Makefile (tests-special-notdir): New variable.
7442 (tests): Run merge-test-results.sh.
7444 * Rules (tests-special-notdir): New variable.
7445 (xtests-special-notdir): Likewise.
7446 (tests): Run merge-test-results.sh
7449 * Makeconfig (test-xfail-name): New variable.
7450 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7451 compute variable name for expected failures.
7452 * conform/Makefile (conformtest-headers-data): New variable.
7453 (conformtest-standards): Likewise.
7454 (conformtest-headers-ISO): Likewise.
7455 (conformtest-headers-ISO99): Likewise.
7456 (conformtest-headers-ISO11): Likewise.
7457 (conformtest-headers-POSIX): Likewise.
7458 (conformtest-headers-XPG3): Likewise.
7459 (conformtest-headers-XPG4): Likewise.
7460 (conformtest-headers-UNIX98): Likewise.
7461 (conformtest-headers-XOPEN2K): Likewise.
7462 (conformtest-headers-POSIX2008): Likewise.
7463 (conformtest-headers-XOPEN2K8): Likewise.
7464 (conformtest-header-list-base): Likewise.
7465 (conformtest-header-list-tests): Likewise.
7466 (conformtest-header-base): Likewise.
7467 (conformtest-header-tests): Likewise.
7468 (tests-special): Add $(conformtest-header-list-tests). If
7469 [$(fast-check) && !$(cross-compiling)], add
7470 $(conformtest-header-tests) instead of
7471 $(objpfx)run-conformtest.out.
7472 (generated): Add $(conformtest-header-list-base). If
7473 [$(fast-check) && !$(cross-compiling)], add
7474 $(conformtest-header-base). Remove previous setting.
7475 ($(conformtest-header-list-tests)): New target.
7476 (test-xfail-run-conformtest): Remove variable.
7477 ($(objpfx)run-conformtest.out): Remove target.
7478 (test-xfail-ISO11/complex.h/conform): New variable.
7479 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7480 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7481 (test-xfail-XPG3/varargs.h/conform): Likewise.
7482 (test-xfail-XPG4/varargs.h/conform): Likewise.
7483 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7484 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7485 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7486 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7487 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7488 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7489 (test-xfail-XPG3/ftw.h/conform): Likewise.
7490 (test-xfail-XPG3/grp.h/conform): Likewise.
7491 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7492 (test-xfail-XPG3/limits.h/conform): Likewise.
7493 (test-xfail-XPG3/pwd.h/conform): Likewise.
7494 (test-xfail-XPG3/search.h/conform): Likewise.
7495 (test-xfail-XPG3/signal.h/conform): Likewise.
7496 (test-xfail-XPG3/stdio.h/conform): Likewise.
7497 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7498 (test-xfail-XPG3/string.h/conform): Likewise.
7499 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7500 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7501 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7502 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7503 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7504 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7505 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7506 (test-xfail-XPG3/termios.h/conform): Likewise.
7507 (test-xfail-XPG3/time.h/conform): Likewise.
7508 (test-xfail-XPG3/unistd.h/conform): Likewise.
7509 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7510 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7511 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7512 (test-xfail-XPG4/netdb.h/conform): Likewise.
7513 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7514 (test-xfail-XPG4/signal.h/conform): Likewise.
7515 (test-xfail-XPG4/stdio.h/conform): Likewise.
7516 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7517 (test-xfail-XPG4/stropts.h/conform): Likewise.
7518 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7519 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7520 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7521 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7522 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7523 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7524 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7525 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7526 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7527 (test-xfail-XPG4/termios.h/conform): Likewise.
7528 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7529 (test-xfail-XPG4/unistd.h/conform): Likewise.
7530 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7531 (test-xfail-POSIX/sched.h/conform): Likewise.
7532 (test-xfail-POSIX/signal.h/conform): Likewise.
7533 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7534 (test-xfail-POSIX/tar.h/conform): Likewise.
7535 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7536 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7537 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7538 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7539 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7540 (test-xfail-UNIX98/sched.h/conform): Likewise.
7541 (test-xfail-UNIX98/signal.h/conform): Likewise.
7542 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7543 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7544 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7545 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7546 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7547 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7548 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7549 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7550 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7551 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7552 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7553 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7554 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7555 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7556 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7557 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7558 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7559 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7560 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7561 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7562 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7563 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7564 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7565 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7566 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7567 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7568 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7569 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7570 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7571 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7572 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7573 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7574 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7575 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7576 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7577 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7578 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7579 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7580 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7581 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7582 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7583 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7584 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7585 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7586 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7587 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7588 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7589 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7590 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7591 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7592 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7593 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7594 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7595 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7596 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7597 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7598 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7599 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7600 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7601 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7602 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7603 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7604 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7605 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7606 (conformtest-cc-flags): Likewise.
7607 ($(conformtest-header-tests): New target.
7608 * conform/check-header-lists.sh: New file.
7609 * conform/run-conformtest.sh: Remove.
7611 * conform/conformtest.pl: Allow ' and \ in values given for
7613 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7615 [POSIX] (sys/types.h): Likewise.
7616 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7618 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7620 * conform/data/signal.h-data (SIGIO): Remove expectation.
7621 [XPG3] (SIGBUS): Do not expect.
7622 [POSIX || XPG3] (SIGPOLL): Likewise.
7623 [POSIX || XPG3] (SIGPROF): Likewise.
7624 [POSIX || XPG3] (SIGSYS): Likewise.
7625 [XPG3] (SIGTRAP): Likewise.
7626 [POSIX || XPG3] (SIGURG): Likewise.
7627 [POSIX || XPG3] (SIGVTALRM): Likewise.
7628 [POSIX || XPG3] (SIGXCPU): Likewise.
7629 [POSIX || XPG3] (SIGXFSZ): Likewise.
7630 [POSIX] (SA_SIGINFO): Expect.
7631 [XPG3] (siginfo_t): Do not expect type or contents.
7632 [POSIX] (si_pid): Do not expect element.
7633 [POSIX] (si_uid): Likewise.
7634 [POSIX] (si_addr): Likewise.
7635 [POSIX] (si_status): Likewise.
7636 [POSIX] (si_band): Likewise.
7637 [XPG4] (si_value): Likewise.
7638 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7639 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7640 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7641 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7642 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7643 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7644 [POSIX || XPG3] (ILL_COPROC): Likewise.
7645 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7646 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7647 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7648 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7649 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7650 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7651 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7652 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7653 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7654 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7655 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7656 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7657 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7658 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7659 [POSIX || XPG3] (CLD_EXITED): Likewise.
7660 [POSIX || XPG3] (CLD_KILLED): Likewise.
7661 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7662 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7663 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7664 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7665 [POSIX || XPG3] (POLL_IN): Likewise.
7666 [POSIX || XPG3] (POLL_OUT): Likewise.
7667 [POSIX || XPG3] (POLL_MSG): Likewise.
7668 [POSIX || XPG3] (POLL_ERR): Likewise.
7669 [POSIX || XPG3] (POLL_PRI): Likewise.
7670 [POSIX || XPG3] (POLL_HUP): Likewise.
7671 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7672 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7673 (SIG*): Do not allow.
7674 [XPG3] (si_*): Likewise.
7675 [XPG3] (SI_*): Likewise.
7676 [XPG3 || XPG4] (sigev_*): Likewise.
7677 [XPG3 || XPG4] (SIGEV_*): Likewise.
7678 [XPG3 || XPG4] (sival_*): Likewise.
7679 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7680 [POSIX || XPG3] (BUS_*): Likewise.
7681 [POSIX || XPG3] (CLD_*): Likewise.
7682 [POSIX || XPG3] (FPE_*): Likewise.
7683 [POSIX || XPG3] (ILL_*): Likewise.
7684 [POSIX || XPG3] (POLL_*): Likewise.
7685 [POSIX || XPG3] (SEGV_*): Likewise.
7686 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7687 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7688 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7689 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7690 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7691 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7692 Specify type and value.
7693 (TVERSLEN): Likewise.
7694 (REGTYPE): Likewise.
7695 (AREGTYPE): Likewise.
7696 (LNKTYPE): Likewise.
7697 (SYMTYPE): Likewise.
7698 (CHRTYPE): Likewise.
7699 (BLKTYPE): Likewise.
7700 (DIRTYPE): Likewise.
7701 (FIFOTYPE): Likewise.
7702 (CONTTYPE): Likewise.
7707 (TUWRITE): Likewise.
7710 (TGWRITE): Likewise.
7713 (TOWRITE): Likewise.
7715 [POSIX] (TSVTX): Expect constant.
7717 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7719 * Makefile (tests): Change dependencies to ....
7720 (tests-special): ... additions to this variable.
7721 (tests): Depend on $(tests-special).
7722 * Makerules (check-abi-list): New variable.
7723 (check-abi): Depend on $(check-abi-list).
7724 [$(subdir) = elf] (tests-special): Add
7725 $(objpfx)check-abi-libc.out.
7726 [$(build-shared) = yes && subdir] (tests-special): Add
7728 [$(build-shared) = yes && subdir] (tests): Do not depend on
7730 * Rules (tests): Depend on $(tests-special).
7731 (xtests): Depend on $(xtests-special).
7732 * catgets/Makefile (tests): Change dependencies to ....
7733 (tests-special): ... additions to this variable.
7734 * conform/Makefile (tests): Change dependencies to ....
7735 (tests-special): ... additions to this variable.
7736 * elf/Makefile (tests): Change dependencies to ....
7737 (tests-special): ... additions to this variable.
7738 * grp/Makefile (tests): Change dependencies to ....
7739 (tests-special): ... additions to this variable.
7740 * iconv/Makefile (xtests): Change dependencies to ....
7741 (xtests-special): ... additions to this variable.
7742 * iconvdata/Makefile (tests): Change dependencies to ....
7743 (tests-special): ... additions to this variable.
7744 * intl/Makefile (tests): Change dependencies to ....
7745 (tests-special): ... additions to this variable. Also add
7746 $(objpfx)tst-gettext.out.
7747 * io/Makefile (tests): Change dependencies to ....
7748 (tests-special): ... additions to this variable.
7749 * libio/Makefile (tests): Change dependencies to ....
7750 (tests-special): ... additions to this variable.
7751 * malloc/Makefile (tests): Change dependencies to ....
7752 (tests-special): ... additions to this variable.
7753 * misc/Makefile (tests): Change dependencies to ....
7754 (tests-special): ... additions to this variable.
7755 * nptl/Makefile (tests): Change dependencies to ....
7756 (tests-special): ... additions to this variable.
7757 * nptl_db/Makefile (tests): Change dependencies to ....
7758 (tests-special): ... additions to this variable.
7759 * posix/Makefile (tests): Change dependencies to ....
7760 (tests-special): ... additions to this variable.
7761 (xtests): Change dependencies to ....
7762 (xtests-special): ... additions to this variable.
7763 * resolv/Makefile (tests): Change dependencies to ....
7764 (tests-special): ... additions to this variable.
7765 (xtests): Change dependencies to ....
7766 (xtests-special): ... additions to this variable.
7767 * stdio-common/Makefile (tests): Change dependencies to ....
7768 (tests-special): ... additions to this variable.
7769 (do-tst-unbputc): Remove target.
7770 (do-tst-printf): Likewise.
7771 * stdlib/Makefile (tests): Change dependencies to ....
7772 (tests-special): ... additions to this variable.
7773 * string/Makefile (tests): Change dependencies to ....
7774 (tests-special): ... additions to this variable.
7775 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7776 (tests-special): ... additions to this variable.
7778 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7780 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7782 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7783 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7785 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7786 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7787 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7788 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7789 * conform/data/libgen.h-data [XPG3]: Likewise.
7790 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7791 * conform/data/ndbm.h-data [XPG3]: Likewise.
7792 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7793 * conform/data/netdb.h-data [XPG3]: Likewise.
7794 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7795 * conform/data/poll.h-data [XPG3]: Likewise.
7796 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7797 * conform/data/strings.h-data [XPG3]: Likewise.
7798 * conform/data/stropts.h-data [XPG3]: Likewise.
7799 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7800 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7801 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7803 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7804 * conform/data/sys/time.h-data [XPG3]: Likewise.
7805 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7806 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7807 * conform/data/sys/un.h-data [XPG3]: Likewise.
7808 * conform/data/syslog.h-data [XPG3]: Likewise.
7809 * conform/data/ucontext.h-data [XPG3]: Likewise.
7810 * conform/data/utmpx.h-data [XPG3]: Likewise.
7811 * conform/data/varargs.h-data [UNIX98]: Enable file.
7813 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7815 * math/libm-test.inc (struct test_f_f_data): Move expected results
7816 into structure for each rounding mode.
7817 (struct test_ff_f_data): Likewise.
7818 (struct test_ff_f_data_nexttoward): Likewise.
7819 (struct test_fi_f_data): Likewise.
7820 (struct test_fl_f_data): Likewise.
7821 (struct test_if_f_data): Likewise.
7822 (struct test_fff_f_data): Likewise.
7823 (struct test_c_f_data): Likewise.
7824 (struct test_f_f1_data): Likewise.
7825 (struct test_fF_f1_data): Likewise.
7826 (struct test_ffI_f1_data): Likewise.
7827 (struct test_c_c_data): Likewise.
7828 (struct test_cc_c_data): Likewise.
7829 (struct test_f_i_data): Likewise.
7830 (struct test_ff_i_data): Likewise.
7831 (struct test_f_l_data): Likewise.
7832 (struct test_f_L_data): Likewise.
7833 (struct test_fFF_11_data): Likewise.
7835 (RM_FE_DOWNWARD): Likewise.
7836 (RM_FE_TONEAREST): Likewise.
7837 (RM_FE_TOWARDZERO): Likewise.
7838 (RM_FE_UPWARD): Likewise.
7839 (RUN_TEST_LOOP_f_f): Update references to expected results.
7840 (RUN_TEST_LOOP_2_f): Likewise.
7841 (RUN_TEST_LOOP_fff_f): Likewise.
7842 (RUN_TEST_LOOP_c_f): Likewise.
7843 (RUN_TEST_LOOP_f_f1): Likewise.
7844 (RUN_TEST_LOOP_fF_f1): Likewise.
7845 (RUN_TEST_LOOP_fI_f1): Likewise.
7846 (RUN_TEST_LOOP_ffI_f1): Likewise.
7847 (RUN_TEST_LOOP_c_c): Likewise.
7848 (RUN_TEST_LOOP_cc_c): Likewise.
7849 (RUN_TEST_LOOP_f_i): Likewise.
7850 (RUN_TEST_LOOP_f_i_tg): Likewise.
7851 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7852 (RUN_TEST_LOOP_f_b): Likewise.
7853 (RUN_TEST_LOOP_f_b_tg): Likewise.
7854 (RUN_TEST_LOOP_f_l): Likewise.
7855 (RUN_TEST_LOOP_f_L): Likewise.
7856 (RUN_TEST_LOOP_fFF_11): Likewise.
7857 * math/gen-libm-test.pl (parse_args): Output four copies of
7858 expected results for each test.
7860 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7861 (__ASSUME_UTIMES): Remove.
7862 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7863 (__ASSUME_UTIMES): Likewise.
7865 * math/gen-auto-libm-tests.c: Update comment on output format.
7866 (output_for_one_input_case): Generate before-rounding and
7867 after-rounding information as conditions on output flags not
7868 floating-point format.
7869 * math/auto-libm-test-out: Regenerated.
7870 * math/gen-libm-test.pl (cond_value): New function.
7871 (or_cond_value): Use cond_value.
7872 (generate_testfile): Handle conditional exceptions.
7874 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7876 * math/libm-test.inc (max_valid_error): New variable.
7877 (init_max_error): Take new argument specifying whether function
7878 results are exactly determined. Set max_valid_error and bound
7879 other variables for errors based on this argument.
7880 (set_max_error): Do not record results above max_valid_error.
7881 (check_float_internal): Only accept errors of up to 0.5ulps if
7882 also at most max_valid_error.
7883 (START): Take new argument EXACT and pass it to init_max_error.
7884 (acos_test): Update call to START.
7885 (acos_test_tonearest): Likewise.
7886 (acos_test_towardzero): Likewise.
7887 (acos_test_downward): Likewise.
7888 (acos_test_upward): Likewise.
7889 (acosh_test): Likewise.
7890 (asin_test): Likewise.
7891 (asin_test_tonearest): Likewise.
7892 (asin_test_towardzero): Likewise.
7893 (asin_test_downward): Likewise.
7894 (asin_test_upward): Likewise.
7895 (asinh_test): Likewise.
7896 (atan_test): Likewise.
7897 (atanh_test): Likewise.
7898 (atan2_test): Likewise.
7899 (cabs_test): Likewise.
7900 (cacos_test): Likewise.
7901 (cacosh_test): Likewise.
7902 (carg_test): Likewise.
7903 (casin_test): Likewise.
7904 (casinh_test): Likewise.
7905 (catan_test): Likewise.
7906 (catanh_test): Likewise.
7907 (cbrt_test): Likewise.
7908 (ccos_test): Likewise.
7909 (ccosh_test): Likewise.
7910 (ceil_test): Likewise.
7911 (cexp_test): Likewise.
7912 (cimag_test): Likewise.
7913 (clog_test): Likewise.
7914 (clog10_test): Likewise.
7915 (conj_test): Likewise.
7916 (copysign_test): Likewise.
7917 (cos_test): Likewise.
7918 (cos_test_tonearest): Likewise.
7919 (cos_test_towardzero): Likewise.
7920 (cos_test_downward): Likewise.
7921 (cos_test_upward): Likewise.
7922 (cosh_test): Likewise.
7923 (cosh_test_tonearest): Likewise.
7924 (cosh_test_towardzero): Likewise.
7925 (cosh_test_downward): Likewise.
7926 (cosh_test_upward): Likewise.
7927 (cpow_test): Likewise.
7928 (cproj_test): Likewise.
7929 (creal_test): Likewise.
7930 (csin_test): Likewise.
7931 (csinh_test): Likewise.
7932 (csqrt_test): Likewise.
7933 (ctan_test): Likewise.
7934 (ctan_test_tonearest): Likewise.
7935 (ctan_test_towardzero): Likewise.
7936 (ctan_test_downward): Likewise.
7937 (ctan_test_upward): Likewise.
7938 (ctanh_test): Likewise.
7939 (ctanh_test_tonearest): Likewise.
7940 (ctanh_test_towardzero): Likewise.
7941 (ctanh_test_downward): Likewise.
7942 (ctanh_test_upward): Likewise.
7943 (erf_test): Likewise.
7944 (erfc_test): Likewise.
7945 (exp_test): Likewise.
7946 (exp_test_tonearest): Likewise.
7947 (exp_test_towardzero): Likewise.
7948 (exp_test_downward): Likewise.
7949 (exp_test_upward): Likewise.
7950 (exp10_test): Likewise.
7951 (exp10_test_tonearest): Likewise.
7952 (exp10_test_towardzero): Likewise.
7953 (exp10_test_downward): Likewise.
7954 (exp10_test_upward): Likewise.
7955 (pow10_test): Likewise.
7956 (exp2_test): Likewise.
7957 (expm1_test): Likewise.
7958 (expm1_test_tonearest): Likewise.
7959 (expm1_test_towardzero): Likewise.
7960 (expm1_test_downward): Likewise.
7961 (expm1_test_upward): Likewise.
7962 (fabs_test): Likewise.
7963 (fdim_test): Likewise.
7964 (floor_test): Likewise.
7965 (fma_test): Likewise.
7966 (fma_test_towardzero): Likewise.
7967 (fma_test_downward): Likewise.
7968 (fma_test_upward): Likewise.
7969 (fmax_test): Likewise.
7970 (fmin_test): Likewise.
7971 (fmod_test): Likewise.
7972 (fpclassify_test): Likewise.
7973 (frexp_test): Likewise.
7974 (hypot_test): Likewise.
7975 (ilogb_test): Likewise.
7976 (isfinite_test): Likewise.
7977 (finite_test): Likewise.
7978 (isgreater_test): Likewise.
7979 (isgreaterequal_test): Likewise.
7980 (isinf_test): Likewise.
7981 (isless_test): Likewise.
7982 (islessequal_test): Likewise.
7983 (islessgreater_test): Likewise.
7984 (isnan_test): Likewise.
7985 (isnormal_test): Likewise.
7986 (issignaling_test): Likewise.
7987 (isunordered_test): Likewise.
7988 (j0_test): Likewise.
7989 (j1_test): Likewise.
7990 (jn_test): Likewise.
7991 (ldexp_test): Likewise.
7992 (lgamma_test): Likewise.
7993 (gamma_test): Likewise.
7994 (lrint_test): Likewise.
7995 (lrint_test_tonearest): Likewise.
7996 (lrint_test_towardzero): Likewise.
7997 (lrint_test_downward): Likewise.
7998 (lrint_test_upward): Likewise.
7999 (llrint_test): Likewise.
8000 (llrint_test_tonearest): Likewise.
8001 (llrint_test_towardzero): Likewise.
8002 (llrint_test_downward): Likewise.
8003 (llrint_test_upward): Likewise.
8004 (log_test): Likewise.
8005 (log10_test): Likewise.
8006 (log1p_test): Likewise.
8007 (log2_test): Likewise.
8008 (logb_test): Likewise.
8009 (logb_test_downward): Likewise.
8010 (lround_test): Likewise.
8011 (llround_test): Likewise.
8012 (modf_test): Likewise.
8013 (nearbyint_test): Likewise.
8014 (nextafter_test): Likewise.
8015 (nexttoward_test): Likewise.
8016 (pow_test): Likewise.
8017 (pow_test_tonearest): Likewise.
8018 (pow_test_towardzero): Likewise.
8019 (pow_test_downward): Likewise.
8020 (pow_test_upward): Likewise.
8021 (remainder_test): Likewise.
8022 (drem_test): Likewise.
8023 (remainder_test_tonearest): Likewise.
8024 (drem_test_tonearest): Likewise.
8025 (remainder_test_towardzero): Likewise.
8026 (drem_test_towardzero): Likewise.
8027 (remainder_test_downward): Likewise.
8028 (drem_test_downward): Likewise.
8029 (remainder_test_upward): Likewise.
8030 (drem_test_upward): Likewise.
8031 (remquo_test): Likewise.
8032 (rint_test): Likewise.
8033 (rint_test_tonearest): Likewise.
8034 (rint_test_towardzero): Likewise.
8035 (rint_test_downward): Likewise.
8036 (rint_test_upward): Likewise.
8037 (round_test): Likewise.
8038 (scalb_test): Likewise.
8039 (scalbn_test): Likewise.
8040 (scalbln_test): Likewise.
8041 (signbit_test): Likewise.
8042 (sin_test): Likewise.
8043 (sin_test_tonearest): Likewise.
8044 (sin_test_towardzero): Likewise.
8045 (sin_test_downward): Likewise.
8046 (sin_test_upward): Likewise.
8047 (sincos_test): Likewise.
8048 (sinh_test): Likewise.
8049 (sinh_test_tonearest): Likewise.
8050 (sinh_test_towardzero): Likewise.
8051 (sinh_test_downward): Likewise.
8052 (sinh_test_upward): Likewise.
8053 (sqrt_test): Likewise.
8054 (sqrt_test_tonearest): Likewise.
8055 (sqrt_test_towardzero): Likewise.
8056 (sqrt_test_downward): Likewise.
8057 (sqrt_test_upward): Likewise.
8058 (tan_test): Likewise.
8059 (tan_test_tonearest): Likewise.
8060 (tan_test_towardzero): Likewise.
8061 (tan_test_downward): Likewise.
8062 (tan_test_upward): Likewise.
8063 (tanh_test): Likewise.
8064 (tgamma_test): Likewise.
8065 (trunc_test): Likewise.
8066 (y0_test): Likewise.
8067 (y1_test): Likewise.
8068 (yn_test): Likewise.
8069 (significand_test): Likewise.
8071 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8072 individual tests in comment.
8073 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8074 (prev_max_error): New variable.
8075 (prev_real_max_error): Likewise.
8076 (prev_imag_max_error): Likewise.
8077 (compare_ulp_data): Don't refer to test names in comment.
8078 (find_test_ulps): Remove function.
8079 (find_function_ulps): Likewise.
8080 (find_complex_function_ulps): Likewise.
8081 (init_max_error): Take function name as argument. Look up ulps
8083 (print_ulps): Remove function.
8084 (print_max_error): Use prev_max_error instead of calling
8086 (print_complex_max_error): Use prev_real_max_error and
8087 prev_imag_max_error instead of calling find_complex_function_ulps.
8088 (check_float_internal): Take max_ulp parameter instead of calling
8089 find_test_ulps. Don't call print_ulps.
8090 (check_float): Update call to check_float_internal.
8091 (check_complex): Update calls to check_float_internal.
8092 (START): Pass argument to init_max_error.
8093 * math/gen-libm-test.pl (%results): Don't include "kind"
8095 (parse_ulps): Don't handle ulps of individual tests.
8096 (print_ulps_file): Likewise.
8097 (output_ulps): Likewise.
8098 * math/README.libm-test: Update.
8099 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8101 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8102 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8103 * sysdeps/arm/libm-test-ulps: Likewise.
8104 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8105 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8106 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8107 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8108 * sysdeps/microblaze/libm-test-ulps: Likewise.
8109 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8110 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8112 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8113 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8114 * sysdeps/sh/libm-test-ulps: Likewise.
8115 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8116 * sysdeps/tile/libm-test-ulps: Likewise.
8117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8119 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8121 * math/libm-test.inc (print_complex_max_error): Check separately
8122 whether real and imaginary errors are within allowed range and
8123 pass 0 to print_complex_function_ulps instead of value within
8126 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8128 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8130 (get_handles_fopen): Likewise.
8131 (do_write_test): Likewise.
8133 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8135 * libio/fileops.c (do_ftell): Use cached offset when
8137 * libio/iofwide.c (do_ftell_wide): Likewise.
8138 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8140 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8143 * libio/libioP.h (get_file_offset): New function.
8144 * libio/fileops.c (get_file_offset): Likewise.
8145 (do_ftell): Likewise.
8146 (_IO_new_file_seekoff): Split out ftell logic.
8147 * libio/wfileops.c (do_ftell_wide): Likewise.
8148 (_IO_wfile_seekoff): Split out ftell logic.
8149 * libio/tst-ftell-active-handler.c: New test case.
8150 * libio/Makefile (tests): Add it.
8152 2014-03-03 Roland McGrath <roland@hack.frob.com>
8154 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8155 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8157 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8160 * nscd/connections.c (nscd_init): Call do_exit.
8161 (start_threads): Call do_exit and notify_parent.
8162 (begin_drop_privileges): Call do_exit.
8163 (finish_drop_privileges): Likewise.
8164 * nscd/selinux.c (preserve_capabilities): Likewise.
8165 (install_real_capabilities): Likewise.
8166 (nscd_selinux_enabled): Likewise.
8167 (avc_create_thread): Likewise.
8168 (avc_alloc_lock): Likewise.
8169 (nscd_avc_init): Likewise.
8170 * nscd/nscd.c (parent_fd): New static variable.
8171 (main): Create a pipe between parent and child processes.
8172 Skip closing parent_fd.
8173 (monitor_child): New function.
8174 (do_exit): Likewise.
8175 (notify_parent): Likewise.
8176 * nscd/nscd.h (notify_parent): Likewise.
8177 (do_exit): Likewise.
8179 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8181 * malloc/malloc.c (__libc_calloc): Revert last change.
8183 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8187 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8189 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8193 (__libc_ifunc_impl_list): Likewise.
8194 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8195 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8196 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8197 * string/strrchr.c: Define STRRCHR.
8199 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8201 * benchtest/bench-strtok.c (simple_strtok): Delete.
8202 (strtok_string): Use as benchmark.
8203 * string/strtok (STRTOK): New macro.
8205 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8207 * manual/threads.texi: Add header and standard comments to all
8210 * elf/dl-lookup.c (check_match): New function.
8211 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8212 (do_lookup_x): Remove nested function check_match. Use non-nested
8213 function check_match.
8215 2014-02-28 Roland McGrath <roland@hack.frob.com>
8217 * csu/Makefile (generated, before-compile): Use += rather than =.
8218 * catgets/Makefile (generated, generated-dirs): Likewise.
8219 * debug/Makefile (generated): Likewise.
8220 * dlfcn/Makefile (generated): Likewise.
8221 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8222 * iconvdata/Makefile (before-compile, generated): Likewise.
8223 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8224 * libio/Makefile (generated): Likewise.
8225 * malloc/Makefile (generated): Likewise.
8226 * manual/Makefile (generated, generated-dirs): Likewise.
8227 * misc/Makefile (generated): Likewise.
8228 * posix/Makefile (generated): Likewise.
8229 * resolv/Makefile (generated): Likewise.
8230 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8231 * timezone/Makefile (generated, generated-dirs): Likewise.
8233 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8235 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8238 power8 implementation.
8239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8240 file: POWER8 llround ifunc implementation.
8241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8242 (__lllround): Add POWER8 implementation.
8243 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8244 POWER8 llround implementation.
8246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8247 power8 implementation.
8248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8249 file: POWER8 llrint ifunc implementation.
8250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8251 Add POWER8 implementation.
8252 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8253 POWER8 llrint implementation.
8255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8256 power8 implementation.
8257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8258 file: POWER8 finite ifunc implementation.
8259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8260 Add POWER8 implementation.
8261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8263 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8264 POWER8 finite implementation.
8265 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8268 power8 implementation.
8269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8270 file: POWER8 isinf ifunc implementation.
8271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8272 POWER8 implementation.
8273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8275 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8276 isinf implementation.
8277 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8279 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8280 (INIT_ARCH): Add hwcap2 initialization.
8281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8282 power8 implementation.
8283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8284 file: POWER8 isnan ifunc implementation.
8285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8286 POWER8 implementation.
8287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8290 isnan implementation.
8291 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8293 2014-02-27 Joey Ye <joey.ye@arm.com>
8295 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8296 (_FP_NANFRAC_Q): Set to zero.
8298 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8301 * math/auto-libm-test-in: New test inputs.
8302 * math/auto-libm-test-out: Regenerate.
8303 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8306 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8308 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8310 * scripts/evaluate-test.sh: Take new argument indicating whether
8311 failure is expected.
8312 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8313 indicating whether failure is expected.
8314 * conform/Makefile (test-xfail-run-conformtest): New variable.
8315 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8317 * posix/Makefile (test-xfail-annexc): New variable.
8318 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8320 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8322 * argp/Makefile: Include Makeconfig immediately after defining
8324 * assert/Makefile: Likewise.
8325 * benchtests/Makefile: Likewise.
8326 * catgets/Makefile: Likewise.
8327 * conform/Makefile: Likewise.
8328 * crypt/Makefile: Likewise.
8329 * csu/Makefile: Likewise.
8330 (all): Remove target.
8331 * ctype/Makefile: Include Makeconfig immediately after defining
8333 * debug/Makefile: Likewise.
8334 * dirent/Makefile: Likewise.
8335 * dlfcn/Makefile: Likewise.
8336 * gmon/Makefile: Likewise.
8337 * gnulib/Makefile: Likewise.
8338 * grp/Makefile: Likewise.
8339 * gshadow/Makefile: Likewise.
8340 * hesiod/Makefile: Likewise.
8341 * hurd/Makefile: Likewise.
8342 (all): Remove target.
8343 * iconvdata/Makefile: Include Makeconfig immediately after
8345 * inet/Makefile: Likewise.
8346 * intl/Makefile: Likewise.
8347 * io/Makefile: Likewise.
8348 * libio/Makefile: Likewise.
8349 (all): Remove target.
8350 * locale/Makefile: Include Makeconfig immediately after defining
8352 * login/Makefile: Likewise.
8353 * mach/Makefile: Likewise.
8354 (all): Remove target.
8355 * malloc/Makefile: Include Makeconfig immediately after defining
8357 (all): Remove target.
8358 * manual/Makefile: Include Makeconfig immediately after defining
8360 * math/Makefile: Likewise.
8361 * misc/Makefile: Likewise.
8362 * nis/Makefile: Likewise.
8363 * nss/Makefile: Likewise.
8364 * po/Makefile: Likewise.
8365 (all): Remove target.
8366 * posix/Makefile: Include Makeconfig immediately after defining
8368 * pwd/Makefile: Likewise.
8369 * resolv/Makefile: Likewise.
8370 * resource/Makefile: Likewise.
8371 * rt/Makefile: Likewise.
8372 * setjmp/Makefile: Likewise.
8373 * shadow/Makefile: Likewise.
8374 * signal/Makefile: Likewise.
8375 * socket/Makefile: Likewise.
8376 * soft-fp/Makefile: Likewise.
8377 * stdio-common/Makefile: Likewise.
8378 * stdlib/Makefile: Likewise.
8379 * streams/Makefile: Likewise.
8380 * string/Makefile: Likewise.
8381 * sunrpc/Makefile: Likewise.
8382 (all): Remove target.
8383 * sysvipc/Makefile: Include Makeconfig immediately after defining
8385 * termios/Makefile: Likewise.
8386 * time/Makefile: Likewise.
8387 * timezone/Makefile: Likewise.
8388 (all): Remove target.
8389 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8391 * wctype/Makefile: Likewise.
8393 2014-02-26 Steve Ellcey <sellcey@mips.com>
8395 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8396 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8397 (libc_feholdexcept_setround_mips): Ditto.
8398 (libc_feholdsetround): New.
8399 (libc_feholdsetroundf): New.
8400 (libc_feholdsetroundl): New.
8401 (libc_feupdateenv_test_mips): New.
8402 (libc_feupdateenv_test): New.
8403 (libc_feupdateenv_testf): New.
8404 (libc_feupdateenv_testl): New.
8405 (libc_feresetround): New.
8406 (libc_feresetroundf): New.
8407 (libc_feresetroundl): New.
8408 (libc_fetestexcept_mips): New.
8409 (libc_fetestexcept): New.
8410 (libc_fetestexceptf): New.
8411 (libc_fetestexceptl): New.
8413 (libc_feholdexcept_setround_mips_ctx): New.
8414 (libc_feholdexcept_setround_ctx): New.
8415 (libc_feholdexcept_setroundf_ctx): New.
8416 (libc_feholdexcept_setroundl_ctx): New.
8417 (libc_fesetenv_mips_ctx): New.
8418 (libc_fesetenv_ctx): New.
8419 (libc_fesetenv_ctxf): New.
8420 (libc_fesetenv_ctxl): New.
8421 (libc_feupdateenv_mips_ctx): New.
8422 (libc_feupdateenv_ctx): New.
8423 (libc_feupdateenvf_ctx): New.
8424 (libc_feupdateenvl_ctx): New.
8425 (libc_feholdsetround_mips_ctx): New.
8426 (libc_feholdsetround_ctx): New.
8427 (libc_feholdsetroundf_ctx): New.
8428 (libc_feholdsetroundl_ctx): New.
8429 (libc_feresetround_mips_ctx): New.
8430 (libc_feresetround_ctx): New.
8431 (libc_feresetroundf_ctx): New.
8432 (libc_feresetroundl_ctx): New.
8434 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8436 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8438 * manual/ipc.texi: New file.
8439 * manual/Makefile (chapters): Add ipc.
8440 * manual/job.texi: Add "Inter-Process Communication" to next.
8441 * manual/process.texi: Add "Inter-Process Communication" to prev.
8443 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8447 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8449 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8451 * manual/arith.texi: Fix spaces after sentences.
8452 * manual/charset.texi: Likewise.
8453 * manual/errno.texi: Likewise.
8454 * manual/install.texi: Likewise.
8455 * manual/llio.texi: Likewise.
8456 * manual/locale.texi: Likewise.
8457 * manual/maint.texi: Likewise.
8458 * manual/math.texi: Likewise.
8459 * manual/memory.texi: Likewise.
8460 * manual/message.texi: Likewise.
8461 * manual/probes.texi: Likewise.
8462 * manual/resource.texi: Likewise.
8463 * manual/signal.texi: Likewise.
8464 * manual/socket.texi: Likewise.
8465 * manual/stdio.texi: Likewise.
8466 * manual/string.texi: Likewise.
8467 * manual/time.texi: Likewise.
8468 * manual/users.texi: Likewise.
8470 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8473 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8474 _DEFAULT_SOURCE is defined.
8476 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8477 Carlos O'Donell <carlos@redhat.com>
8480 * elf/dl-tls.c (_dl_count_modids): New function.
8481 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8482 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8483 audit library and increment generation counter.
8484 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8485 * elf/tst-audit9.c: New file.
8486 * elf/tst-auditmod9a.c: New file.
8487 * elf/tst-auditmod9b.c: New file.
8488 * elf/Makefile: Add rules to build and run tst-audit9.
8490 2014-02-25 Florian Weimer <fweimer@redhat.com>
8493 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8495 2014-02-25 Will Newton <will.newton@linaro.org>
8497 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8498 (__longjmp): Restore sp and lr before restoring callee
8499 saved registers. Add longjmp and longjmp_target
8500 SystemTap probe point.
8501 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8502 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8503 Define to zero to match jmpbuf layout.
8504 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8505 (__sigsetjmp): Save sp and lr before saving callee
8506 saved registers. Add setjmp SystemTap probe point.
8508 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8510 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8512 2014-02-24 Andreas Schwab <schwab@suse.de>
8515 * elf/pldd.c (wait_for_ptrace_stop): New function.
8516 (main): Call it after attaching.
8518 2014-02-22 Roland McGrath <roland@hack.frob.com>
8520 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8521 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8522 Versions files is now verboten.
8523 * hurd/Versions (libc: GLIBC_2.0):
8524 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8525 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8526 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8527 * mach/Versions: Likewise.
8529 * csu/Versions: Remove unused %include.
8530 * resolv/Versions: Likewise.
8532 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8534 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8535 ($(objpfx)check-local-headers.out): Likewise.
8536 ($(objpfx)begin-end-check.out): Likewise.
8537 * Makerules (check-abi-%.out): Likewise.
8538 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8539 ($(objpfx)test2.cat): Likewise.
8540 ($(objpfx)de/libc.cat): Likewise.
8541 ($(objpfx)test-gencat.out): Likewise.
8542 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8543 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8544 ($(objpfx)noload-mem): Likewise.
8545 ($(objpfx)tst-pathopt.out): Likewise.
8546 ($(objpfx)tst-rtld-load-self.out): Likewise.
8547 ($(objpfx)tst-array1-cmp.out): Likewise.
8548 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8549 ($(objpfx)tst-array2-cmp.out): Likewise.
8550 ($(objpfx)tst-array3-cmp.out): Likewise.
8551 ($(objpfx)tst-array4-cmp.out): Likewise.
8552 ($(objpfx)tst-array5-cmp.out): Likewise.
8553 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8554 ($(objpfx)check-textrel.out): Likewise.
8555 ($(objpfx)check-execstack.out): Likewise.
8556 ($(objpfx)check-localplt.out): Likewise.
8557 ($(objpfx)order2-cmp.out): Likewise.
8558 ($(objpfx)tst-leaks1-mem): Likewise.
8559 ($(objpfx)tst-leaks1-static-mem): Likewise.
8560 ($(objpfx)tst-initorder-cmp.out): Likewise.
8561 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8562 ($(objpfx)tst-unused-dep.out): Likewise.
8563 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8564 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8565 * iconv/Makefile (test-iconvconfig): Likewise.
8566 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8567 ($(objpfx)iconv-test.out): Likewise.
8568 ($(objpfx)tst-tables.out): Likewise.
8569 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8570 ($(objpfx)tst-gettext.out): Likewise.
8571 ($(objpfx)tst-translit.out): Likewise.
8572 ($(objpfx)tst-gettext2.out): Likewise.
8573 ($(objpfx)tst-gettext4.out): Likewise.
8574 ($(objpfx)tst-gettext6.out): Likewise.
8575 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8576 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8577 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8578 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8579 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8580 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8581 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8582 ($(objpfx)wordexp-tst.out): Likewise.
8583 ($(objpfx)annexc.out): Likewise.
8584 ($(objpfx)tst-fnmatch-mem): Likewise.
8585 ($(objpfx)bug-regex2-mem): Likewise.
8586 ($(objpfx)bug-regex14-mem): Likewise.
8587 ($(objpfx)bug-regex21-mem): Likewise.
8588 ($(objpfx)bug-regex31-mem): Likewise.
8589 ($(objpfx)tst-vfork3-mem): Likewise.
8590 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8591 ($(objpfx)tst-pcre-mem): Likewise.
8592 ($(objpfx)tst-boost-mem): Likewise.
8593 ($(objpfx)tst-getconf.out): Likewise.
8594 ($(objpfx)bug-ga2-mem): Likewise.
8595 ($(objpfx)bug-glob2-mem): Likewise.
8596 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8597 ($(objpfx)mtrace-tst-leaks2): Likewise.
8598 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8599 ($(objpfx)tst-printf.out): Likewise.
8600 ($(objpfx)tst-setvbuf1.out): Likewise.
8601 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8602 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8603 ($(objpfx)tst-fmtmsg.out): Likewise.
8604 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8605 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8607 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8608 * bits/sigaction.h [__USE_MISC]: Likewise.
8609 * bits/waitstatus.h: Update #endif comments.
8610 * ctype/ctype.h: Likewise.
8611 * dirent/dirent.h: Likewise.
8612 [__USE_MISC]: Remove redundant conditionals.
8613 * grp/grp.h: Update #endif comments.
8614 [__USE_GNU]: Remove redundant conditionals.
8615 [__USE_MISC]: Likewise.
8616 * inet/netinet/in.h [__USE_GNU]: Likewise.
8617 * io/sys/stat.h [__USE_MISC]: Likewise.
8618 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8619 * libio/bits/stdio.h: Update #endif comments.
8620 [__USE_MISC]: Remove redundant conditionals.
8621 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8622 * libio/stdio.h: Update #endif comments.
8623 [__USE_MISC]: Remove redundant conditionals.
8624 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8625 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8626 * math/math.h: Update #else and #endif comments.
8627 [__USE_MISC]: Remove redundant conditionals.
8628 * misc/sys/uio.h: Update #endif comments.
8629 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8630 * posix/glob.h [__USE_MISC]: Likewise.
8631 * posix/sys/types.h: Update #endif comments.
8632 [__USE_MISC]: Remove redundant conditionals.
8633 * posix/sys/wait.h: Update #endif comments.
8634 [__USE_MISC]: Remove redundant conditionals.
8635 * posix/unistd.h: Update #endif comments.
8636 [__USE_MISC]: Remove redundant conditionals.
8637 * pwd/pwd.h [__USE_GNU]: Likewise.
8638 [__USE_MISC]: Likewise.
8639 * resolv/netdb.h [__USE_GNU]: Likewise.
8640 * signal/signal.h: Update #endif comments.
8641 [__USE_MISC]: Remove redundant conditionals.
8642 * stdlib/stdlib.h: Update #else and #endif comments.
8643 [__USE_MISC]: Remove redundant conditionals.
8644 [__USE_GNU]: Likewise.
8645 * string/bits/string2.h [__USE_MISC]: Likewise.
8646 * string/string.h: Update #endif comments.
8647 [__USE_MISC]: Remove redundant conditionals.
8648 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8650 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8651 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8652 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8654 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8656 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8658 [__USE_MISC]: Remove redundant conditionals.
8659 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8660 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8661 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8662 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8663 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8665 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8666 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8668 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8669 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8671 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8673 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8674 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8676 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8678 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8679 * sysdeps/x86/bits/string.h: Update #endif comments.
8680 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8682 * time/sys/time.h: Update #endif comments.
8683 * time/time.h: Likewise.
8684 [__USE_MISC]: Remove redundant conditionals.
8686 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8689 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8691 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8693 * Versions.def (librt): Add GLIBC_2.17.
8695 2014-02-21 Adam Conrad <adconrad@0c3.net>
8697 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8698 synonym for _SYS_AUXV_H to allow direct inclusion.
8699 * sysdeps/sparc/bits/hwcap.h: Likewise.
8700 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8701 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8702 * sysdeps/sparc/sysdep.h: Likewise.
8704 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8706 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8708 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8710 * benchtests/bench-strrchr.c: Print length instead of position.
8712 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8715 * sysdeps/unix/sysv/linux/kernel-features.h
8716 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8717 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8718 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8719 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8721 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8722 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8723 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8724 (__ASSUME_SENDMMSG): Define instead of using previous
8725 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8726 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8727 (__ASSUME_SENDMMSG_SYSCALL): Define.
8728 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8729 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8731 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8732 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8734 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8735 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8737 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8738 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8739 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8740 [__ASSUME_SENDMMSG]: Change conditionals to
8741 [__ASSUME_SENDMMSG_SOCKETCALL].
8742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8743 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8745 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8746 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8748 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8749 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8750 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8751 [!__ASSUME_SENDMMSG]: Change conditional to
8752 [!__ASSUME_SENDMMSG_SOCKETCALL].
8753 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8754 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8758 * sysdeps/unix/sysv/linux/kernel-features.h
8759 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8760 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8761 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8762 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8763 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8764 [__i386__ || __sparc__]
8765 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8766 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8767 (__ASSUME_RECVMMSG): Define instead of using previous
8768 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8769 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8770 (__ASSUME_RECVMMSG_SYSCALL): Define.
8771 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8772 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8774 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8775 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8777 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8778 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8780 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8781 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8782 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8783 [__ASSUME_RECVMMSG]: Change condition to
8784 [__ASSUME_RECVMMSG_SOCKETCALL].
8785 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8786 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8788 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8789 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8790 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8792 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8793 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8794 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8795 [!__ASSUME_RECVMMSG]: Change condition to
8796 [!__ASSUME_RECVMMSG_SOCKETCALL].
8797 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8798 (__ASSUME_RECVMMSG_SYSCALL): Define.
8801 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8802 __powerpc__ || __s390__ || __sh__ || __sparc__]
8803 (__ASSUME_SOCKETCALL): Define.
8804 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8805 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8806 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8807 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8808 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8809 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8810 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8811 (__ASSUME_ACCEPT4): Define instead of using previous
8812 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8813 __powerpc__ || __sparc__ || __s390__)] condition.
8814 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8815 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8816 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8817 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8818 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8819 [!__ASSUME_ACCEPT4]: Change condition to
8820 [!__ASSUME_ACCEPT4_SOCKETCALL].
8821 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8822 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8823 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8824 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8825 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8826 __ASSUME_ACCEPT4_SYSCALL.
8827 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8828 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8829 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8830 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8831 __ASSUME_ACCEPT4_SYSCALL.
8832 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8833 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8834 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8835 [__ASSUME_ACCEPT4]: Change condition to
8836 [__ASSUME_ACCEPT4_SOCKETCALL].
8837 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8838 (__ASSUME_SOCKETCALL): Define.
8839 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8840 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8841 (__ASSUME_SOCKETCALL): Define.
8842 (__ASSUME_ACCEPT4): Remove.
8843 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8845 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8846 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8848 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8849 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8851 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8853 (HWCAP_ARM_LPAE): Likewise.
8854 (HWCAP_ARM_EVTSTRM): Likewise.
8855 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8856 Add vpfd32, lpae and evtstrm.
8857 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8860 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8862 * math/auto-libm-test-in: Add tests of clog10.
8863 * math/auto-libm-test-out: Regenerated.
8864 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8865 * sysdeps/i386/fpu/libm-test-ulps: Update.
8866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8868 2014-02-18 Andreas Schwab <schwab@suse.de>
8871 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8872 Store non-zero if the second buffer was newly allocated.
8873 (send_dg): Likewise.
8874 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8875 to send_vc and send_dg.
8876 (res_nsend): Pass NULL for ansp2_malloced.
8877 * resolv/res_query.c (__libc_res_nquery): Add parameter
8878 answerp2_malloced and pass it down to __libc_res_nsend.
8879 (res_nquery): Pass additional NULL to __libc_res_nquery.
8880 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8881 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8882 second answer buffer if answerp2_malloced was set.
8883 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8884 (__libc_res_nquerydomain): Add parameter
8885 answerp2_malloced and pass it down to __libc_res_nquery.
8886 (res_nquerydomain): Pass additional NULL to
8887 __libc_res_nquerydomain.
8888 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8889 additional NULL to __libc_res_nsend and __libc_res_nquery.
8890 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8891 additional NULL to __libc_res_nsearch.
8892 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8893 parameter of __libc_res_nsearch to check for separately allocated
8895 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8897 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8898 additional NULL to __libc_res_nquery.
8899 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8901 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8902 * include/resolv.h: Update prototypes of __libc_res_nquery,
8903 __libc_res_nsearch, __libc_res_nsend.
8905 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8907 * math/auto-libm-test-in: Add tests of fma.
8908 * math/auto-libm-test-out: Regenerated.
8909 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8910 (fma_towardzero_test_data): Likewise.
8911 (fma_downward_test_data): Likewise.
8912 (fma_upward_test_data): Likewise.
8913 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8915 (rounding_modes): Add values for new field.
8916 (func_calc_method): Add value mpfr_fff_f.
8917 (func_calc_desc): Add mpfr_fff_f union field.
8918 (test_function): Add field exact_args.
8919 (FUNC): Add macro argument EXACT_ARGS.
8920 (FUNC_mpfr_f_f): Update call to FUNC.
8921 (FUNC_mpfr_f_f): Likewise.
8922 (FUNC_mpfr_ff_f): Likewise.
8923 (FUNC_mpfr_if_f): Likewise.
8924 (FUNC_mpc_c_f): Likewise.
8925 (FUNC_mpc_c_c): Likewise.
8926 (test_functions): Add fma. Update calls to FUNC.
8927 (handle_input_arg): Add argument exact_args.
8928 (add_test): Update call to handle_input_arg.
8929 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8930 (output_for_one_input_case): Update call to calc_generic_results.
8931 Recalculate exact zero results in each rounding mode.
8933 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8934 non-negative before setting low bit.
8935 * math/auto-libm-test-in: Mark one asin test possibly having
8937 * math/auto-libm-test-out: Regenerated.
8938 * sysdeps/i386/fpu/libm-test-ulps: Update.
8939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8941 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8943 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8944 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8945 ports/sysdeps/unix/sysv/linux/microblaze.
8946 * README: Add missing listing for microblaze*-*-linux-gnu.
8948 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8950 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8951 * sysdeps/unix/sysv/linux/ia64: Move directory from
8952 ports/sysdeps/unix/sysv/linux/ia64.
8953 * README: Update listing for ia64-*-linux-gnu.
8955 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8956 Joseph Myers <joseph@codesourcery.com>
8958 * Makeconfig (test-name): New variable.
8959 (evaluate-test): Likewise.
8960 * Makerules (do-test-clean): Remove .test-result files.
8961 (common-mostlyclean): Likewise.
8962 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8963 * scripts/evaluate-test.sh: New file.
8965 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8967 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8968 separate $(objpfx)tst-fopenloc-cmp.out and
8969 $(objpfx)tst-fopenloc-mem.out targets.
8970 (tests): Update dependencies.
8971 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8972 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8973 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8974 (tst-rxspencer-no-utf8-ARGS): New variable.
8975 (tst-rxspencer-no-utf8-ENV): Likewise.
8976 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8977 instead of $(objpfx)tst-rxspencer-mem.
8978 ($(objpfx)tst-rxspencer-mem): Change target to
8979 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8980 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8981 * posix/tst-rxspencer-no-utf8.c: New file.
8983 * elf/Makefile ($(objpfx)order.out): Remove rule.
8984 [$(run-built-tests) = yes] (tests): Depend on
8985 $(objpfx)order-cmp.out.
8986 ($(objpfx)order-cmp.out): New rule.
8987 [$(run-built-tests) = yes] (tests): Depend on
8988 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8989 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8990 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8991 $(objpfx)tst-array5-static-cmp.out.
8992 ($(objpfx)tst-array1.out): Remove rule.
8993 ($(objpfx)tst-array1-cmp.out): New rule.
8994 ($(objpfx)tst-array1-static.out): Remove rule.
8995 ($(objpfx)tst-array1-static-cmp.out): New rule.
8996 ($(objpfx)tst-array2.out): Remove rule.
8997 ($(objpfx)tst-array2-cmp.out): New rule.
8998 ($(objpfx)tst-array3.out): Remove rule.
8999 ($(objpfx)tst-array3-cmp.out): New rule.
9000 ($(objpfx)tst-array4.out): Remove rule.
9001 ($(objpfx)tst-array4-cmp.out): New rule.
9002 ($(objpfx)tst-array5.out): Remove rule.
9003 ($(objpfx)tst-array5-cmp.out): New rule.
9004 ($(objpfx)tst-array5-static.out): Remove rule.
9005 ($(objpfx)tst-array5-static-cmp.out): New rule.
9006 [$(run-built-tests) = yes] (tests): Depend on
9007 $(objpfx)order2-cmp.out.
9008 ($(objpfx)order2.out): Remove rule.
9009 ($(objpfx)order2-cmp.out): New rule.
9010 ($(objpfx)tst-initorder.out): Remove rule.
9011 [$(run-built-tests) = yes] (tests): Depend on
9012 $(objpfx)tst-initorder-cmp.out.
9013 ($(objpfx)tst-initorder-cmp.out): New rule.
9014 ($(objpfx)tst-initorder2.out): Remove rule.
9015 [$(run-built-tests) = yes] (tests): Depend on
9016 $(objpfx)tst-initorder2-cmp.out.
9017 ($(objpfx)tst-initorder2-cmp.out): New rule.
9018 [$(run-built-tests) = yes] (tests): Depend on
9019 $(objpfx)tst-unused-dep-cmp.out.
9020 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9021 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9022 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9023 on $(objpfx)tst-setvbuf1-cmp.out.
9024 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9025 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9026 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9027 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9028 ($(objpfx)tst-svc.out): Remove rule.
9029 ($(objpfx)tst-svc-cmp.out): New rule.
9031 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9033 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9034 * ctype/ctype.h [__USE_MISC]: Likewise.
9035 * dirent/dirent.h [__USE_MISC]: Likewise.
9036 * grp/grp.h [__USE_MISC]: Likewise.
9037 * io/fcntl.h [__USE_MISC]: Likewise.
9038 * io/sys/stat.h [__USE_MISC]: Likewise.
9039 * libio/stdio.h [__USE_MISC]: Likewise.
9040 * posix/unistd.h [__USE_MISC]: Likewise.
9041 * pwd/pwd.h [__USE_MISC]: Likewise.
9042 * stdlib.h [__USE_MISC]: Likewise.
9043 * string/bits/string2.h [__USE_MISC]: Likewise.
9044 * string/string.h [__USE_MISC]: Likewise.
9045 * time/time.h [__USE_MISC]: Likewise.
9047 2014-02-13 Andreas Schwab <schwab@suse.de>
9050 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9051 second answer buffer if it was separately allocated.
9053 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9055 * sysdeps/mips/math-tests.h: Include <features.h>.
9056 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9057 (ROUNDING_TESTS_long_double): Do not define.
9058 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9059 (EXCEPTION_TESTS_long_double): Likewise.
9060 * sysdeps/mips/mips64/libm-test-ulps: Update.
9062 * include/features.h (__USE_BSD): Remove macro definitions.
9063 (__USE_SVID): Likewise.
9064 (_BSD_SOURCE): Likewise.
9065 (_SVID_SOURCE): Likewise.
9066 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9067 from definition of _DEFAULT_SOURCE.
9068 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9070 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9071 * bits/mman.h [__USE_BSD]: Likewise.
9072 * bits/termios.h [__USE_BSD]: Likewise.
9073 * bits/waitstatus.h [__USE_BSD]: Likewise.
9074 * ctype/ctype.h [__USE_SVID]: Likewise.
9075 * dirent/dirent.h [__USE_BSD]: Likewise.
9076 * grp/grp.h [__USE_SVID]: Likewise.
9077 [__USE_BSD]: Likewise.
9078 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9079 * io/fcntl.h [__USE_BSD]: Likewise.
9080 * io/ftw.h [__USE_BSD]: Likewise.
9081 * io/sys/stat.h [__USE_BSD]: Likewise.
9082 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9083 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9084 * libio/stdio.h [__USE_SVID]: Likewise.
9085 [__USE_BSD]: Likewise.
9086 * math/math.h [__USE_SVID]: Likewise.
9087 [__USE_BSD]: Likewise.
9088 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9089 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9090 * misc/search.h [__USE_SVID]: Likewise.
9091 * misc/sys/mman.h [__USE_BSD]: Likewise.
9092 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9093 * misc/sys/uio.h [__USE_BSD]: Likewise.
9094 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9095 * posix/glob.h [__USE_BSD]: Likewise.
9096 * posix/regex.h [__USE_BSD]: Likewise.
9097 * posix/sys/types.h [__USE_BSD]: Likewise.
9098 [__USE_SVID]: Likewise.
9099 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9100 * posix/sys/wait.h [__USE_BSD]: Likewise.
9101 [__USE_SVID]: Likewise.
9102 * posix/unistd.h [__USE_BSD]: Likewise.
9103 [__USE_SVID]: Likewise.
9104 * pwd/pwd.h [__USE_SVID]: Likewise.
9105 * resolv/netdb.h [__USE_BSD]: Likewise.
9106 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9107 * signal/signal.h [__USE_BSD]: Likewise.
9108 [__USE_SVID]: Likewise.
9109 * socket/sys/socket.h [__USE_BSD]: Likewise.
9110 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9111 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9112 [__USE_SVID]: Likewise.
9113 * string/bits/string2.h [__USE_BSD]: Likewise.
9114 [__USE_SVID]: Likewise.
9115 * string/bits/string3.h [__USE_BSD]: Likewise.
9116 * string/endian.h [__USE_BSD]: Likewise.
9117 * string/string.h [__USE_SVID]: Likewise.
9118 [__USE_BSD]: Likewise.
9119 * string/strings.h [__USE_BSD]: Likewise.
9120 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9121 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9122 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9123 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9124 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9125 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9127 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9129 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9130 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9132 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9133 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9135 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9137 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9138 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9139 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9141 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9143 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9144 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9145 * termios/termios.h [__USE_BSD]: Likewise.
9146 * time/sys/time.h [__USE_BSD]: Likewise.
9147 * time/time.h [__USE_BSD]: Likewise.
9148 [__USE_SVID]: Likewise.
9150 * Makefile (subdir_targets): Remove subdir_lint.out.
9152 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9153 (do-tst-printf): Likewise.
9154 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9155 $(objpfx)tst-printf.out.
9157 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9159 * Makerules (check-abi-%): Change target to
9160 $(objpfx)check-abi-%.out.
9161 (check-abi target): Update dependencies.
9162 (check-abi-pattern variable): Redirect output of diff to $@.
9163 (check-abi variable): Likewise.
9164 * elf/Makefile (check-abi): Update dependencies.
9166 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9168 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9169 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9171 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9172 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9173 value has largest subnormal exponent.
9174 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9175 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9176 * sysdeps/aarch64/soft-fp/sfp-machine.h
9177 (_FP_TININESS_AFTER_ROUNDING): New macro.
9178 * sysdeps/alpha/soft-fp/sfp-machine.h
9179 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9180 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9182 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9183 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9184 * sysdeps/mips/soft-fp/sfp-machine.h
9185 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9186 * sysdeps/powerpc/soft-fp/sfp-machine.h
9187 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9188 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9190 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9191 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9192 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9193 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9194 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9197 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9200 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9203 2014-02-12 Richard Henderson <rth@redhat.com>
9205 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9206 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9207 * sysdeps/unix/sysv/linux/alpha: Move directory from
9208 ports/sysdeps/unix/sysv/linux/alpha.
9209 * README: Update listing for alpha-*-linux-gnu.
9211 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9213 * include/features.h: Update comment documenting feature test
9215 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9217 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9218 (_SVID_SOURCE): Likewise.
9219 (_DEFAULT_SOURCE): Update description of default features.
9220 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9222 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9223 (S_ISVTX): Likewise.
9224 * manual/math.texi (Mathematical Constants): Likewise.
9225 * manual/signal.texi (Interrupted Primitives): Likewise.
9226 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9227 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9228 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9229 Don't refer to _SVID_SOURCE in warning text.
9231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9233 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9235 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9236 * sysdeps/mips/dl-lookup.c: Remove.
9237 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9239 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9242 * math/auto-libm-test-in: Add testcase for expl.
9243 * math/auto-libm-test-out: Regenerate.
9244 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9245 calculation of unsafe.
9246 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9248 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9250 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9251 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9252 ports/sysdeps/unix/sysv/linux/aarch64.
9253 * README: Update listing for aarch64*-*-linux-gnu.
9255 2014-02-11 Will Newton <will.newton@linaro.org>
9257 * manual/probes.texi (Mathematical Function Probes): Use
9258 "triggered" instead of "hit".
9260 * manual/probes.texi (Internal Probes): Add documentation
9261 of setjmp, longjmp and longjmp_target probes.
9263 * include/stap-probe.h: Add comment about probe argument
9266 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9267 definition. (tr_where, tr_freehook, tr_mallochook,
9268 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9270 2014-02-11 David S. Miller <davem@davemloft.net>
9272 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9273 processing int_tests.
9275 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9277 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9278 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9279 * sysdeps/unix/sysv/linux/mips: Move directory from
9280 ports/sysdeps/unix/sysv/linux/mips.
9281 * README: Update listing for mips-*-linux-gnu and
9284 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9286 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9287 * sysdeps/unix/sysv/linux/m68k: Move directory from
9288 ports/sysdeps/unix/sysv/linux/m68k.
9289 * README: Update listing for m68k-*-linux-gnu.
9291 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9293 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9294 * sysdeps/unix/sysv/linux/generic: Move directory from
9295 ports/sysdeps/unix/sysv/linux/generic.
9296 * sysdeps/unix/sysv/linux/tile: Move directory from
9297 ports/sysdeps/unix/sysv/linux/tile.
9298 * README: Update listing for tile*-*-linux-gnu.
9300 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9302 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9304 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9305 * catgets/open_catalog.c (__open_catalog): Likewise.
9306 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9307 * debug/confstr_chk.c: Likewise.
9308 * debug/fread_chk.c (__fread_chk): Likewise.
9309 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9310 * debug/getgroups_chk.c: Likewise.
9311 * debug/mbsnrtowcs_chk.c: Likewise.
9312 * debug/mbsrtowcs_chk.c: Likewise.
9313 * debug/mbstowcs_chk.c: Likewise.
9314 * debug/memcpy_chk.c: Likewise.
9315 * debug/memmove_chk.c: Likewise.
9316 * debug/mempcpy_chk.c: Likewise.
9317 * debug/memset_chk.c: Likewise.
9318 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9319 * debug/strcat_chk.c (__strcat_chk): Likewise.
9320 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9321 * debug/strncat_chk.c (__strncat_chk): Likewise.
9322 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9323 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9324 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9325 * debug/wcpncpy_chk.c: Likewise.
9326 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9327 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9328 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9329 * debug/wcsncpy_chk.c: Likewise.
9330 * debug/wcsnrtombs_chk.c: Likewise.
9331 * debug/wcsrtombs_chk.c: Likewise.
9332 * debug/wcstombs_chk.c: Likewise.
9333 * debug/wmemcpy_chk.c: Likewise.
9334 * debug/wmemmove_chk.c: Likewise.
9335 * debug/wmempcpy_chk.c: Likewise.
9336 * debug/wmemset_chk.c: Likewise.
9337 * dirent/scandirat.c (SCANDIRAT): Likewise.
9338 * dlfcn/dladdr1.c (dladdr1): Likewise.
9339 * dlfcn/dladdr.c (dladdr): Likewise.
9340 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9341 * dlfcn/dlerror.c (__dlerror): Likewise.
9342 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9343 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9344 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9345 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9346 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9347 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9348 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9349 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9351 * elf/dl-conflict.c: Likewise.
9352 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9353 * elf/dl-dst.h: Likewise.
9354 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9355 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9356 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9357 * elf/dl-init.c (call_init, _dl_init): Likewise.
9358 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9359 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9360 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9362 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9364 * elf/dl-minimal.c (__libc_memalign): Likewise.
9365 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9366 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9367 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9368 * elf/dl-sym.c (do_sym): Likewise.
9369 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9370 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9371 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9372 * elf/dl-writev.h (_dl_writev): Likewise.
9373 * elf/ldconfig.c (search_dir): Likewise.
9374 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9375 (dl_main): Likewise.
9376 * elf/setup-vdso.h (setup_vdso): Likewise.
9377 * grp/compat-initgroups.c (compat_call): Likewise.
9378 * grp/fgetgrent.c (fgetgrent): Likewise.
9379 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9380 * grp/putgrent.c (putgrent): Likewise.
9381 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9383 * hurd/hurdinit.c: Likewise.
9384 * iconvdata/8bit-gap.c (struct): Likewise.
9385 * iconvdata/ansi_x3.110.c : Likewise.
9386 * iconvdata/big5.c : Likewise.
9387 * iconvdata/big5hkscs.c : Likewise.
9388 * iconvdata/cp1255.c: Likewise.
9389 * iconvdata/cp1258.c : Likewise.
9390 * iconvdata/cp932.c : Likewise.
9391 * iconvdata/euc-cn.c: Likewise.
9392 * iconvdata/euc-jisx0213.c : Likewise.
9393 * iconvdata/euc-jp.c: Likewise.
9394 * iconvdata/euc-jp-ms.c : Likewise.
9395 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9396 * iconvdata/gb18030.c : Likewise.
9397 * iconvdata/gbbig5.c (const): Likewise.
9398 * iconvdata/gbgbk.c: Likewise.
9399 * iconvdata/gbk.c : Likewise.
9400 * iconvdata/ibm1364.c : Likewise.
9401 * iconvdata/ibm930.c : Likewise.
9402 * iconvdata/ibm932.c: Likewise.
9403 * iconvdata/ibm933.c : Likewise.
9404 * iconvdata/ibm935.c : Likewise.
9405 * iconvdata/ibm937.c : Likewise.
9406 * iconvdata/ibm939.c : Likewise.
9407 * iconvdata/ibm943.c: Likewise.
9408 * iconvdata/iso_11548-1.c: Likewise.
9409 * iconvdata/iso-2022-cn.c : Likewise.
9410 * iconvdata/iso-2022-cn-ext.c : Likewise.
9411 * iconvdata/iso-2022-jp-3.c: Likewise.
9412 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9413 * iconvdata/iso-2022-kr.c : Likewise.
9414 * iconvdata/iso646.c (gconv_end): Likewise.
9415 * iconvdata/iso_6937-2.c : Likewise.
9416 * iconvdata/iso_6937.c : Likewise.
9417 * iconvdata/iso8859-1.c: Likewise.
9418 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9419 * iconvdata/shift_jisx0213.c : Likewise.
9420 * iconvdata/sjis.c : Likewise.
9421 * iconvdata/t.61.c : Likewise.
9422 * iconvdata/tcvn5712-1.c : Likewise.
9423 * iconvdata/tscii.c: Likewise.
9424 * iconvdata/uhc.c : Likewise.
9425 * iconvdata/unicode.c (gconv_end): Likewise.
9426 * iconvdata/utf-16.c (gconv_end): Likewise.
9427 * iconvdata/utf-32.c (gconv_end): Likewise.
9428 * iconvdata/utf-7.c (base64): Likewise.
9429 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9430 * iconv/gconv_close.c (__gconv_close): Likewise.
9431 * iconv/gconv_open.c (__gconv_open): Likewise.
9432 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9433 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9434 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9435 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9436 (ucs4le_internal_loop_single): Likewise.
9437 * iconv/iconv.c (iconv): Likewise.
9438 * iconv/iconv_close.c: Likewise.
9439 * iconv/loop.c (SINGLE): Likewise.
9440 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9441 * include/atomic.h: Likewise.
9442 * inet/inet6_option.c (option_alloc): Likewise.
9443 * intl/bindtextdom.c (set_binding_values): Likewise.
9444 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9445 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9446 * intl/localealias.c (read_alias_file): Likewise.
9447 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9448 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9449 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9450 * libio/fmemopen.c (fmemopen): Likewise.
9451 * libio/iofgets.c (_IO_fgets): Likewise.
9452 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9453 * libio/iofgetws.c (fgetws): Likewise.
9454 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9455 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9456 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9457 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9458 * locale/findlocale.c (_nl_find_locale): Likewise.
9459 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9460 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9462 * locale/setlocale.c (setlocale): Likewise.
9463 * login/programs/pt_chown.c (main): Likewise.
9464 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9465 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9466 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9467 (mmap, mmap64, mremap, munmap): Likewise.
9468 * math/e_exp2l.c: Likewise.
9469 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9470 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9471 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9472 * math/s_catan.c (__catan): Likewise.
9473 * math/s_catanf.c (__catanf): Likewise.
9474 * math/s_catanh.c (__catanh): Likewise.
9475 * math/s_catanhf.c (__catanhf): Likewise.
9476 * math/s_catanhl.c (__catanhl): Likewise.
9477 * math/s_catanl.c (__catanl): Likewise.
9478 * math/s_ccosh.c (__ccosh): Likewise.
9479 * math/s_ccoshf.c (__ccoshf): Likewise.
9480 * math/s_ccoshl.c (__ccoshl): Likewise.
9481 * math/s_cexp.c (__cexp): Likewise.
9482 * math/s_cexpf.c (__cexpf): Likewise.
9483 * math/s_cexpl.c (__cexpl): Likewise.
9484 * math/s_clog10.c (__clog10): Likewise.
9485 * math/s_clog10f.c (__clog10f): Likewise.
9486 * math/s_clog10l.c (__clog10l): Likewise.
9487 * math/s_clog.c (__clog): Likewise.
9488 * math/s_clogf.c (__clogf): Likewise.
9489 * math/s_clogl.c (__clogl): Likewise.
9490 * math/s_csin.c (__csin): Likewise.
9491 * math/s_csinf.c (__csinf): Likewise.
9492 * math/s_csinh.c (__csinh): Likewise.
9493 * math/s_csinhf.c (__csinhf): Likewise.
9494 * math/s_csinhl.c (__csinhl): Likewise.
9495 * math/s_csinl.c (__csinl): Likewise.
9496 * math/s_csqrt.c (__csqrt): Likewise.
9497 * math/s_csqrtf.c (__csqrtf): Likewise.
9498 * math/s_csqrtl.c (__csqrtl): Likewise.
9499 * math/s_ctan.c (__ctan): Likewise.
9500 * math/s_ctanf.c (__ctanf): Likewise.
9501 * math/s_ctanh.c (__ctanh): Likewise.
9502 * math/s_ctanhf.c (__ctanhf): Likewise.
9503 * math/s_ctanhl.c (__ctanhl): Likewise.
9504 * math/s_ctanl.c (__ctanl): Likewise.
9505 * math/w_pow.c: Likewise.
9506 * math/w_powf.c: Likewise.
9507 * math/w_powl.c: Likewise.
9508 * math/w_scalb.c (sysv_scalb): Likewise.
9509 * math/w_scalbf.c (sysv_scalbf): Likewise.
9510 * math/w_scalbl.c (sysv_scalbl): Likewise.
9511 * misc/error.c (error_tail): Likewise.
9512 * misc/pselect.c (__pselect): Likewise.
9513 * nis/nis_callback.c (__nis_create_callback): Likewise.
9514 * nis/nis_call.c (__nisfind_server): Likewise.
9515 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9516 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9517 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9518 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9519 * nis/nis_lookup.c (nis_lookup): Likewise.
9520 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9521 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9522 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9523 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9524 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9525 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9526 * nis/nss_compat/compat-initgroups.c (add_group)
9527 (internal_getgrent_r): Likewise.
9528 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9529 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9530 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9531 (internal_getspnam_r): Likewise.
9532 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9533 (_nss_nis_getaliasbyname_r): Likewise.
9534 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9535 (_nss_nis_getntohost_r): Likewise.
9536 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9537 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9538 (_nss_nis_getgrgid_r): Likewise.
9539 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9540 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9541 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9542 (_nss_nis_gethostbyname4_r): Likewise.
9543 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9544 (initgroups_netid): Likewise.
9545 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9546 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9547 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9548 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9549 (_nss_nis_getprotobynumber_r): Likewise.
9550 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9551 (_nss_nis_getsecretkey): Likewise.
9552 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9553 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9554 (_nss_nis_getpwuid_r): Likewise.
9555 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9556 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9557 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9558 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9559 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9560 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9561 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9563 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9564 (_nss_nisplus_getntohost_r): Likewise.
9565 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9566 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9567 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9568 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9570 * nis/nss_nisplus/nisplus-initgroups.c
9571 (_nss_nisplus_initgroups_dyn): Likewise.
9572 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9573 (_nss_nisplus_getnetbyaddr_r): Likewise.
9574 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9575 (_nss_nisplus_getprotobynumber_r): Likewise.
9576 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9577 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9578 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9580 * nis/nss_nisplus/nisplus-service.c
9581 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9582 (_nss_nisplus_getservbyport_r): Likewise.
9583 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9584 (_nss_nisplus_getspnam_r): Likewise.
9585 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9587 * nscd/aicache.c (addhstaiX): Likewise.
9588 * nscd/cache.c (cache_search, prune_cache): Likewise.
9589 * nscd/connections.c (register_traced_file, send_ro_fd)
9590 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9591 (main_loop_epoll): Likewise.
9592 * nscd/grpcache.c (addgrbyX): Likewise.
9593 * nscd/hstcache.c (addhstbyX): Likewise.
9594 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9595 * nscd/mem.c (gc, mempool_alloc): Likewise.
9596 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9597 (addinnetgrX): Likewise.
9598 * nscd/nscd-client.h (__nscd_acquire_maplock)
9599 (__nscd_drop_map_ref): Likewise.
9600 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9601 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9602 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9604 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9605 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9606 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9607 (__nscd_get_map_ref): Likewise.
9608 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9609 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9611 * nscd/pwdcache.c (addpwbyX): Likewise.
9612 * nscd/selinux.c (preserve_capabilities): Likewise.
9613 * nscd/servicescache.c (addservbyX): Likewise.
9614 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9615 * posix/fnmatch.c (fnmatch): Likewise.
9616 * posix/getopt.c (_getopt_internal_r): Likewise.
9617 * posix/glob.c (glob, glob_in_dir): Likewise.
9618 * posix/wordexp.c (exec_comm_child): Likewise.
9619 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9620 (getanswer_r, gaih_getanswer_slice): Likewise.
9621 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9622 * resolv/res_init.c: Likewise.
9623 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9624 * resolv/res_query.c (__libc_res_nquery): Likewise.
9625 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9627 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9628 * stdio-common/perror.c (perror): Likewise.
9629 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9630 * stdio-common/tmpnam.c (tmpnam): Likewise.
9631 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9632 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9633 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9635 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9636 * stdlib/putenv.c (putenv): Likewise.
9637 * stdlib/setenv.c (__add_to_environ): Likewise.
9638 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9639 * stdlib/strtol_l.c (INTERNAL): Likewise.
9640 * string/memmem.c (memmem): Likewise.
9641 * string/strerror.c (strerror): Likewise.
9642 * string/strnlen.c (__strnlen): Likewise.
9643 * string/test-memmem.c (simple_memmem): Likewise.
9644 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9645 * sunrpc/pm_getport.c (__get_socket): Likewise.
9646 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9647 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9648 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9649 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9651 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9652 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9653 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9654 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9655 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9656 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9658 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9660 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9661 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9662 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9663 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9664 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9666 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9667 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9668 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9669 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9670 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9671 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9673 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9675 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9677 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9678 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9679 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9680 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9681 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9682 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9683 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9685 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9686 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9687 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9691 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9692 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9694 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9696 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9698 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9700 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9701 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9702 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9704 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9705 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9706 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9707 * sysdeps/posix/sleep.c: Likewise.
9708 * sysdeps/posix/tempname.c: Likewise.
9709 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9710 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9712 * sysdeps/powerpc/powerpc32/dl-machine.h
9713 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9714 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9715 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9716 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9717 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9719 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9720 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9721 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9722 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9723 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9724 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9725 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9726 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9727 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9728 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9730 (elf_machine_lazy_rel): Likewise.
9731 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9732 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9733 (elf_machine_lazy_rel): Likewise.
9734 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9735 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9736 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9737 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9738 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9739 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9740 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9743 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9744 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9745 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9746 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9747 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9748 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9749 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9750 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9751 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9752 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9753 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9755 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9756 (__posix_fallocate64_l64): Likewise.
9757 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9758 (posix_fallocate): Likewise.
9759 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9761 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9762 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9763 (getifaddrs_internal): Likewise.
9764 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9765 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9766 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9767 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9768 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9769 (__posix_fallocate64_l64): Likewise.
9770 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9772 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9773 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9774 (__get_clockfreq): Likewise.
9775 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9776 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9777 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9778 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9779 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9780 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9781 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9782 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9784 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9785 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9786 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9787 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9788 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9789 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9790 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9792 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9793 (posix_fallocate): Likewise.
9794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9795 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9796 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9797 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9798 (elf_machine_rela, elf_machine_rela_relative)
9799 (elf_machine_lazy_rel): Likewise.
9800 * time/asctime.c (asctime_internal): Likewise.
9801 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9802 * time/tzset.c (__tzset_parse_tz): Likewise.
9803 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9804 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9805 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9806 * wcsmbs/wcsmbsload.h: Likewise.
9809 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9811 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9812 (arena_get2): Remove THREAD_STATS conditionals.
9813 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9814 (__malloc_stats, int): Likewise.
9816 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9818 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9819 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9821 * manual/setjmp.texi: Fix typos/grammar errors.
9823 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9824 Only return early when n is <= 0. Delete unused return statement.
9826 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9827 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9828 * debug/tst-longjmp_chk3.c: New file.
9830 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9831 (test_main): Replace code with set_fortify_handler call.
9832 * debug/test-strcpy_chk.c: Likewise.
9833 * debug/tst-chk1.c: Likewise.
9834 * debug/tst-longjmp_chk.c: Likewise.
9835 * test-skeleton.c: Include fcntl.h & paths.h
9836 (set_fortify_handler): Define.
9838 * debug/tst-longjmp_chk.c: Add header comment and include
9840 (do_test): Mark static.
9841 (TEST_FUNCTION): Define.
9843 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9844 (IP_PMTUDISC_INTERFACE): Likewise.
9845 (IP_MULTICAST_IF): Likewise.
9846 (IP_MULTICAST_TTL): Likewise.
9847 (IP_MULTICAST_LOOP): Likewise.
9848 (IP_ADD_MEMBERSHIP): Likewise.
9849 (IP_DROP_MEMBERSHIP): Likewise.
9850 (IP_UNBLOCK_SOURCE): Likewise.
9851 (IP_BLOCK_SOURCE): Likewise.
9852 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9853 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9854 (IP_MSFILTER): Likewise.
9855 (MCAST_JOIN_GROUP): Likewise.
9856 (MCAST_BLOCK_SOURCE): Likewise.
9857 (MCAST_UNBLOCK_SOURCE): Likewise.
9858 (MCAST_LEAVE_GROUP): Likewise.
9859 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9860 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9861 (MCAST_MSFILTER): Likewise.
9862 (IP_MULTICAST_ALL): Likewise.
9863 (IP_UNICAST_IF): Likewise.
9865 * timezone/Makefile: Delete $(have-ksh) check.
9866 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9867 * timezone/tzselect.ksh: Add +x mode bits.
9869 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9870 (ANON_INODE_FS_MAGIC): Likewise.
9871 (BDEVFS_MAGIC): Likewise.
9872 (BINFMTFS_MAGIC): Likewise.
9873 (BTRFS_TEST_MAGIC): Likewise.
9874 (CRAMFS_MAGIC_WEND): Likewise.
9875 (DEBUGFS_MAGIC): Likewise.
9876 (ECRYPTFS_SUPER_MAGIC): Likewise.
9877 (EXT3_SUPER_MAGIC): Likewise.
9878 (EXT4_SUPER_MAGIC): Likewise.
9879 (FUTEXFS_SUPER_MAGIC): Likewise.
9880 (HOSTFS_SUPER_MAGIC): Likewise.
9881 (HUGETLBFS_MAGIC): Likewise.
9882 (MINIX3_SUPER_MAGIC): Likewise.
9883 (MTD_INODE_FS_MAGIC): Likewise.
9884 (NILFS_SUPER_MAGIC): Likewise.
9885 (OPENPROM_SUPER_MAGIC): Likewise.
9886 (PIPEFS_MAGIC): Likewise.
9887 (PSTOREFS_MAGIC): Likewise.
9888 (QNX6_SUPER_MAGIC): Likewise.
9889 (RAMFS_MAGIC): Likewise.
9890 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9891 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9892 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9893 (SECURITYFS_MAGIC): Likewise.
9894 (SELINUX_MAGIC): Likewise.
9895 (SMACK_MAGIC): Likewise.
9896 (SOCKFS_MAGIC): Likewise.
9897 (SQUASHFS_MAGIC): Likewise.
9898 (STACK_END_MAGIC): Likewise.
9899 (TMPFS_MAGIC): Likewise.
9900 (USBDEVICE_SUPER_MAGIC): Likewise.
9901 (V9FS_MAGIC): Likewise.
9902 (XENFS_SUPER_MAGIC): Likewise.
9903 (CRAMFS_MAGIC): Fix typo in comment.
9904 (EXT2_SUPER_MAGIC): Update comment.
9905 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9907 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9909 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9910 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9911 * sysdeps/unix/sysv/linux/arm: Move directory from
9912 ports/sysdeps/unix/sysv/linux/arm.
9913 * README: Update listing for arm-*-linux-gnueabi.
9915 * README: Remove mention of am33.
9917 2014-02-07 Roland McGrath <roland@hack.frob.com>
9919 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9920 than the comma operator, to avoid "rhs of comma has no effect"
9922 (__sigfillset, __sigandset, __sigorset): Likewise.
9923 * include/signal.h (__sigemptyset): Likewise.
9924 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9926 2014-02-07 Allan McRae <allan@archlinux.org>
9928 * version.h (RELEASE): Set to "development".
9929 (VERSION): Set to "2.19.90"
9930 * NEWS: Add 2.20 section.
9932 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9935 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9937 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9939 * manual/contrib.texi: Update entry for Carlos O'Donell,
9940 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9942 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9944 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9946 * sysdeps/unix/sysv/linux/kernel-features.h
9947 [__LINUX_KERNEL_VERSION >= 0x020621]
9948 (__ASSUME_PROC_PID_TASK_COMM): Define.
9950 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9953 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9954 conversion when destination buffer does not have enough space.
9955 * libio/tst-ftell-partial-wide.c: New test case.
9956 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9958 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9959 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9960 Leonard and Allan McRae.
9962 2014-02-04 David S. Miller <davem@davemloft.net>
9964 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9967 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9996 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9998 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9999 * shlib-versions: Likewise.
10001 2014-02-04 Roland McGrath <roland@hack.frob.com>
10002 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10004 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10005 (abilist-pattern): New variable, set to %-le.abilist.
10007 * Makerules (abilist-pattern): New variable.
10008 (vpath): Use $(abilist-pattern) in place of %.abilist.
10009 (check-abi-% pattern rule): Likewise.
10010 (check-abi, update-abi): Likewise.
10012 2014-02-04 Eric Wong <normalperson@yhbt.net>
10014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10016 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10018 * manual/startup.texi: Add next, previous, and top entries for
10019 the `Program Arguments' and `Environment Variables' nodes.
10021 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10023 * manual/macros.texi: Add comments before MTASC-safety macros.
10025 * manual/users.texi: Document MTASC-safety properties.
10027 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10028 (pthread_getspecific, pthread_setspecific): Format with
10029 @deftypefun, and add @safety note.
10030 * manual/signal.texi: Move comments that analyze the above
10031 functions to their home place.
10033 2014-02-03 Allan McRae <allan@archlinux.org>
10035 * po/sl.po: Update Slovenian translation from translation project.
10037 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10039 * manual/time.texi (timegm): Add missing blank after @c.
10040 Reported by Joseph Myers <joseph@codesourcery.com>.
10042 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10044 * manual/check-safety.sh: New.
10045 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10047 * manual/terminal.texi: Document MTASC-safety properties.
10049 * manual/filesys.texi: Document MTASC-safety properties.
10051 * manual/errno.texi: Document MTASC-safety properties.
10053 * manual/intro.texi: Document safety identifiers and
10056 * manual/string.texi (wcstok): Fix prototype.
10057 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10059 * manual/time.texi: Document MTASC-safety properties.
10061 * manual/string.texi: Document MTASC-safety properties.
10063 * manual/threads.texi: Document MTASC-safety properties.
10065 * manual/stdio.texi: Document MTASC-safety properties.
10067 * manual/syslog.texi: Document MTASC-safety properties.
10069 * manual/sysinfo.texi: Document MTASC-safety properties.
10071 * manual/startup.texi: Document MTASC-safety properties.
10073 * manual/socket.texi: Document MTASC-safety properties.
10075 * manual/signal.texi: Document MTASC-safety properties.
10077 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10079 * manual/setjmp.texi: Document MTASC-safety properties.
10081 * manual/search.texi: Document MTASC-safety properties.
10083 * manual/resource.texi: Document MTASC-safety properties.
10085 * manual/process.texi: Document MTASC-safety properties.
10087 * manual/platform.texi: Document MTASC-safety properties.
10089 * manual/pipe.texi: Document MTASC-safety properties.
10091 * manual/pattern.texi: Document MTASC-safety properties.
10093 * manual/message.texi: Document MTASC-safety properties.
10096 * manual/memory.texi: Document MTASC-safety properties.
10098 * manual/math.texi: Document MTASC-safety properties.
10100 * manual/locale.texi: Document MTASC-safety properties.
10102 * manual/llio.texi: Document MTASC-safety properties.
10104 * manual/libdl.texi: New.
10106 * manual/lang.texi: Document MTASC-safety properties.
10108 * manual/job.texi: Document MTASC-safety properties.
10110 * manual/getopt.texi: Document MTASC-safety properties.
10112 * manual/ctype.texi: Document MTASC-safety properties.
10114 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10117 * csu/libc-tls.c (static_map): Remove variable.
10118 (__libc_setup_tls): Use main executable's link map for TLS data.
10119 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10120 casing for LM_ID_BASE and GL(dl_nns).
10121 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10122 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10123 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10124 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10125 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10127 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10130 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10132 * manual/debug.texi: Document MTASC-safety properties.
10134 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10137 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10138 of __x86_64__ when disabling x87 inline functions.
10140 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10142 * manual/charset.texi: Document MTASC-safety properties.
10144 * manual/crypt.texi: Document MTASC-safety properties.
10146 * manual/conf.texi: Document MTASC-safety properties.
10148 * manual/arith.texi: Document MTASC-safety properties.
10150 * manual/argp.texi: Document MTASC-safety properties.
10152 * manual/macros.texi: Introduce macros to document multi
10153 thread, asynchronous signal and asynchronous cancellation
10155 * manual/intro.texi: Introduce the properties themselves.
10157 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10159 * sysdeps/sh/sh4/Makefile: New file.
10161 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10163 * math/gen-libm-test.pl ($srcdir): New variable.
10164 ($auto_input): Use it.
10166 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10169 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10170 access beyond array bounds when parsing netgroups file.
10172 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10173 the old buffer before realloc.
10175 2014-01-27 Allan McRae <allan@archlinux.org>
10177 * po/fr.po: Update French translation from translation project.
10179 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10181 * sysdeps/sh/libm-test-ulps: Regenerate.
10183 2014-01-24 David S. Miller <davem@davemloft.net>
10185 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10187 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10189 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10190 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10192 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10195 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10196 string pointers after reallocation.
10198 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10200 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10201 __SH4A__ instead of __SH_FPU_ANY__.
10203 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10205 * sysdeps/sh/fpu_control.h: New file.
10206 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10207 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10208 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10209 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10210 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10211 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10212 * sysdeps/sh/sys/ucontext.h: Remove.
10213 * sysdeps/sh/sys: Remove directory.
10215 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10217 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10218 s390/sys/ucontext.h.
10219 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10220 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10222 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10225 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10227 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10230 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10231 Adjust the vDSO correctly for internal calls.
10232 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10234 2014-01-20 Allan McRae <allan@archlinux.org>
10236 * po/ca.po: Update Catalan translation from translation project.
10238 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10240 * sysdeps/s390/sotruss-lib.c: New file.
10242 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10245 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10246 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10247 local calls issues by not having a PLT stub required for IFUNC calls.
10248 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10250 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10252 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10253 * math/test-fpucw-static.c: Likewise.
10255 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10258 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10260 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10262 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10263 implementation for powerpc.
10265 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10268 * sysdeps/posix/system.c (__libc_system): Do not enable
10269 asynchronous cancellation.
10271 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10274 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10275 handling only for numbers special also in the IEEE case.
10277 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10279 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10281 2014-01-11 Allan McRae <allan@archlinux.org>
10283 * po/bg.po: Update Bulgarian translation from translation project.
10285 * po/de.po: Update German translation from translation project.
10287 2014-01-10 Roland McGrath <roland@hack.frob.com>
10289 * sysdeps/generic/gcc-compat.h: New file.
10291 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10293 * benchtests/asin-inputs: Correct slow inputs.
10294 * benchtests/acos-inputs: Likewise.
10296 2014-01-10 Allan McRae <allan@archlinux.org>
10298 * po:sv.po: Update Swedish translation from translation project.
10300 * po/vi.po: Update Vietnamese translation from translation project.
10302 * po/eo.po: Update Esperanto translation from translation project.
10304 * po/cs.po: Update Czech translation from translation project.
10306 * po/nl.po: Update Dutch translation from translation project.
10308 * po/pl.po: Update Polish translation from translation project.
10310 * po/ru.po: Update Russian translation from translation project.
10312 * po/uk.po: Update Ukrainian translation from translation project.
10314 2014-01-08 Brooks Moses <bmoses@google.com>
10316 * elf/dl-load.c: Fix comment typo.
10318 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10320 * po/header.pot: Rename to...
10321 * po/pot.header: ... this.
10322 * po/Makefile: Use pot.header.
10324 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10325 Maxim Kuvyrkov <maxim@kugelworks.com>
10328 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10329 SRC and DEST against LEN.
10331 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10334 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10336 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10338 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10342 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10345 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10346 for large positive arguments.
10348 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10350 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10352 * math/auto-libm-test-in: Mark various tests with
10353 xfail-rounding:ldbl-128ibm.
10354 * math/auto-libm-test-out: Regenerated.
10357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10358 Increase overflow threshold.
10360 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10363 * stdio-common/vfprintf.c: Check for integer overflow.
10365 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10367 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10368 the first argument and return value of __tls_get_addr_internal.
10370 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10372 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10373 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10375 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10377 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10378 * sysdeps/s390/rtld-global-offsets.sym: New file.
10379 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10381 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10382 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10383 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10385 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10386 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10392 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10393 halfs of GPRs for high_gprs contexts.
10394 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10395 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10397 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10399 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10401 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10402 for high GPRs (uc_high_gprs) and for future extensions
10404 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10405 for future extensions (__reserved).
10406 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10408 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10409 SC_HIGHGPRS offset definition.
10410 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10411 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10413 * Versions.def: Add GLIBC_2.19 for libpthread.
10414 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10415 siglongjmp for libpthread with GLIBC_2.19 symver.
10416 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10417 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10418 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10419 * sysdeps/s390/__longjmp.c: New file.
10420 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10421 * sysdeps/s390/longjmp.c: New file.
10422 * sysdeps/s390/setjmp.S: New file.
10423 * sysdeps/s390/sigjmp.S: New file.
10424 * sysdeps/s390/v1-longjmp.c: New file.
10425 * sysdeps/s390/v1-setjmp.h: New file.
10426 * sysdeps/s390/v1-sigjmp.c: New file.
10427 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10428 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10429 GLIBC_2.19 version.
10430 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10431 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10432 versioned symbols for ____longjmp_chk.
10433 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10443 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10444 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10445 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10446 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10447 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10448 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10449 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10450 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10451 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10452 * sysdeps/s390/rtld-__longjmp.c: New file.
10453 * sysdeps/s390/rtld-setjmp.S: New file.
10455 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10458 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10459 Return -__logl (x) for small positive arguments without evaluating
10462 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10464 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10466 (__ptrace_peeksiginfo_args): ... this.
10467 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10468 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10469 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10471 2014-01-06 Allan McRae <allan@archlinux.org>
10473 * inet/netinet/in.h: Fix typo in comment.
10475 2014-01-05 Andreas Jaeger <aj@suse.de>
10477 * sysdeps/i386/fpu/libm-test-ulps: Update.
10479 2014-01-05 Allan McRae <allan@archlinux.org>
10481 * po/libc.pot: Regenerated.
10483 * malloc/memusagestat.c: Fix gettext call formatting.
10485 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10487 * nscd/nscd.c: Improve usage() output.
10489 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10491 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10492 * sysdeps/unix/sysv/linux/configure: Regenerated.
10493 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10494 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10496 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10499 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10500 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10502 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10504 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10505 extra tokens at end of #undef directive.
10506 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10507 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10508 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10510 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10512 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10514 * math/auto-libm-test-in: Mark various tests with
10515 xfail-rounding:ldbl-128ibm.
10516 * math/auto-libm-test-out: Regenerated.
10518 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10521 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10522 numbers with subnormal high part when calculating exponent.
10525 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10531 (__ieee754_acoshl): Use __log1pl not __log1p.
10533 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10535 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10536 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10537 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10538 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10539 (reused_arena, arena_get2): Convert to GNU style.
10540 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10541 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10542 (memalign_check, __malloc_set_state): Likewise.
10543 * malloc/mallocbug.c (main): Likewise.
10544 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10545 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10546 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10547 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10548 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10549 (__posix_memalign, malloc_info): Likewise.
10550 * malloc/malloc.h: Likewise.
10551 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10552 (mallochook, memalignhook, reallochook, mabort): Likewise.
10553 * malloc/mcheck.h: Likewise.
10554 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10555 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10556 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10557 * malloc/morecore.c (__default_morecore): Likewise.
10558 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10559 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10560 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10561 (print_and_abort): Likewise.
10562 * malloc/obstack.h: Likewise.
10563 * malloc/set-freeres.c (__libc_freeres): Likewise.
10564 * malloc/tst-mallocstate.c (main): Likewise.
10565 * malloc/tst-mtrace.c (main): Likewise.
10566 * malloc/tst-realloc.c (do_test): Likewise.
10568 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10571 * nscd/netgroupcache.c (do_notfound): New function.
10572 (addgetnetgrentX): Use it.
10575 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10576 NSS_STATUS_NOTFOUND.
10578 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10580 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10583 2014-01-01 Allan McRae <allan@archlinux.org>
10585 * scripts/update-copyrights: Update configure input file suffix.
10587 * NEWS: Update copyright year.
10588 * catgets/gencat.c: Likewise.
10589 * csu/version.c: Likewise.
10590 * debug/catchsegv.sh: Likewise.
10591 * debug/pcprofiledump.c: Likewise.
10592 * debug/xtrace.sh: Likewise.
10593 * elf/ldconfig.c: Likewise.
10594 * elf/ldd.bash.in: Likewise.
10595 * elf/pldd.c: Likewise.
10596 * elf/sotruss.ksh: Likewise.
10597 * elf/sprof.c: Likewise.
10598 * iconv/iconv_prog.c: Likewise.
10599 * iconv/iconvconfig.c: Likewise.
10600 * locale/programs/locale.c: Likewise.
10601 * locale/programs/localedef.c: Likewise.
10602 * login/programs/pt_chown.c: Likewise.
10603 * malloc/memusage.sh: Likewise.
10604 * malloc/memusagestat.c: Likewise.
10605 * malloc/mtrace.pl: Likewise.
10606 * manual/libc.texinfo: Likewise.
10607 * nscd/nscd.c: Likewise.
10608 * nss/getent.c: Likewise.
10609 * nss/makedb.c: Likewise.
10610 * posix/getconf.c: Likewise.
10611 * scripts/test-installation.pl: Likewise.
10613 * All files with FSF copyright notices: Update copyright dates
10614 using scripts/update-copyrights.
10615 * intl/plural.c: Regenerated.
10616 * locale/programs/charmap-kw.h: Likewise.
10617 * locale/programs/locfile-kw.h: Likewise.
10619 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10621 * sysdeps/unix/sysv/linux/configure: Regenerated.
10622 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10623 the linux/fanotify.h header.
10624 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10625 HAVE_LINUX_FANOTIFY_H is defined.
10627 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10629 * benchtests/cos-inputs: New inputs.
10630 * benchtests/sin-inputs: Likewise.
10632 * benchtests/atan-inputs: New inputs. Fix name of multiple
10633 precision fallback inputs.
10635 * benchtests/atanh-inputs: New inputs.
10636 * benchtests/tanh-inputs: Likewise.
10638 * benchtests/acosh-inputs: New inputs.
10639 * benchtests/asinh-inputs: Likewise.
10641 * benchtests/cosh-inputs: New inputs.
10642 * benchtests/sinh-inputs: Likewise.
10644 * benchtests/acos-inputs: Add more inputs.
10645 * benchtests/asin-inputs: Likewise.
10647 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10650 * manual/arith.texi: Fix spelling.
10651 * manual/charset.texi: Likewise.
10652 * manual/errno.texi: Likewise.
10653 * manual/filesys.texi: Likewise.
10654 * manual/lang.texi: Likewise.
10655 * manual/llio.texi: Likewise.
10656 * manual/locale.texi: Likewise.
10657 * manual/message.texi: Likewise.
10658 * manual/resource.texi: Likewise.
10659 * manual/search.texi: Likewise.
10660 * manual/setjmp.texi: Likewise.
10661 * manual/stdio.texi: Likewise.
10662 * manual/string.texi: Likewise.
10663 * manual/sysinfo.texi: Likewise.
10664 * manual/time.texi: Likewise.
10666 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10668 * po/sl.po: New file.
10670 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10672 * .gitignore: Add core/.gdbinit/.gdb_history.
10674 2013-12-27 Allan McRae <allan@archlinux.org>
10677 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10678 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10680 2013-12-24 Brooks Moses <bmoses@google.com>
10682 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10683 all compilers that claim C++98 compliance, not just GCC.
10684 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10687 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10689 * NEWS: Restore accidentally deleted bug-fix entries.
10691 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10692 Ondřej Bílka <neleai@seznam.cz>
10695 * malloc/malloc.c (_int_free): Perform sanity check only if we
10698 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10701 * manual/stdio.texi (String Input Conversions): Clarify that character
10702 classes are not supported.
10704 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10708 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10711 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10712 Calculate results for small negative arguments directly rather
10713 than using reflection formula with special underflow handling.
10715 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10716 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10717 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10718 (fchflags): Likewise.
10719 (revoke): Likewise.
10720 (setlogin): Likewise.
10721 (sigaltstack): Likewise.
10723 (sigblock): Remove.
10724 (sigsetmask): Likewise.
10726 (waitpid): Likewise.
10727 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10728 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10730 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10731 * sysdeps/unix/bsd/Makefile: ... here.
10732 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10733 * sysdeps/unix/bsd/Versions: ... here.
10734 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10735 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10736 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10737 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10738 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10739 * sysdeps/unix/bsd/sigblock.c: ... here.
10740 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10741 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10742 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10743 * sysdeps/unix/bsd/sigvec.c: ... here.
10744 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10745 * sysdeps/unix/bsd/tcdrain.c: ... here.
10746 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10747 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10748 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10749 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10750 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10751 * sysdeps/unix/bsd/wait.c: ... here.
10752 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10753 * sysdeps/unix/bsd/wait3.c: ... here.
10754 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10755 * sysdeps/unix/bsd/waitpid.c: ... here.
10757 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10760 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10761 round-to-nearest for [!USE_AS_EXPM1L].
10762 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10763 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10764 more tests of exp and exp10. Expect some exp10 tests to miss
10765 exceptions or fail in directed rounding modes.
10766 * math/auto-libm-test-out: Regenerated.
10767 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10768 (exp10_test_tonearest): New function.
10769 (exp10_towardzero_test_data): New array.
10770 (exp10_test_towardzero): New function.
10771 (exp10_downward_test_data): New array.
10772 (exp10_test_downward): New function.
10773 (exp10_upward_test_data): New array.
10774 (exp10_test_upward): New function.
10775 (main): Call the new functions.
10776 * sysdeps/i386/fpu/libm-test-ulps: Update.
10777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10779 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10781 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10782 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10783 * math/auto-libm-test-out: Regenerated.
10784 * math/libm-test.inc (acosh_test_data): Add more tests.
10785 (atanh_test_data): Likewise.
10786 (ceil_test_data): Likewise.
10787 (copysign_test_data): Likewise.
10788 * sysdeps/i386/fpu/libm-test-ulps: Update.
10789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10791 * timezone/checktab.awk: Update from tzcode 2013i.
10792 * timezone/private.h: Likewise.
10793 * timezone/scheck.c: Likewise.
10794 * timezone/tzfile.h: Likewise.
10795 * timezone/tzselect.ksh: Likewise.
10796 * timezone/zdump.c: Likewise.
10797 * timezone/zic.c: Likewise.
10799 * math/auto-libm-test-in: Add tests of cpow.
10800 * math/auto-libm-test-out: Regenerated.
10801 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10802 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10804 (func_calc_desc): Add mpc_cc_c union field.
10805 (test_functions): Add cpow.
10806 (special_fill_2pi): New function.
10807 (special_real_inputs): Add 2pi.
10808 (calc_generic_results): Handle mpc_cc_c.
10809 * sysdeps/i386/fpu/libm-test-ulps: Update.
10810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10812 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10813 csqrt, ctan and ctanh.
10814 * math/auto-libm-test-out: Regenerated.
10815 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10816 (TEST_COND_x86): Likewise.
10817 (ccos_test_data): Use AUTO_TESTS_c_c.
10818 (ccosh_test_data): Likewise.
10819 (cexp_test_data): Likewise.
10820 (clog_test_data): Likewise.
10821 (csqrt_test_data): Likewise.
10822 (ctan_test_data): Likewise.
10823 (ctan_tonearest_test_data): Likewise.
10824 (ctan_towardzero_test_data): Likewise.
10825 (ctan_downward_test_data): Likewise.
10826 (ctan_upward_test_data): Likewise.
10827 (ctanh_test_data): Likewise.
10828 (ctanh_tonearest_test_data): Likewise.
10829 (ctanh_towardzero_test_data): Likewise.
10830 (ctanh_downward_test_data): Likewise.
10831 (ctanh_upward_test_data): Likewise.
10832 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10834 (func_calc_desc): Add mpc_c_c union field.
10835 (FUNC_mpc_c_c): New macro.
10836 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10837 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10839 (special_fill_min_subnorm_p120): New function.
10840 (special_real_inputs): Add min_subnorm_p120.
10841 (calc_generic_results): Handle mpc_c_c.
10842 * sysdeps/i386/fpu/libm-test-ulps: Update.
10843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10845 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10847 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10848 (do_sin_slow): New functions.
10849 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10850 (cslow2, csloww1, csloww2): Use the new functions.
10852 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10853 Use M to change sign of result instead of X. Assume X is
10855 (csloww1): Likewise.
10859 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10860 arguments A and DA.
10864 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10866 (sloww1): Don't adjust sign of DX.
10867 (csloww1): Likewise.
10868 (sloww2): Use X directly and don't adjust sign of DX.
10869 (csloww2): Likewise.
10871 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10873 * math/auto-libm-test-in: Add tests of cabs and carg.
10874 * math/auto-libm-test-out: Regenerated.
10875 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10876 (carg_test_data): Likewise.
10877 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10879 (func_calc_desc): Add mpc_c_f union field.
10880 (test_functions): Add cabs and carg.
10881 (calc_generic_results): Handle mpc_c_f.
10883 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10884 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10885 as a macro and a compat symbol.
10886 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10887 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10888 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10889 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10890 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10891 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10893 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10895 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10897 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10899 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10901 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10903 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10904 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10907 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10911 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10913 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10914 trailing whitespace removed.
10915 * scripts/config.guess: Update to version 2013-11-29.
10916 * scripts/config.sub: Update to version 2013-10-01.
10918 * math/auto-libm-test-in: Add tests of sincos.
10919 * math/auto-libm-test-out: Regenerated.
10920 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10921 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10923 (func_calc_desc): Add mpfr_f_11 union field.
10924 (test_functions): Add sincos.
10925 (calc_generic_results): Handle mpfr_f_11.
10926 * sysdeps/i386/fpu/libm-test-ulps: Update.
10927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10929 2013-12-19 Andreas Schwab <schwab@suse.de>
10931 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10933 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10934 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10935 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10937 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10939 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10940 * sysdeps/i386/fpu/libm-test-ulps: Update.
10941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10944 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10945 round-to-nearest mode when using frndint.
10946 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10947 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10948 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10950 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10952 * math/auto-libm-test-out: Regenerated.
10953 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10954 (TEST_COND_x86): Likewise.
10955 (expm1_tonearest_test_data): New array.
10956 (expm1_test_tonearest): New function.
10957 (expm1_towardzero_test_data): New array.
10958 (expm1_test_towardzero): New function.
10959 (expm1_downward_test_data): New array.
10960 (expm1_test_downward): New function.
10961 (expm1_upward_test_data): New array.
10962 (expm1_test_upward): New function.
10963 (main): Run the new test functions.
10964 * sysdeps/i386/fpu/libm-test-ulps: Update.
10965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10967 * include/features.h: Update comment documenting feature test
10968 macros. Mention _DEFAULT_SOURCE in comment.
10969 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10970 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10971 _BSD_SOURCE and _SVID_SOURCE.
10972 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10973 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10974 !_SVID_SOURCE]: Likewise.
10975 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10976 (__USE_POSIX_IMPLICITLY): Define.
10977 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10978 (_POSIX_SOURCE): Undefine and redefine.
10979 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10980 (_POSIX_C_SOURCE): Likewise.
10981 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10982 (Feature Test Macros): Update documentation of default features.
10984 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10986 * benchtests/Makefile: Add bench-strtok.
10987 * benchtests/bench-strtok.c: New file: strtok benchtest.
10989 2013-12-19 Allan McRae <allan@archlinux.org>
10991 * manual/install.texi: Suppress menu for plain text output.
10992 * INSTALL: Regenerated.
10994 2013-12-18 Brooks Moses <bmoses@google.com>
10997 * misc/getauxval.c: Include errno.h.
10998 (__getauxval): Set errno to ENOENT if the requested type is not
11000 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11001 don't declare with __attribute_const__.
11002 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11003 * manual/startup.texi: Document that getauxval sets errno.
11005 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11007 * math/auto-libm-test-in: Add tests of jn and yn.
11008 * math/auto-libm-test-out: Regenerated.
11009 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11010 (yn_test_data): Likewise.
11011 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11013 (func_calc_desc): Add mpfr_if_f union field.
11014 (FUNC_mpfr_if_f): New macro.
11015 (test_functions): Add jn and yn.
11016 (calc_generic_results): Assert type of second input for
11017 mpfr_ff_f. Handle mpfr_if_f.
11018 (output_for_one_input_case): Disable all checking for arguments
11019 fitting floating-point types in case of an integer argument.
11020 * sysdeps/i386/fpu/libm-test-ulps: Update.
11021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11024 Don't expect fegetround reference in libm.so.
11026 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11028 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11029 $(config-cflags-nofma).
11031 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11033 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11034 * math/auto-libm-test-out: Regenerated.
11037 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11038 to determine exponent and adjust argument to have exponent of -1.
11039 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11041 * math/auto-libm-test-out: Regenerated.
11042 * sysdeps/i386/fpu/libm-test-ulps: Update.
11043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11045 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11047 * manual/probes.texi: Remove cases when per-thread arenas are
11050 2013-12-18 Andreas Schwab <schwab@suse.de>
11052 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11053 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11054 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11055 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11056 * sysdeps/i386/i686/multiarch/Makefile: Update.
11057 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11059 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11061 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11062 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11064 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11067 Support TZ transition times < 00:00:00.
11068 This is needed for version-3 tz-format files; it supports time
11069 stamps past 2037 for America/Godthab (the only entry in the tz
11070 database for which this change is relevant).
11071 * manual/time.texi (TZ Variable): Document transition times
11072 from -167:59:59 through -00:00:01.
11073 * time/tzset.c (tz_rule): Time of day is now signed.
11074 (__tzset_parse_tz): Parse negative time of day.
11076 Document TZ transition times >= 25:00:00.
11077 * manual/time.texi (TZ Variable): Document transition times from
11078 25:00:00 through 167:59:59. These are already supported, and this
11079 support will help with version-3 tz-format files.
11081 * manual/time.texi (TZ Variable): Modernize North America example
11082 to reflect current (i.e., 2007-and-later) daylight saving rules.
11084 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11086 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11088 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11089 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11092 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11093 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11094 * sysdeps/unix/bsd/clock.c: Likewise.
11095 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11096 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11097 * sysdeps/unix/bsd/init-posix.c: Likewise.
11098 * sysdeps/unix/bsd/poll.c: Likewise.
11099 * sysdeps/unix/bsd/ptsname.c: Likewise.
11100 * sysdeps/unix/bsd/seekdir.c: Likewise.
11101 * sysdeps/unix/bsd/setegid.c: Likewise.
11102 * sysdeps/unix/bsd/seteuid.c: Likewise.
11103 * sysdeps/unix/bsd/setgid.c: Likewise.
11104 * sysdeps/unix/bsd/setrgid.c: Likewise.
11105 * sysdeps/unix/bsd/setruid.c: Likewise.
11106 * sysdeps/unix/bsd/setsid.c: Likewise.
11107 * sysdeps/unix/bsd/setuid.c: Likewise.
11108 * sysdeps/unix/bsd/sigaction.c: Likewise.
11109 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11110 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11111 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11112 * sysdeps/unix/bsd/telldir.c: Likewise.
11113 * sysdeps/unix/bsd/times.c: Likewise.
11114 * sysdeps/unix/bsd/usleep.c: Likewise.
11116 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11117 ($(objpfx)libbsd-compat.a): Remove rule.
11119 * include/features.h (__FAVOR_BSD): Do not define.
11120 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11121 features conflicting with POSIX.
11122 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11123 (_BSD_SOURCE): Remove description of not being a subset of other
11124 feature test macros.
11125 * manual/job.texi (getpgrp): Do not document BSD version.
11126 (getpgid): Do not document by reference to BSD getpgrp.
11127 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11128 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11129 * signal/signal.h [__FAVOR_BSD]: Likewise.
11130 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11131 instead of making contents conditional on [__FAVOR_BSD].
11132 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11134 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11138 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11141 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11142 values below 2**-450, not 2**-500.
11143 * math/auto-libm-test-in: Don't allow spurious underflow from
11145 * math/auto-libm-test-out: Regenerated.
11149 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11150 values of ha and hb and sort them after adjusting subnormal
11152 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11154 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11155 values of ea and eb and sort them after adjusting subnormal
11157 * math/auto-libm-test-in: Do not expect some hypot tests of
11158 subnormals to fail. Add more hypot tests.
11159 * math/auto-libm-test-out: Regenerated.
11161 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11164 * sysdeps/sh/s_fma.c: New file.
11165 * sysdeps/sh/s_fmaf.c: New file.
11166 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11168 * sysdeps/sh/Implies: Add sh/soft-fp.
11170 2013-12-16 Roland McGrath <roland@hack.frob.com>
11172 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11173 level of indirection to members `objname', `errstring', `malloced'.
11174 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11175 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11176 it as the __longjmp argument (just pass 1 instead).
11177 (_dl_catch_error): Initialize C with argument pointers and address of
11178 volatile local ERRCODE rather than copying values out of C at return.
11180 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11182 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11183 * math/auto-libm-test-out: Regenerated.
11184 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11185 (hypot_test_data): Likewise.
11186 (pow_test_data): Likewise.
11187 (pow_tonearest_test_data): Likewise.
11188 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11190 (func_calc_desc): Add mpfr_ff_f union field.
11191 (FUNC_mpfr_ff_f): New macro.
11192 (test_functions): Add atan2, hypot and pow.
11193 (special_fill_min): New function.
11194 (special_fill_minus_min): Likewise.
11195 (special_fill_min_subnorm): Likewise.
11196 (special_fill_minus_min_subnorm): Likewise.
11197 (special_real_inputs): Add min, -min, min_subnorm and
11199 (calc_generic_results): Handle mpfr_ff_f.
11200 * sysdeps/i386/fpu/libm-test-ulps: Update.
11201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11203 2013-12-16 Will Newton <will.newton@linaro.org>
11205 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11206 (Aligned Memory Blocks): Add documentation for aligned_alloc
11207 and suggest it as an alternative to posix_memalign.
11208 (Hooks for Malloc): Document __memalign_hook is also called
11209 for aligned_alloc. (Summary of Malloc): Add summary for
11210 aligned alloc. Document __memalign_hook is also called
11213 2013-12-16 Will Newton <will.newton@linaro.org>
11215 * manual/memory.texi (Malloc Examples): Clarify default
11216 alignment documentation. Suggest posix_memalign rather
11217 than memalign or valloc.
11218 (Aligned Memory Blocks): Remove suggestion to use memalign
11219 or valloc. Remove obsolete comment about BSD.
11220 Document memalign errno values and mark the function obsolete.
11221 Document posix_memalign returned error codes. Mark valloc
11222 as obsolete. (Hooks for Malloc): __memalign_hook is also
11223 called for posix_memalign and valloc.
11224 (Summary of Malloc): Add posix_memalign to function summary.
11225 __memalign_hook is also called for posix_memalign and valloc.
11227 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11229 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11233 (sloww): Use mynumber union. Expand ternary operator into
11234 if-else statements.
11235 (cslow): use mynumber union.
11237 2013-12-16 Allan McRae <allan@archlinux.org>
11239 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11240 * configure: Regenerated.
11242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11245 * configure.ac: Added --enable-maintainer-mode. Check for
11246 autoconf when enabled.
11247 * configure: Regenerated.
11249 * nscd/nscd.service: New file.
11250 * nscd/nscd.tmpfiles: New file.
11252 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11255 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11256 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11257 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11258 (strstr): Add __strstr_sse2_unaligned ifunc.
11259 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11260 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11261 (strcasestr): Remove __strcasestr_sse42 ifunc.
11262 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11266 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11268 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11269 * sysdeps/sh/bits/fenv.h: ... here.
11270 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11272 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11274 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11277 hypotf multiarch implementations.
11278 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11279 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11280 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11281 multiarch hypot for PPC64.
11282 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11283 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11285 multiarch hypotf for PPC64.
11287 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11288 modff multiarch implementations.
11289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11292 multiarch modf for PPC64.
11293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11296 multiarch modff for PPC64.
11298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11299 and logl multiarch implementations.
11300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11303 multiarch logb for PPC64.
11304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11307 multiarch logb for PPC64.
11308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11311 multiarch logb for PPC64.
11313 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11314 isinff multiarch implementation.
11315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11319 multiarch isinf for PPC64.
11320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11323 multiarch isinff for PPC64.
11325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11326 finitef multiarch implementation.
11327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11331 multiarch finite for PPC64.
11332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11335 multiarch finitef for PPC64.
11337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11338 lrint multiarch implementation.
11339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11343 multiarch llrint for PPC64.
11344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11345 multiarch lrint for PPC64.
11347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11348 copysignf multiarch implementation.
11349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11354 multiarch copysign for PPC64.
11355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11356 multiarch copysignf for PPC64.
11358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11359 multiarch implementation.
11360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11368 multiarch llround for PPC64.
11369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11370 multiarch trunc for PPC64.
11371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11372 multiarch truncf for PPC64.
11374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11375 multiarch implementation.
11376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11384 multiarch llround for PPC64.
11385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11386 multiarch round for PPC64.
11387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11388 multiarch roundf for PPC64.
11390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11391 multiarch implementation.
11392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11400 multiarch llround for PPC64.
11401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11402 multiarch floor for PPC64.
11403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11404 multiarch floorf for PPC64.
11406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11407 multiarch implementation.
11408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11416 multiarch llround for PPC64.
11417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11418 multiarch ceil for PPC64.
11419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11420 multiarch ceilf for PPC64.
11422 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11423 multiarch implementation.
11424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11431 multiarch llround for PPC64.
11432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11433 multiarch lround for PPC64.
11435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11436 multiarch implementation.
11437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11444 multiarch isnan for PPC64.
11445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11446 multiarch isnanf for PPC64.
11448 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11449 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11450 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11451 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11452 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11455 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11456 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11457 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11458 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11461 multiarch implementations.
11462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11463 (__libc_ifunc_impl_list): Likewise.
11464 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11465 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11466 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11467 multiarch stpcpy for PPC64.
11469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11470 multiarch implementations.
11471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11472 (__libc_ifunc_impl_list): Likewise.
11473 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11474 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11475 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11476 multiarch strcpy for PPC64.
11478 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11479 redefine function name.
11480 (_wordcopy_fwd_dest_aligned): Likewise.
11481 (_wordcopy_bwd_aligned): Likewise.
11482 (_wordcopy_bwd_dest_aligned): Likewise.
11483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11484 multiarch implementations.
11485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11486 (__libc_ifunc_impl_list): Likewise.
11487 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11488 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11489 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11490 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11491 multiarch wcscpy for PPC64.
11493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11494 multiarch implementations.
11495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11496 (__libc_ifunc_impl_list): Likewise.
11497 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11498 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11499 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11500 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11501 multiarch wcscpy for PPC64.
11503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11504 multiarch implementations.
11505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11506 (__libc_ifunc_impl_list): Likewise.
11507 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11508 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11509 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11510 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11511 multiarch wcsrchr for PPC64.
11513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11514 multiarch implementations.
11515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11516 (__libc_ifunc_impl_list): Likewise.
11517 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11518 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11519 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11520 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11521 multiarch wcschr for PPC64.
11523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11524 multiarch implementations.
11525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11526 (__libc_ifunc_impl_list): Likewise.
11527 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11528 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11529 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11530 multiarch strchrnul for PPC64.
11532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11535 (__libc_ifunc_impl_list): Likewise.
11536 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11537 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11538 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11539 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11545 (__libc_ifunc_impl_list): Likewise.
11546 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11547 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11548 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11549 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11553 multiarch implementations.
11554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11555 (__libc_ifunc_impl_list): Likewise.
11556 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11557 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11558 strncasecmp for PPC64.
11559 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11560 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11561 multiarch strncasecmp_l for PPC64.
11563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11564 multiarch implementations.
11565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11566 (__libc_ifunc_impl_list): Likewise.
11567 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11568 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11569 multiarch strcasecmp for PPC64.
11570 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11573 multiarch strcasecmp_l for PPC64.
11575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11578 (__libc_ifunc_impl_list): Likewise.
11579 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11580 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11581 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11587 (__libc_ifunc_impl_list): Likewise.
11588 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11589 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11590 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11596 (__libc_ifunc_impl_list): Likewise.
11597 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11598 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11599 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11600 rawmemrchr for PPC64.
11602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11605 (__libc_ifunc_impl_list): Likewise.
11606 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11607 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11608 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11614 (__libc_ifunc_impl_list): Likewise.
11615 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11616 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11617 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11623 (__libc_ifunc_impl_list): Likewise.
11624 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11625 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11626 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11629 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11630 avoid cretion of __bzero symbol.
11631 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11633 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11635 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11638 multiarch implementations.
11639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11640 (__libc_ifunc_impl_list): Likewise.
11641 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11642 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11643 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11644 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11646 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11647 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11648 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11649 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11650 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11652 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11654 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11658 (__libc_ifunc_impl_list): Likewise.
11659 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11660 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11661 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11662 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11666 multiarch for POWER/PPC64.
11667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11668 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11669 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11670 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11671 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11672 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11673 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11674 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11675 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11678 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11679 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11680 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11681 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11682 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11683 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11684 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11685 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11686 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11687 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11688 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11689 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11690 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11691 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11692 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11701 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11703 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11705 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11707 * benchtests/Makefile (bench): Add exp2 and log2.
11708 (LDLIBS-bench-exp2): Add -lm.
11709 (LDLIBS-bench-log2): Likewise.
11710 * benchtests/exp2-inputs: New inputs file.
11711 * benchtests/log2-inputs: New inputs file.
11712 * benchtests/log-inputs: Add new inputs.
11713 * benchtests/tan-inputs: Likewise.
11715 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11717 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11719 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11720 (csloww2): ... from here.
11722 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11723 instead of structures.
11724 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11725 (POLYNOMIAL): Likewise.
11726 (TAYLOR_SLOW): Likewise.
11732 (sloww1); Likewise.
11733 (sloww2): Likewise.
11734 (bsloww1): Likewise.
11735 (bsloww2): Likewise.
11736 (cslow2): Likewise.
11737 (csloww): Likewise.
11738 (csloww1): Likewise.
11739 (csloww2): Likewise.
11741 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11743 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11744 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11745 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11746 * malloc/hooks.c (realloc_check): Likewise.
11748 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11749 * malloc/arena.c: Remove PER_THREAD conditional.
11750 [!PER_THREAD]: Remove code.
11751 (ptmalloc_unlock_all2): Likewise.
11752 (ptmalloc_init): Likewise.
11753 (_int_new_arena): Likewise.
11754 (arena_get2): Likewise.
11755 * malloc/hooks.c (__malloc_get_state): Likewise.
11756 (__malloc_set_state): Likewise.
11757 * malloc/malloc.c: Likewise.
11758 (struct malloc_state): Likewise.
11759 (struct malloc_par): Likewise.
11760 (__libc_realloc): Likewise.
11761 (__libc_mallopt): Likewise.
11763 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11765 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11767 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11769 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11770 macro to a function. Check for zero perturb_byte.
11771 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11773 * malloc/malloc.c: (force_reg): Remove.
11774 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11775 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11776 force_reg by atomic_forced_read.
11777 * malloc/arena.c (ptmalloc_init): Likewise.
11778 * malloc/hooks.c (top_check): Likewise.
11780 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11784 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11788 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11790 * math/auto-libm-test-in: Add tests of lgamma.
11791 * math/auto-libm-test-out: Regenerated.
11792 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11793 (M_LOG_2_SQRT_PIl): Likewise.
11794 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11795 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11797 (func_calc_desc): Add mpfr_f_f1 union field.
11798 (ARGS1): New macro.
11806 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11807 (test_functions): Add lgamma.
11808 (calc_generic_results): Handle mpfr_f_f1.
11809 * sysdeps/i386/fpu/libm-test-ulps: Update.
11810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11812 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11814 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11815 __mpn_add_n for PowerPC64/POWER7.
11816 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11817 __mpn_sub_n for PowerPC64/POWER7.
11819 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11820 __mpn_addmul_1 for PowerPC64.
11821 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11822 __mpn_submul_1 for PowerPC64.
11823 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11825 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11828 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11831 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11833 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11835 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11837 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11838 add multiarch folders.
11839 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11840 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11841 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11842 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11843 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11844 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11845 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11846 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11847 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11848 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11849 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11858 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11864 multiarch __ieee754_hypot for PowerPC32.
11865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11870 multiarch __ieee754_hypotf for PowerPC32.
11872 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11873 long_double_symbol only if __logbl is defined.
11874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11875 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11877 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11879 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11880 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11881 path for implementation.
11882 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11883 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11885 logb, and logbl multiarch implementations for PowerPC32.
11886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11891 multiarch logb for PowerPC32.
11892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11897 multiarch logbf for PowerPC32.
11898 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11902 multiarch logbl implementation for PowerPC32.
11904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11905 and modff multiarch implementations.
11906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11911 multiarch modf for PowerPC32.
11912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11917 multiarch modff for PowerPC32.
11919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11920 and lrintf multiarch implementations.
11921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11926 multiarch lrint for PowerPC32.
11927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11928 file: multiarch lrintf for PowerPC32.
11930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11931 and lroundf multiarch implementations.
11932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11939 multiarch lround for PowerPC32.
11940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11941 file: multiarch lroundf for PowerPC32.
11943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11944 copysign and copysignf multiarch implementations.
11945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11950 file: multiarch copysign for PowerPC32.
11951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11952 file: multiarch copysignf for PowerPC32.
11954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11955 and truncf multiarch implementations.
11956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11961 multiarch trunc for PowerPC32.
11962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11967 multiarch truncf for PowerPC32.
11969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11970 and roundf multiarch implementations.
11971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11976 multiarch round for PowerPC32.
11977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11982 multiarch roundf for PowerPC32.
11984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11985 and floorf multiarch implementations.
11986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11991 multiarch floor for PowerPC32.
11992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11997 multiarch floorf for PowerPC32.
11999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12000 and ceilf multiarch implementations.
12001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12006 multiarch ceil for PowerPC32.
12007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12012 multiarch ceilf for PowerPC32.
12014 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12016 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12017 FINITEF is defined.
12018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12019 and finitef multiarch implementations.
12020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12025 multiarch finite for PowerPC32.
12026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12029 file: multiarch finitef for PowerPC32.
12031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12032 and isinff multiarch implementations.
12033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12038 multiarch isinf for PowerPC32.
12039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12042 multiarch isinff for PowerPC32.
12044 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12045 alias when __isnan is defined.
12046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12047 and isnanf multiarch implementations.
12048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12057 multiarch isnan for PowerPC32.
12058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12063 multiarch isnanf for PowerPC32.
12065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12066 and sqrtf multiarch implementations.
12067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12072 multiarch sqrt for PowerPC32.
12073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12078 multiarch sqrtf for PowerPC32.
12080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12081 and llroundf multiarch implementations.
12082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12089 file: multiarch llround for PowerPC32.
12090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12091 file: multiarch llroundf for PowerPC32.
12093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12094 multiarch PowerPC32 fpu implementations.
12095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12100 multiarch llrint for PowerPC32.
12101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12112 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12114 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12117 multiarch wordcopy for PPC32.
12118 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12120 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12121 (__libc_ifunc_impl_list): Likewise.
12122 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12123 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12124 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12125 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12126 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12127 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12129 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12130 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12132 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12137 multiarch wcscpy for PPC32.
12138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12141 (__libc_ifunc_impl_list): Likewise.
12142 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12143 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12144 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12145 sysdeps/powerpc/power6/wcscpy.c.
12147 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12155 multiarch wcsrchr for PPC32.
12156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12159 (__libc_ifunc_impl_list): Likewise.
12160 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12161 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12162 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12163 sysdeps/powerpc/power6/wcsrchr.c.
12165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12171 multiarch wcschr for PPc32.
12172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12175 (__libc_ifunc_impl_list): Likewise.
12176 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12177 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12178 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12179 sysdeps/powerpc/power6/wcschr.c.
12181 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12182 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12184 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12185 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12186 file: multiarch strchr for PPC32.
12187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12190 (__libc_ifunc_impl_list): Likewise.
12192 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12194 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12196 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12198 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12199 multiarch strchrnul for PPC32.
12200 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12202 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12203 (__libc_ifunc_impl_list): Likewise.
12205 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12207 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12208 multiarch strncasecmp for PPC32.
12209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12211 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12212 multiarch strncasecmp_l for PPC32.
12213 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12214 strncasecmp multiarch objects.
12215 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12216 (__libc_ifunc_impl_list): Likewise.
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12221 multiarch strncasecmp for PPC32.
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12225 multiarch strcasecmp_l for PPC32.
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12229 (__libc_ifunc_impl_list): Likewise.
12231 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12233 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12235 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12236 multiarch strncmp for PPC32.
12237 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12239 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12240 (__libc_ifunc_impl_list): Likewise.
12242 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12243 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12245 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12246 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12250 (__libc_ifunc_impl_list): Likewise.
12252 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12254 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12256 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12257 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12259 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12260 (__libc_ifunc_impl_list): Likewise.
12262 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12264 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12266 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12267 multiarch rawmemchr for PPC32.
12268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12271 (__libc_ifunc_impl_list): Likewise.
12273 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12275 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12277 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12278 file: memrchr multiarch for PPC32.
12279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12282 (__libc_ifunc_impl_list): Likewise.
12284 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12285 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12287 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12288 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12289 multiarch memchr for PPC32.
12290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12293 (__libc_ifunc_impl_list): Likewise.
12295 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12296 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12298 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12300 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12301 file: multiarch mempcpy for PPC32.
12302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12305 (__libc_ifunc_impl_list): Likewise.
12307 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12308 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12309 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12310 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12311 multiarch bzero for PPC32.
12312 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12314 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12316 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12317 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12318 file: multiarch memset for PPC32.
12319 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12321 memset multiarch objects.
12322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12323 (__libc_ifunc_impl_list): Likewise.
12325 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12327 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12328 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12330 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12331 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12334 (__libc_ifunc_impl_list): Likewise.
12336 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12337 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12338 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12340 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12345 multiarch memcpy for PPC32.
12346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12349 (__libc_ifunc_impl_list): Likewise.
12351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12352 support multiarch for POWER/PPC32.
12353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12355 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12357 Implies file to make multiarch folder appers before the fpu and
12358 default folder for power4 configuration.
12360 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12362 * scripts/bench.pl: Append volatile keyword to type.
12364 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12366 * sysdeps/sh/sotruss-lib.c: New file.
12367 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12369 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12373 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12376 * math/w_tgamma.c: Include <errno.h>.
12377 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12378 * math/w_tgammaf.c: Include <errno.h>.
12379 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12380 * math/w_tgammal.c: Include <errno.h>.
12381 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12382 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12383 underflow. Add more tgamma tests.
12384 * math/auto-libm-test-out: Regenerated.
12385 * sysdeps/i386/fpu/libm-test-ulps: Update.
12386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12388 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12389 sin, sinh, tan, tanh, tgamma, y0 and y1.
12390 * math/auto-libm-test-out: Regenerated.
12391 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12392 (TEST_COND_x86): Likewise.
12393 (M_E2l): Remove macro.
12395 (M_2_SQRT_PIl): Likewise.
12396 (M_SQRT_PIl): Likewise.
12397 (M_1_DIV_El): Likewise.
12398 (log_test_data): Use AUTO_TESTS_f_f.
12399 (log10_test_data): Likewise.
12400 (log1p_test_data): Likewise.
12401 (log2_test_data): Likewise.
12402 (sin_test_data): Likewise.
12403 (sin_tonearest_test_data): Likewise.
12404 (sin_towardzero_test_data): Likewise.
12405 (sin_downward_test_data): Likewise.
12406 (sin_upward_test_data): Likewise.
12407 (sinh_test_data): Likewise.
12408 (sinh_tonearest_test_data): Likewise.
12409 (sinh_towardzero_test_data): Likewise.
12410 (sinh_downward_test_data): Likewise.
12411 (sinh_upward_test_data): Likewise.
12412 (tan_test_data): Likewise.
12413 (tan_tonearest_test_data): Likewise.
12414 (tan_towardzero_test_data): Likewise.
12415 (tan_downward_test_data): Likewise.
12416 (tan_upward_test_data): Likewise.
12417 (tanh_test_data): Likewise.
12418 (tgamma_test_data): Likewise.
12419 (y0_test_data): Likewise.
12420 (y1_test_data): Likewise.
12421 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12422 (special_real_inputs): Add pi/4.
12423 * sysdeps/i386/fpu/libm-test-ulps: Update.
12424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12426 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12428 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12429 "longjmp_target" static probes.
12430 (__longjmp): Rename to __longjmp_symbol.
12431 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12432 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12433 on which longjmp to generate.
12434 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12435 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12437 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12438 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12439 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12440 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12441 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12442 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12444 __longjmp_symbol based on which __longjmp to generate.
12445 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12447 (setjmp): Rename to setjmp_symbol.
12448 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12449 (_setjmp): Rename to _setjmp_symbol.
12450 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12451 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12452 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12453 which setjmp to generate.
12454 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12455 "longjmp_target" static probes.
12457 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12459 * benchtests/README: Add note about output arguments.
12460 * benchtests/bench-sincos.c: Remove file.
12461 * benchtests/sincos-inputs: New file.
12462 * scripts/bench.pl: Identify output arguments and define
12463 static variables for them.
12465 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12468 * Makefile (INSTALL): Add install-plain.texi as the primary
12470 * manual/install-plain.texi: New file.
12471 * manual/install.texi: Include node directive only for
12472 non-plaintext output.
12474 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12476 * stdlib/longlong.h: Update from GCC.
12480 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12481 * math/w_j0f.c (y0f): Likewise.
12482 * math/w_j0l.c (__y0l): Likewise.
12483 * math/w_j1.c (y1): Likewise.
12484 * math/w_j1f.c (y1f): Likewise.
12485 * math/w_j1l.c (__y1l): Likewise
12486 * math/w_jn.c (yn): Likewise.
12487 * math/w_jnf.c (ynf): Likewise.
12488 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12489 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12490 value for Bessel function domain errors outside _SVID_ mode.
12491 Adjust sign of return value for yn (negative integer, 0).
12492 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12493 by zero in return for negative x and set sign appropriately for
12495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12496 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12497 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12498 expectations in error cases.
12499 (y1_test_data): Likewise.
12500 (yn_test_data): Likewise.
12501 * sysdeps/i386/fpu/libm-test-ulps: Update.
12502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12504 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12506 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12507 "64" to "64-v1". Add "64-v2".
12508 (abi-64-options): Rename to ...
12509 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12510 (abi-64-condition): Rename to ...
12511 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12512 (abi-64-ld-soname): Rename to ...
12513 (abi-64-v1-ld-soname): ... this.
12514 (abi-64-v2-options): Define.
12515 (abi-64-v2-condition): Likewise.
12516 (abi-64-v2-ld-soname): Likewise.
12517 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12518 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12523 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12524 Alan Modra <amodra@gmail.com>
12526 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12527 New versions for use with the ELFv2 ABI.
12528 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12529 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12531 (struct La_ppc64v2_retval): Likewise.
12532 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12533 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12534 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12535 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12536 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12537 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12538 Do not save or restore CR.
12539 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12540 (_dl_profile_resolve): Do no save or restore CR. Support extended
12541 return values for ELFv2 ABI. Fix location of FPR return registers.
12542 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12543 updated values for _CALL_ELF == 2.
12544 (La_regs, La_retval, int_retval): Likewise.
12546 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12548 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12549 (FRAME_MIN_SIZE_PARM): Likewise.
12550 (FRAME_BACKCHAIN): Likewise.
12551 (FRAME_CR_SAVE): Likewise.
12552 (FRAME_LR_SAVE): Likewise.
12553 (FRAME_TOC_SAVE): Likewise.
12554 (FRAME_PARM_SAVE): Likewise.
12555 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12556 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12557 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12558 (call_mcount_parm_offset): New macro.
12559 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12560 (PROF): Use symbolic stack frame offsets.
12561 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12562 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12563 Redefine in terms of FRAME_MIN_SIZE.
12564 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12565 (_dl_profile_resolve): Likewise. Update comment.
12566 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12567 symbols stack frame offsets.
12568 (__sigsetjmp): Likewise.
12569 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12570 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12571 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12572 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12575 (FRAME_BACKCHAIN): Remove.
12576 (FRAME_CR_SAVE): Likewise.
12577 (FRAME_LR_SAVE): Likewise.
12578 (FRAME_COMPILER_DW): Likewise.
12579 (FRAME_LINKER_DW): Likewise.
12580 (FRAME_TOC_SAVE): Likewise.
12581 (FRAME_PARM_SAVE): Likewise.
12582 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12583 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12584 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12586 (CHECK_SP): Use symbolic stack frame offsets.
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12588 zone" instead of caller's parameter save area for temp storage.
12589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12590 Likewise. Also, use symbolic stack frame offsets.
12591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12592 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12593 our own stack frame instead of the caller's.
12594 (__socket): Use symbolic stack frame offsets.
12596 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12597 Alan Modra <amodra@gmail.com>
12599 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12601 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12602 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12603 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12605 (elf_machine_fixup_plt): Call it.
12606 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12608 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12609 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12610 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12611 r2 before calling target.
12613 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12614 Alan Modra <amodra@gmail.com>
12616 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12617 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12618 versions of macros to support ELFv2 ABI.
12619 (LOCALENTRY): New macro.
12620 (ENTRY, EALIGN): Use it.
12621 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12622 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12623 fall through into ENTRY entry point.
12624 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12625 Only define if _CALL_ELF != 2.
12627 (elf_machine_matches_host): Verify ABI version matches.
12628 (RTLD_START): Use LOCALENTRY.
12629 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12630 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12631 (PLT_ENTRY_WORDS): New macro.
12632 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12633 (elf_machine_runtime_setup): Support ELFv2 ABI.
12634 (elf_machine_fixup_plt): Likewise.
12635 (elf_machine_plt_conflict): Likewise.
12636 (resolve_ifunc): Likewise.
12637 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12638 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12641 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12643 (makecontext): Support ELFv2 ABI.
12644 * elf/elf.h (EF_PPC64_ABI): Define.
12646 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12648 * sysdeps/powerpc/powerpc64/sysdep.h
12649 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12650 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12651 (ENTRY) [ASSEMBLER]: ... but instead here ...
12652 (EALIGN) [ASSEMBLER]: ... and here.
12653 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12654 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12655 (ENTRY_2) [!ASSEMBLER]: Use it.
12656 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12657 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12658 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12659 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12660 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12662 Use PPC64_LOAD_FUNCPTR.
12664 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12666 2013-12-04 Alan Modra <amodra@gmail.com>
12668 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12669 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12670 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12671 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12673 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12674 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12675 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12676 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12677 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12678 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12680 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12683 (__makecontext): Fix incorrect CFI when backtracing out of
12684 context created via makecontext.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12686 (__setcontext): Fix incorrect CFI during switch to new context.
12687 (__novec_setcontext): Likewise.
12689 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12692 * time/strptime_l.c (__strptime_internal): Allow modifiers
12694 * time/tst-strptime.c (day_tests): Add testcase.
12696 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12698 * scripts/bench.pl: Skip over blank lines.
12700 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12703 * manual/time.texi (Calendar Time): Clarify what timezone functions
12706 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12710 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12712 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12714 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12715 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12716 * debug/memset_chk.c (__memset_chk): Likewise.
12717 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12718 * debug/strncpy_chk.c: Likewise.
12720 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12724 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12725 (__ieee754_exp): For possibly underflowing results, check size of
12726 result and force underflow exception if required.
12727 * math/auto-libm-test-in: Add more tests of exp.
12728 * math/auto-libm-test-out: Regenerated.
12729 * sysdeps/i386/fpu/libm-test-ulps: Update.
12730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12733 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12734 * math/w_exp2f.c (__exp2f): Likewise.
12735 * math/w_exp2l.c (__exp2l): Likewise.
12736 * math/auto-libm-test-in: Do not allow missing errno on exp2
12738 * math/auto-libm-test-out: Regenerated.
12740 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12743 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12744 handle filename validation.
12745 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12748 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12751 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12752 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12753 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12755 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12756 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12757 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12759 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12760 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12761 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12762 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12763 Add more erfc tests.
12764 * math/auto-libm-test-out: Regenerated.
12765 * sysdeps/i386/fpu/libm-test-ulps: Update.
12766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12768 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12769 exp2, expm1, j0 and j1.
12770 * math/auto-libm-test-out: Regenerated.
12771 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12772 (erfc_test_data): Likewise.
12773 (exp_test_data): Likewise.
12774 (exp_tonearest_test_data): Likewise.
12775 (exp_towardzero_test_data): Likewise.
12776 (exp_downward_test_data): Likewise.
12777 (exp_upward_test_data): Likewise.
12778 (exp10_test_data): Likewise.
12779 (exp2_test_data): Likewise.
12780 (expm1_test_data): Likewise.
12781 (j0_test_data): Likewise.
12782 (j1_test_data): Likewise.
12783 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12784 (input_flag_type): Add flag_xfail_rounding.
12785 (input_flags): Add xfail-rounding.
12786 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12787 (output_for_one_input_case): Handle flag_xfail_rounding.
12788 * sysdeps/i386/fpu/libm-test-ulps: Update.
12789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12791 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12794 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12797 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12800 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12801 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12802 (STAP_PROBE0): New macro.
12803 (STAP_PROBE1): Likewise.
12804 (STAP_PROBE2): Likewise.
12805 (STAP_PROBE3): Likewise.
12806 (STAP_PROBE4): Likewise.
12808 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12810 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12812 2013-12-02 Steve Ellcey <sellcey@mips.com>
12814 * benchtests/Makefile (bench): Add sqrt.
12815 (LDLIBS-bench-sqrt): New.
12816 * benchtests/sqrt-input: New.
12818 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12820 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12821 (GAIH_EAI): Likewise.
12822 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12823 (gaih_inet): Likewise.
12824 (getaddrinfo): Don't use GAIH_EAI.
12826 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12827 (struct gaih): Remove definition.
12829 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12831 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12832 Use HERRNOP directly.
12834 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12838 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12840 * math/gen-auto-libm-tests.c (test_functions): Add more
12841 single-argument functions.
12842 (special_fill_pi_2): New function.
12843 (special_fill_minus_pi_2): Likewise.
12844 (special_fill_pi_6): Likewise.
12845 (special_fill_minus_pi_6): Likewise.
12846 (special_fill_pi_3): Likewise.
12847 (special_fill_2pi_3): Likewise.
12848 (special_fill_e): Likewise.
12849 (special_fill_1_e): Likewise.
12850 (special_fill_e_minus_1): Likewise.
12851 (special_real_inputs): Add more special inputs.
12852 (output_for_one_input_case): Do not require ERANGE on underflow to
12853 zero if round-to-nearest result does not underflow to zero, unless
12854 exact results required.
12855 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12856 atan, atanh, cbrt, cos and cosh.
12857 * math/auto-libm-test-out: Regenerated.
12858 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12859 (acos_tonearest_test_data): Likewise.
12860 (acos_towardzero_test_data): Likewise.
12861 (acos_downward_test_data): Likewise.
12862 (acos_upward_test_data): Likewise.
12863 (acosh_test_data): Likewise.
12864 (asin_test_data): Likewise.
12865 (asin_tonearest_test_data): Likewise.
12866 (asin_towardzero_test_data): Likewise.
12867 (asin_upward_test_data): Likewise.
12868 (asinh_test_data): Likewise.
12869 (atan_test_data): Likewise.
12870 (atanh_test_data): Likewise.
12871 (cbrt_test_data): Likewise.
12872 (cos_test_data): Likewise.
12873 (cos_tonearest_test_data): Likewise.
12874 (cos_towardzero_test_data): Likewise.
12875 (cos_downward_test_data): Likewise.
12876 (cos_upward_test_data): Likewise.
12877 (cosh_test_data): Likewise.
12878 (cosh_tonearest_test_data): Likewise.
12879 (cosh_towardzero_test_data): Likewise.
12880 (cosh_downward_test_data): Likewise.
12881 (cosh_upward_test_data): Likewise.
12882 * sysdeps/i386/fpu/libm-test-ulps: Update.
12883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12885 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12888 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12889 * math/w_exp10f.c (__exp10f): Likewise.
12890 * math/w_exp10l.c (__exp10l): Likewise.
12891 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12892 errno settings in existing tests.
12895 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12896 precision control set to double precision.
12897 * sysdeps/i386/fpu/w_sqrt.c: New file.
12898 * math/auto-libm-test-in: Add more tests.
12899 * math/auto-libm-test-out: Update.
12901 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12902 (sqrt_test_tonearest): New function.
12903 (sqrt_towardzero_test_data): New variable.
12904 (sqrt_test_towardzero): New function.
12905 (sqrt_downward_test_data): New variable.
12906 (sqrt_test_downward): New function.
12907 (sqrt_upward_test_data): New variable.
12908 (sqrt_test_upward): New function.
12909 (main): Call the new functions.
12911 * math/gen-auto-libm-tests.c: New file.
12912 * math/auto-libm-test-in: Likewise.
12913 * math/auto-libm-test-out: New generated file.
12914 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12916 (%beautify): Add generated representations of zero.
12917 (top level): Set $auto_input and call parse_auto_input.
12918 (beautify): Remove trailing "f" from hex float constants.
12919 (parse_args): Handle XFAIL_TEST.
12920 (convert_condition): New function.
12921 (or_value): Likewise.
12922 (or_cond_value): Likewise.
12923 (generate_testfile): Handle AUTO_TESTS_* lines.
12924 (parse_auto_input): New function.
12925 * math/libm-test.inc (XFAIL_TEST): New macro.
12926 (ERRNO_UNCHANGED): Update value.
12927 (ERRNO_EDOM): Likewise.
12928 (ERRNO_ERANGE): Likewise.
12929 (IGNORE_RESULT): Likewise.
12930 (TEST_COND_flt_32): New macro.
12931 (TEST_COND_dbl_64): Likewise.
12932 (TEST_COND_ldbl_96_intel): Likewise.
12933 (TEST_COND_ldbl_96_m68k): Likewise.
12934 (TEST_COND_ldbl_128): Likewise.
12935 (TEST_COND_ldbl_128ibm): Likewise.
12936 (TEST_COND_long32): Likewise.
12937 (TEST_COND_long64): Likewise.
12938 (TEST_COND_before_rounding): Likewise.
12939 (TEST_COND_after_rounding): Likewise.
12940 (enable_test): Handle XFAIL_TEST flag.
12941 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12942 with finite results.
12943 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12944 auto-libm-test-out.
12946 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12947 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12950 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12951 __tls_get_addr_internal instead of __tls_get_offset in order to
12952 avoid GOT pointer dependency. Make rtld export
12953 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12954 __tls_get_addr since we are a __tls_get_offset platform.
12955 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12956 GOT pointer being set up before.
12957 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12959 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12961 * manual/math.texi (Errors in Math Functions): Document accuracy
12965 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12966 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12967 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12968 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12969 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12971 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12976 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12977 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12978 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12979 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12980 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12982 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12983 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12984 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12985 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12986 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12988 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12990 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12992 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12993 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12994 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12995 atomic-feupdateenv and flt-rounds.
12996 * sysdeps/powerpc/nofpu/Versions (libc): Add
12997 __atomic_feholdexcept, __atomic_feclearexcept,
12998 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12999 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13000 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13001 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13002 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13007 * manual/arith.texi (FP Exceptions): Document that exceptions may
13008 not be raised when matherr is used.
13009 (Math Error Reporting): Document overflow in directed rounding
13010 modes. Document that errno may not be set when finite values are
13011 returned on overflow. Document intent to set errno on underflow
13012 only for underflow to zero.
13015 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13016 round-to-nearest then adjust result for other rounding modes.
13017 * include/fenv.h (fegetround): Use libm_hidden_proto.
13018 * math/fegetround.c (fegetround): Use libm_hidden_def.
13019 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13020 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13021 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13022 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13024 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13025 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13026 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13027 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13029 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13032 * nss/Versions (libnss_files): Add
13033 _nss_files_gethostbyname3_r.
13034 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13036 (HOST_DB_LOOKUP): Remove macro.
13037 (_nss_files_gethostbyname_r): Implement function without the
13038 HOST_DB_LOOKUP macro.
13039 (_nss_files_gethostbyname2_r): Likewise.
13041 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13043 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13045 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13047 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13048 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13051 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13053 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13054 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13055 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13056 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13057 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13058 __fe_nomask_env_priv and attribute_hidden.
13059 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13060 (libc_feupdateenv_test_ppc): Likewise.
13061 (libc_feresetround_ppc): Likewise.
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13063 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13064 compat_symbol macro.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13066 (__fe_nomask_env): Likewise.
13067 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13069 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13071 * string/Makefile: Remove ifunc tests.
13072 * string/test-string.h: Define TEST_IFUNC.
13073 * string/test-bcopy-ifunc.c: Remove.
13074 * string/test-bzero-ifunc.c: Likewise.
13075 * string/test-memccpy-ifunc.c: Likewise.
13076 * string/test-memchr-ifunc.c: Likewise.
13077 * string/test-memcmp-ifunc.c: Likewise.
13078 * string/test-memcpy-ifunc.c: Likewise.
13079 * string/test-memmem-ifunc.c: Likewise.
13080 * string/test-memmove-ifunc.c: Likewise.
13081 * string/test-mempcpy-ifunc.c: Likewise.
13082 * string/test-memrchr-ifunc.c: Likewise.
13083 * string/test-memset-ifunc.c: Likewise.
13084 * string/test-rawmemchr-ifunc.c: Likewise.
13085 * string/test-stpcpy-ifunc.c: Likewise.
13086 * string/test-stpncpy-ifunc.c: Likewise.
13087 * string/test-strcasecmp-ifunc.c: Likewise.
13088 * string/test-strcasestr-ifunc.c: Likewise.
13089 * string/test-strcat-ifunc.c: Likewise.
13090 * string/test-strchr-ifunc.c: Likewise.
13091 * string/test-strchrnul-ifunc.c: Likewise.
13092 * string/test-strcmp-ifunc.c: Likewise.
13093 * string/test-strcpy-ifunc.c: Likewise.
13094 * string/test-strcspn-ifunc.c: Likewise.
13095 * string/test-strlen-ifunc.c: Likewise.
13096 * string/test-strncasecmp-ifunc.c: Likewise.
13097 * string/test-strncat-ifunc.c: Likewise.
13098 * string/test-strncmp-ifunc.c: Likewise.
13099 * string/test-strncpy-ifunc.c: Likewise.
13100 * string/test-strnlen-ifunc.c: Likewise.
13101 * string/test-strpbrk-ifunc.c: Likewise.
13102 * string/test-strrchr-ifunc.c: Likewise.
13103 * string/test-strspn-ifunc.c: Likewise.
13104 * string/test-strstr-ifunc.c: Likewise.
13106 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13108 * benchtests/Makefile: Remove ifunc tests.
13109 * benchtests/bench-string.h: Define TEST_IFUNC.
13110 * benchtests/bench-bcopy-ifunc.c: Remove.
13111 * benchtests/bench-bzero-ifunc.c: Likewise.
13112 * benchtests/bench-memccpy-ifunc.c: Likewise.
13113 * benchtests/bench-memchr-ifunc.c: Likewise.
13114 * benchtests/bench-memcmp-ifunc.c: Likewise.
13115 * benchtests/bench-memcpy-ifunc.c: Likewise.
13116 * benchtests/bench-memmem-ifunc.c: Likewise.
13117 * benchtests/bench-memmove-ifunc.c: Likewise.
13118 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13119 * benchtests/bench-memrchr-ifunc.c: Likewise.
13120 * benchtests/bench-memset-ifunc.c: Likewise.
13121 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13122 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13123 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13124 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13125 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13126 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13127 * benchtests/bench-strcat-ifunc.c: Likewise.
13128 * benchtests/bench-strchr-ifunc.c: Likewise.
13129 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13130 * benchtests/bench-strcmp-ifunc.c: Likewise.
13131 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13132 * benchtests/bench-strcpy-ifunc.c: Likewise.
13133 * benchtests/bench-strcspn-ifunc.c: Likewise.
13134 * benchtests/bench-strlen-ifunc.c: Likewise.
13135 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13136 * benchtests/bench-strncat-ifunc.c: Likewise.
13137 * benchtests/bench-strncmp-ifunc.c: Likewise.
13138 * benchtests/bench-strncpy-ifunc.c: Likewise.
13139 * benchtests/bench-strnlen-ifunc.c: Likewise.
13140 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13141 * benchtests/bench-strrchr-ifunc.c: Likewise.
13142 * benchtests/bench-strsep-ifunc.c: Likewise.
13143 * benchtests/bench-strspn-ifunc.c: Likewise.
13144 * benchtests/bench-strstr-ifunc.c: Likewise.
13146 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13148 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13150 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13152 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13153 * rt/aio.h: Likewise.
13154 * sysdeps/gnu/bits/utmp.h: Likewise.
13155 * sysdeps/gnu/bits/utmpx.h: Likewise.
13156 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13157 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13158 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13159 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13160 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13161 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13162 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13163 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13164 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13165 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13166 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13167 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13168 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13170 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13171 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13172 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13173 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13174 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13175 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13176 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13177 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13178 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13179 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13180 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13182 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13183 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13184 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13185 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13186 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13187 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13188 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13189 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13190 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13191 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13192 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13193 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13194 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13195 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13196 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13197 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13199 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13202 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13203 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13205 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13207 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13208 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13211 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13213 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13214 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13215 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13216 (__fesetround): Remove define.
13217 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13218 rounding and exceptions handling.
13219 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13220 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13221 (__fe_nomask_env): Likewise.
13222 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13223 __fegetround instead of fegetround.
13224 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13225 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13227 2013-11-21 Roland McGrath <roland@hack.frob.com>
13229 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13232 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13234 2013-11-21 Meador Inge <meadori@codesourcery.com>
13237 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13238 (encrypt_r): Likewise.
13239 * malloc/obstack.h (obstack_free): Likewise.
13240 * posix/unistd.h (encrypt): Likewise.
13242 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13244 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13245 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13246 DL_CALL_DT_FINI() that call the functions directly.
13247 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13248 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13249 * elf/dl-fini.c: Likewise.
13251 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13253 * malloc/hooks.c (memalign_check): Add alignment rounding.
13254 * malloc/malloc.c (_mid_memalign): New function.
13255 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13256 Implement by calling _mid_memalign.
13257 * manual/probes.texi (Memory Allocation Probes): Remove
13258 memory_valloc_retry and memory_pvalloc_retry.
13260 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13262 * locale/programs/locarchive.c (open_archive): Add const
13263 qualifier to ARCHIVEFNAME and copy default fname to
13267 * libio/tst-widetext.input: Rename Oriya to Odia.
13268 * locale/iso-639.def: Likewise.
13270 * manual/probes.texi (Mathematical Function Probes): Add
13271 documentation for sin, cos, asin and acos probes.
13272 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13273 (__sin32): Add slowasin probe.
13274 (__cos32): Add slowacos probe.
13275 (__mpsin): Add slowsin probe.
13276 (__mpcos): Add slowcos probe.
13278 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13281 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13282 thread-local __sim_exceptions_thread and global
13283 __sim_exceptions_global.
13284 (__sim_disabled_exceptions): Change to thread-local
13285 __sim_disabled_exceptions_thread and global
13286 __sim_disabled_exceptions_global.
13287 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13288 and global __sim_round_mode_global.
13289 (__simulate_exceptions): Use thread-local floating-point state and
13290 set global state from it as needed.
13291 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13292 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13293 __sim_round_mode_thread.
13294 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13295 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13296 and global __sim_exceptions_global.
13297 (__sim_disabled_exceptions): Change to thread-local
13298 __sim_disabled_exceptions_thread and global
13299 __sim_disabled_exceptions_global.
13300 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13301 and global __sim_round_mode_global.
13302 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13303 (SIM_SET_GLOBAL): Likewise.
13304 * sysdeps/powerpc/soft-fp/sfp-machine.h
13305 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13306 __sim_round_mode_thread.
13307 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13308 __sim_disabled_exceptions_thread.
13309 (__sim_exceptions): Change to __sim_exceptions_thread.
13310 (__sim_disabled_exceptions): Change to
13311 __sim_disabled_exceptions_thread.
13312 (__sim_round_mode): Change to __sim_round_mode_thread.
13313 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13314 thread-local floating-point state and set global state from it as
13316 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13317 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13318 (__sim_disabled_exceptions): Remove extern declaration.
13319 (feenableexcept): Use thread-local floating-point state and set
13320 global state from it as needed.
13321 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13322 extern declaration.
13323 (__sim_disabled_exceptions): Likewise.
13324 (__sim_round_mode): Likewise.
13325 (__fegetenv): Use thread-local floating-point state.
13326 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13327 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13328 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13329 floating-point state and set global state from it as needed.
13330 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13331 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13332 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13334 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13335 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13337 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13338 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13339 Use __sim_round_mode_thread.
13340 * math/test-fenv-tls.c: New file.
13341 * math/Makefile (tests): Add test-fenv-tls.
13342 ($(objpfx)test-fenv-tls): Depend on
13343 $(common-objpfx)nptl/libpthread.so.
13345 2013-11-19 Andreas Schwab <schwab@suse.de>
13347 * locale/programs/locale.c (show_info): Decode wordarray elements.
13348 * locale/categories.def (LC_MONETARY): Add element for
13349 _NL_MONETARY_CRNCYSTR.
13350 * locale/C-monetary.c (conversion_rate): New variable.
13351 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13354 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13356 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13357 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13359 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13361 * elf/Makefile (tst-auxv): New test.
13362 * elf/tst-auxv.c: New
13363 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13365 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13367 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13368 (hidden_proto): Caller changed.
13369 (hidden_tls_proto): New macro.
13370 (libc_hidden_tls_proto): Likewise.
13371 (rtld_hidden_tls_proto): Likewise.
13372 (libm_hidden_tls_proto): Likewise.
13373 (libresolv_hidden_tls_proto): Likewise.
13374 (librt_hidden_tls_proto): Likewise.
13375 (libdl_hidden_tls_proto): Likewise.
13376 (libnss_files_hidden_tls_proto): Likewise.
13377 (libnsl_hidden_tls_proto): Likewise.
13378 (libnss_nisplus_hidden_tls_proto): Likewise.
13379 (libutil_hidden_tls_proto): Likewise.
13381 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13384 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13385 (decompose_rpath): Defer expansion to fillin_rpath.
13386 (_dl_init_paths): Pass linkmap to fillin_rpath.
13388 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13390 * benchtests/Makefile: Add strsep.
13391 * benchtests/bench-strsep.c: New file: strsep benchtest.
13392 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13394 2013-11-18 Andreas Schwab <schwab@suse.de>
13396 * locale/programs/locale.c (show_info) [case byte]: Check for
13397 '\377' instead of '\177'.
13398 * locale/C-monetary.c (not_available): Always use "\377".
13399 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13400 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13401 detect unavailable sign_posn locale elements.
13402 * locale/localeconv.c (__localeconv): For grouping and
13403 mon_grouping handle "\177" and "\377" like no grouping.
13404 (INT_ELEM): New macro. Use it to set all numeric members.
13405 * locale/programs/ld-monetary.c (monetary_read)
13406 <tok_mon_grouping>: Normalize single -1 to the empty string.
13407 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13410 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13413 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13414 when we match (nil).
13415 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13417 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13419 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13420 (NO_TEST_INLINE): Update value.
13421 (ERRNO_UNCHANGED): Likewise.
13422 (ERRNO_EDOM): Likewise.
13423 (ERRNO_ERANGE): Likewise.
13424 (IGNORE_RESULT): Likewise.
13425 (check_float_internal): Check signs of NaN results if
13426 TEST_NAN_SIGN used.
13427 (check_complex): Pass TEST_NAN_SIGN flag through to second
13428 check_float_internal call.
13429 (copysign_test_data): Add tests with quiet NaNs as second
13430 argument. Use TEST_NAN_SIGN.
13431 (fabs_test_data): Add test of negative quiet NaN argument. Use
13433 (signbit_test_data): Add tests of quiet NaN argument.
13434 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13436 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13438 (parse_args): Handle function results specified as IGNORE.
13439 * math/libm-test.inc (IGNORE_RESULT): New macro.
13440 (check_float_internal): Do not check numerical result if flag
13442 (check_complex): Pass through IGNORE_RESULT to second
13443 check_float_internal call.
13444 (check_int): Do not check numerical result if flag IGNORE_RESULT
13446 (check_long): Likewise.
13447 (check_bool): Likewise.
13448 (check_longlong): Likewise.
13449 (lrint_test_data): Add tests of infinite and NaN arguments.
13450 (lrint_tonearest_test_data): Likewise.
13451 (lrint_towardzero_test_data): Likewise.
13452 (lrint_downward_test_data): Likewise.
13453 (lrint_upward_test_data): Likewise.
13454 (llrint_test_data): Likewise.
13455 (llrint_tonearest_test_data): Likewise.
13456 (llrint_towardzero_test_data): Likewise.
13457 (llrint_downward_test_data): Likewise.
13458 (llrint_upward_test_data): Likewise.
13459 (lround_test_data): Likewise.
13460 (llround_test_data): Likewise.
13462 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13463 (ERRNO_UNCHANGED): Update value.
13464 (ERRNO_EDOM): Likewise.
13465 (ERRNO_ERANGE): Likewise.
13466 (NO_TEST_INLINE_FLOAT): New macro.
13467 (NO_TEST_INLINE_DOUBLE): Likewise.
13468 (enable_test): New function.
13469 (RUN_TEST_f_f): Check enable_test before running test.
13470 (RUN_TEST_2_f): Likewise.
13471 (RUN_TEST_fff_f): Likewise.
13472 (RUN_TEST_c_f): Likewise.
13473 (RUN_TEST_f_f1): Likewise.
13474 (RUN_TEST_fF_f1): Likewise.
13475 (RUN_TEST_fI_f1): Likewise.
13476 (RUN_TEST_ffI_f1): Likewise.
13477 (RUN_TEST_c_c): Likewise.
13478 (RUN_TEST_cc_c): Likewise.
13479 (RUN_TEST_f_i): Likewise.
13480 (RUN_TEST_f_i_tg): Likewise.
13481 (RUN_TEST_ff_i_tg): Likewise.
13482 (RUN_TEST_f_b): Likewise.
13483 (RUN_TEST_f_b_tg): Likewise.
13484 (RUN_TEST_f_l): Likewise.
13485 (RUN_TEST_f_L): Likewise.
13486 (RUN_TEST_fFF_11): Likewise.
13487 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13489 (cosh_test_data): Likewise.
13490 (exp_test_data): Likewise.
13491 (expm1_test_data): Likewise.
13492 (hypot_test_data): Likewise.
13493 (pow_test_data): Likewise.
13494 (sinh_test_data): Likewise.
13495 (tanh_test_data): Likewise.
13496 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13499 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13500 tests with quiet NaN input and output.
13501 (acosh_test_data): Likewise.
13502 (asin_test_data): Likewise.
13503 (asinh_test_data): Likewise.
13504 (atan_test_data): Likewise.
13505 (atanh_test_data): Likewise.
13506 (atan2_test_data): Likewise.
13507 (cbrt_test_data): Likewise.
13508 (cos_test_data): Likewise.
13509 (cosh_test_data): Likewise.
13510 (erf_test_data): Likewise.
13511 (erfc_test_data): Likewise.
13512 (exp_test_data): Likewise.
13513 (exp10_test_data): Likewise.
13514 (exp2_test_data): Likewise.
13515 (expm1_test_data): Likewise.
13516 (hypot_test_data): Likewise.
13517 (j0_test_data): Likewise.
13518 (j1_test_data): Likewise.
13519 (jn_test_data): Likewise.
13520 (lgamma_test_data): Likewise.
13521 (log_test_data): Likewise.
13522 (log10_test_data): Likewise.
13523 (log1p_test_data): Likewise.
13524 (log2_test_data): Likewise.
13525 (pow_test_data): Likewise.
13526 (scalb_test_data): Likewise.
13527 (sin_test_data): Likewise.
13528 (sincos_test_data): Likewise.
13529 (sinh_test_data): Likewise.
13530 (tan_test_data): Likewise.
13531 (tanh_test_data): Likewise.
13532 (tgamma_test_data): Likewise.
13533 (y0_test_data): Likewise.
13534 (y1_test_data): Likewise.
13535 (yn_test_data): Likewise.
13538 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13539 argument being NaN and avoid computations with second argument in
13541 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13542 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13543 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13545 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13547 * locale/iso-639.def: Add Chitwani Tharu (the).
13549 2013-11-14 Andreas Schwab <schwab@suse.de>
13551 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13552 word instead of empty string.
13554 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13557 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13559 (__fe_nomask_env): Likewise.
13561 2013-11-13 Steve Ellcey <sellcey@mips.com>
13563 * benchtests/bench-timing.h: Include time.h.
13565 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13568 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13570 * sysdeps/unix/sysv/linux/configure: Regenerated.
13572 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13575 * stdlib/strtod_l.c (round_and_return): Do not consider
13576 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13577 exponent one less than half the least subnormal exponent.
13578 * stdlib/test-strtod-round-data: Add more tests.
13579 * stdlib/tst-strtod-round.c (tests): Regenerated.
13581 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13584 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13585 (__fe_mask_env): Likewise.
13586 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13587 libm_hidden_proto and add function prototype.
13588 (__fe_mask_env): Add function prototype.
13589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13590 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13592 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13594 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13596 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13598 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13599 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13601 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13603 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13604 of htab_find_slot().
13606 2013-11-11 David S. Miller <davem@davemloft.net>
13609 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13610 symbol in the non-vis3 case in static builds.
13611 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13612 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13613 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13614 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13616 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13619 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13622 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13624 * benchtests/Makefile: Add bench-strtod.
13625 * benchtests/bench-strtod.c: New file: strtod benchtest
13627 2013-11-11 Andreas Schwab <schwab@suse.de>
13630 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13631 terminating NUL in key length.
13633 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13635 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13636 Add artificial ODP entry for vDSO symbol for PPC64.
13637 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13638 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13640 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13643 * nss/getent.c (services_keys): Recognize services starting with digit.
13645 2013-11-06 David S. Miller <davem@davemloft.net>
13648 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13649 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13651 2013-11-06 Will Newton <will.newton@linaro.org>
13653 * manual/memory.texi (Malloc Examples): Remove register
13654 keyword from examples.
13656 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13658 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13660 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13663 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13664 depending on [__GCC_IEC_559 > 0].
13665 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13666 depending on [__GCC_IEC_559_COMPLEX > 0].
13668 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13670 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13673 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13675 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13677 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13680 * malloc/malloc (malloc_info): Do not handle first bin as
13683 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13685 * locale/iso-639.def: Add Central Nahuatl (nhn).
13687 2013-11-01 Bruno Haible <bruno@clisp.org>
13690 * manual/math.texi (BSD Random): Specify range upper bound as
13693 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13695 * locale/iso-639.def: Add Meadow Mari (mhr).
13697 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13699 [BZ #14752], [BZ #15763]
13700 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13702 * rt/tst_shm.c: Add test for escaping directory.
13704 2013-10-31 Andreas Schwab <schwab@suse.de>
13707 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13708 followed by 'x' as part of digit sequence.
13709 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13711 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13714 * configure.ac: allow GNU Make 4.0 and greater.
13715 * configure: Regenerated.
13717 2013-10-30 Will Newton <will.newton@linaro.org>
13720 * malloc/hooks.c (memalign_check): Limit alignment to the
13721 maximum representable power of two.
13722 * malloc/malloc.c (__libc_memalign): Likewise.
13723 * malloc/tst-memalign.c (do_test): Add test for very
13724 large alignment values.
13725 * malloc/tst-posix_memalign.c (do_test): Likewise.
13727 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13730 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13731 (munmap_chunk): Likewise.
13732 (mremap_chunk): Likewise.
13734 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13737 * stdlib/div.c (div): Remove obsolete code.
13738 * stdlib/ldiv.c (ldiv): Likewise.
13739 * stdlib/lldiv.c (lldiv): Likewise.
13741 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13744 * nss/nss_files/files-XXX.c (get_contents_ret): New
13746 (get_contents): New function.
13747 (internal_getent): Use it. Expand size of LINEBUFLEN.
13749 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13751 * configure.in: Moved to ...
13752 * configure.ac: ... here. Change reference to configure.in
13754 * sysdeps/arm/preconfigure.ac: ... here.
13755 configure.in to configure.ac.
13756 * sysdeps/gnu/configure.in: Moved to ...
13757 * sysdeps/gnu/configure.ac: ... here.
13758 * sysdeps/i386/configure.in: Moved to ...
13759 * sysdeps/i386/configure.ac: ... here.
13760 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13761 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13762 * sysdeps/mach/configure.in: Moved to ...
13763 * sysdeps/mach/configure.ac: ... here.
13764 * sysdeps/mach/hurd/configure.in: Moved to ...
13765 * sysdeps/mach/hurd/configure.ac: ... here.
13766 * sysdeps/powerpc/configure.in: Moved to ...
13767 * sysdeps/powerpc/configure.ac: ... here.
13768 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13769 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13770 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13771 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13772 * sysdeps/s390/s390-32/configure.in: Moved to ...
13773 * sysdeps/s390/s390-32/configure.ac: ... here.
13774 * sysdeps/s390/s390-64/configure.in: Moved to ...
13775 * sysdeps/s390/s390-64/configure.ac: ... here.
13776 * sysdeps/sh/configure.in: Moved to ...
13777 * sysdeps/sh/configure.ac: ... here.
13778 * sysdeps/sparc/configure.in: Moved to ...
13779 * sysdeps/sparc/configure.ac: ... here.
13780 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13781 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13782 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13783 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13784 * sysdeps/x86_64/configure.in: Moved to ...
13785 * sysdeps/x86_64/configure.ac: ... here.
13786 * sysdeps/x86_64/preconfigure.in: Moved to ...
13787 * sysdeps/x86_64/preconfigure.ac: ... here.
13788 * aclocal.m4: Change reference to configure.in to configure.ac.
13789 * config.h.in: Likewise.
13790 * manual/install.texi: Likewise.
13791 * manual/maint.texi: Likewise.
13792 * Makefile: Likewise.
13793 * malloc/Makefile: Likewise.
13794 * nscd/Makefile: Likewise.
13795 * Makeconfig: Change reference to configure.in and
13796 preconfigure.in to configure.ac and preconfigure.ac
13798 * INSTALL: Regenerated.
13799 * configure: Likewise.
13800 * sysdeps/gnu/configure: Likewise.
13801 * sysdeps/i386/configure: Likewise.
13802 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13803 * sysdeps/mach/configure: Likewise.
13804 * sysdeps/mach/hurd/configure: Likewise.
13805 * sysdeps/powerpc/configure: Likewise.
13806 * sysdeps/powerpc/powerpc32/configure: Likewise.
13807 * sysdeps/powerpc/powerpc64/configure: Likewise.
13808 * sysdeps/s390/s390-32/configure: Likewise.
13809 * sysdeps/s390/s390-64/configure: Likewise.
13810 * sysdeps/sh/configure: Likewise.
13811 * sysdeps/sparc/configure: Likewise.
13812 * sysdeps/unix/sysv/linux/configure: Likewise.
13813 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13814 * sysdeps/x86_64/configure: Likewise.
13815 * sysdeps/x86_64/preconfigure: Likewise.
13817 2013-10-29 Andreas Schwab <schwab@suse.de>
13819 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13821 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13823 * benchtests/pow-inputs: Add new inputs.
13825 * benchtests/exp-inputs: Add new inputs.
13827 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13828 conditional check for return value.
13829 (__cos32): Likewise.
13831 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13833 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13834 to provide a boost for large inputs with word alignment.
13835 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13836 implementation based on optimized PPC64 strcpy.
13837 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13838 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13839 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13840 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13842 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13845 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13847 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13850 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13851 * time/tst-strptime.c (day_tests): Add testcase.
13853 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13856 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13858 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13861 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13862 MAP_FAILED on error.
13864 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13867 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13868 heap for large requests.
13870 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13873 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13874 result if the result has no associated interface.
13875 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13876 interface for all 127.X.Y.Z addresses.
13878 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13880 * locale/iso-639.def: Add Ligurian (lij)
13882 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13885 * sunrpc/rpc_main.c: Document rpcgen -5.
13887 2013-10-19 Michael Stahl <mstahl@redhat.com>
13889 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13891 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13894 * posix/glob.c: Match only directories when trailing slash is present.
13895 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13896 (main): Add testcase.
13898 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13901 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13903 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13905 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13906 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13907 AUTH_DES and cindex for FIPS 140-2.
13908 (DES Encryption): Add cindex FIPS 46-3.
13910 * locale/locarchive.h (struct locarhandle): Add fname.
13911 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13912 if an optional argument was specified to --list-archive,
13914 * locale/programs/locarchive.c (show_archive_content): Take new
13915 argument fname and pass it via ah.fname to open_archive.
13916 * locale/programs/localedef.h: Update decl.
13917 (open_archive): If AH->fname is non-null, open that file
13918 rather than the default file name, and don't ignore ENOENT.
13919 (create_archive): Set AH.fname to NULL.
13920 (delete_locales_from_archive): Likewise.
13921 (add_locales_to_archive): Likewise.
13922 * locale/programs/locfile.c (write_all_categories): Likewise.
13924 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13925 Aldy Hernandez <aldyh@redhat.com>
13927 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13928 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13929 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13930 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13931 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13932 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13933 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13934 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13935 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13936 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13937 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13938 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13939 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13940 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13941 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13943 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13945 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13947 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13949 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13950 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13952 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13953 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13954 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13955 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13957 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13958 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13959 * sysdeps/powerpc/preconfigure: Likewise.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13962 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13963 Replace contents of file by #include of <fenv_libc.h>.
13964 * sysdeps/powerpc/soft-fp/sfp-machine.h
13965 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13967 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13968 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13969 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13970 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13971 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13972 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13977 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13980 Allow copysignl PLT reference to be missing.
13982 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13983 Joseph Myers <joseph@codesourcery.com
13986 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13988 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13990 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13992 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13993 * elf/tst-tls1.c: Likewise.
13994 * elf/tst-tls10.h: Likewise.
13995 * elf/tst-tls14.c: Likewise.
13996 * elf/tst-tls2.c: Likewise.
13997 * elf/tst-tls3.c: Likewise.
13998 * elf/tst-tls4.c: Likewise.
13999 * elf/tst-tls5.c: Likewise.
14000 * elf/tst-tls6.c: Likewise.
14001 * elf/tst-tls7.c: Likewise.
14002 * elf/tst-tls8.c: Likewise.
14003 * elf/tst-tls9.c: Likewise.
14004 * elf/tst-tlsmod1.c: Likewise.
14005 * elf/tst-tlsmod13.c: Likewise.
14006 * elf/tst-tlsmod13a.c: Likewise.
14007 * elf/tst-tlsmod14a.c: Likewise.
14008 * elf/tst-tlsmod16a.c: Likewise.
14009 * elf/tst-tlsmod16b.c: Likewise.
14010 * elf/tst-tlsmod2.c: Likewise.
14011 * elf/tst-tlsmod3.c: Likewise.
14012 * elf/tst-tlsmod4.c: Likewise.
14013 * elf/tst-tlsmod5.c: Likewise.
14014 * elf/tst-tlsmod6.c: Likewise.
14016 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14019 * malloc/malloc.c: remove checks for statistics.
14021 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14024 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14025 * inet/tst-network.c: Add testcase.
14027 2013-10-17 Andreas Schwab <schwab@suse.de>
14030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14031 to determine canonical name.
14033 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14035 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14036 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14037 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14058 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14059 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14060 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14062 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14063 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14064 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14065 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14067 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14075 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14077 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14078 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14079 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14080 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14081 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14082 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14083 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14084 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14085 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14086 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14087 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14088 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14089 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14090 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14091 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14092 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14094 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14097 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14098 make result into a quiet NaN.
14100 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14102 * soft-fp/adddf3.c: Fix horizontal whitespace.
14103 * soft-fp/addsf3.c: Likewise.
14104 * soft-fp/addtf3.c: Likewise.
14105 * soft-fp/divdf3.c: Likewise.
14106 * soft-fp/divsf3.c: Likewise.
14107 * soft-fp/divtf3.c: Likewise.
14108 * soft-fp/double.h: Likewise.
14109 * soft-fp/eqdf2.c: Likewise.
14110 * soft-fp/eqsf2.c: Likewise.
14111 * soft-fp/eqtf2.c: Likewise.
14112 * soft-fp/extenddftf2.c: Likewise.
14113 * soft-fp/extended.h: Likewise.
14114 * soft-fp/extendsfdf2.c: Likewise.
14115 * soft-fp/extendsftf2.c: Likewise.
14116 * soft-fp/extendxftf2.c: Likewise.
14117 * soft-fp/fixdfdi.c: Likewise.
14118 * soft-fp/fixdfsi.c: Likewise.
14119 * soft-fp/fixdfti.c: Likewise.
14120 * soft-fp/fixsfdi.c: Likewise.
14121 * soft-fp/fixsfsi.c: Likewise.
14122 * soft-fp/fixsfti.c: Likewise.
14123 * soft-fp/fixtfdi.c: Likewise.
14124 * soft-fp/fixtfsi.c: Likewise.
14125 * soft-fp/fixtfti.c: Likewise.
14126 * soft-fp/fixunsdfdi.c: Likewise.
14127 * soft-fp/fixunsdfsi.c: Likewise.
14128 * soft-fp/fixunsdfti.c: Likewise.
14129 * soft-fp/fixunssfdi.c: Likewise.
14130 * soft-fp/fixunssfsi.c: Likewise.
14131 * soft-fp/fixunssfti.c: Likewise.
14132 * soft-fp/fixunstfdi.c: Likewise.
14133 * soft-fp/fixunstfsi.c: Likewise.
14134 * soft-fp/fixunstfti.c: Likewise.
14135 * soft-fp/floatdidf.c: Likewise.
14136 * soft-fp/floatdisf.c: Likewise.
14137 * soft-fp/floatditf.c: Likewise.
14138 * soft-fp/floatsidf.c: Likewise.
14139 * soft-fp/floatsisf.c: Likewise.
14140 * soft-fp/floatsitf.c: Likewise.
14141 * soft-fp/floattidf.c: Likewise.
14142 * soft-fp/floattisf.c: Likewise.
14143 * soft-fp/floattitf.c: Likewise.
14144 * soft-fp/floatundidf.c: Likewise.
14145 * soft-fp/floatundisf.c: Likewise.
14146 * soft-fp/floatunditf.c: Likewise.
14147 * soft-fp/floatunsidf.c: Likewise.
14148 * soft-fp/floatunsisf.c: Likewise.
14149 * soft-fp/floatunsitf.c: Likewise.
14150 * soft-fp/floatuntidf.c: Likewise.
14151 * soft-fp/floatuntisf.c: Likewise.
14152 * soft-fp/floatuntitf.c: Likewise.
14153 * soft-fp/fmadf4.c: Likewise.
14154 * soft-fp/fmasf4.c: Likewise.
14155 * soft-fp/fmatf4.c: Likewise.
14156 * soft-fp/gedf2.c: Likewise.
14157 * soft-fp/gesf2.c: Likewise.
14158 * soft-fp/getf2.c: Likewise.
14159 * soft-fp/ledf2.c: Likewise.
14160 * soft-fp/lesf2.c: Likewise.
14161 * soft-fp/letf2.c: Likewise.
14162 * soft-fp/muldf3.c: Likewise.
14163 * soft-fp/mulsf3.c: Likewise.
14164 * soft-fp/multf3.c: Likewise.
14165 * soft-fp/negdf2.c: Likewise.
14166 * soft-fp/negsf2.c: Likewise.
14167 * soft-fp/negtf2.c: Likewise.
14168 * soft-fp/op-1.h: Likewise.
14169 * soft-fp/op-2.h: Likewise.
14170 * soft-fp/op-4.h: Likewise.
14171 * soft-fp/op-8.h: Likewise.
14172 * soft-fp/op-common.h: Likewise.
14173 * soft-fp/quad.h: Likewise.
14174 * soft-fp/single.h: Likewise.
14175 * soft-fp/soft-fp.h: Likewise.
14176 * soft-fp/sqrtdf2.c: Likewise.
14177 * soft-fp/sqrtsf2.c: Likewise.
14178 * soft-fp/sqrttf2.c: Likewise.
14179 * soft-fp/subdf3.c: Likewise.
14180 * soft-fp/subsf3.c: Likewise.
14181 * soft-fp/subtf3.c: Likewise.
14182 * soft-fp/truncdfsf2.c: Likewise.
14183 * soft-fp/trunctfdf2.c: Likewise.
14184 * soft-fp/trunctfsf2.c: Likewise.
14185 * soft-fp/trunctfxf2.c: Likewise.
14186 * soft-fp/unorddf2.c: Likewise.
14187 * soft-fp/unordsf2.c: Likewise.
14188 * soft-fp/unordtf2.c: Likewise.
14190 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14192 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14193 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14195 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14197 * elf/dl-libc.c: Clear initfini list after freeing.
14199 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14201 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14202 * soft-fp/addsf3.c: Likewise.
14203 * soft-fp/addtf3.c: Likewise.
14204 * soft-fp/divdf3.c: Likewise.
14205 * soft-fp/divsf3.c: Likewise.
14206 * soft-fp/divtf3.c: Likewise.
14207 * soft-fp/double.h: Likewise.
14208 * soft-fp/eqdf2.c: Likewise.
14209 * soft-fp/eqsf2.c: Likewise.
14210 * soft-fp/eqtf2.c: Likewise.
14211 * soft-fp/extenddftf2.c: Likewise.
14212 * soft-fp/extended.h: Likewise.
14213 * soft-fp/extendsfdf2.c: Likewise.
14214 * soft-fp/extendsftf2.c: Likewise.
14215 * soft-fp/extendxftf2.c: Likewise.
14216 * soft-fp/fixdfdi.c: Likewise.
14217 * soft-fp/fixdfsi.c: Likewise.
14218 * soft-fp/fixdfti.c: Likewise.
14219 * soft-fp/fixsfdi.c: Likewise.
14220 * soft-fp/fixsfsi.c: Likewise.
14221 * soft-fp/fixsfti.c: Likewise.
14222 * soft-fp/fixtfdi.c: Likewise.
14223 * soft-fp/fixtfsi.c: Likewise.
14224 * soft-fp/fixtfti.c: Likewise.
14225 * soft-fp/fixunsdfdi.c: Likewise.
14226 * soft-fp/fixunsdfsi.c: Likewise.
14227 * soft-fp/fixunsdfti.c: Likewise.
14228 * soft-fp/fixunssfdi.c: Likewise.
14229 * soft-fp/fixunssfsi.c: Likewise.
14230 * soft-fp/fixunssfti.c: Likewise.
14231 * soft-fp/fixunstfdi.c: Likewise.
14232 * soft-fp/fixunstfsi.c: Likewise.
14233 * soft-fp/fixunstfti.c: Likewise.
14234 * soft-fp/floatdidf.c: Likewise.
14235 * soft-fp/floatdisf.c: Likewise.
14236 * soft-fp/floatditf.c: Likewise.
14237 * soft-fp/floatsidf.c: Likewise.
14238 * soft-fp/floatsisf.c: Likewise.
14239 * soft-fp/floatsitf.c: Likewise.
14240 * soft-fp/floattidf.c: Likewise.
14241 * soft-fp/floattisf.c: Likewise.
14242 * soft-fp/floattitf.c: Likewise.
14243 * soft-fp/floatundidf.c: Likewise.
14244 * soft-fp/floatundisf.c: Likewise.
14245 * soft-fp/floatunsidf.c: Likewise.
14246 * soft-fp/floatunsisf.c: Likewise.
14247 * soft-fp/floatuntidf.c: Likewise.
14248 * soft-fp/floatuntisf.c: Likewise.
14249 * soft-fp/floatuntitf.c: Likewise.
14250 * soft-fp/fmadf4.c: Likewise.
14251 * soft-fp/fmasf4.c: Likewise.
14252 * soft-fp/fmatf4.c: Likewise.
14253 * soft-fp/gedf2.c: Likewise.
14254 * soft-fp/gesf2.c: Likewise.
14255 * soft-fp/getf2.c: Likewise.
14256 * soft-fp/ledf2.c: Likewise.
14257 * soft-fp/lesf2.c: Likewise.
14258 * soft-fp/letf2.c: Likewise.
14259 * soft-fp/muldf3.c: Likewise.
14260 * soft-fp/mulsf3.c: Likewise.
14261 * soft-fp/multf3.c: Likewise.
14262 * soft-fp/negdf2.c: Likewise.
14263 * soft-fp/negsf2.c: Likewise.
14264 * soft-fp/negtf2.c: Likewise.
14265 * soft-fp/op-1.h: Likewise.
14266 * soft-fp/op-2.h: Likewise.
14267 * soft-fp/op-4.h: Likewise.
14268 * soft-fp/op-8.h: Likewise.
14269 * soft-fp/op-common.h: Likewise.
14270 * soft-fp/quad.h: Likewise.
14271 * soft-fp/single.h: Likewise.
14272 * soft-fp/soft-fp.h: Likewise.
14273 * soft-fp/sqrtdf2.c: Likewise.
14274 * soft-fp/sqrtsf2.c: Likewise.
14275 * soft-fp/sqrttf2.c: Likewise.
14276 * soft-fp/subdf3.c: Likewise.
14277 * soft-fp/subsf3.c: Likewise.
14278 * soft-fp/subtf3.c: Likewise.
14279 * soft-fp/truncdfsf2.c: Likewise.
14280 * soft-fp/trunctfdf2.c: Likewise.
14281 * soft-fp/trunctfsf2.c: Likewise.
14282 * soft-fp/trunctfxf2.c: Likewise.
14283 * soft-fp/unorddf2.c: Likewise.
14284 * soft-fp/unordsf2.c: Likewise.
14285 * soft-fp/unordtf2.c: Likewise.
14287 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14290 * misc/error.c (error_tail): Fix possible buffer overflow.
14292 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14295 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14298 2013-10-14 P. J. McDermott <pj@pehjota.net>
14301 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14302 testing pipefail option.
14304 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14306 * soft-fp/double.h: Indent preprocessor directives inside #if.
14307 * soft-fp/extended.h: Likewise.
14308 * soft-fp/op-2.h: Likewise.
14309 * soft-fp/op-4.h: Likewise.
14310 * soft-fp/op-common.h: Likewise.
14311 * soft-fp/quad.h: Likewise.
14312 * soft-fp/single.h: Likewise.
14313 * soft-fp/soft-fp.h: Likewise.
14315 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14317 * iconv/iconv_prog.c: Fix typos.
14318 * stdio-common/psiginfo-data.h: Likewise.
14320 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14323 * locale/setlocale.c: Fix typo.
14325 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14328 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14329 signaling NaN arguments.
14330 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14331 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14334 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14335 unordered operands.
14336 * soft-fp/gesf2.c (__gesf2): Likewise.
14337 * soft-fp/getf2.c (__getf2): Likewise.
14338 * soft-fp/ledf2.c (__ledf2): Likewise.
14339 * soft-fp/lesf2.c (__lesf2): Likewise.
14340 * soft-fp/letf2.c (__letf2): Likewise.
14342 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14343 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14344 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14345 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14346 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14347 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14348 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14349 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14350 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14351 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14352 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14353 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14354 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14355 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14356 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14357 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14358 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14359 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14360 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14361 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14362 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14363 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14364 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14365 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14366 * soft-fp/floattidf.c (__floattidf): Likewise.
14367 * soft-fp/floattisf.c (__floattisf): Likewise.
14368 * soft-fp/floattitf.c (__floattitf): Likewise.
14369 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14370 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14371 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14372 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14373 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14374 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14375 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14376 * soft-fp/gesf2.c (__gesf2): Likewise.
14377 * soft-fp/getf2.c (__getf2): Likewise.
14378 * soft-fp/ledf2.c (__ledf2): Likewise.
14379 * soft-fp/lesf2.c (__lesf2): Likewise.
14380 * soft-fp/letf2.c (__letf2): Likewise.
14382 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14383 Undefine and redefine.
14384 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14385 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14386 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14387 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14388 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14389 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14390 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14391 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14392 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14393 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14394 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14395 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14396 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14397 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14398 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14401 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14402 without decrementing exponent if mantissa >= that for the
14403 denominator, not >.
14404 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14405 denominator, not >. Decrement exponent in < case instead of
14406 incrementing in >= case.
14407 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14408 without decrementing exponent if mantissa >= that for the
14409 denominator, not >.
14411 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14412 computing saturated result for unsigned overflow.
14414 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14415 Jeff Law <law@redhat.com>
14417 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14418 (atan2Mp): Add systemtap probe marker.
14419 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14420 (__ieee754_log): Add systemtap probe marker.
14421 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14422 (atanMp): Add systemtap probe marker.
14423 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14424 (tanMp): Add systemtap probe marker.
14425 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14426 (__slowexp): Add systemtap probe marker.
14427 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14428 (__slowpow): Add systemtap probe marker.
14429 * manual/probes.texi: Document probes.
14431 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14434 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14436 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14438 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14439 written to buffer but not flushed.
14440 * libio/iofwrite_u.c: Likewise.
14441 * libio/iopadn.c: Return bytes returned even if EOF was
14443 * libio/iowpadn.c: Likewise.
14444 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14445 if _IO_padn does not write the whole buffer.
14446 [!COMPILE_WPRINTF] (PAD): Likewise.
14448 2013-10-10 David S. Miller <davem@davemloft.net>
14450 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14453 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14455 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14456 instead of FSF address.
14457 * soft-fp/fixdfti.c: Likewise.
14458 * soft-fp/fixsfti.c: Likewise.
14459 * soft-fp/fixtfti.c: Likewise.
14460 * soft-fp/fixunsdfti.c: Likewise.
14461 * soft-fp/fixunssfti.c: Likewise.
14462 * soft-fp/fixunstfti.c: Likewise.
14463 * soft-fp/floattidf.c: Likewise.
14464 * soft-fp/floattisf.c: Likewise.
14465 * soft-fp/floattitf.c: Likewise.
14466 * soft-fp/floatuntidf.c: Likewise.
14467 * soft-fp/floatuntisf.c: Likewise.
14468 * soft-fp/floatuntitf.c: Likewise.
14469 * soft-fp/trunctfxf2.c: Likewise.
14471 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14472 * soft-fp/fixdfti.c: Likewise.
14473 * soft-fp/fixsfti.c: Likewise.
14474 * soft-fp/fixtfti.c: Likewise.
14475 * soft-fp/fixunsdfti.c: Likewise.
14476 * soft-fp/fixunssfti.c: Likewise.
14477 * soft-fp/fixunstfti.c: Likewise.
14478 * soft-fp/floattidf.c: Likewise.
14479 * soft-fp/floattisf.c: Likewise.
14480 * soft-fp/floattitf.c: Likewise.
14481 * soft-fp/floatuntidf.c: Likewise.
14482 * soft-fp/floatuntisf.c: Likewise.
14483 * soft-fp/floatuntitf.c: Likewise.
14484 * soft-fp/trunctfxf2.c: Likewise.
14486 2013-10-10 David S. Miller <davem@davemloft.net>
14488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14490 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14492 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14493 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14494 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14495 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14496 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14497 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14498 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14501 for NaNs before doing comparisons on argument.
14502 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14505 2013-10-10 Will Newton <will.newton@linaro.org>
14507 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14508 passed to _int_memalign does not overflow.
14510 2013-10-10 Torvald Riegel <triegel@redhat.com>
14512 * scripts/bench.pl: Add include-sources directive.
14513 * benchtests/README: Update documentation.
14515 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14517 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14518 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14519 instead of FP_INIT_ROUNDMODE.
14520 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14521 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14524 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14525 copy class of input value.
14526 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14527 not handle exceptions.
14528 * soft-fp/negsf2.c (__negsf2): Likewise.
14529 * soft-fp/negtf2.c (__negtf2): Likewise.
14530 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14532 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14534 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14535 semicolon. From Linux kernel.
14537 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14539 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14541 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14544 * manual/socket.texi: Added statement about buffer
14545 for gethostbyname2_r.
14547 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14549 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14550 Use .p2align directive instead, throughout.
14551 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14552 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14553 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14555 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14556 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14557 * sysdeps/x86_64/strchr.S: Likewise.
14558 * sysdeps/x86_64/strrchr.S: Likewise.
14560 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14562 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14564 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14566 * sysdeps/generic/math_private.h (__mpsin1): Remove
14568 (__mpcos1): Likewise.
14569 (__mpsin): New argument __range_reduce.
14570 (__mpcos): Likewise.
14571 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14572 (slow): Use __mpsin and __mpcos.
14576 (sloww1): Likewise.
14577 (sloww2): Likewise.
14578 (bsloww): Likewise.
14579 (bsloww1): Likewise.
14580 (bsloww2): Likewise.
14581 (cslow2): Likewise.
14582 (csloww): Likewise.
14583 (csloww1): Likewise.
14584 (csloww2): Likewise.
14585 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14586 range_reduce. Merge in __mpsin1.
14587 (__mpcos): Likewise.
14588 (__mpsin1): Remove.
14589 (__mpcos1): Likewise.
14591 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14593 * locale/loadlocale.c (_nl_intern_locale_data): Use
14595 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14596 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14597 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14598 obstack data is appropriately aligned.
14599 (obstack_int32_grow_fast): Likewise.
14600 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14601 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14602 (add_locale_uint32_array): Likewise.
14604 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14606 * benchtests/Makefile: Remove ARGLIST and RET variables.
14607 ($(objpfx)bench-%.c): Pass only function name to the script.
14608 * benchtests/README: Update documentation.
14609 * benchtests/acos-inputs: Add new directives.
14610 * benchtests/acosh-inputs: Likewise.
14611 * benchtests/asin-inputs: Likewise.
14612 * benchtests/asinh-inputs: Likewise.
14613 * benchtests/atan-inputs: Likewise.
14614 * benchtests/atanh-inputs: Likewise.
14615 * benchtests/cos-inputs: Likewise.
14616 * benchtests/cosh-inputs: Likewise.
14617 * benchtests/exp-inputs: Likewise.
14618 * benchtests/log-inputs: Likewise.
14619 * benchtests/pow-inputs: Likewise.
14620 * benchtests/rint-inputs: Likewise.
14621 * benchtests/sin-inputs: Likewise.
14622 * benchtests/sinh-inputs: Likewise.
14623 * benchtests/tan-inputs: Likewise.
14624 * benchtests/tanh-inputs: Likewise.
14625 * scripts/bench.pl: Add support for new directives.
14627 2013-10-07 Alan Modra <amodra@gmail.com>
14629 * README: Fix careless merge.
14631 2013-10-05 Alan Modra <amodra@gmail.com>
14633 * NEWS: Mention powerpc64le support and bugs fixed.
14634 * README: Both big-endian and little-endian powerpc64 supported.
14636 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14638 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14639 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14640 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14641 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14643 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14645 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14648 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14650 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14651 Move -mhard-float appending from
14652 ports/sysdeps/powerpc/powerpc32/Makefile.
14653 [$(with-fp) = yes] (ASFLAGS): Likewise.
14654 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14655 * sysdeps/powerpc/nofpu: Move directory from
14656 ports/sysdeps/powerpc/nofpu.
14657 * sysdeps/powerpc/soft-fp: Move directory from
14658 ports/sysdeps/powerpc/soft-fp.
14659 * sysdeps/powerpc/powerpc32/405: Move directory from
14660 ports/sysdeps/powerpc/powerpc32/405.
14661 * sysdeps/powerpc/powerpc32/440: Move directory from
14662 ports/sysdeps/powerpc/powerpc32/440.
14663 * sysdeps/powerpc/powerpc32/464: Move directory from
14664 ports/sysdeps/powerpc/powerpc32/464.
14665 * sysdeps/powerpc/powerpc32/476: Move directory from
14666 ports/sysdeps/powerpc/powerpc32/476.
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14668 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14670 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14672 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14674 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14676 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14677 * README: Update for powerpc-*-linux-gnu software floating point
14680 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14681 case to powerpc/powerpc32*.
14682 * sysdeps/unix/sysv/linux/configure: Regenerated.
14684 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14685 (_FPU_MASK_OM): Define as 0x04.
14686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14694 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14697 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14700 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14701 and setcontext_e500.
14703 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14705 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14707 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14709 * manual/threads.texi (Default Thread Attributes): Fix typo.
14711 2013-10-04 Will Newton <will.newton@linaro.org>
14713 * malloc/Makefile: Add tst-memalign.
14714 * malloc/tst-memalign.c: New file.
14716 * malloc/tst-posix_memalign.c: Add comments.
14717 (do_test): Add comments and call free on all potentially
14718 allocated pointers. Add space after cast.
14720 * malloc/tst-pvalloc.c: Add comments.
14721 (do_test): Add comments and call free on all potentially
14722 allocated pointers. Remove duplicate check for NULL pointer.
14723 Add space after cast.
14725 * malloc/tst-valloc.c: Add comments.
14726 (do_test): Add comments and call free on all potentially
14727 allocated pointers. Remove duplicate check for NULL pointer.
14728 Add space after cast.
14730 2013-10-04 Alan Modra <amodra@gmail.com>
14732 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14733 Use stdint types in rather than __attribute__((mode())).
14734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14736 2013-10-04 Alan Modra <amodra@gmail.com>
14738 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14739 Correct handling of unaligned relocs for little-endian.
14740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14742 2013-10-04 Alan Modra <amodra@gmail.com>
14744 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14745 * configure: Regenerate.
14746 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14747 * shlib-versions: Likewise.
14749 2013-10-04 Alan Modra <amodra@gmail.com>
14751 * string/tester.c (test_memrchr): Increment reported test cycle.
14753 2013-10-04 Alan Modra <amodra@gmail.com>
14755 * string/test-memcpy.c (do_one_test): When reporting errors, print
14756 string address and don't overrun end of string.
14758 2013-10-04 Alan Modra <amodra@gmail.com>
14760 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14761 insrdi. Make better use of reg selection to speed exit slightly.
14762 Schedule entry path a little better. Remove useless "are we done"
14763 checks on entry to main loop. Handle wrapping around zero address.
14764 Correct main loop count. Handle single left-over word from main
14765 loop inline rather than by using loop_small. Remove extra word
14766 case in loop_small caused by wrong loop count. Add little-endian
14768 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14769 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14771 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14772 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14773 support. Avoid rlwimi.
14774 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14776 2013-10-04 Alan Modra <amodra@gmail.com>
14778 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14779 insrdi. Formatting.
14780 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14781 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14782 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14783 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14784 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14785 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14787 2013-10-04 Alan Modra <amodra@gmail.com>
14789 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14790 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14792 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14793 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14794 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14795 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14796 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14797 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14798 use of regs. Use power7 mtocrf. Tidy function tails.
14800 2013-10-04 Alan Modra <amodra@gmail.com>
14802 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14803 Formatting. Consistently use rXXX register defines or rN defines.
14804 Use early exit labels that avoid restoring unused non-volatile regs.
14805 Make cr field use more consistent with rWORDn compares. Rename
14806 regs used as shift registers for unaligned loop, using rN defines
14807 for short lifetime/multiple use regs.
14808 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14809 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14810 addi 1,1,64 to pop stack frame. Simplify return value code.
14811 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14813 2013-10-04 Alan Modra <amodra@gmail.com>
14815 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14816 support. Correct typos, formatting. Optimize tail. Use insrdi
14817 rather than rlwimi.
14818 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14819 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14820 little-endian support. Correct typos.
14821 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14822 rather than rlwimi.
14823 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14824 in loop and entry code to keep "and." results.
14825 (strchr): Add little-endian support. Comment. Move cntlzd
14827 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14829 2013-10-04 Alan Modra <amodra@gmail.com>
14831 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14832 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14833 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14834 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14836 2013-10-04 Alan Modra <amodra@gmail.com>
14838 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14839 (rTMP): Define as r11.
14840 (strcmp): Add little-endian support. Optimise tail.
14841 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14842 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14843 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14844 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14845 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14846 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14847 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14849 2013-10-04 Alan Modra <amodra@gmail.com>
14851 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14852 little-endian support. Remove unnecessary "are we done" tests.
14853 Handle "s" wrapping around zero and extremely large "size".
14854 Correct main loop count. Handle single left-over word from main
14855 loop inline rather than by using small_loop. Correct comments.
14856 Delete "zero" tail, use "end_max" instead.
14857 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14859 2013-10-04 Alan Modra <amodra@gmail.com>
14861 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14862 support. Don't branch over align.
14863 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14864 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14865 support. Rearrange tmp reg use to suit. Comment.
14866 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14868 2013-10-04 Alan Modra <amodra@gmail.com>
14870 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14872 2013-10-04 Alan Modra <amodra@gmail.com>
14874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14875 conditional form of branch and link when obtaining pc.
14876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14878 2013-10-04 Alan Modra <amodra@gmail.com>
14880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14885 2013-10-04 Alan Modra <amodra@gmail.com>
14887 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14888 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14889 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14890 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14891 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14892 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14893 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14894 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14895 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14896 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14898 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14899 Alistair Popple <alistair@ozlabs.au.ibm.com>
14900 Alan Modra <amodra@gmail.com>
14903 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14904 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14905 _dl_hwcap access for little-endian.
14906 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14907 destroy vmx regs when saving unaligned.
14908 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14909 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14910 destroy vmx regs when saving unaligned.
14912 2013-10-04 Alan Modra <amodra@gmail.com>
14914 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14915 Don't use a union to pack hi/low value.
14917 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14919 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14921 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14922 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14923 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14924 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14925 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14927 2013-10-04 Alan Modra <amodra@gmail.com>
14929 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14930 constants to usual value for .cst8 section, and remove redundant
14932 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14933 constant for 0x1p52. Load little-endian words of double from
14934 correct stack offsets.
14936 2013-10-04 Alan Modra <amodra@gmail.com>
14938 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14939 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14940 words of double from correct stack offsets.
14941 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14942 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14943 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14944 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14945 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14946 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14947 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14948 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14949 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14950 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14951 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14952 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14953 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14954 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14955 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14956 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14957 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14959 2013-10-04 Alan Modra <amodra@gmail.com>
14961 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14962 64-bit int/double union.
14963 (_FPU_SETCW): Likewise.
14964 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14965 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14967 2013-10-04 Alan Modra <amodra@gmail.com>
14969 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14970 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14972 2013-10-04 Alan Modra <amodra@gmail.com>
14974 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14975 use vector int constants.
14976 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14978 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14980 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14981 array with long long.
14982 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14983 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14984 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14985 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14986 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14987 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14988 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14989 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14990 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14991 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14992 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14993 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14994 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14996 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14998 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14999 (__signbit): Likewise. Correct for little-endian.
15000 (__signbitl): Call __signbit.
15001 (lrint): Correct for little-endian.
15002 (lrintf): Call lrint.
15004 2013-10-04 Alan Modra <amodra@gmail.com>
15006 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15007 union 32-bit int array member with 64-bit int array.
15008 (t515, tm256): Double rather than long double.
15009 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15011 2013-10-04 Alan Modra <amodra@gmail.com>
15013 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15015 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15016 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15017 version of math_ldbl.h.
15019 2013-10-04 Alan Modra <amodra@gmail.com>
15021 [BZ #15734], [BZ #15735]
15022 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15023 all uses of ieee875 long double macros and unions. Simplify test
15024 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15025 ldbl_extract_mantissa value for ix,iy exponents. Properly
15026 normalize after ldbl_extract_mantissa, and don't add hidden bit
15027 already handled. Don't treat low word of ieee854 mantissa like
15028 low word of IBM long double and mask off bit when testing for
15030 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15031 all uses of ieee875 long double macros and unions. Simplify tests
15032 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15033 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15034 two1022, instead use their values. Recognise that tests for large
15035 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15036 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15037 Rewrite all uses of ieee875 long double macros and unions. Simplify
15038 test for 0.0L and nan. Correct negation.
15039 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15040 ieee875 long double macros and unions. Correct output for large
15041 magnitude x. Correct absolute value calculation.
15042 (__erfcl): Likewise.
15043 * math/libm-test.inc: Add tests for errors discovered in IBM long
15044 double versions of fmodl, remainderl, erfl and erfcl.
15046 2013-10-04 Alan Modra <amodra@gmail.com>
15048 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15049 all uses of ieee854 long double macros and unions. Simplify tests
15050 for long doubles that are fully specified by the high double.
15051 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15053 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15054 Remove dead code too.
15055 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15056 (__ieee754_ynl): Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15060 Remove dead code too.
15061 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15068 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15069 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15071 Comment on variable precision.
15072 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15075 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15076 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15077 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15078 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15079 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15081 2013-10-04 Alan Modra <amodra@gmail.com>
15083 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15084 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15085 all uses of ieee854 long double macros and unions.
15086 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15087 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15088 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15089 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15090 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15091 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15093 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15094 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15095 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15096 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15097 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15098 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15099 Simplify sign and nan test too.
15100 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15101 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15102 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15103 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15105 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15106 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15108 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15109 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15110 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15111 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15112 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15115 2013-10-04 Alan Modra <amodra@gmail.com>
15117 * stdio-common/printf_size.c (__printf_size): Don't use
15118 union ieee854_long_double in fpnum union.
15119 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15120 signbit macro to retrieve sign from long double.
15121 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15122 retrieve sign from long double.
15123 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15124 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15125 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15126 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15127 * math/test-misc.c (main): Don't use union ieee854_long_double.
15129 2013-10-04 Alan Modra <amodra@gmail.com>
15132 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15133 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15134 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15135 calculation. Remove unnecessary test for denormal exponent.
15136 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15137 Correct handling of denormals. Avoid undefined shift behaviour.
15138 Correct normalisation of low mantissa when low double is denormal.
15139 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15140 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15141 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15142 Correct normalisation of low mantissa. Test for overflow of high
15143 mantissa and normalise.
15144 (ldbl_nearbyint): Use more readable constant for two52.
15145 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15146 (__mpn_construct_long_double): Fix test for overflow of high
15147 mantissa and correct normalisation. Avoid undefined shift.
15149 2013-10-04 Alan Modra <amodra@gmail.com>
15151 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15152 (union ibm_extended_long_double): Define as an array of ieee754_double.
15153 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15154 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15155 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15156 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15157 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15158 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15159 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15160 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15161 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15162 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15163 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15165 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15167 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15168 page size instead of calling getpagesize.
15170 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15171 (LOCFILE_ALIGN_MASK): Likewise.
15172 (LOCFILE_ALIGN_UP): Likewise.
15173 (LOCFILE_ALIGNED_P): Likewise.
15174 * locale/programs/ld-collate.c (collate_output): Use the new
15175 macros instead of __alignof__ (int32_t).
15176 * locale/weight.h (findidx): Likewise.
15178 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15181 * manual/string.texi: Fix strncat and wcsncat.
15183 2013-10-03 Brooks Moses <bmoses@google.com>
15186 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15187 * Makerules: ...here, and adjust associated comments.
15189 2013-10-02 Will Newton <will.newton@linaro.org>
15191 * malloc/Makefile: Add tst-pvalloc.
15192 * malloc/tst-pvalloc.c: New file.
15194 2013-10-02 Will Newton <will.newton@linaro.org>
15196 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15197 improve test coverage.
15199 2013-10-02 Will Newton <will.newton@linaro.org>
15201 * malloc/Makefile: Add tst-posix_memalign.
15202 * malloc/tst-posix_memalign.c: New file.
15204 2013-10-01 Eric Blake <eblake@redhat.com>
15206 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15207 Use __THROWNL rather than __THROW on static functions.
15209 2013-09-30 Petr Machata <pmachata@redhat.com>
15211 * elf/elf.h (R_AARCH64_ABS16): New macro.
15212 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15213 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15214 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15215 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15216 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15217 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15218 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15219 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15220 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15221 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15222 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15223 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15224 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15225 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15226 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15227 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15228 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15229 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15230 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15231 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15232 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15233 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15234 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15235 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15236 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15237 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15238 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15239 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15240 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15241 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15242 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15243 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15244 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15245 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15246 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15247 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15248 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15249 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15250 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15251 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15252 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15253 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15254 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15255 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15256 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15257 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15258 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15259 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15260 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15261 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15262 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15263 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15264 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15265 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15266 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15267 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15268 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15269 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15270 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15271 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15272 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15273 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15274 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15275 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15276 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15277 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15278 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15279 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15280 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15281 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15282 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15283 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15284 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15285 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15286 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15287 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15288 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15289 (R_AARCH64_TLSDESC_LDR): Likewise.
15290 (R_AARCH64_TLSDESC_ADD): Likewise.
15291 (R_AARCH64_TLSDESC_CALL): Likewise.
15293 2013-09-30 Andreas Schwab <schwab@suse.de>
15296 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15297 the nss database lookup.
15298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15301 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15303 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15305 2013-09-28 P. J. McDermott <pj@pehjota.net>
15307 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15308 ${Bash-specific parameter/pattern/string} parameter expansion.
15309 * sysdeps/unix/make-syscalls.sh: Likewise.
15311 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15313 * sysdeps/sh/stackguard-macros.h: New file.
15315 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15318 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15319 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15320 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15321 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15322 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15324 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15326 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15327 Fix thread ID register.
15329 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15331 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15332 [POSIX || UNIX98]: Require rather than permitting all symbols from
15334 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15335 element of struct sched_param.
15336 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15337 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15338 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15339 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15342 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15344 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15345 argument calculation.
15347 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15349 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15351 [POSIX] (pthread_attr_t): Do not require type.
15352 [POSIX] (pthread_cond_t): Likewise.
15353 [POSIX] (pthread_condattr_t): Likewise.
15354 [POSIX] (pthread_key_t): Likewise.
15355 [POSIX] (pthread_mutex_t): Likewise.
15356 [POSIX] (pthread_mutexattr_t): Likewise.
15357 [POSIX] (pthread_once_t): Likewise.
15358 [POSIX] (pthread_t): Likewise.
15359 [POSIX-based standards] (pthread_atfork): Expect function.
15361 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15362 Richard Sandiford <richard@codesourcery.com>
15364 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15365 (swap_endianness_p): New extern variable.
15366 (set_big_endian): New inline function.
15367 (maybe_swap_uint32): Likewise.
15368 (maybe_swap_uint32_array): Likewise.
15369 (maybe_swap_uint32_obstack): Likewise.
15370 * locale/programs/locfile.c: Include <stdbool.h>.
15371 (swap_endianness_p): New variable.
15372 (add_locale_uint32): Call maybe_swap_uint32.
15373 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15374 (write_locale_data): Call maybe_swap_uint32_array.
15375 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15377 (obstack_int32_grow_fast): Likewise.
15378 (output_weightwc): Call maybe_swap_uint32_obstack.
15379 (collate_output): Likewise.
15380 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15381 (OPT_LITTLE_ENDIAN): Likewise.
15382 (options): Add --little-endian and --big-endian options.
15383 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15384 * locale/programs/locarchive.c: Include "locfile.h".
15388 (create_archive): Use the new macros to access fields of
15389 structures directly mapped from or written to locale archives.
15390 (oldlocrecentcmp): Likewise.
15391 (enlarge_archive): Likewise.
15392 (insert_name): Likewise.
15393 (add_alias): Likewise.
15394 (add_locale): Likewise.
15395 (delete_locales_from_archive): Likewise.
15396 (show_archive_content): Likewise.
15397 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15400 2013-09-24 Roland McGrath <roland@hack.frob.com>
15402 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15403 http://www.gnu.org/doc/freemanuals.texi.
15404 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15406 2013-09-24 Will Newton <will.newton@linaro.org>
15408 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15411 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15413 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15416 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15418 * manual/threads.texi (POSIX Threads): Fix a typo.
15420 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15423 * string/tst-strcoll-overflow.c: New test case.
15424 * string/Makefile (xtests): Add tst-strcoll-overflow.
15425 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15426 cache if string sizes may cause integer overflow.
15429 * string/strcoll_l.c (coll_seq): New members rule, idx,
15430 save_idx and back_us.
15431 (get_next_seq_nocache): New function.
15432 (do_compare_nocache): New function.
15433 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15436 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15439 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15440 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15441 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15444 * elf/Makefile (tests): Add tst-ptrguard1.
15445 (tests-static): Add tst-ptrguard1-static.
15446 (tst-ptrguard1-ARGS): Define.
15447 (tst-ptrguard1-static-ARGS): Define.
15448 * elf/tst-ptrguard1.c: New file.
15449 * elf/tst-ptrguard1-static.c: New file.
15450 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15451 * sysdeps/i386/stackguard-macros.h: Likewise.
15452 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15453 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15454 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15455 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15456 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15457 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15459 2013-09-23 Hector Marco <hecmargi@upv.es>
15460 Ismael Ripoll <iripoll@disca.upv.es>
15461 Carlos O'Donell <carlos@redhat.com>
15464 * sysdeps/generic/stackguard-macros.h: Define
15465 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15466 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15467 Define __pointer_chk_guard_local.
15468 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15469 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15471 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15474 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15476 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15478 * include/string.h (__ffs): Declare as hidden.
15479 * string/ffs.c (__ffs): Define as hidden.
15480 * sysdeps/i386/ffs.c (__ffs): Likewise.
15481 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15482 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15483 * sysdeps/s390/ffs.c (__ffs): Likewise.
15484 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15486 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15488 * NEWS: Mention malloc probes.
15490 * malloc/arena.c (new_heap): New memory_heap_new probe.
15491 (grow_heap): New memory_heap_more probe.
15492 (shrink_heap): New memory_heap_less probe.
15493 (heap_trim): New memory_heap_free probe.
15494 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15495 (systrim): New memory_sbrk_less probe.
15496 * manual/probes.texi: Document them.
15498 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15499 * manual/probes.texi: Document it.
15501 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15502 (__libc_realloc): Add memory_realloc_retry probe.
15503 (__libc_memalign): Add memory_memalign_retry probe.
15504 (__libc_valloc): Add memory_valloc_retry probe.
15505 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15506 (__libc_calloc): Add memory_calloc_retry probe.
15507 * manual/probes.texi: Document them.
15509 * malloc/arena.c (get_free_list): Add probe
15510 memory_arena_reuse_free_list.
15511 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15512 and memory_arena_reuse.
15513 (arena_get2) [!PER_THREAD]: Likewise.
15514 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15515 memory_arena_reuse_realloc.
15516 * manual/probes.texi: Document them.
15518 * malloc/malloc.c (__libc_free): Add
15519 memory_mallopt_free_dyn_thresholds probe.
15520 (__libc_mallopt): Add multiple memory_mallopt probes.
15521 * manual/probes.texi: Document them.
15523 * malloc/malloc.c: Include stap-probe.h.
15524 (__libc_mallopt): Add memory_mallopt probe.
15525 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15526 * manual/probes.texi: New.
15527 * manual/Makefile (chapters): Add probes.
15528 * manual/threads.texi: Set next node.
15530 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15532 [BZ #15963, #13985]
15533 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15534 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15535 Add `Chinese' to `nan' entry name.
15537 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15539 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15540 (POLYNOMIAL): Likewise.
15541 (TAYLOR_SINCOS): Likewise.
15542 (TAYLOR_SLOW): Likewise.
15543 (__sin): Use TAYLOR_SINCOS.
15545 (slow): Use TAYLOR_SLOW.
15547 (bsloww): Likewise.
15548 (csloww): Likewise.
15550 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15552 * stdlib/strtod_l.c: Fix buffer overrun.
15554 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15556 * benchtests/Makefile (bench): Add sincos.
15557 * benchtests/bench-sincos.c: New file.
15559 * math/libm-test.inc (cos_test_data): New test inputs.
15560 (sin_test_data): Likewise.
15562 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15568 (sloww1): Likewise.
15569 (sloww2): Likewise.
15570 (bsloww1): Likewise.
15571 (bsloww2): Likewise.
15572 (cslow2): Likewise.
15573 (csloww1): Likewise.
15574 (csloww2): Likewise.
15576 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15581 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15585 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15587 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15588 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15589 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15590 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15591 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15592 * elf/cache.c (print_entry): Handle the new cache flags.
15594 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15595 Aldy Hernandez <aldyh@redhat.com>
15597 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15598 Change condition to [_SOFT_FLOAT].
15599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15611 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15614 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15617 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15619 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15620 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15621 (__longjmp): Use LOAD_GP to load saved GPRs.
15622 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15623 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15624 (__sigsetjmp): Use SAVE_GP to save GPRs.
15626 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15627 Do not append -msoft-float.
15628 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15630 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15632 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15634 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15637 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15638 (_FPU_GETCW): Use initial "__" on variable and field names but not
15639 on macro parameter name.
15640 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15641 parentheses around reference to macro parameter.
15643 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15645 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15647 (ctype_startup): Use uint32_t in cast and sizeof for
15650 2013-09-11 Jia Liu <proljc@gmail.com>
15652 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15654 [__FreeBSD__]: Likewise.
15656 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15658 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15659 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15660 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15661 (strchr): Remove __strchr_sse42 ifunc selection.
15662 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15663 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15665 2013-09-11 Will Newton <will.newton@linaro.org>
15667 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15668 parameter to RES. Remove hardcoded 1000 value.
15669 * benchtests/bench-skeleton.c (main): Pass RES parameter
15670 to TIMING_INIT and multiply result by 1000.
15672 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15676 2013-09-11 Andreas Schwab <schwab@suse.de>
15678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15680 (O_TMPFILE) [__USE_GNU]: Define.
15681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15684 2013-09-11 Will Newton <will.newton@linaro.org>
15687 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15690 2013-09-11 Will Newton <will.newton@linaro.org>
15693 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15696 2013-09-11 Will Newton <will.newton@linaro.org>
15699 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15702 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15704 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15705 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15706 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15707 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15708 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15710 2013-09-10 Allan McRae <allan@archlinux.org>
15713 * manual/arith.texi (Parsing of Floats): Clarify
15717 * manual/install.texi (Running make install): Mention
15719 * INSTALL: Regenerated.
15721 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15723 * csu/init-first.c (_init): Remove the !SHARED condition around
15724 FPU control word initialization.
15725 * elf/dl-support.c (_dl_fpu_control): New variable.
15726 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15727 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15728 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15729 * math/test-fpucw-static.c: New file.
15730 * math/test-fpucw-ieee.c: New file.
15731 * math/test-fpucw-ieee-static.c: New file.
15732 * math/Makefile (tests): Add `test-fpucw-ieee' and
15734 (tests-static): New variable.
15735 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15737 [($(build-shared),yes)]
15738 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15740 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15743 2013-09-09 Allan McRae <allan@archlinux.org>
15746 * manual/string.texi (Collation Functions): Fix typo in
15748 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15751 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15754 * libio/memstream.c (open_memstream): Fix memory leak.
15755 * libio/wmemstream.c (open_wmemstream): Likewise.
15758 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15760 2013-09-09 Will Newton <will.newton@linaro.org>
15762 * malloc/Makefile: Add tst-realloc to tests.
15763 * malloc/tst-realloc.c: New file.
15765 2013-09-09 Allan McRae <allan@archlinux.org>
15768 * COPYING: Update from GNU website to fix FSF address.
15769 * COPYING.LIB: Likewise.
15771 2013-09-06 David S. Miller <davem@davemloft.net>
15773 * po/zh_TW.po: Update Chinese (traditional) translation from
15774 translation project.
15776 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15777 Joseph Myers <joseph@codesourcery.com>
15779 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15781 (obstack_chunk_alloc): New macro.
15782 (obstack_chunk_free): Likewise.
15783 (record_offset): New function.
15784 (init_locale_data): Likewise.
15785 (align_locale_data): Likewise.
15786 (add_locale_empty): Likewise.
15787 (add_locale_raw_data): Likewise.
15788 (add_locale_raw_obstack): Likewise.
15789 (add_locale_string): Likewise.
15790 (add_locale_wstring): Likewise.
15791 (add_locale_uint32): Likewise.
15792 (add_locale_uint32_array): Likewise.
15793 (add_locale_char): Likewise.
15794 (start_locale_structure): Likewise.
15795 (end_locale_structure): Likewise.
15796 (start_locale_prelude): Likewise.
15797 (end_locale_prelude): Likewise.
15798 (write_locale_data): Take locale_file structure rather than an
15800 * locale/programs/locfile.h: Include "obstack.h".
15801 (struct locale_file): Change to store locale file contents instead
15803 (init_locale_data): New prototype.
15804 (align_locale_data): Likewise.
15805 (add_locale_empty): Likewise.
15806 (add_locale_raw_data): Likewise.
15807 (add_locale_raw_obstack): Likewise.
15808 (add_locale_string): Likewise.
15809 (add_locale_wstring): Likewise.
15810 (add_locale_uint32): Likewise.
15811 (add_locale_uint32_array): Likewise.
15812 (add_locale_char): Likewise.
15813 (start_locale_structure): Likewise.
15814 (end_locale_structure): Likewise.
15815 (start_locale_prelude): Likewise.
15816 (end_locale_prelude): Likewise.
15817 (write_locale_data): Update prototype.
15818 * locale/programs/3level.h (struct TABLE): Remove result field.
15819 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15820 Use new locale_file interface.
15821 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15822 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15823 * locale/programs/ld-address.c (address_output): Use new
15824 locale_file interface.
15825 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15827 (collate_finish): Don't call collseq_table_finalize.
15828 (collate_output): Use new locale_file interface.
15829 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15831 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15832 (TABLE): Move defines earlier in file.
15833 (ELEMENT): Likewise.
15834 (DEFAULT): Likewise.
15835 (wctrans_table_add): Move macro and inline function earlier in
15837 (struct wctype_table): Move type earlier in file.
15838 (add_locale_wctype_table): New static prototype.
15839 (struct locale_ctype_t): Use logical types instead of struct iovec
15840 pointers for members.
15841 (ctype_output): Use new locale_file interface.
15842 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15843 new locale_file interface.
15844 (allocate_arrays): Update for use of new locale_file interface.
15845 * locale/programs/ld-identification.c (identification_output): Use
15846 new locale_file interface.
15847 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15848 * locale/programs/ld-messages.c (messages_output): Likewise.
15849 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15850 * locale/programs/ld-name.c (name_output): Likewise.
15851 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15852 * locale/programs/ld-paper.c (paper_output): Likewise.
15853 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15854 * locale/programs/ld-time.c (time_output): Likewise.
15856 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15858 * benchtests/Makefile: Add memrchr benchmark.
15859 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15860 benchmark as memrchr.
15861 * benchtests/bench-memrchr-ifunc.c: New file.
15862 * benchtests/bench-memrchr.c: New file.
15864 2013-09-06 Will Newton <will.newton@linaro.org>
15866 * benchtests/Makefile (string-bench): Add memcpy.
15868 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15869 Cong Wang <amwang@redhat.com>
15872 * sysdeps/unix/sysv/linux/bits/in.h
15873 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15874 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15875 before __USE_KERNEL_IPV6_DEFS uses.
15876 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15878 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15879 sockaddr_in6, or ipv6_mreq.
15881 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15883 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15884 memory access for final bytes in some large inputs.
15885 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15887 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15889 * string/test-memrchr.c: New file.
15890 * string/test-memrchr-ifunc.c: New file.
15891 * string/Makefile: Add new memrchr testcase.
15893 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15895 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15896 fanotify_init returns EPERM.
15898 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15900 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15902 (top level): Treat second token from macro or constant entries for
15903 allowed headers as allowed.
15904 * include/complex.h: Condition internal declarations on
15906 * include/fenv.h: Condition include of <stdbool.h> and internal
15907 declarations on [!_ISOMAC].
15909 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15912 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15914 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15916 * configure.in (--enable-versioning): Remove configure option.
15917 (libc_cv_asm_symver_directive): Remove configure test.
15918 (libc_cv_ld_version_script_option): Likewise.
15919 (VERSIONING): Remove variable and AC_SUBST.
15920 (DO_VERSIONING): Remove AC_DEFINE.
15921 * configure: Regenerated.
15922 * config.h.in (DO_VERSIONING): Remove macro.
15923 * Makerules [$(versioning) = yes]: Change conditionals to
15924 [$(build-shared) = yes].
15925 * config.make.in (versioning): Remove variable.
15926 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15927 [$(build-shared) = yes].
15928 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15929 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15930 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15931 [$(build-shared) = yes].
15932 * extra-lib.mk [$(versioning) = yes]: Likewise.
15933 * hurd/Makefile [$(versioning) = yes]: Likewise.
15934 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15936 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15938 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15939 [SHARED && !NO_HIDDEN].
15940 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15942 [SHARED && DO_VERSIONING]: Likewise..
15943 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15944 [$(build-shared) = yes].
15945 * manual/install.texi (--disable-versioning): Remove
15947 * INSTALL: Regenerated.
15948 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15950 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15951 [$(build-shared) = yes].
15952 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15953 * sysdeps/i386/i686/multiarch/strstr-c.c
15954 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15955 [SHARED && !NO_HIDDEN].
15956 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15957 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15958 * sysdeps/powerpc/powerpc32/dl-machine.c
15959 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15960 * sysdeps/powerpc/powerpc32/sysdep.h
15961 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15962 to [SHARED && PIC && !NO_HIDDEN].
15963 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15964 conditional to [SHARED].
15966 2013-09-04 Will Newton <will.newton@linaro.org>
15968 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15969 * benchtests/bench-string.h: Include bench-timing.h instead
15970 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15971 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15972 call to HP_TIMING_DIFF_INIT.
15973 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15974 instead of hp-timing.h macros.
15975 * benchtests/bench-memchr.c: Likewise.
15976 * benchtests/bench-memcmp.c: Likewise.
15977 * benchtests/bench-memcpy.c: Likewise.
15978 * benchtests/bench-memmem.c: Likewise.
15979 * benchtests/bench-memmove.c: Likewise.
15980 * benchtests/bench-memset.c: Likewise.
15981 * benchtests/bench-rawmemchr.c: Likewise.
15982 * benchtests/bench-strcasecmp.c: Likewise.
15983 * benchtests/bench-strcasestr.c: Likewise.
15984 * benchtests/bench-strcat.c: Likewise.
15985 * benchtests/bench-strchr.c: Likewise.
15986 * benchtests/bench-strcmp.c: Likewise.
15987 * benchtests/bench-strcpy.c: Likewise.
15988 * benchtests/bench-strcpy_chk.c: Likewise.
15989 * benchtests/bench-strlen.c: Likewise.
15990 * benchtests/bench-strncasecmp.c: Likewise.
15991 * benchtests/bench-strncat.c: Likewise.
15992 * benchtests/bench-strncmp.c: Likewise.
15993 * benchtests/bench-strncpy.c: Likewise.
15994 * benchtests/bench-strnlen.c: Likewise.
15995 * benchtests/bench-strpbrk.c: Likewise.
15996 * benchtests/bench-strrchr.c: Likewise.
15997 * benchtests/bench-strspn.c: Likewise.
15998 * benchtests/bench-strstr.c: Likewise.
16000 2013-09-04 Will Newton <will.newton@linaro.org>
16002 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16004 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16007 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16008 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16009 * math/libm-test.inc (lgamma_test_data): Add more tests.
16010 * sysdeps/i386/fpu/libm-test-ulps: Update.
16011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16013 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16015 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16019 Add strcmp-sse2-unaligned
16020 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16022 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16024 * Versions.def (libc): Add GLIBC_2.19.
16026 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16028 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16029 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16031 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16034 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16035 intermediate calculations in recurrence.
16036 (__ieee754_ynf): Likewise.
16037 * math/libm-test.inc (jn_test_data): Do not allow spurious
16038 underflow exception. Add more tests.
16039 (yn_test_data): Add more tests.
16040 * sysdeps/i386/fpu/libm-test-ulps: Update.
16041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16043 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16045 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16047 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16049 * csu/init-first.c: Fix then/than typos.
16050 * locale/programs/ld-collate.c: Likewise.
16051 * locale/programs/linereader.h: Likewise.
16052 * manual/charset.texi: Likewise.
16053 * manual/filesys.texi: Likewise.
16054 * manual/stdio.texi: Likewise.
16055 * manual/string.texi: Likewise.
16056 * stdlib/fmtmsg.c: Likewise.
16057 * sysdeps/i386/stpncpy.S: Likewise.
16058 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16059 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16060 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16061 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16063 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16065 * elf/dl-open.c: Fix typos.
16066 * iconvdata/gbbig5.c: Likewise.
16067 * iconvdata/iso-2022-jp.c: Likewise.
16068 * iconv/gconv_int.h: Likewise.
16069 * iconv/loop.c: Likewise.
16070 * nis/rpcsvc/nis.h: Likewise.
16071 * resolv/ns_name.c: Likewise.
16072 * stdio-common/vfscanf.c: Likewise.
16073 * streams/stropts.h: Likewise.
16074 * sunrpc/rpc_thread.c: Likewise.
16075 * sysdeps/i386/strpbrk.S: Likewise.
16076 * sysdeps/ieee754/k_standard.c: Likewise.
16077 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16079 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16080 * sysdeps/mach/hurd/profil.c: Likewise.
16081 * sysdeps/s390/dl-procinfo.h: Likewise.
16082 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16083 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16084 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16085 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16086 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16088 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16090 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16091 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16093 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16095 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16096 aix specific files.
16097 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16098 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16099 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16100 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16101 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16102 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16103 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16104 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16106 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16107 Roland McGrath <roland@hack.frob.com>
16109 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16110 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16112 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16114 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16115 __executable_start symbol instead of _start.
16117 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16119 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16120 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16122 * sysdeps/gnu/ldsodefs.h: ... this new file.
16124 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16125 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16126 instead of ELFOSABI_LINUX.
16128 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16129 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16130 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16131 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16133 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16134 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16135 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16137 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16138 (ibm_extended_long_double): Add ieee_nan member.
16139 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16140 (do_test): New function.
16142 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16144 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16145 functions, renamed from truncdfsf_test, trunctfsf_test,
16147 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16149 (do_test): Run all these.
16151 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16153 * argp/argp-help.c: Fix typos.
16154 * argp/argp-parse.c: Likewise.
16155 * debug/backtracesyms.c: Likewise.
16156 * elf/elf.h: Likewise.
16157 * malloc/malloc.c: Likewise.
16158 * nis/nis_print.c: Likewise.
16159 * resolv/res_comp.c: Likewise.
16160 * stdlib/stdlib.h: Likewise.
16161 * sunrpc/clnt_tcp.c: Likewise.
16162 * sunrpc/clnt_udp.c: Likewise.
16163 * sunrpc/clnt_unix.c: Likewise.
16164 * sysdeps/unix/bsd/ptsname.c: Likewise.
16165 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16166 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16173 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16175 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16177 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16180 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16183 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16184 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16185 ($(objpfx)bug-dl-leaf): New rule.
16186 ($(objpfx)bug-dl-leaf.so): Likewise.
16187 ($(objpfx)bug-dl-leaf.out): Likewise.
16188 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16189 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16190 * dlfcn/bug-dl-leaf.c: New test.
16191 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16192 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16193 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16194 (dlclose): Likewise.
16195 (dlmopen): Likewise.
16197 2013-08-27 Roland McGrath <roland@hack.frob.com>
16199 * include/netdb.h [!_ISOMAC]:
16200 Don't include <tls.h>.
16201 (h_errno, __libc_h_errno): Move declaration and macros out of
16204 * include/resolv.h [_RESOLV_H_]:
16205 Don't include <tls.h>.
16206 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16207 * resolv/res_libc.c: Don't include <tls.h>.
16208 (_res): Use __attribute__ ((nocommon)) in place of
16209 __attribute__ ((section (".bss"))).
16211 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16212 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16214 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16216 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16217 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16219 * resolv/res_mkquery.c: Include <sys/time.h>.
16221 * inet/ifreq.c: Moved to ...
16222 * sysdeps/unix/ifreq.c: ... here.
16223 * inet/ifreq.c: New file, true stub version.
16225 * socket/sa_len.c: New file.
16226 * socket/Makefile (aux): Add it.
16227 * sysdeps/unix/sysv/linux/Makefile
16228 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16229 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16230 and #include <socket/sa_len.c>.
16231 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16232 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16234 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16235 * bits/socket.h: ... here.
16237 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16238 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16239 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16241 2013-08-27 Andreas Schwab <schwab@suse.de>
16244 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16245 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16246 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16247 * string/test-strcasecmp.c (test_main): Run tests in several
16249 * string/test-strncasecmp.c (test_main): Likewise.
16251 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16252 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16253 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16254 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16255 (__strncasecmp_ssse3) [PIC]: Likewise.
16257 2013-08-26 Roland McGrath <roland@hack.frob.com>
16259 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16261 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16262 instead of explicitly declaring xdecrypt.
16263 * nis/nss_nis/nis-publickey.c: Likewise.
16265 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16268 * nscd/aicache.c: Include res_hconf.h.
16269 (addhstaiX): Initialize res_hconf.
16271 2013-08-26 Andreas Schwab <schwab@suse.de>
16273 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16274 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16276 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16278 * nscd/aicache.c (addhstaiX): Fix indentation.
16280 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16282 * configure.ac: Quote $build_pt_chown test.
16283 * configure: Regenerated.
16285 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16288 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16289 * math/s_cexpf.c (__cexpf): Likewise.
16290 * math/s_cexpl.c (__cexpl): Likewise.
16291 * math/libm-test.inc (cexp_test_data): Correct expected return
16292 value for NaN + i0. Add another test.
16294 2013-08-22 David S. Miller <davem@davemloft.net>
16296 * po/ca.po: Update Catalan translation from translation project.
16297 * po/uk.po: Add Ukrainian translations from translation project.
16299 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16302 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16303 is infinite, not alongside NaN test.
16304 * math/s_fdimf.c (__fdimf): Likewise.
16305 * math/s_fdiml.c (__fdiml): Likewise.
16306 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16307 errno is unchanged.
16309 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16311 * argp/argp-help.c: Fix typos.
16312 * crypt/speeds.c: Likewise.
16313 * csu/check_fds.c: Likewise.
16314 * elf/dl-load.c: Likewise.
16315 * elf/dl-open.c: Likewise.
16316 * elf/reldep3.c: Likewise.
16317 * elf/reldep.c: Likewise.
16318 * elf/sprof.c: Likewise.
16319 * iconv/iconv_charmap.c: Likewise.
16320 * iconv/skeleton.c: Likewise.
16321 * iconv/strtab.c: Likewise.
16322 * io/lockf64.c: Likewise.
16323 * libio/libioP.h: Likewise.
16324 * resolv/gai_notify.c: Likewise.
16325 * resolv/ns_name.c: Likewise.
16326 * resolv/ns_samedomain.c: Likewise.
16327 * resolv/res_send.c: Likewise.
16328 * stdlib/random.c: Likewise.
16329 * sunrpc/rpc/xdr.h: Likewise.
16330 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16331 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16332 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16333 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16334 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16335 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16336 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16337 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16338 * sysdeps/mach/hurd/check_fds.c: Likewise.
16339 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16340 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16341 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16342 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16343 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16344 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16345 * sysdeps/pthread/aio_notify.c: Likewise.
16346 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16347 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16348 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16349 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16350 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16352 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16354 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16355 version if bit_Slow_SSE4_2 is set.
16356 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16357 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16359 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16362 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16363 trampoline stack frame information.
16364 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16365 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16366 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16367 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16368 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16369 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16370 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16371 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16373 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16374 interrupting a syscall and set with option SA_SIGINFO.
16376 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16379 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16380 argument is infinite.
16381 * math/s_cprojf.c (__cprojf): Likewise.
16382 * math/s_cprojl.c (__cprojl): Likewise.
16383 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16384 * math/libm-test.inc (cproj_test_data): Add more tests.
16386 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16388 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16389 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16390 size. Use __ffs to determine corresponding shift.
16392 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16393 Roland McGrath <roland@hack.frob.com>
16395 * Makefile (INSTALL): Remove trailing blank lines from output of
16398 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16400 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16401 Align 32 bit compat elf_greg to 8 bytes.
16403 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16405 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16407 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16409 * string/strcoll_l.c (coll_seq): New structure.
16410 (get_next_seq_cached): New function.
16411 (get_next_seq): New function.
16412 (do_compare): New function.
16413 (STRCOLL): Use GNU style definition. Simplify implementation
16414 by using get_next_seq, get_next_seq_cached and do_compare.
16416 2013-08-16 Florian Weimer <fweimer@redhat.com>
16420 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16422 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16424 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16425 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16426 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16428 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16429 GETDENTS_64BIT_ALIGNED.
16430 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16431 * manual/filesys.texi (Reading/Closing Directory): Document
16432 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16434 * manual/conf.texi (Limits for Files): Add portability note to
16435 NAME_MAX, PATH_MAX.
16436 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16438 2013-08-13 Andreas Schwab <schwab@suse.de>
16441 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16443 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16444 LDBL_MAX_EXP >= 16384]: Add tests for it.
16446 2013-08-12 David S. Miller <davem@davemloft.net>
16448 * version.h (RELEASE): Set to "development".
16449 (VERSION): Set to "2.18.90".
16450 * NEWS: Add 2.19 section.
16452 2013-08-03 David S. Miller <davem@davemloft.net>
16454 * po/ko.po: Update Korean translation from translation project.
16456 2013-08-01 David S. Miller <davem@davemloft.net>
16458 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16459 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16462 2013-07-30 David S. Miller <davem@davemloft.net>
16464 * po/fr.po: Update French translation from translation project.
16466 2013-07-28 David S. Miller <davem@davemloft.net>
16468 * po/cs.po: Update Czech translation from translation project.
16470 * po/sv.po: Update Swedish translation from translation project.
16472 2013-07-27 David S. Miller <davem@davemloft.net>
16474 * po/eo.po: Update Esperanto translation from translation project.
16476 * po/vi.po: Update Vietnamese translation from translation project.
16478 * po/de.po: Update German translation from translation project.
16480 2013-07-26 David S. Miller <davem@davemloft.net>
16482 * po/bg.po: Update Bulgarian translation from translation project.
16484 * po/nl.po: Update Dutch translation from translation project.
16485 * po/pl.po: Update Polish translation from translation project.
16486 * po/ru.po: Update Russian translation from translation project.
16488 2013-07-24 David S. Miller <davem@davemloft.net>
16490 * po/libc.pot: Update.
16492 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16494 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16495 variable page size.
16496 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16497 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16498 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16500 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16502 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16504 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16505 Andreas Schwab <schwab@suse.de>
16506 Roland McGrath <roland@hack.frob.com>
16507 Joseph Myers <joseph@codesourcery.com>
16508 Carlos O'Donell <carlos@redhat.com>
16511 * config.h.in: Define HAVE_PT_CHOWN.
16512 * config.make.in (build-pt-chown): New variable.
16513 * configure.in (--enable-pt_chown): New configure option.
16514 * configure: Regenerate.
16515 * login/Makefile: Include Makeconfig. Build pt_chown only if
16516 build-pt-chown is enabled.
16517 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16518 pt_chown to fix pty ownership.
16519 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16521 * manual/install.texi (Configuring and compiling): Mention
16522 --enable-pt_chown. Add @findex for grantpt.
16523 * INSTALL: Regenerate.
16525 2013-07-20 David S. Miller <davem@davemloft.net>
16527 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16528 difference between 32-bit and 64-bit.
16530 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16533 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16534 Avoid system header dependency with -ffreestanding.
16535 ($(objpfx)bits/syscall%d): Likewise.
16537 2013-07-13 David S. Miller <davem@davemloft.net>
16539 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16540 underflows from atanl/atan2l due to bug 15319.
16541 (casinh_test_data): Likewise.
16543 2013-07-07 David S. Miller <davem@davemloft.net>
16545 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16547 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16549 * sysdeps/i386/fpu/libm-test-ulps: Update.
16550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16552 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16554 * configure.in (--enable-lock-elision): Fix message text.
16555 * INSTALL: Regenerate.
16556 * configure: Regenerate.
16558 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16562 2013-07-03 Andreas Jaeger <aj@suse.de>
16564 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16566 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16567 (ptrace_peeksiginfo_args): Add.
16568 (__ptrace_peeksiginfo_flags): Add.
16569 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16570 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16571 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16573 2013-07-03 Allan McRae <allan@archlinux.org>
16575 * sysdeps/i386/fpu/libm-test-ulps: Update.
16577 2013-07-02 David S. Miller <davem@davemloft.net>
16579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16581 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16585 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16587 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16590 2013-07-02 Andi Kleen <ak@linux.intel.com>
16592 * config.h.in (ENABLE_LOCK_ELISION): Add.
16593 * configure.in (--enable-lock-elision): Add option.
16594 * manual/install.texi: Document --enable lock elision.
16595 * configure: Regenerate
16596 * INSTALL: Regenerate.
16598 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16600 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16601 SSE4.2 strcasecmp for libc.a.
16602 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16604 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16607 * soft-fp/op-common.h (_FP_FMA): New macro.
16608 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16609 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16610 (_FP_MUL_MEAT_1_imm): ... here.
16611 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16612 (_FP_MUL_MEAT_1_wide): ... here.
16613 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16614 (_FP_MUL_MEAT_1_hard): ... here.
16615 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16616 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16617 (_FP_MUL_MEAT_2_wide): ... here.
16618 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16619 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16620 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16621 (_FP_MUL_MEAT_2_gmp): ... here.
16622 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16623 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16624 (_FP_MUL_MEAT_4_wide): ... here.
16625 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16626 (_FP_MUL_MEAT_4_gmp): ... here.
16627 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16628 (_FP_WFRACBITS_DW_S): Likewise.
16629 (_FP_WFRACXBITS_DW_S): Likewise.
16630 (_FP_HIGHBIT_DW_S): Likewise.
16631 (FP_FMA_S): Likewise.
16632 (_FP_FRAC_HIGH_DW_S): Likewise.
16633 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16634 (_FP_WFRACBITS_DW_D): Likewise.
16635 (_FP_WFRACXBITS_DW_D): Likewise.
16636 (_FP_HIGHBIT_DW_D): Likewise.
16637 (FP_FMA_D): Likewise.
16638 (_FP_FRAC_HIGH_DW_D): Likewise.
16639 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16640 (_FP_WFRACBITS_DW_E): Likewise.
16641 (_FP_WFRACXBITS_DW_E): Likewise.
16642 (_FP_HIGHBIT_DW_E): Likewise.
16643 (FP_FMA_E): Likewise.
16644 (_FP_FRAC_HIGH_DW_E): Likewise.
16645 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16646 (_FP_WFRACBITS_DW_Q): Likewise.
16647 (_FP_WFRACXBITS_DW_Q): Likewise.
16648 (_FP_HIGHBIT_DW_Q): Likewise.
16649 (FP_FMA_Q): Likewise.
16650 (_FP_FRAC_HIGH_DW_Q): Likewise.
16651 * soft-fp/fmasf4.c: New file.
16652 * soft-fp/fmadf4.c: Likewise.
16653 * soft-fp/fmatf4.c: Likewise.
16655 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16658 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16660 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16662 (index_Slow_SSE4_2): Likewise.
16663 (index_Prefer_PMINUB_for_stringop): Likewise.
16664 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16665 bit_Slow_SSE4_2 is set.
16666 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16667 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16669 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16671 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16672 rtld_global._dl_hwcap2.
16673 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16675 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16676 POWER8 feature descriptions defined in _dl_hwcap2.
16677 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16678 string handling for POWER8 feature bits.
16679 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16680 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16681 _dl_powerpc_cap_flags.
16682 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16683 * sysdeps/powerpc/rtld-global-offsets.sym
16684 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16685 _dl_hwcap2 in the rtld_global_ro structure.
16687 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16689 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16690 hardware capabilities in support of AT_HWCAP2.
16691 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16692 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16694 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16695 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16696 explicitly the unknown a_type display mechanism is used.
16697 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16698 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16700 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16701 to macro prototype for AT_HWCAP2 support.
16702 * sysdeps/i386/dl-procinfo.h: Likewise.
16703 * sysdeps/s390/dl-procinfo.h: Likewise.
16704 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16705 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16706 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16707 return -1 for unknown a_type display fallback.
16708 * sysdeps/sparc/dl-procinfo.h: Likewise.
16709 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16710 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16712 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16714 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16715 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16717 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16720 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16721 mprotect making __stack_prot writable.
16723 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16724 Joseph Myers <joseph@codesourcery.com>
16726 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16727 as being properly aligned.
16729 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16731 * dlfcn/modstatic5.c: New file.
16732 * dlfcn/tststatic5.c: New file.
16733 * dlfcn/Makefile (tests): Add tststatic5.
16734 (tests-static): Likewise.
16735 (modules-names): Add modstatic5.
16736 (tststatic5-ENV): New variable.
16737 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16740 * elf/dl-support.c (_dl_main_map): New variable.
16741 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16742 (_dl_nns, _dl_load_adds): Set to 1.
16743 (_dl_initial_searchlist): Refer to _dl_main_map.
16744 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16745 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16746 call to _dl_get_origin.
16747 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16749 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16750 * dlfcn/modstatic3.c: New file.
16751 * dlfcn/tststatic3.c: New file.
16752 * dlfcn/tststatic4.c: New file.
16753 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16754 (tests-static): Likewise.
16755 (modules-names): Add modstatic3.
16756 (tststatic3-ENV, tststatic4-ENV): New variables.
16757 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16758 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16760 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16762 * configure.in (CC): Require GCC version 4.4 or later.
16763 * configure: Regenerated.
16764 * manual/install.texi (Tools for Compilation): Update GCC version
16766 * INSTALL: Regenerated.
16768 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16771 * string/test-memcmp.c (check2): New.
16772 (main): Call check2.
16774 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16776 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16779 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16781 (dl_open_worker) [!SHARED]: ... here.
16783 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16785 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16787 2013-06-25 Richard Henderson <rth@redhat.com>
16789 * locale/programs/locarchive.c: Include <libc-internal.h>
16791 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16793 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16794 trailing whitespace removed.
16796 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16799 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16800 * locale/programs/locarchive.c: Include libc-mmap.h.
16801 (prepare_address_space): Take two new outputs (the mmap base and len).
16802 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16804 (create_archive): Declare new mmap base and len values for
16805 prepare_address_space, and store the result in ah.
16806 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16807 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16808 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16809 Declare new mmap base and len values for
16810 prepare_address_space, and store the result in new_ah.
16811 (open_archive): Declare new mmap base and len values for
16812 prepare_address_space, and store the result in ah.
16813 (close_archive): If ah->mmap_base is not NULL, use that and
16814 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16815 * sysdeps/generic/libc-mmap.h: New file.
16817 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16819 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16820 (ALIGN_UP): Likewise.
16821 (PTR_ALIGN_DOWN): Likewise.
16822 (PTR_ALIGN_UP): Likewise.
16824 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16826 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16827 entry mapped to PPC_PLATFORM_POWER8.
16828 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16830 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16831 (_dl_string_platform): Add case for exporting platform position for
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16834 search path to sysdeps/powerpc/powerpc32/power8 directory.
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16836 search path to sysdeps/powerpc/powerpc64/power8 directory.
16837 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16838 power7 directories.
16839 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16840 power7 directories.
16842 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16844 * INSTALL: Regenerate.
16846 * nscd/connections.c (nscd_init): Fix comment.
16848 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16850 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16853 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16854 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16856 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16858 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16860 (DL_DST_REQ_STATIC): Remove macro.
16862 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16865 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16866 with a shift of 0 bits.
16868 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16870 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16873 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16876 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16878 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16880 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16881 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16882 accepts -fno-tree-loop-distribute-patterns.
16883 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16884 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16886 * string/memset.c (memset): Likewise.
16887 * string/test-memmove.c (simple_memmove): Disable loop transformation
16889 * string/test-memset.c (simple_memset): Likewise.
16890 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16891 * benchtests/bench-memset.c (simple_memset): Likewise.
16892 * configure: Regenerated.
16894 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16896 * math/test-misc.c (main): Ignore fesetround failure when failures
16897 of subsequent rounding tests would be ignored.
16900 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16901 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16902 * math/fegetenv.c (__fegetenv): Return 0.
16903 * math/fegetexcept.c (fegetexcept): Return 0.
16904 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16906 * math/feholdexcpt.c (feholdexcept): Return 0.
16907 * math/fesetenv.c (__fesetenv): Return 0.
16908 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16909 argument FE_TONEAREST.
16910 * math/feupdateenv.c (__feupdateenv): Return 0.
16911 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16913 2013-06-18 Roland McGrath <roland@hack.frob.com>
16915 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16916 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16917 ($(objpfx)rtld-%.os rules): Use them.
16919 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16921 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16924 2013-06-17 Roland McGrath <roland@hack.frob.com>
16926 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16927 length of target pattern, then descending length of dependency pattern.
16928 * configure.in (AWK): Require gawk 3.1.2 or newer.
16929 * manual/install.texi (Tools for Compilation): Say that we do.
16930 * configure: Regenerated.
16932 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16933 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16934 * scripts/sysd-rules.awk: ... this new script.
16935 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16936 than a glob-style pattern.
16938 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16940 * math/test-misc.c (main): Do not treat incorrectly rounded
16941 conversions as failure unless ROUNDING_TESTS passes.
16943 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16946 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16947 restore exception state around main square root computation, then
16948 check for inexactness explicitly.
16950 * math/libm-test.inc (fma_test_data): Add another test.
16952 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16954 * manual/threads.texi (Non-POSIX Extensions): New document
16955 node. Document pthread_getattr_default_np and
16956 pthread_setattr_default_np.
16958 * Versions.def (libpthread): Add GLIBC_2.18.
16959 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16968 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16979 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16982 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16984 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16985 H.J. Lu <hjl.tools@gmail.com>
16988 * sysdeps/x86_64/rtld-memset.c: Remove file.
16989 * sysdeps/x86_64/rtld-memset.S: New file.
16991 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16993 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16994 (test_in_one_mode): Take arguments for whether the rounding mode
16995 is supported for each floating-point type.
16996 (do_test): Pass new arguments to test_in_one_mode using
16999 2013-06-13 Roland McGrath <roland@hack.frob.com>
17001 * posix/tst-waitid.c (do_test): Distinguish different instances of
17002 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17003 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17004 before entering the kernel for waitpid.
17006 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17008 * NEWS: Fix note on clock function precision. Text by Roland
17011 2013-06-13 Roland McGrath <roland@hack.frob.com>
17013 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17014 it into place only when and if the sanity check passes.
17016 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17018 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17019 output for whether conversion result is exact. Take argument
17020 indicating whether type is IBM long double.
17021 (round_for_all): Change need_exact field to ibm_ld.
17022 * stdlib/tst-strtod-round.c (struct exactness): New type.
17023 (struct test): Change bool ld_ok field to struct exactness exact.
17024 (TEST): Update all definitions for change to field.
17025 (tests): Regenerate array contents.
17026 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17027 field value. Check for IBM long double here.
17028 (do_test): Update calls to test_in_one_mode.
17030 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17033 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17034 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17036 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17039 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17040 generated by the compiler on loop optimizations.
17041 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17042 general definitions.
17044 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17046 * math/bug-nextafter.c: Include <math-tests.h>.
17047 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17049 * math/bug-nexttoward.c: Include <math-tests.h>.
17050 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17052 * math/test-misc.c: Include <math-tests.h>.
17053 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17056 2013-06-12 Andreas Jaeger <aj@suse.de>
17058 * po/ia.po: Update Interlingua translation from translation
17061 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17063 * include/fenv.h: Include stdbool.h.
17064 (struct rm_ctx): New structure.
17065 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17067 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17068 (SET_RESTORE_ROUNDF): Likewise.
17069 (SET_RESTORE_ROUNDL): Likewise.
17070 (SET_RESTORE_ROUND_NOEX): Likewise.
17071 (SET_RESTORE_ROUND_NOEXF): Likewise.
17072 (SET_RESTORE_ROUND_NOEXL): Likewise.
17073 (SET_RESTORE_ROUND_53BIT): Likewise.
17074 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17075 (libc_feresetround_noexf_ctx): Likewise.
17076 (libc_feresetround_noexl_ctx): Likewise.
17077 (libc_feholdsetround_53bit_ctx): Likewise.
17078 (libc_feresetround_53bit_ctx): Likewise.
17079 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17080 (libc_feholdexcept_setround_sse_ctx): New function.
17081 (libc_fesetenv_sse_ctx): Likewise.
17082 (libc_feupdateenv_sse_ctx): Likewise.
17083 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17084 (libc_feholdexcept_setround_387_ctx): Likewise.
17085 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17086 (libc_feholdsetround_387_prec_ctx): Likewise.
17087 (libc_feholdsetround_387_ctx): Likewise.
17088 (libc_feholdsetround_387_53bit_ctx): Likewise.
17089 (libc_feholdsetround_sse_ctx): Likewise.
17090 (libc_feresetround_sse_ctx): Likewise.
17091 (libc_feresetround_387_ctx): Likewise.
17092 (libc_feupdateenv_387_ctx): Likewise.
17093 (libc_feholdexcept_setroundf_ctx): Define macro.
17094 (libc_fesetenvf_ctx): Likewise.
17095 (libc_feupdateenvf_ctx): Likewise.
17096 (libc_feholdsetroundf_ctx): Likewise.
17097 (libc_feresetroundf_ctx): Likewise.
17098 (libc_feholdexcept_setround_ctx): Likewise.
17099 (libc_fesetenv_ctx): Likewise.
17100 (libc_feupdateenv_ctx): Likewise.
17101 (libc_feholdsetround_ctx): Likewise.
17102 (libc_feresetround_ctx): Likewise.
17103 (libc_feholdexcept_setroundl_ctx): Likewise.
17104 (libc_feupdateenvl_ctx): Likewise.
17105 (libc_feholdsetroundl_ctx): Likewise.
17106 (libc_feresetroundl_ctx): Likewise.
17107 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17108 (libc_feresetround_53bit_ctx): Likewise.
17110 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17112 * locale/iso-639.def: Convert to UTF-8.
17114 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17116 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17117 (EXCEPTION_TESTS_double): Likewise.
17118 (EXCEPTION_TESTS_long_double): Likewise.
17119 (EXCEPTION_TESTS): Likewise.
17120 * math/libm-test.inc (test_exceptions): Only test exceptions if
17121 EXCEPTION_TESTS (FLOAT).
17123 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17125 * benchtests/Makefile (string-bench): Add strcpy_chk and
17127 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17128 * benchtests/bench-stpcpy_chk.c: New file.
17129 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17130 * benchtests/bench-strcpy_chk.c: New file.
17131 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17133 (do_test): Likewise.
17135 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17137 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17138 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17139 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17140 with tabs where appropriate.
17141 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17143 [PPC_PLATFORM_PPC440]: Likewise.
17144 [PPC_PLATFORM_PPC464]: Likewise.
17145 [PPC_PLATFORM_PPC476]: Likewise.
17146 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17147 ppc464, and ppc476 platform strings merging from ports/
17150 2013-06-11 Andreas Schwab <schwab@suse.de>
17153 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17154 (from_ucs4_idx): Regenerate.
17155 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17156 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17157 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17158 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17159 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17160 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17161 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17162 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17163 from FROM_LOOP and TO_LOOP specific macros.
17164 (BODY): Handle combining characters.
17165 * iconvdata/BIG5HKSCS.irreversible: Update.
17166 * iconvdata/BIG5HKSCS.precomposed: New file.
17167 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17169 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17171 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17173 * include/sys/time.h: Fix indentation and add copyright header.
17175 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17176 (do_test): Likewise.
17177 * string/test-memchr.c (do_one_test): Likewise.
17178 (do_test): Likewise.
17179 * string/test-memcmp.c (do_one_test): Likewise.
17180 (do_test): Likewise.
17181 * string/test-memcpy.c (do_one_test): Likewise.
17182 (do_test): Likewise.
17183 * string/test-memmem.c (do_one_test): Likewise.
17184 (do_test): Likewise.
17185 (do_random_tests): Likewise.
17186 * string/test-memmove.c (do_one_test): Likewise.
17187 (do_test): Likewise.
17188 * string/test-memset.c (do_one_test): Likewise.
17189 (do_test): Likewise.
17190 * string/test-rawmemchr.c (do_one_test): Likewise.
17191 (do_test): Likewise.
17192 * string/test-strcasecmp.c (do_one_test): Likewise.
17193 (do_test): Likewise.
17194 * string/test-strcasestr.c (do_one_test): Likewise.
17195 (do_test): Likewise.
17196 * string/test-strcat.c (do_one_test): Likewise.
17197 (do_test): Likewise.
17198 * string/test-strchr.c (do_one_test): Likewise.
17199 (do_test): Likewise.
17200 * string/test-strcmp.c (do_one_test): Likewise.
17201 (do_test): Likewise.
17202 * string/test-strcpy.c (do_one_test): Likewise.
17203 (do_test): Likewise.
17204 * string/test-string.h: Likewise.
17205 (test_init): Likewise.
17206 * string/test-strlen.c (do_one_test): Likewise.
17207 (do_test): Likewise.
17208 * string/test-strncasecmp.c (do_one_test): Likewise.
17209 (do_test): Likewise.
17210 * string/test-strncat.c (do_one_test): Likewise.
17211 (do_test): Likewise.
17212 * string/test-strncmp.c (do_one_test): Likewise.
17213 (do_test_limit): Likewise.
17214 (do_test): Likewise.
17215 * string/test-strncpy.c (do_one_test): Likewise.
17216 (do_test): Likewise.
17217 * string/test-strnlen.c (do_one_test): Likewise.
17218 (do_test): Likewise.
17219 * string/test-strpbrk.c (do_one_test): Likewise.
17220 (do_test): Likewise.
17221 * string/test-strrchr.c (do_one_test): Likewise.
17222 (do_test): Likewise.
17223 * string/test-strspn.c (do_one_test): Likewise.
17224 (do_test): Likewise.
17225 * string/test-strstr.c (do_one_test): Likewise.
17226 (do_test): Likewise.
17228 * benchtests/Makefile (string-bench): Add string benchmarks.
17229 * benchtests/bench-bcopy-ifunc.c: New file.
17230 * benchtests/bench-bcopy.c: New file.
17231 * benchtests/bench-bzero-ifunc.c: New file.
17232 * benchtests/bench-bzero.c: New file.
17233 * benchtests/bench-memccpy-ifunc.c: New file.
17234 * benchtests/bench-memccpy.c: New file.
17235 * benchtests/bench-memchr-ifunc.c: New file.
17236 * benchtests/bench-memchr.c: New file.
17237 * benchtests/bench-memcmp-ifunc.c: New file.
17238 * benchtests/bench-memcmp.c: New file.
17239 * benchtests/bench-memmem-ifunc.c: New file.
17240 * benchtests/bench-memmem.c: New file.
17241 * benchtests/bench-memmove-ifunc.c: New file.
17242 * benchtests/bench-memmove.c: New file.
17243 * benchtests/bench-mempcpy-ifunc.c: New file.
17244 * benchtests/bench-mempcpy.c: New file.
17245 * benchtests/bench-memset-ifunc.c: New file.
17246 * benchtests/bench-memset.c: New file.
17247 * benchtests/bench-rawmemchr-ifunc.c: New file.
17248 * benchtests/bench-rawmemchr.c: New file.
17249 * benchtests/bench-stpcpy-ifunc.c: New file.
17250 * benchtests/bench-stpcpy.c: New file.
17251 * benchtests/bench-stpncpy-ifunc.c: New file.
17252 * benchtests/bench-stpncpy.c: New file.
17253 * benchtests/bench-strcasecmp-ifunc.c: New file.
17254 * benchtests/bench-strcasecmp.c: New file.
17255 * benchtests/bench-strcasestr-ifunc.c: New file.
17256 * benchtests/bench-strcasestr.c: New file.
17257 * benchtests/bench-strcat-ifunc.c: New file.
17258 * benchtests/bench-strcat.c: New file.
17259 * benchtests/bench-strchr-ifunc.c: New file.
17260 * benchtests/bench-strchr.c: New file.
17261 * benchtests/bench-strchrnul-ifunc.c: New file.
17262 * benchtests/bench-strchrnul.c: New file.
17263 * benchtests/bench-strcmp-ifunc.c: New file.
17264 * benchtests/bench-strcmp.c: New file.
17265 * benchtests/bench-strcpy-ifunc.c: New file.
17266 * benchtests/bench-strcpy.c: New file.
17267 * benchtests/bench-strcspn-ifunc.c: New file.
17268 * benchtests/bench-strcspn.c: New file.
17269 * benchtests/bench-strlen-ifunc.c: New file.
17270 * benchtests/bench-strlen.c: New file.
17271 * benchtests/bench-strncasecmp-ifunc.c: New file.
17272 * benchtests/bench-strncasecmp.c: New file.
17273 * benchtests/bench-strncat-ifunc.c: New file.
17274 * benchtests/bench-strncat.c: New file.
17275 * benchtests/bench-strncmp-ifunc.c: New file.
17276 * benchtests/bench-strncmp.c: New file.
17277 * benchtests/bench-strncpy-ifunc.c: New file.
17278 * benchtests/bench-strncpy.c: New file.
17279 * benchtests/bench-strnlen-ifunc.c: New file.
17280 * benchtests/bench-strnlen.c: New file.
17281 * benchtests/bench-strpbrk-ifunc.c: New file.
17282 * benchtests/bench-strpbrk.c: New file.
17283 * benchtests/bench-strrchr-ifunc.c: New file.
17284 * benchtests/bench-strrchr.c: New file.
17285 * benchtests/bench-strspn-ifunc.c: New file.
17286 * benchtests/bench-strspn.c: New file.
17287 * benchtests/bench-strstr-ifunc.c: New file.
17288 * benchtests/bench-strstr.c: New file.
17290 * benchtests/Makefile: Disable parallel execution of targets.
17291 (string-bench): Add memcpy.
17292 (benchset): New variable to store a list of benchmark sets.
17293 (bench-func): Renamed from bench.
17294 (bench-set): New target.
17295 (bench): Depend on bench-func and bench-set.
17296 * benchtests/README: Add section on benchmark sets.
17297 * benchtests/bench-memcpy-ifunc.c: New file.
17298 * benchtests/bench-memcpy.c: New file.
17299 * benchtests/bench-string.h: New file.
17301 2013-06-11 Andreas Schwab <schwab@suse.de>
17304 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17305 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17306 values in the triple.
17307 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17308 terminator in the group key.
17310 2013-06-11 Andreas Jaeger <aj@suse.de>
17312 * po/zh_TW.po: Update Chinese (traditional) translation from
17313 translation project.
17315 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17317 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17318 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17319 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17320 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17321 (clock_getcpuclockid): Likewise.
17322 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17323 Add weak_alias and libc_hidden_def.
17324 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17325 * rt/clock_gettime.c (clock_gettime): Rename to
17326 __clock_gettime. Add weak_alias and libc_hidden_def.
17327 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17328 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17329 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17330 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17331 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17333 * rt/clock_settime.c (clock_settime): Rename to
17334 __clock_settime. Add weak_alias and libc_hidden_def.
17335 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17337 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17339 * mach/err_boot.sub: Remove trailing whitespace.
17340 * mach/err_ipc.sub: Likewise.
17341 * mach/err_mach.sub: Likewise.
17343 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17344 (ROUNDING_TESTS_double): Likewise.
17345 (ROUNDING_TESTS_long_double): Likewise.
17346 (ROUNDING_TESTS): Likewise.
17347 * math/libm-test.inc: Include <math-tests.h>.
17348 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17349 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17350 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17351 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17353 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17355 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17358 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17360 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17361 otherwise empty TRANS lines.
17362 * sysdeps/gnu/errlist.c: Regenerated.
17364 * catgets/gencat.c (error_print): Use (void) in function
17366 * crypt/crypt_util.c (__init_des): Likewise.
17367 * crypt/speeds.c (Stop): Likewise.
17369 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17370 * inet/ruserpass.c (token): Likewise.
17371 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17372 * intl/localealias.c (extend_alias_table): Likewise.
17373 * intl/plural-exp.c (init_germanic_plural): Likewise.
17374 * libio/fcloseall.c (__fcloseall): Likewise.
17375 * libio/genops.c (_IO_flush_all): Likewise.
17376 (_IO_flush_all_linebuffered): Likewise.
17377 (_IO_cleanup): Likewise.
17378 (_IO_iter_begin): Likewise.
17379 (_IO_iter_end): Likewise.
17380 (_IO_list_lock): Likewise.
17381 (_IO_list_unlock): Likewise.
17382 (_IO_list_resetlock): Likewise.
17383 * libio/getchar.c (getchar): Likewise.
17384 * libio/getchar_u.c (getchar_unlocked): Likewise.
17385 * libio/getwchar.c (getwchar): Likewise.
17386 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17387 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17388 * login/getpt.c (__getpt): Likewise.
17389 * login/tst-utmp.c (main): Likewise.
17390 * malloc/hooks.c (__malloc_check_init): Likewise.
17391 * malloc/malloc.c (__malloc_stats): Likewise.
17392 * malloc/mtrace.c (tr_break): Likewise.
17393 (mtrace): Likewise.
17394 (muntrace): Likewise.
17395 * misc/fstab.c (endfsent): Likewise.
17396 * misc/getclktck.c (__getclktck): Likewise.
17397 * misc/getdtsz.c (__getdtablesize): Likewise.
17398 * misc/gethostid.c (gethostid): Likewise.
17399 * misc/getpagesize.c (__getpagesize): Likewise.
17400 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17401 (__get_nprocs): Likewise.
17402 (__get_phys_pages): Likewise.
17403 (__get_avphys_pages): Likewise.
17404 * misc/getttyent.c (getttyent): Likewise.
17405 (setttyent): Likewise.
17406 (endttyent): Likewise.
17407 * misc/getusershell.c (getusershell): Likewise.
17408 (endusershell): Likewise.
17409 (setusershell): Likewise.
17410 (initshells): Likewise.
17411 * misc/hsearch.c (__hdestroy): Likewise.
17412 * misc/sync.c (sync): Likewise.
17413 * misc/syslog.c (closelog_internal): Likewise.
17414 (closelog): Likewise.
17415 * misc/ttyslot.c (ttyslot): Likewise.
17416 * misc/vhangup.c (vhangup): Likewise.
17417 * posix/fork.c (__fork): Likewise.
17418 * posix/getegid.c (__getegid): Likewise.
17419 * posix/geteuid.c (__geteuid): Likewise.
17420 * posix/getgid.c (__getgid): Likewise.
17421 * posix/getpid.c (__getpid): Likewise.
17422 * posix/getppid.c (__getppid): Likewise.
17423 * posix/getuid.c (__getuid): Likewise.
17424 * posix/pause.c (pause): Likewise.
17425 * posix/setpgrp.c (setpgrp): Likewise.
17426 * posix/setsid.c (__setsid): Likewise.
17427 * posix/test-vfork.c (noop): Likewise.
17428 * resolv/gethnamaddr.c (_endhtent): Likewise.
17429 (_gethtent): Likewise.
17430 (ht_endhostent): Likewise.
17431 (gethostent): Likewise.
17432 (dns_service): Likewise.
17433 * stdlib/drand48.c (drand48): Likewise.
17434 * stdlib/lrand48.c (lrand48): Likewise.
17435 * stdlib/mrand48.c (mrand48): Likewise.
17436 * stdlib/rand.c (rand): Likewise.
17437 * stdlib/random.c (__random): Likewise.
17438 * stdlib/setenv.c (clearenv): Likewise.
17439 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17440 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17441 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17442 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17443 (__get_nprocs): Likewise.
17444 (__get_phys_pages): Likewise.
17445 (__get_avphys_pages): Likewise.
17446 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17447 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17448 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17449 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17450 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17451 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17452 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17453 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17454 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17455 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17456 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17457 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17458 * sysdeps/posix/clock.c (clock): Likewise.
17459 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17460 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17461 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17462 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17463 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17464 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17465 (__get_nprocs_conf): Likewise.
17466 (__get_phys_pages): Likewise.
17467 (__get_avphys_pages): Likewise.
17468 * time/clock.c (clock): Likewise.
17469 * time/tzset.c (__tzname_max): Likewise.
17471 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17473 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17474 (__bswap_32): Do not use "register".
17475 * crypt/crypt.c (_ufc_doit_r): Likewise.
17476 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17477 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17478 * gmon/gmon.c (__monstartup): Likewise.
17479 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17480 * hurd/hurdmalloc.c (more_memory): Likewise.
17481 (malloc): Likewise.
17483 (realloc): Likewise.
17484 (malloc_fork_prepare): Likewise.
17485 (malloc_fork_parent): Likewise.
17486 (malloc_fork_child): Likewise.
17487 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17488 (_svcauth_des): Likewise.
17489 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17490 * inet/inet_net.c (inet_network): Likewise.
17491 * inet/inet_netof.c (inet_netof): Likewise.
17492 * inet/rcmd.c (__validuser2_sa): Likewise.
17493 * io/fts.c (fts_open): Likewise.
17494 (fts_load): Likewise.
17495 (fts_close): Likewise.
17496 (fts_read): Likewise.
17497 (fts_children): Likewise.
17498 (fts_build): Likewise.
17499 (fts_stat): Likewise.
17500 (fts_sort): Likewise.
17501 (fts_alloc): Likewise.
17502 (fts_lfree): Likewise.
17503 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17504 (_IO_file_xsgetn): Likewise.
17505 (_IO_file_xsgetn_mmap): Likewise.
17506 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17507 (_IO_cookie_write): Likewise.
17508 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17509 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17510 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17511 * malloc/obstack.c (_obstack_begin): Likewise.
17512 (_obstack_begin_1): Likewise.
17513 (_obstack_newchunk): Likewise.
17514 (_obstack_allocated_p): Likewise.
17515 (obstack_free): Likewise.
17516 (_obstack_memory_used): Likewise.
17517 * misc/getttyent.c (getttynam): Likewise.
17518 (getttyent): Likewise.
17521 * misc/getusershell.c (initshells): Likewise.
17522 * misc/syslog.c (__vsyslog_chk): Likewise.
17523 * misc/ttyslot.c (ttyslot): Likewise.
17524 * nis/nis_hash.c (__nis_hash): Likewise.
17525 * posix/fnmatch_loop.c (FCT): Likewise.
17526 * posix/getconf.c (print_all): Likewise.
17528 * posix/getopt.c (exchange): Likewise.
17529 * posix/glob.c (globfree): Likewise.
17530 (prefix_array): Likewise.
17531 (__glob_pattern_type): Likewise.
17532 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17533 (NS_GET32): Likewise.
17534 (NS_PUT16): Likewise.
17535 (NS_PUT32): Likewise.
17536 * resolv/gethnamaddr.c (getanswer): Likewise.
17537 (gethostbyname2): Likewise.
17538 (gethostbyaddr): Likewise.
17539 (_gethtent): Likewise.
17540 (_gethtbyname2): Likewise.
17541 (_gethtbyaddr): Likewise.
17542 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17543 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17544 * resolv/res_init.c (__res_vinit): Likewise.
17545 (net_mask): Likewise.
17546 * resolv/res_mkquery.c (outchar): Likewise.
17548 * stdio-common/printf_fp.c (outchar): Likewise.
17550 * stdio-common/printf_fphex.c (outchar): Likewise.
17552 * stdio-common/printf_size.c (outchar): Likewise.
17554 * stdio-common/test_rdwr.c (main): Likewise.
17555 * stdio-common/tfformat.c (matches): Likewise.
17556 * stdio-common/vfprintf.c (outchar): Likewise.
17557 (printf_unknown): Likewise.
17558 (buffered_vfprintf): Likewise.
17559 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17560 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17561 (ReadFile): Likewise.
17562 * stdlib/qsort.c (SWAP): Likewise.
17563 (_quicksort): Likewise.
17564 * stdlib/setenv.c (__add_to_environ): Likewise.
17565 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17566 * stdlib/strtol_l.c (__strtol_l): Likewise.
17567 * stdlib/tst-strtod.c (main): Likewise.
17568 * stdlib/tst-strtol.c (main): Likewise.
17569 * stdlib/tst-strtoll.c (main): Likewise.
17570 * string/bits/string2.h (__strcmp_cc): Likewise.
17571 (__strcmp_cg): Likewise.
17572 (__strcspn_c1): Likewise.
17573 (__strcspn_c2): Likewise.
17574 (__strcspn_c3): Likewise.
17575 (__strspn_c1): Likewise.
17576 (__strspn_c2): Likewise.
17577 (__strspn_c3): Likewise.
17578 (__strsep_1c): Likewise.
17579 (__strsep_2c): Likewise.
17580 (__strsep_3c): Likewise.
17581 * string/memccpy.c (__memccpy): Likewise.
17582 * string/stpcpy.c (__stpcpy): Likewise.
17583 * string/strcmp.c (strcmp): Likewise.
17584 * string/strrchr.c (strrchr): Likewise.
17585 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17587 * sysdeps/mach/hurd/getcwd.c
17588 (_hurd_canonicalize_directory_name_internal): Likewise.
17589 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17590 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17591 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17592 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17593 Likewise, in both definitions.
17594 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17596 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17597 64] (__bswap_64): Likewise.
17598 * time/test_time.c (main): Likewise.
17599 * time/tzfile.c (__tzfile_read): Likewise.
17600 (__tzfile_compute): Likewise.
17601 * time/tzset.c (__tzset_parse_tz): Likewise.
17602 (tzset_internal): Likewise.
17603 (compute_change): Likewise.
17604 * wcsmbs/wcscat.c (__wcscat): Likewise.
17605 * wcsmbs/wcschr.c (wcschr): Likewise.
17606 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17607 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17608 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17609 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17610 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17611 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17612 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17613 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17614 * wcsmbs/wmemset.c (wmemset): Likewise.
17616 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17618 * scripts/config.guess: Update to version 2013-05-16.
17619 * scripts/config.sub: Update to version 2013-04-24.
17620 * scripts/install-sh: Update to version 2011-11-20.07.
17621 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17622 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17624 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17626 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17627 * elf/sln.c: Likewise.
17628 * hurd/hurd/ioctl.h: Likewise.
17629 * hurd/hurdmalloc.c: Likewise.
17630 * hurd/xattr.c: Likewise.
17631 * include/shlib-compat.h: Likewise.
17632 * inet/ruserpass.c: Likewise.
17633 * libio/iofgets_u.c: Likewise.
17634 * libio/iofgetws_u.c: Likewise.
17635 * locale/programs/ld-identification.c: Likewise.
17636 * locale/programs/ld-time.c: Likewise.
17637 * mach/msg-destroy.c: Likewise.
17638 * nss/nss_files/files-netgrp.c: Likewise.
17639 * resolv/res_data.c: Likewise.
17640 * soft-fp/op-1.h: Likewise.
17641 * soft-fp/op-2.h: Likewise.
17642 * soft-fp/op-4.h: Likewise.
17643 * soft-fp/op-common.h: Likewise.
17644 * stdio-common/printf_fphex.c: Likewise.
17645 * stdlib/strtod_l.c: Likewise.
17646 * sunrpc/rpc/clnt.h: Likewise.
17647 * sysdeps/generic/framestate.c: Likewise.
17648 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17649 * sysdeps/i386/bsd-setjmp.S: Likewise.
17650 * sysdeps/i386/__longjmp.S: Likewise.
17651 * sysdeps/i386/setjmp.S: Likewise.
17652 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17653 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17654 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17655 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17656 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17657 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17658 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17659 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17660 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17661 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17664 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17669 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17670 * sysdeps/ieee754/support.c: Likewise.
17671 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17672 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17673 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17674 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17675 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17676 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17677 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17678 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17679 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17680 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17681 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17682 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17683 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17684 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17685 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17686 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17687 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17690 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17692 * posix/transbug.c: Remove executable mode.
17694 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17696 * crypt/speeds.c: Remove trailing whitespace.
17697 * dlfcn/default.c: Likewise.
17698 * elf/ifuncdep2.c: Likewise.
17699 * elf/ifuncmain1.c: Likewise.
17700 * elf/ifuncmain1vis.c: Likewise.
17701 * elf/testobj.h: Likewise.
17702 * elf/tst-stackguard1.c: Likewise.
17703 * gmon/sys/gmon.h: Likewise.
17704 * hurd/hurdmsg.c: Likewise.
17705 * hurd/new-fd.c: Likewise.
17706 * hurd/ports-get.c: Likewise.
17707 * iconvdata/ibm1008_420.c: Likewise.
17708 * inet/tst-getni1.c: Likewise.
17709 * inet/tst-getni2.c: Likewise.
17710 * libio/ioungetc.c: Likewise.
17711 * libio/wfiledoalloc.c: Likewise.
17712 * manual/libm-err-tab.pl: Likewise.
17713 * math/w_dremf.c: Likewise.
17714 * misc/ftruncate.c: Likewise.
17715 * posix/bug-glob2.c: Likewise.
17716 * posix/tst-pcre.c: Likewise.
17717 * posix/wait4.c: Likewise.
17718 * resolv/README: Likewise.
17719 * resolv/res_debug.h: Likewise.
17720 * resolv/tst-inet_ntop.c: Likewise.
17721 * setjmp/bug269-setjmp.c: Likewise.
17722 * soft-fp/extended.h: Likewise.
17723 * soft-fp/op-1.h: Likewise.
17724 * soft-fp/op-2.h: Likewise.
17725 * soft-fp/op-4.h: Likewise.
17726 * soft-fp/op-8.h: Likewise.
17727 * soft-fp/testit.c: Likewise.
17728 * stdio-common/bug16.c: Likewise.
17729 * stdlib/random.c: Likewise.
17730 * sunrpc/rpcsvc/rquota.x: Likewise.
17731 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17732 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17733 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17734 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17735 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17736 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17737 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17738 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17739 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17740 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17741 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17742 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17743 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17744 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17745 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17746 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17747 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17748 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17750 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17751 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17753 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17758 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17760 * sysdeps/ieee754/s_lib_version.c: Likewise.
17761 * sysdeps/mach/hurd/check_fds.c: Likewise.
17762 * sysdeps/mach/hurd/getsockname.c: Likewise.
17763 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17764 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17765 * sysdeps/powerpc/bits/link.h: Likewise.
17766 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17767 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17768 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17769 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17770 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17771 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17772 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17773 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17774 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17775 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17776 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17777 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17778 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17779 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17780 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17781 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17782 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17783 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17784 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17785 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17786 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17787 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17788 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17789 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17790 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17791 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17792 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17793 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17794 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17795 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17796 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17797 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17798 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17799 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17800 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17801 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17802 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17803 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17804 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17805 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17806 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17807 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17808 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17809 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17810 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17811 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17812 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17813 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17814 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17815 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17816 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17817 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17818 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17819 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17820 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17821 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17822 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17823 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17824 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17825 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17826 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17827 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17828 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17829 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17830 * sysdeps/powerpc/sysdep.h: Likewise.
17831 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17832 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17833 * sysdeps/sh/dl-trampoline.S: Likewise.
17834 * sysdeps/sh/memset.S: Likewise.
17835 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17836 * sysdeps/sh/strlen.S: Likewise.
17837 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17838 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17839 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17840 * sysdeps/sparc/sparc32/rem.S: Likewise.
17841 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17842 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17843 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17844 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17845 * sysdeps/sparc/sparc32/urem.S: Likewise.
17846 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17847 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17848 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17849 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17850 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17851 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17852 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17853 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17854 * sysdeps/unix/bsd/times.c: Likewise.
17855 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17856 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17860 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17861 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17862 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17863 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17864 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17865 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17866 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17867 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17868 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17869 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17870 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17871 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17872 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17873 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17874 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17875 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17876 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17877 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17878 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17879 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17880 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17882 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17883 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17884 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17885 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17886 * sysdeps/x86_64/strcspn.S: Likewise.
17888 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17890 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17891 generated file. Regenerate properly from gen-translit.pl.
17892 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17893 locale/C-translit.h.
17895 2013-06-05 Andreas Schwab <schwab@suse.de>
17898 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17899 week as 6 instead of -1.
17900 * time/tst-strptime.c (day_tests): Add test case.
17902 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17904 * sysdeps/generic/math_private.h
17905 (libc_feholdexcept_setround_53bit): Replace with
17906 libc_feholdsetround_53bit.
17907 (libc_feupdateenv_53bit): Replace with
17908 libc_feresetround_53bit.
17909 (SET_RESTORE_ROUND_53BIT): Adjust.
17911 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17913 * string/test-strchrnul.c: Add copyright header.
17915 * posix/tst-getaddrinfo4.c: Increase test timeout.
17917 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17920 * math/libm-test.inc (MAX_EXP): Remove
17922 (ulp): Use MIN_EXP - MANT_DIG.
17923 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17925 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17927 * po/be.po: Revert last change.
17928 * po/zh_CN.po: Likewise.
17929 * po/header.pot: Likewise.
17931 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17933 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17934 link-libc-deps to empty as target-specific variable.
17935 * Makerules (link-libc-args): New variable.
17936 (libc-for-link): Likewise.
17937 (link-libc-deps): Likewise.
17938 (lib%.so): Depend on $(link-libc-deps). Link with
17940 (build-module): Link with $(link-libc-args).
17941 (build-module-asneeded): Likewise.
17942 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17944 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17945 target-specific variable.
17946 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17947 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17948 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17950 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17952 ($(objpfx)libpcprofile.so): Likewise.
17953 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17955 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17956 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17957 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17959 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17960 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17961 * login/Makefile ($(objpfx)libutil.so): Likewise.
17962 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17963 * math/Makefile ($(objpfx)libm.so): Likewise.
17964 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17965 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17966 variable instead of depending directly on libc.
17967 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17968 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17970 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17972 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17973 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17974 ($(objpfx)libanl.so): Likewise.
17975 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17977 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17979 * sysdeps/i386/fpu/Makefile: Remove file.
17980 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17981 ($(objpfx)libm.so): Remove dependency on ld.so.
17983 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17986 * nis/yp_xdr.c (XDRMAXNAME): Define.
17987 (XDRMAXRECORD): Define.
17988 (xdr_domainname): Use XDRMAXNAME.
17989 (xdr_mapname): Likewise.
17990 (xdr_peername): Likewise.
17991 (xdr_keydat): Use XDRMAXRECORD.
17992 (xdr_valdat): Likewise.
17994 2013-05-30 Jeff Law <law@redhat.com>
17997 * manual/errno.texi (ESTALE): Update to account for more than
17998 just NFS file systems.
17999 * sysdeps/gnu/errlist.c: Regenerated.
18001 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18004 * elf/Makefile (tests): Add tst-null-argv.
18005 (modules-names): Add tst-null-argv-lib.
18006 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18007 (tst-null-argv-ENV): Set environment for tst-null-argv.
18008 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18009 (RTLD_PROGNAME): New macro.
18010 * elf/tst-null-argv.c: New test case.
18011 * elf/tst-null-argv-lib.c: Library for test case.
18012 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18013 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18014 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18015 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18016 * elf/dl-init.c (call_init): Likewise.
18017 (_dl_init): Likewise.
18018 * elf/dl-load.c (print_search_path): Likewise.
18019 (_dl_map_object): Likewise.
18020 * elf/dl-lookup.c (do_lookup_x): Likewise.
18021 (add_dependency): Likewise.
18022 (_dl_lookup_symbol_x): Likewise.
18023 (_dl_debug_bindings): Likewise.
18024 * elf/dl-open.c (_dl_show_scope): Likewise.
18025 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18026 * elf/dl-version.c (match_symbol): Likewise.
18027 (_dl_check_map_versions): Likewise.
18028 * elf/rtld.c (dl_main): Likewise.
18029 (print_unresolved): Use RTLD_PROGNAME.
18030 (print_missing_version): Likewise.
18031 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18032 (elf_machine_rela): Likewise.
18033 * sysdeps/powerpc/powerpc32/dl-machine.c
18034 (__process_machine_rela): Likewise.
18035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18037 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18039 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18041 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18042 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18044 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18046 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18048 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18050 * po/be.po: Add descriptive title.
18051 * po/zh_CN.po: Likewise.
18052 * po/header.pot: Likewise.
18054 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18056 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18058 (enlarge_archive): Likewise.
18060 2013-05-28 Ben North <ben@redfrontdoor.org>
18062 * manual/arith.texi (frexp): It is the magnitude of the return
18063 value which lies in [0.5, 1), not the return value itself.
18065 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18069 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18071 * stdio-common/bug26.c (main): Correct fscanf template.
18073 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18074 declare _dl_skip_args.
18076 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18079 * manual/platform.texi: Add missing @end deftypefun.
18081 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18084 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18085 bit of mantissa of 2^16382.
18086 * math/libm-test.inc (hypot_test_data): Add more tests.
18088 * math/libm-test.inc: Add drem and pow10 to list of tested
18090 (pow10_test): New function.
18091 (drem_test): Likewise.
18092 (drem_test_tonearest): Likewise.
18093 (drem_test_towardzero): Likewise.
18094 (drem_test_downward): Likewise.
18095 (drem_test_upward): Likewise.
18096 (main): Call the new functions.
18098 * math/libm-test.inc (finite_test_data): Remove.
18099 (finite_test): Run tests from isfinite_test_data.
18100 (gamma_test_data): Remove.
18101 (gamma_test): Run tests from lgamma_test_data.
18102 * sysdeps/i386/fpu/libm-test-ulps: Update.
18103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18105 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18107 * manual/platform.texi: Add PowerPC PPR function set documentation.
18108 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18111 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18113 * math/libm-test.inc (MAX_EXP): Define.
18115 (ulp): New function.
18116 (check_float_internal): Use ULPDIFF.
18117 (cpow_test): Disable failing test.
18118 (check_ulp): Test ulp() implemetnation.
18119 (main): Call check_ulp before starting tests.
18121 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18123 * math/gen-libm-test.pl (generate_testfile): Do not handle
18124 START_DATA and END_DATA.
18125 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18127 (acos_tonearest_test_data): Likewise.
18128 (acos_towardzero_test_data): Likewise.
18129 (acos_downward_test_data): Likewise.
18130 (acos_upward_test_data): Likewise.
18131 (acosh_test_data): Likewise.
18132 (asin_test_data): Likewise.
18133 (asin_tonearest_test_data): Likewise.
18134 (asin_towardzero_test_data): Likewise.
18135 (asin_downward_test_data): Likewise.
18136 (asin_upward_test_data): Likewise.
18137 (asinh_test_data): Likewise.
18138 (atan_test_data): Likewise.
18139 (atanh_test_data): Likewise.
18140 (atan2_test_data): Likewise.
18141 (cabs_test_data): Likewise.
18142 (cacos_test_data): Likewise.
18143 (cacosh_test_data): Likewise.
18144 (carg_test_data): Likewise.
18145 (casin_test_data): Likewise.
18146 (casinh_test_data): Likewise.
18147 (catan_test_data): Likewise.
18148 (catanh_test_data): Likewise.
18149 (cbrt_test_data): Likewise.
18150 (ccos_test_data): Likewise.
18151 (ccosh_test_data): Likewise.
18152 (ceil_test_data): Likewise.
18153 (cexp_test_data): Likewise.
18154 (cimag_test_data): Likewise.
18155 (clog_test_data): Likewise.
18156 (clog10_test_data): Likewise.
18157 (conj_test_data): Likewise.
18158 (copysign_test_data): Likewise.
18159 (cos_test_data): Likewise.
18160 (cos_tonearest_test_data): Likewise.
18161 (cos_towardzero_test_data): Likewise.
18162 (cos_downward_test_data): Likewise.
18163 (cos_upward_test_data): Likewise.
18164 (cosh_test_data): Likewise.
18165 (cosh_tonearest_test_data): Likewise.
18166 (cosh_towardzero_test_data): Likewise.
18167 (cosh_downward_test_data): Likewise.
18168 (cosh_upward_test_data): Likewise.
18169 (cpow_test_data): Likewise.
18170 (cproj_test_data): Likewise.
18171 (creal_test_data): Likewise.
18172 (csin_test_data): Likewise.
18173 (csinh_test_data): Likewise.
18174 (csqrt_test_data): Likewise.
18175 (ctan_test_data): Likewise.
18176 (ctan_tonearest_test_data): Likewise.
18177 (ctan_towardzero_test_data): Likewise.
18178 (ctan_downward_test_data): Likewise.
18179 (ctan_upward_test_data): Likewise.
18180 (ctanh_test_data): Likewise.
18181 (ctanh_tonearest_test_data): Likewise.
18182 (ctanh_towardzero_test_data): Likewise.
18183 (ctanh_downward_test_data): Likewise.
18184 (ctanh_upward_test_data): Likewise.
18185 (erf_test_data): Likewise.
18186 (erfc_test_data): Likewise.
18187 (exp_test_data): Likewise.
18188 (exp_tonearest_test_data): Likewise.
18189 (exp_towardzero_test_data): Likewise.
18190 (exp_downward_test_data): Likewise.
18191 (exp_upward_test_data): Likewise.
18192 (exp10_test_data): Likewise.
18193 (exp2_test_data): Likewise.
18194 (expm1_test_data): Likewise.
18195 (fabs_test_data): Likewise.
18196 (fdim_test_data): Likewise.
18197 (finite_test_data): Likewise.
18198 (floor_test_data): Likewise.
18199 (fma_test_data): Likewise.
18200 (fma_towardzero_test_data): Likewise.
18201 (fma_downward_test_data): Likewise.
18202 (fma_upward_test_data): Likewise.
18203 (fmax_test_data): Likewise.
18204 (fmin_test_data): Likewise.
18205 (fmod_test_data): Likewise.
18206 (fpclassify_test_data): Likewise.
18207 (frexp_test_data): Likewise.
18208 (gamma_test_data): Likewise.
18209 (hypot_test_data): Likewise.
18210 (ilogb_test_data): Likewise.
18211 (isfinite_test_data): Likewise.
18212 (isgreater_test_data): Likewise.
18213 (isgreaterequal_test_data): Likewise.
18214 (isinf_test_data): Likewise.
18215 (isless_test_data): Likewise.
18216 (islessequal_test_data): Likewise.
18217 (islessgreater_test_data): Likewise.
18218 (isnan_test_data): Likewise.
18219 (isnormal_test_data): Likewise.
18220 (issignaling_test_data): Likewise.
18221 (isunordered_test_data): Likewise.
18222 (j0_test_data): Likewise.
18223 (j1_test_data): Likewise.
18224 (jn_test_data): Likewise.
18225 (ldexp_test_data): Likewise.
18226 (lgamma_test_data): Likewise.
18227 (lrint_test_data): Likewise.
18228 (lrint_tonearest_test_data): Likewise.
18229 (lrint_towardzero_test_data): Likewise.
18230 (lrint_downward_test_data): Likewise.
18231 (lrint_upward_test_data): Likewise.
18232 (llrint_test_data): Likewise.
18233 (llrint_tonearest_test_data): Likewise.
18234 (llrint_towardzero_test_data): Likewise.
18235 (llrint_downward_test_data): Likewise.
18236 (llrint_upward_test_data): Likewise.
18237 (log_test_data): Likewise.
18238 (log10_test_data): Likewise.
18239 (log1p_test_data): Likewise.
18240 (log2_test_data): Likewise.
18241 (logb_test_data): Likewise.
18242 (logb_downward_test_data): Likewise.
18243 (lround_test_data): Likewise.
18244 (llround_test_data): Likewise.
18245 (modf_test_data): Likewise.
18246 (nearbyint_test_data): Likewise.
18247 (nextafter_test_data): Likewise.
18248 (nexttoward_test_data): Likewise.
18249 (pow_test_data): Likewise.
18250 (pow_tonearest_test_data): Likewise.
18251 (pow_towardzero_test_data): Likewise.
18252 (pow_downward_test_data): Likewise.
18253 (pow_upward_test_data): Likewise.
18254 (remainder_test_data): Likewise.
18255 (remainder_tonearest_test_data): Likewise.
18256 (remainder_towardzero_test_data): Likewise.
18257 (remainder_downward_test_data): Likewise.
18258 (remainder_upward_test_data): Likewise.
18259 (remquo_test_data): Likewise.
18260 (rint_test_data): Likewise.
18261 (rint_tonearest_test_data): Likewise.
18262 (rint_towardzero_test_data): Likewise.
18263 (rint_downward_test_data): Likewise.
18264 (rint_upward_test_data): Likewise.
18265 (round_test_data): Likewise.
18266 (scalb_test_data): Likewise.
18267 (scalbn_test_data): Likewise.
18268 (scalbln_test_data): Likewise.
18269 (signbit_test_data): Likewise.
18270 (sin_test_data): Likewise.
18271 (sin_tonearest_test_data): Likewise.
18272 (sin_towardzero_test_data): Likewise.
18273 (sin_downward_test_data): Likewise.
18274 (sin_upward_test_data): Likewise.
18275 (sincos_test_data): Likewise.
18276 (sinh_test_data): Likewise.
18277 (sinh_tonearest_test_data): Likewise.
18278 (sinh_towardzero_test_data): Likewise.
18279 (sinh_downward_test_data): Likewise.
18280 (sinh_upward_test_data): Likewise.
18281 (sqrt_test_data): Likewise.
18282 (tan_test_data): Likewise.
18283 (tan_tonearest_test_data): Likewise.
18284 (tan_towardzero_test_data): Likewise.
18285 (tan_downward_test_data): Likewise.
18286 (tan_upward_test_data): Likewise.
18287 (tanh_test_data): Likewise.
18288 (tgamma_test_data): Likewise.
18289 (trunc_test_data): Likewise.
18290 (y0_test_data): Likewise.
18291 (y1_test_data): Likewise.
18292 (yn_test_data): Likewise.
18293 (significand_test_data): Likewise.
18295 * math/gen-libm-test.pl (@functions): Remove variable.
18296 (generate_testfile): Don't handle START and END lines.
18297 * math/libm-test.inc (START): New macro.
18299 (END_COMPLEX): Likewise.
18300 (acos_test): Use END macro without arguments.
18301 (acos_test_tonearest): Likewise.
18302 (acos_test_towardzero): Likewise.
18303 (acos_test_downward): Likewise.
18304 (acos_test_upward): Likewise.
18305 (acosh_test): Likewise.
18306 (asin_test): Likewise.
18307 (asin_test_tonearest): Likewise.
18308 (asin_test_towardzero): Likewise.
18309 (asin_test_downward): Likewise.
18310 (asin_test_upward): Likewise.
18311 (asinh_test): Likewise.
18312 (atan_test): Likewise.
18313 (atanh_test): Likewise.
18314 (atan2_test): Likewise.
18315 (cabs_test): Likewise.
18316 (cacos_test): Use END_COMPLEX macro without arguments.
18317 (cacosh_test): Likewise.
18318 (carg_test): Use END macro without arguments.
18319 (casin_test): Use END_COMPLEX macro without arguments.
18320 (casinh_test): Likewise.
18321 (catan_test): Likewise.
18322 (catanh_test): Likewise.
18323 (cbrt_test): Use END macro without arguments.
18324 (ccos_test): Use END_COMPLEX macro without arguments.
18325 (ccosh_test): Likewise.
18326 (ceil_test): Use END macro without arguments.
18327 (cexp_test): Use END_COMPLEX macro without arguments.
18328 (cimag_test): Use END macro without arguments.
18329 (clog_test): Use END_COMPLEX macro without arguments.
18330 (clog10_test): Likewise.
18331 (conj_test): Likewise.
18332 (copysign_test): Use END macro without arguments.
18333 (cos_test): Likewise.
18334 (cos_test_tonearest): Likewise.
18335 (cos_test_towardzero): Likewise.
18336 (cos_test_downward): Likewise.
18337 (cos_test_upward): Likewise.
18338 (cosh_test): Likewise.
18339 (cosh_test_tonearest): Likewise.
18340 (cosh_test_towardzero): Likewise.
18341 (cosh_test_downward): Likewise.
18342 (cosh_test_upward): Likewise.
18343 (cpow_test): Use END_COMPLEX macro without arguments.
18344 (cproj_test): Likewise.
18345 (creal_test): Use END macro without arguments.
18346 (csin_test): Use END_COMPLEX macro without arguments.
18347 (csinh_test): Likewise.
18348 (csqrt_test): Likewise.
18349 (ctan_test): Likewise.
18350 (ctan_test_tonearest): Likewise.
18351 (ctan_test_towardzero): Likewise.
18352 (ctan_test_downward): Likewise.
18353 (ctan_test_upward): Likewise.
18354 (ctanh_test): Likewise.
18355 (ctanh_test_tonearest): Likewise.
18356 (ctanh_test_towardzero): Likewise.
18357 (ctanh_test_downward): Likewise.
18358 (ctanh_test_upward): Likewise.
18359 (erf_test): Use END macro without arguments.
18360 (erfc_test): Likewise.
18361 (exp_test): Likewise.
18362 (exp_test_tonearest): Likewise.
18363 (exp_test_towardzero): Likewise.
18364 (exp_test_downward): Likewise.
18365 (exp_test_upward): Likewise.
18366 (exp10_test): Likewise.
18367 (exp2_test): Likewise.
18368 (expm1_test): Likewise.
18369 (fabs_test): Likewise.
18370 (fdim_test): Likewise.
18371 (finite_test): Likewise.
18372 (floor_test): Likewise.
18373 (fma_test): Likewise.
18374 (fma_test_towardzero): Likewise.
18375 (fma_test_downward): Likewise.
18376 (fma_test_upward): Likewise.
18377 (fmax_test): Likewise.
18378 (fmin_test): Likewise.
18379 (fmod_test): Likewise.
18380 (fpclassify_test): Likewise.
18381 (frexp_test): Likewise.
18382 (gamma_test): Likewise.
18383 (hypot_test): Likewise.
18384 (ilogb_test): Likewise.
18385 (isfinite_test): Likewise.
18386 (isgreater_test): Likewise.
18387 (isgreaterequal_test): Likewise.
18388 (isinf_test): Likewise.
18389 (isless_test): Likewise.
18390 (islessequal_test): Likewise.
18391 (islessgreater_test): Likewise.
18392 (isnan_test): Likewise.
18393 (isnormal_test): Likewise.
18394 (issignaling_test): Likewise.
18395 (isunordered_test): Likewise.
18396 (j0_test): Likewise.
18397 (j1_test): Likewise.
18398 (jn_test): Likewise.
18399 (ldexp_test): Likewise.
18400 (lgamma_test): Likewise.
18401 (lrint_test): Likewise.
18402 (lrint_test_tonearest): Likewise.
18403 (lrint_test_towardzero): Likewise.
18404 (lrint_test_downward): Likewise.
18405 (lrint_test_upward): Likewise.
18406 (llrint_test): Likewise.
18407 (llrint_test_tonearest): Likewise.
18408 (llrint_test_towardzero): Likewise.
18409 (llrint_test_downward): Likewise.
18410 (llrint_test_upward): Likewise.
18411 (log_test): Likewise.
18412 (log10_test): Likewise.
18413 (log1p_test): Likewise.
18414 (log2_test): Likewise.
18415 (logb_test): Likewise.
18416 (logb_test_downward): Likewise.
18417 (lround_test): Likewise.
18418 (llround_test): Likewise.
18419 (modf_test): Likewise.
18420 (nearbyint_test): Likewise.
18421 (nextafter_test): Likewise.
18422 (nexttoward_test): Likewise.
18423 (pow_test): Likewise.
18424 (pow_test_tonearest): Likewise.
18425 (pow_test_towardzero): Likewise.
18426 (pow_test_downward): Likewise.
18427 (pow_test_upward): Likewise.
18428 (remainder_test): Likewise.
18429 (remainder_test_tonearest): Likewise.
18430 (remainder_test_towardzero): Likewise.
18431 (remainder_test_downward): Likewise.
18432 (remainder_test_upward): Likewise.
18433 (remquo_test): Likewise.
18434 (rint_test): Likewise.
18435 (rint_test_tonearest): Likewise.
18436 (rint_test_towardzero): Likewise.
18437 (rint_test_downward): Likewise.
18438 (rint_test_upward): Likewise.
18439 (round_test): Likewise.
18440 (scalb_test): Likewise.
18441 (scalbn_test): Likewise.
18442 (scalbln_test): Likewise.
18443 (signbit_test): Likewise.
18444 (sin_test): Likewise.
18445 (sin_test_tonearest): Likewise.
18446 (sin_test_towardzero): Likewise.
18447 (sin_test_downward): Likewise.
18448 (sin_test_upward): Likewise.
18449 (sincos_test): Likewise.
18450 (sinh_test): Likewise.
18451 (sinh_test_tonearest): Likewise.
18452 (sinh_test_towardzero): Likewise.
18453 (sinh_test_downward): Likewise.
18454 (sinh_test_upward): Likewise.
18455 (sqrt_test): Likewise.
18456 (tan_test): Likewise.
18457 (tan_test_tonearest): Likewise.
18458 (tan_test_towardzero): Likewise.
18459 (tan_test_downward): Likewise.
18460 (tan_test_upward): Likewise.
18461 (tanh_test): Likewise.
18462 (tgamma_test): Likewise.
18463 (trunc_test): Likewise.
18464 (y0_test): Likewise.
18465 (y1_test): Likewise.
18466 (yn_test): Likewise.
18467 (significand_test): Likewise.
18469 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18472 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18474 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18477 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18478 __ppc_mdoio and __ppc_mdoom.
18479 * manual/platform.texi: Document new functions __ppc_yield,
18480 __ppc_mdoio and __ppc_mdoom.
18482 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18484 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18485 (main): Mention "tls" pseudo-hwcap is legacy.
18486 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18488 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18490 * math/gen-libm-test.pl (parse_args): Output only string of
18491 arguments as text for test name, not full call or descriptions of
18492 tests for extra outputs.
18493 (generate_testfile): Do not pass function name to parse_args.
18494 Generate this_func variable from START.
18495 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18497 (struct test_ff_f_data): Likewise.
18498 (test_ff_f_data_nexttoward): Likewise.
18499 (struct test_fi_f_data): Likewise.
18500 (struct test_fl_f_data): Likewise.
18501 (struct test_if_f_data): Likewise.
18502 (struct test_fff_f_data): Likewise.
18503 (struct test_c_f_data): Likewise.
18504 (struct test_f_f1_data): Likewise. Remove field extra_name.
18505 (struct test_fF_f1_data): Likewise.
18506 (struct test_ffI_f1_data): Likewise.
18507 (struct test_c_c_data): Rename test_name field to arg_str.
18508 (struct test_cc_c_data): Likewise.
18509 (struct test_f_i_data): Likewise.
18510 (struct test_ff_i_data): Likewise.
18511 (struct test_f_l_data): Likewise.
18512 (struct test_f_L_data): Likewise.
18513 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18515 (COMMON_TEST_SETUP): New macro.
18516 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18517 (COMMON_TEST_CLEANUP): Likewise.
18518 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18519 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18521 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18522 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18524 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18525 (RUN_TEST_fff_f): Take argument string. Call new setup and
18527 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18528 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18530 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18531 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18533 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18534 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18536 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18537 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18539 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18540 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18542 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18543 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18545 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18546 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18548 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18549 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18551 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18552 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18554 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18555 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18557 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18558 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18560 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18561 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18563 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18564 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18566 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18567 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18569 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18570 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18572 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18574 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18576 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18577 to _sifields.sigfault.
18578 (si_addr_lsb): Define new macro.
18579 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18580 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18581 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18583 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18586 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18588 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18590 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18591 loading the domain.
18593 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18595 * math/gen-libm-test.pl (parse_args): Do not include expected
18596 result in test name.
18597 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18598 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18599 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18600 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18601 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18604 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18606 * benchtests/Makefile: Sort function entries.
18608 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18609 tanh, asinh, acosh, atanh.
18610 * benchtests/acos-inputs: New file.
18611 * benchtests/acosh-inputs: New file.
18612 * benchtests/asin-inputs: New file.
18613 * benchtests/asinh-inputs: New file.
18614 * benchtests/atanh-inputs: New file.
18615 * benchtests/cosh-inputs: New file.
18616 * benchtests/log-inputs: New file.
18617 * benchtests/sinh-inputs: New file.
18618 * benchtests/tanh-inputs: New file.
18620 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18623 * posix/tst-getaddrinfo4.c: New test.
18624 * posix/Makefile (tests): Add it.
18626 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18629 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18630 when no services were used.
18631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18632 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18634 2013-05-21 Andreas Schwab <schwab@suse.de>
18637 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18638 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18640 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18641 redundant variable declarations and reallocation of buffer when
18642 parsing as IPv6 address. Always set NSS status when called from
18643 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18644 buffer too small. Correct computation of needed size.
18645 * nss/Makefile (tests): Add test-digits-dots.
18646 * nss/test-digits-dots.c: New test.
18648 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18650 * benchtests/Makefile: Remove instructions for adding
18652 * benchtests/README: New file to explain how to execute and
18653 enhance the benchmark tests.
18655 2013-05-21 Andreas Schwab <schwab@suse.de>
18658 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18659 * setjmp/tst-sigsetjmp.c: New test.
18661 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18663 * sysdeps/x86_64/memset.S (memset): New implementation.
18664 (__bzero): Likewise.
18665 (__memset_tail): New function.
18667 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18669 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18670 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18671 __memcpy_sse2_unaligned ifunc selection.
18672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18673 Add memcpy-sse2-unaligned.S.
18674 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18675 Add: __memcpy_sse2_unaligned.
18677 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18680 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18681 math_force_eval before restoring floating-point envrionment.
18682 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18683 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18685 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18687 (__nearbyintl): Use math_force_eval before restoring
18688 floating-point environment.
18689 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18691 * math/gen-libm-test.pl (special_functions): Remove.
18692 (parse_args): Don't handle TEST_extra. Handle functions with no
18694 * math/libm-test.inc (struct test_sincos_data): Replace with
18695 struct test_fFF_11_data.
18696 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18697 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18698 (sincos_test_data): Change element type to struct
18699 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18700 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18701 RUN_TEST_LOOP_sincos.
18702 * math/README.libm-test: Don't mention special handling of
18703 individual functions.
18704 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18705 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18706 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18707 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18708 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18711 * math/gen-libm-test.pl (get_variable): Remove function.
18712 (parse_args): Don't show pointer parameters to call in test
18713 names. Use "extra output N" in test names for extra outputs
18714 rather than naming variables.
18716 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18719 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18720 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18721 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18723 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18725 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18728 * math/gen-libm-test.pl (@tests): Remove variable.
18729 ($count): Likewise.
18730 (new_test): Remove function.
18731 (show_exceptions): New function.
18732 (special_functions): Use show_exceptions instead of new_test.
18733 (parse_args): Likewise.
18734 (generate_testfile): Pass only function name in generated call to
18735 print_max_error or print_complex_max_error.
18736 (get_ulps): Do not handle complex tests specially.
18737 (output_test): Rename to ...
18738 (get_all_ulps_for_test): ... this. Return a string rather than
18739 printing to a file. Require ulps to be present.
18740 (output_ulps): Generate arrays rather than #defines.
18741 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18742 (struct ulp_data): New type.
18743 (BUILD_COMPLEX_ULP): Remove macro.
18744 (compare_ulp_data): New function.
18745 (find_ulps): Likewise.
18746 (find_test_ulps): Likewise.
18747 (find_function_ulps): Likewise.
18748 (find_complex_function_ulps): Likewise.
18749 (print_max_error): Determine allowed ulps using
18750 find_function_ulps.
18751 (print_complex_max_error): Determine allowed ulps using
18752 find_complex_function_ulps.
18753 (check_float_internal): Determine max ulps using find_test_ulps.
18754 (check_float): Do not take max_ulp parameter. Update call to
18755 check_float_internal.
18756 (check_complex): Likewise.
18757 (check_int): Do not take max_ulp parameter.
18758 (check_long): Likewise.
18759 (check_bool): Likewise.
18760 (check_longlong): Likewise.
18761 (struct test_f_f_data): Remove max_ulp field.
18762 (struct test_ff_f_data): Likewise.
18763 (struct test_ff_f_data_nexttoward): Likewise.
18764 (struct test_fi_f_data): Likewise.
18765 (struct test_fl_f_data): Likewise.
18766 (struct test_if_f_data): Likewise.
18767 (struct test_fff_f_data): Likewise.
18768 (struct test_c_f_data): Likewise.
18769 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18770 (struct test_fF_f1_data): Likewise.
18771 (struct test_ffI_f1_data): Likewise.
18772 (struct test_c_c_data): Remove max_ulp field.
18773 (struct test_cc_c_data): Likewise.
18774 (struct test_f_i_data): Likewise.
18775 (struct test_ff_i_data): Likewise.
18776 (struct test_f_l_data): Likewise.
18777 (struct test_f_L_data): Likewise.
18778 (struct test_sincos_data): Likewise.
18779 (RUN_TEST_f_f): Do not handle ulps.
18780 (RUN_TEST_LOOP_f_f): Likewise.
18781 (RUN_TEST_2_f): Likewise.
18782 (RUN_TEST_LOOP_2_f): Likewise.
18783 (RUN_TEST_fff_f): Likewise.
18784 (RUN_TEST_LOOP_fff_f): Likewise.
18785 (RUN_TEST_c_f): Likewise.
18786 (RUN_TEST_LOOP_c_f): Likewise.
18787 (RUN_TEST_f_f1): Likewise.
18788 (RUN_TEST_LOOP_f_f1): Likewise.
18789 (RUN_TEST_fF_f1): Likewise.
18790 (RUN_TEST_LOOP_fF_f1): Likewise.
18791 (RUN_TEST_fI_f1): Likewise.
18792 (RUN_TEST_LOOP_fI_f1): Likewise.
18793 (RUN_TEST_ffI_f1): Likewise.
18794 (RUN_TEST_LOOP_ffI_f1): Likewise.
18795 (RUN_TEST_c_c): Likewise.
18796 (RUN_TEST_LOOP_c_c): Likewise.
18797 (RUN_TEST_cc_c): Likewise.
18798 (RUN_TEST_LOOP_cc_c): Likewise.
18799 (RUN_TEST_f_i): Likewise.
18800 (RUN_TEST_LOOP_f_i): Likewise.
18801 (RUN_TEST_f_i_tg): Likewise.
18802 (RUN_TEST_LOOP_f_i_tg): Likewise.
18803 (RUN_TEST_ff_i_tg): Likewise.
18804 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18805 (RUN_TEST_f_b): Likewise.
18806 (RUN_TEST_LOOP_f_b): Likewise.
18807 (RUN_TEST_f_b_tg): Likewise.
18808 (RUN_TEST_LOOP_f_b_tg): Likewise.
18809 (RUN_TEST_f_l): Likewise.
18810 (RUN_TEST_LOOP_f_l): Likewise.
18811 (RUN_TEST_f_L): Likewise.
18812 (RUN_TEST_LOOP_f_L): Likewise.
18813 (RUN_TEST_sincos): Likewise.
18814 (RUN_TEST_LOOP_sincos): Likewise.
18816 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18820 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18821 main case of finite arguments, set rounding mode to FE_TONEAREST
18822 and discard exceptions.
18823 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18825 (remainder_tonearest_test_data): New variable.
18826 (remainder_test_tonearest): New function.
18827 (remainder_towardzero_test_data): New variable.
18828 (remainder_test_towardzero): New function.
18829 (remainder_downward_test_data): New variable.
18830 (remainder_test_downward): New function.
18831 (remainder_upward_test_data): New variable.
18832 (remainder_test_upward): New function.
18833 (main): Call the new test functions.
18835 * math/libm-test.inc (struct test_f_f1_data): Remove field
18837 (struct test_fF_f1_data): Likewise.
18838 (struct test_ffI_f1_data): Likewise.
18839 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18840 based on value of EXTRA_EXPECTED.
18841 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18842 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18843 EXTRA_VAR based on value of EXTRA_EXPECTED.
18844 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18845 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18846 EXTRA_VAR based on value of EXTRA_EXPECTED.
18847 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18848 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18849 EXTRA_VAR based on value of EXTRA_EXPECTED.
18850 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18851 * math/gen-libm-test.pl (parse_args): Don't output initializers
18852 for extra output values.
18854 * math/libm-test.inc (check_int): Expect result to be exactly
18855 equal to expected value and do not handle ulps.
18856 (check_long): Likewise.
18857 (check_longlong): Likewise.
18859 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18861 (cimag_test_data): Likewise.
18862 (conj_test_data): Likewise.
18863 (copysign_test_data): Likewise.
18864 (cproj_test_data): Likewise.
18865 (creal_test_data): Likewise.
18866 (fabs_test_data): Likewise.
18867 (fdim_test_data): Likewise.
18868 (finite_test_data): Likewise.
18869 (floor_test_data): Likewise.
18870 (fmax_test_data): Likewise.
18871 (fmin_test_data): Likewise.
18872 (fmod_test_data): Likewise.
18873 (fpclassify_test_data): Likewise.
18874 (frexp_test_data): Likewise.
18875 (ilogb_test_data): Likewise.
18876 (isfinite_test_data): Likewise.
18877 (isgreater_test_data): Likewise.
18878 (isgreaterequal_test_data): Likewise.
18879 (isinf_test_data): Likewise.
18880 (isless_test_data): Likewise.
18881 (islessequal_test_data): Likewise.
18882 (islessgreater_test_data): Likewise.
18883 (isnan_test_data): Likewise.
18884 (isnormal_test_data): Likewise.
18885 (issignaling_test_data): Likewise.
18886 (isunordered_test_data): Likewise.
18887 (ldexp_test_data): Likewise.
18888 (lrint_test_data): Likewise.
18889 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18890 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18891 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18892 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18893 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18894 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18896 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18897 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18898 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18899 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18901 (lrint_downward_test_data): Test for "inexact" exceptions.
18902 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18903 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18904 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18906 (lrint_upward_test_data): Test for "inexact" exceptions.
18907 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18909 (llrint_test_data): Test for "inexact" exceptions.
18910 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18911 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18912 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18913 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18914 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18915 (llrint_downward_test_data): Test for "inexact" exceptions.
18916 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18917 (llrint_upward_test_data): Test for "inexact" exceptions.
18918 (logb_test_data): Likewise.
18919 (logb_downward_test_data): Likewise.
18920 (nextafter_test_data): Likewise.
18921 (nexttoward_test_data): Likewise.
18922 (remainder_test_data): Likewise.
18923 (remquo_test_data): Likewise.
18924 (scalbn_test_data): Likewise.
18925 (scalbln_test_data): Likewise.
18926 (signbit_test_data): Likewise.
18927 (sqrt_test_data): Likewise.
18928 (significand_test_data): Likewise.
18930 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18933 * benchtests/bench-modf.c (struct args): Mark arg0 as
18935 * scripts/bench.pl: Mark members of struct args as volatile.
18937 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18940 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18941 negative infinity on POWER6 or lower.
18942 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18944 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18947 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18948 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18949 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18950 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18951 (_FP_SETQNAN): New macro.
18952 (_FP_SETQNAN_SEMIRAW): Likewise.
18953 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18954 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18955 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18956 (FP_EXTEND): Use _FP_FRAC_SNANP.
18957 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18958 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18960 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18962 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18965 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18967 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18968 with DIVIDE_BY_ZERO_EXCEPTION.
18969 (gamma_test_data): Likewise.
18970 (lgamma_test_data): Likewise.
18971 (log_test_data): Likewise.
18972 (log10_test_data): Likewise.
18973 (log2_test_data): Likewise.
18974 (tgamma_test_data): Likewise.
18976 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18977 (acos_test_tonearest): Likewise.
18978 (acos_test_towardzero): Likewise.
18979 (acos_test_downward): Likewise.
18980 (acos_test_upward): Likewise.
18981 (acosh_test): Likewise.
18982 (asin_test): Likewise.
18983 (asin_test_tonearest): Likewise.
18984 (asin_test_towardzero): Likewise.
18985 (asin_test_downward): Likewise.
18986 (asin_test_upward): Likewise.
18987 (asinh_test): Likewise.
18988 (atan_test): Likewise.
18989 (atanh_test): Likewise.
18990 (atan2_test): Likewise.
18991 (cabs_test): Likewise.
18992 (cacos_test): Likewise.
18993 (cacosh_test): Likewise.
18994 (casin_test): Likewise.
18995 (casinh_test): Likewise.
18996 (catan_test): Likewise.
18997 (catanh_test): Likewise.
18998 (cbrt_test): Likewise.
18999 (ccos_test): Likewise.
19000 (ccosh_test): Likewise.
19001 (cexp_test): Likewise.
19002 (clog_test): Likewise.
19003 (clog10_test): Likewise.
19004 (cos_test): Likewise.
19005 (cos_test_tonearest): Likewise.
19006 (cos_test_towardzero): Likewise.
19007 (cos_test_downward): Likewise.
19008 (cos_test_upward): Likewise.
19009 (cosh_test): Likewise.
19010 (cosh_test_tonearest): Likewise.
19011 (cosh_test_towardzero): Likewise.
19012 (cosh_test_downward): Likewise.
19013 (cosh_test_upward): Likewise.
19014 (cpow_test): Likewise.
19015 (csin_test): Likewise.
19016 (csinh_test): Likewise.
19017 (csqrt_test): Likewise.
19018 (ctan_test): Likewise.
19019 (ctan_test_tonearest): Likewise.
19020 (ctan_test_towardzero): Likewise.
19021 (ctan_test_downward): Likewise.
19022 (ctan_test_upward): Likewise.
19023 (ctanh_test): Likewise.
19024 (ctanh_test_tonearest): Likewise.
19025 (ctanh_test_towardzero): Likewise.
19026 (ctanh_test_downward): Likewise.
19027 (ctanh_test_upward): Likewise.
19028 (erf_test): Likewise.
19029 (erfc_test): Likewise.
19030 (exp_test): Likewise.
19031 (exp_test_tonearest): Likewise.
19032 (exp_test_towardzero): Likewise.
19033 (exp_test_downward): Likewise.
19034 (exp_test_upward): Likewise.
19035 (exp10_test): Likewise.
19036 (exp2_test): Likewise.
19037 (expm1_test): Likewise.
19038 (fmod_test): Likewise.
19039 (gamma_test): Likewise.
19040 (hypot_test): Likewise.
19041 (j0_test): Likewise.
19042 (j1_test): Likewise.
19043 (jn_test): Likewise.
19044 (lgamma_test): Likewise.
19045 (log_test): Likewise.
19046 (log10_test): Likewise.
19047 (log1p_test): Likewise.
19048 (log2_test): Likewise.
19049 (logb_test_downward): Likewise.
19050 (pow_test): Likewise.
19051 (pow_test_tonearest): Likewise.
19052 (pow_test_towardzero): Likewise.
19053 (pow_test_downward): Likewise.
19054 (pow_test_upward): Likewise.
19055 (remainder_test): Likewise.
19056 (remquo_test): Likewise.
19057 (sin_test): Likewise.
19058 (sin_test_tonearest): Likewise.
19059 (sin_test_towardzero): Likewise.
19060 (sin_test_downward): Likewise.
19061 (sin_test_upward): Likewise.
19062 (sincos_test): Likewise.
19063 (sinh_test): Likewise.
19064 (sinh_test_tonearest): Likewise.
19065 (sinh_test_towardzero): Likewise.
19066 (sinh_test_downward): Likewise.
19067 (sinh_test_upward): Likewise.
19068 (sqrt_test): Likewise.
19069 (tan_test): Likewise.
19070 (tan_test_tonearest): Likewise.
19071 (tan_test_towardzero): Likewise.
19072 (tan_test_downward): Likewise.
19073 (tan_test_upward): Likewise.
19074 (tanh_test): Likewise.
19075 (tgamma_test): Likewise.
19076 (y0_test): Likewise.
19077 (y1_test): Likewise.
19078 (yn_test): Likewise.
19080 * math/gen-libm-test.pl (adjust_arg): Remove function.
19081 (special_function): Remove argument $in_func. Only handle
19082 generating output for tables of tests, not inside functions.
19083 (parse_args): Likewise.
19084 (generate_testfile): Remove variable $in_func. Update call to
19086 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19087 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19088 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19089 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19090 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19091 (MAX_VALUE_INIT): Rename macro to max_value.
19092 (MIN_VALUE_INIT): Rename macro to min_value.
19093 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19094 (plus_zero): Remove variable.
19095 (minus_zero): Likewise.
19096 (plus_infty): Likewise.
19097 (minus_infty): Likewise.
19098 (qnan_value): Likewise.
19099 (max_value): Likewise.
19100 (min_value): Likewise.
19101 (min_subnorm_value): Likewise.
19103 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19105 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19106 uint64_t or uint32_t usage.
19107 * crypt/sha256-block.c: Likewise.
19108 * crypt/sha256-crypt.c: Likewise.
19109 * crypt/sha256.c: Likewise.
19110 * crypt/sha512-block.c: Likewise.
19111 * crypt/sha512-crypt.c: Likewise.
19112 * crypt/sha512.c: Likewise.
19113 * debug/backtrace-tst.c: Likewise.
19114 * debug/pcprofiledump.c: Likewise.
19115 * elf/cache.c: Likewise.
19116 * elf/dl-cache.c: Likewise.
19117 * elf/dl-misc.c: Likewise.
19118 * elf/dl-profile.c: Likewise.
19119 * elf/dl-support.c: Likewise.
19120 * elf/ldconfig.c: Likewise.
19121 * elf/sprof.c: Likewise.
19122 * iconv/dummy-repertoire.c: Likewise.
19123 * iconv/iconv_charmap.c: Likewise.
19124 * iconv/skeleton.c: Likewise.
19125 * iconvdata/8bit-generic.c: Likewise.
19126 * iconvdata/cp737.h: Likewise.
19127 * iconvdata/cp775.h: Likewise.
19128 * iconvdata/ibm1008.h: Likewise.
19129 * iconvdata/ibm1025.h: Likewise.
19130 * iconvdata/ibm1046.h: Likewise.
19131 * iconvdata/ibm1097.h: Likewise.
19132 * iconvdata/ibm1112.h: Likewise.
19133 * iconvdata/ibm1122.h: Likewise.
19134 * iconvdata/ibm1123.h: Likewise.
19135 * iconvdata/ibm1124.h: Likewise.
19136 * iconvdata/ibm1129.h: Likewise.
19137 * iconvdata/ibm1130.h: Likewise.
19138 * iconvdata/ibm1132.h: Likewise.
19139 * iconvdata/ibm1133.h: Likewise.
19140 * iconvdata/ibm1137.h: Likewise.
19141 * iconvdata/ibm1140.h: Likewise.
19142 * iconvdata/ibm1141.h: Likewise.
19143 * iconvdata/ibm1142.h: Likewise.
19144 * iconvdata/ibm1143.h: Likewise.
19145 * iconvdata/ibm1144.h: Likewise.
19146 * iconvdata/ibm1145.h: Likewise.
19147 * iconvdata/ibm1146.h: Likewise.
19148 * iconvdata/ibm1147.h: Likewise.
19149 * iconvdata/ibm1148.h: Likewise.
19150 * iconvdata/ibm1149.h: Likewise.
19151 * iconvdata/ibm1153.h: Likewise.
19152 * iconvdata/ibm1154.h: Likewise.
19153 * iconvdata/ibm1155.h: Likewise.
19154 * iconvdata/ibm1156.h: Likewise.
19155 * iconvdata/ibm1157.h: Likewise.
19156 * iconvdata/ibm1158.h: Likewise.
19157 * iconvdata/ibm1160.h: Likewise.
19158 * iconvdata/ibm1161.h: Likewise.
19159 * iconvdata/ibm1162.h: Likewise.
19160 * iconvdata/ibm1163.h: Likewise.
19161 * iconvdata/ibm1164.h: Likewise.
19162 * iconvdata/ibm1166.h: Likewise.
19163 * iconvdata/ibm1167.h: Likewise.
19164 * iconvdata/ibm12712.h: Likewise.
19165 * iconvdata/ibm1390.h: Likewise.
19166 * iconvdata/ibm1399.h: Likewise.
19167 * iconvdata/ibm16804.h: Likewise.
19168 * iconvdata/ibm4517.h: Likewise.
19169 * iconvdata/ibm4899.h: Likewise.
19170 * iconvdata/ibm4909.h: Likewise.
19171 * iconvdata/ibm4971.h: Likewise.
19172 * iconvdata/ibm5347.h: Likewise.
19173 * iconvdata/ibm803.h: Likewise.
19174 * iconvdata/ibm856.h: Likewise.
19175 * iconvdata/ibm901.h: Likewise.
19176 * iconvdata/ibm902.h: Likewise.
19177 * iconvdata/ibm9030.h: Likewise.
19178 * iconvdata/ibm9066.h: Likewise.
19179 * iconvdata/ibm921.h: Likewise.
19180 * iconvdata/ibm922.h: Likewise.
19181 * iconvdata/ibm9448.h: Likewise.
19182 * iconvdata/isiri-3342.h: Likewise.
19183 * iconvdata/jis0201.h: Likewise.
19184 * include/link.h: Likewise.
19185 * include/netdb.h: Likewise.
19186 * inet/check_native.c: Likewise.
19187 * inet/check_pf.c: Likewise.
19188 * inet/getipv4sourcefilter.c: Likewise.
19189 * inet/getnameinfo.c: Likewise.
19190 * inet/getsourcefilter.c: Likewise.
19191 * inet/htonl.c: Likewise.
19192 * inet/setipv4sourcefilter.c: Likewise.
19193 * inet/setsourcefilter.c: Likewise.
19194 * inet/test-inet6_opt.c: Likewise.
19195 * inet/tst-network.c: Likewise.
19196 * locale/C-collate.c: Likewise.
19197 * locale/C-ctype.c: Likewise.
19198 * locale/C-time.c: Likewise.
19199 * locale/C-translit.h: Likewise.
19200 * locale/loadarchive.c: Likewise.
19201 * locale/programs/3level.h: Likewise.
19202 * locale/programs/charmap.c: Likewise.
19203 * locale/programs/charmap.h: Likewise.
19204 * locale/programs/ld-address.c: Likewise.
19205 * locale/programs/ld-collate.c: Likewise.
19206 * locale/programs/ld-ctype.c: Likewise.
19207 * locale/programs/ld-identification.c: Likewise.
19208 * locale/programs/ld-measurement.c: Likewise.
19209 * locale/programs/ld-messages.c: Likewise.
19210 * locale/programs/ld-monetary.c: Likewise.
19211 * locale/programs/ld-name.c: Likewise.
19212 * locale/programs/ld-numeric.c: Likewise.
19213 * locale/programs/ld-paper.c: Likewise.
19214 * locale/programs/ld-telephone.c: Likewise.
19215 * locale/programs/ld-time.c: Likewise.
19216 * locale/programs/linereader.c: Likewise.
19217 * locale/programs/locale.c: Likewise.
19218 * locale/programs/locarchive.c: Likewise.
19219 * locale/programs/locfile.h: Likewise.
19220 * locale/programs/repertoire.c: Likewise.
19221 * locale/programs/simple-hash.c: Likewise.
19222 * locale/programs/simple-hash.h: Likewise.
19223 * malloc/memusage.c: Likewise.
19224 * malloc/memusagestat.c: Likewise.
19225 * nis/nis_defaults.c: Likewise.
19226 * nis/nis_hash.c: Likewise.
19227 * nis/nis_print.c: Likewise.
19228 * nis/nis_xdr.c: Likewise.
19229 * nscd/connections.c: Likewise.
19230 * nscd/hstcache.c: Likewise.
19231 * nscd/nscd_gethst_r.c: Likewise.
19232 * nscd/nscd_getserv_r.c: Likewise.
19233 * nscd/nscd_helper.c: Likewise.
19234 * nscd/servicescache.c: Likewise.
19235 * nss/makedb.c: Likewise.
19236 * nss/nss_db/db-XXX.c: Likewise.
19237 * nss/nss_db/db-initgroups.c: Likewise.
19238 * nss/nss_db/db-netgrp.c: Likewise.
19239 * nss/nss_files/files-network.c: Likewise.
19240 * nss/nss_files/files-parse.c: Likewise.
19241 * posix/bug-regex5.c: Likewise.
19242 * posix/fnmatch_loop.c: Likewise.
19243 * posix/regcomp.c: Likewise.
19244 * posix/regexec.c: Likewise.
19245 * posix/tst-rfc3484-2.c: Likewise.
19246 * posix/tst-rfc3484-3.c: Likewise.
19247 * posix/tst-rfc3484.c: Likewise.
19248 * resolv/nss_dns/dns-canon.c: Likewise.
19249 * resolv/nss_dns/dns-network.c: Likewise.
19250 * resolv/res_init.c: Likewise.
19251 * resolv/res_mkquery.c: Likewise.
19252 * resolv/tst-aton.c: Likewise.
19253 * stdlib/cxa_atexit.c: Likewise.
19254 * stdlib/cxa_finalize.c: Likewise.
19255 * stdlib/gen-fpioconst.c: Likewise.
19256 * stdlib/strtol_l.c: Likewise.
19257 * string/tst-endian.c: Likewise.
19258 * sunrpc/auth_des.c: Likewise.
19259 * sunrpc/clnt_udp.c: Likewise.
19260 * sunrpc/rtime.c: Likewise.
19261 * sunrpc/svcauth_des.c: Likewise.
19262 * sunrpc/xdr.c: Likewise.
19263 * sunrpc/xdr_intXX_t.c: Likewise.
19264 * sunrpc/xdr_rec.c: Likewise.
19265 * sysdeps/generic/ldconfig.h: Likewise.
19266 * sysdeps/generic/ldsodefs.h: Likewise.
19267 * sysdeps/generic/memusage.h: Likewise.
19268 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19269 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19270 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19271 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19272 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19274 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19275 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19276 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19277 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19278 * sysdeps/posix/getaddrinfo.c: Likewise.
19279 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19280 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19281 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19282 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19283 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19284 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19285 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19286 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19287 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19288 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19289 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19290 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19291 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19292 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19293 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19294 * sysdeps/x86_64/dl-tls.h: Likewise.
19295 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19296 * time/alt_digit.c: Likewise.
19297 * time/era.c: Likewise.
19298 * wcsmbs/tst-c16c32-1.c: Likewise.
19300 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19302 * math/libm-test.inc (struct test_sincos_data): New type.
19303 (RUN_TEST_LOOP_sincos): New macro.
19304 (sincos_test_data): New variable.
19305 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19307 2013-05-16 Richard Henderson <rth@redhat.com>
19309 * math/atest-exp2.c (LIMB64): New macro.
19310 (CONSTSZ): New macro.
19311 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19313 (print_mpn_fp): ... to function scope.
19314 (read_mpn_hex): Remove.
19315 (get_log2): Remove.
19316 (exp2_mpn): Use mp_log2.
19317 (main): Use mp_exp1.
19319 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19321 * math/libm-test.inc: Remove comment about not testing "inexact"
19323 (INEXACT_EXCEPTION): New macro.
19324 (NO_INEXACT_EXCEPTION): Likewise.
19325 (INVALID_EXCEPTION_OK): Update value.
19326 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19327 (OVERFLOW_EXCEPTION_OK): Likewise.
19328 (UNDERFLOW_EXCEPTION_OK): Likewise.
19329 (IGNORE_ZERO_INF_SIGN): Likewise.
19330 (ERRNO_UNCHANGED): Likewise.
19331 (ERRNO_EDOM): Likewise.
19332 (ERRNO_ERANGE): Likewise.
19333 (test_exceptions): Handle testing "inexact" exceptions.
19334 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19335 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19336 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19337 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19339 (rint_towardzero_test_data): Likewise.
19340 (rint_downward_test_data): Likewise.
19341 (rint_upward_test_data): Likewise.
19343 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19344 with OVERFLOW_EXCEPTION.
19345 (exp10_test_data): Likewise.
19346 (exp2_test_data): Likewise.
19347 (expm1_test_data): Likewise.
19348 (lgamma_test_data): Likewise.
19349 (pow_test_data): Likewise.
19350 (tgamma_test_data): Likewise.
19351 (yn_test_data): Remove duplicate test of overflow.
19353 * math/libm-test.inc (struct test_cc_c_data): New type.
19354 (RUN_TEST_LOOP_cc_c): New macro.
19355 (cpow_test_data): New variable.
19356 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19358 * math/libm-test.inc (struct test_f_L_data): New type.
19359 (RUN_TEST_LOOP_f_L): New macro.
19360 (llrint_test_data): New variable.
19361 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19362 (llrint_tonearest_test_data): New variable.
19363 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19364 (llrint_towardzero_test_data): New variable.
19365 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19366 (llrint_downward_test_data): New variable.
19367 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19368 (llrint_upward_test_data): New variable.
19369 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19370 (llround_test_data): New variable.
19371 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19373 2013-05-13 Peter Collingbourne <pcc@google.com>
19375 * math/atest-exp2.c (get_log2): Remove const attribute.
19377 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19379 * math/libm-test.inc (struct test_f_l_data): New type.
19380 (RUN_TEST_LOOP_f_l): New macro.
19381 (lrint_test_data): New variable.
19382 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19383 (lrint_tonearest_test_data): New variable.
19384 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19385 (lrint_towardzero_test_data): New variable.
19386 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19387 (lrint_downward_test_data): New variable.
19388 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19389 (lrint_upward_test_data): New variable.
19390 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19391 (lround_test_data): New variable.
19392 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19394 2013-05-15 Peter Collingbourne <pcc@google.com>
19396 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19397 (EXTRACT_WORDS64) Use where appropriate.
19398 (INSERT_WORDS64) Likewise.
19400 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19401 constraints with x constraints.
19402 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19404 * malloc/obstack.c (_obstack_compat): Add initializer.
19406 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19408 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19409 si_trapno and add si_addr_lsb to _sifields.sigfault.
19410 (si_trapno): Remove macro.
19411 (si_addr_lsb): Define new macro.
19412 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19414 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19416 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19417 instead of TEST_f_l.
19418 (llrint_test_tonearest): Likewise.
19419 (llrint_test_towardzero): Likewise.
19420 (llrint_test_downward): Likewise.
19421 (llrint_test_upward): Likewise.
19422 (llround_test): Likewise.
19424 * math/libm-test.inc (struct test_f_i_data): Add comment.
19425 (RUN_TEST_LOOP_f_b): New macro.
19426 (RUN_TEST_LOOP_f_b_tg): Likewise.
19427 (finite_test_data): New variable.
19428 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19429 (isfinite_test_data): New variable.
19430 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19431 (isinf_test_data): New variable.
19432 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19433 (isnan_test_data): New variable.
19434 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19435 (isnormal_test_data): New variable.
19436 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19437 (issignaling_test_data): New variable.
19438 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19439 (signbit_test_data): New variable.
19440 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19442 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19443 with INVALID_EXCEPTION.
19444 (acosh_test_data): Likewise.
19445 (asin_test_data): Likewise.
19446 (atanh_test_data): Likewise.
19447 (fmod_test_data): Likewise.
19448 (log_test_data): Likewise.
19449 (log10_test_data): Likewise.
19450 (log2_test_data): Likewise.
19451 (pow_test_data): Likewise.
19452 (sqrt_test_data): Likewise.
19453 (y0_test_data): Likewise.
19454 (y1_test_data): Likewise.
19455 (yn_test_data): Likewise.
19457 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19460 * math/libm-test.inc (struct test_ff_i_data): New type.
19461 (RUN_TEST_LOOP_ff_i_tg): New macro.
19462 (isgreater_test_data): New variable.
19463 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19464 (isgreaterequal_test_data): New variable.
19465 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19466 (isless_test_data): New variable.
19467 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19468 (islessequal_test_data): New variable.
19469 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19470 (islessgreater_test_data): New variable.
19471 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19472 (isunordered_test_data): New variable.
19473 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19475 2013-05-14 David S. Miller <davem@davemloft.net>
19477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19479 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19481 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19483 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19485 (struct test_f_i_data): Change type of max_ulp to int.
19487 * math/libm-test.inc (test_ffI_f1_data): New type.
19488 (RUN_TEST_LOOP_ffI_f1): New macro.
19489 (remquo_test_data): New variable.
19490 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19492 * setjmp/tst-setjmp-fp.c: New file.
19493 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19494 (link-libm): New variable.
19495 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19497 * math/libm-test.inc (struct test_f_i_data): New type.
19498 (RUN_TEST_LOOP_f_i): New macro.
19499 (RUN_TEST_LOOP_f_i_tg): Likewise.
19500 (fpclassify_test_data): New variable.
19501 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19502 (ilogb_test_data): New variable.
19503 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19505 * math/libm-test.inc (scalbln_test): Correct function name in END
19508 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19509 (RUN_TEST_LOOP_fI_f1): New macro.
19510 (frexp_test_data): New variable.
19511 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19513 * math/libm-test.inc (struct test_fF_f1_data): New type.
19514 (RUN_TEST_LOOP_fF_f1): New macro.
19515 (modf_test_data): New variable.
19516 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19518 * math/libm-test.inc (struct test_f_f1_data): New type.
19519 (RUN_TEST_LOOP_f_f1): New macro.
19520 (gamma_test_data): New variable.
19521 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19522 (lgamma_test_data): New variable.
19523 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19525 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19527 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19528 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19529 (main): Comment "tls" pseudo-hwcap.
19531 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19533 * math/libm-test.inc (struct test_fl_f_data): New type.
19534 (RUN_TEST_LOOP_fl_f): New variable.
19535 (scalbln_test_data): New variable.
19536 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19538 * math/libm-test.inc (struct test_fi_f_data): New type.
19539 (RUN_TEST_LOOP_fi_f): New macro.
19540 (ldexp_test_data): New variable.
19541 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19542 (scalbn_test_data): New variable.
19543 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19545 * math/libm-test.inc (struct test_c_f_data): New type.
19546 (RUN_TEST_LOOP_c_f): New macro.
19547 (cabs_test_data): New variable.
19548 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19549 (carg_test_data): New variable.
19550 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19551 (cimag_test_data): New variable.
19552 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19553 (creal_test_data): New variable.
19554 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19556 * math/libm-test.inc (struct test_if_f_data): New type.
19557 (RUN_TEST_LOOP_if_f): New macro.
19558 (jn_test_data): New variable.
19559 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19560 (yn_test_data): New variable.
19561 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19563 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19565 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19567 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19568 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19570 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19572 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19573 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19574 (bench-deps): Add bench-timing.h.
19575 * benchtests-bench-skeleton.c: Include bench-timing.h.
19576 (main): Use TIMING_* macros instead of clock_gettime.
19577 * benchtests/bench-timing.h: New file.
19580 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19581 Renamed from _LIB_VERSION.
19582 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19584 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19586 * math/libm-test.inc (struct test_fff_f_data): New type.
19587 (RUN_TEST_LOOP_fff_f): New macro.
19588 (fma_test_data): New variable.
19589 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19590 (fma_towardzero_test_data): New variable.
19591 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19592 (fma_downward_test_data): New variable.
19593 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19594 (fma_upward_test_data): New variable.
19595 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19597 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19598 (struct test_c_c_data): New type.
19599 (RUN_TEST_LOOP_c_c): New macro.
19600 (cacos_test_data): New variable.
19601 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19602 (cacosh_test_data): New variable.
19603 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19604 (casin_test_data): New variable.
19605 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19606 (casinh_test_data): New variable.
19607 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19608 (catan_test_data): New variable.
19609 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19610 (catanh_test_data): New variable.
19611 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19612 (ccos_test_data): New variable.
19613 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19614 (ccosh_test_data): New variable.
19615 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19616 (cexp_test_data): New variable.
19617 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19618 (clog_test_data): New variable.
19619 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19620 (clog10_test_data): New variable.
19621 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19622 (conj_test_data): New variable.
19623 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19624 (cproj_test_data): New variable.
19625 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19626 (csin_test_data): New variable.
19627 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19628 (csinh_test_data): New variable.
19629 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19630 (csqrt_test_data): New variable.
19631 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19632 (ctan_test_data): New variable.
19633 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19634 (ctan_tonearest_test_data): New variable.
19635 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19636 (ctan_towardzero_test_data): New variable.
19637 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19638 (ctan_downward_test_data): New variable.
19639 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19640 (ctan_upward_test_data): New variable.
19641 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19642 (ctanh_test_data): New variable.
19643 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19644 (ctanh_tonearest_test_data): New variable.
19645 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19646 (ctanh_towardzero_test_data): New variable.
19647 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19648 (ctanh_downward_test_data): New variable.
19649 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19650 (ctanh_upward_test_data): New variable.
19651 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19652 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19655 * math/libm-test.inc (struct test_ff_f_data): New type.
19656 (struct test_ff_f_data_nexttoward): Likewise.
19657 (RUN_TEST_LOOP_2_f): New macro.
19658 (RUN_TEST_LOOP_ff_f): Likewise.
19659 (atan2_test_data): New variable.
19660 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19661 (copysign_test_data): New variable.
19662 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19663 (fdim_test_data): New variable.
19664 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19665 (fmax_test_data): New variable.
19666 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19667 (fmin_test_data): New variable.
19668 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19669 (fmod_test_data): New variable.
19670 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19671 (hypot_test_data): New variable.
19672 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19673 (nextafter_test_data): New variable.
19674 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19675 (nexttoward_test_data): New variable.
19676 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19677 (pow_test_data): New variable.
19678 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19679 (pow_tonearest_test_data): New variable.
19680 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19681 (pow_towardzero_test_data): New variable.
19682 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19683 (pow_downward_test_data): New variable.
19684 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19685 (pow_upward_test_data): New variable.
19686 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19687 (remainder_test_data): New variable.
19688 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19689 (scalb_test_data): New variable.
19690 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19691 * sysdeps/i386/fpu/libm-test-ulps: Update.
19693 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19695 * math/libm-test.inc (fma_test): Use max_value instead of local
19697 (nextafter_test): Likewise.
19699 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19700 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19701 (acos_downward_test_data): New variable.
19702 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19703 (acos_upward_test_data): New variable.
19704 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19705 (acosh_test_data): New variable.
19706 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19707 (asin_test_data): New variable.
19708 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19709 (asin_tonearest_test_data): New variable.
19710 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19711 (asin_towardzero_test_data): New variable.
19712 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19713 (asin_downward_test_data): New variable.
19714 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19715 (asin_upward_test_data): New variable.
19716 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19717 (asinh_test_data): New variable.
19718 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19719 (atan_test_data): New variable.
19720 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19721 (atanh_test_data): New variable.
19722 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19723 (cbrt_test_data): New variable.
19724 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19725 (ceil_test_data): New variable.
19726 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19727 (cos_test_data): New variable.
19728 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19729 (cos_tonearest_test_data): New variable.
19730 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19731 (cos_towardzero_test_data): New variable.
19732 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19733 (cos_downward_test_data): New variable.
19734 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19735 (cos_upward_test_data): New variable.
19736 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19737 (cosh_test_data): New variable.
19738 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19739 (cosh_tonearest_test_data): New variable.
19740 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19741 (cosh_towardzero_test_data): New variable.
19742 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19743 (cosh_downward_test_data): New variable.
19744 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19745 (cosh_upward_test_data): New variable.
19746 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19747 (erf_test_data): New variable.
19748 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19749 (erfc_test_data): New variable.
19750 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19751 (exp_test_data): New variable.
19752 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19753 (exp_tonearest_test_data): New variable.
19754 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19755 (exp_towardzero_test_data): New variable.
19756 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19757 (exp_downward_test_data): New variable.
19758 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19759 (exp_upward_test_data): New variable.
19760 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19761 (exp10_test_data): New variable.
19762 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19763 (exp2_test_data): New variable.
19764 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19765 (expm1_test_data): New variable.
19766 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19767 (fabs_test_data): New variable.
19768 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19769 (floor_test_data): New variable.
19770 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19771 (j0_test_data): New variable.
19772 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19773 (j1_test_data): New variable.
19774 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19775 (log_test_data): New variable.
19776 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19777 (log10_test_data): New variable.
19778 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19779 (log1p_test_data): New variable.
19780 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19781 (log2_test_data): New variable.
19782 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19783 (logb_test_data): New variable.
19784 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19785 (logb_downward_test_data): New variable.
19786 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19787 (nearbyint_test_data): New variable.
19788 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19789 (rint_test_data): New variable.
19790 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19791 (rint_tonearest_test_data): New variable.
19792 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19793 (rint_towardzero_test_data): New variable.
19794 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19795 (rint_downward_test_data): New variable.
19796 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19797 (rint_upward_test_data): New variable.
19798 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19799 (round_test_data): New variable.
19800 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19801 (sin_test_data): New variable.
19802 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19803 (sin_tonearest_test_data): New variable.
19804 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19805 (sin_towardzero_test_data): New variable.
19806 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19807 (sin_downward_test_data): New variable.
19808 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19809 (sin_upward_test_data): New variable.
19810 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19811 (sinh_test_data): New variable.
19812 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19813 (sinh_tonearest_test_data): New variable.
19814 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19815 (sinh_towardzero_test_data): New variable.
19816 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19817 (sinh_downward_test_data): New variable.
19818 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19819 (sinh_upward_test_data): New variable.
19820 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19821 (sqrt_test_data): New variable.
19822 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19823 (tan_test_data): New variable.
19824 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19825 (tan_tonearest_test_data): New variable.
19826 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19827 (tan_towardzero_test_data): New variable.
19828 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19829 (tan_downward_test_data): New variable.
19830 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19831 (tan_upward_test_data): New variable.
19832 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19833 (tanh_test_data): New variable.
19834 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19835 (tgamma_test_data): New variable.
19836 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19837 (trunc_test_data): New variable.
19838 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19839 (y0_test_data): New variable.
19840 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19841 (y1_test_data): New variable.
19842 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19843 (significand_test_data): New variable.
19844 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19846 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19849 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19851 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19853 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19855 2013-05-10 Andreas Jaeger <aj@suse.de>
19858 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19859 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19861 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19863 * math/gen-libm-test.pl (adjust_arg): New function.
19864 (special_functions): Handle generating output in both functions
19866 (parse_args): Likewise.
19867 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19868 $in_func argument to parse_args.
19869 * math/libm-test.inc (struct test_f_f_data): New type.
19870 (IF_ROUND_INIT_): New macro.
19871 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19872 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19873 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19874 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19875 (ROUND_RESTORE_): Likewise.
19876 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19877 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19878 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19879 (ROUND_RESTORE_FE_UPWARD): Likewise.
19880 (RUN_TEST_LOOP_f_f): New macro.
19881 (acos_test_data): New variable.
19882 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19883 (acos_tonearest_test_data): New variable.
19884 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19886 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19888 * benchtests/bench-skeleton.c (startup): Fix coding style.
19890 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19893 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19894 negative infinity argument.
19895 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19896 negative infinity argument.
19897 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19898 negative infinity argument.
19899 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19902 2013-05-10 Florian Weimer <fweimer@redhat.com>
19904 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19905 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19906 * iconv/iconv_prog.c (main): Likewise.
19907 * locale/programs/charmap-dir.c (charmap_readdir)
19908 (fopen_uncompressed): Likewise.
19909 * locale/programs/locfile.c (siblings_uncached)
19910 (write_locale_data): Use lstat64 instead of lstat.
19911 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19914 2013-05-10 Andreas Jaeger <aj@suse.de>
19917 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19919 Include <locale.h>.
19921 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19923 * elf/dl-close.c (_dl_close_worker): Add comments.
19925 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19928 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19930 (__ieee754_rem_pio2l): Update comments.
19933 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19935 (__ieee754_rem_pio2l): Update comments.
19937 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19938 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19940 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19943 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19944 (M_PI_34_LOG10El): Likewise.
19945 (M_PI2_LOG10El): Likewise.
19946 (M_PI4_LOG10El): Likewise.
19947 (M_PI_LOG10El): Likewise.
19949 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19953 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19955 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19956 (MINUS_ZERO_INIT): Likewise.
19957 (PLUS_INFTY_INIT): Likewise.
19958 (MINUS_INFTY_INIT): Likewise.
19959 (QNAN_VALUE_INIT): Likewise.
19960 (MAX_VALUE_INIT): Likewise.
19961 (MIN_VALUE_INIT): Likewise.
19962 (MIN_SUBNORM_VALUE_INIT): Likewise.
19963 (plus_zero): Initialize with PLUS_ZERO_INIT.
19964 (minus_zero): Initialize with MINUS_ZERO_INIT.
19965 (plus_infty): Initialize with PLUS_INFTY_INIT.
19966 (minus_infty): Initialize with MINUS_INFTY_INIT.
19967 (qnan_value): Initialize with QNAN_VALUE_INIT.
19968 (max_value): Initialize with MAX_VALUE_INIT.
19969 (min_value): Initialize with MIN_VALUE_INIT.
19970 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19972 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19973 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19974 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19975 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19977 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19978 (RUN_TEST_2_f): Likewise.
19979 (RUN_TEST_ff_f): Likewise.
19980 (RUN_TEST_fi_f): Likewise.
19981 (RUN_TEST_fl_f): Likewise.
19982 (RUN_TEST_fff_f): Likewise.
19983 (RUN_TEST_c_f): Likewise.
19984 (RUN_TEST_f_f1): Likewise.
19985 (RUN_TEST_fF_f1): Likewise.
19986 (RUN_TEST_fI_f1): Likewise.
19987 (RUN_TEST_ffI_f1): Likewise.
19988 (RUN_TEST_c_c): Likewise.
19989 (RUN_TEST_cc_c): Likewise.
19990 (RUN_TEST_f_i): Likewise.
19991 (RUN_TEST_f_i_tg): Likewise.
19992 (RUN_TEST_ff_i_tg): Likewise.
19993 (RUN_TEST_f_b): Likewise.
19994 (RUN_TEST_f_b_tg): Likewise.
19995 (RUN_TEST_f_l): Likewise.
19996 (RUN_TEST_f_L): Likewise.
19997 (RUN_TEST_sincos): Likewise.
19998 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19999 whether to show exceptions. Do not include ");\n" in return
20001 (special_functions): Output call to RUN_TEST_sincos instead of
20002 check_float calls. Update calls to new_test.
20003 (parse_args): Output call to single RUN_TEST_* macro instead of
20004 check_* calls and other assignments. Update calls to new_test.
20010 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20011 input to result for tgamma overflow.
20012 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20013 (gamma_coeff): New variable.
20014 (NCOEFF): New macro.
20015 (gamma_positive): New function.
20016 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20017 underflow here. Use gamma_positive instead of exp (lgamma) for
20019 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20020 (gamma_coeff): New variable.
20021 (NCOEFF): New macro.
20022 (gammaf_positive): New function.
20023 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20024 underflow here. Use gamma_positive instead of exp (lgamma) for
20026 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20027 (gamma_coeff): New variable.
20028 (NCOEFF): New macro.
20029 (gammal_positive): New function.
20030 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20031 underflow here. Use gamma_positive instead of exp (lgamma) for
20033 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20034 (gamma_coeff): New variable.
20035 (NCOEFF): New macro.
20036 (gammal_positive): New function.
20037 (__ieee754_gammal_r): Handle positive infinity, overflow and
20038 underflow here. Handle NaN the same as positive infinity. Remove
20039 check x < 0xffffffff for negative integers. Use gamma_positive
20040 instead of exp (lgamma) for other arguments.
20041 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20042 (gamma_coeff): New variable.
20043 (NCOEFF): New macro.
20044 (gammal_positive): New function.
20045 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20046 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20047 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20048 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20049 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20050 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20051 * sysdeps/generic/math_private.h (__gamma_productf): New
20053 (__gamma_product): Likewise.
20054 (__gamma_productl): Likewise.
20055 * math/Makefile (libm-calls): Add gamma_product.
20056 * math/libm-test.inc (tgamma_test): Add more tests.
20057 * sysdeps/i386/fpu/libm-test-ulps: Update.
20058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20060 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20062 * benchtests/bench-skeleton.c (main): Preheat CPU.
20064 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20066 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20068 2013-05-07 Roland McGrath <roland@hack.frob.com>
20070 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20071 and _dl_skip_args_internal.
20073 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20075 * manual/message.texi (Message Translation): Talk about users.
20076 Message to key mapping impacts design.
20078 2013-05-06 Roland McGrath <roland@hack.frob.com>
20080 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20082 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20084 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20085 * sysdeps/wordsize-64/glob64.c: ... here.
20087 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20088 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20091 * debug/getlogin_r_chk.c: Moved to ...
20092 * login/getlogin_r_chk.c: ... here.
20093 * debug/Makefile (routines): Move getlogin_r_chk to ...
20094 * login/Makefile (routines): ... here.
20095 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20096 * login/Versions (libc: GLIBC_2.4): ... here.
20098 * io/poll.c (__poll): Renamed from poll.
20099 Add libc_hidden_def.
20100 (poll): Define as weak alias.
20102 * debug/ptsname_r_chk.c: Moved to ...
20103 * login/ptsname_r_chk.c: ... here.
20104 * debug/Makefile (routines): Move ptsname_r_chk to ...
20105 * login/Makefile (routines): ... here.
20106 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20107 * login/Versions (libc: GLIBC_2.4): ... here.
20109 * posix/getlogin.c: Moved to ...
20110 * login/getlogin.c: ... here.
20111 * posix/getlogin_r.c: Moved to ...
20112 * login/getlogin_r.c: ... here.
20113 * posix/getlogin_r.c: Moved to ...
20114 * login/getlogin_r.c: ... here.
20115 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20116 * login/Makefile (routines): ... here.
20117 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20118 * login/Versions (libc: GLIBC_2.0): ... here.
20120 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20121 (setrlimit): Define as weak alias.
20123 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20124 Call __ names for open, ftruncate, and close.
20125 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20126 (truncate): Define as weak alias.
20128 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20130 * math/gen-libm-test.pl (parse_args): Initialize x before each
20131 test of frexp, modf and remquo.
20133 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20134 test signgam value.
20136 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20140 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20142 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20144 2013-05-06 Roland McGrath <roland@hack.frob.com>
20146 * elf/dl-writev.h: New file.
20147 * elf/dl-misc.c: Include it.
20148 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20149 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20151 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20153 * math/libm-test.inc (noXFails): Remove variable.
20154 (noXPasses): Likewise.
20155 (BUILD_COMPLEX_INT): Remove macro.
20156 (print_screen): Remove xfail argument.
20157 (print_screen_max_error): Likewise.
20158 (update_stats): Likewise.
20159 (print_max_error): Likewise. Update calls to other affected
20161 (print_complex_max_error): Likewise.
20162 (test_single_exception): Update calls to print_screen.
20163 (test_single_errno): Likewise.
20164 (check_float_internal): Remove xfail argument. Update calls to
20165 other affected functions.
20166 (check_float): Likewise.
20167 (check_complex): Likewise.
20168 (check_int): Likewise.
20169 (check_long): Likewise.
20170 (check_bool): Likewise.
20171 (check_longlong): Likewise.
20172 (main): Don't print noXFails and noXPasses.
20173 * math/gen-libm-test.pl (top level): Don't mention expected
20174 failure handling in comment.
20175 (new_test): Don't handle expected failures.
20176 (parse_args): Don't mention expected failure handling in comment.
20177 (generate_testfile): Don't handle expected failures.
20178 (parse_ulps): Likewise.
20179 (print_ulps_file): Likewise.
20180 (get_failure): Remove function.
20181 (output_test): Don't handle expected failures.
20182 * make/README.libm-test: Don't mention expected failure handling.
20184 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20185 (minus_zero): Likewise.
20186 (plus_infty): Likewise.
20187 (minus_infty): Likewise.
20188 (qnan_value): Likewise.
20189 (max_value): Likewise.
20190 (min_value): Likewise.
20191 (min_subnorm_value): Likewise.
20192 (initialize): Do not initialize those variables dynamically.
20194 2013-05-03 Roland McGrath <roland@hack.frob.com>
20196 * io/open.c (__open_2): Moved to ...
20197 * io/open_2.c: ... this new file.
20198 * io/open64.c (__open64_2): Moved to ...
20199 * io/open64_2.c: ... this new file.
20200 * io/openat.c (__openat_2): Moved to ...
20201 * io/openat_2.c: ... this new file.
20202 * io/openat64.c (__openat64_2): Moved to ...
20203 * io/openat64_2.c: ... this new file.
20204 * io/Makefile (routines): Add them.
20205 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20206 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20207 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20208 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20209 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20210 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20211 (__openat64): Add hidden_ver.
20212 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20213 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20215 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20216 Separately conditionalize setting of GLRO(dl_sysinfo) so
20217 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20218 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20220 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20222 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20223 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20225 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20226 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20227 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20228 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20229 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20231 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20233 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20234 test signgam value.
20236 * math/libm-test.inc (hypot_test): Do not use
20237 IGNORE_ZERO_INF_SIGN.
20239 2013-05-03 Andreas Jaeger <aj@suse.de>
20241 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20243 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20244 (PF_MAX): Adjust for VSOCK change.
20246 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20250 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20253 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20254 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20255 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20257 2013-05-02 David S. Miller <davem@davemloft.net>
20259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20261 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20263 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20265 2013-05-01 Roland McGrath <roland@hack.frob.com>
20267 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20269 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20272 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20273 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20274 Use __attribute__ ((__gnu_inline__)).
20275 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20276 Don't use __attribute__ ((__gnu_inline__)).
20278 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20281 * math/s_catan.c (__catan): Handle small real or imaginary part of
20282 input specially to avoid spurious underflow.
20283 * math/s_catanf.c (__catanf): Likewise.
20284 * math/s_catanh.c (__catanh): Likewise.
20285 * math/s_catanhf.c (__catanhf): Likewise.
20286 * math/s_catanhl.c (__catanhl): Likewise.
20287 * math/s_catanl.c (__catanl): Likewise.
20288 * math/libm-test.inc (catan_test): Add more tests.
20289 (catanh_test): Likewise.
20290 * sysdeps/i386/fpu/libm-test-ulps: Update.
20291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20293 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20297 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20300 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20301 accurately for denominator in atan2.
20302 * math/s_catanf.c (__catanf): Likewise.
20303 * math/s_catanh.c (__catanh): Likewise.
20304 * math/s_catanhf.c (__catanhf): Likewise.
20305 * math/s_catanhl.c (__catanhl): Likewise.
20306 * math/s_catanl.c (__catanl): Likewise.
20307 * math/libm-test.inc (catan_test): Add more tests.
20308 (catanh_test): Likewise.
20309 * sysdeps/i386/fpu/libm-test-ulps: Update.
20310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20312 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20314 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20316 * benchtests/Makefile (bench): Remove slow benchmarks.
20317 * benchtests/atan-inputs: Add slow benchmark inputs.
20318 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20319 (BENCH_FUNC): Accept variant offset.
20321 * benchtests/bench-skeleton.c (main): Run benchmark for each
20323 * benchtests/cos-inputs: Add slow benchmark inputs.
20324 * benchtests/exp-inputs: Likewise.
20325 * benchtests/pow-inputs: Likewise.
20326 * benchtests/sin-inputs: Likewise.
20327 * benchtests/slowatan-inputs: Remove.
20328 * benchtests/slowatan.c: Remove.
20329 * benchtests/slowcos-inputs: Remove.
20330 * benchtests/slowcos.c: Remove.
20331 * benchtests/slowexp-inputs: Remove.
20332 * benchtests/slowexp.c: Remove.
20333 * benchtests/slowpow-inputs: Remove.
20334 * benchtests/slowpow.c: Remove.
20335 * benchtests/slowsin-inputs: Remove.
20336 * benchtests/slowsin.c: Remove.
20337 * benchtests/slowtan-inputs: Remove.
20338 * benchtests/slowtan.c: Remove.
20339 * benchtests/tan-inputs: Add slow benchmark inputs.
20340 * scripts/bench.pl: Parse comments and directives.
20342 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20344 ($(objpfx)bench-%.c): Remove *-ITER.
20345 * benchtests/bench-modf.c: Remove definition of ITER.
20346 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20347 (main): Loop for DURATION seconds instead of fixed number of
20349 * scripts/bench.pl: Don't expect iterations in parameters.
20351 2013-04-29 Roland McGrath <roland@hack.frob.com>
20353 * io/fchdir.c (__fchdir): Renamed from fchdir.
20354 (fchdir): Define as weak alias.
20356 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20358 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20359 (ERRNO_EDOM): Likewise.
20360 (ERRNO_ERANGE): Likewise.
20361 (noErrnoTests): New variable.
20362 (init_max_error): Set errno to 0.
20363 (test_single_errno): New function.
20364 (test_errno): Likewise.
20365 (check_float_internal): Call test_errno. Set errno to 0.
20366 (check_complex): Refer to errno tests in comment.
20367 (check_int): Call test_errno. Set errno to 0.
20368 (check_long): Likewise.
20369 (check_bool): Likewise.
20370 (check_longlong): Likewise.
20371 (cos_test): Use ERRNO_* flags for errno tests instead of
20373 (expm1_test): Likewise.
20374 (fmod_test): Likewise.
20375 (ilogb_test): Likewise.
20376 (lgamma_test): Likewise.
20377 (pow_test): Likewise.
20378 (remainder_test): Likewise.
20379 (sin_test): Likewise.
20380 (tan_test): Likewise.
20381 (yn_test): Likewise.
20382 (initialize): Set errno to 0.
20383 (main): Print number of errno tests.
20384 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20386 2013-04-29 Andreas Jaeger <aj@suse.de>
20389 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20393 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20394 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20398 * stdlib/random.c (__initstate): Return NULL if
20402 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20403 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20406 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20410 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20412 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20413 of individual tests.
20414 (casin_test): Likewise.
20415 (casinh_test): Likewise.
20417 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20420 * math/s_catan.c (__catan): Handle arguments with large real or
20421 imaginary part separately without squaring.
20422 * math/s_catanf.c (__catanf): Likewise.
20423 * math/s_catanh.c (__catanh): Likewise.
20424 * math/s_catanhf.c (__catanhf): Likewise.
20425 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20427 (__catanhl): Handle arguments with large real or imaginary part
20428 separately without squaring.
20429 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20431 (__catanl): Handle arguments with large real or imaginary part
20432 separately without squaring.
20433 * math/libm-test.inc (catan_test): Add more tests.
20434 (catanh_test): Likewise.
20435 * sysdeps/i386/fpu/libm-test-ulps: Update.
20436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20438 2013-04-27 Andreas Jaeger <aj@suse.de>
20441 * stdlib/stdlib.h: Update guards for qecvt.
20442 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20445 2013-04-27 Allan McRae <allan@archlinux.org>
20447 * sysdeps/i386/fpu/libm-test-ulps: Update.
20449 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20452 * math/s_catan.c: Include <float.h>.
20453 (__catan): Ensure underflow exception occurs for underflowed
20455 * math/s_catanf.c: Include <float.h>.
20456 (__catanf): Ensure underflow exception occurs for underflowed
20458 * math/s_catanh.c: Include <float.h>.
20459 (__catanh): Ensure underflow exception occurs for underflowed
20461 * math/s_catanhf.c: Include <float.h>.
20462 (__catanhf): Ensure underflow exception occurs for underflowed
20464 * math/s_catanhl.c: Include <float.h>.
20465 (__catanhl): Ensure underflow exception occurs for underflowed
20467 * math/s_catanl.c: Include <float.h>.
20468 (__catanl): Ensure underflow exception occurs for underflowed
20470 * math/libm-test.inc (catan_test): Add more tests.
20471 (catanh_test): Likewise.
20474 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20475 underflowed result.
20476 * math/s_ccoshf.c (__ccoshf): Likewise.
20477 * math/s_ccoshl.c (__ccoshl): Likewise.
20478 * math/s_csin.c (__csin): Likewise.
20479 * math/s_csinf.c (__csinf): Likewise.
20480 * math/s_csinh.c (__csinh): Likewise.
20481 * math/s_csinhf.c (__csinhf): Likewise.
20482 * math/s_csinhl.c (__csinhl): Likewise.
20483 * math/s_csinl.c (__csinl): Likewise.
20484 * math/libm-test.inc (ccos_test): Add more tests.
20485 (ccosh_test): Likewise.
20486 (csin_test): Likewise.
20487 (csinh_test): Likewise.
20489 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20491 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20492 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20493 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20494 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20495 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20496 powerpc/power5+/fpu folders.
20497 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20500 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20504 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20506 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20507 additions to variable.
20508 [$(config-machine) = x86_64] (modules-names): Likewise.
20509 ($(objpfx)tst-audit3): Remove dependency.
20510 ($(objpfx)tst-audit3.out): Likewise.
20511 ($(objpfx)tst-audit4): Likewise.
20512 ($(objpfx)tst-audit4.out): Likewise.
20513 ($(objpfx)tst-audit5): Likewise.
20514 ($(objpfx)tst-audit5.out): Likewise.
20515 ($(objpfx)tst-audit6): Likewise.
20516 ($(objpfx)tst-audit6.out): Likewise.
20517 ($(objpfx)tst-audit7): Likewise.
20518 ($(objpfx)tst-audit7.out): Likewise.
20519 (tst-audit3-ENV): Remove variable.
20520 (tst-audit4-ENV): Likewise.
20521 (tst-audit5-ENV): Likewise.
20522 (tst-audit6-ENV): Likewise.
20523 (tst-audit7-ENV): Likewise.
20524 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20525 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20526 addition to variable.
20527 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20528 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20529 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20530 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20531 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20532 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20533 tst-audit3, tst-audit4 and tst-audit5.
20534 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20535 tst-audit6 and tst-audit7.
20536 [$(subdir) = elf] (modules-names): Add audit modules for those
20538 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20539 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20540 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20541 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20542 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20543 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20544 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20545 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20546 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20547 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20548 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20549 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20550 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20551 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20552 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20553 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20555 [$(subdir) = elf && $(config-cflags-avx) = yes]
20556 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20557 [$(subdir) = elf && $(config-cflags-avx) = yes]
20558 (CFLAGS-tst-auditmod4a.c): Likewise.
20559 [$(subdir) = elf && $(config-cflags-avx) = yes]
20560 (CFLAGS-tst-auditmod4b.c): Likewise.
20561 [$(subdir) = elf && $(config-cflags-avx) = yes]
20562 (CFLAGS-tst-auditmod6b.c): Likewise.
20563 [$(subdir) = elf && $(config-cflags-avx) = yes]
20564 (CFLAGS-tst-auditmod6c.c): Likewise.
20565 [$(subdir) = elf && $(config-cflags-avx) = yes]
20566 (CFLAGS-tst-auditmod7b.c): Likewise.
20567 * elf/tst-audit3.c: Move to ...
20568 * sysdeps/x86_64/tst-audit3.c: ... here.
20569 * elf/tst-audit4.c: Move to ...
20570 * sysdeps/x86_64/tst-audit4.c: ... here.
20571 * elf/tst-audit5.c: Move to ...
20572 * sysdeps/x86_64/tst-audit5.c: ... here.
20573 * elf/tst-audit6.c: Move to ...
20574 * sysdeps/x86_64/tst-audit6.c: ... here.
20575 * elf/tst-audit7.c: Move to ...
20576 * sysdeps/x86_64/tst-audit7.c: ... here.
20577 * elf/tst-auditmod3a.c: Move to ...
20578 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20579 * elf/tst-auditmod3b.c: Move to ...
20580 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20581 * elf/tst-auditmod4a.c: Move to ...
20582 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20583 * elf/tst-auditmod4b.c: Move to ...
20584 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20585 * elf/tst-auditmod5a.c: Move to ...
20586 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20587 * elf/tst-auditmod5b.c: Move to ...
20588 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20589 * elf/tst-auditmod6a.c: Move to ...
20590 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20591 * elf/tst-auditmod6b.c: Move to ...
20592 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20593 * elf/tst-auditmod6c.c: Move to ...
20594 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20595 * elf/tst-auditmod7a.c: Move to ...
20596 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20597 * elf/tst-auditmod7b.c: Move to ...
20598 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20600 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20603 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20604 define unconditionally.
20605 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20606 define unconditionally.
20607 (INT8_C, INT16_C, etc.): Likewise.
20609 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20611 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20612 __ehdr_start with hidden visibility.
20614 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20616 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20618 * math/libm-test.inc (cos_test): Use accurate hex constants.
20619 (sincost_test): Likewise.
20621 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20623 * math/libm-test.inc (catan_test): Add more tests.
20624 (catanh_test): Likewise.
20626 * math/s_catanf.c (__catanf): Use suffixed floating-point
20628 * math/s_catanhf.c (__catanhf): Likewise.
20629 * math/s_catanhl.c (__catanhl): Likewise.
20630 * math/s_catanl.c (__catanl): Likewise.
20633 * math/s_catan.c (__catan): Calculate imaginary part of result
20634 with log1p not log unless computing log of number close to 0.
20635 * math/s_catanf.c (__catanf): Likewise.
20636 * math/s_catanl.c (__catanl): Likewise.
20637 * math/s_catanh.c (__catanh): Calculate real part of result with
20638 log1p not log unless computing log of number close to 0.
20639 * math/s_catanhf.c (__catanhf): Likewise.
20640 * math/s_catanhl.c (__catanhl): Likewise.
20641 * math/libm-test.inc (catan_test): Add more tests.
20642 (catanh_test): Likewise.
20643 * sysdeps/i386/fpu/libm-test-ulps: Update.
20644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20646 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20648 * benchtests/Makefile: Mention files in which fast and slow
20649 paths of math functions are implemented.
20651 2013-04-23 Roland McGrath <roland@hack.frob.com>
20653 * sysdeps/posix/timespec_get.c: New file.
20655 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20657 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20659 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20661 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20662 powerpc/power5/fpu folders.
20663 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20664 * benchtests/Makefile: Add modf testcase.
20665 * benchtests/bench-modf.c: New file: Benchmark test for mo
20667 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20670 * time/Makefile (tests): Add tst-strptime-whitespace.
20671 * time/strptime_l.c (get_number): Use ISSPACE.
20672 (__strptime_internal): Likewise.
20673 * time/tst-strptime-whitespace.c: New test case.
20675 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20677 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20679 (_nss_files_init): Set it here.
20681 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20683 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20684 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20687 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20689 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20691 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20696 2013-04-21 David S. Miller <davem@davemloft.net>
20698 * po/ru.po: Update Russion translation from translation project.
20700 2013-04-17 Adam Conrad <adconrad@0c3.net>
20702 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20705 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20707 * configure.in: Remove i386 configure warning. Remove i386 case.
20708 * configure: Regenerate.
20709 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20710 Add example to error message.
20711 * sysdeps/i386/configure: Regenerate.
20713 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20715 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20717 * benchtests/cos-inputs: New file.
20718 * benchtests/slowcos-inputs: New file.
20719 * benchtests/slowcos.c: New file.
20720 * benchtests/slowtan-inputs: New file.
20721 * benchtests/slowtan.c: New file.
20722 * benchtests/tan-inputs: New file.
20724 2013-04-16 Roland McGrath <roland@hack.frob.com>
20726 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20729 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20731 * benchtests/Makefile: Include cppflags-iterator.mk to add
20732 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20734 * Makefile.in (bench-clean): New target.
20735 * benchtests/Makefile (bench-clean): Likewise.
20737 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20739 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20741 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20743 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20745 2013-04-15 Andreas Schwab <schwab@suse.de>
20747 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20748 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20749 * nscd/pwdcache.c (cache_addpw): Likewise.
20750 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20753 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20755 * benchtests/Makefile (bench): Write all output to
20756 bench-out.tmp together.
20758 2013-04-15 Andreas Schwab <schwab@suse.de>
20760 * nscd/nscd.c (main): Don't fork again after closing files.
20762 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20764 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20766 * benchtests/Rules (bench-deps): Collect dependencies into a
20767 single variable. Add Makefile to dependencies.
20768 ($(objpfx)bench-%.c): Depend on bench-deps.
20770 2013-04-12 Roland McGrath <roland@hack.frob.com>
20771 Xavier Roche <roche+kml2@exalead.com>
20774 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20775 just that it's a file descriptor.
20776 * manual/llio.texi (Synchronizing AIO Operations): Update description
20777 for EBADF error from aio_fsync.
20779 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20781 * Rules (bench): Move target definition...
20782 * benchtests/Makefile: ... here.
20784 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20786 * math/libm-test.inc (cos_test): Fix PI/2 test.
20787 (sincos_test): Likewise.
20788 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20789 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20791 2013-04-11 Andreas Schwab <schwab@suse.de>
20794 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20795 accept exponent character only when digits were seen.
20796 * stdio-common/Makefile (tests): Add bug26.
20797 * stdio-common/bug26.c: New file.
20800 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20803 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20805 * Makeconfig (rtld-prefix): Define built linker prefix.
20806 * Rules (run-bench): Use it.
20807 * math/Makefile (run-regen-ulps): Likewise.
20809 * Rules (bench): Remove eval.
20811 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20812 Roland McGrath <roland@hack.frob.com>
20813 Ondrej Bilka <neleai@seznam.cz>
20816 * time/getdate.c: Include ctype.h and alloca.h.
20817 (__getdate_r): Trim leading and trailing spaces of input.
20818 * time/tst-getdate.c (tests): Add tests with leading and
20821 2013-04-08 Roland McGrath <roland@hack.frob.com>
20824 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20825 when computing value.
20827 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20829 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20830 Use testrun.sh to run libm tests.
20833 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20835 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20838 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20840 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20842 * Makefile.in (regen-ulps): New target.
20843 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20844 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20845 [ifneq (no,$(PERL)] (regen-ulps): New target.
20846 [ifeq (no,$(PERL)] (regen-ulps): New target.
20847 * math/libm-test.inc (ulps_file_name): Define.
20848 (output_dir): New variable.
20849 (options): Add "output-dir" option.
20850 (parse_opt): Handle 'o' case.
20851 (main): If output_dir is non-NULL use it as a prefix
20853 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20855 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20857 [BZ #10060, #10062]
20858 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20859 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20860 fail configure if __sync_val_compare_and_swap is not inlined.
20861 * sysdeps/i386/configure: Regenerate.
20862 * configure.in: Build for i686 when configured for i386.
20863 * configure: Regenerate.
20864 * README: Remove i386 reference.
20866 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20868 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20869 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20871 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20873 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20874 (lmsnanval): New variables.
20875 (F): Add conversion tests.
20876 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20877 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20879 * stdio-common/tstdiomisc.c (F): Properly collect individual
20882 [BZ #14686, #15336]
20883 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20884 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20885 Instead, use input NaN values or generate a qNaN by arithmetic
20886 operation. Also fix bugs to comply with the standard.
20887 * math/libm-test.inc (remainder_test): Add more tests.
20889 [BZ #15335, #15342]
20890 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20891 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20892 input NaN values or generate a qNaN by arithmetic operation.
20894 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20897 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20900 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20903 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20904 underflowed result.
20905 * math/s_cexpf.c (__cexpf): Likewise.
20906 * math/s_cexpl.c (__cexpl): Likewise.
20907 * math/libm-test.inc (cexp_test): Add more tests.
20909 2013-04-03 Andreas Schwab <schwab@suse.de>
20912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20913 order arrays from heap if bigger than alloca cutoff.
20915 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20917 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20918 (SNAN_TESTS_double): Refer to GCC PR56831.
20919 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20922 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20924 * Rules (bench): Move bench.out after the run is complete.
20926 * Rules (bench): Echo currently running benchmark.
20928 * benchtests/Makefile (bench): Add atan and slowatan.
20929 * benchtests/atan-inputs: New file.
20930 * benchtests/slowatan-inputs: New file.
20931 * benchtests/slowatan.c: New file.
20933 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20934 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20938 * sysdeps/unix/sysv/linux/kernel-features.h
20939 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20940 __ASSUME_XFS_RESTRICTED_CHOWN.
20941 * sysdeps/unix/sysv/linux/pathconf.c
20942 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20943 Save and restore errno.
20945 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20948 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20949 arguments using __kernel_casinh.
20950 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20951 arguments using __kernel_casinhf.
20952 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20953 arguments using __kernel_casinhl.
20954 * math/libm-test.inc (cacosh_test): Add more tests.
20955 * sysdeps/i386/fpu/libm-test-ulps: Update.
20956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20958 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20960 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20961 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20963 * bench/Makefile (bench): Add sin and slowsin.
20964 * benchtests/sin-inputs: New file.
20965 * benchtests/slowsin-inputs: New file.
20966 * benchtests/slowsin.c: New file.
20968 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20969 (bench): Add slowexp and slowpow.
20970 (exp-ITER): Increase iterations.
20971 (pow-ITER): Likewise.
20972 * benchtests/exp-inputs: Change input.
20973 * benchtests/pow-inputs: Likewise.
20974 * benchtests/slowexp-inputs: New file.
20975 * benchtests/slowexp.c: New file.
20976 * benchtests/slowpow-inputs: New file.
20977 * benchtests/slowpow.c: New file.
20979 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20981 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20983 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20984 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20985 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20986 * benchtests/Makefile: Add rint benchtest.
20987 * benchtests/rint-inputs: Input for rint benchtest.
20989 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20991 * Versions.def (libm): Add GLIBC_2.18.
20992 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20993 hidden libm prototypes.
20994 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20995 * math/Makefile (libm-calls): Add s_issignaling.
20996 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20997 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20998 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21000 * math/math.h [__USE_GNU] (issignaling): New macro.
21001 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21002 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21003 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21004 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21007 * manual/arith.texi (issignaling): New section.
21008 * manual/libm-err-tab.pl (@all_functions): Update comment.
21009 * math/gen-libm-test.pl (parse_args): Apply special handling for
21011 * math/libm-test.inc (print_float, issignaling_test): New
21013 (check_float_internal): Add issignaling checks.
21014 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21015 default definition.
21016 * sysdeps/powerpc/math-tests.h: New file.
21017 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21019 * math/test-snan.c (TEST_FUNC): Likewise.
21021 2013-03-30 David S. Miller <davem@davemloft.net>
21023 * po/de.po: Update from translation team.
21025 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21028 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21029 imaginary part less than 1.0 and real part less than 0.5
21031 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21032 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21033 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21034 (cacos_test): Add more tests.
21035 (casin_test): Likewise.
21036 (casinh_test): Likewise.
21037 * sysdeps/i386/fpu/libm-test-ulps: Update.
21038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21040 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21042 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21043 ONE with its value.
21045 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21046 (__pow_mp): Replace ONE and MONE with their values.
21047 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21048 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21049 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21050 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21051 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21052 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21054 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21056 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21057 (__pow_mp): Replace ZERO and MZERO with their values.
21058 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21059 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21060 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21061 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21062 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21063 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21066 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21068 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21070 2013-03-28 Roland McGrath <roland@hack.frob.com>
21072 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21073 Declare with __attribute__ ((weak)).
21074 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21075 Call __call_tls_dtors only if it's not NULL.
21077 2013-03-28 Roland McGrath <roland@hack.frob.com>
21079 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21080 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21081 magic __ehdr_start linker symbol if it's defined.
21082 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21083 them up here if it was already done.
21085 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21086 (_dl_aux_init): Use const in cast when setting it.
21087 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21088 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21089 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21091 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21093 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21094 * csu/libc-tls.c: Nor here.
21095 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21097 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21098 (__libc_message): Never call vsyslog.
21100 2013-03-28 Alan Modra <amodra@gmail.com>
21102 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21104 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21107 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21110 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21114 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21117 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21118 Don't add gid passed as argument.
21120 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21122 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21125 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21126 imaginary part between 1.0 and 1.5 and real part less than 0.5
21128 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21129 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21130 * math/libm-test.inc (cacos_test): Add more tests.
21131 (casin_test): Likewise.
21132 (casinh_test): Likewise.
21133 * sysdeps/i386/fpu/libm-test-ulps: Update.
21134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21136 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21138 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21141 (denorm): Likewise.
21142 (__dbl_mp): Likewise.
21143 (add_magnitudes): Likewise.
21144 (sub_magnitudes): Likewise.
21152 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21154 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21155 (__dubcos): Likewise.
21156 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21157 (__ieee754_acos): Likewise.
21158 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21159 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21160 (__exp1): Likewise.
21161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21162 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21164 (my_log2): Likewise.
21165 (checkint): Likewise.
21166 * sysdeps/ieee754/dbl-64/e_remainder.c
21167 (__ieee754_remainder): Likewise.
21168 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21169 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21170 (bsloww): Likewise.
21171 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21173 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21174 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21175 MANTISSA_STORE_T to store computations on mantissa. Use
21176 macros for rounding and division.
21177 (denorm): Likewise.
21178 (__dbl_mp): Likewise.
21179 (add_magnitudes): Likewise.
21180 (sub_magnitudes): Likewise.
21183 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21184 powers of two in terms of TWOPOW macro.
21185 (mp_no): Make type of mantissa as MANTISSA_T.
21186 [!RADIXI]: Define RADIXI.
21187 [!TWO52]: Define TWO52.
21188 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21190 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21192 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21193 llroundl symbol when building for PPC32.
21195 2013-03-24 Mark H Weaver <mhw@netris.org>
21197 * manual/arith.texi (Normalization Functions): Fix prototypes for
21198 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21200 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21203 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21204 high value to check if expl overflow.
21205 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21206 to check for underflow and overflow.
21207 * math/libm-test.inc: Add exp test.
21209 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21212 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21215 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21217 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21220 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21222 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21223 wrap blocks consisting of several statements.
21225 * sysdeps/generic/math-tests.h: New file.
21226 * sysdeps/i386/fpu/math-tests.h: Likewise.
21227 * math/test-snan.c: Include it.
21228 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21230 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21233 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21234 (__ieee754_j0l): Do not improve calculations using cos of twice
21235 input for inputs above LDBL_MAX / 2.0L.
21236 (__ieee754_y0l): Likewise.
21237 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21238 (__ieee754_j1l): Do not improve calculations using cos of twice
21239 input for inputs above LDBL_MAX / 2.0L.
21240 (__ieee754_y1l): Likewise.
21241 * math/libm-test.inc (j0_test): Add another test.
21242 (j1_test): Likewise.
21243 (y0_test): Likewise.
21244 (y1_test): Likewise.
21245 * sysdeps/i386/fpu/libm-test-ulps: Update.
21247 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21249 * Rules ($(objpfx)bench-%.c): Include code from a C source
21252 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21255 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21256 imaginary part 1.0 and real part less than 0.5 specially.
21257 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21258 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21259 * math/libm-test.inc (cacos_test): Add more tests.
21260 (casin_test): Likewise.
21261 (casinh_test): Likewise.
21262 * sysdeps/i386/fpu/libm-test-ulps: Update.
21263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21265 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21267 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21268 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21270 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21272 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21273 * config.make.in (config-cflags-sse4): Remove variable.
21274 (config-cflags-avx): Likewise.
21275 (config-cflags-sse2avx): Likewise.
21276 (config-cflags-novzeroupper): Likewise.
21277 (config-asflags-i686): Likewise.
21278 (have-mfma4): Likewise.
21279 (have-as-vis3): Likewise.
21281 * configure.in (MIG): Do not AC_SUBST.
21282 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21283 (libc_cv_cc_sse4): Do not AC_SUBST.
21284 (libc_cv_cc_avx): Likewise.
21285 (libc_cv_cc_sse2avx): Likewise.
21286 (libc_cv_cc_novzeroupper): Likewise.
21287 (libc_cv_cc_fma4): Likewise.
21288 (libc_cv_as_i686): Likewise.
21289 (libc_cv_sparc_as_vis3): Likewise.
21290 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21292 (config-asflags-i686): Likewise.
21293 (config-cflags-avx): Likewise.
21294 (config-cflags-sse2avx): Likewise.
21295 (have-mfma4): Likewise.
21296 (config-cflags-novzeroupper): Likewise.
21297 * sysdeps/mach/configure.in (MIG): Likewise.
21298 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21299 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21301 (config-cflags-avx): Likewise.
21302 (config-cflags-sse2avx): Likewise.
21303 (have-mfma4): Likewise.
21304 (config-cflags-novzeroupper): Likewise.
21305 * configure: Regenerated.
21306 * sysdeps/i386/configure: Likewise.
21307 * sysdeps/mach/configure: Likewise.
21308 * sysdeps/sparc/configure: Likewise.
21309 * sysdeps/x86_64/configure: Likewise.
21311 2013-03-20 Roland McGrath <roland@hack.frob.com>
21314 * locale/programs/localedef.c (options): Put N_ translation marker
21315 on argument names, not just descriptions.
21317 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21319 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21321 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21324 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21326 2013-03-19 Roland McGrath <roland@hack.frob.com>
21328 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21329 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21330 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21331 [!BEFORE_ABORT] (before_abort): New function.
21332 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21333 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21334 (writev_for_fatal): New function.
21335 (WRITEV_FOR_FATAL): New macro; call that.
21336 (backtrace_and_maps): New function.
21337 (BEFORE_ABORT): New macro; call that.
21338 (struct str_list): Type removed.
21339 (__libc_message, __libc_fatal): Functions removed.
21340 Include <sysdeps/posix/libc_fatal.c> instead.
21342 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21344 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21346 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21349 2013-03-19 Andreas Schwab <schwab@suse.de>
21351 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21352 * sysdeps/gnu/configure: Regenerate.
21354 * configure.in: Substitute libc_cv_rtlddir.
21355 * configure: Regenerate.
21356 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21357 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21358 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21359 * elf/Makefile (install-others, CFLAGS-interp.c)
21360 (ldso_install, common-ldd-rewrite): Likewise.
21361 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21362 $(inst_slibdir)/$(rtld-installed-name).
21363 * scripts/rellns-sh: Add -p option.
21364 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21367 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21369 * manual/nptl.texi: Renamed to ...
21370 * manual/threads.texi: ... this.
21371 * manual/Makefile (chapters): Update.
21373 2013-03-18 Roland McGrath <roland@hack.frob.com>
21376 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21377 on argument names, not just descriptions.
21378 * malloc/memusagestat.c (options): Likewise.
21379 * nss/getent.c (options): Likewise.
21381 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21384 * iconv/iconv_prog.c (options): Put N_ translation marker
21385 on argument names, not just descriptions.
21386 * iconv/iconvconfig.c (options): Likewise.
21388 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21390 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21391 implementation which is faster on all x86_64 architectures.
21392 Tested on AMD, Intel Nehalem, SNB, IVB.
21393 * sysdeps/x86_64/strnlen.S: Likewise.
21395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21396 Remove all multiarch strlen and strnlen versions.
21397 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21398 Remove strlen and strnlen related parts.
21400 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21401 Inline strlen part.
21402 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21404 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21405 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21406 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21407 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21408 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21409 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21411 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21413 * manual/memory.texi (Malloc Tunable Parameters):
21414 Sort parameters alphabetically. Add comments for missing entries.
21416 2013-03-17 David S. Miller <davem@davemloft.net>
21418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21420 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21423 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21424 for arguments at most half maximum finite value.
21425 * math/libm-test.inc (j0_test): Add more tests.
21426 (j1_test): Likewise.
21427 (y0_test): Likewise.
21428 (y1_test): Likewise.
21429 * sysdeps/i386/fpu/libm-test-ulps: Update.
21430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21433 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21434 1 / x and functions P and Q for arguments above 0x1p256L.
21435 (__ieee754_y0l): Likewise.
21436 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21437 (__ieee754_y1l): Likewise.
21438 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21439 (j1_test): Likewise.
21440 (y0_test): Likewise.
21441 (y1_test): Likewise.
21443 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21445 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21448 2013-03-15 Roland McGrath <roland@hack.frob.com>
21450 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21451 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21452 zero since it's initialized to EXEC_PAGESIZE.
21454 * sysdeps/unix/sysv/linux/ldsodefs.h
21455 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21456 * sysdeps/generic/ldsodefs.h: ... here.
21458 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21460 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21462 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21464 * math/test-snan.c: Renamed from
21465 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21466 * math/Makefile (tests): Add test-snan.
21467 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21470 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21471 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21473 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21474 __builtin_nan family of functions.
21475 * math/libm-test.inc (initialize): Initialize qnan_value with
21476 __builtin_nan family of functions.
21477 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21479 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21481 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21482 storage class. Initialize qNaN_var and sNaN_var with
21483 __builtin_nan and __builtin_nans families of functions,
21486 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21487 (sqrt_test): Remove duplicate test with qNaN input.
21488 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21489 (round_test, signbit_test, significand_test): Note missing +/-Inf
21490 as well as qNaN tests.
21492 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21493 qNaN_var. Fix a few strings, too.
21494 * math/libm-test.inc (nan_value): Rename to qnan_value.
21495 * math/gen-libm-test.pl (%beautify): Adjust to that.
21496 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21497 * math/test-misc.c (main): Likewise.
21498 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21499 to __qnan_bytes, and __qnan_union, respectively.
21500 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21502 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21503 and lqnanval, respectively.
21504 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21505 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21506 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21507 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21509 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21510 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21513 * math/test-misc.c (main): Fix copy'n'pastos.
21514 * misc/tst-efgcvt.c (special): Likewise.
21516 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21517 Remove declarations.
21519 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21521 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21522 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21523 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21524 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21526 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21528 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21529 macro to return vdso values correctly in IFUNC implementations.
21530 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21531 Optimization by using IFUNC.
21533 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21534 Richard Henderson <rth@redhat.com>
21535 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21537 * Makefile.in (bench): New target.
21538 * NEWS: Mention the benchmark framework.
21539 * Rules (bench): Likewise.
21540 (binaries-bench): Generate binaries for functions to
21542 * benchtests/Makefile: New makefile for benchmark tests.
21543 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21545 * benchtests/exp-inputs: New input file for EXP function.
21546 * benchtests/pow-inputs: New input file for POW function.
21547 * scripts/bench.pl: New script to generate source files for
21548 benchmark programs.
21550 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21552 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21553 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21554 computations on mantissa. Use macros for rounding and
21556 (denorm): Likewise.
21557 (__dbl_mp): Likewise.
21558 (add_magnitudes): Likewise.
21559 (sub_magnitudes): Likewise.
21562 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21563 powers of two in terms of TWOPOW macro.
21564 (mp_no): Make type of mantissa as MANTISSA_T.
21565 [!RADIXI]: Define RADIXI.
21566 [!TWO52]: Define TWO52.
21567 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21569 * manual/nptl.texi (cindex): Modify threads to pthreads.
21571 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21573 * sysdeps/x86_64/preconfigure: Regenerated.
21575 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21578 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21580 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21581 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21583 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21584 * math/libm-test.inc (j0_test): Do not allow one spurious
21585 underflow exception.
21586 (y1_test): Likewise.
21588 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21590 * manual/Makefile (chapters): Add nptl.
21591 * manual/debug.texi (Debugging Support): Add link to Threads
21593 * manual/nptl.texi: New file.
21595 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21597 2013-03-14 Petr Baudis <pasky@ucw.cz>
21599 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21600 for non-NULL pointer before the memory validity test. Pointed
21601 out by Holger Brunck <holger.brunck@keymile.com>.
21603 2013-03-13 Andreas Schwab <schwab@suse.de>
21605 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21608 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21610 * timezone/zic.c: Update from tzcode 2013b.
21612 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21614 * manual/install.texi (Configuring and compiling):
21615 Mention i686 and i586.
21616 * INSTALL: Regenerate.
21618 2013-03-12 Roland McGrath <roland@hack.frob.com>
21620 * sysdeps/init_array/elf-init.c: New file.
21622 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21623 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21625 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21626 __gmon_start__ as global, but as static with a .preinit_array pointer.
21627 * sysdeps/init_array/gmon-start.c: New file. Use that.
21628 * sysdeps/init_array/crti.S: New file, empty except for comments.
21629 * sysdeps/init_array/crtn.S: Likewise.
21631 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21633 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21636 Remove Prefer_SSE_for_memop.
21637 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21638 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21639 HAS_PREFER_SSE_FOR_MEMOP.
21640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21643 Remove bzero, memset ifunc support.
21644 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21645 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21646 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21647 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21649 2013-03-11 Andreas Schwab <schwab@suse.de>
21652 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21655 (GLIBC_2.16): Remove pthread_atfork.
21657 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21659 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21660 (ptestcases.h): Likewise.
21662 2013-03-08 Roland McGrath <roland@hack.frob.com>
21664 * Makeconfig ($(common-objpfx)config.status): Depend on
21665 sysdeps/*/preconfigure{,.in} too.
21667 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21669 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21670 (__free_hook): Use void * instead of __malloc_ptr_t.
21671 (__malloc_hook): Likewise.
21672 (__realloc_hook): Likewise.
21673 (__memalign_hook): Likewise.
21674 (__after_morecore_hook): Likewise.
21675 * malloc/arena.c (save_malloc_hook): Likewise.
21676 (save_free_hook): Likewise.
21677 * malloc/hooks.c (malloc_hook_ini): Likewise.
21678 (realloc_hook_ini): Likewise.
21679 (memalign_hook_ini): Likewise.
21680 * malloc/malloc.c (malloc_hook_ini): Likewise.
21681 (realloc_hook_ini): Likewise.
21682 (memalign_hook_ini): Likewise.
21683 (__free_hook): Likewise.
21684 (__malloc_hook): Likewise.
21685 (__realloc_hook): Likewise.
21686 (__memalign_hook): Likewise.
21687 (__libc_malloc): Likewise.
21688 (__libc_free): Likewise.
21689 (__libc_realloc): Likewise.
21690 (__libc_memalign): Likewise.
21691 (__libc_valloc): Likewise.
21692 (__libc_pvalloc): Likewise.
21693 (__libc_calloc): Likewise.
21694 (__posix_memalign): Likewise.
21695 * malloc/morecore.c (__sbrk): Likewise.
21696 (__default_morecore): Likewise.
21698 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21700 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21701 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21702 __malloc_ptrdiff_t.
21704 * malloc/malloc.h (__malloc_size_t): Remove macro.
21705 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21707 (old_memalign_hook): Likewise.
21708 (old_realloc_hook): Likewise.
21709 (struct hdr): Likewise.
21711 (mallochook): Likewise.
21712 (memalignhook): Likewise.
21713 (reallochook): Likewise.
21714 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21715 (tr_old_realloc_hook): Likewise.
21716 (tr_old_memalign_hook): Likewise.
21717 (tr_mallochook): Likewise.
21718 (tr_reallochook): Likewise.
21719 (tr_memalignhook): Likewise.
21721 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21723 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21724 default_ldbl_pack and using as default implementation.
21725 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21727 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21728 redundant definition.
21729 (ldbl_insert_mantissa): Likewise.
21730 (ldbl_canonicalize): Likewise.
21731 (ldbl_nearbyint): Likewise.
21732 (ldbl_pack): Rename to ldbl_pack_ppc.
21733 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21734 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21735 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21737 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21740 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21741 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21742 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21744 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21745 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21746 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21748 2013-03-07 Andreas Jaeger <aj@suse.de>
21750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21753 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21755 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21756 Include mpa.h and declare __MPEXP.
21757 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21758 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21759 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21760 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21761 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21762 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21763 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21765 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21766 (__slowpow): Use long double EXPL and LOGL functions to
21768 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21769 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21770 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21771 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21772 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21773 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21775 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21776 intermediate variable to calculate exponent.
21778 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21782 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21783 [!NO__SQR]: Define __sqr.
21784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21785 and NO__SQR. Remove all code except __mul and __sqr. Include
21786 sysdeps/ieee754/dbl-64/mpa.c.
21787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21790 * posix/Makefile (tests): Add tst-pathconf.
21791 * posix/tst-pathconf.c: New test case.
21792 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21794 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21796 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21798 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21800 2013-03-06 Andreas Jaeger <aj@suse.de>
21802 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21803 definition via __MAP_ANONYMOUS.
21805 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21806 it's not part of Linux headers.
21808 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21809 (MAP_HUGE_MASK): Define.
21811 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21813 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21814 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21816 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21817 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21819 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21820 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21822 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21824 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21825 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21826 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21827 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21828 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21829 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21831 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21834 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21835 Handle f2fs and efivarfs.
21837 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21840 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21841 (EFIVARFS_MAGIC): Add.
21842 (F2FS_LINK_MAX): Add.
21844 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21846 * stdio-common/vfprintf.c: Replace __builtin_expect with
21849 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21852 * sysdeps/generic/bp-sym.h: Remove file.
21853 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21854 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21855 <bp-sym.h> and <bp-asm.h>.
21856 (__longjmp): Don't use BP_SYM.
21857 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21859 (memcpy): Don't use BP_SYM.
21860 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21861 <bp-sym.h> and <bp-asm.h>.
21862 (memcpy): Don't use BP_SYM.
21863 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21865 (memcpy): Don't use BP_SYM.
21866 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21868 (memset): Don't use BP_SYM.
21869 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21870 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21871 (__bzero): Don't use BP_SYM.
21872 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21873 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21874 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21875 <bp-sym.h> and <bp-asm.h>.
21876 (memcmp): Don't use BP_SYM. Remove comment about bounded
21878 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21879 <bp-sym.h> and <bp-asm.h>.
21880 (memcpy): Don't use BP_SYM.
21881 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21882 <bp-sym.h> and <bp-asm.h>.
21883 (memset): Don't use BP_SYM.
21884 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21885 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21886 (__bzero): Don't use BP_SYM.
21887 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21888 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21889 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21890 <bp-sym.h> and <bp-asm.h>.
21891 (strncmp): Don't use BP_SYM. Remove comment about bounded
21893 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21894 <bp-sym.h> and <bp-asm.h>.
21895 (memcpy): Don't use BP_SYM.
21896 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21897 <bp-sym.h> and <bp-asm.h>.
21898 (memset): Don't use BP_SYM.
21899 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21900 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21901 (__bzero): Don't use BP_SYM.
21902 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21903 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21904 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21905 <bp-sym.h> and <bp-asm.h>.
21906 (__memchr): Don't use BP_SYM.
21907 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21908 <bp-sym.h> and <bp-asm.h>.
21909 (memcmp): Don't use BP_SYM. Remove comment about bounded
21911 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21912 <bp-sym.h> and <bp-asm.h>.
21913 (memcpy): Don't use BP_SYM.
21914 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21915 <bp-sym.h> and <bp-asm.h>.
21916 (__mempcpy): Don't use BP_SYM.
21917 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21918 <bp-sym.h> and <bp-asm.h>.
21919 (__memrchr): Don't use BP_SYM.
21920 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21921 <bp-sym.h> and <bp-asm.h>.
21922 (memset): Don't use BP_SYM.
21923 (__bzero): Likewise.
21924 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21925 <bp-sym.h> and <bp-asm.h>.
21926 (__rawmemchr): Don't use BP_SYM.
21927 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21928 <bp-sym.h> and <bp-asm.h>.
21929 (__STRCMP): Don't use BP_SYM.
21930 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21931 <bp-sym.h> and <bp-asm.h>.
21932 (strchr): Don't use BP_SYM.
21933 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21934 <bp-sym.h> and <bp-asm.h>.
21935 (__strchrnul): Don't use BP_SYM.
21936 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21937 <bp-sym.h> and <bp-asm.h>.
21938 (strlen): Don't use BP_SYM.
21939 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21940 <bp-sym.h> and <bp-asm.h>.
21941 (strncmp): Don't use BP_SYM. Remove comment about bounded
21943 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21944 <bp-sym.h> and <bp-asm.h>.
21945 (__strnlen): Don't use BP_SYM.
21946 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21947 <bp-sym.h> and <bp-asm.h>.
21948 (__GI__setjmp): Don't use BP_SYM.
21949 (_setjmp): Likewise.
21950 (__sigsetjmp): Likewise.
21951 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21952 (L(start_addresses)): Don't use BP_SYM.
21953 (_start): Likewise.
21954 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21956 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21957 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21958 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21959 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21960 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21962 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21963 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21964 about bounded pointers.
21965 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21966 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21967 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21969 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21970 about bounded pointers. Remove GKM FIXME comments.
21971 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21972 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21974 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21975 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21976 Remove GKM FIXME comments.
21977 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21978 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21979 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21981 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21982 about bounded pointers. Remove GKM FIXME comment.
21983 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21985 (strncmp): Don't use BP_SYM. Remove comment about bounded
21987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21988 <bp-sym.h> and <bp-asm.h>.
21989 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21991 <bp-sym.h> and <bp-asm.h>.
21992 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21995 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21997 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22000 2013-03-05 David S. Miller <davem@davemloft.net>
22002 * po/es.po: Update from translation team.
22004 2013-03-05 Andreas Jaeger <aj@suse.de>
22006 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22007 <bits/mman-linux.h>.
22008 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22010 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22011 <bits/mman-linux.h> to end of file.
22012 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22014 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22015 <bits/mman-linux.h> to end of file.
22016 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22018 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22019 <bits/mman-linux.h> to end of file.
22021 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22022 (MCL_CURRENT, MCL_FUTURE): Define here.
22024 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22027 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22029 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22031 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22033 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22034 fourth parameter needed for rt_sigprocmask syscall.
22035 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22036 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22037 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22038 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22039 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22040 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22042 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22045 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22046 comment about bounded pointers.
22047 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22048 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22050 2013-03-04 Andreas Jaeger <aj@suse.de>
22052 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22053 common definitions.
22055 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22056 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22057 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22058 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22059 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22060 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22062 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22065 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22066 __ieee754_sqrl instead of __sqrl.
22068 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22070 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22071 * sysdeps/powerpc/fpu_control.h: ... here.
22072 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22073 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22074 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22075 * sysdeps/powerpc/bits/mathinline.h: ... here.
22077 2013-03-01 Roland McGrath <roland@hack.frob.com>
22079 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22080 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22081 to just [NEED_DL_SYSINFO_DSO].
22082 * elf/dl-support.c: Likewise.
22083 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22084 * elf/rtld.c (dl_main): Likewise.
22085 * elf/setup-vdso.h (setup_vdso): Likewise.
22086 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22087 * sysdeps/unix/sysv/linux/dl-sysdep.c
22088 (_dl_discover_osversion): Likewise.
22090 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22092 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22093 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22095 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22097 * NEWS: Mention libm performance improvements and non-x86 PI
22100 * csu/libc-start.c (__pthread_initialize_minimal): Change
22101 function arguments.
22102 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22104 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22107 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22108 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22109 <bp-sym.h> and <bp-asm.h>.
22110 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22111 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22113 (memcpy): Don't use BP_SYM.
22114 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22116 (__mpn_add_n): Don't use BP_SYM.
22117 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22118 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22120 (__mpn_addmul_1): Don't use BP_SYM.
22121 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22122 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22124 (_setjmp): Don't use BP_SYM.
22125 (__novmx_setjmp): Likewise.
22126 (__GI__setjmp): Likewise.
22127 (__vmx_setjmp): Likewise.
22128 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22130 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22131 (__bzero): Don't use BP_SYM.
22132 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22133 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22134 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22135 <bp-sym.h> and <bp-asm.h>.
22136 (memcpy): Don't use BP_SYM.
22137 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22138 <bp-sym.h> and <bp-asm.h>.
22139 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22140 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22141 <bp-sym.h> and <bp-asm.h>.
22142 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22143 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22145 (__mpn_lshift): Don't use BP_SYM.
22146 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22147 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22149 (memset): Don't use BP_SYM.
22150 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22151 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22152 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22154 (__mpn_mul_1): Don't use BP_SYM.
22155 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22156 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22157 <bp-sym.h> and <bp-asm.h>.
22158 (memcmp): Don't use BP_SYM.
22159 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22160 <bp-sym.h> and <bp-asm.h>.
22161 (memcpy): Don't use BP_SYM.
22162 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22163 <bp-sym.h> and <bp-asm.h>.
22164 (memset): Don't use BP_SYM.
22165 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22166 <bp-sym.h> and <bp-asm.h>.
22167 (strncmp): Don't use BP_SYM.
22168 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22169 <bp-sym.h> and <bp-asm.h>.
22170 (memcpy): Don't use BP_SYM.
22171 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22172 <bp-sym.h> and <bp-asm.h>.
22173 (memset): Don't use BP_SYM.
22174 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22175 <bp-sym.h> and <bp-asm.h>.
22176 (__memchr): Don't use BP_SYM.
22177 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22178 <bp-sym.h> and <bp-asm.h>.
22179 (memcmp): Don't use BP_SYM.
22180 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22181 <bp-sym.h> and <bp-asm.h>.
22182 (memcpy): Don't use BP_SYM.
22183 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22184 <bp-sym.h> and <bp-asm.h>.
22185 (__mempcpy): Don't use BP_SYM.
22186 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22187 <bp-sym.h> and <bp-asm.h>.
22188 (__memrchr): Don't use BP_SYM.
22189 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22190 <bp-sym.h> and <bp-asm.h>.
22191 (memset): Don't use BP_SYM.
22192 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22193 <bp-sym.h> and <bp-asm.h>.
22194 (__rawmemchr): Don't use BP_SYM.
22195 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22196 <bp-sym.h> and <bp-asm.h>.
22197 (__STRCMP): Don't use BP_SYM.
22198 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22199 <bp-sym.h> and <bp-asm.h>.
22200 (strchr): Don't use BP_SYM.
22201 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22202 <bp-sym.h> and <bp-asm.h>.
22203 (__strchrnul): Don't use BP_SYM.
22204 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22205 <bp-sym.h> and <bp-asm.h>.
22206 (strlen): Don't use BP_SYM.
22207 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22208 <bp-sym.h> and <bp-asm.h>.
22209 (strncmp): Don't use BP_SYM.
22210 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22211 <bp-sym.h> and <bp-asm.h>.
22212 (__strnlen): Don't use BP_SYM.
22213 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22215 (__mpn_rshift): Don't use BP_SYM.
22216 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22217 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22218 <bp-sym.h> and <bp-asm.h>.
22219 (__sigsetjmp): Don't use BP_SYM.
22220 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22221 (L(start_addresses)): Don't use BP_SYM.
22222 (_start): Likewise.
22223 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22225 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22226 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22227 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22228 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22230 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22231 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22232 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22233 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22235 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22237 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22238 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22240 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22242 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22243 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22244 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22246 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22248 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22250 (strncmp): Don't use BP_SYM,
22251 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22253 (__mpn_sub_n): Don't use BP_SYM.
22254 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22255 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22257 (__mpn_submul_1): Don't use BP_SYM.
22258 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22260 <bp-sym.h> and <bp-asm.h>.
22261 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22263 <bp-sym.h> and <bp-asm.h>.
22264 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22267 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22270 Use ZK to minimize writes to Z.
22271 (sub_magnitudes): Simplify code a bit.
22272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22273 Use ZK to minimize writes to Z.
22274 (sub_magnitudes): Simplify code a bit.
22276 2013-02-27 Roland McGrath <roland@hack.frob.com>
22278 * csu/gmon-start.c: Add special exception to license text.
22280 2013-02-27 Richard Henderson <rth@redhat.com>
22282 * scripts/config.guess: Update from config.git.
22283 * scripts/config.sub: Likewise.
22285 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22287 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22289 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22291 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22293 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22295 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22297 2013-02-26 Roland McGrath <roland@hack.frob.com>
22299 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22300 [$(build-shared = yes].
22302 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22304 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22305 (__mul): Reduce iterations for calculating mantissa.
22307 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22309 (__mpranred): Likewise.
22312 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22313 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22315 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22317 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22318 Define __attribute__.
22320 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22322 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22324 * posix/regex_internal.h (__attribute): Remove.
22325 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22326 (re_string_context_at): Likewise.
22327 (bitset_not): Use __attribute__ and mark function as possibly
22329 (bitset_merge): Likewise.
22330 (bitset_mask): Likewise.
22331 (re_string_char_size_at): Likewise.
22332 (re_string_wchar_at): Likewise.
22333 (re_string_elem_size_at): Likewise.
22335 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22337 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22341 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22345 (denorm): Likewise.
22346 (__dbl_mp): Likewise.
22347 (add_magnitudes): Likewise.
22348 (sub_magnitudes): Likewise.
22352 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22355 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22358 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22362 up changes with default code.
22363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22366 2013-02-24 Allan McRae <allan@archlinux.org>
22368 * manual/socket.texi (The Internet Namespace): Order menu items
22369 to match that in the file.
22371 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22372 node listing of the info page menu.
22374 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22377 * sysdeps/i386/bp-asm.h: Remove file.
22378 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22379 (PARMS): Do not use macros from bp-asm.h.
22383 (__mpn_add_n): Do not use BP_SYM
22384 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22386 (PARMS): Do not use macros from bp-asm.h.
22389 (__mpn_addmul_1): Do not use BP_SYM
22390 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22392 (PARMS): Do not use macros from bp-asm.h.
22393 (SIGMSK): Likewise.
22394 (_setjmp): Likewise. Do not use BP_SYM.
22395 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22397 (PARMS): Do not use macros from bp-asm.h.
22398 (SIGMSK): Likewise.
22399 (setjmp): Likewise. Do not use BP_SYM.
22400 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22402 (PARMS): Do not use macros from bp-asm.h.
22403 (__frexp): Do not use BP_SYM.
22405 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22407 (PARMS): Do not use macros from bp-asm.h.
22408 (__frexpf): Do not use BP_SYM.
22409 (frexpf): Likewise.
22410 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22412 (PARMS): Do not use macros from bp-asm.h.
22413 (__frexpl): Do not use BP_SYM.
22414 (frexpl): Likewise.
22415 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22417 (PARMS): Do not use macros from bp-asm.h.
22418 (__remquo): Do not use BP_SYM.
22419 (remquo): Likewise.
22420 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22422 (PARMS): Do not use macros from bp-asm.h.
22423 (__remquof): Do not use BP_SYM.
22424 (remquof): Likewise.
22425 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22427 (PARMS): Do not use macros from bp-asm.h.
22428 (__remquol): Do not use BP_SYM.
22429 (remquol): Likewise.
22430 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22432 (PARMS): Do not use macros from bp-asm.h.
22435 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22436 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22438 (PARMS): Do not use macros from bp-asm.h.
22439 (strlen): Do not use BP_SYM.
22440 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22442 (PARMS): Do not use macros from bp-asm.h.
22446 (__mpn_add_n): Do not use BP_SYM.
22447 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22449 (PARMS): Do not use macros from bp-asm.h.
22452 (__mpn_addmul_1): Do not use BP_SYM.
22453 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22456 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22458 (PARMS): Do not use macros from bp-asm.h.
22461 (__mpn_lshift): Do not use BP_SYM.
22462 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22464 (PARMS): Do not use macros from bp-asm.h.
22468 (memcpy): Likewise. Do not use BP_SYM.
22469 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22470 libc_hidden_def and weak_alias.
22471 (mempcpy): Do not use BP_SYM in weak_alias.
22472 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22474 (PARMS): Do not use macros from bp-asm.h.
22477 [!BZERO_P] (CHR): Likewise.
22478 (memset): Likewise. Do not use BP_SYM.
22479 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22481 (PARMS): Do not use macros from bp-asm.h.
22484 (__mpn_mul_1): Do not use BP_SYM.
22485 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22487 (PARMS): Do not use macros from bp-asm.h.
22490 (__mpn_rshift): Do not use BP_SYM.
22491 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22493 (PARMS): Do not use macros from bp-asm.h.
22496 (strchr): Likewise. Do not use BP_SYM.
22497 (index): Do not use BP_SYM in weak_alias.
22498 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22500 (PARMS): Do not use macros from bp-asm.h.
22503 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22504 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22506 (PARMS): Do not use macros from bp-asm.h.
22507 (strlen): Do not use BP_SYM.
22508 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22510 (PARMS): Do not use macros from bp-asm.h.
22514 (__mpn_sub_n): Do not use BP_SYM.
22515 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22517 (PARMS): Do not use macros from bp-asm.h.
22520 (__mpn_submul_1): Do not use BP_SYM.
22521 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22523 (PARMS): Do not use macros from bp-asm.h.
22527 (__mpn_add_n): Do not use BP_SYM.
22528 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22531 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22533 (PARMS): Do not use macros from bp-asm.h.
22536 (memcmp): Do not use BP_SYM.
22537 (bcmp): Do not use BP_SYM in weak_alias.
22538 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22540 (PARMS): Do not use macros from bp-asm.h.
22544 (memcpy): Likewise. Do not use BP_SYM.
22545 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22547 (PARMS): Do not use macros from bp-asm.h.
22551 (memmove): Likewise. Do not use BP_SYM.
22552 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22554 (PARMS): Do not use macros from bp-asm.h.
22558 (__mempcpy): Likewise. Do not use BP_SYM.
22559 (mempcpy): Do not use BP_SYM in weak_alias.
22560 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22562 (PARMS): Do not use macros from bp-asm.h.
22565 [!BZERO_P] (CHR): Likewise.
22566 (memset): Likewise. Do not use BP_SYM.
22567 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22569 (PARMS): Do not use macros from bp-asm.h.
22571 (strcmp): Do not use BP_SYM.
22572 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22574 (PARMS): Do not use macros from bp-asm.h.
22577 [USE_AS_STRTOK_R] (SAVE): Likewise.
22578 (FUNCTION): Likewise. Do not use BP_SYM.
22579 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22581 (strtok_r): Likewise.
22582 (__GI___strtok_r): Likewise.
22583 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22584 (PARMS): Do not use macros from bp-asm.h.
22587 (__mpn_lshift): Do not use BP_SYM.
22588 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22589 (PARMS): Do not use macros from bp-asm.h.
22592 (__memchr): Do not use BP_SYM.
22593 (memchr): Do not use BP_SYM in weak_alias.
22594 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22595 (PARMS): Do not use macros from bp-asm.h.
22598 (memcmp): Do not use BP_SYM.
22599 (bcmp): Do not use BP_SYM in weak_alias.
22600 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22601 (PARMS): Do not use macros from bp-asm.h.
22604 (__mpn_mul_1): Do not use BP_SYM.
22605 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22607 (PARMS): Do not use macros from bp-asm.h.
22610 (__rawmemchr): Do not use BP_SYM.
22611 (rawmemchr): Do not use BP_SYM in weak_alias.
22612 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22613 (PARMS): Do not use macros from bp-asm.h.
22616 (__mpn_rshift): Do not use BP_SYM.
22617 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22618 (PARMS): Do not use macros from bp-asm.h.
22619 (SIGMSK): Likewise.
22620 (__sigsetjmp): Likewise. Do not use BP_SYM.
22621 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22622 (_start): Do not use BP_SYM.
22623 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22624 (PARMS): Do not use macros from bp-asm.h.
22627 (__stpcpy): Likewise. Do not use BP_SYM.
22628 (stpcpy): Do not use BP_SYM in weak_alias.
22629 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22631 (PARMS): Do not use macros from bp-asm.h.
22635 (__stpncpy): Likewise. Do not use BP_SYM.
22636 (stpncpy): Do not use BP_SYM in weak_alias.
22637 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22638 (PARMS): Do not use macros from bp-asm.h.
22641 (strchr): Likewise. Do not use BP_SYM.
22642 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22644 (PARMS): Do not use macros from bp-asm.h.
22647 (__strchrnul): Likewise. Do not use BP_SYM.
22648 (strchrnul): Do not use BP_SYM in weak_alias.
22649 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22651 (PARMS): Do not use macros from bp-asm.h.
22653 (strcspn): Do not use BP_SYM.
22654 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22656 (PARMS): Do not use macros from bp-asm.h.
22659 (strpbrk): Likewise. Do not use BP_SYM.
22660 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22662 (PARMS): Do not use macros from bp-asm.h.
22665 (strrchr): Likewise. Do not use BP_SYM.
22666 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22667 (PARMS): Do not use macros from bp-asm.h.
22669 (strspn): Do not use BP_SYM.
22670 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22671 (PARMS): Do not use macros from bp-asm.h.
22675 (FUNCTION): Likewise. Do not use BP_SYM.
22676 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22678 (strtok_r): Likewise.
22679 (__GI___strtok_r): Likewise.
22680 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22681 (PARMS): Do not use macros from bp-asm.h.
22685 (__mpn_sub_n): Do not use BP_SYM.
22686 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22688 (PARMS): Do not use macros from bp-asm.h.
22691 (__mpn_submul_1): Do not use BP_SYM.
22692 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22694 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22696 (PARMS): Do not use macros from bp-asm.h.
22701 (__clone): Do not use BP_SYM.
22702 (clone): Do not use BP_SYM in weak_alias.
22703 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22705 (PARMS): Do not use macros from bp-asm.h.
22707 (__mmap64): Do not use BP_SYM.
22708 (mmap64): Do not use BP_SYM in weak_alias.
22709 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22710 <bp-sym.h> and <bp-asm.h>.
22711 (PARMS): Do not use macros from bp-asm.h.
22712 (__posix_fadvise64_l64): Do not use BP_SYM.
22713 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22714 (PARMS): Do not use macros from bp-asm.h.
22716 (semtimedop): Do not use BP_SYM.
22717 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22720 2013-02-21 Allan McRae <allan@archlinux.org>
22722 * manual/message.texi (Charset conversion in gettext):
22723 Move @end statement to beginning of line.
22725 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22732 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22733 (denorm): Likewise.
22734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22737 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22739 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22740 tail-call to the resolved function if pltexit isn't needed.
22742 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22745 or Y being zero as being unlikely.
22746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22749 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22751 * manual/nss.texi (System Databases and Name Service Switch):
22752 Remove frobnicate @pxref.
22754 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22756 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22757 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22759 2013-02-20 Petr Machata <pmachata@redhat.com>
22761 * elf/elf.h (R_ARM_TARGET1): New macro.
22762 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22763 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22764 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22765 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22766 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22767 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22768 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22769 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22770 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22771 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22772 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22773 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22774 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22775 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22776 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22777 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22778 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22779 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22780 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22781 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22782 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22783 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22784 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22785 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22786 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22787 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22788 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22789 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22790 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22791 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22792 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22793 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22794 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22795 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22796 (R_ARM_THM_GOT_BREL12): Likewise.
22797 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22798 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22799 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22800 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22801 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22802 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22803 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22804 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22805 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22807 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22809 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22810 __attribute_used__ to __attribute__ ((unused)).
22812 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22814 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22817 comment formatting.
22818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22820 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22823 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22825 (ENTER): Remove both macro definitions.
22827 (CHECK_BOUNDS_LOW): Likewise.
22828 (CHECK_BOUNDS_HIGH): Likewise.
22829 (CHECK_BOUNDS_BOTH): Likewise.
22830 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22831 (RETURN_BOUNDED_POINTER): Likewise.
22832 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22833 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22834 (POP_ERRNO_LOCATION_RETURN): Likewise.
22835 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22836 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22837 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22839 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22840 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22841 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22842 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22843 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22844 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22845 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22846 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22847 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22848 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22849 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22850 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22851 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22852 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22854 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22855 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22857 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22858 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22859 * sysdeps/i386/i586/memset.S (memset): Likewise.
22860 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22861 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22862 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22864 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22865 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22866 Change uses of L(2) to L(out).
22867 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22868 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22869 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22870 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22871 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22873 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22874 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22876 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22877 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22878 (RETURN): Do not use macro LEAVE.
22879 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22880 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22881 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22882 * sysdeps/i386/i686/memset.S (memset): Likewise.
22883 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22884 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22885 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22886 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22888 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22889 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22890 L(1_2) and L(1_3) into L(1).
22891 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22892 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22893 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22894 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22895 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22896 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22897 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22898 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22899 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22901 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22902 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22903 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22904 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22905 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22906 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22907 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22908 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22909 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22910 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22911 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22912 * sysdeps/i386/strspn.S (strspn): Likewise.
22913 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22915 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22916 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22917 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22918 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22919 L(1_3) into L(1_1).
22920 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22921 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22922 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22924 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22926 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22928 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22931 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22933 * math/atest-exp.c (exp_mpn): Remove ROUND.
22934 * math/atest-exp2.c (exp_mpn): Likewise.
22935 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22937 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22938 * stdlib/tst-tls-atexit-lib.c: Likewise.
22939 * stdlib/tst-tls-atexit.c: Likewise.
22941 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22943 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22944 and __attribute_alloc_size__.
22946 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22948 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22949 __attribute_alloc_size__.
22950 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22951 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22953 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22955 * include/programs/xmalloc.h: New file.
22956 * catgets/gencat.c: Include it.
22957 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22958 * elf/pldd.c: Likewise.
22959 * iconv/iconv_charmap.c: Likewise.
22960 * iconv/iconvconfig.c: Likewise.
22961 * iconv/strtab.c: Likewise.
22962 * locale/programs/locale.c: Likewise.
22963 * locale/programs/localedef.h: Likewise.
22964 * locale/programs/simple-hash.c: Likewise.
22965 * nscd/nscd.h: Likewise.
22966 * nss/makedb.c: Likewise.
22967 * sysdeps/generic/ldconfig.h: Likewise.
22969 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22971 * Versions.def: Add GLIBC_2.18.
22972 * include/link.h (struct link_map): New member l_tls_dtor_count.
22973 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22974 (__call_tls_dtors): Likewise.
22975 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22976 __cxa_thread_atexit_impl.
22977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22985 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22993 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22994 (tests): Add test case tst-tls-atexit.
22995 (modules-names): Add shared library for tst-tls-atexit.
22996 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22997 (GLIBC_PRIVATE): Add __call_tls_dtors.
22998 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23000 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23001 * stdlib/tst-tls-atexit.c: New test case.
23002 * stdlib/tst-tls-atexit-lib.c: New test case.
23004 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23006 * elf/Versions (ld): Add _dl_find_dso_for_object.
23007 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23008 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23009 (dl_open_worker): Use _dl_find_dso_for_object.
23010 * elf/dl-sym.c (do_sym): Likewise.
23011 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23013 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23015 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23016 Syntactic changes only.
23017 (_dl_runtime_profile): Do a tail-call to the resolved function.
23019 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23022 * sysdeps/x86_64/bp-asm.h: Remove file.
23023 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23024 <bp-sym.h> and <bp-asm.h>.
23025 (__clone): Do not use BP_SYM.
23026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23027 <bp-sym.h> and <bp-asm.h>.
23028 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23029 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23031 (_setjmp): Do not use BP_SYM.
23032 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23034 (setjmp): Do not use BP_SYM.
23035 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23037 (mempcpy): Do not use BP_SYM in weak_alias.
23038 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23040 (strchr): Do not use BP_SYM.
23041 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23043 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23044 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23045 (_start): Do not use BP_SYM.
23046 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23048 (strcat): Do not use BP_SYM.
23049 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23051 (STRCMP): Do not use BP_SYM.
23052 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23054 (STRCPY): Do not use BP_SYM.
23055 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23057 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23059 (FUNCTION): Do not use BP_SYM.
23060 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23062 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23064 2013-02-17 Andreas Jaeger <aj@suse.de>
23066 * time/Versions: Sort entries.
23067 * string/Versions: Likewise.
23068 * resolv/Versions: Likewise.
23069 * posix/Versions: Likewise.
23070 * iconv/Versions: Likewise.
23071 * elf/Versions: Likewise.
23072 * wcsmbs/Versions: Likewise.
23074 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23076 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23077 loop termination condition.
23079 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23080 variable to calculate EZ.
23083 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23084 the lower precision input.
23086 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23089 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23090 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23091 (run-via-rtld-prefix): Do not handle %-bp tests.
23092 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23093 (all-object-suffixes): Remove .ob.
23094 (bppfx): Remove variable.
23095 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23096 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23097 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23098 [$(build-bounded) = yes] (libtype.ob): Likewise.
23099 * Makerules (elide-routines.ob): Remove variable.
23100 (do-tests-clean): Do not handle *-bp.out.
23101 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23102 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23103 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23104 (tests): Do not include $(tests-bp.out).
23105 (xtests): Do not include $(xtests-bp.out).
23106 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23107 [$(build-bounded) = yes] ($(addprefix
23108 $(objpfx),$(binaries-bounded))): Remove rule.
23109 ($(objpfx)%-bp.out): Remove rule.
23110 * config.make.in (build-bounded): Remove variable.
23111 * crypt/Makefile [$(build-bounded) = yes]
23112 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23113 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23114 append to variable.
23115 [$(build-bounded) = yes] (install-lib): Likewise.
23116 [$(build-bounded) = yes] (generated): Likewise.
23117 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23119 * intl/Makefile [$(build-bounded) = yes]
23120 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23121 * math/Makefile [$(build-bounded) = yes]
23122 ($(tests:%=$(objpfx)%-bp): Likewise.
23123 * misc/Makefile [$(build-bounded) = yes]
23124 ($(objpfx)tst-tsearch-bp): Likewise.
23125 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23126 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23128 * string/Makefile (o-objects.ob): Remove variable.
23129 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23130 (CFLAGS-.ob): Remove variable.
23131 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23132 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23133 both definitions of variable.
23134 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23135 (ASFLAGS-.ob): Remove variable.
23137 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23140 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23141 Remove __BOUNDED_POINTERS__ from condition.
23142 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23143 * string/bits/string2.h [!__NO_STRING_INLINES &&
23144 !__BOUNDED_POINTERS__]: Likewise.
23145 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23147 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23148 Remove conditional code.
23149 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23150 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23151 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23155 * csu/libc-start.c: Do not include <bp-sym.h>.
23156 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23157 * elf/dl-open.c: Do not include <bp-sym.h>.
23158 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23159 * math/fegetenv.c: Do not include <bp-sym.h>.
23160 (fegetenv): Do not use BP_SYM in versioned symbols.
23161 * nptl/sysdeps/pthread/bits/libc-lockP.h
23162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23165 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23167 (__pthread_mutex_destroy): Likewise.
23168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23169 (__pthread_mutex_lock): Likewise.
23170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23171 (__pthread_mutex_trylock): Likewise.
23172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23173 (__pthread_mutex_unlock): Likewise.
23174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23175 (__pthread_mutexattr_init): Likewise.
23176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23177 (__pthread_mutexattr_destroy): Likewise.
23178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23179 (__pthread_mutexattr_settype): Likewise.
23180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23181 (__pthread_rwlock_init): Likewise.
23182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23183 (__pthread_rwlock_destroy): Likewise.
23184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23185 (__pthread_rwlock_rdlock): Likewise.
23186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23187 (__pthread_rwlock_tryrdlock): Likewise.
23188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23189 (__pthread_rwlock_wrlock): Likewise.
23190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23191 (__pthread_rwlock_trywrlock): Likewise.
23192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23193 (__pthread_rwlock_unlock): Likewise.
23194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23195 (__pthread_key_create): Likewise.
23196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23197 (__pthread_setspecific): Likewise.
23198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23199 (__pthread_getspecific): Likewise.
23200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23203 (_pthread_cleanup_push_defer): Likewise.
23204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23205 (_pthread_cleanup_pop_restore): Likewise.
23206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23207 (pthread_setcancelstate): Likewise.
23208 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23210 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23211 (memchr): Do not use BP_SYM in weak_alias.
23212 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23213 (fegetenv): Do not use BP_SYM in versioned symbols.
23214 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23215 (fesetenv): Do not use BP_SYM in versioned symbols.
23216 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23217 (feupdateenv): Do not use BP_SYM in versioned symbols.
23218 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23219 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23220 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23221 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23222 (open64): Do not use BP_SYM in weak_alias.
23223 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23224 (fegetenv): Do not use BP_SYM in versioned symbols.
23225 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23226 (fesetenv): Do not use BP_SYM in versioned symbols.
23227 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23228 (feupdateenv): Do not use BP_SYM in versioned symbols.
23229 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23230 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23231 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23232 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23233 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23234 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23235 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23237 (__libc_start_main): Do not use BP_SYM.
23239 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23242 redundant return line.
23244 (denorm): Likewise.
23245 (dbl_mp): Likewise.
23246 (sub_magnitudes): Likewise.
23252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23254 (denorm): Likewise.
23255 (dbl_mp): Likewise.
23256 (sub_magnitudes): Likewise.
23263 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23265 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23266 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23269 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23270 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23272 of __mul for squares.
23273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23277 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23280 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23283 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23285 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23286 prototype or function definition. Rename ubp_* variables and
23287 parameters. Remove argv definitions conditional on
23288 [__BOUNDED_POINTERS__].
23289 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23290 * elf/dl-runtime.c (_dl_fixup): Likewise.
23291 * include/set-hooks.h (RUN_HOOK): Likewise.
23292 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23294 * string/strcpy.c (strcpy): Do not use __unbounded.
23295 * sysdeps/generic/frame.h (struct layout): Likewise.
23296 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23297 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23298 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23299 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23300 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23301 (__backtrace): Likewise.
23302 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23304 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23305 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23306 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23308 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23309 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23310 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23311 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23312 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23313 Do not use __unbounded.
23314 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23315 Rename __unboundedrlimits parameter to rlimits in prototype.
23316 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23317 Do not use __unbounded.
23318 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23319 not use __ptrvalue.
23320 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23321 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23322 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23323 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23324 __ptrvalue or __unbounded.
23325 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23326 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23328 (__new_msgctl): Do not use __ptrvalue.
23329 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23331 (__libc_msgrcv): Do not use __ptrvalue.
23332 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23333 startup_info): Do not use __unbounded.
23334 (__libc_start_main): Likewise. Rename ubp_* variables and
23335 parameters. Remove argv definitions conditional on
23336 [__BOUNDED_POINTERS__].
23337 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23339 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23341 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23343 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23345 (__new_shmctl): Do not use __ptrvalue.
23346 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23347 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23349 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23350 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23351 (__libc_sigaction): Likewise.
23352 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23353 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23355 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23357 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23359 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23361 * string/mempcpy.c: Implement by calling memcpy.
23363 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23370 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23371 values in the mantissa.
23373 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23374 minimize writes to Z.
23375 (sub_magnitudes): Simplify code a bit.
23377 2013-02-12 Roland McGrath <roland@hack.frob.com>
23379 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23380 from the message. The linker prefixes all warnings with that already.
23382 2013-02-12 Andreas Schwab <schwab@suse.de>
23385 * posix/regexec.c (extend_buffers): Add parameter min_len.
23386 (check_matching): Pass minimum needed length.
23387 (clean_state_log_if_needed): Likewise.
23388 (get_subexp): Likewise.
23389 * posix/Makefile (tests): Add bug-regex34.
23390 (bug-regex34-ENV): Define.
23391 * posix/bug-regex34.c: New file.
23394 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23395 elements compare against the byte sequence of it, not its name.
23396 * posix/Makefile (tests): Add bug-regex35.
23397 (bug-regex35-ENV): Define.
23398 * posix/bug-regex35.c: New file.
23400 2013-02-11 Tom de Vries <tom@codesourcery.com>
23402 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23404 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23405 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23406 (CHECK_EOL): Add undef.
23408 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23410 * bits/stdlib-bsearch.h: New file.
23411 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23412 * stdlib/stdlib.h: Likewise.
23414 2013-02-11 Roland McGrath <roland@hack.frob.com>
23416 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23417 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23419 * manual/search.texi (Array Search Function): Add missing const in
23421 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23422 declaration to use rlim_t.
23423 (Basic Scheduling Functions): Remove erroneous const from
23424 sched_getparam prototype. Remove erroneous * from
23425 sched_get_priority_max and sched_get_priority_min prototypes.
23426 (Resource Usage): Fix summary @comment on vtimes to refer to
23427 sys/vtimes.h rather than vtimes.h.
23428 Add missing *s in vtimes prototype.
23429 (Limits on Resources): Fix ulimit prototype to return long int.
23430 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23431 prototypes to use long int rather than double.
23432 (BSD Random): Fix initstate and setstate to use char *, not void *.
23433 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23434 prototype to make second argument 'struct aiocb64 *const[]'.
23435 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23436 (Status of AIO Operations): Remove erroneous const in aio_return and
23437 aio_return64 prototypes.
23438 (Synchronizing I/O): Fix sync prototype to return void.
23439 * manual/startup.texi (Suboptions): Remove an erroneous const in
23440 getsubopt prototype.
23441 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23442 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23443 use size_t rather than int.
23444 (Scanning All Users): Likewise for getpwent_r.
23445 (Setting Groups): Add missing const to setgroups prototype.
23446 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23447 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23448 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23449 'const void *' rather than 'const char *'.
23450 (Host Address Functions): Likewise for inet_ntop.
23451 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23452 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23453 ssize_t for return value.
23454 (Sending Data): Likewise for send, sendto, sendmsg.
23455 (Socket Option Functions): Add a missing const in setsockopt prototype.
23456 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23457 use wchar_t for the argument.
23458 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23459 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23461 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23462 double/float/long double for second argument.
23463 Fix return types of significand, significandf, significandl.
23464 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23465 argument in fchmod prototype.
23466 (File Owner): Use uid_t and gid_t in fchown prototype.
23467 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23468 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23469 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23470 use 'const struct dirent **' as argument types to CMP function pointer
23472 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23473 (File Times): Fix summary magic @comment for struct utimbuf and utime
23474 to refer to utime.h, not time.h.
23475 * manual/string.texi (Argz Functions): Add missing const in
23476 argz_extract and argz_next prototypes.
23477 (Finding Tokens in a String): Likewise for basename.
23478 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23479 (Copying and Concatenation): Fix typo in wmemmove prototype.
23480 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23481 (Signal Stack): Remove erroneous const in sigstack prototype.
23482 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23484 (Simple Calendar Time): Likewise for stime.
23485 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23487 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23488 say sys/sysctl.h instead.
23489 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23490 and vsyslog prototypes.
23492 2013-02-11 Tom de Vries <tom@codesourcery.com>
23494 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23497 2013-02-11 Roland McGrath <roland@hack.frob.com>
23499 * misc/sys/mman.h: Fix typo in mremap comment.
23501 2013-02-08 Roland McGrath <roland@hack.frob.com>
23503 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23504 the '\0' terminator.
23506 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23509 * debug/segfault.c: Don't include <bp-checks.h>.
23510 * sysdeps/generic/bp-checks.h: Remove file.
23511 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23512 (__GETDENTS): Don't use CHECK_N.
23513 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23514 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23515 (__getgroups): Don't use CHECK_N.
23516 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23517 (setgroups): Don't use CHECK_N.
23518 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23519 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23520 (__libc_msgrcv): Don't use CHECK_N.
23521 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23522 (__libc_msgsnd): Don't use CHECK_N.
23523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23525 (__libc_pread): Don't use CHECK_N.
23526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23527 include <bp-checks.h>.
23528 (__libc_pread64): Don't use CHECK_N.
23529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23530 include <bp-checks.h>.
23531 (__libc_pwrite): Don't use CHECK_N.
23532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23533 include <bp-checks.h>.
23534 (__libc_pwrite64): Don't use CHECK_N.
23535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23537 (__libc_pread): Don't use CHECK_N.
23538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23539 include <bp-checks.h>.
23540 (__libc_pread64): Don't use CHECK_N.
23541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23542 include <bp-checks.h>.
23543 (__libc_pwrite): Don't use CHECK_N.
23544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23545 include <bp-checks.h>.
23546 (__libc_pwrite64): Don't use CHECK_N.
23547 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23548 (do_pread): Don't use CHECK_N.
23549 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23550 (do_pread64): Don't use CHECK_N.
23551 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23552 (do_pwrite): Don't use CHECK_N.
23553 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23554 (do_pwrite64): Don't use CHECK_N.
23555 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23556 (__libc_readv): Don't use CHECK_N.
23557 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23558 (semop): Don't use CHECK_N.
23559 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23561 (semtimedop): Don't use CHECK_N.
23562 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23563 (__libc_pread): Don't use CHECK_N.
23564 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23566 (__libc_pread64): Don't use CHECK_N.
23567 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23569 (__libc_pwrite): Don't use CHECK_N.
23570 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23572 (__libc_pwrite64): Don't use CHECK_N.
23573 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23575 (__libc_msgrcv): Don't use CHECK_N.
23576 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23577 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23578 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23579 (__libc_writev): Don't use CHECK_N.
23581 2013-02-08 Roland McGrath <roland@hack.frob.com>
23583 * string/strcpy.c: Removed unused variable.
23585 * Makeconfig (+sysdep-includes): Define with := rather than =.
23586 Use an existing include/ subdir of each sysdeps dir before it.
23588 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23590 * nscd/connection.c (register_traced_file): Comment function.
23591 [HAVE_INOTIFY] (union __inev): Define.
23592 [HAVE_INOTIFY] (inotify_check_files): New function.
23593 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23594 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23596 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23598 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23600 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23601 loaded if not already and that a failure is permanent.
23603 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23606 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23607 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23609 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23612 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23613 (CHECK_1_NULL_OK): Likewise.
23614 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23615 (__fxstat): Do not use CHECK_1.
23616 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23618 (___fxstat64): Do not use CHECK_1.
23619 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23621 (__fxstatat): Do not use CHECK_1.
23622 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23624 (__fxstatat64): Do not use CHECK_1.
23625 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23627 (__fxstat): Do not use CHECK_1.
23628 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23630 (__fxstatat): Do not use CHECK_1.
23631 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23633 (__getresgid): Do not use CHECK_1.
23634 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23636 (__getresuid): Do not use CHECK_1.
23637 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23639 (__lxstat): Do not use CHECK_1.
23640 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23642 (__old_msgctl): Do not use CHECK_1.
23643 (__new_msgctl): Likewise.
23644 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23646 (__new_setrlimit): Do not use CHECK_1.
23647 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23649 (__old_shmctl): Do not use CHECK_1.
23650 (__new_shmctl): Likewise.
23651 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23653 (__xstat): Do not use CHECK_1.
23654 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23655 (__lxstat): Do not use CHECK_1.
23656 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23658 (___lxstat64): Do not use CHECK_1.
23659 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23660 (__old_msgctl): Do not use CHECK_1.
23661 (__new_msgctl): Likewise.
23662 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23664 (__gettimeofday): Do not use CHECK_1.
23665 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23666 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23667 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23669 (__gettimeofday): Do not use CHECK_1.
23670 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23671 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23672 (__new_shmctl): Do not use CHECK_1.
23673 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23675 (do_sigtimedwait): Do not use CHECK_1.
23676 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23678 (do_sigwaitinfo): Do not use CHECK_1.
23679 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23681 (msgctl): Do not use CHECK_1.
23682 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23684 (shmctl): Do not use CHECK_1.
23685 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23686 (ustat): Do not use CHECK_1.
23687 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23689 (__fxstat): Do not use CHECK_1.
23690 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23692 (__fxstatat): Do not use CHECK_1.
23693 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23695 (__lxstat): Do not use CHECK_1.
23696 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23698 (__xstat): Do not use CHECK_1.
23699 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23700 (__xstat): Do not use CHECK_1.
23701 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23702 (___xstat64): Do not use CHECK_1.
23705 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23707 (CHECK_BOUNDS_HIGH): Likewise.
23708 * string/strcpy.c: Do not include <bp-checks.h>.
23709 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23711 2013-02-07 Roland McGrath <roland@hack.frob.com>
23713 * nscd/nscd-client.h (__nscd_drop_map_ref):
23714 Add __attribute__ ((unused)).
23715 * nis/nss-nisplus.h (niserr2nss): Likewise.
23717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23718 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23720 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23721 Remove inline keyword.
23722 * include/rounding-mode.h (round_away): Likewise.
23723 * libio/wfileops.c (adjust_wide_data): Likewise.
23724 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23725 (__m128i_strloadu_tolower): Likewise.
23726 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23727 (__m128i_strloadu_tolower): Likewise.
23728 * time/mktime.c (ydhms_diff): Likewise.
23729 * locale/elem-hash.h (elem_hash): Likewise.
23730 * locale/setlocale.c (setdata): Likewise.
23731 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23732 (re_string_wchar_at): Likewise.
23733 (bitset_not, bitset_merge, bitset_mask): Likewise.
23734 [!(__GNUC__ > 3)] (inline): Remove macro.
23735 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23736 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23737 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23738 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23739 * string/memcmp.c (memcmp_bytes): Likewise.
23740 * locale/programs/locarchive.c (compute_hashval): Likewise.
23741 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23742 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23743 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23744 * nss/getent.c (print_rpc, print_protocols): Likewise.
23745 (print_passwd, print_group, print_aliases): Likewise.
23746 * nis/nss-nisplus.h (niserr2nss): Likewise.
23747 * nscd/connections.c (restart_p): Likewise.
23748 Change return type to bool.
23750 2013-02-05 Roland McGrath <roland@hack.frob.com>
23752 * Makeconfig (all-Depend-files): Add existing
23753 $(sorted-subdirs:=/Depend) files.
23754 (all-subdirs): Remove nss.
23755 * sysdeps/unix/inet/Subdirs: Add it here instead.
23756 * hesiod/Depend: New file.
23758 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23759 instead of calling alloca.
23761 * io/lseek.c (__lseek): Rename to __libc_lseek.
23762 Define __lseek as an alias.
23764 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23766 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23768 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23769 else clause and remove check for non-standard endianness.
23771 2013-02-04 David S. Miller <davem@davemloft.net>
23773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23775 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23778 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23779 (__ubp_memchr): Remove prototype.
23780 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23781 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23782 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23783 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23784 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23786 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23787 (__ubp_memchr): Likewise.
23788 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23789 (__ubp_memchr): Likewise.
23790 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23791 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23792 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23793 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23795 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23796 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23797 (__getcwd): Do not use CHECK_STRING.
23798 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23800 (__real_chown): Do not use CHECK_STRING.
23801 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23803 (fchownat): Do not use CHECK_STRING.
23804 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23806 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23808 (__lchown): Do not use CHECK_STRING.
23809 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23810 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23811 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23812 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23814 include <bp-checks.h>.
23815 (truncate64): Do not use CHECK_STRING.
23816 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23818 (__real_chown): Do not use CHECK_STRING.
23819 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23821 (__lchown): Do not use CHECK_STRING.
23822 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23824 (__chown): Do not use CHECK_STRING.
23825 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23827 (truncate64): Do not use CHECK_STRING.
23828 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23830 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23831 (__xmknod): Do not use CHECK_STRING.
23832 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23834 (__xmknodat): Do not use CHECK_STRING.
23835 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23836 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23838 2013-02-04 Andreas Schwab <schwab@suse.de>
23841 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23842 * include/netdb.h: Likewise for h_errno.
23843 * elf/tst-stackguard1.c: Include <tls.h>.
23845 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23847 * elf/link.h (struct link_map): Extend the l_addr comment.
23848 * include/link.h (struct link_map): Likewise.
23850 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23853 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23854 (BOUNDED_1): Remove macro.
23855 * debug/backtrace.c: Don't include <bp-checks.h>.
23856 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23857 (__backtrace): Likewise.
23858 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23860 (__backtrace): Don't use BOUNDED_1.
23861 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23863 (__backtrace): Don't use BOUNDED_1.
23864 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23865 (__backtrace): Don't use BOUNDED_1.
23866 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23867 (shmat): Don't use BOUNDED_N.
23869 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23872 * sysdeps/generic/bp-start.h: Remove file.
23873 * csu/libc-start.c: Don't include <bp-start.h>.
23874 (LIBC_START_MAIN): Set up __environ directly instead of using
23875 INIT_ARGV_and_ENVIRON.
23876 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23880 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23882 (CHECK_FCNTL): Likewise.
23883 (CHECK_N_PAGES): Likewise.
23886 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23888 (CHECK_SIGSET_NULL_OK): Likewise.
23889 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23891 (sigpending): Don't use CHECK_SIGSET.
23892 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23894 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23895 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23897 (do_sigsuspend): Don't use CHECK_SIGSET.
23898 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23900 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23901 (do_sigwait): Don't use CHECK_SIGSET.
23902 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23904 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23905 include <bp-checks.h>.
23906 (sigpending): Don't use CHECK_SIGSET.
23907 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23908 include <bp-checks.h>.
23909 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23910 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23912 (sigpending): Don't use CHECK_SIGSET.
23913 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23915 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23918 * sysdeps/generic/bp-semctl.h: Remove file.
23919 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23920 <bp-checks.h> and <bp-semctl.h>.
23921 (__old_semctl): Don't use CHECK_SEMCTL.
23922 (__new_semctl): Likewise.
23923 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23925 (__old_semctl): Don't use CHECK_SEMCTL.
23926 (__new_semctl): Likewise.
23927 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23928 <bp-checks.h> and <bp-semctl.h>.
23929 (__old_semctl): Don't use CHECK_SEMCTL.
23930 (__new_semctl): Likewise.
23931 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23932 <bp-checks.h> and <bp-semctl.h>.
23933 (semctl): Don't use CHECK_SEMCTL.
23936 * Makerules (elide-bp-thunks): Remove variable.
23937 (elide-routines.oS): Don't use $(elide-bp-thunks).
23938 (elide-routines.os): Likewise.
23939 (elide-routines.o): Likewise.
23940 (elide-routines.op): Likewise.
23941 (elide-routines.og): Likewise.
23942 (objects): Don't use $(bp-thunks).
23943 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23945 (common-generated): Do not add s-proto-bp.d.
23946 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23949 Do not generate makefile rules for bounded-pointer thunks.
23950 * sysdeps/generic/bp-thunks.h: Remove file.
23951 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23952 * sysdeps/unix/s-proto-bp.S: Likewise.
23955 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23956 parts of result separately when argument is not close to line from
23957 -i to i and one part of argument is small.
23958 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23959 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23960 * math/libm-test.inc (cacos_test): Add more tests.
23961 (casin_test): Likewise.
23962 (casinh_test): Likewise.
23963 * sysdeps/i386/fpu/libm-test-ulps: Update.
23964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23966 2013-01-31 David S. Miller <davem@davemloft.net>
23968 * po/de.po: Update from translation team.
23970 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23972 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23974 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23976 * configure.in (_AC_PROG_CC_C89): New definition.
23977 * configure: Regenerate.
23979 * configure.in (AC_PROG_CPP): New definition.
23980 * configure: Regenerate.
23982 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23984 * debug/tst-backtrace.h: New file.
23985 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23986 (ret): Remove variable.
23988 (FAIL): Remove macro.
23989 (NO_INLINE): Likewise.
23990 (fn1): Use match function instead of strstr.
23991 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23992 (ret): Remove variable.
23994 (FAIL): Remove macro.
23995 (NO_INLINE): Likewise.
23996 (fn): Use match function instead of strstr.
23997 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23998 (ret): Remove variable.
24000 (FAIL): Remove macro.
24001 (NO_INLINE): Likewise.
24002 (handle_signal): Use match function instead of strstr.
24003 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24004 (ret): Remove variable.
24006 (FAIL): Remove macro.
24007 (NO_INLINE): Likewise.
24008 (handle_signal): Use match function instead of strstr.
24010 2013-01-23 Roland McGrath <roland@hack.frob.com>
24012 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24014 2013-01-23 David S. Miller <davem@davemloft.net>
24016 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24017 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24018 argument of CAS if possible.
24019 * sysdeps/sparc/sparc64/bits/atomic.h
24020 (__arch_compare_and_exchange_val_32_acq): Likewise.
24021 (__arch_compare_and_exchange_val_64_acq): Likewise.
24023 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24025 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24026 * sysdeps/posix/ulimit.c: ... this.
24027 Include <limits.h>.
24028 * sysdeps/unix/bsd/ulimit.c: Remove file.
24030 2013-01-23 Adam Conrad <adconrad@0c3.net>
24032 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24033 (LDFLAGS-tst-array5): Likewise.
24035 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24038 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24039 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24040 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24041 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24043 2013-01-21 David S. Miller <davem@davemloft.net>
24045 * sysdeps/sparc/backtrace.c: New file.
24046 * sysdeps/sparc/sparc32/backtrace.h: New file.
24047 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24048 * sysdeps/sparc/sparc64/backtrace.h: New file.
24049 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24050 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24053 2013-01-21 Andreas Schwab <schwab@suse.de>
24056 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24059 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24065 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24066 Mark Mitchell <mark@codesourcery.com>
24067 Tom de Vries <tom@codesourcery.com>
24068 Paul Pluzhnikov <ppluzhnikov@google.com>
24070 * debug/tst-backtrace2.c: New file.
24071 * debug/tst-backtrace3.c: Likewise.
24072 * debug/tst-backtrace4.c: Likewise.
24073 * debug/tst-backtrace5.c: Likewise.
24074 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24075 (CFLAGS-tst-backtrace3.c): Likewise.
24076 (CFLAGS-tst-backtrace4.c): Likewise.
24077 (CFLAGS-tst-backtrace5.c): Likewise.
24078 (LDFLAGS-tst-backtrace2): Likewise.
24079 (LDFLAGS-tst-backtrace3): Likewise.
24080 (LDFLAGS-tst-backtrace4): Likewise.
24081 (LDFLAGS-tst-backtrace5): Likewise.
24082 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24083 tst-backtrace4 and tst-backtrace5.
24085 2013-01-18 Anton Blanchard <anton@samba.org>
24086 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24088 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24089 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24090 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24091 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24093 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24094 "+r" and remove output regs list as redundant. Add explicit inline
24095 asm to specify register of return val to work around compiler codegen
24096 bug. Remove (int) cast on return value. Add return type parameter to
24097 use in macro so that this macro does not truncate return value for
24099 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24100 pass to INTERNAL_VSYSCALL_NCS.
24101 (INLINE_VSYSCALL): Add 'long int' as return type to
24102 INTERNAL_VSYSCALL_NCS macro invocation.
24103 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24104 INTERNAL_VSYSCALL_NCS macro invocation.
24105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24107 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24110 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24111 Fix application of SIMD FP exception mask.
24113 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24114 mp_no from a power of two.
24115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24116 __mpexp_twomm1. Use __pow_mp.
24118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24121 2013-01-17 David S. Miller <davem@davemloft.net>
24123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24125 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24128 * include/complex.h: Condition contents on [!_COMPLEX_H].
24129 (__kernel_casinhf): New prototype.
24130 (__kernel_casinh): Likewise.
24131 (__kernel_casinhl): Likewise.
24132 * math/Makefile (libm_calls): Add k_casinh.
24133 * math/k_casinh.c: New file.
24134 * math/k_casinhf.c: Likewise.
24135 * math/k_casinhl.c: Likewise.
24136 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24137 finite nonzero arguments.
24138 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24139 finite nonzero arguments.
24140 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24141 finite nonzero arguments.
24142 * math/s_casinh.c: Do not include <float.h>.
24143 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24144 * math/s_casinhf.c: Do not include <float.h>.
24145 (__casinhf): Move code for finite nonzero arguments to
24147 * math/s_casinhl.c: Do not include <float.h>.
24148 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24150 (__casinhl): Move code for finite nonzero arguments to
24152 * math/libm-test.inc (cacos_test): Add more tests.
24153 * sysdeps/i386/fpu/libm-test-ulps: Update.
24154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24156 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24158 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24159 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24160 [!HAVE_MREMAP]: Remove [defined linux] case.
24161 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24163 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24165 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24167 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24169 * elf/elf.h (R_386_SIZE32): New relocation.
24170 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24172 (elf_machine_rela): Likewise.
24173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24174 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24176 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24178 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24179 (FP_FAST_FMA): Do not define.
24180 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24181 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24182 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24183 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24184 !_SOFT_FLOAT]: Likewise.
24185 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24186 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24188 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24189 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24190 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24191 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24192 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24193 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24196 2013-01-16 Andreas Schwab <schwab@suse.de>
24199 * include/stdlib.h (__mktemp): Add declaration.
24200 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24201 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24203 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24205 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24207 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24208 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24209 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24211 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24212 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24214 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24216 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24217 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24218 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24220 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24221 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24223 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24225 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24227 2013-01-15 David S. Miller <davem@davemloft.net>
24229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24230 trunc{,f} to libm-sysdep_routes.
24231 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24241 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24242 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24243 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24244 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24245 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24246 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24249 nearbyint{,f} to libm-sysdep_routes.
24250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24261 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24263 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24264 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24266 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24267 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24268 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24270 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24271 libc_feholdexcept and libc_fesetenv.
24273 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24275 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24277 2013-01-14 David S. Miller <davem@davemloft.net>
24279 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24280 (SPARC_ASM_VIS2_IFUNC): Likewise.
24281 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24283 use of 'siam' instruction.
24284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24317 routines to libm-sysdep_routines.
24318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24321 fdim/fdimf to libm-sysdep_routines.
24322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24330 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24331 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24332 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24333 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24335 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24337 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24338 to optimize copies.
24340 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24345 local variable MPTWO.
24346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24349 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24351 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24354 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24356 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24358 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24360 * manual/pattern.texi (glob_t): Document gl_flags.
24361 (glob64_t): Likewise.
24363 2013-01-11 David S. Miller <davem@davemloft.net>
24365 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24366 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24367 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24368 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24369 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24370 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24371 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24372 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24373 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24374 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24375 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24376 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24377 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24379 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24380 sparc V9 rather than using V8 code.
24381 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24382 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24384 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24386 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24389 2013-01-11 Roland McGrath <roland@hack.frob.com>
24391 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24392 not in the main loop.
24393 * configure: Regenerated.
24395 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24397 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24398 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24400 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24401 [!__GLIBC_HAVE_LONG_LONG] case.
24402 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24403 condition to just #else.
24404 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24405 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24406 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24407 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24409 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24410 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24411 #elif condition to just #else.
24412 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24413 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24414 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24415 #elif condition to just #else.
24417 2013-01-11 Steve Ellcey <sellcey@mips.com>
24419 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24420 (EF_MIPS_ARCH_64): Fix value.
24421 (EF_MIPS_ARCH_32R2): New.
24422 (EF_MIPS_ARCH_64R2): New.
24424 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24426 * Makeconfig (+link-pie-before-libc): New.
24427 (+link-pie-after-libc): Likewise.
24428 (+link-pie-tests): Likewise.
24429 (+link-pie): Rewritten.
24430 (link-before-libc): Remove $(config-LDFLAGS).
24431 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24432 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24433 (config-LDFLAGS): Renamed to ...
24434 (rtld-LDFLAGS): This.
24435 (rtld-tests-LDFLAGS): New macro.
24436 (link-libc-rpath-link): Likewise.
24437 (link-libc-tests-rpath-link): Likewise.
24438 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24439 (link-libc): Prepand $(link-libc-rpath-link).
24440 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24441 (test-program-prefix): New macro.
24442 (test-via-rtld-prefix): Likewise.
24443 (test-program-cmd): Likewise.
24444 (host-test-program-cmd): Likewise.
24445 * Makefile ($(common-objpfx)testrun.sh): Replace
24446 $(run-program-prefix) with $(test-program-prefix).
24447 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24449 ($(common-objpfx)shlib.lds): Likewise.
24450 (build-module-helper): Likewise.
24451 ($(common-objpfx)format.lds): Likewise.
24452 * Rules (binaries-pie-tests): New.
24453 (binaries-pie-notests): Likewise.
24454 (binaries-pie): Rewritten.
24455 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24456 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24457 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24458 (make-test-out): Replace $(host-built-program-cmd) with
24459 $(host-test-program-cmd).
24460 * config.make.in (build-hardcoded-path-in-tests): New variable.
24461 * configure.in (--enable-hardcoded-path-in-tests): New configure
24463 (hardcoded_path_in_tests): New AC_SUBST.
24464 * configure: Regenerated.
24465 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24466 $(built-program-cmd) with $(test-program-cmd).
24467 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24468 (test_program_cmd): This.
24469 * elf/Makefile ($(objpfx)order.out): Run test with
24470 $(test-program-prefix).
24471 ($(objpfx)order2.out): Likewise.
24472 ($(objpfx)tst-initorder.out): Likewise.
24473 ($(objpfx)tst-initorder2.out): Likewise.
24474 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24475 $(test-program-cmd).
24476 ($(objpfx)tst-array1-static.out): Likewise.
24477 ($(objpfx)tst-array2.out): Likewise.
24478 ($(objpfx)tst-array3.out): Likewise.
24479 ($(objpfx)tst-array4.out): Likewise.
24480 ($(objpfx)tst-array5.out): Likewise.
24481 ($(objpfx)tst-array5-static.out): Likewise.
24482 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24483 $(test-program-cmd).
24484 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24485 $(run-program-prefix) with $(test-program-prefix).
24486 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24487 (test_program_prefix): This.
24488 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24489 $(run-program-prefix) with $(test-program-prefix).
24490 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24491 (test_program_prefix): This.
24492 * iconvdata/tst-tables.sh: Likewise.
24493 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24494 $(run-program-prefix) with $(test-program-prefix).
24495 ($(objpfx)tst-translit.out): Likewise.
24496 ($(objpfx)tst-gettext2.out): Likewise.
24497 ($(objpfx)tst-gettext4.out): Likewise.
24498 ($(objpfx)tst-gettext6.out): Likewise.
24499 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24500 (test_program_prefix): This.
24501 * intl/tst-gettext2.sh: Likewise.
24502 * intl/tst-gettext4.sh Likewise.
24503 * intl/tst-gettext6.sh: Likewise.
24504 * intl/tst-translit.sh: Likewise.
24505 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24506 with $(test-program-cmd).
24507 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24508 $(run-program-prefix) with $(test-program-prefix).
24509 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24510 (test_program_prefix): This.
24511 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24512 $(run-program-prefix) with $(test-program-prefix).
24513 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24514 (test_program_prefix): This.
24515 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24516 * posix/Makefile ($(objpfx)globtest.out): Replace
24517 $(run-via-rtld-prefix) and $(test-wrapper) with
24518 $(test-program-prefix) and $(test-via-rtld-prefix).
24519 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24520 $(test-program-prefix).
24521 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24522 $(host-test-program-cmd).
24523 (tst-spawn-ARGS): Likewise.
24524 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24525 $(test-program-prefix).
24526 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24527 (test_via_rtld_prefix): This.
24528 (test_wrapper): Renamed to ...
24529 (test_program_prefix): This.
24530 (run_program_prefix): Replaced by test_program_prefix.
24531 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24532 (test_program_prefix): This.
24533 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24534 with $(host-test-program-cmd).
24535 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24536 $(run-program-prefix) with $(test-program-prefix).
24537 ($(objpfx)tst-printf.out): Likewise.
24538 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24539 $(test-program-cmd).
24540 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24541 (test_program_prefix): This.
24542 * stdio-common/tst-unbputc.sh: Likewise.
24543 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24544 $(run-program-prefix) with $(test-program-prefix).
24545 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24546 (test_program_prefix): This.
24547 * string/Makefile ($(objpfx)tst-svc.out): Replace
24548 $(built-program-cmd) with $(test-program-cmd).
24550 2013-01-11 Andreas Jaeger <aj@suse.de>
24553 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24554 value. Sync with Linux 3.7.
24556 2013-01-10 David S. Miller <davem@davemloft.net>
24558 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24559 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24560 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24562 2013-01-10 Roland McGrath <roland@hack.frob.com>
24564 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24566 * configure: Regenerated.
24568 2013-01-10 David S. Miller <davem@davemloft.net>
24570 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24571 sparc V9 rather than using V8 code.
24572 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24573 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24575 2013-01-10 Roland McGrath <roland@hack.frob.com>
24577 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24578 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24579 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24580 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24581 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24582 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24583 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24584 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24585 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24586 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24587 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24588 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24589 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24590 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24591 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24592 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24593 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24594 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24595 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24596 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24597 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24598 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24599 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24600 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24601 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24602 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24603 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24605 2013-01-10 David S. Miller <davem@davemloft.net>
24607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24609 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24611 * posix/Makefile (tests-static): New variable.
24612 (tests): Add $(tests-static).
24613 (tst-exec-static-ARGS): New variable.
24614 (tst-spawn-static-ARGS): Likewise.
24615 * posix/tst-exec-static.c: New file.
24616 * posix/tst-spawn-static.c: Likewise.
24617 * posix/tst-exec.c: Support run directly.
24618 * posix/tst-spawn.c: Likewise.
24620 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24622 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24624 * math/bits/mathcalls.h (llrint): Likewise.
24625 (llround): Likewise.
24626 * stdlib/stdlib.h (struct drand48_data): Likewise.
24627 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24628 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24629 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24631 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24633 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24634 (elf_greg_t): Likewise.
24635 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24636 (__jmp_buf): Likewise.
24637 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24639 (llrint): Likewise, for all definitions.
24640 (llrintl): Likewise.
24642 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24643 Remove [__GNUC__] condition.
24644 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24645 condition to just [__USE_ISOC99].
24646 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24648 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24651 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24652 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24654 (_POSIX_V6_ILP32_OFF32): Likewise.
24655 (_XBS5_ILP32_OFF32): Likewise.
24656 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24657 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24659 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24661 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24664 doubles __mpexp_twomm1. Adjust usage.
24665 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24668 2013-01-10 Andreas Schwab <schwab@suse.de>
24671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24672 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24674 2013-01-09 David S. Miller <davem@davemloft.net>
24677 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24678 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24679 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24680 (TCP_FASTOPEN): Define.
24681 (tcp_repair_opt): New structure.
24682 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24684 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24685 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24686 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24687 (tcp_cookie_transactions): New structure.
24689 2013-01-09 Anton Blanchard <anton@samba.org>
24691 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24692 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24693 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24694 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24696 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24698 * include/features.h (__USE_ANSI): Remove.
24700 2013-01-09 Roland McGrath <roland@hack.frob.com>
24702 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24704 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24706 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24708 * sysdeps/s390/fpu/libm-test-ulps: Update.
24710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24712 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24716 (denorm): Likewise.
24717 (__mp_dbl): Likewise.
24718 (__dbl_mp): Likewise.
24719 (add_magnitudes): Likewise.
24720 (sub_magnitudes): Likewise.
24726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24730 (denorm): Likewise.
24731 (__mp_dbl): Likewise.
24732 (__dbl_mp): Likewise.
24733 (add_magnitudes): Likewise.
24734 (sub_magnitudes): Likewise.
24740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24744 (denorm): Likewise.
24745 (__mp_dbl): Likewise.
24746 (__dbl_mp): Likewise.
24747 (add_magnitudes): Likewise.
24748 (sub_magnitudes): Likewise.
24755 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24757 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24758 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24759 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24760 2 && __USE_EXTERN_INLINES]: Likewise.
24762 2013-01-08 Andreas Jaeger <aj@suse.de>
24765 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24767 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24768 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24770 2013-01-07 Anton Blanchard <anton@samba.org>
24772 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24773 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24774 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24775 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24776 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24777 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24778 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24779 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24781 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24782 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24783 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24784 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24785 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24786 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24787 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24788 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24789 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24790 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24791 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24792 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24793 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24794 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24795 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24796 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24797 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24798 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24799 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24800 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24801 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24802 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24804 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24805 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24806 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24807 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24808 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24809 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24810 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24811 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24812 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24813 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24814 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24816 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24818 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24819 (__MALLOC_PMT): Likewise.
24820 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24821 [__GNUC__], only on [_LIBC].
24822 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24823 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24824 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24825 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24826 forward declaration.
24827 (realloc_hook_ini): Likewise.
24828 (memalign_hook_ini): Likewise.
24829 (__libc_memalign): Do not use __MALLOC_PMT in variable
24831 (__libc_valloc): Likewise.
24832 (__libc_pvalloc): Likewise.
24833 (__libc_calloc): Likewise.
24834 (__posix_memalign): Likewise.
24837 * math/s_casinh.c: Include <float.h>.
24838 (__casinh): Do not do computation with squaring and square root
24839 for large arguments.
24840 * math/s_casinhf.c: Include <float.h>.
24841 (__casinhf): Do not do computation with squaring and square root
24842 for large arguments.
24843 * math/s_casinhl.c: Include <float.h>.
24844 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24845 (__casinhl): Do not do computation with squaring and square root
24846 for large arguments.
24847 * math/libm-test.inc (casin_test): Add more tests.
24848 (casinh_test): Likewise.
24849 * sysdeps/i386/fpu/libm-test-ulps: Update.
24850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24852 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24854 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24855 (__x86_64_raw_data_cache_size): Likewise.
24856 (__x86_64_data_cache_size_half): Likewise.
24857 (__x86_64_raw_data_cache_size_half): Likewise.
24858 (__x86_64_shared_cache_size): Likewise.
24859 (__x86_64_raw_shared_cache_size): Likewise.
24860 (__x86_64_shared_cache_size_half): Likewise.
24861 (__x86_64_raw_shared_cache_size_half): Likewise.
24862 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24864 (__x86_data_cache_size): This.
24865 (__x86_64_raw_data_cache_size): Renamed to ...
24866 (__x86_raw_data_cache_size): This.
24867 (__x86_64_data_cache_size_half): Renamed to ...
24868 (__x86_data_cache_size_half): This.
24869 (__x86_64_raw_data_cache_size_half): Renamed to ...
24870 (__x86_raw_data_cache_size_half): This.
24871 (__x86_64_shared_cache_size): Renamed to ...
24872 (__x86_shared_cache_size): This.
24873 (__x86_64_raw_shared_cache_size): Renamed to ...
24874 (__x86_raw_shared_cache_size): This.
24875 (__x86_64_shared_cache_size_half): Renamed to ...
24876 (__x86_shared_cache_size_half): This.
24877 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24878 (__x86_raw_shared_cache_size_half): This.
24879 * sysdeps/x86_64/memcpy.S: Updated.
24880 * sysdeps/x86_64/memset.S: Likewise.
24881 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24882 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24883 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24885 2013-01-04 David S. Miller <davem@davemloft.net>
24887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24889 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24891 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24892 1 to avoid redefinition warning.
24893 (__USE_GNU): Don't define.
24894 (init_signaling_nan): Protoize.
24896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24898 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24900 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24902 (__cpymn): Likewise.
24903 (norm): Remove commented code.
24904 (denorm): Likewise.
24905 (__mp_dbl): Likewise.
24907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24908 (__cpymn): Likewise.
24909 (norm): Remove commented code.
24910 (denorm): Likewise.
24911 (__mp_dbl): Likewise.
24914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24915 mp_no value for 1.0 and 2.0.
24916 (norm): Use RADIXI instead of radixi.d.
24917 (denorm): Likewise.
24918 (__mul): Use 0.0 instead of zero.d.
24919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24920 mp_no value for 1.0 and 2.0.
24921 (norm): Use RADIXI instead of radixi.d.
24922 (denorm): Likewise.
24923 (__mul): Use 0.0 instead of zero.d.
24925 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24928 * math/s_casinh.c (__casinh): Reduce finite argument to first
24929 quadrant then set signs of results at the end.
24930 * math/s_casinhf.c (__casinhf): Likewise.
24931 * math/s_casinhl.c (__casinhl): Likewise.
24932 * math/libm-test.inc (casin_test): Add more tests.
24933 (casinh_test): Likewise.
24934 * sysdeps/i386/fpu/libm-test-ulps: Update.
24935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24937 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24939 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24941 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24943 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24945 (denorm): Likewise.
24946 (__mp_dbl): Likewise.
24949 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24950 and adjust the header comment.
24952 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24953 variable name from declaration.
24955 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24958 Initialize COMMON_CPUID_INDEX_7 element.
24959 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24960 (CPUID_RTM): Likewise.
24961 (HAS_RTM): Likewise.
24962 (COMMON_CPUID_INDEX_7): New enum.
24964 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24967 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24968 size is zero, record memory as freed.
24970 2013-01-03 Andreas Jaeger <aj@suse.de>
24972 * po/ia.po: Add new Interlingua translation.
24974 2012-01-03 Allan McRae <allan@archlinux.org>
24976 * locale/programs/localedef.c: Fix description of '--posix' flag.
24978 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24980 * NEWS: Update dates in second copyright notice.
24981 * README: Update copyright dates in example.
24982 * manual/libc.texinfo: Update copyright dates.
24983 * scripts/test-installation.pl: Update copyright date in --version
24986 * hurd/ctty-input.c: Fix copyright notice formatting.
24987 * hurd/ctty-output.c: Likewise.
24988 * hurd/dtable.c: Likewise.
24989 * hurd/hurd-raise.c: Likewise.
24990 * hurd/hurdprio.c: Likewise.
24991 * hurd/msgportdemux.c: Likewise.
24992 * misc/sys/file.h: Likewise.
24993 * misc/sys/ioctl.h: Likewise.
24994 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24995 * sysdeps/mach/hurd/chdir.c: Likewise.
24996 * sysdeps/mach/hurd/fchdir.c: Likewise.
24997 * sysdeps/mach/hurd/rename.c: Likewise.
24998 * sysdeps/mach/hurd/rmdir.c: Likewise.
24999 * sysdeps/mach/hurd/seekdir.c: Likewise.
25000 * sysdeps/mach/hurd/setsid.c: Likewise.
25001 * sysdeps/posix/wait3.c: Likewise.
25003 * All files with FSF copyright notices: Update copyright dates
25004 using scripts/update-copyrights.
25005 * intl/plural.c: Regenerated.
25006 * locale/programs/charmap-kw.h: Likewise.
25007 * locale/programs/locfile-kw.h: Likewise.
25009 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25011 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25014 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25015 calculation loop and add branch prediction.
25017 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25018 check access beyond bounds of m1np.
25020 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25022 (__inv): Remove local variable MPTWO to use the global
25024 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25025 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25027 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25028 MP3HALFS static const.
25030 2013-01-01 David S. Miller <davem@davemloft.net>
25032 * po/ca.po: Update from translation team.
25034 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25036 * scripts/update-copyrights: New file.
25037 * Makeconfig: Reformat copyright notice.
25038 * ctype/ctype.h: Likewise.
25039 * debug/swprintf_chk.c: Likewise.
25040 * elf/dl-cache.c: Likewise.
25041 * elf/dl-debug.c: Likewise.
25042 * elf/dl-object.c: Likewise.
25043 * grp/initgroups.c: Likewise.
25044 * hurd/Makefile: Likewise.
25045 * hurd/hurd/signal.h: Likewise.
25046 * hurd/hurdfault.c: Likewise.
25047 * hurd/hurdioctl.c: Likewise.
25048 * hurd/hurdlookup.c: Likewise.
25049 * hurd/intr-msg.c: Likewise.
25050 * iconv/gconv_open.c: Likewise.
25051 * libio/swprintf.c: Likewise.
25052 * locale/lc-ctype.c: Likewise.
25053 * locale/nl_langinfo.c: Likewise.
25054 * mach/Machrules: Likewise.
25055 * mach/Makefile: Likewise.
25056 * malloc/obstack.h: Likewise.
25057 * manual/Makefile: Likewise.
25058 * manual/tsort.awk: Likewise.
25059 * misc/bits/stab.def: Likewise.
25060 * nis/nis_print_group_entry.c: Likewise.
25061 * nis/nis_table.c: Likewise.
25062 * nis/nss_compat/compat-pwd.c: Likewise.
25063 * nis/nss_compat/compat-spwd.c: Likewise.
25064 * po/Makefile: Likewise.
25065 * posix/fnmatch.c: Likewise.
25066 * posix/regex.h: Likewise.
25067 * resolv/Makefile: Likewise.
25068 * resolv/nss_dns/dns-network.c: Likewise.
25069 * resolv/res_hconf.c: Likewise.
25070 * scripts/gen-sorted.awk: Likewise.
25071 * soft-fp/soft-fp.h: Likewise.
25072 * stdio-common/printf.h: Likewise.
25073 * stdlib/monetary.h: Likewise.
25074 * stdlib/random.c: Likewise.
25075 * stdlib/random_r.c: Likewise.
25076 * sysdeps/generic/Makefile: Likewise.
25077 * sysdeps/gnu/Makefile: Likewise.
25078 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25079 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25080 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25082 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25083 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25085 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25086 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25087 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25088 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25089 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25090 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25091 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25092 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25093 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25094 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25095 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25096 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25098 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25099 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25100 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25101 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25102 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25103 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25104 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25105 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25106 * sysdeps/mach/hurd/errnos.awk: Likewise.
25107 * sysdeps/mach/hurd/fork.c: Likewise.
25108 * sysdeps/mach/hurd/getcwd.c: Likewise.
25109 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25110 * sysdeps/mach/hurd/mmap.c: Likewise.
25111 * sysdeps/mach/hurd/utimes.c: Likewise.
25112 * sysdeps/mach/hurd/xmknod.c: Likewise.
25113 * sysdeps/posix/profil.c: Likewise.
25114 * sysdeps/posix/readdir_r.c: Likewise.
25115 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25116 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25117 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25118 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25120 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25121 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25122 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25124 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25125 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25126 * sysdeps/pthread/lio_listio.c: Likewise.
25127 * sysdeps/sparc/dl-procinfo.h: Likewise.
25128 * sysdeps/unix/i386/sysdep.S: Likewise.
25129 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25130 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25131 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25132 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25134 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25135 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25136 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25137 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25138 * sysdeps/wordsize-32/divdi3.c: Likewise.
25139 * time/sys/time.h: Likewise.
25140 * wcsmbs/Makefile: Likewise.
25142 2013-01-01 David S. Miller <davem@davemloft.net>
25144 * po/fr.po: Update from translation team.
25146 * catgets/gencat.c: Update copyright year.
25147 * csu/version.c: Likewise.
25148 * debug/catchsegv.sh: Likewise.
25149 * debug/pcprofiledump.c: Likewise.
25150 * debug/xtrace.sh: Likewise.
25151 * elf/ldconfig.c: Likewise.
25152 * elf/ldd.bash.in: Likewise.
25153 * elf/pldd.c: Likewise.
25154 * elf/sotruss.ksh: Likewise.
25155 * elf/sprof.c: Likewise.
25156 * iconv/iconv_prog.c: Likewise.
25157 * iconv/iconvconfig.c: Likewise.
25158 * locale/programs/locale.c: Likewise.
25159 * locale/programs/localedef.c: Likewise.
25160 * login/programs/pt_chown.c: Likewise.
25161 * malloc/memusage.sh: Likewise.
25162 * malloc/memusagestat.c: Likewise.
25163 * malloc/mtrace.pl: Likewise.
25164 * nscd/nscd.c: Likewise.
25165 * nss/getent.c: Likewise.
25166 * nss/makedb.c: Likewise.
25167 * posix/getconf.c: Likewise.
25169 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25171 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25174 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25176 * math/bits/mathcalls.h (modf): Use __nonnull.
25178 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25180 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25181 (split): Use macro CN instead of the bare value.
25182 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25185 instead of the bare value.
25186 (power1): Likewise.
25188 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25190 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25192 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25194 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25196 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25197 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25198 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25199 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25201 2012-12-28 Andreas Jaeger <aj@suse.de>
25203 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25204 values are from Linux 3.7.
25206 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25207 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25209 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25211 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25214 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25216 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25217 variables with preprocessor constants.
25218 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25219 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25220 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25222 2012-12-27 Bruno Haible <bruno@clisp.org>
25225 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25228 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25231 and use variable directly.
25232 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25234 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25236 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25237 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25239 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25241 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25242 include directive. Remove local variable MPONE.
25243 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25244 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25245 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25247 2012-12-25 David S. Miller <davem@davemloft.net>
25249 * version.h (RELEASE): Set to "development".
25250 (VERSION): Set to "2.17.90".
25251 * NEWS: Add 2.18 section.
25253 2012-12-21 David S. Miller <davem@davemloft.net>
25255 * po/hr.po: Update from translation team.
25257 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25259 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25261 2012-12-19 Steve Ellcey <sellcey@mips.com>
25263 * NEWS: Mention new memcpy for MIPS.
25265 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25267 * manual/contrib.texi (Contributors): Spelling correction.
25269 2012-12-15 David S. Miller <davem@davemloft.net>
25271 * po/ru.po: Update from translation team.
25273 2012-12-13 David S. Miller <davem@davemloft.net>
25275 * NEWS: Mention IFUNC testsuite enhancements.
25277 * po/pl.po: Update from translation team.
25278 * po/bg.po: Likewise.
25280 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25281 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25283 2012-12-11 David S. Miller <davem@davemloft.net>
25285 * po/sv.po: Update from translation team.
25287 * po/vi.po: Update from translation team.
25289 * po/cs.po: Update from translation team.
25291 * po/de.po: Update from translation team.
25292 * po/eo.po: Likewise.
25293 * po/nl.po: Likewise.
25295 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25298 * manual/argp.texi (Argp Helper Functions): Move node to follow
25299 Argp Parsing State.
25302 * manual/conf.texi (Limits on File System Capacity): Mention if
25303 terminating null is included in the max size.
25305 2012-12-10 Andreas Jaeger <aj@suse.de>
25307 * po/cs.po: Update from translation team.
25309 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25311 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25312 void pointer and cast to uintptr_t.
25313 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25315 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25316 * sysdeps/s390/s390-64/memset.S: Likewise.
25318 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25321 * menual/message.texi (Message Translation): Fix typos.
25322 (Helper programs for gettext): Likewise.
25324 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25327 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25330 2012-12-07 David S. Miller <davem@davemloft.net>
25332 * po/libc.pot: Update.
25334 2012-12-07 Richard Henderson <rth@redhat.com>
25337 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25338 normal/normal case to before the switch.
25339 (_FP_DIV): Likewise.
25341 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25342 Mike Frysinger <vapier@gentoo.org>
25344 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25345 check for __NR_fadvise64_64.
25347 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25349 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25350 0, not just to plain "0" as a statement.
25351 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25354 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25356 * NEWS: Use sourceware.org in Bugzilla URL.
25358 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25361 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25363 * stdio-common/tst-put-error.c (do_test): Add newline to the
25364 padded test to ensure flush.
25366 2012-12-05 Jeff Law <law@redhat.com>
25368 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25370 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25372 * README: Don't refer to ports add-on as distributed separately.
25373 Mention AArch64 in list of systems supported in the ports add-on.
25375 * LICENSES: Add more non-FSF copyright and license notices.
25377 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25380 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25382 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25383 10000 as width of padded output.
25385 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25387 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25389 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25390 variable LX with __attribute__ ((unused)).
25391 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25393 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25394 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25395 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25396 with __attribute__ ((unused)).
25398 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25400 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25402 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25404 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25405 (CFLAGS-nldbl-acos.c): New variable.
25406 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25407 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25408 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25409 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25410 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25411 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25412 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25413 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25414 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25415 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25416 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25417 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25418 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25419 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25420 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25421 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25422 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25423 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25424 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25425 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25426 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25427 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25428 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25429 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25430 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25431 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25432 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25433 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25434 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25435 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25436 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25437 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25438 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25439 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25440 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25441 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25442 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25443 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25444 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25445 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25446 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25447 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25448 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25449 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25450 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25451 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25452 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25453 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25454 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25455 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25456 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25457 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25458 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25459 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25460 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25461 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25462 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25463 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25464 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25465 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25466 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25467 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25468 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25469 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25470 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25471 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25472 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25473 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25474 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25475 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25476 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25477 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25478 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25479 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25480 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25481 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25482 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25483 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25484 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25485 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25486 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25487 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25488 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25489 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25490 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25491 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25492 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25493 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25494 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25495 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25496 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25497 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25498 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25499 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25500 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25501 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25502 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25505 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25508 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25509 whole low double instead of just low 47 bits when splitting values
25512 2012-12-03 Allan McRae <allan@archlinux.org>
25514 * manual/stdio.texi (Predefined Printf Handlers): Remove
25515 @hsep and @vsep usage.
25517 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25519 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25520 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25522 2012-12-03 Jeff Law <law@redhat.com>
25524 * time/sys/time.h (settimeofday): Do not mark TV argument
25527 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25529 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25530 when currently writing and seek to current position when not.
25531 * libio/Makefile (tests): Remove bug-fclose1.
25532 * libio/bug-fclose1.c: Delete.
25534 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25536 * manual/arith.texi (feenableexcept): Fix typo.
25537 (fedisableexcept): Likewise.
25539 2012-11-30 Roland McGrath <roland@hack.frob.com>
25541 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25542 second, differently-typed declaration, rather than a cast.
25544 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25546 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25547 * include/rpc/svc.h: ... here.
25549 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25552 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25553 depending n and resplen2 to catch cases where answer
25556 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25558 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25559 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25561 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25563 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25565 2012-11-29 Roland McGrath <roland@hack.frob.com>
25567 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25569 2012-11-28 Jeff Law <law@redhat.com>
25572 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25573 dataset_temporary. Track alloca usage into alloca_used.
25574 If dataset is large allocate and release it via malloc/free.
25576 2012-06-04 Florian Weimer <fweimer@redhat.com>
25579 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25581 2012-11-28 David S. Miller <davem@davemloft.net>
25583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25585 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25588 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25589 of pi/2 rounded to nearest to 64 bits.
25590 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25591 nearest to 64 bits.
25592 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25595 2012-11-28 Jeff Law <law@redhat.com>
25596 Martin Osvald <mosvald@redhat.com>
25599 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25600 * sunrpc/svc.c: Include time.h.
25601 (__svc_accept_failed): New function.
25602 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25603 any reason other than EINTR, call __svc_accept_failed.
25604 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25605 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25607 2012-11-28 Andreas Schwab <schwab@suse.de>
25609 * scripts/abilist.awk: Also handle indirect functions in .opd
25612 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25615 * sysdeps/x86/fpu/powl_helper.c: New file.
25616 * sysdeps/x86/fpu/Makefile: Likewise.
25617 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25619 (__ieee754_powl): Use __powl_helper for finite arguments except
25620 integer exponents below 8.
25621 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25623 (__ieee754_powl): Use __powl_helper for finite arguments except
25624 integer exponents below 8.
25625 * math/libm-test.inc (pow_test): Add more tests and enable some
25626 previously disabled tests.
25627 * sysdeps/i386/fpu/libm-test-ulps: Update.
25628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25630 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25631 Carlos O'Donell <carlos_odonell@mentor.com>
25633 * nss/makedb.c (is_prime): Assert that input is odd and greater
25634 than 4. Note that fact in a comment too.
25635 (next_prime): Add 4 to input.
25637 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25640 * libio/Makefile (tests): Add test case tst-fwrite-error.
25641 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25642 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25643 * libio/tst-fwrite-error.c: New test case.
25645 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25647 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25648 before casting to void *.
25649 * include/libc-internal.h (__pointer_type): New macro.
25650 (__integer_if_pointer_type_sub): Likewise.
25651 (__integer_if_pointer_type): Likewise.
25652 (cast_to_integer): Likewise.
25653 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25654 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25655 before casting to atomic64_t.
25656 (atomic_exchange_acq): Likewise.
25657 (__arch_exchange_and_add_body): Likewise.
25658 (__arch_add_body): Likewise.
25659 (atomic_add_negative): Likewise.
25660 (atomic_add_zero): Likewise.
25662 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25664 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25665 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25666 (add_fdes): Likewise.
25667 (linear_search_fdes): Likewise.
25668 (binary_search_unencoded_fdes): Likewise.
25670 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25672 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25674 2012-11-24 Adam Conrad <adconrad@0c3.net>
25676 * configure.in: Autodetect C++ header directories.
25677 * configure: Regenerated.
25679 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25681 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25683 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25687 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25689 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25690 LDBL_MANT_DIG == 106]: Disable some tests.
25691 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25693 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25697 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25698 input for small inputs. Return +/- pi/2 for large inputs.
25699 * math/libm-test.inc (atan_test): Add more tests.
25701 * sysdeps/generic/unwind-dw2-fde-glibc.c
25702 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25703 __attribute__ ((unused)).
25706 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25707 x * y if x and y are nonzero and z is zero.
25710 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25711 nonzero exponents with absolute value below 0x1p-117 to +/-
25715 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25716 up arguments below 2**-450, not just those below 2**-500.
25717 * math/libm-test.inc (hypot_test): Add another test.
25720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25721 Return a+b for ratio over 2**120, not 2**60.
25722 * math/libm-test.inc (hypot_test): Add another test.
25724 * math/libm-test.inc (clog_test): Use
25725 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25726 (clog10_test): Likewise.
25729 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25731 2012-11-22 Andreas Schwab <schwab@suse.de>
25733 * sysdeps/i386/fpu/libm-test-ulps: Update.
25735 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25737 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25738 printf output with newline.
25740 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25743 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25744 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25745 -z nodlopen, -z initfirst and -z execstack support.
25746 * configure: Regenerated.
25748 * elf/elf.h (DF_1_NODIRECT): New macro.
25749 (DF_1_IGNMULDEF): Likewise.
25750 (DF_1_NOKSYMS): Likewise.
25751 (DF_1_NOHDR): Likewise.
25752 (DF_1_EDITED): Likewise.
25753 (DF_1_NORELOC): Likewise.
25754 (DF_1_SYMINTPOSE): Likewise.
25755 (DF_1_GLOBAUDIT): Likewise.
25756 (DF_1_SINGLETON): Likewise.
25757 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25758 DT_1_SUPPORTED_MASK bits.
25759 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25761 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25763 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25765 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25767 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25770 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25771 (sendmmsg): Move declarations...
25772 * socket/sys/socket.h: ... here.
25773 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25774 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25776 * socket/recvmmsg.c: ... this new file.
25777 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25778 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25779 definition of __sendmmsg hidden.
25780 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25781 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25782 Move ENOSYS stub into and include it from...
25783 * socket/sendmmsg.c: ... this new file.
25784 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25785 (sysdep_routines): Move recvmmsg and sendmmsg...
25786 * socket/Makefile (routines): ... here.
25787 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25788 (GLIBC_PRIVATE): Add __sendmmsg.
25789 * include/sys/socket.h (__sendmmsg): Add declarations.
25790 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25793 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25795 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25796 variable I1 with __attribute__ ((unused)).
25797 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25799 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25801 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25802 DUMMY variables with __attribute__ ((unused)).
25804 * bits/byteswap.h: Include <bits/types.h>.
25805 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25807 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25809 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25810 string_t. Do not manually set errno.
25811 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25812 length with __strnlen. Make sure to both set errno and return it on
25815 2012-11-19 David S. Miller <davem@davemloft.net>
25817 With help from Joseph Myers.
25818 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25819 very large arguments properly.
25820 * math/libm-test.inc (atan_test): New tests.
25821 (atan2_test): New tests.
25822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25825 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25828 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25831 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25832 [POSIX] (EADDRNOTAVAIL): Likewise.
25833 [POSIX] (EAFNOSUPPORT): Likewise.
25834 [POSIX] (EALREADY): Likewise.
25835 [POSIX] (ECONNABORTED): Likewise.
25836 [POSIX] (ECONNREFUSED): Likewise.
25837 [POSIX] (ECONNRESET): Likewise.
25838 [POSIX] (EDESTADDRREQ): Likewise.
25839 [POSIX] (EDQUOT): Likewise.
25840 [POSIX] (EHOSTUNREACH): Likewise.
25841 [POSIX] (EIDRM): Likewise.
25842 [POSIX] (EISCONN): Likewise.
25843 [POSIX] (ELOOP): Likewise.
25844 [POSIX] (EMULTIHOP): Likewise.
25845 [POSIX] (ENETDOWN): Likewise.
25846 [POSIX] (ENETUNREACH): Likewise.
25847 [POSIX] (ENOBUFS): Likewise.
25848 [POSIX] (ENODATA): Likewise.
25849 [POSIX] (ENOLINK): Likewise.
25850 [POSIX] (ENOMSG): Likewise.
25851 [POSIX] (ENOPROTOOPT): Likewise.
25852 [POSIX] (ENOSR): Likewise.
25853 [POSIX] (ENOSTR): Likewise.
25854 [POSIX] (ENOTCONN): Likewise.
25855 [POSIX] (ENOTSOCK): Likewise.
25856 [POSIX] (EOPNOTSUPP): Likewise.
25857 [POSIX] (EOVERFLOW): Likewise.
25858 [POSIX] (EPROTO): Likewise.
25859 [POSIX] (EPROTONOSUPPORT): Likewise.
25860 [POSIX] (EPROTOTYPE): Likewise.
25861 [POSIX] (ESTALE): Likewise.
25862 [POSIX] (ETIME): Likewise.
25863 [POSIX] (ETXTBSY): Likewise.
25864 [POSIX] (EWOULDBLOCK): Likewise.
25865 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25866 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25867 [POSIX] (SEEK_CUR): Likewise.
25868 [POSIX] (SEEK_END): Likewise.
25869 [POSIX || UNIX98] (mode_t): Do not require.
25870 [POSIX] (off_t): Likewise.
25871 [POSIX] (pid_t): Likewise.
25872 [POSIX] (sys/stat.h): Do not allow header.
25873 [POSIX] (unistd.h): Likewise.
25874 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25875 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25876 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25877 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25879 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25880 sigevent): Specify elements.
25881 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25883 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25884 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25886 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25887 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25888 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25889 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25890 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25891 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25892 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25893 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25894 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25895 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25896 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25897 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25898 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25899 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25901 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25903 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25905 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25907 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25908 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25909 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25910 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25911 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25912 Specify lower bound on value.
25913 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25914 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25916 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25917 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25918 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25919 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25920 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25922 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25924 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25925 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25926 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25927 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25928 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25931 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25932 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25933 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25934 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25937 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25938 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25939 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25941 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25943 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25944 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25945 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25946 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25947 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25948 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25950 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25951 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25952 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25953 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25954 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25955 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25956 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25958 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25959 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25960 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25961 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25962 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25963 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25964 specify as optional.
25965 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25966 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25967 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25968 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25969 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25970 [XPG3] (NL_LANGMAX): Likewise.
25971 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25972 [POSIX || XPG3] (NL_NMAX): Likewise.
25973 [POSIX || XPG3] (NL_SETMAX): Likewise.
25974 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25975 [XPG3] (NZERO): Likewise.
25976 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25977 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25978 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25979 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25980 (REG_ERANGE): Expect.
25981 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25983 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25984 Use (void) in prototype.
25985 [POSIX] (*_t): Allow.
25986 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25987 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25988 (WRDE_BADVAL): Expect.
25990 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25992 [XPG3 || XPG4] (O_RSYNC): Likewise.
25993 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25995 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25996 [XPG3 || XPG4] (sigqueue): Likewise.
25997 [XPG3 || XPG4] (sigtimedwait): Likewise.
25998 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25999 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26000 [XPG3 || XPG4] (vsnprintf): Likewise.
26001 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26003 [XPG3 || XPG4] (blksize_t): Likewise.
26004 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26006 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26007 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26008 [XPG3 || XPG4] (struct itimerspec): Likewise.
26009 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26010 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26011 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26012 [XPG3 || XPG4] (clockid_t): Likewise.
26013 [XPG3 || XPG4] (timer_t): Likewise.
26014 [XPG3 || XPG4] (clock_getres): Likewise.
26015 [XPG3 || XPG4] (clock_gettime): Likewise.
26016 [XPG3 || XPG4] (clock_settime): Likewise.
26017 [XPG3 || XPG4] (nanosleep): Likewise.
26018 [XPG3 || XPG4] (timer_create): Likewise.
26019 [XPG3 || XPG4] (timer_delete): Likewise.
26020 [XPG3 || XPG4] (timer_gettime): Likewise.
26021 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26022 [XPG3 || XPG4] (timer_settime): Likewise.
26023 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26024 [XPG3 || XPG4] (getlogin_r): Likewise.
26025 [XPG3 || XPG4] (pread): Likewise.
26026 [XPG3 || XPG4] (pthread_atfork): Likewise.
26027 [XPG3 || XPG4] (pwrite): Likewise.
26030 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26033 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26035 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26036 finalizing MALLSTREAM.
26038 * sysdeps/mach/hurd/syncfs.c: New file.
26040 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26043 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26044 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26045 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26046 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26047 (_nss_dns_gethostbyname4_r): Likewise.
26048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26049 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26051 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26054 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26056 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26058 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26059 * elf/cache.c (print_entry): Print ",AArch64" for
26062 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26063 * elf/cache.c (print_entry): Print ",hard-float" for
26066 2012-11-18 David S. Miller <davem@davemloft.net>
26068 With help from Joseph Myers.
26069 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26071 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26073 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26074 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26076 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26077 * math/libm-test.inc (y0_test): New tests.
26078 (y1_test): New tests.
26079 * sysdeps/i386/fpu/libm-test-ulps: Update.
26080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26083 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26085 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26087 * configure: Regenerated.
26089 2012-11-17 David S. Miller <davem@davemloft.net>
26092 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26093 nonzero exponents with absolute value below 0x1p-128 to +/-
26096 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26098 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26100 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26102 * posix/getconf-speclist.c: New file.
26103 * posix/posix-envs.def: Likewise.
26104 * posix/confstr.c (START_ENV_GROUP): New macro.
26105 (END_ENV_GROUP): Likewise.
26106 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26107 (KNOWN_PRESENT_ENV_STRING): Likewise.
26108 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26109 (UNKNOWN_ENVIRONMENT): Likewise.
26110 (confstr): Include posix-envs.def instead of handling
26111 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26112 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26113 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26114 (END_ENV_GROUP): Likewise.
26115 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26116 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26117 (UNKNOWN_ENVIRONMENT): Likewise.
26118 (__sysconf): Include posix-envs.def instead of handling associated
26119 cases directly here.
26120 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26121 preprocessing getconf-speclist.c rather than running getconf or
26122 generating empty file.
26124 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26126 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26128 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26131 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26133 2012-11-16 David S. Miller <davem@davemloft.net>
26135 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26136 smaller than LDBL_EPSILON/2.0L, just return xm1.
26138 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26140 * elf/tst-array1.c (init): Set constructor priority to 1000.
26141 (fini): Set destructor priority to 1000.
26142 * elf/tst-array2dep.c: Likewise.
26144 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26147 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26148 (_IO_new_file_xsputn): Also return EOF if none of the input
26149 data was written when overflow failed.
26150 * libio/iopadn.c (_IO_padn): Likewise.
26151 * libio/iowpadn.c (_IO_wpadn): Likewise.
26152 * stdio-common/tst-put-error.c: Add copyright notice.
26153 (do_test): Add case for printing padded string.
26154 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26155 _IO_padn returned error.
26156 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26157 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26160 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26162 * libio/libioP.h: Add comment note that the references to C++
26163 bits are now obsolete.
26165 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26167 * math/libm-test.inc (check_complex): Use asprintf.
26169 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26171 * debug/pcprofiledump.c (print_version): Update copyright year.
26172 * malloc/memusagestat.c (print_version): Likewise.
26174 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26177 * elf/Makefile (tests): Add tst-audit8.
26178 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26179 ($(objpfx)tst-audit8.out): New target.
26180 (tst-audit8-ENV): New variable.
26181 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26182 audit if l_reloc_result is NULL.
26183 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26184 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26185 * elf/tst-audit8.c: New file.
26187 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26189 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26190 * misc/Makefile (CFLAGS-select.c): Define.
26191 * posix/Makefile (CFLAGS-pause.c): Define.
26193 2012-11-13 David S. Miller <davem@davemloft.net>
26195 * crypt/Makefile: Move test targets after toplevel Rules
26196 inclusion. Grab any necessary sysdep routines when linking.
26197 * crypt/md5.c (md5_process_block): Remove define, we will always
26198 name it __md5_process_block.
26199 (md5_finish_ctx): Update md5_process_block call.
26200 (md5_stream): Likewise.
26201 (md5_process_bytes): Likewise.
26202 (md5_process_block): Rename to __md5_process_block and move to ...
26203 * crypt/md5-block.c: ... here.
26204 * crypt/sha256.c (sha256_process_block): Move to ...
26205 * crypt/sha256-block.c: ... here.
26206 * crypt/sha512.c (sha512_process_block): Move to ...
26207 * crypt/sha512-block.c: ... here.
26208 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26210 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26211 * sysdeps/sparc/sparc64/multiarch/Makefile
26212 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26214 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26215 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26217 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26218 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26219 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26220 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26221 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26222 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26223 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26224 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26225 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26227 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26228 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26230 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26232 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26234 * timezone/tzselect.ksh: Update from tzcode git revision
26235 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26236 * timezone/zdump.c: Likewise.
26237 * timezone/zic.c: Likewise.
26238 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26239 in TZVERSION setting, not $(PKGVERSION).
26240 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26241 REPORT_BUGS_TO settings.
26244 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26247 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26249 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26250 detection to immediately after _FP_ROUND().
26251 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26254 2012-11-11 David S. Miller <davem@davemloft.net>
26256 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26258 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26259 __close rather than their public counterparts.
26261 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26263 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26265 [UNIX98] (sem_timedwait): Do not expect.
26266 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26267 [XPG4 || UNIX98] (sockatmark): Do not expect.
26268 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26269 (clock_getcpuclockid): Do not expect.
26270 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26271 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26273 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26274 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26275 [UNIX98] (vwscanf): Likewise.
26276 [UNIX98] (vswscanf): Likewise.
26278 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26280 * timezone/version.h: Remove file.
26281 * timezone/README: Do not refer to version.h.
26282 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26283 $(objpfx)version.h.
26284 ($(objpfx)zdump.o): Likewise.
26285 ($(objpfx)version.h): New target.
26287 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26289 * timezone/README: Don't mention modification to tzselect.ksh.
26290 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26291 work on unmodified tzselect.ksh. Substitute version numbers in
26294 * Makefile (format-me): Remove.
26295 (INSTALL): Adjust indentation. Use commands directly instead of
26296 using $(format-me).
26298 * aclocal.m4 (ACX_PKGVERSION): New macro.
26299 (ACX_BUGURL): Likewise.
26300 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26301 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26302 (REPORT_BUGS_TO): Likewise.
26303 * configure: Regenerated.
26304 * config.h.in (PKGVERSION): New macro.
26305 (REPORT_BUGS_TO): Likewise.
26306 * config.make.in (PKGVERSION): New variable.
26307 (PKGVERSION_TEXI): Likewise.
26308 (REPORT_BUGS_TO): Likewise.
26309 (REPORT_BUGS_TEXI): Likewise.
26310 * Makefile (format-me): Use -I$(common-objpfx)manual.
26311 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26312 ($(common-objpfx)manual/%): New target.
26313 (manual/%): Remove target.
26314 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26315 (print_version): Use PKGVERSION.
26316 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26317 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26318 and REPORT_BUGS_TO.
26319 ($(objpfx)xtrace): Likewise.
26320 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26321 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26322 (print_version): Use PKGVERSION.
26323 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26324 (do_version): Use PKGVERSION.
26325 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26327 (common-ldd-rewrite): Likewise.
26328 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26329 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26330 (print_version): Use PKGVERSION.
26331 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26332 * elf/pldd.c (argp_program_bug_address): Remove variable.
26333 (more_help): New function.
26334 (argp): Use more_help.
26335 (print_version): Use PKGVERSION.
26336 * elf/sln.c (main): Use PKGVERSION.
26337 (usage): Use REPORT_BUGS_TO.
26338 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26339 (top level): Use PKGVERSION.
26340 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26341 (print_version): Use PKGVERSION.
26342 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26343 (print_version): Use PKGVERSION.
26344 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26345 (print_version): Use PKGVERSION.
26346 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26347 (print_version): Use PKGVERSION.
26348 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26349 (print_version): Use PKGVERSION.
26350 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26351 (print_version): Use PKGVERSION.
26352 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26354 ($(objpfx)memusage): Likewise.
26355 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26356 (do_version): Use PKGVERSION.
26357 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26358 (print_version): Use PKGVERSION.
26359 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26360 ($PKGVERSION): New variable.
26361 ($REPORT_BUGS_TO): Likewise.
26362 (usage): Use $REPORT_BUGS_TO.
26363 (top level): Use $PKGVERSION.
26364 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26365 ($(objpfx)pkgvers.texi): New rule.
26366 ($(objpfx)stamp-pkgvers): Likewise.
26367 * manual/install.texi: Include pkgvers.texi.
26368 (--with-pkgversion): Document new configure option.
26369 (--with-bugurl): Likewise.
26370 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26371 than necessarily for this particular distribution. Use
26372 REPORT_BUGS_TO for where to report bugs.
26373 * INSTALL: Regenerated.
26374 * manual/libc.texinfo: Include pkgvers.texi.
26375 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26376 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26377 (print_version): Use PKGVERSION.
26378 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26379 (print_version): Use PKGVERSION.
26380 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26381 (print_version): Use PKGVERSION.
26382 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26383 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26385 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26386 (print_version): Use PKGVERSION.
26387 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26388 (print_version): Use PKGVERSION.
26389 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26392 * timezone/checktab.awk: Update from tzcode 2012i.
26393 * timezone/ialloc.c: Likewise.
26394 * timezone/private.h: Likewise.
26395 * timezone/scheck.c: Likewise.
26396 * timezone/tzfile.h: Likewise.
26397 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26398 (TZVERSION): Hardcode tzcode version number.
26399 * timezone/zdump.c: Update from tzcode 2012i.
26400 * timezone/zic.c: Likewise.
26401 * timezone/version.h: New file.
26402 * timezone/README: Describe version.h. Update upstream location.
26405 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26406 (mktemp): Enable declaration.
26407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26408 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26409 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26410 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26424 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26425 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26426 for copies of such integer values.
26427 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26428 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26430 2012-11-09 Andreas Jaeger <aj@suse.de>
26432 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26433 definitions and declarations that are provided by
26434 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26436 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26438 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26439 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26440 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26443 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26445 * elf/elf.h: Update comment before AArch64 relocations.
26447 2012-11-07 David S. Miller <davem@davemloft.net>
26449 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26450 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26451 (__start_context): Declare.
26452 (__makecontext_ret): Delete.
26453 (__makecontext): Hook up __start_context instead of
26455 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26456 (sysdep_routines): Add __start_context when in stdlib.
26458 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26460 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26461 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26462 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26464 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26465 (READELF): New variable. Use it instead of hardcoded "readelf".
26467 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26469 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26470 * sysdeps/x86/Makefile: Here.
26471 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26472 * sysdeps/x86/tst-xmmymm.sh: This.
26474 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26476 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26478 [UNIX98] (pthread_barrier_t): Do not expect.
26479 [UNIX98] (pthread_barrierattr_t): Likewise.
26480 [UNIX98] (pthread_spinlock_t): Likewise.
26481 [UNIX98] (pthread_barrier_destroy): Likewise.
26482 [UNIX98] (pthread_barrier_init): Likewise.
26483 [UNIX98] (pthread_barrier_wait): Likewise.
26484 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26485 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26486 [UNIX98] (pthread_barrierattr_init): Likewise.
26487 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26488 [UNIX98] (pthread_getcpuclockid): Likewise.
26489 [UNIX98] (pthread_mutex_timedlock): Likewise.
26490 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26491 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26492 [UNIX98] (pthread_sigmask): Likewise.
26493 [UNIX98] (pthread_spin_destroy): Likewise.
26494 [UNIX98] (pthread_spin_init): Likewise.
26495 [UNIX98] (pthread_spin_lock): Likewise.
26496 [UNIX98] (pthread_spin_trylock): Likewise.
26497 [UNIX98] (pthread_spin_unlock): Likewise.
26498 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26500 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26501 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26502 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26503 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26504 [XPG3 || XPG4] (pthread_key_t): Likewise.
26505 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26506 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26507 [XPG3 || XPG4] (pthread_once_t): Likewise.
26508 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26509 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26510 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26511 [XPG3 || XPG4] (pthread_t): Likewise.
26513 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26515 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26517 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26518 Change function return type to int.
26520 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26521 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26522 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26523 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26524 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26525 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26526 [!POSIX] (posix_madvise): Likewise.
26527 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26529 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26530 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26531 (mode_t): Likewise.
26532 (posix_mem_offset): Likewise.
26533 (posix_typed_mem_get_info): Likewise.
26534 (posix_typed_mem_open): Likewise.
26536 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26537 Change condition to [XOPEN2K8].
26539 * conform/conformtest.pl: Preprocess allow-header data with -x c
26540 instead of from stdin.
26541 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26542 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26543 [C99-based standards] (cerfc): Likewise.
26544 [C99-based standards] (cexp2): Likewise.
26545 [C99-based standards] (cexpm1): Likewise.
26546 [C99-based standards] (clog10): Likewise.
26547 [C99-based standards] (clog1p): Likewise.
26548 [C99-based standards] (clog2): Likewise.
26549 [C99-based standards] (clgamma): Likewise.
26550 [C99-based standards] (ctgamma): Likewise.
26551 [C99-based standards] (cerff): Likewise.
26552 [C99-based standards] (cerfcf): Likewise.
26553 [C99-based standards] (cexp2f): Likewise.
26554 [C99-based standards] (cexpm1f): Likewise.
26555 [C99-based standards] (clog10f): Likewise.
26556 [C99-based standards] (clog1pf): Likewise.
26557 [C99-based standards] (clog2f): Likewise.
26558 [C99-based standards] (clgammaf): Likewise.
26559 [C99-based standards] (ctgammaf): Likewise.
26560 [C99-based standards] (cerfl): Likewise.
26561 [C99-based standards] (cerfcl): Likewise.
26562 [C99-based standards] (cexp2l): Likewise.
26563 [C99-based standards] (cexpm1l): Likewise.
26564 [C99-based standards] (clog10l): Likewise.
26565 [C99-based standards] (clog1pl): Likewise.
26566 [C99-based standards] (clog2l): Likewise.
26567 [C99-based standards] (clgammal): Likewise.
26568 [C99-based standards] (ctgammal): Likewise.
26569 * conform/data/inttypes.h-data [C99-based standards]: Include
26570 stdint.h-data. Remove all expectations for stdint.h contents.
26571 [C99-based standards] (PRI*): Do not allow.
26572 [C99-based standards] (SCN*): Likewise.
26573 [C99-based standards] (*_t): Likewise.
26574 [C99-based-standards] (PRId8): Expect macro.
26575 [C99-based-standards] (PRIi8): Likewise.
26576 [C99-based-standards] (PRIo8): Likewise.
26577 [C99-based-standards] (PRIu8): Likewise.
26578 [C99-based-standards] (PRIx8): Likewise.
26579 [C99-based-standards] (PRIX8): Likewise.
26580 [C99-based-standards] (SCNd8): Likewise.
26581 [C99-based-standards] (SCNi8): Likewise.
26582 [C99-based-standards] (SCNo8): Likewise.
26583 [C99-based-standards] (SCNu8): Likewise.
26584 [C99-based-standards] (SCNx8): Likewise.
26585 [C99-based-standards] (PRIdLEAST8): Likewise.
26586 [C99-based-standards] (PRIiLEAST8): Likewise.
26587 [C99-based-standards] (PRIoLEAST8): Likewise.
26588 [C99-based-standards] (PRIuLEAST8): Likewise.
26589 [C99-based-standards] (PRIxLEAST8): Likewise.
26590 [C99-based-standards] (PRIXLEAST8): Likewise.
26591 [C99-based-standards] (SCNdLEAST8): Likewise.
26592 [C99-based-standards] (SCNiLEAST8): Likewise.
26593 [C99-based-standards] (SCNoLEAST8): Likewise.
26594 [C99-based-standards] (SCNuLEAST8): Likewise.
26595 [C99-based-standards] (SCNxLEAST8): Likewise.
26596 [C99-based-standards] (PRIdFAST8): Likewise.
26597 [C99-based-standards] (PRIiFAST8): Likewise.
26598 [C99-based-standards] (PRIoFAST8): Likewise.
26599 [C99-based-standards] (PRIuFAST8): Likewise.
26600 [C99-based-standards] (PRIxFAST8): Likewise.
26601 [C99-based-standards] (PRIXFAST8): Likewise.
26602 [C99-based-standards] (SCNdFAST8): Likewise.
26603 [C99-based-standards] (SCNiFAST8): Likewise.
26604 [C99-based-standards] (SCNoFAST8): Likewise.
26605 [C99-based-standards] (SCNuFAST8): Likewise.
26606 [C99-based-standards] (SCNxFAST8): Likewise.
26607 [C99-based-standards] (PRId16): Likewise.
26608 [C99-based-standards] (PRIi16): Likewise.
26609 [C99-based-standards] (PRIo16): Likewise.
26610 [C99-based-standards] (PRIu16): Likewise.
26611 [C99-based-standards] (PRIx16): Likewise.
26612 [C99-based-standards] (PRIX16): Likewise.
26613 [C99-based-standards] (SCNd16): Likewise.
26614 [C99-based-standards] (SCNi16): Likewise.
26615 [C99-based-standards] (SCNo16): Likewise.
26616 [C99-based-standards] (SCNu16): Likewise.
26617 [C99-based-standards] (SCNx16): Likewise.
26618 [C99-based-standards] (PRIdLEAST16): Likewise.
26619 [C99-based-standards] (PRIiLEAST16): Likewise.
26620 [C99-based-standards] (PRIoLEAST16): Likewise.
26621 [C99-based-standards] (PRIuLEAST16): Likewise.
26622 [C99-based-standards] (PRIxLEAST16): Likewise.
26623 [C99-based-standards] (PRIXLEAST16): Likewise.
26624 [C99-based-standards] (SCNdLEAST16): Likewise.
26625 [C99-based-standards] (SCNiLEAST16): Likewise.
26626 [C99-based-standards] (SCNoLEAST16): Likewise.
26627 [C99-based-standards] (SCNuLEAST16): Likewise.
26628 [C99-based-standards] (SCNxLEAST16): Likewise.
26629 [C99-based-standards] (PRIdFAST16): Likewise.
26630 [C99-based-standards] (PRIiFAST16): Likewise.
26631 [C99-based-standards] (PRIoFAST16): Likewise.
26632 [C99-based-standards] (PRIuFAST16): Likewise.
26633 [C99-based-standards] (PRIxFAST16): Likewise.
26634 [C99-based-standards] (PRIXFAST16): Likewise.
26635 [C99-based-standards] (SCNdFAST16): Likewise.
26636 [C99-based-standards] (SCNiFAST16): Likewise.
26637 [C99-based-standards] (SCNoFAST16): Likewise.
26638 [C99-based-standards] (SCNuFAST16): Likewise.
26639 [C99-based-standards] (SCNxFAST16): Likewise.
26640 [C99-based-standards] (PRId32): Likewise.
26641 [C99-based-standards] (PRIi32): Likewise.
26642 [C99-based-standards] (PRIo32): Likewise.
26643 [C99-based-standards] (PRIu32): Likewise.
26644 [C99-based-standards] (PRIx32): Likewise.
26645 [C99-based-standards] (PRIX32): Likewise.
26646 [C99-based-standards] (SCNd32): Likewise.
26647 [C99-based-standards] (SCNi32): Likewise.
26648 [C99-based-standards] (SCNo32): Likewise.
26649 [C99-based-standards] (SCNu32): Likewise.
26650 [C99-based-standards] (SCNx32): Likewise.
26651 [C99-based-standards] (PRIdLEAST32): Likewise.
26652 [C99-based-standards] (PRIiLEAST32): Likewise.
26653 [C99-based-standards] (PRIoLEAST32): Likewise.
26654 [C99-based-standards] (PRIuLEAST32): Likewise.
26655 [C99-based-standards] (PRIxLEAST32): Likewise.
26656 [C99-based-standards] (PRIXLEAST32): Likewise.
26657 [C99-based-standards] (SCNdLEAST32): Likewise.
26658 [C99-based-standards] (SCNiLEAST32): Likewise.
26659 [C99-based-standards] (SCNoLEAST32): Likewise.
26660 [C99-based-standards] (SCNuLEAST32): Likewise.
26661 [C99-based-standards] (SCNxLEAST32): Likewise.
26662 [C99-based-standards] (PRIdFAST32): Likewise.
26663 [C99-based-standards] (PRIiFAST32): Likewise.
26664 [C99-based-standards] (PRIoFAST32): Likewise.
26665 [C99-based-standards] (PRIuFAST32): Likewise.
26666 [C99-based-standards] (PRIxFAST32): Likewise.
26667 [C99-based-standards] (PRIXFAST32): Likewise.
26668 [C99-based-standards] (SCNdFAST32): Likewise.
26669 [C99-based-standards] (SCNiFAST32): Likewise.
26670 [C99-based-standards] (SCNoFAST32): Likewise.
26671 [C99-based-standards] (SCNuFAST32): Likewise.
26672 [C99-based-standards] (SCNxFAST32): Likewise.
26673 [C99-based-standards] (PRId64): Likewise.
26674 [C99-based-standards] (PRIi64): Likewise.
26675 [C99-based-standards] (PRIo64): Likewise.
26676 [C99-based-standards] (PRIu64): Likewise.
26677 [C99-based-standards] (PRIx64): Likewise.
26678 [C99-based-standards] (PRIX64): Likewise.
26679 [C99-based-standards] (SCNd64): Likewise.
26680 [C99-based-standards] (SCNi64): Likewise.
26681 [C99-based-standards] (SCNo64): Likewise.
26682 [C99-based-standards] (SCNu64): Likewise.
26683 [C99-based-standards] (SCNx64): Likewise.
26684 [C99-based-standards] (PRIdLEAST64): Likewise.
26685 [C99-based-standards] (PRIiLEAST64): Likewise.
26686 [C99-based-standards] (PRIoLEAST64): Likewise.
26687 [C99-based-standards] (PRIuLEAST64): Likewise.
26688 [C99-based-standards] (PRIxLEAST64): Likewise.
26689 [C99-based-standards] (PRIXLEAST64): Likewise.
26690 [C99-based-standards] (SCNdLEAST64): Likewise.
26691 [C99-based-standards] (SCNiLEAST64): Likewise.
26692 [C99-based-standards] (SCNoLEAST64): Likewise.
26693 [C99-based-standards] (SCNuLEAST64): Likewise.
26694 [C99-based-standards] (SCNxLEAST64): Likewise.
26695 [C99-based-standards] (PRIdFAST64): Likewise.
26696 [C99-based-standards] (PRIiFAST64): Likewise.
26697 [C99-based-standards] (PRIoFAST64): Likewise.
26698 [C99-based-standards] (PRIuFAST64): Likewise.
26699 [C99-based-standards] (PRIxFAST64): Likewise.
26700 [C99-based-standards] (PRIXFAST64): Likewise.
26701 [C99-based-standards] (SCNdFAST64): Likewise.
26702 [C99-based-standards] (SCNiFAST64): Likewise.
26703 [C99-based-standards] (SCNoFAST64): Likewise.
26704 [C99-based-standards] (SCNuFAST64): Likewise.
26705 [C99-based-standards] (SCNxFAST64): Likewise.
26706 [C99-based-standards] (PRIdMAX): Likewise.
26707 [C99-based-standards] (PRIiMAX): Likewise.
26708 [C99-based-standards] (PRIoMAX): Likewise.
26709 [C99-based-standards] (PRIuMAX): Likewise.
26710 [C99-based-standards] (PRIxMAX): Likewise.
26711 [C99-based-standards] (PRIXMAX): Likewise.
26712 [C99-based-standards] (SCNdMAX): Likewise.
26713 [C99-based-standards] (SCNiMAX): Likewise.
26714 [C99-based-standards] (SCNoMAX): Likewise.
26715 [C99-based-standards] (SCNuMAX): Likewise.
26716 [C99-based-standards] (SCNxMAX): Likewise.
26717 [C99-based-standards] (PRIdPTR): Likewise.
26718 [C99-based-standards] (PRIiPTR): Likewise.
26719 [C99-based-standards] (PRIoPTR): Likewise.
26720 [C99-based-standards] (PRIuPTR): Likewise.
26721 [C99-based-standards] (PRIxPTR): Likewise.
26722 [C99-based-standards] (PRIXPTR): Likewise.
26723 [C99-based-standards] (SCNdPTR): Likewise.
26724 [C99-based-standards] (SCNiPTR): Likewise.
26725 [C99-based-standards] (SCNoPTR): Likewise.
26726 [C99-based-standards] (SCNuPTR): Likewise.
26727 [C99-based-standards] (SCNxPTR): Likewise.
26728 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26730 * conform/data/stdint.h-data: Update comments to clarify
26732 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26734 [C99-based standards] (INT8_MAX): Likewise.
26735 [C99-based standards] (INT16_MIN): Likewise.
26736 [C99-based standards] (INT16_MAX): Likewise.
26737 [C99-based standards] (INT32_MIN): Likewise.
26738 [C99-based standards] (INT32_MAX): Likewise.
26739 [C99-based standards] (INT64_MIN): Likewise.
26740 [C99-based standards] (INT64_MAX): Likewise.
26741 [C99-based standards] (UINT8_MAX): Likewise.
26742 [C99-based standards] (UINT16_MAX): Likewise.
26743 [C99-based standards] (UINT32_MAX): Likewise.
26744 [C99-based standards] (UINT64_MAX): Likewise.
26745 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26746 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26747 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26748 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26749 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26750 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26751 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26752 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26753 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26754 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26755 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26756 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26757 [C99-based standards] (INT_FAST8_MIN): Likewise.
26758 [C99-based standards] (INT_FAST8_MAX): Likewise.
26759 [C99-based standards] (INT_FAST16_MIN): Likewise.
26760 [C99-based standards] (INT_FAST16_MAX): Likewise.
26761 [C99-based standards] (INT_FAST32_MIN): Likewise.
26762 [C99-based standards] (INT_FAST32_MAX): Likewise.
26763 [C99-based standards] (INT_FAST64_MIN): Likewise.
26764 [C99-based standards] (INT_FAST64_MAX): Likewise.
26765 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26766 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26767 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26768 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26769 [C99-based standards] (INTPTR_MIN): Likewise.
26770 [C99-based standards] (INTPTR_MAX): Likewise.
26771 [C99-based standards] (UINTPTR_MAX): Likewise.
26772 [C99-based standards] (INTMAX_MIN): Likewise.
26773 [C99-based standards] (INTMAX_MAX): Likewise.
26774 [C99-based standards] (UINTMAX_MAX): Likewise.
26775 [C99-based standards] (PTRDIFF_MIN): Likewise.
26776 [C99-based standards] (PTRDIFF_MAX): Likewise.
26777 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26778 [C99-based standards] (SIZE_MAX): Likewise.
26779 [C99-based standards] (WCHAR_MAX): Likewise.
26780 [C99-based standards] (WINT_MAX): Likewise.
26781 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26782 constraint on value.
26783 [C99-based standards] (WCHAR_MIN): Likewise.
26784 [C99-based standards] (WINT_MIN): Likewise.
26785 [C99-based standards] (*_t): Allow.
26786 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26787 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26788 Include math.h-data and complex.h-data. Remove all expectations
26789 of math.h and complex.h contents.
26790 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26792 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26793 (struct tm): Expect tag.
26794 [C99-based-standards] (wcstof): Expect function.
26795 [C99-based-standards] (wcstold): Likewise.
26796 [C99-based-standards] (wcstoll): Likewise.
26797 [C99-based-standards] (wcstoull): Likewise.
26798 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26799 macro-int-constant. Specify type.
26800 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26801 constraint on value.
26802 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26804 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26806 [ISO C standards]: Do not allow headers.
26807 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26808 wcs[abcdefghijklmnopqrstuvwxyz]*.
26809 [ISO C standards] (*_t): Do not allow.
26810 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26812 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26813 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26815 [ISO C standards]: Do not allow headers.
26816 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26817 is[abcdefghijklmnopqrstuvwxyz]*.
26818 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26819 to[abcdefghijklmnopqrstuvwxyz]*.
26820 [ISO C standards] (*_t): Do not allow.
26821 * conform/data/stdalign.h-data: New file.
26822 * conform/data/stdbool.h-data: Likewise.
26823 * conform/data/stdnoreturn.h-data: Likewise.
26825 2012-11-07 Roland McGrath <roland@hack.frob.com>
26828 * manual/filesys.texi (Directory Entries): Typo fix.
26829 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26831 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26833 * elf/elf.h (EM_AARCH64): New macro.
26834 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26835 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26836 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26837 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26838 (R_AARCH64_TLSDESC): Likewise.
26839 (NT_ARM_TLS): Likewise.
26840 (NT_ARM_HW_BREAK): Likewise.
26841 (NT_ARM_HW_WATCH): Likewise.
26843 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26846 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26847 (__ieee754_powl): Saturate nonzero exponents with absolute value
26848 below 0x1p-79 to +/- 0x1p-79.
26849 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26850 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26851 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26852 nonzero exponents with absolute value below 0x1p-32 to +/-
26854 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26855 (__ieee754_powl): Saturate nonzero exponents with absolute value
26856 below 0x1p-79 to +/- 0x1p-79.
26857 * math/libm-test.inc (pow_test): Add more tests.
26859 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26861 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26862 _dl_s390_cap_flags with kernel. Increase string length.
26863 (_dl_s390_platforms): Add z196 and zEC12.
26865 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26867 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26868 Change XOPEN21K to XOPEN2K.
26870 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26872 * string/memmove.c: Use memcpy when possible.
26874 2012-11-06 Andreas Jaeger <aj@suse.de>
26876 * po/eo.po: Update from translation team.
26878 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26882 exponent and small x and y exponents, scale x or y up. Increase
26883 by 2 the exponent used in scaling up.
26884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26885 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26886 * math/libm-test.inc (fma_test): Add more tests.
26887 (fma_test_towardzero): Likewise.
26888 (fma_test_downward): Likewise.
26889 (fma_test_upward): Likewise.
26891 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26894 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26898 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26899 namespace for names of struct fields.
26900 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26902 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26903 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26905 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26908 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26910 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26912 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26916 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26919 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26923 definitely overflow as x * y not x * y + z.
26924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26925 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26926 * math/libm-test.inc (fma_test): Add more tests.
26927 (fma_test_towardzero): Likewise.
26928 (fma_test_downward): Likewise.
26929 (fma_test_upward): Likewise.
26931 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26935 * include/stub-tag.h: Remove file.
26936 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26938 * manual/maint.texi (Porting): Don't reference it.
26939 * Makerules ($(objpfx)stubs): Likewise.
26940 * dirent/closedir.c: Don't include <stub-tag.h>.
26941 * dirent/dirfd.c: Likewise.
26942 * dirent/fdopendir.c: Likewise.
26943 * dirent/getdents.c: Likewise.
26944 * dirent/getdents64.c: Likewise.
26945 * dirent/opendir.c: Likewise.
26946 * dirent/readdir.c: Likewise.
26947 * dirent/readdir64.c: Likewise.
26948 * dirent/readdir64_r.c: Likewise.
26949 * dirent/readdir_r.c: Likewise.
26950 * dirent/rewinddir.c: Likewise.
26951 * dirent/seekdir.c: Likewise.
26952 * dirent/telldir.c: Likewise.
26953 * gmon/profil.c: Likewise.
26954 * grp/setgroups.c: Likewise.
26955 * inet/if_index.c: Likewise.
26956 * io/access.c: Likewise.
26957 * io/chdir.c: Likewise.
26958 * io/chmod.c: Likewise.
26959 * io/chown.c: Likewise.
26960 * io/close.c: Likewise.
26961 * io/dup.c: Likewise.
26962 * io/dup2.c: Likewise.
26963 * io/dup3.c: Likewise.
26964 * io/euidaccess.c: Likewise.
26965 * io/faccessat.c: Likewise.
26966 * io/fchdir.c: Likewise.
26967 * io/fchmod.c: Likewise.
26968 * io/fchmodat.c: Likewise.
26969 * io/fchown.c: Likewise.
26970 * io/fchownat.c: Likewise.
26971 * io/fcntl.c: Likewise.
26972 * io/flock.c: Likewise.
26973 * io/fstatfs.c: Likewise.
26974 * io/fstatfs64.c: Likewise.
26975 * io/fstatvfs.c: Likewise.
26976 * io/fstatvfs64.c: Likewise.
26977 * io/futimens.c: Likewise.
26978 * io/fxstat.c: Likewise.
26979 * io/fxstat64.c: Likewise.
26980 * io/fxstatat.c: Likewise.
26981 * io/fxstatat64.c: Likewise.
26982 * io/getcwd.c: Likewise.
26983 * io/isatty.c: Likewise.
26984 * io/lchmod.c: Likewise.
26985 * io/lchown.c: Likewise.
26986 * io/link.c: Likewise.
26987 * io/linkat.c: Likewise.
26988 * io/lseek.c: Likewise.
26989 * io/lseek64.c: Likewise.
26990 * io/lxstat64.c: Likewise.
26991 * io/mkdir.c: Likewise.
26992 * io/mkdirat.c: Likewise.
26993 * io/mkfifo.c: Likewise.
26994 * io/mkfifoat.c: Likewise.
26995 * io/open.c: Likewise.
26996 * io/open64.c: Likewise.
26997 * io/openat.c: Likewise.
26998 * io/openat64.c: Likewise.
26999 * io/pipe.c: Likewise.
27000 * io/pipe2.c: Likewise.
27001 * io/poll.c: Likewise.
27002 * io/posix_fadvise.c: Likewise.
27003 * io/posix_fadvise64.c: Likewise.
27004 * io/posix_fallocate.c: Likewise.
27005 * io/posix_fallocate64.c: Likewise.
27006 * io/read.c: Likewise.
27007 * io/readlink.c: Likewise.
27008 * io/readlinkat.c: Likewise.
27009 * io/rmdir.c: Likewise.
27010 * io/sendfile.c: Likewise.
27011 * io/sendfile64.c: Likewise.
27012 * io/statfs.c: Likewise.
27013 * io/statfs64.c: Likewise.
27014 * io/statvfs.c: Likewise.
27015 * io/statvfs64.c: Likewise.
27016 * io/symlink.c: Likewise.
27017 * io/symlinkat.c: Likewise.
27018 * io/ttyname.c: Likewise.
27019 * io/ttyname_r.c: Likewise.
27020 * io/umask.c: Likewise.
27021 * io/unlink.c: Likewise.
27022 * io/unlinkat.c: Likewise.
27023 * io/utime.c: Likewise.
27024 * io/utimensat.c: Likewise.
27025 * io/write.c: Likewise.
27026 * io/xmknod.c: Likewise.
27027 * io/xmknodat.c: Likewise.
27028 * io/xstat.c: Likewise.
27029 * io/xstat64.c: Likewise.
27030 * login/getpt.c: Likewise.
27031 * login/grantpt.c: Likewise.
27032 * login/unlockpt.c: Likewise.
27033 * math/e_acoshl.c: Likewise.
27034 * math/e_acosl.c: Likewise.
27035 * math/e_asinl.c: Likewise.
27036 * math/e_atan2l.c: Likewise.
27037 * math/e_atanhl.c: Likewise.
27038 * math/e_coshl.c: Likewise.
27039 * math/e_expl.c: Likewise.
27040 * math/e_fmodl.c: Likewise.
27041 * math/e_gammal_r.c: Likewise.
27042 * math/e_hypotl.c: Likewise.
27043 * math/e_j0l.c: Likewise.
27044 * math/e_j1l.c: Likewise.
27045 * math/e_jnl.c: Likewise.
27046 * math/e_lgammal_r.c: Likewise.
27047 * math/e_log10l.c: Likewise.
27048 * math/e_log2l.c: Likewise.
27049 * math/e_logl.c: Likewise.
27050 * math/e_powl.c: Likewise.
27051 * math/e_rem_pio2l.c: Likewise.
27052 * math/e_sinhl.c: Likewise.
27053 * math/e_sqrtl.c: Likewise.
27054 * math/fclrexcpt.c: Likewise.
27055 * math/fedisblxcpt.c: Likewise.
27056 * math/feenablxcpt.c: Likewise.
27057 * math/fegetenv.c: Likewise.
27058 * math/fegetexcept.c: Likewise.
27059 * math/fegetround.c: Likewise.
27060 * math/feholdexcpt.c: Likewise.
27061 * math/fesetenv.c: Likewise.
27062 * math/fesetround.c: Likewise.
27063 * math/feupdateenv.c: Likewise.
27064 * math/fgetexcptflg.c: Likewise.
27065 * math/fraiseexcpt.c: Likewise.
27066 * math/fsetexcptflg.c: Likewise.
27067 * math/ftestexcept.c: Likewise.
27068 * math/k_cosl.c: Likewise.
27069 * math/k_rem_pio2l.c: Likewise.
27070 * math/k_sinl.c: Likewise.
27071 * math/k_tanl.c: Likewise.
27072 * math/s_asinhl.c: Likewise.
27073 * math/s_atanl.c: Likewise.
27074 * math/s_cbrtl.c: Likewise.
27075 * math/s_erfl.c: Likewise.
27076 * math/s_expm1l.c: Likewise.
27077 * math/s_log1pl.c: Likewise.
27078 * math/s_tanhl.c: Likewise.
27079 * misc/acct.c: Likewise.
27080 * misc/brk.c: Likewise.
27081 * misc/chflags.c: Likewise.
27082 * misc/chroot.c: Likewise.
27083 * misc/fchflags.c: Likewise.
27084 * misc/fgetxattr.c: Likewise.
27085 * misc/flistxattr.c: Likewise.
27086 * misc/fremovexattr.c: Likewise.
27087 * misc/fsetxattr.c: Likewise.
27088 * misc/fsync.c: Likewise.
27089 * misc/ftruncate.c: Likewise.
27090 * misc/futimes.c: Likewise.
27091 * misc/futimesat.c: Likewise.
27092 * misc/getdomain.c: Likewise.
27093 * misc/getdtsz.c: Likewise.
27094 * misc/gethostid.c: Likewise.
27095 * misc/gethostname.c: Likewise.
27096 * misc/getloadavg.c: Likewise.
27097 * misc/getpagesize.c: Likewise.
27098 * misc/getsysstats.c: Likewise.
27099 * misc/getxattr.c: Likewise.
27100 * misc/gtty.c: Likewise.
27101 * misc/ioctl.c: Likewise.
27102 * misc/lgetxattr.c: Likewise.
27103 * misc/listxattr.c: Likewise.
27104 * misc/llistxattr.c: Likewise.
27105 * misc/lremovexattr.c: Likewise.
27106 * misc/lsetxattr.c: Likewise.
27107 * misc/lutimes.c: Likewise.
27108 * misc/madvise.c: Likewise.
27109 * misc/mincore.c: Likewise.
27110 * misc/mlock.c: Likewise.
27111 * misc/mlockall.c: Likewise.
27112 * misc/mmap.c: Likewise.
27113 * misc/mprotect.c: Likewise.
27114 * misc/msync.c: Likewise.
27115 * misc/munlock.c: Likewise.
27116 * misc/munlockall.c: Likewise.
27117 * misc/munmap.c: Likewise.
27118 * misc/preadv.c: Likewise.
27119 * misc/preadv64.c: Likewise.
27120 * misc/ptrace.c: Likewise.
27121 * misc/pwritev.c: Likewise.
27122 * misc/pwritev64.c: Likewise.
27123 * misc/readv.c: Likewise.
27124 * misc/reboot.c: Likewise.
27125 * misc/remap_file_pages.c: Likewise.
27126 * misc/removexattr.c: Likewise.
27127 * misc/revoke.c: Likewise.
27128 * misc/select.c: Likewise.
27129 * misc/setdomain.c: Likewise.
27130 * misc/setegid.c: Likewise.
27131 * misc/seteuid.c: Likewise.
27132 * misc/sethostid.c: Likewise.
27133 * misc/sethostname.c: Likewise.
27134 * misc/setregid.c: Likewise.
27135 * misc/setreuid.c: Likewise.
27136 * misc/setxattr.c: Likewise.
27137 * misc/sstk.c: Likewise.
27138 * misc/stty.c: Likewise.
27139 * misc/swapoff.c: Likewise.
27140 * misc/swapon.c: Likewise.
27141 * misc/sync.c: Likewise.
27142 * misc/syncfs.c: Likewise.
27143 * misc/syscall.c: Likewise.
27144 * misc/truncate.c: Likewise.
27145 * misc/ualarm.c: Likewise.
27146 * misc/usleep.c: Likewise.
27147 * misc/ustat.c: Likewise.
27148 * misc/utimes.c: Likewise.
27149 * misc/vhangup.c: Likewise.
27150 * misc/writev.c: Likewise.
27151 * posix/_exit.c: Likewise.
27152 * posix/alarm.c: Likewise.
27153 * posix/execve.c: Likewise.
27154 * posix/fexecve.c: Likewise.
27155 * posix/fork.c: Likewise.
27156 * posix/fpathconf.c: Likewise.
27157 * posix/getaddrinfo.c: Likewise.
27158 * posix/getegid.c: Likewise.
27159 * posix/geteuid.c: Likewise.
27160 * posix/getgid.c: Likewise.
27161 * posix/getgroups.c: Likewise.
27162 * posix/getlogin.c: Likewise.
27163 * posix/getlogin_r.c: Likewise.
27164 * posix/getpgid.c: Likewise.
27165 * posix/getpid.c: Likewise.
27166 * posix/getppid.c: Likewise.
27167 * posix/getresgid.c: Likewise.
27168 * posix/getresuid.c: Likewise.
27169 * posix/getsid.c: Likewise.
27170 * posix/getuid.c: Likewise.
27171 * posix/glob64.c: Likewise.
27172 * posix/nanosleep.c: Likewise.
27173 * posix/pathconf.c: Likewise.
27174 * posix/pause.c: Likewise.
27175 * posix/posix_madvise.c: Likewise.
27176 * posix/pread.c: Likewise.
27177 * posix/pread64.c: Likewise.
27178 * posix/pwrite.c: Likewise.
27179 * posix/pwrite64.c: Likewise.
27180 * posix/sched_getaffinity.c: Likewise.
27181 * posix/sched_getp.c: Likewise.
27182 * posix/sched_gets.c: Likewise.
27183 * posix/sched_primax.c: Likewise.
27184 * posix/sched_primin.c: Likewise.
27185 * posix/sched_rr_gi.c: Likewise.
27186 * posix/sched_setaffinity.c: Likewise.
27187 * posix/sched_setp.c: Likewise.
27188 * posix/sched_sets.c: Likewise.
27189 * posix/sched_yield.c: Likewise.
27190 * posix/setgid.c: Likewise.
27191 * posix/setlogin.c: Likewise.
27192 * posix/setpgid.c: Likewise.
27193 * posix/setresgid.c: Likewise.
27194 * posix/setresuid.c: Likewise.
27195 * posix/setsid.c: Likewise.
27196 * posix/setuid.c: Likewise.
27197 * posix/sleep.c: Likewise.
27198 * posix/spawni.c: Likewise.
27199 * posix/sysconf.c: Likewise.
27200 * posix/times.c: Likewise.
27201 * posix/wait.c: Likewise.
27202 * posix/wait3.c: Likewise.
27203 * posix/wait4.c: Likewise.
27204 * posix/waitpid.c: Likewise.
27205 * resolv/gai_sigqueue.c: Likewise.
27206 * resource/getpriority.c: Likewise.
27207 * resource/getrlimit.c: Likewise.
27208 * resource/getrusage.c: Likewise.
27209 * resource/nice.c: Likewise.
27210 * resource/setpriority.c: Likewise.
27211 * resource/setrlimit.c: Likewise.
27212 * resource/ulimit.c: Likewise.
27213 * rt/aio_cancel.c: Likewise.
27214 * rt/aio_fsync.c: Likewise.
27215 * rt/aio_read.c: Likewise.
27216 * rt/aio_sigqueue.c: Likewise.
27217 * rt/aio_suspend.c: Likewise.
27218 * rt/aio_write.c: Likewise.
27219 * rt/clock_getres.c: Likewise.
27220 * rt/clock_gettime.c: Likewise.
27221 * rt/clock_nanosleep.c: Likewise.
27222 * rt/clock_settime.c: Likewise.
27223 * rt/lio_listio.c: Likewise.
27224 * rt/mq_close.c: Likewise.
27225 * rt/mq_getattr.c: Likewise.
27226 * rt/mq_notify.c: Likewise.
27227 * rt/mq_open.c: Likewise.
27228 * rt/mq_receive.c: Likewise.
27229 * rt/mq_send.c: Likewise.
27230 * rt/mq_setattr.c: Likewise.
27231 * rt/mq_timedreceive.c: Likewise.
27232 * rt/mq_timedsend.c: Likewise.
27233 * rt/mq_unlink.c: Likewise.
27234 * rt/shm_open.c: Likewise.
27235 * rt/shm_unlink.c: Likewise.
27236 * rt/timer_create.c: Likewise.
27237 * rt/timer_delete.c: Likewise.
27238 * rt/timer_getoverr.c: Likewise.
27239 * rt/timer_gettime.c: Likewise.
27240 * rt/timer_settime.c: Likewise.
27241 * setjmp/__longjmp.c: Likewise.
27242 * setjmp/setjmp.c: Likewise.
27243 * signal/kill.c: Likewise.
27244 * signal/killpg.c: Likewise.
27245 * signal/raise.c: Likewise.
27246 * signal/sigaction.c: Likewise.
27247 * signal/sigaltstack.c: Likewise.
27248 * signal/sigblock.c: Likewise.
27249 * signal/sigignore.c: Likewise.
27250 * signal/sigintr.c: Likewise.
27251 * signal/signal.c: Likewise.
27252 * signal/sigpause.c: Likewise.
27253 * signal/sigpending.c: Likewise.
27254 * signal/sigqueue.c: Likewise.
27255 * signal/sigreturn.c: Likewise.
27256 * signal/sigset.c: Likewise.
27257 * signal/sigsetmask.c: Likewise.
27258 * signal/sigstack.c: Likewise.
27259 * signal/sigsuspend.c: Likewise.
27260 * signal/sigtimedwait.c: Likewise.
27261 * signal/sigvec.c: Likewise.
27262 * signal/sigwait.c: Likewise.
27263 * signal/sigwaitinfo.c: Likewise.
27264 * signal/sysv_signal.c: Likewise.
27265 * socket/accept.c: Likewise.
27266 * socket/accept4.c: Likewise.
27267 * socket/bind.c: Likewise.
27268 * socket/connect.c: Likewise.
27269 * socket/getpeername.c: Likewise.
27270 * socket/getsockname.c: Likewise.
27271 * socket/getsockopt.c: Likewise.
27272 * socket/isfdtype.c: Likewise.
27273 * socket/listen.c: Likewise.
27274 * socket/recv.c: Likewise.
27275 * socket/recvfrom.c: Likewise.
27276 * socket/recvmsg.c: Likewise.
27277 * socket/send.c: Likewise.
27278 * socket/sendmsg.c: Likewise.
27279 * socket/sendto.c: Likewise.
27280 * socket/setsockopt.c: Likewise.
27281 * socket/shutdown.c: Likewise.
27282 * socket/sockatmark.c: Likewise.
27283 * socket/socket.c: Likewise.
27284 * socket/socketpair.c: Likewise.
27285 * stdio-common/ctermid.c: Likewise.
27286 * stdio-common/cuserid.c: Likewise.
27287 * stdio-common/remove.c: Likewise.
27288 * stdio-common/rename.c: Likewise.
27289 * stdio-common/renameat.c: Likewise.
27290 * stdio-common/tempname.c: Likewise.
27291 * stdlib/getcontext.c: Likewise.
27292 * stdlib/makecontext.c: Likewise.
27293 * stdlib/setcontext.c: Likewise.
27294 * stdlib/swapcontext.c: Likewise.
27295 * stdlib/system.c: Likewise.
27296 * streams/fattach.c: Likewise.
27297 * streams/fdetach.c: Likewise.
27298 * streams/getmsg.c: Likewise.
27299 * streams/getpmsg.c: Likewise.
27300 * streams/putmsg.c: Likewise.
27301 * streams/putpmsg.c: Likewise.
27302 * sysdeps/unix/bsd/getpt.c: Likewise.
27303 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27304 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27305 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27308 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27309 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27310 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27311 * sysvipc/msgctl.c: Likewise.
27312 * sysvipc/msgget.c: Likewise.
27313 * sysvipc/msgrcv.c: Likewise.
27314 * sysvipc/msgsnd.c: Likewise.
27315 * sysvipc/semctl.c: Likewise.
27316 * sysvipc/semget.c: Likewise.
27317 * sysvipc/semop.c: Likewise.
27318 * sysvipc/semtimedop.c: Likewise.
27319 * sysvipc/shmat.c: Likewise.
27320 * sysvipc/shmctl.c: Likewise.
27321 * sysvipc/shmdt.c: Likewise.
27322 * sysvipc/shmget.c: Likewise.
27323 * termios/tcdrain.c: Likewise.
27324 * termios/tcflow.c: Likewise.
27325 * termios/tcflush.c: Likewise.
27326 * termios/tcgetattr.c: Likewise.
27327 * termios/tcgetpgrp.c: Likewise.
27328 * termios/tcsendbrk.c: Likewise.
27329 * termios/tcsetattr.c: Likewise.
27330 * termios/tcsetpgrp.c: Likewise.
27331 * time/adjtime.c: Likewise.
27332 * time/clock.c: Likewise.
27333 * time/getitimer.c: Likewise.
27334 * time/gettimeofday.c: Likewise.
27335 * time/setitimer.c: Likewise.
27336 * time/settimeofday.c: Likewise.
27337 * time/stime.c: Likewise.
27338 * time/time.c: Likewise.
27340 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27342 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27345 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27347 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27349 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27353 FE_TONEAREST before applying Dekker multiplication and Knuth
27354 addition. Clear inexact exceptions and check for exact zero
27355 results afterwards.
27356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27357 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27359 * math/libm-test.inc (fma_test): Add more tests.
27360 (fma_test_towardzero): Likewise.
27361 (fma_test_downward): Likewise.
27362 (fma_test_upward): Likewise.
27363 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27365 (libc_fesetround): New macro.
27366 (libc_fesetroundf): Likewise.
27367 (libc_fesetroundl): Likewise.
27368 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27370 (libc_fesetround_387): Likewise.
27371 (libc_fesetroundf): New macro.
27372 (libc_fesetround): Likewise.
27373 (libc_fesetroundl): Likewise.
27374 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27376 (libc_fesetroundf): New macro.
27377 (libc_fesetround): Likewise.
27378 (libc_fesetroundl): Likewise.
27379 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27380 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27381 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27383 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27384 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27386 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27387 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27389 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27393 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27394 integer constant usable in #if and use that to give value to enum
27396 (FE_DIVBYZERO): Likewise.
27397 (FE_UNDERFLOW): Likewise.
27398 (FE_OVERFLOW): Likewise.
27399 (FE_INVALID): Likewise.
27400 (FE_INVALID_SNAN): Likewise.
27401 (FE_INVALID_ISI): Likewise.
27402 (FE_INVALID_IDI): Likewise.
27403 (FE_INVALID_ZDZ): Likewise.
27404 (FE_INVALID_IMZ): Likewise.
27405 (FE_INVALID_COMPARE): Likewise.
27406 (FE_INVALID_SOFTWARE): Likewise.
27407 (FE_INVALID_SQRT): Likewise.
27408 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27409 (FE_TONEAREST): Likewise.
27410 (FE_TOWARDZERO): Likewise.
27411 (FE_UPWARD): Likewise.
27412 (FE_DOWNWARD): Likewise.
27413 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27414 (FE_DIVBYZERO): Likewise.
27415 (FE_OVERFLOW): Likewise.
27416 (FE_UNDERFLOW): Likewise.
27417 (FE_INEXACT): Likewise.
27418 (FE_TONEAREST): Likewise.
27419 (FE_DOWNWARD): Likewise.
27420 (FE_UPWARD): Likewise.
27421 (FE_TOWARDZERO): Likewise.
27422 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27423 (FE_UNDERFLOW): Likewise.
27424 (FE_OVERFLOW): Likewise.
27425 (FE_DIVBYZERO): Likewise.
27426 (FE_INVALID): Likewise.
27427 (FE_TONEAREST): Likewise.
27428 (FE_TOWARDZERO): Likewise.
27429 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27430 (FE_OVERFLOW): Likewise.
27431 (FE_UNDERFLOW): Likewise.
27432 (FE_DIVBYZERO): Likewise.
27433 (FE_INEXACT): Likewise.
27434 (FE_TONEAREST): Likewise.
27435 (FE_TOWARDZERO): Likewise.
27436 (FE_UPWARD): Likewise.
27437 (FE_DOWNWARD): Likewise.
27438 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27439 (FE_DIVBYZERO): Likewise.
27440 (FE_OVERFLOW): Likewise.
27441 (FE_UNDERFLOW): Likewise.
27442 (FE_INEXACT): Likewise.
27443 (FE_TONEAREST): Likewise.
27444 (FE_DOWNWARD): Likewise.
27445 (FE_UPWARD): Likewise.
27446 (FE_TOWARDZERO): Likewise.
27448 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27450 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27452 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27454 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27455 commands. Quote $PWD.
27456 (blacklist_exports): Don't use remove_newlines. Replace "declare
27458 (remove_newlines): Remove.
27460 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27462 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27463 * stdlib/stdlib.h (atof): Moved to ...
27464 * include/bits/stdlib-float.h: Here. New file.
27465 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27466 * stdlib/bits/stdlib-float.h: New file.
27467 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27469 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27472 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27474 * conform/conformtest.pl (@headers): Add fenv.h.
27475 * conform/data/fenv.h-data: New file.
27476 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27477 include of <math/fenv.h>.
27479 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27480 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27481 && !UNIX98]. Enables tests for XOPEN2K8.
27482 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27483 POSIX2008]: Likewise.
27485 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27486 (struct rusage): Do not expect type or its members.
27489 * math/math.h (FP_NAN): Define macro to integer constant usable in
27490 #if and use that to give value to enum constant.
27491 (FP_INFINITE): Likewise.
27492 (FP_ZERO): Likewise.
27493 (FP_SUBNORMAL): Likewise.
27494 (FP_NORMAL): Likewise.
27496 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27498 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27499 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27502 2012-11-02 Roland McGrath <roland@hack.frob.com>
27504 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27505 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27506 autoconf-time if not.
27507 * configure.in: Remove AC_PREREQ.
27509 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27511 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27512 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27513 of the internal implementation.
27515 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27517 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27518 except include of <misc/sys/syslog.h>.
27520 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27523 function returns with a NULL context exit with zero.
27525 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27527 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27529 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27531 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27532 (run_program_cmd): This.
27533 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27534 (tst_langinfo): New variable. Use it.
27536 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27538 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27539 floating point opcodes.
27541 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27543 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27546 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27548 * sysdeps/mach/hurd/powerpc: Remove directory.
27549 * sysdeps/mach/powerpc: Likewise.
27551 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27553 * scripts/check-local-headers.sh: Ignore c++ headers.
27555 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27557 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27558 __libc_cleanup_region_start argument.
27560 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27565 x * y using scaling, not as x * y + z.
27566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27568 * math/libm-test.inc (fma_test): Add more tests.
27569 (fma_test_towardzero): Likewise.
27570 (fma_test_downward): Likewise.
27571 (fma_test_upward): Likewise.
27573 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27575 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27577 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27579 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27582 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27584 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27586 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27593 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27596 Fix the order of the list for glibc 2.17.
27597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27600 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27604 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27607 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27608 for low part of x being zero before using __atanl (y).
27609 * math/libm-test.inc (atan2_test): Add another test.
27611 * manual/install.texi (Configuring and compiling): Document
27612 general use of test-wrapper and test-wrapper-env.
27613 * INSTALL: Regenerated.
27615 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27616 (__fma): Do not extract and scale down low bits on after-rounding
27617 systems when result rounded to normal precision would have normal
27619 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27620 (__fmal): Do not extract and scale down low bits on after-rounding
27621 systems when result rounded to normal precision would have normal
27623 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27624 (__fmal): Do not extract and scale down low bits on after-rounding
27625 systems when result rounded to normal precision would have normal
27627 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27629 (fma_test): Add more tests.
27630 (fma_test_towardzero): Likewise.
27631 (fma_test_downward): Likewise.
27632 (fma_test_upward): Likewise.
27634 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27636 * sysdeps/i386/tininess.h: Renamed to ...
27637 * sysdeps/x86/tininess.h: This.
27638 * sysdeps/x86_64/tininess.h: Removed.
27640 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27642 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27643 input. Use $(build-program-cmd).
27644 ($(objpfx)tst-array1-static.out): Likewise.
27645 ($(objpfx)tst-array2.out): Likewise.
27646 ($(objpfx)tst-array3.out): Likewise.
27647 ($(objpfx)tst-array4.out): Likewise.
27648 ($(objpfx)tst-array5.out): Likewise.
27649 ($(objpfx)tst-array5-static.out): Likewise.
27651 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27653 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27656 * nss/nsswitch.h (nss_interface_function): Provide new
27657 macro for use with NSS functions.
27658 * grp/initgroups.c: Use new macro.
27659 * nss/getXXbyYY.c: Likewise.
27660 * nss/getXXbyYY_r.c: Likewise.
27661 * nss/getXXent.c: Likewise.
27662 * nss/getXXent_r.c: Likewise.
27663 * sysdeps/posix/getaddrinfo.c: Likewise.
27665 2012-10-30 Andreas Jaeger <aj@suse.de>
27667 * po/ru.po: Update Russion translation from translation project.
27669 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27674 result and shift together with sticky bit instead of replicating
27675 round-to-nearest rounding.
27676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27677 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27678 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27679 missing underflow exceptions.
27680 (fma_test_towardzero): Add more tests.
27681 (fma_test_downward): Likewise.
27682 (fma_test_upward): Likewise.
27685 * sysdeps/generic/tininess.h: New file.
27686 * sysdeps/i386/tininess.h: Likewise.
27687 * sysdeps/sh/tininess.h: Likewise.
27688 * sysdeps/x86_64/tininess.h: Likewise.
27689 * stdlib/tst-strtod-underflow.c: Likewise.
27690 * stdlib/tst-tininess.c: Likewise.
27691 * stdlib/strtod_l.c: Include <tininess.h>.
27692 (round_and_return): Do not set errno for exact underflow cases.
27693 Force an underflow exception when setting errno for underflow.
27694 Determine underflow based on rounding to normal precision if
27695 TININESS_AFTER_ROUNDING.
27696 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27697 ERANGE for exact underflow cases.
27698 * stdlib/Makefile (tests): Add tst-tininess and
27699 tst-strtod-underflow.
27700 ($(objpfx)tst-tininess): Use $(link-libm).
27701 ($(objpfx)tst-strtod-underflow): Likewise.
27703 2012-10-30 Andreas Jaeger <aj@suse.de>
27706 * elf/Makefile (tests): Remove conditional for have-initfini-array
27707 since this is now always required and the variable does not exist
27709 (tests-static): Likewise.
27710 (modules-names): Likewise.
27712 * po/eo.po: Add Esperanto translation from translation project.
27714 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27715 merged with constructor/destructor.
27716 (init_array): Likewise.
27717 * elf/tst-array2dep.c (fini_array): Likewise.
27718 (init_array): Likewise.
27720 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27722 * manual/message.texi: Delete @cartouche tags.
27724 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27726 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27728 * sysdeps/mach/hurd/fsync.c: Likewise.
27730 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27731 [_POSIX_REALTIME_SIGNALS]: Change condition to
27732 [_POSIX_REALTIME_SIGNALS > 0].
27734 2012-10-27 Andreas Jaeger <aj@suse.de>
27736 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27737 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27738 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27739 [__WORDSIZE != 64]: Likewise.
27741 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27743 * iconvdata/tst-table.sh: Remove ${SHELL}.
27744 * iconvdata/tst-tables.sh: Likewise.
27746 2012-10-25 David S. Miller <davem@davemloft.net>
27748 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27749 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27754 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27755 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27756 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27759 2012-10-25 Roland McGrath <roland@hack.frob.com>
27761 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27762 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27765 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27766 Jim Blandy <jimb@codesourcery.com>
27768 * scripts/cross-test-ssh.sh: New file.
27769 * manual/install.texi (Configuring and compiling): Document use of
27771 * INSTALL: Regenerated.
27773 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27775 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27778 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27780 * Makeconfig (run-program-prefix): Fix comment.
27782 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27783 Jim Blandy <jimb@codesourcery.com>
27785 * Makeconfig (test-wrapper): New variable,
27786 (test-wrapper-env): Likewise.
27787 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27788 (run-built-tests): Define to yes.
27789 (run-program-prefix): Use $(test-wrapper).
27790 (built-program-cmd): Likewise.
27791 * Rules (make-test-out): Use $(test-wrapper-env) and
27792 $(host-built-program-cmd).
27793 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27794 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27796 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27797 $(test-wrapper-env) to tst-rtld-load-self.sh.
27798 ($(objpfx)order2.out): Use $(test-wrapper).
27799 ($(objpfx)tst-initorder.out): Likewise.
27800 ($(objpfx)tst-initorder2.out): Likewise.
27801 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27802 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27803 (test_wrapper_env): New variable. Use it to run ld.so.
27804 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27805 Use it to run ld.so.
27806 (test_wrapper_env): Likewise.
27807 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27808 $(test-wrapper) to run-iconv-test.sh.
27809 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27810 (ICONV): Use $test_wrapper.
27811 * posix/Makefile ($(objpfx)globtest.out): Pass
27812 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27813 globtest.sh, not $(run-program-prefix).
27814 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27815 (test_wrapper): Likewise.
27816 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27817 set together with run_via_rtld_prefix.
27818 (run_program_prefix): Define in terms of test_wrapper and
27819 run_via_rtld_prefix.
27821 2012-10-24 Roland McGrath <roland@hack.frob.com>
27823 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27824 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27828 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27829 Declare __clock_getres, __clock_gettime, __clock_settime,
27830 __clock_nanosleep, and __clock_getcpuclockid.
27831 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27832 Remove librt_hidden_def (clock_gettime).
27833 * sysdeps/unix/clock_gettime.c: Likewise.
27834 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27835 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27836 * rt/clock_getres.c: Define __clock_getres as an alias.
27837 * sysdeps/posix/clock_getres.c: Likewise.
27838 * rt/clock_settime.c: Define __clock_settime as an alias.
27839 * sysdeps/unix/clock_settime.c: Likewise.
27840 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27841 * sysdeps/unix/clock_nanosleep.c: Likewise.
27842 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27843 * rt/clock-compat.c: New file.
27844 * rt/Makefile (librt-routines): Add clock-compat and move
27845 $(clock-routines) to ...
27846 (routines): ... here, new variable.
27847 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27848 Don't add get_clockfreq here.
27849 * rt/Versions (libc: GLIBC_2.17): New version set.
27850 Add clock_* symbols here.
27851 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27852 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27853 (GLIBC_2.17): Add clock_* symbols.
27854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27856 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27865 * NEWS: Mention the move.
27867 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27868 Use __open, __read, __close rather than their public counterparts.
27869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27870 (__get_clockfreq_via_cpuinfo): Likewise.
27871 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27872 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27874 * config.h.in (HAVE_IFUNC): New #undef.
27875 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27877 * configure: Regenerated.
27879 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27881 * configure.in: Move READELF check to start of file.
27882 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27883 libc_cv_asm_gnu_indirect_function in the process.
27884 * configure: Regenerated.
27886 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27888 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27889 send the output to /dev/null.
27890 (libc_cv_cc_with_libunwind): Likewise.
27891 (libc_cv_as_noexecstack): Likewise.
27892 * configure: Regenerate.
27894 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27896 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27898 * posix/globtest.sh (TMPDIR): Do not set.
27899 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27900 (testout): Likewise.
27902 2012-10-24 Andreas Jaeger <aj@suse.de>
27904 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27905 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27906 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27907 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27908 posix_fadvise64, posix_fallocate64.
27910 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27911 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27912 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27914 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27916 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27919 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27920 <bits/fcntl-linux.h>.
27921 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27924 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27925 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27926 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27927 [__WORDSIZE != 64]: Likewise.
27929 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27931 * Makeconfig (run-built-tests): New variable.
27932 * Rules [$(cross-compiling) = yes]: Change condition to
27933 [$(run-built-tests) = no].
27934 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27935 to [$(run-built-tests) = yes].
27936 * elf/Makefile [$(cross-compiling) = no]: Likewise
27937 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27938 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27939 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27940 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27941 * io/Makefile [$(cross-compiling) = no]: Likewise.
27942 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27943 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27944 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27945 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27946 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27947 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27948 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27949 * string/Makefile [$(cross-compiling) = no]: Likewise.
27951 * posix/Makefile ($(objpfx)globtest.out): Pass
27952 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27953 $(rtld-installed-name).
27954 * posix/globtest.sh (elf_objpfx): Remove variable.
27955 (rtld_installed_name): Likewise.
27956 (library_path): Likewise.
27957 (run_program_prefix): New variable. Use for running globtest
27960 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27961 Joseph Myers <joseph@codesourcery.com>
27963 * Makeconfig (host-built-program-cmd): New variable.
27964 * elf/Makefile (tst-stackguard1-ARGS): Use
27965 $(host-built-program-cmd).
27966 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27967 (tst-spawn-ARGS): Likewise.
27968 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27970 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27971 Jim Blandy <jimb@codesourcery.com>
27973 * Makeconfig (run-via-rtld-prefix): New variable.
27974 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27975 (built-program-cmd): Likewise.
27977 2012-10-22 Andreas Jaeger <aj@suse.de>
27979 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27980 __O_RSYNC if it exists, otherwise to O_SYNC.
27982 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27983 Joseph Myers <joseph@codesourcery.com>
27985 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27987 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27989 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27992 2012-10-22 Andreas Jaeger <aj@suse.de>
27994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27996 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27999 bits/fcntl-linux.h.
28001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28002 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28009 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28010 Joseph Myers <joseph@codesourcery.com>
28012 * config.make.in (NM): New variable.
28014 2012-10-21 Andreas Jaeger <aj@suse.de>
28016 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28017 definitions and declarations that are provided by
28018 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28020 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28023 * elf/Makefile (tests-static): Add tst-leaks1-static.
28024 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28025 ($(objpfx)tst-leaks1-static): New rule.
28026 ($(objpfx)tst-leaks1-static-mem): Likewise.
28027 (tst-leaks1-static-ENV): New macro.
28028 * elf/dl-open.c (dl_open_worker): Check the main application
28029 only if SHARED is defined.
28030 * elf/tst-leaks1-static.c: New file.
28032 2012-10-20 Andreas Jaeger <aj@suse.de>
28034 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28035 generic values for Linux.
28036 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28037 and declarations that are provided by <bits/fcntl-linux.h> and
28038 include <bits/fcntl-linux.h>.
28039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28040 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28042 2012-10-20 Roland McGrath <roland@hack.frob.com>
28044 * io/fcntl.h: Move include of <bits/types.h> to the top and
28045 include it unconditionally.
28047 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28049 * wcsmbs/Makefile (tests-ifunc): New variable.
28050 (tests): Add $(tests-ifunc).
28051 * wcsmbs/test-wcschr-ifunc.c: New file.
28052 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28053 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28054 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28055 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28056 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28058 * string/Makefile (tests-ifunc): New variable.
28059 (tests): Add $(tests-ifunc).
28060 * string/test-memccpy.c (TEST_NAME): New macro.
28061 * string/test-memchr.c (TEST_NAME): Likewise.
28062 * string/test-memcmp.c (TEST_NAME): Likewise.
28063 * string/test-memcpy.c (TEST_NAME): Likewise.
28064 * string/test-memmem.c (TEST_NAME): Likewise.
28065 * string/test-memmove.c (TEST_NAME): Likewise.
28066 * string/test-memset.c (TEST_NAME): Likewise.
28067 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28068 * string/test-stpcpy.c (TEST_NAME): Likewise.
28069 * string/test-stpncpy.c (TEST_NAME): Likewise.
28070 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28071 * string/test-strcasestr.c (TEST_NAME): Likewise.
28072 * string/test-strcat.c (TEST_NAME): Likewise.
28073 * string/test-strchr.c (TEST_NAME): Likewise.
28074 * string/test-strcmp.c(TEST_NAME): Likewise.
28075 * string/test-strcpy.c (TEST_NAME): Likewise.
28076 * string/test-strcspn.c (TEST_NAME): Likewise.
28077 * string/test-strlen.c (TEST_NAME): Likewise.
28078 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28079 * string/test-strncmp.c (TEST_NAME): Likewise.
28080 * string/test-strncpy.c (TEST_NAME): Likewise.
28081 * string/test-strnlen.c (TEST_NAME): Likewise.
28082 * string/test-strpbrk.c (TEST_NAME): Likewise.
28083 * string/test-strrchr.c (TEST_NAME): Likewise.
28084 * string/test-strspn.c (TEST_NAME): Likewise.
28085 * string/test-strstr.c (TEST_NAME): Likewise.
28086 * string/test-bcopy-ifunc.c: New file.
28087 * string/test-bzero-ifunc.c: Likewise.
28088 * string/test-memccpy-ifunc.c: Likewise.
28089 * string/test-memchr-ifunc.c: Likewise.
28090 * string/test-memcmp-ifunc.c: Likewise.
28091 * string/test-memcpy-ifunc.c: Likewise.
28092 * string/test-memmem-ifunc.c: Likewise.
28093 * string/test-memmove-ifunc.c: Likewise.
28094 * string/test-mempcpy-ifunc.c: Likewise.
28095 * string/test-memset-ifunc.c: Likewise.
28096 * string/test-rawmemchr-ifunc.c: Likewise.
28097 * string/test-stpcpy-ifunc.c: Likewise.
28098 * string/test-stpncpy-ifunc.c: Likewise.
28099 * string/test-strcasecmp-ifunc.c: Likewise.
28100 * string/test-strcasestr-ifunc.c: Likewise.
28101 * string/test-strcat-ifunc.c: Likewise.
28102 * string/test-strchr-ifunc.c: Likewise.
28103 * string/test-strchrnul-ifunc.c: Likewise.
28104 * string/test-strcmp-ifunc.c: Likewise.
28105 * string/test-strcpy-ifunc.c: Likewise.
28106 * string/test-strcspn-ifunc.c: Likewise.
28107 * string/test-strlen-ifunc.c: Likewise.
28108 * string/test-strncasecmp-ifunc.c: Likewise.
28109 * string/test-strncat-ifunc.c: Likewise.
28110 * string/test-strncmp-ifunc.c: Likewise.
28111 * string/test-strncpy-ifunc.c: Likewise.
28112 * string/test-strnlen-ifunc.c: Likewise.
28113 * string/test-strpbrk-ifunc.c: Likewise.
28114 * string/test-strrchr-ifunc.c: Likewise.
28115 * string/test-strspn-ifunc.c: Likewise.
28116 * string/test-strstr-ifunc.c: Likewise.
28118 * debug/Makefile (tests-ifunc): New variable.
28119 (tests): Add $(tests-ifunc).
28120 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28121 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28122 * debug/test-stpcpy_chk-ifunc.c: New file.
28123 * debug/test-strcpy_chk-ifunc.c: Likewise.
28125 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28128 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28129 header is not read in.
28131 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28133 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28134 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28135 directly. Pass built executable to script as
28136 $(built-program-cmd).
28137 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28138 $testprogram without using LD_LIBRARY_PATH and $ldso.
28140 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28141 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28142 $(rtld-installed-name).
28143 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28144 (rtld_installed_name): Likewise.
28145 (library_path): Likewise.
28146 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28147 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28148 $(run-program-prefix) to tst-tables.sh.
28149 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28150 it to run tst-table-from and tst-table-to.
28151 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28152 Pass it to tst-table.sh.
28153 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28154 $(run-program-prefix) to tst-gettext.sh.
28155 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28157 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28159 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28160 to run tst-gettext.
28161 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28162 to run tst-gettext2.
28163 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28164 to run tst-translit.
28165 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28166 $(run-program-prefix) to tst-mtrace.sh.
28167 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28169 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28170 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28171 $(rtld-installed-name).
28172 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28173 (rtld_installed_name): Likewise.
28174 (run_program_prefix): New variable. Use it to run wordexp-test.
28176 * Makeconfig (ARCH): Remove all definitions.
28177 (machine): Likewise.
28178 [ARCH]: Remove conditional code.
28179 [!objdir]: Give error.
28180 [!objdir] (objpfx): Remove.
28181 [!objdir] (common-objpfx): Likewise.
28182 [!objdir] (common-objdir): Likewise.
28183 * configure.in (config_makefile): Remove. Hardcode Makefile in
28184 AC_CONFIG_FILES call.
28185 * configure: Regenerated.
28188 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28190 (testout): Likewise.
28192 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28193 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28194 $(rtld-installed-name).
28195 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28196 (rtld_installed_name): Likwise.
28197 (runit): Remove function.
28198 (run_getconf): New variable, Use it for running getconf binary.
28200 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28203 * string/test-memmem.c (check_result): New function.
28204 (do_one_test): Use it.
28205 (check1): New function.
28206 (test_main): Use it.
28208 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28210 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28212 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28214 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28215 (_G_LSEEK64): Likewise.
28216 (_G_MMAP64): Likewise.
28217 (_G_FSTAT64): Likewise.
28218 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28219 (_G_LSEEK64): Likewise.
28220 (_G_MMAP64): Likewise.
28221 (_G_FSTAT64): Likewise.
28222 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28223 unconditional. Call __mmap64 directly.
28224 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28225 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28226 __lseek64 directly.
28227 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28228 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28230 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28231 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28232 __lseek64 directly.
28233 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28234 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28235 __lseek64 directly.
28236 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28237 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28238 __lseek64 directly.
28239 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28240 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28241 __fxstat64 directly.
28242 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28243 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28245 (freopen64) [!_G_OPEN64]: Remove conditional code.
28246 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28248 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28249 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28251 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28252 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28254 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28255 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28257 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28258 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28260 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28261 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28263 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28264 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28266 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28268 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28271 * manual/memory.texi (Malloc Tunable Parameters): Add note
28272 about free list pointers overwriting some perturb bytes.
28273 Wording suggested by Roland McGrath.
28275 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28277 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28278 (lgamma_test): Likewise.
28279 (tgamma_test): Likewise.
28281 2012-10-16 Florian Weimer <fweimer@redhat.com>
28284 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28285 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28287 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28289 * NEWS: Mention BZ #14716.
28290 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28291 when removing AVAILABLE1_USES_J macro.
28293 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28295 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28296 (__bswap_64): __uint64_t for unsigned 64-bit int.
28298 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28300 * include/string.h (memmem): Declare libc hidden alias.
28301 * string/memmem.c (memmem): Define libc hidden alias.
28302 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28303 __read, __close instead of open, read, close.
28305 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28308 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28310 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28311 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28312 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28314 (__rawmemchr_sse2): Likewise.
28315 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28316 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28317 (__strchr_sse2): Likewise.
28318 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28319 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28320 (__strcasecmp_sse2): Likewise.
28321 (__strncasecmp_sse2): Likewise.
28322 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28323 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28324 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28325 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28326 (__strrchr_sse2): Likewise.
28327 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28329 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28330 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28331 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28332 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28333 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28334 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28335 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28336 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28337 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28338 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28339 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28340 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28341 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28342 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28343 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28344 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28345 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28346 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28347 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28348 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28349 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28350 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28351 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28352 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28353 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28354 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28355 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28356 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28357 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28358 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28360 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28362 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28363 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28364 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28365 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28367 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28369 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28370 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28371 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28372 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28374 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28375 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28376 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28377 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28378 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28379 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28380 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28381 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28382 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28383 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28384 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28385 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28386 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28387 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28388 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28389 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28390 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28391 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28392 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28393 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28394 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28395 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28396 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28397 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28398 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28399 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28400 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28401 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28402 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28403 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28404 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28405 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28406 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28407 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28408 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28409 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28410 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28411 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28412 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28413 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28414 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28416 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28417 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28418 * include/ifunc-impl-list.h: New file.
28419 * misc/ifunc-impl-list.c: Likewise.
28420 * misc/Makefile (routines): Add ifunc-impl-list.
28421 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28422 * string/test-string.h: Include <ifunc-impl-list.h>.
28423 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28424 TEST_NAME]: New variables.
28425 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28427 (test_init): Call __libc_ifunc_impl_list to initialize
28428 func_list if TEST_IFUNC and TEST_NAME are defined.
28430 * string/Makefile (strop-tests): Add bcopy and bzero.
28431 * string/test-bcopy.c: New file.
28432 * string/test-bzero.c: Likewise.
28433 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28435 * string/test-memset.c: Support bzero test if TEST_BZERO is
28437 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28439 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28441 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28444 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28446 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28447 * configure: Regenerated.
28449 * Makeconfig (+link-static-before-libc): Don't include
28450 $(link-static-libc).
28452 * libio/libio.h (_IO_pos_t): Remove.
28454 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28456 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28459 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28461 * crypt/crypt-entry.c: Include fips-private.h.
28462 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28463 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28464 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28465 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28467 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28469 * crypt/crypt-private.h: Include stdbool.h.
28470 (_ufc_setup_salt_r): Return bool.
28471 * crypt/crypt-entry.c: Include errno.h.
28472 (__crypt_r): Return NULL with EINVAL for bad salt.
28473 * crypt/crypt_util.c (bad_for_salt): New.
28474 (_ufc_setup_salt_r): Check that salt is long enough and within
28475 the specified alphabet.
28476 * crypt/badsalttest.c: New file.
28477 * crypt/Makefile (tests): Add it.
28478 ($(objpfx)badsalttest): New.
28480 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28482 * NEWS: Add entry for BZ #14602.
28484 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28486 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28488 * math/libm-test.inc: Update comment listing what functions and
28490 (isgreater_test): New function.
28491 (isgreaterequal_test): Likewise.
28492 (isless_test): Likewise.
28493 (islessequal_test): Likewise.
28494 (islessgreater_test): Likewise.
28495 (isunordered_test): Likewise.
28496 (main): Call the new functions.
28498 2012-10-09 Roland McGrath <roland@hack.frob.com>
28500 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28501 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28502 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28503 * sysdeps/i386/configure: Regenerated.
28504 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28505 * sysdeps/mach/configure: Regenerated.
28506 * sysdeps/mach/hurd/configure: Regenerated.
28507 * sysdeps/powerpc/configure: Regenerated.
28508 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28509 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28510 * sysdeps/s390/s390-32/configure: Regenerated.
28511 * sysdeps/s390/s390-64/configure: Regenerated.
28512 * sysdeps/sh/configure: Regenerated.
28513 * sysdeps/sparc/configure: Regenerated.
28514 * sysdeps/unix/sysv/linux/configure: Regenerated.
28515 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28516 * sysdeps/x86_64/configure: Regenerated.
28518 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28519 defined. Don't check if MAP is NULL.
28521 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28523 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28524 (_G_stat64): Likewise.
28525 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28526 (_G_stat64): Likewise.
28527 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28528 instead of struct _G_stat64.
28529 * libio/fileops.c (mmap_remap_check): Likewise.
28530 (decide_maybe_mmap): Likewise.
28531 (_IO_new_file_seekoff): Likewise.
28532 (_IO_file_stat): Likewise.
28533 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28535 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28536 instead of struct _G_stat64.
28537 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28539 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28542 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28544 (CHECK_EOL): New macro.
28545 (two_way_short_needle): Check beginning of haystack for EOL. Use
28547 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28548 Replace with CHECK_EOL.
28549 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28550 Replace with CHECK_EOL.
28552 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28554 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28556 * math/libm-test.inc: Update comment listing what functions and
28558 (finite_test): New function.
28559 (isinf_test): Likewise.
28560 (isnan_test): Likewise.
28561 (fpclassify_test): Test subnormal input.
28562 (isfinite_test): Likewise.
28563 (isnormal_test): Likewise.
28564 (main): Call the new functions.
28566 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28569 * Makerules (%.dynsym): Force C locale when running
28570 $(OBJDUMP) --dynamic-syms.
28572 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28574 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28577 2012-10-06 David S. Miller <davem@davemloft.net>
28579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28580 upper 32-bits of the length value in %o2 since we use branch-on-register
28581 tests which consider the entire 64-bit register.
28583 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28585 * string/test-strstr.c (check2): Add a test for page boundary.
28587 2012-10-05 David S. Miller <davem@davemloft.net>
28589 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28590 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28592 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28594 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28595 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28596 and bzero when HWCAP_SPARC_CRYPTO is present.
28598 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28601 * string/test-strstr.c (check2): New function.
28602 (test_main): Call check2.
28604 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28606 * string/bug-strcasestr1.c (do_test): Moved to ...
28607 * string/test-strcasestr.c (check1): Here. New function.
28608 (do_one_test): Break out result checking code into ...
28609 (check_result): This. New function.
28610 (do_one_test): Call check_result.
28611 (test_main): Call check1.
28612 * string/bug-strchr1.c (do_test): Moved to ...
28613 * string/test-strchr.c (check1): Here. New function.
28614 (do_one_test): Break out result checking code into ...
28615 (check_result): This. New function.
28616 (do_one_test): Call check_result.
28617 (test_main): Call check1.
28618 * string/bug-strstr1.c (main): Moved to ...
28619 * string/test-strstr.c (check1): Here. New function.
28620 (do_one_test): Break out result checking code into ...
28621 (check_result): This. New function.
28622 (do_one_test): Call check_result.
28623 (test_main): Call check1.
28624 * string/bug-strcasestr1.c: Removed.
28625 * string/bug-strchr1.c: Likewise.
28626 * string/bug-strstr1.c: Likewise.
28628 * elf/Makefile (dl-routines): Add hwcaps.
28629 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28630 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28631 (_dl_important_hwcaps): Moved to ...
28632 * elf/dl-hwcaps.c: Here. New file.
28633 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28636 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28637 if IS_IN_rtld isn't defined.
28639 * elf/dl-support.c (_dl_sysinfo_map): New.
28640 Include "get-dynamic-info.h" and "setup-vdso.h".
28641 (_dl_non_dynamic_init): Call setup_vdso.
28642 * elf/dynamic-link.h: Don't include <assert.h>.
28643 (elf_get_dynamic_info): Moved to ...
28644 * elf/get-dynamic-info.h: Here. New file.
28645 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28646 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28647 * elf/setup-vdso.h: Here. New file.
28648 * elf/rtld.c: Include "setup-vdso.h".
28649 (dl_main): Call setup_vdso.
28651 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28653 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28654 creal in comment listing functions tested. List finite, isinf,
28655 isnan, isless, islessequal, isgreater, isgreaterequal,
28656 islessgreater, isunordered, lgamma_r and pow10 as functions and
28657 macros not tested. Mention which functions not tested are aliases
28658 for other functions. Fix typo. Note that signs of NaNs are not
28661 * scripts/config.guess: Update from config.git.
28662 * scripts/config.sub: Likewise.
28664 2012-10-04 Roland McGrath <roland@hack.frob.com>
28666 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28667 * misc/madvise.c (madvise): Renamed to __madvise.
28668 Make madvise a weak alias.
28669 * include/sys/mman.h: Declare __madvise.
28670 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28671 * sysdeps/unix/syscalls.list
28672 (madvise): Make __madvise the strong name, and madvise a weak alias.
28673 * sysdeps/unix/sysv/linux/syscalls.list
28674 (madvise, mmap): Remove redundant entries.
28675 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28676 * malloc/malloc.c (mtrim): Likewise.
28677 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28679 2012-10-03 Roland McGrath <roland@hack.frob.com>
28681 * sysdeps/mach/hurd/dl-cache.c: File removed.
28682 * config.h.in (USE_LDCONFIG): New #undef.
28683 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28684 * configure: Regenerated.
28685 * elf/Makefile (dl-routines): Add dl-cache only under
28686 [$(use-ldconfig) = yes].
28687 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28688 cache on [USE_LDCONFIG].
28689 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28691 * elf/rtld.c (dl_main): Likewise.
28693 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28695 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28696 _SC_LEVEL4_CACHE_LINESIZE.
28698 2012-10-03 Roland McGrath <roland@hack.frob.com>
28700 * sysdeps/unix/bsd/confstr.h: File removed.
28702 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28704 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28707 2012-10-02 Roland McGrath <roland@hack.frob.com>
28709 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28710 Make 'mapoff' field ElfW(Off) rather than off_t.
28712 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28714 * nscd/Makefile: Remove nscd-cflags and all its users.
28715 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28716 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28719 * malloc.c (malloc_printerr): Clarify error message.
28721 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28725 Set bit_FMA_Usable if FMA is supported.
28726 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28728 (bit_FMA4_Usable): Updated.
28729 (index_FMA_Usable): New macro.
28730 (CPUID_FMA): Likewise
28731 (HAS_FMA): Defined with bit_FMA_Usable.
28733 2012-10-01 Roland McGrath <roland@hack.frob.com>
28735 * bits/types.h (__swblk_t): Type removed.
28736 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28737 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28738 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28739 (__SWBLK_T_TYPE): Likewise.
28740 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28741 (__SWBLK_T_TYPE): Likewise.
28742 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28743 (__SWBLK_T_TYPE): Likewise.
28744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28745 (__SWBLK_T_TYPE): Likewise.
28747 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28748 Honza Horak <hhorak@redhat.com>
28750 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28751 (xdr_mapname): Use YPMAXMAP as maxsize.
28752 (xdr_peername): Use YPMAXPEER as maxsize.
28753 (xdr_keydat): Use YPAXRECORD as maxsize.
28754 (xdr_valdat): Use YPMAXRECORD as maxsize.
28756 2012-10-01 Roland McGrath <roland@hack.frob.com>
28758 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28760 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28761 * csu/init-first.c: ... here.
28762 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28763 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28764 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28765 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28766 * sysdeps/i386/init-first.c: File removed.
28767 * sysdeps/sh/init-first.c: File removed.
28769 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28773 if x * y might underflow to zero and z is zero.
28774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28775 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28776 * math/libm-test.inc (min_subnorm_value): New variable.
28777 (fma_test): Add more tests.
28778 (fma_test_towardzero): Likewise.
28779 (fma_test_downward): Likewise
28780 (fma_test_upward): Likewise.
28781 (initialize): Set min_subnorm_value.
28783 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28788 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28789 mode for addition resulting in exact zero.
28790 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28793 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28794 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28795 * math/libm-test.inc (fma_test): Add more tests.
28796 (fma_test_towardzero): New function.
28797 (fma_test_downward): Likewise.
28798 (fma_test_upward): Likewise.
28799 (main): Call the new functions.
28801 2012-09-28 David S. Miller <davem@davemloft.net>
28803 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28805 2012-09-28 Roland McGrath <roland@hack.frob.com>
28807 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28808 instead of SIGALRM.
28810 * sysdeps/gnu/_G_config.h: Moved to ...
28811 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28812 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28813 * sysdeps/generic/_G_config.h: ... here.
28815 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28817 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28819 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28820 Conditionalize target on [libnss_test1.so-version].
28822 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28824 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28825 (elfobjdir): Move out of conditionals.
28827 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28828 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28829 (__nss_lookup_function): Conditionalize label remove_from_tree on
28830 [!DO_STATIC_NSS || SHARED], matching its only use.
28832 2012-09-28 David S. Miller <davem@davemloft.net>
28834 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28835 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28837 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28839 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28841 when HWCAP_SPARC_CRYPTO is present.
28843 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28845 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28847 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28850 * stdio-common/vfprintf.c (process_string_arg): Revert
28853 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28855 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28857 * stdio-common/tst-sprintf.c: Include <locale.h>
28858 (main): Test sprintf's handling of incomplete multibyte
28861 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28863 * elf/dl-runtime.c (VERSYMIDX): Removed.
28864 * elf/dl-version.c (VERSYMIDX): Likewise.
28865 * elf/do-rel.h (VERSYMIDX): Likewise.
28866 (VALIDX): Likewise.
28867 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28868 * elf/rtld.c (VALIDX): Likewise.
28869 (ADDRIDX): Likewise.
28870 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28871 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28872 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28873 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28874 (VALIDX): Likewise.
28875 (ADDRIDX): Likewise.
28877 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28879 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28881 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28884 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28886 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28887 addresses are in the same scope as 192.0.2/24.
28888 * posix/gai.conf: Document new scope table defaults.
28890 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28893 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28894 for ftell. Compute offsets from write pointers instead.
28895 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28897 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28900 * libio/Makefile (tests): New test case tst-fseek.
28901 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28902 combination works in wide mode.
28903 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28904 state when the external buffer state changes.
28906 2012-09-27 David S. Miller <davem@davemloft.net>
28909 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28910 pass reloc->r_addend in as the 'high' argument to
28911 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28915 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28917 * rt/tst-aio2.c: Include <pthread.h>.
28918 * rt/tst-aio3.c: Likewise.
28920 2012-09-27 Steve Ellcey <sellcey@mips.com>
28922 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28924 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28926 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28927 contents on [SHARED].
28929 2012-09-26 Marek Polacek <polacek@redhat.com>
28933 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28934 for C++ and GCC <4.3 as well as for non GCC compilers.
28936 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28940 2012-09-25 Roland McGrath <roland@hack.frob.com>
28942 * Makefile.in (all, install): Declare with .PHONY.
28943 Reported by Michael Hope <michael.hope@linaro.org>.
28945 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28947 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28948 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28950 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28952 (sydep_routines): Add the new and the internal functions.
28953 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28954 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28956 (GLIBC_2.17): Add the new function.
28957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28958 (GLIBC_2.17): Likewise.
28959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28960 (GLIBC_2.17): Likewise.
28961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28962 (GLIBC_2.17): Likewise.
28963 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28965 2012-09-25 Alan Modra <amodra@gmail.com>
28967 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28968 Add release barrier before setting once_control to say
28969 initialisation is done. Add hints on lwarx. Use macro in
28971 (clear_once_control): Add release barrier.
28973 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28976 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28978 * math/s_clog10.c (__clog10): Likewise.
28979 * math/s_clog10f.c (__clog10f): Likewise.
28980 * math/s_clog10l.c (__clog10l): Likewise.
28981 * math/s_clogf.c (__clogf): Likewise.
28982 * math/s_clogl.c (__clogl): Likewise.
28983 * math/Makefile (libm-calls): Add x2y2m1.
28984 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28985 (__x2y2m1): Likewise.
28986 (__x2y2m1l): Likewise.
28987 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28988 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28989 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28990 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28991 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28992 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28993 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28994 * sysdeps/i386/fpu/libm-test-ulps: Update.
28995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28998 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28999 int as type of variable DEPTH.
29000 (glob): Use size_t instead of int as type of variables NEWCOUNT
29003 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29005 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29006 Add s_sincosf-sse2.
29007 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29008 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29009 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29010 macros for using routine as __sincosf_ia32.
29011 Use macro for function declaration and weak_alias.
29012 * sysdeps/i386/fpu/libm-test-ulps: Update.
29014 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29017 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29018 subnormal argument.
29019 * math/s_cexpf.c (__cexpf): Likewise.
29020 * math/s_csinf.c (__csinf): Likewise.
29021 * math/s_csinhf.c (__csinhf): Likewise.
29022 * math/s_ctanf.c (__ctanf): Likewise.
29023 * math/s_ctanhf.c (__ctanhf): Likewise.
29024 * math/s_ccosh.c (__ccoshf): Likewise.
29025 * math/s_cexp.c (__cexpl): Likewise.
29026 * math/s_csin.c (__csin): Likewise.
29027 * math/s_csinh.c (__csinh): Likewise.
29028 * math/s_ctan.c (__ctan): Likewise.
29029 * math/s_ctanh.c (ctanh): Likewise.
29030 * math/s_ccoshl.c (__ccoshl): Likewise.
29031 * math/s_cexpl.c (__cexpl): Likewise.
29032 * math/s_csinl.c (__csinl): Likewise.
29033 * math/s_csinhl.c (__csinhl): Likewise.
29034 * math/s_ctanl.c (__ctanl): Likewise.
29035 * math/s_ctanhl.c (__ctanhl): Likewise.
29037 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29039 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29040 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29041 (_IO_off_t): Define to __off_t, not _G_off_t.
29042 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29043 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29044 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29045 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29046 type of __dummy and __dummy2 fields.
29047 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29048 (_G_ssize_t): Likewise.
29049 (_G_off_t): Likewise.
29050 (_G_pid_t): Likewise.
29051 (_G_uid_t): Likewise.
29052 (_G_wchar_t): Likewise.
29053 (_G_wint_t): Likewise.
29054 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29055 (_G_ssize_t): Likewise.
29056 (_G_off_t): Likewise.
29057 (_G_pid_t): Likewise.
29058 (_G_uid_t): Likewise.
29059 (_G_wchar_t): Likewise.
29060 (_G_wint_t): Likewise.
29061 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29062 (_G_ssize_t): Likewise.
29063 (_G_off_t): Likewise.
29064 (_G_pid_t): Likewise.
29065 (_G_uid_t): Likewise.
29066 (_G_wchar_t): Likewise.
29067 (_G_wint_t): Likewise.
29069 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29071 * malloc/arena.c: Include malloc-sysdep.h.
29072 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29073 is sufficient to shrink the heap or an unmap is needed.
29074 * sysdeps/generic/malloc-sysdep.h: New file. Define
29075 new function check_may_shrink_heap.
29076 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29077 new function check_may_shrink_heap.
29079 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29081 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29084 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29086 * catgets/test-gencat.sh: Add "set -e".
29087 * elf/tst-pathopt.sh: Likewise.
29088 * grp/tst_fgetgrent.sh: Likewise.
29089 * iconvdata/run-iconv-test.sh: Likewise.
29090 * intl/tst-gettext.sh: Likewise.
29091 * intl/tst-gettext2.sh: Likewise.
29092 * intl/tst-gettext4.sh: Likewise.
29093 * intl/tst-gettext6.sh: Likewise.
29094 * intl/tst-translit.sh: Likewise.
29095 * io/ftwtest-sh: Likewise.
29096 * libio/test-freopen.sh: Likewise.
29097 * malloc/tst-mtrace.sh: Likewise.
29098 * posix/globtest.sh: Likewise.
29099 * posix/tst-getconf.sh: Likewise.
29100 * posix/wordexp-tst.sh: Likewise.
29101 * stdio-common/tst-printf.sh: Likewise.
29102 * stdio-common/tst-unbputc.sh: Likewise.
29103 * stdlib/tst-fmtmsg.sh: Likewise.
29104 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29105 * catgets/Makefile: Do not specify -e option when running
29106 testsuite shell scripts.
29107 * elf/Makefile: Likewise.
29108 * grp/Makefile: Likewise.
29109 * iconvdata/Makefile: Likewise.
29110 * intl/Makefile: Likewise.
29111 * io/Makefile: Likewise.
29112 * libio/Makefile: Likewise.
29113 * malloc/Makefile: Likewise.
29114 * posix/Makefile: Likewise.
29115 * stdio-common/Makefile: Likewise.
29116 * stdlib/Makefile: Likewise.
29117 * sysdeps/x86_64/Makefile: Likewise.
29119 * io/ftwtest-sh: Add copyright header.
29120 * posix/globtest.sh: Likewise.
29121 * posix/tst-getconf.sh: Likewise.
29122 * posix/wordexp-tst.sh: Likewise.
29123 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29125 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29128 * Makeconfig (+link): Defined as $(+link-static) if
29129 $(build-shared) isn't yes.
29130 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29132 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29134 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29137 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29138 new chunk size with MALLOC_ALIGN_MASK.
29140 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29143 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29145 (__printf_fphex): Determine rounding using get_rounding_mode and
29147 * stdio-common/tst-printf-round.c (struct hex_test): New
29149 (hex_tests): New variable.
29150 (test_hex_in_one_mode): New function.
29151 (do_test): Also run tests for hex float output.
29153 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29155 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29156 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29157 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29158 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29159 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29160 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29161 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29162 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29164 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29166 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29167 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29168 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29169 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29171 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29174 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29176 * elf/tst-rtld-load-self.sh: New test.
29177 * elf/Makefile: Run it.
29179 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29181 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29182 (tst-writev-ENV): Remove.
29183 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29185 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29187 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29189 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29191 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29193 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29195 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29196 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29197 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29200 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29203 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29204 * config.make.in (have-cpp-asm-debuginfo): Removed.
29205 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29206 * configure: Regenerated.
29208 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29211 * stdio-common/printf_fp.c: Include <stdbool.h> and
29213 (___printf_fp): Determine rounding using get_rounding_mode and
29215 * stdio-common/tst-printf-round.c: New file.
29216 * stdio-common/Makefile (tests): Add tst-printf-round.
29217 (link-libm): New variable.
29218 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29220 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29223 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29224 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29226 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29229 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29231 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29232 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29233 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29234 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29236 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29239 * include/rounding-mode.h: New file.
29240 * sysdeps/generic/get-rounding-mode.h: Likewise.
29241 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29242 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29243 (MAX_VALUE): New macro.
29244 (MIN_VALUE): Likewise.
29245 (overflow_value): New function.
29246 (underflow_value): Likewise.
29247 (round_and_return): Use overflow_value and underflow_value to
29248 determine return values in overflow and underflow cases. Use
29249 round_away to determine rounding depending on rounding mode.
29250 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29251 determine return values in overflow and underflow cases.
29252 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29253 (struct test_results): New structure.
29254 (struct test): Use struct test_results to store expected results
29255 for all rounding modes.
29256 (TEST): Include expected results for all rounding modes.
29257 (test_in_one_mode): New function.
29258 (do_test): Use test_in_one_mode to compute and check results.
29259 Check results for all rounding modes.
29260 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29263 2012-12-09 Allan McRae <allan@archlinux.org>
29265 * sysdeps/i386/fpu/libm-test-ulps: Update
29267 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29269 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29270 (_G_int32_t): Likewise.
29271 (_G_uint16_t): Likewise.
29272 (_G_uint32_t): Likewise.
29273 (_G_HAVE_BOOL): Likewise.
29274 (_G_HAVE_ATEXIT): Likewise.
29275 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29276 (_G_HAVE_IO_FILE_OPEN): Likewise.
29277 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29278 (_G_int32_t): Likewise.
29279 (_G_uint16_t): Likewise.
29280 (_G_uint32_t): Likewise.
29281 (_G_HAVE_BOOL): Likewise.
29282 (_G_HAVE_ATEXIT): Likewise.
29283 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29284 (_G_HAVE_IO_FILE_OPEN): Likewise.
29285 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29286 (_G_int32_t): Likewise.
29287 (_G_uint16_t): Likewise.
29288 (_G_uint32_t): Likewise.
29289 (_G_HAVE_BOOL): Likewise.
29290 (_G_HAVE_ATEXIT): Likewise.
29291 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29292 (_G_HAVE_IO_FILE_OPEN): Likewise.
29294 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29296 * csu/libc-tls.c: Update copyright years.
29298 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29300 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29301 [!_G_USING_THUNKS]: Remove conditional code.
29302 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29303 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29305 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29306 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29307 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29308 (_G_VTABLE_LABEL_PREFIX): Likewise.
29309 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29310 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29311 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29312 (_G_VTABLE_LABEL_PREFIX): Likewise.
29313 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29314 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29315 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29316 (_G_VTABLE_LABEL_PREFIX): Likewise.
29317 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29319 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29321 * libio/Makefile: Include ../Makeconfig before tests.
29322 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29323 only if $(build-shared) is yes.
29325 * iconv/gconv_db.c: Update copyright years.
29327 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29329 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29330 unwind info if defined PIC. Fix special cases description.
29331 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29333 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29335 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29337 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29339 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29341 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29344 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29345 (LDLIBS-tst-chk4): This.
29346 (LDFLAGS-tst-chk5): Renamed to ...
29347 (LDLIBS-tst-chk5): This.
29348 (LDFLAGS-tst-chk6): Renamed to ...
29349 (LDLIBS-tst-chk6): This.
29350 (LDFLAGS-tst-lfschk4): Renamed to ...
29351 (LDLIBS-tst-lfschk4): This.
29352 (LDFLAGS-tst-lfschk5): Renamed to ...
29353 (LDLIBS-tst-lfschk5): This.
29354 (LDFLAGS-tst-lfschk6): Renamed to ...
29355 (LDLIBS-tst-lfschk6): This.
29357 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29358 on $(common-objpfx)soversions.mk.
29360 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29363 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29366 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29368 * malloc/arena.c (arena_get_retry): New function that gets
29369 another arena for the caller to try its request on.
29370 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29371 current arena cannot fulfill the request.
29372 (__libc_memalign): Likewise.
29373 (__libc_memalign): Likewise.
29374 (__libc_pvalloc): Likewise.
29375 (__libc_calloc): Likewise.
29377 2012-09-05 John Tobey <john.tobey@gmail.com>
29380 * manual/arith.texi (Operations on Complex): Fix description
29381 of carg branch cut.
29383 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29386 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29390 * manual/memory.texi (Memory): Make order of menu items match
29393 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29395 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29396 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29397 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29399 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29401 * csu/libc-tls.c (static_dtv): Renamed to ...
29402 (_dl_static_dtv): This. Make it global.
29403 (_dl_initial_dtv): Removed.
29404 (__libc_setup_tls): Updated.
29405 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29406 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29409 2012-09-06 Petr Machata <pmachata@redhat.com>
29411 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29412 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29413 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29414 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29416 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29419 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29420 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29423 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29426 * Makeconfig (link-static-before-libc): Replace $(+prector)
29428 (link-static-after-libc): Replace $(+postctor) with
29430 (link-bounded): Replace $(+prector)/$(+postctor) with
29431 $(+prectorT)/$(+postctorT).
29432 (+prectorT): New macro.
29433 (+postctorT): Likewise.
29435 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29437 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29438 (round_str): Handle values above the maximum for IBM long double
29440 * stdlib/tst-strtod-round.c (tests): Regenerated.
29442 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29444 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29446 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29447 zarch_nohighgprs around the zarch optimized routines.
29448 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29449 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29450 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29453 2012-09-05 David S. Miller <davem@davemloft.net>
29455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29457 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29458 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29459 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29460 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29463 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29465 * malloc/arena.c: Fold copyright years.
29466 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29468 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29470 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29472 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29474 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29476 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29478 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29479 change internal state upon failure.
29481 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29483 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29484 * malloc/memusage.c (mmap): Likewise.
29485 (mmap64, mremap): Likewise. Adjust name in comment.
29487 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29489 * libio/fileops.c: Fix typos in comments.
29490 * libio/oldfileops.c: Likewise.
29491 * libio/wfileops.c: Likewise.
29493 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29496 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29497 (tst-malloc-usable-ENV): Set environment for test case.
29498 * malloc/hooks.c (malloc_check_get_size): New function to get
29500 * malloc/malloc.c (musable): Use malloc_check_get_size.
29501 * malloc/tst-malloc-usable.c: New test case.
29503 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29505 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29507 2012-09-05 Allan McRae <allan@archlinux.org>
29510 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29511 determine header location.
29512 * configure: Regenerated.
29514 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29516 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29518 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29519 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29521 (test): Regenerate.
29523 2012-09-04 David S. Miller <davem@davemloft.net>
29525 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29526 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29527 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29529 2012-09-04 Florian Weimer <fweimer@redhat.com>
29531 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29534 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29536 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29539 * libio/iogetdelim.c: Include <limits.h>.
29540 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29541 + len + 1 would overflow.
29543 2012-09-03 Andreas Jaeger <aj@suse.de>
29545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29546 * sysdeps/i386/fpu/libm-test-ulps: Update.
29548 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29550 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29551 Add s_sinf-sse2, s_conf-sse2.
29553 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29554 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29555 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29556 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29558 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29559 for using routine as __sinf_ia32.
29560 Use macro for function declaration and weak_alias.
29561 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29562 for using routine as __cosf_ia32.
29563 Use macro for function declaration and weak_alias.
29565 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29566 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29568 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29569 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29572 * math/libm-test.inc (cos_test): Add more test cases.
29573 (sin_test): Likewise.
29574 (sincos_test): Likewise.
29576 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29578 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29579 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29581 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29583 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29586 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29587 first element of the GOT.
29588 (elf_machine_load_address): Return the difference between
29589 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29591 2012-09-01 Allan McRae <allan@archlinux.org>
29594 * configure.in (AWK): Require gawk version 3.0 or later.
29595 * configure: Regenerated.
29597 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29599 * sysdeps/unix/sysv/linux/kernel-features.h
29600 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29601 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29602 [__NR_clock_getres]: Make code unconditional.
29603 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29604 (clock_getcpuclockid): Remove code left unreachable by removal of
29606 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29607 code unconditional.
29608 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29609 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29610 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29611 Make code unconditional.
29612 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29613 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29614 * sysdeps/unix/sysv/linux/clock_settime.c
29615 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29617 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29618 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29620 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29623 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29624 scripts/test-installation.pl.
29626 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29627 and $ld_so_version if it is set.
29629 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29632 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29633 failure if reading from procfs failed.
29634 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29636 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29638 * sysdeps/unix/sysv/linux/kernel-features.h
29639 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29640 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29641 Remove conditional code.
29642 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29643 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29644 Remove conditional code.
29645 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29646 * sysdeps/unix/sysv/linux/i386/fxstat.c
29647 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29648 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29649 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29650 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29652 * sysdeps/unix/sysv/linux/i386/lxstat.c
29653 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29655 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29656 Remove conditional code.
29657 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29658 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29659 Remove conditional code.
29660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29661 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29662 <kernel-features.h>.
29663 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29665 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29666 Remove conditional code.
29667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29668 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29669 Remove conditional.
29671 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29674 * NEWS: Add fixed bug number.
29676 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29679 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29680 underflowing exponent in case of negative sign.
29681 * stdlib/tst-strtod-round-data: Add more tests.
29682 * stdlib/tst-strtod-round.c (tests): Regenerated.
29685 * stdlib/strtod_l.c (NDIG): Remove.
29686 (HEXNDIG): Likewise.
29687 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29688 smallest representable value.
29689 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29690 lie within an exact representation of 1/2 ulp of the result.
29691 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29693 (TENS_P9_IDX): Define unconditionally.
29694 (TENS_P9_SIZE): Likewise.
29695 (TENS_P10_IDX): Likewise.
29696 (TENS_P10_SIZE): Likewise.
29697 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29698 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29699 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29700 entries for 10^2^13 and 10^2^14.
29701 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29702 (TENS_P13_IDX): Define.
29703 (TENS_P13_SIZE): Likewise.
29704 (TENS_P14_IDX): Likewise.
29705 (TENS_P14_SIZE): Likewise.
29706 (_fpioconst_pow10): Change array size to
29707 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29709 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29710 1024]: Add entries for 10^2^13 and 10^2^14.
29711 [LAST_POW10 > _LAST_POW10]: Remove #error.
29712 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29713 (_fpioconst_pow10): Change array size to
29714 FPIOCONST_POW10_ARRAY_SIZE.
29715 * stdlib/gen-fpioconst.c: New file.
29716 * stdlib/gen-tst-strtod-round.c: Likewise.
29717 * stdlib/tst-strtod-round-data: Likewise.
29718 * stdlib/tst-strtod-round.c: Likewise.
29719 * stdlib/Makefile (tests): Add tst-strtod-round.
29722 * stdlib/strtod_l.c: Include <stdint.h>.
29723 (NDEBUG): Do not define.
29724 (round_and_return): Change EXPONENT parameter to type intmax_t.
29725 Rearrange calculations to avoid internal overflow possibilities.
29726 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29727 Rearrange calculations to avoid internal overflow possibilities.
29728 Assert that number fits inside MPNSIZE limbs.
29729 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29730 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29731 calculations and add assertions to avoid internal overflow
29732 possibilities. Add casts to avoid signed/unsigned operations.
29733 * stdlib/tst-strtod-overflow.c: New file.
29734 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29736 2012-08-25 Marek Polacek <polacek@redhat.com>
29738 * time/time.h: Fix some typos in comments.
29740 2012-08-23 Roland McGrath <roland@hack.frob.com>
29742 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29743 * posix/tst-rfc3484-2.c: Likewise.
29744 * posix/tst-rfc3484-3.c: Likewise.
29746 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29748 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29749 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29751 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29753 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29754 #include of fxstatat64.c.
29756 2012-08-22 Roland McGrath <roland@hack.frob.com>
29758 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29759 * shadow/getspent_r.c: Likewise.
29760 * shadow/getspnam.c: Likewise.
29761 * shadow/getspnam_r.c: Likewise.
29762 * gshadow/getsgent.c: Likewise.
29763 * gshadow/getsgent_r.c: Likewise.
29764 * gshadow/getsgnam.c: Likewise.
29765 * gshadow/getsgnam_r.c: Likewise.
29766 * inet/getnetbyad.c: Likewise.
29767 * inet/getnetbyad_r.c: Likewise.
29768 * inet/getnetbynm.c: Likewise.
29769 * inet/getnetbynm_r.c: Likewise.
29770 * inet/getnetent.c: Likewise.
29771 * inet/getnetent_r.c: Likewise.
29772 * inet/getproto.c: Likewise.
29773 * inet/getproto_r.c: Likewise.
29774 * inet/getprtent.c: Likewise.
29775 * inet/getprtent_r.c: Likewise.
29776 * inet/getprtname.c: Likewise.
29777 * inet/getprtname_r.c: Likewise.
29778 * inet/getrpcbyname.c: Likewise.
29779 * inet/getrpcbyname_r.c: Likewise.
29780 * inet/getrpcbynumber.c: Likewise.
29781 * inet/getrpcbynumber_r.c: Likewise.
29782 * inet/getrpcent.c: Likewise.
29783 * inet/getrpcent_r.c: Likewise.
29784 * inet/getaliasent.c: Likewise.
29785 * inet/getaliasent_r.c: Likewise.
29786 * inet/getaliasname.c: Likewise.
29787 * inet/getaliasname_r.c: Likewise.
29788 * nscd/getgrgid_r.c: Likewise.
29789 * nscd/getgrnam_r.c: Likewise.
29790 * nscd/gethstbyad_r.c: Likewise.
29791 * nscd/gethstbynm3_r.c: Likewise.
29792 * nscd/getpwnam_r.c: Likewise.
29793 * nscd/getpwuid_r.c: Likewise.
29794 * nscd/getsrvbynm_r.c: Likewise.
29795 * nscd/getsrvbypt_r.c: Likewise.
29796 * nscd/gai.c: Likewise.
29798 * configure.in (build_nscd): New substituted variable, set
29799 by --disable-build-nscd and defaults to $use_nscd.
29800 * configure: Regenerated.
29801 * config.make.in (build-nscd): New substituted variable.
29802 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29803 Change conditional to require [$(build-nscd) = yes] as well.
29804 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29807 * configure.in (use_nscd): New substituted variable, set by
29808 --disable-nscd. If enabled, define USE_NSCD.
29809 * configure: Regenerated.
29810 * config.h.in: Add USE_NSCD.
29811 * config.make.in (use-nscd): New substituted variable.
29812 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29813 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29814 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29815 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29816 (CFLAGS-getgrnam_r.c): Likewise.
29817 (CFLAGS-initgroups.c): Likewise.
29818 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29819 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29821 * inet/getnetgrent_r.c
29822 (nscd_setnetgrent): New function, broken out of ...
29823 (setnetgrent): ... here. Call it.
29824 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29825 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29826 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29827 * nscd/Makefile (routines, aux): Move definitions after include of
29828 Makeconfig. Conditionalize on [$(use-nscd) != no].
29829 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29830 Conditionalize on [USE_NSCD].
29831 (is_nscd, nscd_init_cb): Likewise.
29832 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29833 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29834 * nss/nss_db/db-init.c: Likewise.
29835 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29837 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29838 (make_request): Use it.
29839 (cache_valid_p): New function.
29840 (__check_pf): Use it.
29841 * NEWS: Add item for --disable-nscd.
29843 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29845 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29846 to support sed >= 4.2.1-20-ga9bf076.
29847 * configure: Regenerated.
29849 2012-08-22 Roland McGrath <roland@hack.frob.com>
29851 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29852 Conditionalize whole body on [IREL].
29854 2012-08-22 Jeff Law <law@redhat.com>
29857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29858 if the family is PF_UNSPEC.
29860 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29862 * Makerules (lib-version): Rename from V.
29863 (install-lib-nosubdir): Change V to lib-version.
29865 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29868 * powerpc32/power6/wcschr.c: New file.
29869 * powerpc32/power6/wcscpy.c: New file.
29870 * powerpc32/power6/wcsrchr.c: New file.
29871 * powerpc64/power6/wcschr.c: New file.
29872 * powerpc64/power6/wcscpy.c: New file.
29873 * powerpc64/power6/wcsrchr.c: New file.
29875 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29877 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29878 (two_way_short_needle): Use it.
29879 * string/strstr.c (AVAILABLE1_USES_J): Define.
29880 * string/strcasestr.c: Likewise.
29882 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29884 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29887 * NEWS: Add an entry.
29888 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29889 define their defaults.
29890 (two_way_short_needle): Detect end-of-string on-the-fly.
29891 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29892 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29893 * string/bug-strcasestr1.c: New test.
29894 * string/Makefile: Run it.
29896 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29899 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29900 the first character.
29902 2012-08-21 Roland McGrath <roland@hack.frob.com>
29904 * csu/elf-init.c (__libc_csu_irel): Function removed.
29905 * csu/libc-start.c (apply_irel): New function.
29906 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29908 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29910 * sysdeps/unix/sysv/linux/kernel-features.h
29911 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29912 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29913 <kernel-features.h>.
29914 [__NR_fadvise64_64]: Make code unconditional.
29915 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29916 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29917 !__NR_fadvise64_64)]: Likewise.
29918 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29919 !__NR_fadvise64_64))]: Likewise.
29920 [__NR_fadvise64]: Make code unconditional.
29921 [!__NR_fadvise64]: Remove conditional code.
29922 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29923 <kernel-features.h>.
29924 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29926 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29929 not include <kernel-features.h>.
29930 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29932 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29934 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29935 include <kernel-features.h>.
29936 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29938 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29941 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29943 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29944 slight instruction rearrangements per scrollpipe analysis.
29945 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29947 2012-08-20 Roland McGrath <roland@hack.frob.com>
29949 * manual/syslog.texi (syslog; vsyslog, closelog):
29950 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29951 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29953 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29954 DSOCAPS to match condition on defining it.
29956 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29958 * sysdeps/unix/sysv/linux/kernel-features.h
29959 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29961 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29962 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29964 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29965 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29967 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29968 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29970 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29971 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29973 * sysdeps/unix/sysv/linux/kernel-features.h
29974 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29975 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29977 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29978 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29979 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29980 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29981 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29982 Make code unconditional.
29983 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29984 (__mmap64) [!__NR_mmap2]: Likewise.
29985 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29986 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29987 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29988 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29989 [__NR_mmap2]: Make code unconditional.
29990 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29991 (__mmap64) [!__NR_mmap2]: Likewise.
29993 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29995 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29997 2012-08-18 Andreas Jaeger <aj@suse.de>
29999 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30001 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30003 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30004 * include/unistd.h (__have_sock_cloexec): Likewise.
30005 (__have_pipe2): Likewise.
30006 (__have_dup3): Likewise.
30008 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30011 * include/unistd.h (__have_pipe2): Change define into an extern int.
30012 (__have_dup3): Likewise.
30013 * socket/have_sock_cloexec.c: Include fcntl.h.
30014 (__have_pipe2): New variable.
30015 (__have_dup3): Likewise.
30017 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30019 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30021 2012-08-17 Marek Polacek <polacek@redhat.com>
30023 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30024 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30026 2012-08-17 Roland McGrath <roland@hack.frob.com>
30028 * configure.in: Add AC_SUBST for sysheaders.
30029 * configure: Regenerated.
30030 * config.make.in (sysheaders): New substituted variable.
30032 * sysdeps/unix/mkfifo.c: Moved ...
30033 * sysdeps/posix/mkfifo.c: ... here.
30034 * sysdeps/unix/mkfifoat.c: Moved ...
30035 * sysdeps/posix/mkfifoat.c: ... here.
30037 * sysdeps/unix/utime.c: Moved ...
30038 * sysdeps/posix/utime.c: ... here.
30040 * sysdeps/unix/time.c: Moved ...
30041 * sysdeps/posix/time.c: ... here.
30042 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30043 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30045 * sysdeps/unix/nice.c: Moved ...
30046 * sysdeps/posix/nice.c: ... here.
30048 * sysdeps/unix/alarm.c: Moved ...
30049 * sysdeps/posix/alarm.c: ... here.
30051 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30053 2012-08-17 Jeff Law <law@redhat.com>
30055 * intl/Makefile (codeset_mo): New variable.
30056 ($(codeset_mo)): New target.
30057 (tst-codeset.out): Depend on that. Remove explicit rule.
30058 (tst-gettext3.out, tst-gettext5.out): Likewise.
30059 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30060 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30061 * intl/tst-codeset.sh: Remove.
30062 * intl/tst-gettext3.sh: Likewise.
30063 * intl/tst-gettext5.sh: Likewise.
30065 2012-08-17 Roland McGrath <roland@hack.frob.com>
30067 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30068 * sysdeps/unix/syscalls.list: ... here.
30070 * sysdeps/posix/getaddrinfo.c
30071 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30072 (gaiconf_init, gaiconf_reload): Use them.
30073 [!_STATBUF_ST_NSEC]
30074 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30075 Define using time_t rather than struct timespec.
30077 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30078 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30080 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30082 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30083 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30086 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30087 __libc_cleanup_push argument.
30089 * bits/param.h: New file.
30090 * misc/sys/param.h: New file.
30091 * include/sys/param.h: New file.
30092 * misc/Makefile (headers): Add bits/param.h.
30093 * sysdeps/generic/sys/param.h: File removed.
30094 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30095 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30096 * sysdeps/mach/hurd/bits/param.h: New file.
30097 * sysdeps/mach/hurd/sys/param.h: File removed.
30099 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30102 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30104 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30105 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30108 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30109 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30110 rather than -D_IO_MTSAFE_IO conditionally.
30111 * stdio-common/Makefile (CPPFLAGS): Likewise.
30112 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30113 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30114 Use $(libio-mtsafe).
30115 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30116 of -D_IO_MTSAFE_IO.
30117 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30118 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30119 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30120 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30121 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30122 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30123 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30124 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30125 (CFLAGS-fread_u_chk.c): Likewise.
30126 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30127 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30128 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30129 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30130 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30131 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30132 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30133 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30134 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30136 * libio/Makefile: Test [$(libc-reentrant) = yes]
30137 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30140 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30141 * sysdeps/pthread/configure: File removed.
30142 * sysdeps/pthread/Makeconfig: New file.
30143 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30144 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30146 2012-08-16 Gary Benson <gbenson@redhat.com>
30148 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30149 unmapping the first object in a namespace.
30151 2012-08-16 Roland McGrath <roland@hack.frob.com>
30153 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30154 (__internal_setnetgrent): ... this. Add internal_function to
30155 definition. Add libc_hidden_def.
30156 (setnetgrent): Update caller.
30157 (internal_endnetgrent): Renamed to ...
30158 (__internal_endnetgrent): ... this. Add internal_function to
30159 definition. Add libc_hidden_def.
30160 (endnetgrent): Update caller.
30161 (internal_getnetgrent_r): Renamed to ...
30162 (__internal_getnetgrent_r): ... this. Add internal_function to
30163 definition. Add libc_hidden_def.
30164 (__getnetgrent_r): Update caller.
30165 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30167 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30169 * stdlib/longlong.h: Update from GCC.
30171 2012-08-16 Roland McGrath <roland@hack.frob.com>
30173 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30174 on _QL, which is set by umul_ppmm but never used.
30175 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30176 variables, which are set by GMP macros but never used.
30177 * stdio-common/_itowa.c (_itowa): Likewise.
30178 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30179 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30181 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30183 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30184 struct La_sh_regs is not constant.
30185 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30186 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30187 and struct La_sparc64_regs are not constant.
30189 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30191 * sysdeps/unix/sysv/linux/kernel-features.h
30192 (__ASSUME_POSIX_TIMERS): Remove.
30193 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30194 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30195 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30196 Make code unconditional.
30197 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30198 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30199 Make code unconditional.
30200 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30201 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30202 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30203 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30204 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30205 Make code unconditional.
30206 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30207 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30208 (__libc_missing_posix_timers): Remove.
30210 2012-08-15 Roland McGrath <roland@hack.frob.com>
30212 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30213 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30215 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30217 * elf/dl-sym.c: Include <stdlib.h>.
30219 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30220 constants, which avoids warnings in 32-bit builds.
30222 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30223 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30225 * misc/lseek.c: File moved to ...
30226 * io/lseek.c: ... here.
30228 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30230 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30231 shifting LEN more than 31 bits at once.
30233 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30236 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30237 segmentation fault for a case of two empty input strings.
30238 * string/test-strncasecmp.c (check1): Renamed to...
30239 (bz12205): ...this.
30240 (bz14195): Add new testcase for two empty input strings and N > 0.
30241 (test_main): Call new testcase, adapt for renamed function.
30243 2012-08-15 Andreas Jaeger <aj@suse.de>
30246 * crypt/md5test2.c: New test, based on test supplied by Serge
30247 Belyshev <belyshev@depni.sinp.msu.ru>.
30248 * crypt/Makefile (xtests): Add md5test-giant..
30249 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30251 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30254 * crypt/md5.c (md5_process_block): Don't assume the buffer
30255 length is less than 2**32.
30256 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30257 length is less than 2**64.
30259 2012-08-15 Roland McGrath <roland@hack.frob.com>
30261 * string/str-two-way.h: Include <sys/param.h>.
30262 (MAX): Macro removed.
30264 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30265 Move #define and #undef of memmove to just before and after
30266 including <string.h>.
30268 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30269 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30270 and after including <string.h>. Move declarations of
30271 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30272 to before #include "string/memmove.c".
30274 * include/dirent.h: Declare __getdirentries.
30276 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30277 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30279 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30281 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30282 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30283 * sysdeps/i386/configure: Regenerated.
30284 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30285 STABS_CURRENT_FILE, and STABS_FUN.
30286 (END): Remove call to STABS_FUN_END.
30287 (STABS_CURRENT_FILE1): Delete.
30288 (STABS_CURRENT_FILE): Likewise.
30289 (STABS_FUN): Likewise.
30290 (STABS_FUN_END): Likewise.
30291 (STABS_FUN2): Likewise.
30292 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30293 * sysdeps/x86_64/configure: Regenerated.
30295 2012-08-14 Roland McGrath <roland@hack.frob.com>
30297 * elf/dl-open.c: Include <atomic.h>.
30298 * elf/dl-lookup.c: Likewise.
30300 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30302 * sysdeps/unix/sysv/linux/kernel-features.h
30303 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30304 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30306 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30308 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30309 condition on __ASSUME_CLONE_THREAD_FLAGS.
30311 2012-08-14 Andreas Jaeger <aj@suse.de>
30313 * sysdeps/i386/fpu/libm-test-ulps: Update.
30315 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30317 * include/atomic.h (atomic_exchange_and_add): Split into ...
30318 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30321 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30325 2012-08-13 Jeff Law <law@redhat.com>
30327 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30328 null byte in the output string.
30330 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30332 * sysdeps/unix/sysv/linux/kernel-features.h
30333 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30334 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30335 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30336 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30337 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30338 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30339 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30341 2012-08-09 Jeff Law <law@redhat.com>
30344 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30345 When avoid_arena is set, don't retry in the that arena. Pick the
30346 next one, whatever it might be.
30347 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30348 (arena_lock): Pass in new parameter to arena_get2.
30349 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30351 (__libc_malloc): Unify retrying after main arena failure with
30352 __libc_memalign version.
30353 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30355 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30358 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30359 to __redirect_strstr.
30360 (__strstr_sse42): Use typeof __redirect_strstr.
30361 (__strstr_ia32): Likewise.
30362 (__libc_strstr): New prototype.
30363 (strstr): Renamed to ...
30364 (__libc_strstr): This.
30365 (strstr): New strong alias of __libc_strstr.
30366 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30367 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30370 (__libc_time): New prototype.
30371 (time_ifunc): Replace time with __libc_time.
30372 (time): New strong alias and hidden definition of __libc_time.
30373 (__GI_time): Remove strong alias.
30374 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30375 Include <stddef.h>.
30376 (memmove): Redefined to __redirect_memmove.
30377 (__memmove_sse2): Use typeof __redirect_memmove.
30378 (__memmove_ssse3): Likewise.
30379 (__memmove_ssse3_back): Likewise.
30380 (__libc_memmove): New prototype.
30381 (memmove): Renamed to ...
30382 (__libc_memmove): This.
30383 (memmove): New strong alias of __libc_memmove.
30385 2012-08-08 Mark Salter <msalter@redhat.com>
30388 (R_MN10300_TLS_GD): Define.
30389 (R_MN10300_TLS_LD): Likewise.
30390 (R_MN10300_TLS_LDO): Likewise.
30391 (R_MN10300_TLS_GOTIE): Likewise.
30392 (R_MN10300_TLS_IE): Likewise.
30393 (R_MN10300_TLS_LE): Likewise.
30394 (R_MN10300_TLS_DTPMOD): Likewise.
30395 (R_MN10300_TLS_DTPOFF): Likewise.
30396 (R_MN10300_TLS_TPOFF): Likewise.
30397 (R_MN10300_SYM_DIFF): Likewise.
30398 (R_MN10300_ALIGN): Likewise.
30399 (R_MN10300_NUM): Update.
30401 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30403 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30406 2012-08-08 Roland McGrath <roland@hack.frob.com>
30408 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30410 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30411 sysdeps/unix -> sysdeps/posix move.
30412 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30414 2012-08-07 Allan McRae <allan@archlinux.org>
30417 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30418 (SUNOS_CPP): Likewise.
30419 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30421 (open_input): Call CPP using execvp.
30423 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30425 * sysdeps/unix/sysv/linux/kernel-features.h
30426 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30427 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30428 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30429 (__ASSUME_WAITID_SYSCALL): Likewise.
30430 * sysdeps/unix/sysv/linux/dl-execstack.c
30431 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30432 code unconditional.
30433 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30435 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30436 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30437 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30439 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30441 [__ASSUME_WAITID_SYSCALL]: Likewise.
30442 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30444 2012-08-07 Roland McGrath <roland@hack.frob.com>
30446 * sysdeps/unix/closedir.c: Renamed to ...
30447 * sysdeps/posix/closedir.c: ... here.
30448 * sysdeps/unix/dirfd.c: Renamed to ...
30449 * sysdeps/posix/dirfd.c: ... here.
30450 * sysdeps/unix/dirstream.h: Renamed to ...
30451 * sysdeps/posix/dirstream.h: ... here.
30452 * sysdeps/unix/fdopendir.c: Renamed to ...
30453 * sysdeps/posix/fdopendir.c: ... here.
30454 * sysdeps/unix/opendir.c: Renamed to ...
30455 * sysdeps/posix/opendir.c: ... here.
30456 * sysdeps/unix/readdir.c: Renamed to ...
30457 * sysdeps/posix/readdir.c: ... here.
30458 * sysdeps/unix/readdir_r.c: Renamed to ...
30459 * sysdeps/posix/readdir_r.c: ... here.
30460 * sysdeps/unix/rewinddir.c: Renamed to ...
30461 * sysdeps/posix/rewinddir.c: ... here.
30462 * sysdeps/unix/seekdir.c: Renamed to ...
30463 * sysdeps/posix/seekdir.c: ... here.
30464 * sysdeps/unix/telldir.c: Renamed to ...
30465 * sysdeps/posix/telldir.c: ... here.
30466 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30467 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30468 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30469 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30471 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30472 * bits/fcntl.h: ... here.
30474 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30476 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30477 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30478 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30479 (struct flock): Move l_start, l_len to the beginning.
30480 Use __pid_t for l_pid.
30481 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30482 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30483 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30484 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30485 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30486 [__USE_LARGEFILE64] (struct flock64): New type.
30487 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30489 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30490 * bits/dirent.h: ... here.
30492 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30493 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30495 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30497 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30498 Change from 2.6.0 to 2.6.16.
30499 * sysdeps/unix/sysv/linux/configure: Regenerated.
30500 * sysdeps/unix/sysv/linux/kernel-features.h
30501 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30502 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30504 (__ASSUME_UTIMES): Likewise.
30505 (__ASSUME_CLONE_STOPPED): Remove.
30506 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30507 architectures, not kernel version.
30508 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30509 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30510 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30511 (__ASSUME_WAITID_SYSCALL): Likewise.
30512 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30513 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30514 * README: State 2.6.16 as minimum Linux kernel version. Do not
30515 refer to older versions.
30517 2012-08-06 Roland McGrath <roland@hack.frob.com>
30519 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30520 Define alphasort64 as an alias.
30521 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30522 Define versionsort64 as an alias.
30523 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30524 Define scandir64 as an alias.
30525 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30526 Define scandirat64 as an alias.
30527 * dirent/alphasort64.c (alphasort64):
30528 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30529 * dirent/versionsort64.c: Likewise.
30530 * dirent/scandir64.c: Likewise.
30531 * dirent/scandirat64.c: Likewise.
30532 * sysdeps/wordsize-64/alphasort.c: File removed.
30533 * sysdeps/wordsize-64/alphasort64.c: File removed.
30534 * sysdeps/wordsize-64/scandir.c: File removed.
30535 * sysdeps/wordsize-64/scandir64.c: File removed.
30536 * sysdeps/wordsize-64/scandirat.c: File removed.
30537 * sysdeps/wordsize-64/scandirat64.c: File removed.
30538 * sysdeps/wordsize-64/versionsort.c: File removed.
30539 * sysdeps/wordsize-64/versionsort64.c: File removed.
30540 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30541 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30542 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30543 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30544 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30545 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30546 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30547 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30549 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30550 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30551 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30552 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30553 [defined __arch64__ || defined __sparcv9]
30554 (__INO_T_MATCHES_INO64_T): New macro.
30555 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30556 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30557 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30558 * sysdeps/unix/sysv/linux/bits/dirent.h
30559 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30560 (_DIRENT_MATCHES_DIRENT64): New macro.
30562 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30563 Define lockf64 as an alias.
30564 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30565 Define fseeko64 as an alias.
30566 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30567 Define ftello64 as an alias.
30568 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30569 Define _IO_fgetpos64 and fgetpos64 as aliases.
30570 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30571 Define _IO_fsetpos64 and fsetpos64 as aliases.
30572 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30573 Conditionalize body on this.
30574 * libio/fseeko64.c: Likewise.
30575 * libio/ftello64.c: Likewise.
30576 * libio/iofgetpos64.c: Likewise.
30577 * libio/iofsetpos64.c: Likewise.
30578 * sysdeps/wordsize-64/lockf.c: File removed.
30579 * sysdeps/wordsize-64/lockf64.c: File removed.
30580 * sysdeps/wordsize-64/fseeko.c: File removed.
30581 * sysdeps/wordsize-64/fseeko64.c: File removed.
30582 * sysdeps/wordsize-64/ftello.c: File removed.
30583 * sysdeps/wordsize-64/ftello64.c: File removed.
30584 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30585 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30586 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30587 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30588 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30589 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30590 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30591 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30592 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30593 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30594 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30595 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30596 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30597 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30599 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30600 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30601 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30602 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30603 [defined __arch64__ || defined __sparcv9]
30604 (__OFF_T_MATCHES_OFF64_T): New macro.
30605 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30606 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30607 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30608 (__OFF_T_MATCHES_OFF64_T): New macro.
30610 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30612 * stdlib/secure-getenv.c (__secure_getenv): Replace
30613 GLIBC_2_16 with GLIBC_2_17.
30615 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30617 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30618 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30620 2012-08-03 David S. Miller <davem@davemloft.net>
30622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30624 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30626 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30628 (__ASSUME_CORRECT_SI_PID): Likewise.
30629 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30630 (__ASSUME_TMPFS_NAME): Likewise.
30631 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30632 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30633 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30634 (HAVE_AUX_SECURE): Make definition unconditional.
30635 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30636 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30638 2012-08-03 Roland McGrath <roland@hack.frob.com>
30640 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30641 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30642 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30643 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30644 __eloop_threshold instead of SYMLOOP_MAX.
30646 * sysdeps/generic/eloop-threshold.h: New file.
30647 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30649 * elf/chroot_canon.c (chroot_canon): Likewise.
30651 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30654 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30655 Change to 2.6.0 everywhere.
30656 * sysdeps/unix/sysv/linux/configure: Regenerated.
30657 * sysdeps/unix/sysv/linux/kernel-features.h
30658 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30659 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30661 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30662 (__ASSUME_FUTEX_REQUEUE): Remove.
30663 (__ASSUME_STATFS64): Define unconditionally.
30664 (__ASSUME_AT_SECURE): Likewise.
30665 (__ASSUME_CORRECT_SI_PID): Likewise.
30666 (__ASSUME_TGKILL): Define without depending on kernel version for
30668 (__ASSUME_UTIMES): Likewise.
30669 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30671 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30672 (__ASSUME_TMPFS_NAME): Likewise.
30673 * README: Update reference to Linux kernel versions.
30675 2012-08-02 Marek Polacek <polacek@redhat.com>
30678 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30679 libc_cv_asm_type_prefix with %.
30680 * configure: Regenerated.
30681 * include/libc-symbols.h: Remove comment about
30682 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30683 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30684 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30685 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30686 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30687 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30688 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30689 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30690 * elf/tst-unique2mod1.c: Likewise.
30691 * elf/tst-unique1mod2.c: Likewise.
30692 * elf/tst-unique1mod1.c: Likewise.
30693 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30694 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30695 Replace ASM_TYPE_DIRECTIVE with .type.
30696 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30697 * sysdeps/i386/sysdep.h: Likewise.
30698 * sysdeps/x86_64/sysdep.h: Likewise.
30699 * sysdeps/sh/sysdep.h: Likewise.
30700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30701 Do not define ASM_TYPE_DIRECTIVE.
30702 * sysdeps/powerpc/sysdep.h: Likewise.
30703 * sysdeps/powerpc/powerpc32/sysdep.h:
30704 Replace ASM_TYPE_DIRECTIVE with .type.
30705 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30706 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30707 * sysdeps/i386/fpu/e_powf.S: Likewise.
30708 * sysdeps/i386/fpu/e_expl.S: Likewise.
30709 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30710 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30711 * sysdeps/i386/fpu/e_pow.S: Likewise.
30712 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30713 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30714 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30715 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30716 * sysdeps/i386/fpu/e_log2.S: Likewise.
30717 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30718 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30719 * sysdeps/i386/fpu/e_powl.S: Likewise.
30720 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30721 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30722 * sysdeps/i386/fpu/e_logl.S: Likewise.
30723 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30724 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30725 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30726 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30727 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30728 * sysdeps/i386/fpu/e_log.S: Likewise.
30729 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30730 * sysdeps/i386/fpu/e_logf.S: Likewise.
30731 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30732 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30733 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30734 * sysdeps/i386/fpu/e_log10.S: Likewise.
30735 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30736 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30737 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30738 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30739 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30740 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30741 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30742 * sysdeps/i386/i686/strtok.S: Likewise.
30743 * sysdeps/i386/i386-mcount.S: Likewise.
30744 * sysdeps/i386/strtok.S: Likewise.
30745 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30746 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30747 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30748 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30749 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30750 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30751 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30752 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30753 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30754 * sysdeps/x86_64/_mcount.S: Likewise.
30755 * sysdeps/x86_64/strtok.S: Likewise.
30756 * sysdeps/sh/_mcount.S: Likewise.
30758 2012-08-01 Roland McGrath <roland@hack.frob.com>
30760 * libio/iofopen.c: Include <fcntl.h>.
30761 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30762 (_IO_fopen64, fopen64): Define as aliases.
30763 * libio/iofopen64.c: Include <fcntl.h>.
30764 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30765 Conditionalize body on this.
30766 * sysdeps/wordsize-64/iofopen.c: File removed.
30767 * sysdeps/wordsize-64/iofopen64.c: File removed.
30769 2012-08-01 Marek Polacek <polacek@redhat.com>
30771 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30772 Use dlfcn directly instead of a variable.
30773 (binfmt-subdir): Do not define.
30776 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30778 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30779 Remove all definitions.
30780 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30781 <kernel-features.h>.
30782 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30783 (miss_F_GETOWN_EX): Remove all definitions.
30784 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30786 [!__ASSUME_FCNTL64]: Remove conditional code.
30787 [__ASSUME_FCNTL64]: Make code unconditional.
30788 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30789 <kernel-features.h>.
30790 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30791 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30792 (lockf64) [__NR_fcntl64]: Make code unconditional.
30793 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30795 * sysdeps/unix/sysv/linux/kernel-features.h
30796 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30797 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30798 Make code unconditional.
30799 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30800 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30802 [__NR_vfork]: Make code unconditional.
30803 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30804 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30806 [__NR_vfork]: Make code unconditional.
30807 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30808 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30810 2012-08-01 Roland McGrath <roland@hack.frob.com>
30812 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30813 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30815 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30816 Define mkstemp64 as an alias.
30817 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30818 Define mkstemps64 as an alias.
30819 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30820 Define mkostemp64 as an alias.
30821 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30822 Define mkostemps64 as an alias.
30823 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30824 Conditionalize body on this.
30825 * misc/mkostemp64.c: Likewise.
30826 * misc/mkostemps64.c: Likewise.
30827 * misc/mkstemps64.c: Likewise.
30828 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30829 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30830 * sysdeps/wordsize-64/mkostemp.c: File removed.
30831 * sysdeps/wordsize-64/mkstemp.c: File removed.
30832 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30833 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30834 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30835 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30838 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30839 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30840 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30841 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30843 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30844 compat_symbol macros from <shlib-compat.h> rather than the underlying
30845 default_symbol_version and symbol_version macros, so that DEFAULT
30846 lines in shlib-versions are respected.
30847 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30849 2012-08-01 Florian Weimer <fweimer@redhat.com>
30851 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30852 Declare with warn_unused_result.
30853 (setgid, setregid, setegid, setresgid): Likewise.
30854 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30856 * WUR-REPORT: Remove set*id functions.
30858 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30860 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30862 2012-07-31 Roland McGrath <roland@hack.frob.com>
30865 * include/sys/socket.h (__libc_accept, __libc_accept4):
30866 Add attribute_hidden.
30867 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30869 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30871 * inet/getnetgrent_r.c (setup): Likewise.
30873 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30875 2012-07-31 David S. Miller <davem@davemloft.net>
30877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30879 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30882 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30883 value between 1.0 and 2.0 and smaller part has absolute value less
30885 * math/s_clog10.c (__clog10): Likewise.
30886 * math/s_clog10f.c (__clog10f): Likewise.
30887 * math/s_clog10l.c (__clog10l): Likewise.
30888 * math/s_clogf.c (__clogf): Likewise.
30889 * math/s_clogl.c (__clogl): Likewise.
30890 * math/libm-test.inc (clog_test): Add more tests.
30891 (clog10_test): Likewise.
30892 * sysdeps/i386/fpu/libm-test-ulps: Update.
30893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30895 2012-07-31 Florian Weimer <fweimer@redhat.com>
30897 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30898 Exit with zero in case no suitable GID is found, and write a
30899 message to standard error.
30901 2012-07-30 Roland McGrath <roland@hack.frob.com>
30903 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30905 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30906 (MAXPATHLEN): Removed.
30907 (NOGROUP, NODEV): New macros.
30908 (setbit, clrbit, isset, isclr): New macros.
30909 (howmany, roundup, powerof2): New macros.
30910 (DEV_BSIZE): New macro.
30912 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30913 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30915 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30916 definition on [!__NO_LONG_DOUBLE_MATH].
30918 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30919 PTR_MANGLE and PTR_DEMANGLE.
30921 * socket/accept4.c (accept4): Rename to __libc_accept4.
30922 Define accept4 as a weak alias.
30924 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30925 on [_DIRENT_HAVE_D_TYPE].
30926 * io/ftw.c (ftw_dir): Likewise.
30928 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30930 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30932 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30933 Use the BSD numbers rather than the arbitrary ones we had.
30934 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30935 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30936 (SIGXCPU, SIGXFSZ): New macros.
30939 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30940 initializer on [_LIBC_REENTRANT].
30942 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30943 definitions inside [_POSIX_MAPPED_FILES].
30945 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30947 * dirent/opendir.c: Include <fcntl.h>.
30949 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30950 (__libc_getspecific): Likewise.
30951 (__libc_key_create): Likewise.
30953 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30954 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30955 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30956 (tmpfile64): Define as alias.
30957 * sysdeps/wordsize-64/tmpfile.c: File removed.
30958 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30959 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30960 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30962 * stdio-common/vfscanf.c: Include <stdbool.h>.
30963 * nss/makedb.c: Likewise.
30964 * stdio-common/_i18n_number.h: Likewise.
30965 * argp/argp-help.c: Likewise.
30966 * posix/wordexp.c: Likewise.
30967 * sysdeps/posix/spawni.c: Likewise.
30968 * nss/nss_files/files-initgroups.c: Likewise.
30969 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30970 * nss/nss_files/files-initgroups.c: Likewise.
30971 * nss/nss_db/db-netgrp.c: Likewise.
30972 * nss/nss_db/db-initgroups.c: Likewise.
30973 * io/fchmodat.c: Include <sys/stat.h>.
30975 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30976 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30978 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30981 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30982 Add multiple inclusion protection.
30984 2012-07-27 David S. Miller <davem@davemloft.net>
30986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30988 2012-07-27 Gary Benson <gbenson@redhat.com>
30991 * elf/rtld.c: Include <stap-probe.h>.
30992 (dl_main): Added static probes "init_start" and "init_complete".
30993 * elf/dl-load.c: Include <stap-probe.h>.
30994 (lose): Take new parameter "nsid".
30995 Added static probe "map_failed".
30996 (_dl_map_object_from_fd): Pass namespace id to lose.
30997 Added static probe "map_start".
30998 (open_verify): Pass namespace id to lose.
30999 * elf/dl-open.c: Include <stap-probe.h>.
31000 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31001 and "reloc_complete".
31002 * elf/dl-close.c: Include <stap-probe.h>.
31003 (_dl_close_worker): Added static probes "unmap_start" and
31005 * elf/rtld-debugger-interface.txt: New file documenting the above.
31007 2012-07-26 Roland McGrath <roland@hack.frob.com>
31009 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31010 rather than a string variable.
31011 * sunrpc/rpc_main.c (h_output): Likewise.
31012 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31014 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31016 * inet/check_native.c: New file.
31018 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31021 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31022 if larger part has absolute value 1.0.
31023 * math/s_clog10.c (__clog10): Likewise.
31024 * math/s_clog10f.c (__clog10f): Likewise.
31025 * math/s_clog10l.c (__clog10l): Likewise.
31026 * math/s_clogf.c (__clogf): Likewise.
31027 * math/s_clogl.c (__clogl): Likewise.
31028 * math/libm-test.inc (clog_test): Add more tests.
31029 (clog10_test): Likewise.
31030 * sysdeps/i386/fpu/libm-test-ulps: Update.
31031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31033 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31034 (pltexit): Likewise.
31035 (La_regs): Likewise.
31036 (La_retval): Likewise.
31037 (int_retval): Likewise.
31038 Update #error for removed macros to refer only to definitions in
31040 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31042 (pltexit): Likewise.
31043 (La_regs): Likewise.
31044 (La_retval): Likewise.
31045 (int_retval): Likewise.
31046 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31048 (pltexit): Likewise.
31049 (La_regs): Likewise.
31050 (La_retval): Likewise.
31051 (int_retval): Likewise.
31052 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31054 (pltexit): Likewise.
31055 (La_regs): Likewise.
31056 (La_retval): Likewise.
31057 (int_retval): Likewise.
31058 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31060 (pltexit): Likewise.
31061 (La_regs): Likewise.
31062 (La_retval): Likewise.
31063 (int_retval): Likewise.
31064 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31066 (pltexit): Likewise.
31067 (La_regs): Likewise.
31068 (La_retval): Likewise.
31069 (int_retval): Likewise.
31070 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31072 (pltexit): Likewise.
31073 (La_regs): Likewise.
31074 (La_retval): Likewise.
31075 (int_retval): Likewise.
31076 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31077 macro definitions in tst-audit.h.
31078 * sysdeps/i386/tst-audit.h: New file.
31079 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31080 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31081 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31082 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31083 * sysdeps/sh/tst-audit.h: Likewise.
31084 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31085 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31086 * sysdeps/x86_64/tst-audit.h: Likewise.
31088 2012-07-26 Andreas Jaeger <aj@suse.de>
31090 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31093 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31094 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31095 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31097 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31098 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31099 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31101 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31104 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31106 (si_call_addr, si_syscall, si_arch): Define new macro.
31107 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31109 (si_call_addr, si_syscall, si_arch): Define new marcro.
31110 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31112 (si_call_addr, si_syscall, si_arch): Define new macro.
31113 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31115 (si_call_addr, si_syscall, si_arch): Define new macro.
31117 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31120 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31121 Change to 2.4.21 where previously 2.4.1.
31122 * sysdeps/unix/sysv/linux/configure: Regenerated.
31123 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31124 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31125 Linux kernel version.
31126 (__ASSUME_STD_AUXV): Remove.
31127 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31129 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31130 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31131 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31132 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31133 (__ASSUME_NETLINK_SUPPORT): Likewise.
31134 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31135 (__no_netlink_support): Remove conditional definition.
31136 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31138 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31139 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31140 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31141 (if_nameindex_ioctl): Remove.
31142 (if_nameindex_netlink): Do not handle __no_netlink_support.
31143 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31145 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31146 Remove conditional code.
31147 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31149 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31151 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31152 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31153 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31155 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31156 [!__ASSUME_STD_AUXV]: Remove conditional code.
31157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31158 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31159 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31161 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31162 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31164 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31166 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31167 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31169 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31171 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31174 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31177 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31178 code unconditional.
31179 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31181 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31183 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31186 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31188 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31191 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31192 code unconditional.
31193 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31195 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31197 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31200 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31201 code unconditional.
31202 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31204 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31206 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31209 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31211 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31212 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31213 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31214 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31215 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31216 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31217 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31218 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31219 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31220 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31221 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31222 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31223 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31224 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31225 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31226 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31227 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31228 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31229 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31231 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31232 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31233 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31235 2012-07-25 Florian Weimer <fweimer@redhat.com>
31237 * Versions.def: Add GLIBC_2.17.
31238 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31239 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31240 Introduce __libc_secure_getenv.
31241 * stdlib/Versions (2.17): Add secure_getenv
31242 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31243 * stdlib/secure-getenv.c: Rename __secure_getenv to
31244 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31245 symbol __secure_getenv for GLIBC_2.0.
31246 * stdlib/tst-secure-getenv.c: New.
31247 * stdlib/Makefile (tests): Add testcase.
31248 * manual/startup.texi (Environment Access): Document
31250 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31251 __libc_secure_getenv.
31252 * inet/ruserpass.c (ruserpass): Likewise.
31253 * malloc/mtrace.c (mtrace): Likewise.
31254 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31255 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31256 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31257 * sysdeps/posix/tempname.c: Likewise. Evaluate
31258 HAVE_SECURE_GETENV.
31259 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31260 __secure_getenv to __libc_secure_getenv.
31261 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31268 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31274 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31276 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31277 (struct La_i86_retval): Likewise.
31278 (struct La_x86_64_regs): Likewise.
31279 (struct La_x86_64_retval): Likewise.
31280 (struct La_x32_regs): Likewise.
31281 (struct La_x32_retval): Likewise.
31282 (struct La_ppc32_regs): Likewise.
31283 (struct La_ppc32_retval): Likewise.
31284 (struct La_ppc64_regs): Likewise.
31285 (struct La_ppc64_retval): Likewise.
31286 (struct La_sh_regs): Likewise.
31287 (struct La_sh_retval): Likewise.
31288 (struct La_s390_32_regs): Likewise.
31289 (struct La_s390_32_retval): Likewise.
31290 (struct La_s390_64_regs): Likewise.
31291 (struct La_s390_64_retval): Likewise.
31292 (struct La_sparc32_regs): Likewise.
31293 (struct La_sparc32_retval): Likewise.
31294 (struct La_sparc64_regs): Likewise.
31295 (struct La_sparc64_retval): Likewise.
31296 (struct audit_ifaces): Remove architecture-specific pltenter and
31298 * sysdeps/i386/ldsodefs.h: New file.
31299 * sysdeps/powerpc/ldsodefs.h: Likewise.
31300 * sysdeps/s390/ldsodefs.h: Likewise.
31301 * sysdeps/sh/ldsodefs.h: Likewise.
31302 * sysdeps/sparc/ldsodefs.h: Likewise.
31303 * sysdeps/x86_64/ldsodefs.h: Likewise.
31305 2012-07-25 Marek Polacek <polacek@redhat.com>
31308 * math/libm-test.inc (yn_test): Add another test.
31309 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31310 to ERANGE when the result is +-Inf.
31311 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31312 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31313 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31314 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31316 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31318 * conform/data/time.h-data (NULL): Use macro-constant. Require
31320 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31322 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31324 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31326 * configure.in <sysdeps resolving>: Correct printing
31328 * configure: Regenerate.
31330 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31332 * math/w_ilogb.c: Include <limits.h>.
31333 * math/w_ilogbl.c: Likewise.
31335 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31337 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31338 va_copy. Document allowing for unavailable va_copy only as
31339 pre-C99 compatibility.
31340 * manual/string.texi (Copying and Concatenation): Use va_copy
31341 instead of __va_copy in concat example.
31343 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31345 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31346 (__sendto): Use create_address_port. Initialize APORT and deallocate
31349 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31350 with O_NOLINK passed to __file_name_lookup.
31352 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31353 with O_NOLINK passed to __file_name_lookup.
31355 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31356 negative N or less than NGIDS.
31358 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31359 type to string_t. Set ERANGE as errno and return it if NAME is not big
31360 enough. Use memcpy instead of strncpy.
31362 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31364 * elf/Makefile (check-data): Remove.
31365 (localplt.data): New vpath directive.
31366 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31367 instead of $(check-data).
31368 * scripts/data/localplt-generic.data: Move to ...
31369 * sysdeps/generic/localplt.data: ... here.
31370 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31371 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31372 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31375 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31378 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31381 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31384 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31387 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31391 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31393 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31394 PPC32 and PPC64 files.
31395 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31396 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31398 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31400 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31401 __makecontext_ret to ...
31402 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31403 ... here and call exit if uc_link is NULL. New file.
31404 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31405 __makecontext_ret.S.
31406 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31407 __makecontext_ret to ...
31408 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31409 ... here and call exit if uc_link is NULL. New file.
31410 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31411 __makecontext_ret.S.
31413 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31415 * elf/elf.h (R_390_IRELATIVE): New definition.
31416 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31417 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31418 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31419 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31420 (elf_machine_lazy_rel): Likewise.
31421 * sysdeps/s390/dl-irel.h: New file.
31422 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31423 * sysdeps/s390/s390-64/memset.S: New asm code.
31424 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31425 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31426 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31427 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31428 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31429 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31430 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31431 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31432 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31433 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31434 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31435 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31436 * sysdeps/s390/s390-32/memset.S: New asm code.
31437 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31439 2012-07-17 Marek Polacek <polacek@redhat.com>
31442 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31443 * sysdeps/s390/s390-64/configure.in: Likewise.
31444 * sysdeps/sparc/configure.in: Likewise.
31445 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31446 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31447 * sysdeps/i386/configure.in: Likewise.
31448 * sysdeps/x86_64/configure.in: Likewise.
31449 * sysdeps/sh/configure.in: Likewise.
31450 * sysdeps/s390/s390-32/configure: Regenerated.
31451 * sysdeps/s390/s390-64/configure: Likewise.
31452 * sysdeps/x86_64/configure: Likewise.
31453 * sysdeps/sh/configure: Likewise.
31454 * sysdeps/powerpc/powerpc64/configure: Likewise.
31455 * sysdeps/powerpc/powerpc32/configure: Likewise.
31456 * sysdeps/sparc/configure: Likwise.
31457 * sysdeps/i386/configure: Likewise.
31459 * elf/dl-open.c: Comment fixes.
31461 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31463 * Makefile [CXX] (check-data): Remove.
31464 [CXX] (c++-types.data): New vpath directive.
31465 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31466 vpath. Do not allow for C++ type data being missing.
31467 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31468 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31469 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31470 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31471 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31472 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31473 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31476 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31479 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31482 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31485 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31488 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31491 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31494 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31497 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31498 definitions to architecture-specific files.
31499 (TLS_IE): Likewise.
31500 (TLS_LD): Likewise.
31501 (TLS_GD): Likewise.
31502 * sysdeps/i386/tls-macros.h: New file.
31503 * sysdeps/powerpc/tls-macros.h: Likewise.
31504 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31505 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31506 * sysdeps/sh/tls-macros.h: Likewise.
31507 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31508 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31509 * sysdeps/x86_64/tls-macros.h: Likewise.
31511 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31513 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31514 zero value for regular exit case.
31516 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31517 (__start_context): Preserve zero value for regular exit case.
31519 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31520 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31522 * manual/setjmp.texi (setcontext): Clarify normal process
31523 termination when uc_link is the null pointer.
31524 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31527 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31529 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31530 preprocessor. Test for each exception mask separately.
31532 2012-07-16 Andreas Jaeger <aj@suse.de>
31534 * po/ru.po: Update from translation team.
31536 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31538 * conform/data/string.h-data (NULL): Use macro-constant. Require
31540 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31541 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31542 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31543 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31544 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31546 2012-07-13 Andreas Jaeger <aj@suse.de>
31548 * po/fr.po: Update from translation team.
31550 2012-07-12 Marek Polacek <polacek@redhat.com>
31553 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31554 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31557 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31561 Change to 2.4.1 where previously 2.4.0.
31562 * sysdeps/unix/sysv/linux/configure: Regenerated.
31563 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31564 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31566 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31567 (__ASSUME_AT_CLKTCK): Remove.
31568 (__ASSUME_AT_PAGESIZE): Likewise.
31569 (__ASSUME_AT_XID): Likewise.
31570 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31571 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31572 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31574 (HAVE_AUX_PAGESIZE): Likewise.
31575 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31576 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31577 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31579 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31583 the temporary buffer used to invoke __gethostbyname2_r,
31584 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31585 host_data / struct gaih_addrtuple.
31586 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31587 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31588 header file nss/nsswitch.h.
31589 * nss/nsswitch.h (global scope): Add definition of implementation
31590 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31591 resolv/nss_dns/dns-host.c).
31593 2012-07-11 Andreas Jaeger <aj@suse.de>
31595 * po/fr.po: Update from translation team.
31597 * po/sv.po: Update from translation team
31598 * po/fr.po: Another update from translation team.
31600 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31602 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31603 for subnormals or multiply small sinh result by itself.
31604 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31607 2012-07-11 David S. Miller <davem@davemloft.net>
31609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31611 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31614 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31615 (INTERNAL_MARK): Shift it here.
31617 2012-07-10 Marek Polacek <polacek@redhat.com>
31620 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31621 libc_cv_asm_global_directive with .globl.
31622 * configure: Regenerated.
31623 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31625 * sysdeps/i386/configure: Regenerated.
31626 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31628 * sysdeps/x86_64/configure: Regenerated.
31629 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31630 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31631 * elf/tst-unique2mod2.c: Likewise.
31632 * elf/tst-unique2mod1.c: Likewise.
31633 * elf/tst-unique1mod2.c: Likewise.
31634 * elf/tst-unique1mod1.c: Likewise.
31635 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31636 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31637 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31638 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31639 * sysdeps/mach/sysdep.h: Likewise.
31640 * sysdeps/i386/sysdep.h: Likewise.
31641 * sysdeps/i386/i386-mcount.S: Likewise.
31642 * sysdeps/x86_64/_mcount.S: Likewise.
31643 * sysdeps/x86_64/sysdep.h: Likewise.
31644 * sysdeps/sh/_mcount.S: Likewise.
31645 * sysdeps/sh/sysdep.h: Likewise.
31646 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31647 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31648 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31649 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31650 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31651 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31652 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31653 * locale/localeinfo.h: Likewise.
31654 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31655 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31657 2012-07-09 Roland McGrath <roland@hack.frob.com>
31660 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31662 * manual/message.texi (The Uniforum approach): Likewise.
31663 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31664 (glibc iconv Implementation): Likewise.
31666 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31669 * math/s_clog.c (__clog): Avoid scaling a value down where that
31670 could result in underflow.
31671 * math/s_clog10.c (__clog10): Likewise.
31672 * math/s_clog10f.c (__clog10f): Likewise.
31673 * math/s_clog10l.c (__clog10l): Likewise.
31674 * math/s_clogf.c (__clogf): Likewise.
31675 * math/s_clogl.c (__clogl): Likewise.
31676 * math/libm-test.inc (clog_test): Add more tests.
31677 (clog10_test): Likewise.
31678 * sysdeps/i386/fpu/libm-test-ulps: Update.
31679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31681 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31684 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31685 by 7 not 8 to examine high bit of fractional part.
31688 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31689 for call to __mcount_internal.
31690 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31691 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31692 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31694 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31697 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31698 approximation for values within 0x1p-13f of an odd multiple of
31700 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31701 exception. Add more tests.
31702 * sysdeps/i386/fpu/libm-test-ulps: Update.
31705 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31706 inputs and return -1 for them. Do not check for +Inf in case not
31707 reachable for +Inf.
31708 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31709 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31710 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31711 and return -1 for them. Do not check for +Inf in case not
31712 reachable for +Inf.
31713 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31715 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31716 and return -1 for them. Do not check for +Inf in case not
31717 reachable for +Inf.
31718 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31719 spurious underflow.
31720 * sysdeps/i386/fpu/libm-test-ulps: Update.
31721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31723 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31725 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31727 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31731 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31732 could result in spurious underflow. Scale down values above
31733 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31734 * math/s_csqrtf.c (__csqrtf): Likewise.
31735 * math/s_csqrtl.c (__csqrtl): Likewise.
31736 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31737 spurious underflow.
31738 * sysdeps/i386/fpu/libm-test-ulps: Update.
31739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31741 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31743 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31745 * catgets/xopen-msg.awk: New file.
31746 * catgets/xopen-msg.sed: Removed.
31748 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31750 * intl/po2test.awk: New file.
31751 * intl/po2test.sed: Removed.
31753 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31756 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31757 or multiply small sinh result by itself.
31758 * math/s_ctanf.c (__ctanf): Likewise.
31759 * math/s_ctanh.c (__ctanh): Likewise.
31760 * math/s_ctanhf.c (__ctanhf): Likewise.
31761 * math/s_ctanhl.c (__ctanhl): Likewise.
31762 * math/s_ctanl.c (__ctanl): Likewise.
31763 * math/libm-test.inc (ctan_test_tonearest): New function.
31764 (ctan_test_towardzero): Likewise.
31765 (ctan_test_downward): Likewise.
31766 (ctan_test_upward): Likewise.
31767 (ctanh_test_tonearest): Likewise.
31768 (ctanh_test_towardzero): Likewise.
31769 (ctanh_test_downward): Likewise.
31770 (ctanh_test_upward): Likewise.
31771 (main): Call these new functions.
31772 * sysdeps/i386/fpu/libm-test-ulps: Update.
31773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31775 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31777 * .gitignore: Delete /ports entry.
31779 2012-07-03 Andreas Jaeger <aj@suse.de>
31781 * po/bg.po: Update from translation team.
31782 * po/cs.po: Likewise.
31783 * po/de.po: Likewise.
31784 * po/hr.po: Likewise.
31785 * po/nl.pl: Likewise.
31786 * po/pl.po: Likewise.
31787 * po/vi.po: Likewise.
31789 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31791 * Makeconfig [!+link] (+link-before-libc): New variable.
31792 [!+link] (+link-after-libc): Likewise.
31793 [!+link] (+link-tests): Likewise.
31794 [!+link] (+link): Define in terms of $(+link-before-libc) and
31795 $(+link-after-libc).
31796 [!+link-static] (+link-static-before-libc): New variable.
31797 [!+link-static] (+link-static-after-libc): Likewise.
31798 [!+link-static] (+link-static-tests): Likewise.
31799 [!+link-static] (+link-static): Define in terms of
31800 $(+link-static-before-libc) and $(+link-static-after-libc).
31801 [build-shared] (link-libc-before-gnulib): New variable.
31802 [build-shared] (link-libc-tests): Likewise.
31803 [build-shared] (link-libc): Define in terms of
31804 $(link-libc-before-gnulib).
31805 [!build-shared] (link-libc-tests): New variable.
31806 (link-libc-static-tests): New variable.
31807 [!gnulib] (gnulib-arch): New variable.
31808 [!gnulib] (gnulib-tests): Likewise.
31809 [!gnulib] (static-gnulib-arch): Likewise.
31810 [!gnulib] (static-gnulib-tests): Likewise.
31811 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31812 Define with "=" instead of ":=".
31813 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31814 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31815 * Rules (binaries-all-notests): New variable.
31816 (binaries-all-tests): Likewise.
31817 (binaries-static-notests): Likewise.
31818 (binaries-static-tests): Likewise.
31819 (binaries-all): Define using $(binaries-all-notests) and
31820 $(binaries-all-tests).
31821 (binaries-static): Define using $(binaries-static-notests) and
31822 $(binaries-static-tests).
31823 (binaries-shared-tests): New variable.
31824 (binaries-shared-notests): Likewise.
31825 (binaries-shared): Remove variable.
31826 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31827 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31828 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31829 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31830 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31831 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31832 * elf/Makefile (sln-modules): New variable.
31833 (extra-objs): Add $(sln-modules:=.o).
31834 (ldconfig-modules): Add static-stubs.
31835 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31836 * elf/static-stubs.c: New file.
31839 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31840 by 7 not 8 to examine high bit of fractional part. Use volatile
31841 variables when splitting into final array of floats if
31842 __FLT_EVAL_METHOD__ != 0.
31843 * math/libm-test.inc (cos_test): Add another test.
31844 (sin_test): Likewise.
31845 * sysdeps/i386/fpu/libm-test-ulps: Update.
31848 * math/libm-test.inc (cosh_test): Add more tests.
31850 * version.h (RELEASE): Set to "development".
31851 (VERSION): Set to "2.16.90".
31853 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31855 * NEWS: Update copyright. Remove last-updated date.
31856 Mention math library bug fixes and timezone data changes.
31857 * README: Mention GNU/Hurd, x32, and HPPA support status.
31859 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31861 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31863 2012-06-27 Andreas Jaeger <aj@suse.de>
31865 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31867 2012-06-25 Andreas Jaeger <aj@suse.de>
31869 * sysdeps/s390/fpu/libm-test-ulps: Update.
31871 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31872 Thomas Schwinge <thomas@codesourcery.com>
31874 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31875 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31879 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31881 * sysdeps/mach/start.c: Remove file.
31882 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31883 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31884 * sysdeps/sh/init-first.c: Likewise.
31886 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31887 registers for frame unwinding purposes, add CFI directives.
31888 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31889 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31890 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31893 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31894 __fortify_fail returning.
31895 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31897 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31898 sysdeps/sh/____longjmp_chk.S.
31899 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31900 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31901 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31902 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31904 * sysdeps/sh/abort-instr.h: New file.
31905 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31906 process in case exit returns.
31908 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31909 initialize the GOT register before use.
31911 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31912 calculation of ARGC > 4.
31914 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31915 meaningful names to some local labels.
31917 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31918 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31920 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31921 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31922 (__arch_compare_and_exchange_val_16_acq): Likewise.
31923 (__arch_compare_and_exchange_val_32_acq): Likewise.
31924 (atomic_exchange_and_add): Fix gUSA sequence.
31925 (atomic_add): Likewise.
31926 (atomic_add_negative): Likewise.
31927 (atomic_add_zero): Likewise.
31928 (atomic_bit_test_set): Likewise.
31930 2012-06-22 Andreas Schwab <schwab@redhat.com>
31933 * include/link.h (struct link_map): Add l_free_initfini.
31934 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31936 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31937 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31938 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31941 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31943 * configure.in: Use AC_LANG_SOURCE.
31944 * configure: Regenerate.
31946 2012-06-22 Roland McGrath <roland@hack.frob.com>
31948 * configure.in (libc_cv_localstatedir): New substituted variable.
31949 * configure: Regenerated.
31950 * config.make.in (localstatedir): New variable, substituted from
31951 libc_cv_localstatedir.
31952 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31953 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31954 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31955 * sysdeps/gnu/configure: Regenerated.
31957 2012-06-21 Jeff Law <law@redhat.com>
31960 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31961 free. Simplify list management for _LIBC case.
31963 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31966 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31967 Clear sign bit of 64-bit integer value before comparing against
31970 * sysdeps/mach/configure: Regenerated.
31972 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31975 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31977 2012-06-21 Jeff Law <law@redhat.com>
31980 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31981 uint16_t for elements in the "seen" array to avoid char overflows.
31982 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31983 * elf/dl-open.c (dl_open_worker): Likewise.
31985 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31987 * scripts/list-sources.sh: Scan PORTS for translations.
31988 * po/libc.pot: Regenerated.
31990 2012-06-21 Andreas Jaeger <aj@suse.de>
31993 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31995 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31996 * bits/byteswap-16.h (__bswap_16): Likewise.
31997 * bits/byteswap.h (__bswap_constant_16): Likewise.
31999 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32002 * sysdeps/i386/fpu_control.h: Removed.
32003 * sysdeps/x86_64/fpu_control.h: Moved to ...
32004 * sysdeps/x86/fpu_control.h: Here.
32006 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32007 (_FPU_SETCW): Likewise.
32009 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32012 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32013 * sysdeps/x86/fpu/bits/mathinline.h: This.
32014 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32018 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32019 functions if __x86_64__ is defined.
32021 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32023 * string/endian.h: Add !__ASSEMBLER__ condition for including
32024 conversion interfaces.
32026 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32029 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32030 of ABS(x) in calculating zero to negative powers other than odd
32032 * math/libm-test.inc (pow_test): Add more tests.
32034 2012-06-15 Andreas Jaeger <aj@suse.de>
32036 * manual/contrib.texi (Contributors): Update entry of Liubov
32037 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32040 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32042 * string/string.h: Add __wur to GNU version of strerror_r.
32044 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32047 * string/Makefile (tests): Add tst-strtok_r.
32048 * string/tst-strtok_r.c: New file.
32049 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32050 RAX_LP/RDX_LP on SAVE_PTR.
32052 2012-06-14 Roland McGrath <roland@hack.frob.com>
32054 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32056 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32058 * libm_test.inc (csqrt_test): Allow more spurious underflow
32060 (j0_test): Likewise.
32061 (j1_test): Likewise.
32062 (y0_test): Likewise.
32063 (y1_test): Likewise.
32065 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32067 * po/Makefile (libc.pot): Use UTF-8 charset.
32069 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32072 Suppress sign-conversion warning from FD_SET.
32073 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32074 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32075 not unsigned long int.
32076 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32078 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32082 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32083 __extern_always_inline instead of __extern_inline.
32084 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32085 (__signbit): Likewise.
32086 (__signbitl): Support C++ namespace.
32087 (lrintf): New inline function.
32089 (llrintf): Likewise.
32090 (llrint): Likewise.
32100 (floorf): Likewise.
32101 (nearbyint): Likewise.
32102 (nearbyintf): Likewise.
32104 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32106 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32107 non-default versions.
32109 2012-06-11 Roland McGrath <roland@hack.frob.com>
32112 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32114 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32116 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32117 (FE_UPWARD, FE_DOWNWARD): Don't define.
32118 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32119 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32121 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32123 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32124 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32126 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32128 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32129 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32130 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32131 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32133 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32136 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32137 * sysdeps/i386/fpu/Implies: New file.
32138 * sysdeps/x86_64/fpu/Implies: Likewise.
32139 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32140 * sysdeps/x86/fpu/bits/fenv.h: This.
32142 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32145 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32148 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32149 character 0xffff that matches the last element of the
32152 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32154 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32157 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32159 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32160 values higher than 25.6283.
32162 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32164 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32165 subnormal exponent extraction and add some __builtin_expect.
32166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32167 Fix for subnormal mantissa calculation.
32169 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32171 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32172 cpu2 is -1 and errno is not ENOSYS.
32174 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32177 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32178 * sysdeps/x86/bits/string.h: This.
32179 * sysdeps/x86_64/bits/string.h: Removed.
32181 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32182 if not compiling for x86-64, but compiling for >= i486.
32184 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32185 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32187 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32188 New macro from Linux kernel 3.4.0.
32189 (FP_XSTATE_MAGIC2): Likewise.
32190 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32191 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32192 (struct _fpx_sw_bytes): New struct.
32193 (struct _xsave_hdr): Likewise.
32194 (struct _ymmh_state): Likewise.
32195 (struct _xstate): Likewise.
32197 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32198 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32199 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32200 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32201 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32202 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32204 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32205 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32206 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32207 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32208 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32209 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32211 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32214 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32215 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32216 (sysdep_headers): Include sys/platform/ppc.h.
32217 * sysdeps/powerpc/test-gettimebase.c: Test for
32218 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32219 * manual/Makefile (appendices): Include platform.texi.
32220 * manual/contrib.texi (Contributors): Update @node pointers.
32221 * manual/maint.texi (Maintenance): Likewise.
32222 (Platform): New node.
32223 * manual/platform.texi: New file. Document the new features.
32225 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32226 Jakub Jelinek <jakub@redhat.com>
32229 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32230 where __builtin_expect is unavailable.
32232 2012-06-03 David S. Miller <davem@davemloft.net>
32234 * stdlib/longlong.h: Updated from GCC.
32236 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32239 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32240 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32243 (GLIBC_2.16): Likewise.
32245 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32247 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32249 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32252 (default-abi): New variable.
32253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32254 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32256 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32258 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32260 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32263 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32264 definition. Document in comment.
32266 2012-06-01 David S. Miller <davem@davemloft.net>
32268 * stdlib/longlong.h: Updated from GCC.
32270 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32273 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32274 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32275 sys/debugreg.h sys/io.h here.
32276 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32277 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32279 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32280 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32281 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32282 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32283 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32284 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32286 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32287 Define only if __x86_64__ is defined.
32289 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32292 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32293 Use int64_t for variable i.
32294 * math/libm-test.inc (fmod_test): Add more tests.
32296 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32297 z computation is not scheduled after fetestexcept.
32298 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32299 Use math_force_eval instead of asm to ensure calculation scheduled
32300 before exception test.
32301 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32302 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32304 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32307 computation is not scheduled after fetestexcept.
32309 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32312 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32313 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32315 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32317 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32318 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32320 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32323 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32325 (__WCHAR_MIN): Support __WORDSIZE == 64.
32326 (__WCHAR_MAX): Likewise.
32328 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32329 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32332 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32333 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32336 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32337 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32339 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32340 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32342 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32343 Defined to 1 if __x86_64__ isn't defined.
32344 (_STAT_VER_LINUX_OLD): New.
32345 (st_atime): Remove duplicate.
32346 (st_mtime): Likewise.
32347 (st_ctime): Likewise.
32349 2012-05-31 David S. Miller <davem@davemloft.net>
32351 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32354 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32356 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32360 * elf/dl-reloc.c: Include <_itoa.h>.
32361 (_dl_reloc_bad_type): Remove use of INTUSE.
32362 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32363 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32364 * stdio-common/psiginfo.c (psiginfo): Likewise.
32365 * stdio-common/psignal.c (psignal): Likewise.
32366 * string/strsignal.c (strsignal): Likewise.
32367 * include/signal.h (_sys_siglist): Declare hidden proto.
32368 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32369 INTVARDEF with libc_hidden_data_def.
32370 * stdio-common/itoa-udigits.c: Likewise.
32371 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32372 (_itoa_lower_digits_internal): Remove declaration.
32373 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32374 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32375 (_sys_sigabbrev_internal): Remove aliases.
32376 (_sys_siglist): Define hidden alias.
32378 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32383 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32386 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32387 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32389 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32390 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32391 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32392 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32393 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32394 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32396 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32397 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32398 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32400 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32408 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32409 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32410 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32412 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32413 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32414 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32415 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32416 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32417 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32419 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32420 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32422 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32423 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32425 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32427 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32429 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32430 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32432 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32434 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32435 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32436 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32438 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32440 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32442 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32444 * math/math.h (M_El): Use two more decimal places.
32445 (M_LOG2El): Likewise.
32446 (M_LOG10El): Likewise.
32447 (M_LN2l): Likewise.
32448 (M_LN10l): Likewise.
32450 (M_PI_2l): Likewise.
32451 (M_PI_4l): Likewise.
32452 (M_1_PIl): Likewise.
32453 (M_2_PIl): Likewise.
32454 (M_2_SQRTPIl): Likewise.
32455 (M_SQRT2l): Likewise.
32456 (M_SQRT1_2l): Likewise.
32458 2012-05-31 David S. Miller <davem@davemloft.net>
32460 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32461 values between float registers.
32462 * sysdeps/sparc/sparc64/memset.S: Likewise.
32463 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32465 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32467 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32468 -D_FORTIFY_SOURCE=1.
32469 (CPPFLAGS-tst-longjmp_chk.c): Define.
32470 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32471 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32472 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32473 CFLAGS-tst-wchar-h.c.
32475 2012-05-31 Marek Polacek <polacek@redhat.com>
32478 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32479 __endmntent_internal): Remove declaration.
32480 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32481 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32482 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32484 2012-05-30 David S. Miller <davem@davemloft.net>
32486 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32487 (___Q_simulate_exceptions): Use real FP ops rather than writing
32489 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32492 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32495 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32496 * sysdeps/x86/bits/xtitypes.h: This.
32498 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32499 * sysdeps/x86/bits/wordsize.h: This.
32501 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32502 * sysdeps/x86/bits/huge_vall.h: This.
32504 * sysdeps/i386/bits/select.h: Removed.
32505 * sysdeps/x86_64/bits/select.h: Renamed to ...
32506 * sysdeps/x86/bits/select.h: This.
32508 * sysdeps/i386/bits/setjmp.h: Removed.
32509 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32510 * sysdeps/x86/bits/setjmp.h: This.
32512 * sysdeps/i386/bits/mathdef.h: Removed.
32513 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32514 * sysdeps/x86/bits/mathdef.h: This.
32516 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32519 * include/sys/socket.h (__connect_internal)
32520 (__libc_sa_len_internal): Remove declaration.
32521 (__connect, __libc_sa_len): Declare hidden_proto.
32522 (SA_LEN): Remove use of INTUSE.
32523 * socket/connect.c: Add libc_hidden_def.
32524 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32525 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32526 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32528 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32529 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32530 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32531 of adding _internal alias.
32533 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32536 * sysdeps/i386/bits/link.h: Removed.
32537 * sysdeps/i386/bits/linkmap.h: Likewise.
32538 * sysdeps/x86_64/bits/link.h: Renamed to ...
32539 * sysdeps/x86/bits/link.h: This.
32540 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32541 * sysdeps/x86/bits/linkmap.h: This.
32543 * sysdeps/i386/bits/endian.h: Removed.
32544 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32545 * sysdeps/x86/bits/endian.h: This.
32547 * sysdeps/i386/bits/byteswap.h: Removed.
32548 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32549 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32550 * sysdeps/x86/bits/byteswap.h: This.
32551 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32552 * sysdeps/x86/bits/byteswap-16.h: This.
32553 * sysdeps/i386/Implies: Add x86.
32554 * sysdeps/x86_64/Implies: Likewise.
32556 2012-05-30 David S. Miller <davem@davemloft.net>
32558 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32559 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32560 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32561 (FP_TRAPPING_EXCEPTIONS): Define.
32562 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32563 (FP_TRAPPING_EXCEPTIONS): Define.
32564 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32565 subnormals only when inexact has been signalled or underflow
32566 exceptions are enabled.
32567 (_FP_PACK_CANONICAL): Likewise.
32569 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32573 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32575 2012-05-30 Richard Henderson <rth@twiddle.net>
32577 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32578 with #ifndef NOT_IN_libc.
32580 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32581 marked to avoid plt entry.
32583 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32586 * Makeconfig (default-abi): New macro.
32587 (abi-includes): Likewise.
32588 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32589 $(abi-$(default-abi)-lib-soname) for soname if defined.
32590 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32592 * Makefile (installed-stubs): Likewise.
32593 * include/stubs-biarch.h: Removed.
32594 * scripts/lib-names.awk: Only handle one library at a time.
32595 * scripts/soversions.awk: Remove WORDSIZE support.
32596 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32598 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32600 (syscall-list-default-condition): Likewise.
32601 (syscall-list-default-condition): Likewise.
32602 (syscall-list-includes): Likewise.
32603 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32604 syscall-list-* with abi-*. Handle undefined abi-variants.
32605 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32606 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32607 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32608 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32609 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32610 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32612 (syscall-list-32-options): Likewise.
32613 (syscall-list-32-condition): Likewise.
32614 (syscall-list-64-options): Likewise.
32615 (syscall-list-64-condition): Likewise.
32616 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32618 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32621 (abi-64-ld-soname): New macro.
32622 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32623 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32626 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32627 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32629 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32631 * sysdeps/unix/sysv/linux/kernel-features.h
32632 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32633 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32634 include <kernel-features.h>.
32635 [!__NR_ftruncate64]: Remove conditional code.
32636 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32637 [__NR_ftruncate64]: Make code unconditional.
32638 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32639 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32640 include <kernel-features.h>.
32641 [!__NR_ftruncate64]: Remove conditional code.
32642 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32643 [__NR_ftruncate64]: Make code unconditional.
32644 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32646 include <kernel-features.h>.
32647 [!__NR_ftruncate64]: Remove conditional code.
32648 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32649 [__NR_ftruncate64]: Make code unconditional.
32650 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32652 include <kernel-features.h>.
32653 [!__NR_ftruncate64]: Remove conditional code.
32654 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32655 [__NR_ftruncate64]: Make code unconditional.
32656 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32658 * configure.in (libc_cv_fpie): Weaken to a compile test using
32659 LIBC_TRY_CC_OPTION.
32660 * configure: Regenerated.
32662 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32677 2012-05-27 David S. Miller <davem@davemloft.net>
32679 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32681 (__Q_simulate_exceptions): Return void. Change to simulate
32682 exceptions by writing into the %fsr.
32683 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32684 (__Qp_handle_exceptions): Likewise.
32686 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32687 __Qp_handle_exceptions.
32688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32689 __Qp_handle_exceptions.
32690 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32691 as unused and give dummy FP_RND_NEAREST initializer.
32692 (FP_INHIBIT_RESULTS): Define.
32693 (___Q_simulate_exceptions): Update declaration.
32694 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32696 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32697 as unused and give dummy FP_RND_NEAREST initializer.
32698 (__Qp_handle_exceptions): Update declaration.
32699 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32702 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32704 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32705 the temporary FPU control word.
32706 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32707 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32708 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32709 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32710 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32711 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32712 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32713 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32714 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32715 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32716 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32718 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32720 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32723 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32725 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32726 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32727 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32728 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32730 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32731 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32734 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32736 * po/h.po: Update from translation team.
32738 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32740 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32742 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32743 handling of denormals.
32744 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32745 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32746 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32747 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32748 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32749 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32750 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32753 2012-05-26 Marek Polacek <polacek@redhat.com>
32756 * math/libm-test.inc (fma_test): Don't always expect underflow
32759 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32762 * elf/tst-execstack.c: Include stackinfo.h.
32763 (do_test): Adjust test case to ensure that pthread_getattr_np
32764 behaviour remains the same after marking stack executable.
32766 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32768 * sysdeps/unix/sysv/linux/kernel-features.h
32769 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32770 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32772 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32773 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32774 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32776 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32777 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32779 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32781 * configure.in: Define the default includes to being none.
32782 * configure: Regenerated.
32784 2012-05-25 Roland McGrath <roland@hack.frob.com>
32786 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32787 * sysdeps/x86_64/setjmp.S: Likewise.
32788 * sysdeps/i386/bsd-setjmp.S: Likewise.
32789 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32790 * sysdeps/i386/setjmp.S: Likewise.
32791 * sysdeps/i386/__longjmp.S: Likewise.
32792 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32793 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32795 * include/stap-probe.h: New file.
32796 * configure.in: Handle --enable-systemtap.
32797 * configure: Regenerated.
32798 * config.h.in (USE_STAP_PROBE): New #undef.
32799 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32800 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32801 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32803 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32806 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32807 to 2.4.0 where earlier.
32808 * sysdeps/unix/sysv/linux/configure: Regenerated.
32809 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32810 <kernel-features.h>.
32811 [__ASSUME_32BITUIDS]: Make code unconditional.
32812 [!__ASSUME_32BITUIDS]: Remove conditional code.
32813 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32814 <kernel-features.h>.
32815 [__ASSUME_32BITUIDS]: Make code unconditional.
32816 [!__ASSUME_32BITUIDS]: Remove conditional code.
32817 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32818 [__ASSUME_32BITUIDS]: Make code unconditional.
32819 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32820 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32821 <kernel-features.h>.
32822 [__ASSUME_32BITUIDS]: Make code unconditional.
32823 [!__ASSUME_32BITUIDS]: Remove conditional code.
32824 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32825 <kernel-features.h>.
32826 [__ASSUME_32BITUIDS]: Make code unconditional.
32827 [!__ASSUME_32BITUIDS]: Remove conditional code.
32828 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32829 <kernel-features.h>.
32830 [__ASSUME_32BITUIDS]: Make code unconditional.
32831 [!__ASSUME_32BITUIDS]: Remove conditional code.
32832 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32833 <kernel-features.h>.
32834 [__ASSUME_32BITUIDS]: Make code unconditional.
32835 [!__ASSUME_32BITUIDS]: Remove conditional code.
32836 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32837 <kernel-features.h>.
32838 [__ASSUME_32BITUIDS]: Make code unconditional.
32839 [!__ASSUME_32BITUIDS]: Remove conditional code.
32840 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32841 <kernel-features.h>.
32842 [__ASSUME_32BITUIDS]: Make code unconditional.
32843 [!__ASSUME_32BITUIDS]: Remove conditional code.
32844 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32845 <kernel-features.h>.
32846 [__ASSUME_32BITUIDS]: Make code unconditional.
32847 [!__ASSUME_32BITUIDS]: Remove conditional code.
32848 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32849 <kernel-features.h>.
32850 [__ASSUME_32BITUIDS]: Make code unconditional.
32851 [!__ASSUME_32BITUIDS]: Remove conditional code.
32852 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32853 <kernel-features.h>.
32854 [__ASSUME_32BITUIDS]: Make code unconditional.
32855 [!__ASSUME_32BITUIDS]: Remove conditional code.
32856 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32857 <kernel-features.h>.
32858 [__ASSUME_32BITUIDS]: Make code unconditional.
32859 [!__ASSUME_32BITUIDS]: Remove conditional code.
32860 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32861 <kernel-features.h>.
32862 [__NR_setresgid] (__setresgid): Do not declare.
32863 [__ASSUME_32BITUIDS]: Make code unconditional.
32864 [!__ASSUME_32BITUIDS]: Remove conditional code.
32865 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32866 <kernel-features.h>.
32867 [__NR_setresuid] (__setresuid): Do not declare.
32868 [__ASSUME_32BITUIDS]: Make code unconditional.
32869 [!__ASSUME_32BITUIDS]: Remove conditional code.
32870 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32871 <kernel-features.h>.
32872 [__ASSUME_32BITUIDS]: Make code unconditional.
32873 [!__ASSUME_32BITUIDS]: Remove conditional code.
32874 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32875 <kernel-features.h>.
32876 [__ASSUME_32BITUIDS]: Make code unconditional.
32877 [!__ASSUME_32BITUIDS]: Remove conditional code.
32878 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32879 <kernel-features.h>.
32880 [__ASSUME_32BITUIDS]: Make code unconditional.
32881 [!__ASSUME_32BITUIDS]: Remove conditional code.
32882 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32883 <kernel-features.h>.
32884 [__ASSUME_32BITUIDS]: Make code unconditional.
32885 [!__ASSUME_32BITUIDS]: Remove conditional code.
32886 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32887 <kernel-features.h>.
32888 [__ASSUME_32BITUIDS]: Make code unconditional.
32889 [!__ASSUME_32BITUIDS]: Remove conditional code.
32890 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32891 <kernel-features.h>.
32892 [__ASSUME_32BITUIDS]: Make code unconditional.
32893 [!__ASSUME_32BITUIDS]: Remove conditional code.
32894 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32895 <kernel-features.h>.
32896 [__ASSUME_32BITUIDS]: Make code unconditional.
32897 [!__ASSUME_32BITUIDS]: Remove conditional code.
32898 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32899 <kernel-features.h>.
32900 [__ASSUME_32BITUIDS]: Make code unconditional.
32901 [!__ASSUME_32BITUIDS]: Remove conditional code.
32902 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32903 <kernel-features.h>.
32904 [__ASSUME_32BITUIDS]: Make code unconditional.
32905 [!__ASSUME_32BITUIDS]: Remove conditional code.
32906 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32907 <kernel-features.h>.
32908 [__ASSUME_32BITUIDS]: Make code unconditional.
32909 [!__ASSUME_32BITUIDS]: Remove conditional code.
32910 * sysdeps/unix/sysv/linux/kernel-features.h
32911 (__ASSUME_SETRESUID_SYSCALL): Remove.
32912 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32913 (__ASSUME_32BITUIDS): Likewise.
32914 (__ASSUME_LDT_WORKS): Likewise.
32915 (__ASSUME_O_DIRECTORY): Likewise.
32916 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32917 architecture but not kernel version.
32918 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32919 (__ASSUME_MMAP2_SYSCALL): Likewise.
32920 (__ASSUME_STAT64_SYSCALL): Likewise.
32921 (__ASSUME_IPC64): Likewise.
32922 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32923 <kernel-features.h>.
32924 [__ASSUME_32BITUIDS]: Make code unconditional.
32925 [!__ASSUME_32BITUIDS]: Remove conditional code.
32926 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32927 <kernel-features.h>.
32928 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32929 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32930 132096]: Remove conditional code.
32931 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32932 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
32941 <kernel-features.h>.
32942 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32944 (__setresgid): Do not declare.
32945 [__ASSUME_32BITUIDS]: Make code unconditional.
32946 [!__ASSUME_32BITUIDS]: Remove conditional code.
32947 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32948 <kernel-features.h>.
32949 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32951 (__setresuid): Do not declare.
32952 [__ASSUME_32BITUIDS]: Make code unconditional.
32953 [!__ASSUME_32BITUIDS]: Remove conditional code.
32954 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32955 <kernel-features.h>.
32956 [__ASSUME_32BITUIDS]: Make code unconditional.
32957 [!__ASSUME_32BITUIDS]: Remove conditional code.
32958 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32959 <kernel-features.h>.
32960 [__ASSUME_32BITUIDS]: Make code unconditional.
32961 [!__ASSUME_32BITUIDS]: Remove conditional code.
32963 2012-05-25 Richard Henderson <rth@twiddle.net>
32965 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32966 dl_hwcap to ifunc resolver.
32967 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32969 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32970 dl_hwcap to ifunc resolver.
32971 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32973 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32976 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32977 for |x| <= 2**-26, not 2**-57.
32978 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32981 2012-05-24 Jeff Law <law@redhat.com>
32983 * stdio-common/Makefile (tests): Add bug25.
32984 * stdio-common/bug25.c: New test.
32986 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32989 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32990 multiple of MALLOC_ALIGNMENT in size.
32991 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32993 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32995 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32997 (FILENAME_MAX): Use macro-int-constant.
32998 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32999 (_IOFBF): Use macro-int-constant.
33000 (_IOLBF): Likewise.
33001 (_IONBF): Likewise.
33002 (SEEK_CUR): Likewise.
33003 (SEEK_END): Likewise.
33004 (SEEK_SET): Likewise.
33005 (TMP_MAX): Likewise.
33006 (EOF): Use macro-int-constant. Require < 0.
33007 (NULL): Use macro-constant. Require == 0.
33008 (stdin): Require type to be FILE *.
33009 (stdout): Likewise.
33010 (stderr): Likewise.
33011 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33012 macro-int-constant.
33013 (EXIT_SUCCESS): Likewise.
33014 (NULL): Use macro-constant. Require == 0.
33015 (RAND_MAX): Use macro-int-constant.
33016 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33017 [C99-based standards] (strtof): Require function.
33018 [C99-based standards] (strtold): Likewise.
33019 [C99-based standards] (strtoll): Likewise.
33020 [C99-based standards] (strtoull): Likewise.
33021 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33022 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33023 [ISO || ISO99 || ISO11] (math.h): Likewise.
33024 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33025 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33028 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33031 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33032 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33033 * intl/dgettext.c (DCGETTEXT): Likewise.
33034 * intl/gettext.c (DCGETTEXT): Likewise.
33035 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33036 * posix/regex_internal.h (gettext): Likewise.
33037 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33038 Remove declaration.
33039 * include/argz.h (__argz_count_internal)
33040 (__argz_stringify_internal): Remove declaration.
33041 (__argz_count, __argz_stringify): Declare hidden proto.
33042 * intl/dcgettext.c: Remove use of INTDEF.
33043 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33044 * string/argz-stringify.c: Likewise.
33045 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33046 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33047 Declare hidden proto.
33048 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33049 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33050 Declare hidden proto.
33051 * include/stdio.h (__asprintf_internal): Don't declare.
33052 (__asprintf): Don't define as macro. Declare hidden proto.
33053 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33054 (__fsetlocking): Declare hidden proto.
33055 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33056 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33058 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33059 (_IO_setlinebuf): Remove use of INTUSE.
33060 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33061 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33062 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33063 Remove declaration.
33064 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33065 (_IO_do_flush): Remove use of INTUSE.
33066 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33067 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33068 (_IO_adjust_column, _IO_least_wmarker)
33069 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33070 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33071 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33072 (_IO_default_doallocate, _IO_wdefault_doallocate)
33073 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33074 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33075 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33076 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33077 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33078 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33079 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33080 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33081 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33082 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33083 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33084 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33085 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33087 (_IO_flush_all_internal, _IO_adjust_column_internal)
33088 (_IO_default_uflow_internal, _IO_default_finish_internal)
33089 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33090 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33091 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33092 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33093 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33094 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33095 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33096 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33097 (_IO_file_close_internal, _IO_file_close_it_internal)
33098 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33099 (_IO_file_init_internal, _IO_file_attach_internal)
33100 (_IO_file_fopen_internal, _IO_file_read_internal)
33101 (_IO_file_sync_internal, _IO_file_seek_internal)
33102 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33103 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33104 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33105 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33106 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33107 (_IO_list_all_internal, _IO_link_in_internal)
33108 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33109 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33110 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33111 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33112 (_IO_do_write_internal, _IO_padn_internal)
33113 (_IO_getline_info_internal, _IO_getline_internal)
33114 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33115 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33116 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33117 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33118 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33119 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33120 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33121 with libc_hidden_ver, remove use of INTUSE.
33122 * libio/genops.c: Likewise.
33123 * libio/freopen.c: Likewise.
33124 * libio/freopen64.c: Likewise.
33125 * libio/iofclose.c: Likewise.
33126 * libio/iofdopen.c: Likewise.
33127 * libio/iofflush.c: Likewise.
33128 * libio/iofflush_u.c: Likewise.
33129 * libio/iofgets.c: Likewise.
33130 * libio/iofgets_u.c: Likewise.
33131 * libio/iofopen.c: Likewise.
33132 * libio/iofopncook.c: Likewise.
33133 * libio/iofread.c: Likewise.
33134 * libio/iofread_u.c: Likewise.
33135 * libio/ioftell.c: Likewise.
33136 * libio/iofwrite.c: Likewise.
33137 * libio/iogetline.c: Likewise.
33138 * libio/iogets.c: Likewise.
33139 * libio/iogetwline.c: Likewise.
33140 * libio/iopadn.c: Likewise.
33141 * libio/iopopen.c: Likewise.
33142 * libio/ioseekoff.c: Likewise.
33143 * libio/ioseekpos.c: Likewise.
33144 * libio/iosetbuffer.c: Likewise.
33145 * libio/iosetvbuf.c: Likewise.
33146 * libio/ioungetc.c: Likewise.
33147 * libio/ioungetwc.c: Likewise.
33148 * libio/iovdprintf.c: Likewise.
33149 * libio/iovsprintf.c: Likewise.
33150 * libio/iovsscanf.c: Likewise.
33151 * libio/memstream.c: Likewise.
33152 * libio/obprintf.c: Likewise.
33153 * libio/oldfileops.c: Likewise.
33154 * libio/oldiofclose.c: Likewise.
33155 * libio/oldiofdopen.c: Likewise.
33156 * libio/oldiofopen.c: Likewise.
33157 * libio/oldiopopen.c: Likewise.
33158 * libio/oldstdfiles.c: Likewise.
33159 * libio/putc.c: Likewise.
33160 * libio/setbuf.c: Likewise.
33161 * libio/setlinebuf.c: Likewise.
33162 * libio/stdfiles.c: Likewise.
33163 * libio/strops.c: Likewise.
33164 * libio/vasprintf.c: Likewise.
33165 * libio/vscanf.c: Likewise.
33166 * libio/vsnprintf.c: Likewise.
33167 * libio/vswprintf.c: Likewise.
33168 * libio/wfiledoalloc.c: Likewise.
33169 * libio/wfileops.c: Likewise.
33170 * libio/wgenops.c: Likewise.
33171 * libio/wmemstream.c: Likewise.
33172 * libio/wstrops.c: Likewise.
33173 * libio/__fpurge.c: Likewise.
33174 * libio/__fsetlocking.c: Likewise.
33175 * assert/assert.c: Likewise.
33176 * debug/fgets_chk.c: Likewise.
33177 * debug/fgets_u_chk.c: Likewise.
33178 * debug/fread_chk.c: Likewise.
33179 * debug/fread_u_chk.c: Likewise.
33180 * debug/gets_chk.c: Likewise.
33181 * debug/obprintf_chk.c: Likewise.
33182 * debug/vasprintf_chk.c: Likewise.
33183 * debug/vdprintf_chk.c: Likewise.
33184 * debug/vsnprintf_chk.c: Likewise.
33185 * debug/vsprintf_chk.c: Likewise.
33186 * malloc/mtrace.c: Likewise.
33187 * misc/error.c: Likewise.
33188 * misc/syslog.c: Likewise.
33189 * stdio-common/asprintf.c: Likewise.
33190 * stdio-common/fxprintf.c: Likewise.
33191 * stdio-common/getw.c: Likewise.
33192 * stdio-common/isoc99_fscanf.c: Likewise.
33193 * stdio-common/isoc99_scanf.c: Likewise.
33194 * stdio-common/isoc99_vfscanf.c: Likewise.
33195 * stdio-common/isoc99_vscanf.c: Likewise.
33196 * stdio-common/isoc99_vsscanf.c: Likewise.
33197 * stdio-common/printf-prs.c: Likewise.
33198 * stdio-common/printf_fp.c: Likewise.
33199 * stdio-common/printf_fphex.c: Likewise.
33200 * stdio-common/printf_size.c: Likewise.
33201 * stdio-common/putw.c: Likewise.
33202 * stdio-common/scanf.c: Likewise.
33203 * stdio-common/sprintf.c: Likewise.
33204 * stdio-common/tmpfile.c: Likewise.
33205 * stdio-common/vfprintf.c: Likewise.
33206 * stdio-common/vfscanf.c: Likewise.
33207 * stdlib/strfmon_l.c: Likewise.
33208 * sunrpc/openchild.c: Likewise.
33209 * sunrpc/xdr_stdio.c: Likewise.
33210 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33211 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33213 2012-05-24 Roland McGrath <roland@hack.frob.com>
33215 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33217 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33218 in the third column, to generate for the shared library an IFUNC
33219 that uses _dl_vdso_vsym.
33220 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33221 * Makeconfig (object-suffixes-noshared): New variable.
33223 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33224 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33225 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33226 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33229 * include/sys/time.h (__gettimeofday): Remove macro.
33230 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33231 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33233 (__gettimeofday): Add libc_hidden_def.
33234 (gettimeofday): Add libc_hidden_weak.
33235 * sysdeps/mach/gettimeofday.c: Likewise.
33236 * sysdeps/posix/gettimeofday.c: Likewise.
33237 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33238 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33239 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33240 (__gettimeofday_internal): Remove strong_alias.
33241 (__gettimeofday): Add libc_hidden_def.
33242 (gettimeofday): Add libc_hidden_weak.
33243 * sysdeps/unix/syscalls.list (gettimeofday):
33244 Remove __gettimeofday_internal alias.
33246 2012-05-24 Daniel Jacobowitz <drow@false.org>
33247 H.J. Lu <hongjiu.lu@intel.com>
33250 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33251 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33252 (largebin_index_32_big): New.
33253 (largebin_index): Use it for 16-byte alignment.
33254 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33255 correction with front_misalign.
33257 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33285 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33286 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33288 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33292 * math/libm-test.inc (exp_test): Add test from bug 14036.
33293 (pow_test): Add test from bug 10846.
33295 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33297 (special_function): Do not include flags in test name.
33298 (parse_args): Likewise.
33299 * sysdeps/i386/fpu/libm-test-ulps: Update.
33300 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33301 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33302 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33305 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33307 * math/libm-test.inc ("Philosophy"): Update comment about
33309 (UNDERFLOW_EXCEPTION): New macro.
33310 (UNDERFLOW_EXCEPTION_OK): Likewise.
33311 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33312 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33313 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33314 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33315 (INVALID_EXCEPTION_OK): Update value.
33316 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33317 (OVERFLOW_EXCEPTION_OK): Likewise.
33318 (IGNORE_ZERO_INF_SIGN): Likewise.
33319 (test_exceptions): Handle underflow exceptions.
33320 (acos_test): Update for underflow exception expectations.
33321 (cexp_test): Likewise.
33322 (clog_test): Likewise.
33323 (clog10_test): Likewise.
33324 (csqrt_test): Likewise.
33325 (ctan_test): Likewise.
33326 (ctanh_test): Likewise.
33327 (exp_test): Likewise.
33328 (exp10_test): Likewise.
33329 (exp2_test): Likewise.
33330 (expm1_test): Likewise.
33331 (fma_test): Likewise.
33332 (j0_test): Likewise.
33333 (jn_test): Likewise.
33334 (nexttoward_test): Likewise.
33335 (pow_test): Likewise.
33336 (scalbn_test): Likewise.
33337 (scalbln_test): Likewise.
33338 (tan_test): Likewise.
33339 (y1_test): Likewise.
33340 * sysdeps/i386/fpu/libm-test-ulps: Update.
33341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33343 2012-05-23 David S. Miller <davem@davemloft.net>
33345 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33346 (__libc_sigaction): Remove unused local variables.
33348 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33350 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33352 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33354 mktime: avoid signed integer overflow
33355 * time/mktime.c (__mktime_internal): Do not mishandle the case
33356 where diff == INT_MIN.
33358 mktime: simplify computation of average
33359 * time/mktime.c (ranged_convert): Use new time_t_avg function
33360 instead of rolling our own (probably-slower) code.
33362 mktime: do not assume signed right shift propagates sign bit
33363 * time/mktime.c (isdst_differ): New static function.
33364 (__mktime_internal): No need to normalize tm_isdst now.
33365 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33368 mktime: merge another wrapv change from gnulib
33369 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33370 from some compilers.
33372 mktime: remove incorrect attempt at unusual arithmetics
33373 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33374 The code didn't really work on such machines anyway.
33375 (TYPE_MINIMUM): Assume two's complement.
33376 (twos_complement_arithmetic): Verify that long_int and time_t
33377 are two's complement (or unsigned, in the latter case).
33379 mktime: check signed shifts on long_int and time_t, too
33380 * time/mktime.c (SHR): Check that shifts work as desired
33381 on the types long_int and time_t too, as SHR is used on
33384 mktime: do not assume 'long' is wide enough
33385 * time/mktime.c (verify): Move decl up.
33386 (long_int): New type.
33387 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33388 to remove assumption in the code that 'long' is wide enough to
33389 store year values. This assumption is not true on x32 and on
33390 some non-glibc platforms.
33392 mktime: merge wrapv change from gnulib
33393 * time/mktime.c (WRAPV): New macro.
33394 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33395 (guess_time_tm, __mktime_internal): Do not assume that signed
33396 integer overflow wraps around; modern compilers generate code
33397 where this assumption is no longer valid.
33399 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33401 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33402 Replace "jmp L(pseudo_end)" with "ret".
33403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33406 2012-05-23 Andreas Jaeger <aj@suse.de>
33408 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33409 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33411 2012-05-23 Andreas Jaeger <aj@suse.de>
33412 Maximilian Attems <max@stro.at>
33414 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33417 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33419 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33420 code so that pseudo_end is just ret and the stack pointer is
33421 correct also for static library in error case.
33423 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33425 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33426 move to syscalls.list.
33427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33432 * manual/install.texi (Running make install): Do not mention Linux
33433 kernel version for which pt_chown is not needed.
33434 (Linux): Do not mention problems with nscd with 2.0 kernels.
33435 * INSTALL: Regenerated.
33437 2012-05-23 Andreas Jaeger <aj@suse.de>
33439 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33440 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33442 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33443 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33444 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33445 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33446 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33448 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33450 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33451 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33452 * sysdeps/unix/sysv/linux/bits/in.h
33453 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33455 2012-05-22 Roland McGrath <roland@hack.frob.com>
33457 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33458 (PREPARE_VERSION): Just use assert instead, it will be elided
33459 under [NDEBUG] anyway.
33461 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33463 * sysdeps/unix/sysv/linux/Makefile: Include
33464 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33465 (sysdep_routines): Remove sysctl.
33466 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33467 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33468 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33469 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33470 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33472 2012-05-22 Andreas Jaeger <aj@suse.de>
33474 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33475 that pseudo_end is just ret and the stack pointer is correct also
33476 for static library in error case.
33478 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33481 * nss/nsswitch.c (defconfig_entries): New variable.
33482 (__nss_database_lookup): Don't leak defconfig entries.
33483 (nss_parse_service_list): Don't leak on error paths.
33484 (free_database_entries): New function.
33485 (free_defconfig): New function.
33486 (free_mem): Move common code to free_database_entries.
33488 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33490 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33492 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33494 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33495 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33498 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33499 (INTERNAL_SYSCALL_TYPES): Likewise.
33500 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33501 (LOAD_REGS_TYPES_[1-6]): Likewise.
33502 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33503 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33505 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33507 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33508 copysignl for GLIBC_2_0.
33509 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33510 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33511 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33512 logbl for GLIBC_2_0.
33513 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33514 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33516 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33518 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33519 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33521 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33524 * time/mktime.c: Update copyright years.
33526 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33528 mktime: merge comment-quoting-style change from gnulib
33529 * time/mktime.c: Quote 'like this' in comments.
33530 The GNU coding standards suggest that we no longer quote `like this',
33531 as "`" and "'" are typically rendered asymmetrically nowadays.
33532 The typical gnulib style is to quote 'like this' when quoting
33533 code, and "like this" when quoting English.
33535 * time/mktime.c (compile-command): Add "-I.".
33537 mktime: merge mktime-internal.h change from gnulib
33538 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33540 mktime: merge time_r change from gnulib
33541 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33543 mktime: merge DEBUG change from gnulib
33544 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33545 case system <time.h> has a #define.
33547 mktime: merge <sys/types.h> change from gnulib
33548 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33549 since <time.t> is now guaranteed to define time_t.
33551 mktime: merge HAVE_CONFIG_H change from gnulib
33552 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33554 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33559 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33561 (struct rusage): Use anonymous union to pad each field to
33564 2012-05-21 David S. Miller <davem@davemloft.net>
33566 * Makefules (o-iterator): Remove .s cases.
33567 (compile-command.s): Delete.
33568 (COMPILE.s): Delete.
33569 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33571 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33573 * configure.in (libc_cv_predef_stack_protector): Only consider
33574 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33575 * configure: Regenerated.
33577 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33580 New macro. Use R*LP on int and pointer.
33581 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33582 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33583 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33584 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33586 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33587 [__WORDSIZE_TIME64_COMPAT32] instead of
33588 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33589 (struct utmp): Likewise.
33590 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33591 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33593 (__WORDSIZE_TIME64_COMPAT32): This.
33594 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33595 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33596 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33597 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33598 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33599 (__WORDSIZE_TIME64_COMPAT32): New macro.
33601 2012-05-21 Andreas Jaeger <aj@suse.de>
33603 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33604 only if [SHARED]. Add prototype for __wcschr_ia32.
33606 2012-05-21 Roland McGrath <roland@hack.frob.com>
33608 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33609 of %rbp unmolested in the jmp_buf while mangling the low bits.
33610 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33611 unmolested high bits of %rbp while demangling the low bits.
33612 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33614 2012-05-21 Andreas Jaeger <aj@suse.de>
33616 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33617 * sunrpc/svc_simple.c: Use it for registerrpc.
33618 * sunrpc/xcrypt.c: Use it for passwd2des.
33620 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33622 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33624 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33625 Don't define if [__SYSCALL_WORDSIZE != 32].
33626 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33629 2012-05-21 Bruno Haible <bruno@clisp.org>
33630 Andreas Jaeger <aj@suse.de>
33632 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33633 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33634 inptr and inend for must_buffer_ch.
33635 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33636 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33637 * stdio-common/Makefile (tests): Remove bug15.
33638 (bug15-ENV): Remove macro.
33639 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33642 2012-05-19 Andreas Jaeger <aj@suse.de>
33643 Roland McGrath <roland@hack.frob.com>
33645 * manual/contrib.texi: Completely rewritten. It contains now an
33646 alphabetical list of contributors and their contributions.
33648 2012-05-21 Richard Henderson <rth@twiddle.net>
33650 * misc/getauxval.c (__getauxval): Use unsigned long int.
33651 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33652 (getauxval): Use unsigned long int.
33654 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33656 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33658 2012-05-21 Roland McGrath <roland@hack.frob.com>
33660 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33661 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33662 __alignof__ (long double).
33664 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33668 2012-05-20 Richard Henderson <rth@twiddle.net>
33670 * misc/getauxval.c: New file.
33671 * misc/sys/auxv.h: New file.
33672 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33673 (routines): Add getauxval.
33674 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33675 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33676 * elf/dl-sysdep.c (_dl_auxv): Remove.
33677 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33678 * elf/dl-support.c (_dl_auxv): New variable.
33679 (_dl_aux_init): Initialize it.
33680 * manual/startup.texi (Auxiliary Vector): New node.
33681 * sysdeps/generic/bits/hwcap.h: New file.
33682 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33683 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33684 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33685 * sysdeps/sparc/sysdep.h: ... here. Include it.
33686 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33687 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33693 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33699 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33703 2012-05-19 David S. Miller <davem@davemloft.net>
33705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33707 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33710 * math/s_ccosh.c: Include <float.h>
33711 (__ccosh): Avoid internal overflow calculating sinh and cosh
33712 values before multiplying by sin and cos values.
33713 * math/s_ccoshf.c: Likewise.
33714 * math/s_ccoshl.c: Likewise.
33715 * math/s_csin.c: Likewise.
33716 * math/s_csinf.c: Likewise.
33717 * math/s_csinl.c: Likewise.
33718 * math/s_csinh.c: Likewise.
33719 * math/s_csinhf.c: Likewise.
33720 * math/s_csinhl.c: Likewise.
33721 * math/libm-test.inc (ccos_test): Add more tests.
33722 (ccosh_test): Likewise.
33723 (csin_test): Likewise.
33724 (csinh_test): Likewise.
33725 * sysdeps/i386/fpu/libm-test-ulps: Update.
33726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33728 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33730 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33731 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33733 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33735 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33737 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33738 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33739 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33740 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33741 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33742 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33743 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33744 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33745 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33746 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33747 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33748 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33749 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33750 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33751 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33752 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33753 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33754 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33755 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33756 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33757 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33758 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33759 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33760 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33761 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33762 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33763 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33764 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33765 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33766 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33767 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33769 2012-05-18 Andreas Jaeger <aj@suse.de>
33771 * csu/.gitignore: Delete.
33773 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33775 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33776 (timex): Use __syscall_slong_t.
33778 2012-05-18 Andreas Jaeger <aj@suse.de>
33779 Carlos O'Donell <carlos_odonell@mentor.com>
33781 * manual/install.texi (Configuring and compiling): Update
33782 description about files modified in the source directory.
33783 * INSTALL: Regenerated.
33785 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33787 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33788 value. Use "or" to set return value to -1.
33789 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33790 negate return value.
33792 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33794 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33795 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33796 failure if the compiler has Graphite support disabled.
33797 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33799 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33800 (CFLAGS-memmove.c): Likewise.
33801 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33804 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33806 * sysdeps/x86_64/x32/_itoa.h: New file.
33808 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33809 getdents system call only if kernel and user dirents have the
33810 same d_ino and d_off.
33812 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33813 LLONG_MAX != LONG_MAX.
33814 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33815 (_fitoa_word): Likewise.
33817 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33819 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33820 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33821 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33823 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33824 include <bits/wordsize.h>. Check __x86_64__ instead of
33826 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33827 if __x86_64__ is defined. Use anonymous union on fpstate.
33829 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33832 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33834 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33835 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33836 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33837 Refer to _rtld_local_ro instead of _rtld_global_ro.
33838 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33840 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33842 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33844 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33845 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33846 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33848 * sysdeps/powerpc/powerpc32/dl-machine.c
33849 (__elf_machine_runtime_setup) [PROF]: Don't reference
33852 2012-05-18 Andreas Jaeger <aj@suse.de>
33854 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33855 function only available for GCCs before 3.4 since GCC 3.4
33856 introduced a builtin.
33858 (llrintf): Likewise.
33859 (llrint): Likewise.
33866 (nearbyint): Likewise.
33867 (nearbyintf): Likewise.
33871 (floorf): Likewise.
33873 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33875 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33876 on both fields and cast pointer to __syscall_ulong_t.
33878 * bits/types.h (__fsword_t): New type.
33879 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33880 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33881 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33882 (__FSWORD_T_TYPE): Likewise.
33883 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33884 (__FSWORD_T_TYPE): Likewise.
33885 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33886 (__FSWORD_T_TYPE): Likewise.
33887 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33888 (__FSWORD_T_TYPE): Likewise.
33889 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33890 __SWORD_TYPE with __fsword_t.
33891 (statfs64): Likewise.
33893 2012-05-17 David S. Miller <davem@davemloft.net>
33895 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33897 2012-05-17 Andreas Jaeger <aj@suse.de>
33899 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33902 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33904 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33906 2012-05-17 Andreas Jaeger <aj@suse.de>
33908 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33911 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33913 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33915 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33917 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33918 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33920 2012-05-17 Andreas Jaeger <aj@suse.de>
33921 Carlos O'Donell <carlos_odonell@mentor.com>
33924 * sysdeps/x86_64/multiarch/init-arch.h
33925 (bit_YMM_Usable): Rename to...
33926 (bit_AVX_Usable): ... this.
33927 (bit_FMA4_Usable): New macro.
33928 (bit_XMM_state): New macro.
33929 (bit_YMM_state): New macro.
33930 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33931 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33932 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33933 (CPUID_OSXSAVE): New macro.
33934 (CPUID_AVX): New macro.
33935 (CPUID_FMA4): New macro.
33936 (index_YMM_Usable): Rename to...
33937 (index_AVX_Usable): ... this.
33938 (HAS_AVX): Use HAS_ARCH_FEATURE.
33939 (HAS_FMA4): Likewise.
33940 (HAS_YMM_USABLE): Remove.
33941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33942 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33944 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33945 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33946 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33947 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33948 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33950 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33952 * math/libm-test.c: Support platforms without multiple rounding modes.
33953 * math/bug-nextafter.c: Support platforms without FP exceptions.
33954 * math/bug-nexttoward.c: Likewise.
33955 * math/test-fenv.c: Likewise.
33956 * math/test-misc.c: Likewise.
33957 * stdlib/bug-getcontext.c: Likewise.
33959 2012-05-17 Andreas Jaeger <aj@suse.de>
33961 * manual/examples/search.c (critter_cmp): Change signature to
33963 * manual/string.texi (Collation Functions): Likewise.
33965 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33967 * bits/types.h: Fold copyright years.
33968 * bits/typesizes.h: Likewise.
33969 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33971 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33972 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33973 * time/time.h: Likewise.
33975 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33978 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33979 in instead of returning them. Return void.
33980 (__libc_mallinfo): Accumulate over all arenas.
33981 (__malloc_stats): Adjust for change in int_mallinfo interface.
33983 2012-05-16 Roland McGrath <roland@hack.frob.com>
33986 * configure.in (NM): Add AC_CHECK_TOOL for it.
33987 (libc_extra_cflags): New substituted variable.
33988 Check for -fstack-protector being used implicitly.
33989 * configure: Regenerated.
33990 * config.make.in (config-extra-cflags): New variable,
33991 gets @libc_extra_cflags@.
33992 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33995 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33996 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33997 * configure: Regenerated.
33998 * config.make.in (CPPUNDEFS): New substituted variable.
33999 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34000 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34001 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34003 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34005 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34006 (mq_attr): Use __syscall_slong_t.
34008 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34010 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34011 Check __x86_64__ instead of __WORDSIZE.
34012 (_STAT_VER_LINUX): Likewise.
34013 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34014 __syscall_ulong_t and __syscall_slong_t.
34015 (stat64): Likewise.
34017 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34019 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34021 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34023 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34025 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34027 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34030 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34031 include <bits/wordsize.h>. Check __x86_64__ instead of
34033 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34035 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34037 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34038 include <bits/wordsize.h>. Check __x86_64__ instead of
34040 (user_regs_struct): Use "__extension__ unsigned long long"
34041 instead of "unsigned long" if __x86_64__ is defined.
34042 (user): Likewise. Pad after pointer field if __ILP32__ is
34045 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34047 * configure.in (makeinfo): Require version 4.5 or later. Allow
34049 * configure: Regenerated.
34050 * manual/install.texi (texinfo): Increase version requirement to
34052 * INSTALL: Regenerated.
34054 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34056 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34058 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34060 * sysdeps/x86_64/x32/ffs.c: New file.
34062 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34064 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34065 defined. Use __syscall_ulong_t.
34066 (shminfo): Use __syscall_ulong_t.
34067 (shm_info): Likewise.
34069 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34072 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34074 (msgqnum_t): Use __syscall_ulong_t.
34075 (msglen_t): Likewise.
34076 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34079 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34080 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34082 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34084 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34085 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34087 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34090 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34091 include <bits/wordsize.h>. Check __x86_64__ instead of
34094 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34095 "unsigned long long int" if __x86_64__ is defined.
34096 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34098 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34099 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34100 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34102 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34104 (GET_PC): Cast to uintptr_t first.
34105 (GET_FRAME): Likewise.
34106 (GET_STACK): Likewise.
34108 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34109 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34110 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34111 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34112 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34113 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34114 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34115 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34116 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34117 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34118 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34119 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34120 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34121 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34122 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34123 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34124 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34125 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34126 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34127 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34128 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34129 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34130 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34131 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34132 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34133 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34134 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34135 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34136 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34138 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34140 * Makerules (+depfiles): Also collect depfiles from .oS in
34142 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34143 .oS, $(libnldbl-routines)).
34145 * Makerules (native-compile-mkdep-flags): Define.
34146 * sunrpc/Makefile (extra-objs): Add $(addprefix
34147 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34148 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34149 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34150 calling $(make-target-directory).
34152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34154 * bits/types.h (__snseconds_t): Removed.
34155 * time/time.h (struct timespec): Replace __snseconds_t with
34157 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34158 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34160 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34161 (__SNSECONDS_T_TYPE): Likewise.
34162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34163 (__SNSECONDS_T_TYPE): Likewise.
34164 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34165 (__SNSECONDS_T_TYPE): Likewise.
34167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34169 * sysdeps/mach/hurd/bits/typesizes.h
34170 (__SYSCALL_SLONG_TYPE): New macro.
34171 (__SYSCALL_ULONG_TYPE): Likewise.
34173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34175 * bits/types.h (__syscall_slong_t): New type.
34176 (__syscall_ulong_t): Likewise.
34178 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34179 (__SYSCALL_ULONG_TYPE): Likewise.
34180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34181 (__SYSCALL_SLONG_TYPE): Likewise.
34182 (__SYSCALL_ULONG_TYPE): Likewise.
34183 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34184 (__SYSCALL_SLONG_TYPE): Likewise.
34185 (__SYSCALL_ULONG_TYPE): Likewise.
34186 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34187 (__SYSCALL_SLONG_TYPE): Likewise.
34188 (__SYSCALL_ULONG_TYPE): Likewise.
34190 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34192 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34193 Add sigaltstack-offsets.sym.
34194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34195 <sigaltstack-offsets.h>.
34196 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34197 longjmp_msg pointer.
34198 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34199 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34201 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34203 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34205 * elf/stackguard-macros.h: Remove file.
34206 * sysdeps/generic/stackguard-macros.h: New file.
34207 * sysdeps/i386/stackguard-macros.h: Likewise.
34208 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34209 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34210 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34211 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34212 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34213 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34214 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34215 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34216 <elf/stackguard-macros.h>.
34219 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34220 __aligned__ in attribute.
34221 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34222 (gregset_t): Likewise.
34224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34226 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34227 * sysdeps/x86_64/64/Implies-after: Here. New file.
34228 * sysdeps/x86_64/x32/Implies-after: New file.
34230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34232 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34233 and access return value for _dl_profile_fixup. Use R10_LP to
34236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34238 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34242 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34243 * sysdeps/x86_64/x32/sysdep.h: New file.
34245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34247 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34248 * sysdeps/x86_64/setjmp.S: Likewise.
34250 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34252 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34253 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34254 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34255 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34256 remove unused global constant.
34258 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34260 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34261 include of <not-cancel.h>.
34263 2012-05-15 Roland McGrath <roland@hack.frob.com>
34265 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34267 2012-05-15 Jeff Law <law@redhat.com>
34268 Andreas Jaeger <aj@suse.de>
34271 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34273 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34274 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34275 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34276 code changing __hst_map_handle.map.
34278 2012-05-15 Roland McGrath <roland@hack.frob.com>
34280 * configure.in (sysnames): Look for Implies-before and Implies-after
34282 * configure: Regenerated.
34284 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34286 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34287 8-byte data alignment with LP_SIZE alignment.
34289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34291 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34296 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34300 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34301 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34302 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34304 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34308 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34309 (stackinfo_sub_sp): Likewise.
34311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34313 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34316 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34318 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34323 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34328 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34330 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34332 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34333 into R11_LP and load __x86_64_shared_cache_size_half into
34336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34338 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34341 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34345 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34349 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34350 powerpc32/power7/fpu/s_logb.c via #include.
34351 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34352 powerpc32/power7/fpu/s_logbf.c via #include.
34353 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34354 powerpc32/power7/fpu/s_logbl.c via #include.
34356 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34358 * README.libm: Remove file.
34360 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34362 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34363 count for x32. Use R*_LP and omit operand-size suffix.
34365 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34367 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34368 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34369 * sysdeps/x86_64/x32/shlib-versions: New file.
34371 2012-05-14 Roland McGrath <roland@hack.frob.com>
34373 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34374 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34375 Use _dl_fatal_printf instead.
34377 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34379 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34380 set if not set by the user. Do not allow for being unset.
34381 * sysdeps/unix/sysv/linux/configure: Regenerated.
34383 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34385 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34386 the `q' suffix from lea and replace .quad with ASM_ADDR.
34388 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34391 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34393 (PTR_DEMANGLE): Likewise.
34395 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34397 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34399 (ASM_ADDR): Likewise.
34400 (RAX_LP): Likewise.
34401 (RBP_LP): Likewise.
34402 (RBX_LP): Likewise.
34403 (RCX_LP): Likewise.
34404 (RDI_LP): Likewise.
34405 (RSI_LP): Likewise.
34406 (RSP_LP): Likewise.
34409 (R10_LP): Likewise.
34410 (R10_LP): Likewise.
34411 (R11_LP): Likewise.
34412 (R12_LP): Likewise.
34413 (R13_LP): Likewise.
34414 (R14_LP): Likewise.
34415 (R15_LP): Likewise.
34417 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34419 * sysdeps/x86_64/x32/dl-machine.h: New file.
34421 2012-05-14 Andreas Jaeger <aj@suse.de>
34423 * manual/Makefile (subdir): Remove export of subdir.
34424 (all): Remove target.
34425 (.PHONY): Remove all from list.
34426 (mkinstalldirs): Remove.
34427 (.PHONY): Remove installdirs from list.
34428 ($(inst_infodir)/libc.info): Use make-target-directory.
34429 (installdirs): Remove.
34430 (subdir_%): Remove.
34431 (glibc-targets): Remove.
34434 ($(objpfx)stubs ../po/manual.pot): Remove.
34435 ($(objpfx)stamp%): Remove.
34436 (make-target-directory): Remove.
34437 (subdir_install): Remove.
34438 (routines): Remove.
34445 * manual/.gitignore: Remove, it's not needed anymore.
34446 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34448 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34450 (texis): Renamed to $(objpfx)texis.
34451 (texis-path): New, contains path to generated files.
34452 (chapters.%): Use texis-path for complete path, add extra argument
34454 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34455 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34456 (summary,texi, stamp-summary): Use complete path of
34457 files. Generate files in build dir.
34458 (dir-add.texi): Build in build dir.
34459 (libm-err.texi,stamp-libm-err): Likewise.
34460 (version.texi, stamp-version): Likewise.
34461 (.%c.texi): Likewise.
34462 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34463 (mostlyclean): Remove target.
34464 (realclean): Remove target.
34465 (generated): Add new variable with contents from mostlyclean and
34466 realclean, remove entries duplicated in common-mostlyclean, add
34467 stamp-libm-err and stamp-version.
34468 (generated-dirs): Add libc directory.
34469 ($(inst_infodir)/libc.info): Install files from build dir.
34471 * manual/install.texi (Configuring and compiling): Adjust since
34472 the info files are not part of the tar ball anymore.
34474 2012-05-14 Andreas Jaeger <aj@suse.de>
34476 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34479 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34482 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34483 to 2.2.0 where earlier.
34484 * sysdeps/unix/sysv/linux/configure: Regenerated.
34485 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34486 Remove conditional code.
34487 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34488 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34489 Remove conditional code.
34490 [!__NR_lchown]: Likewise.
34491 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34492 [__NR_lchown]: Likewise.
34493 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34494 comment referencing __ASSUME_LCHOWN_SYSCALL.
34495 * sysdeps/unix/sysv/linux/i386/sigaction.c
34496 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34497 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34498 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34499 Remove conditional code.
34500 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34501 (__protocol_available): Remove #if 0 code.
34502 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34504 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34505 * sysdeps/unix/sysv/linux/kernel-features.h
34506 (__ASSUME_GETCWD_SYSCALL): Don't define.
34507 (__ASSUME_REALTIME_SIGNALS): Likewise.
34508 (__ASSUME_PREAD_SYSCALL): Likewise.
34509 (__ASSUME_PWRITE_SYSCALL): Likewise.
34510 (__ASSUME_POLL_SYSCALL): Likewise.
34511 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34512 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34514 (__ASSUME_SIOCGIFNAME): Don't define.
34515 (__ASSUME_MSG_NOSIGNAL): Likewise.
34516 (__ASSUME_SENDFILE): Define unconditionally.
34517 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34518 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34520 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34521 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34522 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34523 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34524 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34525 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34526 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34528 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34531 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34532 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34534 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34535 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34537 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34538 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34540 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34541 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34543 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34544 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34546 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34547 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34549 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34550 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34551 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34552 Remove conditional code.
34553 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34554 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34555 Remove conditional code.
34556 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34557 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34558 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34559 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34560 Remove conditional code.
34561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34562 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34563 Remove conditional code.
34564 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34565 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34566 Remove conditional code.
34567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34568 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34569 Remove conditional code.
34570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34571 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34572 Remove conditional code.
34573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34574 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34575 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34576 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34577 * sysdeps/unix/sysv/linux/sigaction.c
34578 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34579 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34580 * sysdeps/unix/sysv/linux/sigpending.c
34581 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34582 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34583 * sysdeps/unix/sysv/linux/sigprocmask.c
34584 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34585 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34586 * sysdeps/unix/sysv/linux/sigsuspend.c
34587 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34588 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34589 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34590 (__libc_missing_rt_sigs): Remove.
34591 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34592 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34593 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34594 Remove conditional code.
34595 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34596 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34598 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34599 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34600 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34601 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34603 2012-05-14 Andreas Jaeger <aj@suse.de>
34605 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34606 it's not used in glibc.
34607 (__coshm1): Likewise.
34608 (__acosh1p): Likewise.
34611 * manual/string.texi (Copying and Concatenation): Add missing
34612 variable in concat example.
34613 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34615 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34618 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34619 __builtin_clzl with __builtin_clzll.
34621 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34624 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34627 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34629 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34630 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34631 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34632 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34634 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34636 * NEWS: Update ia64 info.
34638 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34640 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34643 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34645 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34646 * sysdeps/unix/syscalls.list (dup3): Likewise.
34647 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34648 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34650 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34652 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34653 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34655 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34657 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34659 (TLS_IE): Use mov/add instead of movq/addq to load thread
34661 (TLS_GD_PREFIX): New.
34664 2012-05-11 David S. Miller <davem@davemloft.net>
34666 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34667 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34668 (_FPU_SETCW): Likewise.
34670 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34672 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34673 is 32-byte aligned.
34675 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34678 * iconvdata/gb18030.c: Update tables.
34679 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34680 characters specially.
34681 (BODY for TO_LOOP): Add encoding of missing ranges.
34683 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34686 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34687 * sysdeps/mach/hurd/dup3.c: Likewise.
34688 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34689 * sysdeps/powerpc/memmove.c:: Likewise.
34691 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34693 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34694 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34696 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34698 * elf/elf.h (R_X86_64_RELATIVE64): New.
34699 (R_X86_64_NUM): Updated.
34700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34701 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34702 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34703 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34704 tst-quad1pie tst-quad2pie
34705 (modules-names): Add tst-quadmod1 tst-quadmod2.
34706 ($(objpfx)tst-quad1): New dependency.
34707 ($(objpfx)tst-quad2): Likewise.
34708 ($(objpfx)tst-quad1pie): Likewise.
34709 ($(objpfx)tst-quad2pie): Likewise.
34710 * sysdeps/x86_64/tst-quad1.c: New file.
34711 * sysdeps/x86_64/tst-quad1pie.c: New file.
34712 * sysdeps/x86_64/tst-quad2.c: Likewise.
34713 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34714 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34715 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34716 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34717 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34719 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34721 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34722 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34723 * streams/stropts.h (t_scalar_t): Define type.
34725 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34726 (_PATH_PRESERVE): Set to "/var/lib".
34727 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34729 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34732 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34733 if __dir_mkfile succeeded.
34735 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34736 checking for _hurd_dtablesize. Unlock it right after having
34737 finished _hurd_dtable allocation.
34739 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34741 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34742 * sysdeps/mach/hurd/configure: Regenerated.
34743 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34744 special-casing to...
34745 * sysdeps/gnu/configure.in: ... this new file.
34746 * sysdeps/unix/sysv/linux/configure: Regenerated.
34747 * sysdeps/gnu/configure: New generated file.
34749 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34750 for Linux: use nsec instead of usec, as well as:
34751 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34752 members of type struct timespec.
34753 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34755 (struct stat64): Likewise.
34756 (_STATBUF_ST_NSEC): New macro.
34757 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34759 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34760 __strtoul_internal rather than strtoul.
34762 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34764 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34767 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34769 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34770 which preserves existing values.
34771 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34773 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34775 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34776 TIMEOUT values. Return EINVAL for NFDS values either negative or
34777 greater than FD_SETSIZE.
34779 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34781 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34782 allocated, call __vm_protect to finish enabling the existing space, and
34783 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34784 allocate the remainder.
34786 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34788 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34789 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34791 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34793 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34794 sysdeps/mach/hurd/readlink.c.
34796 * posix/tst-sysconf.c (posix_options): Only use
34797 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34798 _POSIX_SYNCHRONIZED_IO when they are defined
34799 * sysdeps/mach/hurd/bits/posix_opt.h:
34800 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34801 (_XOPEN_REALTIME): Undefine macro.
34802 (_XOPEN_REALTIME_THREADS): Undefine macro.
34803 (_XOPEN_SHM): Undefine macro.
34804 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34806 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34808 (_POSIX_ASYNC_IO): Undefine macro.
34809 (_POSIX_PRIORITIZED_IO): Undefine macro.
34810 (_POSIX_SPIN_LOCKS): Define macro to -1.
34812 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34813 SA_NODEFER, SA_RESETHAND.
34814 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34815 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34818 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34820 * elf/Makefile (pldd-modules): Define unconditionally.
34822 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34824 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34828 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34829 Return ENOENT when name is empty.
34830 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34832 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34834 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34836 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34838 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34840 Fix mlock in all cases except non-readable pages.
34841 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34842 instead of VM_PROT_ALL as parameter to __vm_wire function.
34844 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34845 (__mkdir): When path is `/', just fail with EEXIST.
34846 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34848 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34850 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34851 <sys/uio.h> (for writev).
34852 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34853 and <sys/param.h> (for MIN).
34855 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34857 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34858 REQUESTED_TIME. Properly set the remaining time and return EINTR
34861 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34863 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34864 Depend on against $(link-rpcuserlibs).
34866 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34868 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34869 (__libc_stack_end): Do not use attribute_relro.
34870 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34871 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34872 to libthread-provided value.
34873 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34876 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34879 * bits/libc-lock.h (__libc_once_get): New macro.
34880 * sysdeps/mach/bits/libc-lock.h: Likewise.
34881 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34882 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34883 instead of using implementation details.
34885 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34886 * libio/freopen.c: Likewise.
34887 * libio/freopen64.c: Likewise.
34888 * misc/syslog.c: Likewise.
34889 * nscd/connections.c: Likewise.
34890 * nscd/netgroupcache.c: Likewise.
34891 * sysdeps/posix/getcwd.c: Likewise.
34893 2012-05-10 Roland McGrath <roland@hack.frob.com>
34895 * math/w_ilogbf.c: Add #include <limits.h>.
34897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34899 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34900 path instead of returning without unlocking.
34902 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34903 immediate-write ioctls.
34904 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34906 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34908 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34909 __builtin_frame_address instead of making assumptions about the
34910 location of the return address relative to DATA. Force early load of
34911 the return address.
34912 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34913 __builtin_frame_address.
34916 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34917 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34918 implement dup3 and do some further code clean-ups.
34919 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34920 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34922 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34924 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34926 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34927 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34928 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34929 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34930 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34933 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34934 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34935 when handler == SIG_ERR, not when handler != SIG_ERR.
34937 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34939 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34940 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34943 accept4 for GNU Hurd.
34944 * include/sys/socket.h (__libc_accept4): New prototype.
34945 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34946 to implement __libc_accept4.
34947 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34949 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34951 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34952 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34953 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34954 signal-defines.sym.
34956 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34958 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34960 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34962 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34963 assertion on O_CLOEXEC flag.
34964 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34965 * hurd/intern-fd.c: Likewise.
34966 * hurd/port2fd.c: Likewise.
34968 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34971 * bits/in.h (IPV6_PKTINFO): Define new macro.
34972 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34974 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34979 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34980 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34981 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34982 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34983 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34984 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34985 * math/libm-test.inc (logb_test) : Additional logb tests.
34987 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34988 Andreas Jaeger <aj@suse.de>
34990 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34991 * configure: Regenerated.
34992 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34993 * config.make.in (link-obsolete-rpc): New substituted variable.
34994 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34995 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34996 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34997 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34998 so that libc.a contains the symbols.
34999 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35000 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35001 * sunrpc/auth_none.c: Likewise.
35002 * sunrpc/auth_unix.c: Likewise.
35003 * sunrpc/authdes_prot.c: Likewise.
35004 * sunrpc/authuxprot.c: Likewise.
35005 * sunrpc/clnt_gen.c: Likewise.
35006 * sunrpc/clnt_perr.c: Likewise.
35007 * sunrpc/clnt_raw.c: Likewise.
35008 * sunrpc/clnt_simp.c: Likewise.
35009 * sunrpc/clnt_tcp.c: Likewise.
35010 * sunrpc/clnt_udp.c: Likewise.
35011 * sunrpc/clnt_unix.c: Likewise.
35012 * sunrpc/des_crypt.c: Likewise.
35013 * sunrpc/des_soft.c: Likewise.
35014 * sunrpc/get_myaddr.c: Likewise.
35015 * sunrpc/key_call.c: Likewise.
35016 * sunrpc/key_prot.c: Likewise.
35017 * sunrpc/netname.c: Likewise.
35018 * sunrpc/pm_getmaps.c: Likewise.
35019 * sunrpc/pm_getport.c: Likewise.
35020 * sunrpc/pmap_clnt.c: Likewise.
35021 * sunrpc/pmap_prot.c: Likewise.
35022 * sunrpc/pmap_prot2.c: Likewise.
35023 * sunrpc/pmap_rmt.c: Likewise.
35024 * sunrpc/publickey.c: Likewise.
35025 * sunrpc/rpc_cmsg.c: Likewise.
35026 * sunrpc/rpc_common.c: Likewise.
35027 * sunrpc/rpc_dtable.c: Likewise.
35028 * sunrpc/rpc_prot.c: Likewise.
35029 * sunrpc/rpc_thread.c: Likewise.
35030 * sunrpc/rtime.c: Likewise.
35031 * sunrpc/svc.c: Likewise.
35032 * sunrpc/svc_auth.c: Likewise.
35033 * sunrpc/svc_raw.c: Likewise.
35034 * sunrpc/svc_run.c: Likewise.
35035 * sunrpc/svc_tcp.c: Likewise.
35036 * sunrpc/svc_udp.c: Likewise.
35037 * sunrpc/svc_unix.c: Likewise.
35038 * sunrpc/svcauth_des.c: Likewise.
35039 * sunrpc/xcrypt.c: Likewise.
35040 * sunrpc/xdr.c: Likewise.
35041 * sunrpc/xdr_array.c: Likewise.
35042 * sunrpc/xdr_float.c: Likewise.
35043 * sunrpc/xdr_intXX_t.c: Likewise.
35044 * sunrpc/xdr_mem.c: Likewise.
35045 * sunrpc/xdr_rec.c: Likewise.
35046 * sunrpc/xdr_ref.c: Likewise.
35047 * sunrpc/xdr_sizeof.c: Likewise.
35048 * sunrpc/xdr_stdio.c: Likewise.
35050 2012-05-10 Roland McGrath <roland@hack.frob.com>
35052 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35053 change. Update copyright years.
35055 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35057 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35059 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35060 Joseph Myers <joseph@codesourcery.com>
35061 Paul Pluzhnikov <ppluzhnikov@google.com>
35064 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35066 [cross-compiling] (extra-libs): Likewise.
35067 [cross-compiling] (extra-libs-others): Likewise.
35068 [cross-compiling] (librpcsvc-routines): Likewise.
35069 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35070 [cross-compiling] (omit-deps): Likewise.
35071 (sunrpc-CPPFLAGS): New variable.
35072 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35073 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35074 (cross-rpcgen-objs): New variable.
35075 (extra-objs): Append $(cross-rpcgen-objs).
35076 ($(cross-rpcgen-objs)): New rule.
35077 ($(objpfx)cross-rpcgen): Likewise.
35078 (rpcgen-cmd): Define to use $(built-program-file). Expand
35080 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35081 ($(objpfx)x%.stmp): Likewise.
35082 * sunrpc/proto.h [IS_IN_build] (_): Define.
35083 [IS_IN_build] (_libc_intl_domainname): Likewise.
35085 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35087 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35088 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35089 and R_X86_64_TPOFF64.
35091 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35093 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35094 sysdeps/unix/sysv/syscalls.list.
35097 * sysdeps/unix/sysv/syscalls.list: Remove file.
35099 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35102 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35103 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35104 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35105 (__LC_IDENTIFICATION): Make these macros useful in #if
35106 expressions, as required by C99.
35108 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35110 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35111 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35114 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35116 * stdlib/longlong.h: Updated from GCC.
35118 2012-05-09 Andreas Jaeger <aj@suse.de>
35120 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35121 default is first entry.
35122 (run_mode): Set type.
35123 (main): Remove informal message about syslog.
35124 (options): Fix typo.
35127 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35130 (llrintf): Likewise.
35131 (llrint): Likewise.
35134 (nearbyint): Likewise.
35135 (nearbyintf): Likewise.
35137 2012-05-09 Andreas Jaeger <aj@suse.de>
35138 Pedro Alves <palves@redhat.com>
35140 * nscd/nscd.c (run_mode): Use enum.
35141 (main): Cleanup coding style issue.
35143 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35144 Andreas Jaeger <aj@suse.de>
35146 * nscd/nscd.c (go_background): Replaced with...
35147 (run_mode): ... this.
35148 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35149 (options): Add -F --foreground.
35150 (main): Implement it.
35151 (parse_opt): Parse it.
35153 2012-05-09 Andreas Jaeger <aj@suse.de>
35156 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35157 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35158 -Wconversion warning.
35159 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35162 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35164 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35166 (LC_ALL): Use macro-int-constant.
35167 (LC_COLLATE): Likewise.
35168 (LC_CTYPE): Likewise.
35169 (LC_MESSAGES): Likewise.
35170 (LC_MONETARY): Likewise.
35171 (LC_NUMERIC): Likewise.
35172 (LC_TIME): Likewise.
35173 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35174 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35175 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35176 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35178 [C99-based standards] (float_t): Expect type.
35179 [C99-based standards] (double_t): Expect type.
35180 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35182 [C99-based standards] (HUGE_VALL): Likewise.
35183 [C99-based standards] (INFINITY): Likewise.
35184 [C99-based standards] (NAN): Likewise.
35185 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35186 [C99-based standards] (FP_NAN): Likewise.
35187 [C99-based standards] (FP_NORMAL): Likewise.
35188 [C99-based standards] (FP_SUBNORMAL): Likewise.
35189 [C99-based standards] (FP_ZERO): Likewise.
35190 [C99-based standards] (FP_FAST_FMA): Use
35191 optional-macro-int-constant. Specify type. Require == 1.
35192 [C99-based standards] (FP_FAST_FMAF): Likewise.
35193 [C99-based standards] (FP_FAST_FMAL): Likewise.
35194 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35195 [C99-based standards] (FP_ILOGBNAN): Likewise.
35196 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35198 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35199 [C99-based standards] (math_errhandling): Specify type.
35200 [ISO99 || ISO11] (signgam): Do not allow.
35201 [non-C99-based standards] (copysignf): Do not allow.
35202 [non-C99-based standards] (exp2f): Likewise.
35203 [non-C99-based standards] (log2f): Likewise.
35204 [non-C99-based standards] (modff): Allow.
35205 [non-C99-based standards] (erff): Do not allow.
35206 [non-C99-based standards] (erfcf): Likewise.
35207 [non-C99-based standards] (gammaf): Likewise.
35208 [non-C99-based standards] (hypotf): Likewise.
35209 [non-C99-based standards] (j0f): Likewise.
35210 [non-C99-based standards] (j1f): Likewise.
35211 [non-C99-based standards] (jnf): Likewise.
35212 [non-C99-based standards] (lgammaf): Likewise.
35213 [non-C99-based standards] (tgammaf): Likewise.
35214 [non-C99-based standards] (y0f): Likewise.
35215 [non-C99-based standards] (y1f): Likewise.
35216 [non-C99-based standards] (ynf): Likewise.
35217 [non-C99-based standards] (isnanf): Likewise.
35218 [non-C99-based standards] (acoshf): Likewise.
35219 [non-C99-based standards] (asinhf): Likewise.
35220 [non-C99-based standards] (atanhf): Likewise.
35221 [non-C99-based standards] (cbrtf): Likewise.
35222 [non-C99-based standards] (expm1f): Likewise.
35223 [non-C99-based standards] (ilogbf): Likewise.
35224 [non-C99-based standards] (log1pf): Likewise.
35225 [non-C99-based standards] (logbf): Likewise.
35226 [non-C99-based standards] (nextafterf): Likewise.
35227 [non-C99-based standards] (remainderf): Likewise.
35228 [non-C99-based standards] (rintf): Likewise.
35229 [non-C99-based standards] (scalbf): Likewise.
35230 [non-C99-based standards] (copysignl): Likewise.
35231 [non-C99-based standards] (exp2l): Likewise.
35232 [non-C99-based standards] (log2l): Likewise.
35233 [non-C99-based standards] (modfl): Allow.
35234 [non-C99-based standards] (erfl): Do not allow.
35235 [non-C99-based standards] (erfcl): Likewise.
35236 [non-C99-based standards] (gammal): Likewise.
35237 [non-C99-based standards] (hypotl): Likewise.
35238 [non-C99-based standards] (j0l): Likewise.
35239 [non-C99-based standards] (j1l): Likewise.
35240 [non-C99-based standards] (jnl): Likewise.
35241 [non-C99-based standards] (lgammal): Likewise.
35242 [non-C99-based standards] (tgammal): Likewise.
35243 [non-C99-based standards] (y0l): Likewise.
35244 [non-C99-based standards] (y1l): Likewise.
35245 [non-C99-based standards] (ynl): Likewise.
35246 [non-C99-based standards] (isnanl): Likewise.
35247 [non-C99-based standards] (acoshl): Likewise.
35248 [non-C99-based standards] (asinhl): Likewise.
35249 [non-C99-based standards] (atanhl): Likewise.
35250 [non-C99-based standards] (cbrtl): Likewise.
35251 [non-C99-based standards] (expm1l): Likewise.
35252 [non-C99-based standards] (ilogbl): Likewise.
35253 [non-C99-based standards] (log1pl): Likewise.
35254 [non-C99-based standards] (logbl): Likewise.
35255 [non-C99-based standards] (nextafterl): Likewise.
35256 [non-C99-based standards] (remainderl): Likewise.
35257 [non-C99-based standards] (rintl): Likewise.
35258 [non-C99-based standards] (scalbl): Likewise.
35259 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35260 [non-C99-based standards] (FP_*): Do not allow.
35261 [C99-based standards] (FP_*): Change to
35262 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35263 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35265 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35266 (SIG_ERR): Likewise.
35267 [X/Open-based standards] (SIG_HOLD): Likewise.
35268 (SIG_IGN): Likewise.
35269 (SIGABRT): Use macro-int-constant. Specify type. Require
35271 (SIGFPE): Likewise.
35272 (SIGILL): Likewise.
35273 (SIGINT): Likewise.
35274 (SIGSEGV): Likewise.
35275 (SIGTER): Likewise.
35276 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35277 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35278 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35279 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35280 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35281 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35282 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35283 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35284 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35285 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35286 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35287 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35288 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35289 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35290 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35291 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35292 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35293 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35294 [X/Open-based standards] (SIGTRAP): Likewise.
35295 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35296 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35297 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35298 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35299 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35302 2012-05-08 Ian Wienand <ianw@vmware.com>
35305 * time/tzset.c (__tzset_parse_tz): Update default rules for
35306 daylight time changes in the Energy Policy Act of 2005.
35308 2012-05-09 Andreas Jaeger <aj@suse.de>
35311 * elf/ldconfig.c (parse_conf): Change string to make clear that
35312 ldconfig only issued a warning if ld.so.conf does not exist.
35314 2012-05-08 David S. Miller <davem@davemloft.net>
35316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35317 movxtod instead of popping the value on the stack.
35319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35321 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35323 * config.h.in: Add HAVE_ARM_PCS_VFP.
35325 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35328 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35329 checking but the checks are disabled for any reason.
35331 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35333 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35334 and ELF64_R_TYPE with ELFW(R_TYPE).
35336 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35338 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35339 (ulimit): Likewise.
35341 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35342 (settimeofday): Likewise.
35344 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35346 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35347 a struct th_u2 inside the union, and move tu_block/tu_code into
35348 a new th_u3 union of tu_block/tu_code inside of that. Move
35349 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35350 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35351 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35352 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35353 (th_stuff): Change to th_u1.tu_stuff.
35355 (th_msg): Change to th_u1.th_u2.tu_data.
35357 2012-05-07 David S. Miller <davem@davemloft.net>
35359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35362 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35363 (SETUP_PIC_REG): Use it.
35364 (SETUP_PIC_REG_LEAF): Use it.
35366 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35370 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35372 (EXPL_FINITE): Likewise.
35373 (FLDLOG): Likewise.
35374 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35375 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35377 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35379 (EXPL_FINITE): Likewise.
35380 (FLDLOG): Likewise.
35381 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35382 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35384 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35385 test of -max_value argument for long double.
35386 * sysdeps/i386/fpu/libm-test-ulps: Update.
35387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35389 2012-05-06 David S. Miller <davem@davemloft.net>
35391 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35392 quad soft-float symbols whose references which are compiler
35394 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35396 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35400 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35402 (EXPL_FINITE): Likewise.
35403 (FLDLOG): Likewise.
35406 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35407 Adjust comments for base varying.
35408 (__expl_finite): Change alias to EXPL_FINITE.
35409 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35411 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35412 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35413 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35414 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35415 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35417 (EXPL_FINITE): Likewise.
35418 (FLDLOG): Likewise.
35421 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35422 Adjust comments for base varying.
35423 (__expl_finite): Change alias to EXPL_FINITE.
35424 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35429 * math/libm-test.inc (check_float_internal): Correct ulp
35430 calculation for subnormal expected results.
35432 2012-05-06 Andreas Jaeger <aj@suse.de>
35434 * Makeconfig (+math-flags): New, set to -frounding-math.
35435 (+cflags): Add +math-flags so that all of glibc gets compiled with
35438 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35440 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35442 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35448 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35449 (__ieee754_expl): Allow for and saturate large arguments.
35450 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35451 (u_threshold): Likewise.
35452 (__exp): Call __ieee754_exp before checking for overflow and
35454 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35455 (u_threshold): Likewise.
35456 (__expf): Call __ieee754_expf before checking for overflow and
35458 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35459 (u_threshold): Likewise.
35460 (__expl): Call __ieee754_expl before checking for overflow and
35462 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35463 (__ieee754_expl): Allow for and saturate large arguments.
35464 * math/libm-test.inc (exp_test): Add another test. Do not allow
35465 missing overflow exception on overflow.
35466 (expm1_test): Do not allow missing overflow exception on overflow.
35468 * sysdeps/i386/fpu/e_expl.c: Move to ...
35469 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35470 rather than using inline asm.
35471 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35472 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35473 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35475 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35478 (signal): Likewise.
35482 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35484 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35485 sysdeps/unix/common/syscalls.list.
35486 (fchmod): Likewise.
35487 (fchown): Likewise.
35488 (ftruncate): Likewise.
35489 (getrusage): Likewise.
35490 (gettimeofday): Likewise.
35491 (setpgid): Likewise.
35492 (setregid): Likewise.
35493 (setreuid): Likewise.
35494 (sigaction): Likewise.
35495 (truncate): Likewise.
35496 (vhangup): Likewise.
35497 * sysdeps/unix/common/syscalls.list: Remove file.
35498 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35499 * sysdeps/unix/sysv/linux/Implies: Likewise.
35501 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35503 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35505 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35509 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35512 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35515 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35518 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35521 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35524 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35527 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35531 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35535 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35538 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35542 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35546 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35548 * sysdeps/unix/common/bits/dirent.h: Remove file.
35549 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35551 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35552 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35553 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35554 * sysdeps/unix/bsd/isatty.c: Likewise.
35555 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35556 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35557 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35559 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35562 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35563 long double comparison inaccuracies.
35564 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35567 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35569 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35570 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35572 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35575 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35576 nonzero digits before rounding a hex value.
35577 * stdlib/tst-strtod.c (tests): Add another test.
35579 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35581 * sysdeps/s390/fpu/libm-test-ulps: Update.
35583 2012-05-03 Andreas Jaeger <aj@suse.de>
35585 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35586 does not get optimized out.
35587 (malloc_opt_barrier): New.
35589 2012-05-03 Andreas Jaeger <aj@suse.de>
35590 Roland McGrath <roland@hack.frob.com>
35592 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35593 intermediate file deletion.
35594 (generated): Add .symlist files.
35596 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35599 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35600 Redirect under this condition.
35601 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35602 [__USE_GNU] (__dprintf_chk): Not under this condition.
35603 [__USE_GNU] (__vdprintf_chk): Likewise.
35604 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35605 under this condition.
35606 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35607 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35608 [__USE_XOPEN2K8] (vdprintf): Likewise.
35609 [__USE_GNU] (__dprintf_chk): Not under this condition.
35610 [__USE_GNU] (__vdprintf_chk): Likewise.
35611 [__USE_GNU] (dprintf): Likewise.
35612 [__USE_GNU] (vdprintf): Likewise.
35614 2012-05-03 Roland McGrath <roland@hack.frob.com>
35616 * elf/Makefile (common-generated): Set this instead of generated for
35617 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35618 $(all-built-dso)-derived lists.
35620 2012-05-03 Andreas Jaeger <aj@suse.de>
35622 * sysdeps/i386/fpu/libm-test-ulps: Update.
35625 * FAQ.in: Likewise.
35626 * scripts/gen-FAQ.pl: Likewise.
35627 * manual/install.texi (Installation): Point to online location of
35629 * Makefile (files-for-dist): Remove FAQ.
35632 2012-05-02 Allan McRae <allan@archlinux.org>
35634 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35635 (LDFLAGS-reldepmod5.so): Likewise.
35636 (LDFLAGS-reldep6mod1.so): Likewise.
35637 (LDFLAGS-reldep6mod4.so): Likewise.
35638 (LDFLAGS-reldep8mod3.so): Likewise.
35639 (LDFLAGS-unload4mod1.so): Likewise.
35640 (LDFLAGS-unload4mod2.so): Likewise.
35641 (LDFLAGS-tst-initorder): Likewise.
35642 (LDFLAGS-tst-initordera2.so): Likewise.
35643 (LDFLAGS-tst-initordera3.so): Likewise.
35644 (LDFLAGS-tst-initordera4.so): Likewise.
35645 (LDFLAGS-tst-initorderb2.so): Likewise.
35646 (LDFLAGS-noload): Likewise.
35647 (LDFLAGS-next): Likewise.
35648 (LDFLAGS-order2mod1.so): Likewise.
35649 (LDFLAGS-order2mod2.so): Likewise.
35650 (LDFLAGS-tst-initorder2): Likewise.
35651 (LDFLAGS-tst-initorder2a.so): Likewise.
35652 (LDFLAGS-tst-initorder2b.so): Likewise.
35653 (LDFLAGS-tst-initorder2c.so): Likewise.
35654 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35656 2012-05-02 David S. Miller <davem@davemloft.net>
35658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35660 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35663 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35665 2012-05-02 Andreas Jaeger <aj@suse.de>
35667 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35668 since we manipulate rounding mode.
35669 (CPPFLAGS-test-idouble.c): Likewise.
35670 (CPPFLAGS-test-ifloat.c): Likewise.
35671 (CFLAGS-test-ldouble.c): Likewise.
35672 (CFLAGS-test-double.c): Likewise.
35673 (CFLAGS-test-float.c): Likewise.
35674 (CFLAGS-test-misc.c): Likewise.
35675 (CFLAGS-test-test-fenv.c): Likewise.
35677 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35681 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35682 comparisons to determine direction to adjust input.
35684 2012-05-01 Roland McGrath <roland@hack.frob.com>
35686 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35687 output to the target.
35689 * scripts/localplt.awk: New file.
35690 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35691 (check-localplt-CFLAGS): Variable removed.
35692 ($(all-built-dso:=.jmprel)): New static pattern rule.
35693 (generated): Add those targets.
35694 (localplt-built-dso): New variable.
35695 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35697 * elf/check-localplt.c: File removed.
35699 * scripts/check-execstack.awk: New file.
35700 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35701 (check-execstack-CFLAGS): Variable removed.
35702 ($(objpfx)check-execstack.h): Target removed.
35703 ($(objpfx)execstack-default): New target.
35704 (generated): Add that instead of check-execstack.h.
35705 ($(all-built-dso:=.phdr)): New static pattern rule.
35706 (generated): Add those targets.
35707 * elf/check-execstack.c: File removed.
35709 * scripts/check-textrel.awk: New file.
35710 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35711 (check-textrel-CFLAGS): Variable removed.
35712 (all-built-dso): Use := to define.o
35713 ($(all-built-dso:=.dyn)): New static pattern rule.
35714 (generated): Add those targets.
35715 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35716 * config.make.in (READELF): New substituted variable.
35717 * elf/check-textrel.c: File removed.
35719 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35721 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35723 * conform/data/ctype.h-data [C99-based standards] (isblank):
35725 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35726 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35728 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35729 Specify type. Require positive value.
35730 (EILSEQ): Likewise.
35731 (ERANGE): Likewise.
35732 [ISO || POSIX] (EILSEQ): Do not expect.
35733 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35734 Specify type. Require positive value.
35735 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35736 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35737 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35738 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35739 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35740 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35741 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35742 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35743 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35744 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35745 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35746 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35747 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35748 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35749 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35750 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35751 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35752 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35753 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35754 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35755 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35756 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35757 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35758 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35759 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35760 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35761 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35762 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35763 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35764 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35765 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35766 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35767 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35768 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35769 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35770 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35771 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35772 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35773 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35774 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35775 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35776 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35777 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35778 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35779 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35780 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35781 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35782 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35783 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35784 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35785 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35786 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35787 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35788 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35789 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35790 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35791 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35792 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35793 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35794 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35795 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35796 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35797 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35798 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35799 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35800 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35801 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35802 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35803 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35804 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35805 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35806 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35807 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35808 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35809 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35810 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35811 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35813 (FLT_ROUNDS): Expect as macro, not constant.
35814 (FLT_MANT_DIG): Use macro-int-constant.
35815 (DBL_MANT_DIG): Likewise.
35816 (LDBL_MANT_DIG): Likewise.
35817 (FLT_DIG): Likewise.
35818 (DBL_DIG): Likewise.
35819 (LDBL_DIG): Likewise.
35820 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35821 (DBL_MIN_EXP): Likewise.
35822 (LDBL_MIN_EXP): Likewise.
35823 (FLT_MAX_EXP): Use macro-int-constant.
35824 (DBL_MAX_EXP): Likewise.
35825 (LDBL_MAX_EXP): Likewise.
35826 (FLT_MAX_10_EXP): Likewise.
35827 (DBL_MAX_10_EXP): Likewise.
35828 (LDBL_MAX_10_EXP): Likewise.
35829 (FLT_MAX): Use macro-constant.
35830 (DBL_MAX): Likewise.
35831 (LDBL_MAX): Likewise.
35832 (FLT_EPSILON): Use macro-constant. Give upper bound.
35833 (DBL_EPSILON): Likewise.
35834 (LDBL_EPSILON): Likewise.
35835 (FLT_MIN): Likewise.
35836 (DBL_MIN): Likewise.
35837 (LDBL_MIN): Likewise.
35838 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35839 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35840 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35841 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35842 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35843 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35844 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35845 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35846 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35847 [ISO11] (FLT_TRUE_MIN): Likewise.
35848 [ISO11] (LDBL_TRUE_MIN): Likewise.
35849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35850 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35851 (SCHAR_MIN): Use macro-int-constant. Specify type.
35852 (SCHAR_MAX): Likewise.
35853 (UCHAR_MAX): Likewise.
35854 (CHAR_MIN): Likewise.
35855 (CHAR_MAX): Likewise.
35856 (MB_LEN_MAX): Use macro-int-constant.
35857 (SHRT_MIN): Use macro-int-constant. Specify type.
35858 (SHRT_MAX): Likewise.
35859 (USHRT_MAX): Likewise.
35860 (INT_MAX): Likewise.
35861 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35863 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35865 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35867 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35868 bound negative. Suffix upper bound with "L".
35869 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35871 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35873 [C99-based standards] (LLONG_MAX): Likewise.
35874 [C99-based standards] (ULLONG_MAX): Likewise.
35875 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35877 [ISO11] (max_align_t): Require type.
35878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35880 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35881 from $CFLAGS, without defining away __attribute__ calls.
35882 (checknamespace): Use $CFLAGS_namespace.
35884 * conform/conformtest.pl (@keywords): Only include C99 keywords
35885 for standards based on C99 or C11.
35887 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35889 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35892 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35893 usability of symbols in #if.
35895 * conform/conformtest.pl: If macro or constant types start
35896 "promoted:", expect the symbol to be of the following type
35897 promoted by the integer promotions.
35899 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35900 in one place. Also handle "macro-constant".
35902 * conform/conformtest.pl: Only accept expected macro values with
35903 "==". Parse all "macro" lines in one place.
35904 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35906 * conform/conformtest.pl: Handle braced types on "constant" lines
35907 instead of handling "typed-constant".
35908 * conform/data/signal.h-data: Use "constant" instead of
35911 * conform/conformtest.pl: Handle "optional-" at start of lines in
35912 one place rather than duplicating several cases. Handle each
35913 format of "macro" line with initial "optional-".
35915 * conform/conformtest.pl: Only accept expected constant or
35916 optional-constant values with "==". Parse all "constant" lines in
35917 one place. Parse all "optional-constant" lines in one place.
35918 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35919 * conform/data/fmtmsg.h-data: Likewise.
35920 * conform/data/netinet/in.h-data: Likewise.
35921 * conform/data/tar.h-data: Likewise.
35922 * conform/data/limits.h-data: Use "==" form on "constant" and
35923 "optional-constant" lines.
35925 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35926 Use -std=c99 for XOPEN2K.
35927 (@knownproblems): Remove.
35928 (newtoken): Don't check %isknown.
35930 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35931 Do not expect macro.
35932 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35933 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35934 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35935 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35936 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35937 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35938 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35939 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35940 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35941 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35942 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35943 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35944 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35945 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35946 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35947 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35948 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35949 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35950 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35951 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35952 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35953 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35954 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35955 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35956 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35957 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35958 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35959 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35960 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35961 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35962 [XPG3] (acosh): Likewise.
35963 [XPG3] (asinh): Likewise.
35964 [XPG3] (atanh): Likewise.
35965 [XPG3] (cbrt): Likewise.
35966 [XPG3] (expm1): Likewise.
35967 [XPG3] (ilogb): Likewise.
35968 [XPG3] (log1p): Likewise.
35969 [XPG3] (logb): Likewise.
35970 [XPG3] (nextafter): Likewise.
35971 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35972 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35973 [XPG3] (remainder): Likewise.
35974 [XPG3] (rint): Likewise.
35975 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35976 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35977 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35978 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35979 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35980 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35981 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35982 [UNIX98 || XOPEN2K] (scalb): Expect.
35983 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35984 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35985 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35986 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35987 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35988 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35989 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35990 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35991 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35992 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35993 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35994 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35995 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35996 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35997 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35998 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35999 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36000 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36001 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36002 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36003 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36004 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36005 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36006 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36007 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36008 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36009 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36010 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36011 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36012 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36013 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36014 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36015 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36016 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36017 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36018 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36019 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36020 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36021 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36022 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36023 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36024 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36025 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36026 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36027 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36028 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36029 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36030 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36031 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36032 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36033 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36034 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36035 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36036 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36037 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36038 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36039 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36040 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36041 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36042 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36043 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36044 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36045 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36046 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36047 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36048 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36049 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36050 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36051 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36052 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36053 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36054 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36055 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36056 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36058 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36059 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36060 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36061 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36062 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36063 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36064 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36065 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36066 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36067 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36068 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36069 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36070 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36071 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36072 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36073 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36074 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36075 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36076 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36077 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36078 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36079 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36080 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36081 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36082 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36083 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36084 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36085 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36086 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36087 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36088 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36089 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36090 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36091 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36092 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36093 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36094 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36095 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36096 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36097 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36098 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36099 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36100 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36101 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36102 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36103 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36104 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36105 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36106 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36107 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36108 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36109 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36110 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36111 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36112 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36113 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36114 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36115 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36116 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36117 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36118 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36119 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36121 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36122 _XOPEN_SOURCE_EXTENDED for XPG4.
36124 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36126 * Makeconfig (localtime): Remove variable.
36127 (inst_localtime-file): Likewise.
36129 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36150 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36154 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36155 comparisons to determine direction to adjust input.
36156 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36157 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36158 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36160 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36162 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36164 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36165 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36167 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36169 * math/libm-test.inc (nexttoward_test): Add more tests.
36171 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36174 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36175 in version GLIBC_2.1, not GLIBC_2.0.
36176 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36179 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36182 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36184 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36185 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36186 * math/libm-test.inc (acos_test): Add more tests.
36187 (asin_test): Likewise.
36188 * sysdeps/i386/fpu/libm-test-ulps: Update.
36189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36192 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36194 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36195 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36196 * math/libm-test.inc (acos_test_tonearest): New function.
36197 (acos_test_towardzero): Likewise.
36198 (acos_test_downward): Likewise.
36199 (acos_test_upward): Likewise.
36200 (asin_test_tonearest): Likewise.
36201 (asin_test_towardzero): Likewise.
36202 (asin_test_downward): Likewise.
36203 (asin_test_upward): Likewise.
36204 (main): Call the new functions.
36205 * sysdeps/i386/fpu/libm-test-ulps: Update.
36206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36210 * math/e_exp10.c: Include <float.h>.
36211 (__ieee754_exp10): Handle underflow here rather than multiplying
36212 large negative argument by M_LN10.
36213 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36215 * math/e_exp10l.c: Include <float.h>.
36216 (__ieee754_exp10l): Handle underflow here rather than multiplying
36217 large negative argument by M_LN10l.
36218 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36219 spurious overflow exception on underflow.
36221 2012-04-29 Marek Polacek <polacek@redhat.com>
36223 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36224 (__fortify_function): New macro.
36225 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36226 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36227 __extern_always_inline.
36228 * libio/bits/stdio2.h: Likewise.
36229 * libio/bits/stdio.h: Likewise.
36230 * string/string.h: Likewise.
36231 * string/bits/string3.h: Likewise.
36232 * include/stdio.h: Likewise.
36233 * stdlib/bits/stdlib.h: Likewise.
36234 * stdlib/stdlib.h: Likewise.
36235 * rt/bits/mqueue2.h: Likewise.
36236 * rt/mqueue.h: Likewise.
36237 * posix/bits/unistd.h: Likewise.
36238 * posix/unistd.h: Likewise.
36239 * io/bits/poll2.h: Likewise.
36240 * io/bits/fcntl2.h: Likewise.
36241 * io/fcntl.h: Likewise.
36242 * io/sys/poll.h: Likewise.
36243 * misc/bits/syslog.h: Likewise.
36244 * misc/bits/syslog-ldbl.h: Likewise.
36245 * misc/sys/syslog.h: Likewise.
36246 * socket/bits/socket2.h: Likewise.
36247 * socket/sys/socket.h: Likewise.
36248 * debug/tst-chk1.c: Likewise.
36249 * wcsmbs/bits/wchar2.h: Likewise.
36250 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36251 * wcsmbs/wchar.h: Likewise.
36253 2012-04-29 Andreas Jaeger <aj@suse.de>
36255 * Makerules (tests): Remove enable-check-abi protection.
36256 (check-abi-warn): Remove.
36257 (check-abi-%): Remove check-abi-warn usage.
36259 * configure.in: Remove check-abi configure option.
36260 * configure: Regenerated.
36261 * config.make.in (enable-check-abi): Remove.
36263 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36266 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36267 double functions to double *_finite functions.
36270 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36271 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36273 * stdio-common/Makefile (tests): Add tst-sprintf3.
36274 * stdio-common/tst-sprintf3.c: New file.
36276 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36277 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36279 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36281 * conform/conformtest.pl: Remove duplicate typed-constant
36284 2012-04-28 David S. Miller <davem@davemloft.net>
36286 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36287 (check-abi-%): Remove AWK script prerequisite and explicit
36289 (check-abi): Rewrite to just diff the symlist with the abilist.
36290 (config-tls, config-abi-config): Delete, no longer used.
36291 (update-abi-%): Remove AWK script and explicit abilist directory.
36292 (update-abi): Rewrite to simply compare and conditionally copy the
36293 symlist and the sysdep abilist file. Remove update-abi-config
36295 * abilist/ld.abilist: Remove.
36296 * abilist/libBrokenLocale.abilist: Remove.
36297 * abilist/libanl.abilist: Remove.
36298 * abilist/libcrypt.abilist: Remove.
36299 * abilist/libdl.abilist: Remove.
36300 * abilist/librt.abilist: Remove.
36301 * abilist/libthread_db.abilist: Remove.
36302 * abilist/libutil.abilist: Remove.
36303 * scripts/extract-abilist.awk: Remove.
36304 * scripts/merge-abilist.awk: Remove.
36305 * sysdeps/generic/libcidn.abilist: New file.
36306 * sysdeps/generic/libnss_compat.abilist: New file.
36307 * sysdeps/generic/libnss_db.abilist: New file.
36308 * sysdeps/generic/libnss_dns.abilist: New file.
36309 * sysdeps/generic/libnss_files.abilist: New file.
36310 * sysdeps/generic/libnss_hesiod.abilist: New file.
36311 * sysdeps/generic/libnss_nis.abilist: New file.
36312 * sysdeps/generic/libnss_nisplus.abilist: New file.
36313 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36314 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36315 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36317 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36318 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36319 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36320 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36321 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36322 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36323 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36324 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36325 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36327 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36328 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36329 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36330 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36332 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36333 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36334 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36335 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36336 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36337 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36339 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36340 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36341 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36343 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36446 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36447 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36448 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36450 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36451 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36452 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36453 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36454 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36455 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36456 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36457 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36458 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36459 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36511 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36513 * conform/conformtest.pl: Fix typo in handling typed-constant from
36516 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36518 * README: Cut down references to pre-2.6 Linux kernels and
36519 Linuxthreads. Update lists of configurations in libc and ports
36520 and sort alphabetically. Say "or newer" with Linux kernel version
36523 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36525 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36528 * math/libm-test.inc (logb_test_downward): New test to expose
36529 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36532 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36535 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36537 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36538 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36540 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36542 * sysdeps/unix/i386/brk.S: Remove file.
36543 * sysdeps/unix/i386/dl-brk.S: Likewise.
36544 * sysdeps/unix/i386/pipe.S: Likewise.
36545 * sysdeps/unix/i386/sigreturn.S: Likewise.
36546 * sysdeps/unix/i386/syscall.S: Likewise.
36547 * sysdeps/unix/i386/vfork.S: Likewise.
36548 * sysdeps/unix/i386/wait.S: Likewise.
36550 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36551 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36553 * configure.in (arm*-none*): Do not allow without
36554 --enable-hacker-mode.
36555 (netbsd*): Remove case setting base_os.
36556 (386bsd*): Likewise.
36557 (freebsd*): Likewise.
36560 (sunos*): Likewise.
36561 (ultrix*): Likewise.
36562 (newsos*): Likewise.
36563 (dynix*): Likewise.
36569 (minix*): Likewise.
36570 (irix4*): Likewise.
36571 (irix6*): Likewise.
36572 (solaris[2-9]*): Likewise.
36574 * configure: Regenerated.
36576 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36579 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36580 overflow or cancellation in calculating denominator.
36581 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36582 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36583 down expression to avoid unexpected rounding in newer GCCs.
36584 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36586 2012-04-26 David S. Miller <davem@davemloft.net>
36588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36589 long-double compat symbols.
36590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36604 2012-04-25 David S. Miller <davem@davemloft.net>
36606 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36607 HWCAP_* values only after the memory barriers have been defined.
36608 (atomic_full_barrier): Define.
36609 (atomic_read_barrier): Define.
36610 (atomic_write_barrier): Define.
36612 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36614 * shlib-versions: Add libgcc_s version information.
36615 * sysdeps/generic/libgcc_s.h: Remove.
36616 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36618 * sysdeps/gnu/unwind-resume.c: Likewise.
36619 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36621 2012-04-25 David S. Miller <davem@davemloft.net>
36623 * sysdeps/unix/sparc/brk.S: Delete.
36624 * sysdeps/unix/sparc/dl-brk.S: Delete.
36625 * sysdeps/unix/sparc/pipe.S: Delete.
36626 * sysdeps/unix/sparc/sysdep.S: Delete.
36627 * sysdeps/unix/sparc/sysdep.h: Delete.
36628 * sysdeps/unix/sparc/vfork.S: Delete.
36629 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36630 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36631 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36632 (ret_ERRVAL, r0, r1, MOVE): Define.
36633 (JUMPTARGET): Remove.
36634 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36635 sysdeps/unix/sparc/sysdep.h
36636 (ENTRY, END): Remove.
36637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36639 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36641 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36642 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36645 * timezone/README: Update upstream location and email address for
36647 * timezone/zdump.c: Update from tzcode 2012b.
36648 * timezone/zic.c: Likewise.
36650 * configure.in (libc_cv_as_needed): Remove test.
36651 * configure: Regenerated.
36652 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36653 conditional definition.
36654 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36655 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36656 * config.make.in (have-as-needed): Remove variable.
36658 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36659 Paul Pluzhnikov <ppluzhnikov@google.com>
36661 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36664 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36666 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36667 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36668 * sysdeps/sh/strlen.S: Likewise.
36670 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36672 * sysdeps/unix/fork.S: Remove file.
36673 * sysdeps/unix/i386/fork.S: Likewise.
36674 * sysdeps/unix/sparc/fork.S: Likewise.
36676 * sysdeps/unix/system.c: Remove file.
36677 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36679 * sysdeps/unix/getegid.S: Remove file.
36680 * sysdeps/unix/geteuid.S: Likewise.
36682 2012-04-24 Roland McGrath <roland@hack.frob.com>
36684 * scripts/check-localplt.awk: New file.
36685 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36687 * scripts/data/localplt-generic.data: Add a comment.
36689 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36690 NODE when __dir_mkfile failed.
36691 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36692 Reported by Ludovic Courtès <ludo@gnu.org>.
36694 2012-04-24 Andreas Jaeger <aj@suse.de>
36696 * Makerules (common-clean): Also remove gen-as-const-headers
36699 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36701 * Makerules (native-compile): Do not change working directory for
36702 build. Use $(OUTPUT_OPTION) in command.
36703 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36705 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36708 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36709 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36710 * math/libm-test.inc (floor_test): Add more tests.
36711 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36713 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36715 * sysdeps/unix/getdents.c: Remove file.
36716 * sysdeps/unix/sysv/getdents.c: Likewise.
36717 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36719 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36720 sysdeps/unix/mman/syscalls.list.
36722 (mprotect): Likewise.
36724 (munmap): Likewise.
36725 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36726 * sysdeps/unix/mman/syscalls.list: Remove.
36727 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36729 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36730 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36731 * configure: Regenerated.
36732 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36733 $(libgcc_s_suffix).
36734 * config.make.in (libgcc_s_suffix): Remove variable.
36736 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36738 * sysdeps/unix/sysv/gethostname.c: Move to ...
36739 * sysdeps/posix/gethostname.c: ... here.
36741 * sysdeps/unix/execve.S: Remove file.
36743 * sysdeps/unix/_exit.S: Remove file.
36745 2012-04-23 Andreas Jaeger <aj@suse.de>
36748 * manual/Makefile: Remove make dist support, there's no
36749 need for a stand-alone documentation tar ball.
36750 (TEXI2DVI): Define always, it's not in Makeconfig.
36753 (edition): Removed.
36754 (glibc-doc-$(edition).tar): Removed
36758 (ETAGS): Remove, it's in Makeconfig.
36759 (move-if-change): Remove, it's in Makeconfig.
36761 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36764 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36765 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36766 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36767 (strtod_l, strtof_l, strtold_l): Remove __wur.
36768 It is not necessarily an error to ignore strtol's return value.
36769 One can reliably look at the stored endptr to decide whether
36770 the number had valid syntax.
36772 2012-04-21 Andreas Jaeger <aj@suse.de>
36775 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36777 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36779 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36780 * sysdeps/unix/sysv/Versions: Remove file.
36782 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36787 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36791 version from __vm86.
36793 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36795 * sysdeps/unix/common/lxstat.c: Remove file.
36796 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36798 * sysdeps/unix/sysv/Makefile: Remove file.
36800 * sysdeps/unix/sysv/direct.h: Remove file.
36802 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36803 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36804 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36805 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36806 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36807 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36808 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36810 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36812 * sysdeps/unix/xmknod.c: Remove file.
36813 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36815 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36817 * sysdeps/unix/sysv/i386/time.S: Remove file.
36819 * sysdeps/unix/fxstat.c: Remove file.
36820 * sysdeps/unix/xstat.c: Likewise.
36821 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36823 * sysdeps/unix/sysv/sigaction.c: Remove file.
36825 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36826 (sysdep_headers): Remove variable.
36827 [termio.h not in sysdep_headers] (generated): Likewise.
36828 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36829 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36830 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36831 * sysdeps/unix/sysv/tcflow.c: Likewise.
36832 * sysdeps/unix/sysv/tcflush.c: Likewise.
36833 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36834 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36835 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36836 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36837 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36839 * sysdeps/unix/siglist.c: Remove file.
36841 * sysdeps/unix/getppid.S: Remove file.
36843 * sysdeps/unix/mkdir.c: Remove file.
36844 * sysdeps/unix/rmdir.c: Likewise.
36846 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36848 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36850 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36851 errlist-compat value.
36853 2012-04-18 David S. Miller <davem@davemloft.net>
36855 * sysdeps/generic/memcopy.h (reg_char): Delete.
36856 * debug/strcat_chk.c: Use char, not reg_char.
36857 * debug/strcpy_chk.c: Likewise.
36858 * debug/strncat_chk.c: Likewise.
36859 * debug/strncpy_chk.c: Likewise.
36860 * string/memchr.c: Likewise.
36861 * string/memrchr.c: Likewise.
36862 * string/rawmemchr.c: Likewise.
36863 * string/strcat.c: Likewise.
36864 * string/strchr.c: Likewise.
36865 * string/strchrnul.c: Likewise.
36866 * string/strcmp.c: Likewise.
36867 * string/strcpy.c: Likewise.
36868 * string/strncat.c: Likewise.
36869 * string/strncmp.c: Likewise.
36870 * string/strncpy.c: Likewise.
36872 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36874 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36875 __builtin_memcopy is called when src and dest ranges are known to not
36878 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36880 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36881 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36882 fwd_align_merge macro call.
36883 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36884 bwd_align_merge macro call.
36885 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36887 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36889 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36890 bwd_align_merge macros.
36891 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36892 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36893 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36895 2012-04-18 David S. Miller <davem@davemloft.net>
36897 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36899 2012-04-18 Andreas Jaeger <aj@suse.de>
36902 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36903 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36904 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36906 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36907 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36908 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36910 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36911 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36912 Adjust for changed ldbl-128 files.
36914 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36915 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36916 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36918 2012-04-17 David S. Miller <davem@davemloft.net>
36920 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36922 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36924 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36925 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36926 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36927 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36928 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36929 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36931 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36934 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36935 * math/libm-test.inc: Add ilogb errno and exception tests.
36936 * math/w_ilogb.c: New file: ilogb wrapper.
36937 * math/w_ilogbf.c: New file: ilogbf wrapper.
36938 * math/w_ilogbl.c: New file: ilogbl wrapper.
36939 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36940 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36941 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36942 exception being thrown with 0.0 as argument.
36943 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36944 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36945 exception being thrown with 0.0 as argument.
36946 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36947 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36948 exception being thrown with 0.0 as argument.
36949 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36950 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36951 exception being thrown with 0.0 as argument.
36952 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36953 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36954 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36955 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36956 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36957 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36958 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36959 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36960 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36962 2012-04-17 Petr Baudis <pasky@ucw.cz>
36964 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36967 2012-04-16 Marek Polacek <polacek@redhat.com>
36969 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36971 2012-04-16 Marek Polacek <polacek@redhat.com>
36973 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36974 operands of fdivp instruction.
36976 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36978 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36979 * elf/tst-auditmod3b.c: Likewise.
36980 * elf/tst-auditmod4b.c: Likewise.
36981 * elf/tst-auditmod5b.c: Likewise.
36982 * elf/tst-auditmod6b.c: Likewise.
36983 * elf/tst-auditmod6c.c: Likewise.
36984 * elf/tst-auditmod7b.c: Likewise.
36985 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36986 * sysdeps/x86_64/preconfigure.in: Likewise.
36987 * sysdeps/x86_64/preconfigure: Regenerated.
36989 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36991 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36994 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36996 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36997 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36999 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37002 * locale/iso-639.def: Fix gl language name. Spotted by
37005 2012-04-12 Roland McGrath <roland@hack.frob.com>
37008 * libio/libio.h (__io_write_fn): Update comment.
37010 2012-04-12 Petr Baudis <pasky@ucw.cz>
37013 * stdio.texi (Hook Functions): The user provided writer function
37014 is not allowed to return -1.
37016 2012-04-11 David S. Miller <davem@davemloft.net>
37018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37020 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37022 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37023 Add a leading slash to rtkaio.
37025 2012-04-11 Jim Meyering <meyering@redhat.com>
37028 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37029 It is not necessarily an error to ignore fwrite's return
37030 value. One can reliably use ferror to test for errors after
37033 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37035 * bits/types.h (__snseconds_t): New type.
37036 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37038 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37039 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37040 (__SNSECONDS_T_TYPE): Likewise.
37041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37042 (__SNSECONDS_T_TYPE): Likewise.
37043 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37044 (__SNSECONDS_T_TYPE): Likewise.
37046 2012-04-10 Andreas Jaeger <aj@suse.de>
37049 * manual/time.texi (Processor Time): Return type of times is
37050 elapsed real time since an arbitrary point in the past.
37051 (CPU Time): Move CLK_TCK from here...
37052 (Processor Time): ...to here. Correct description.
37053 * manual/conf.texi (Constants for Sysconf): Correct description of
37056 2012-04-10 David S. Miller <davem@davemloft.net>
37059 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37060 where the is a gap between DT_REL(A) and DT_JMPREL.
37062 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37064 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37065 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37066 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37068 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37070 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37071 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37072 (dl_main): Handle --inhibit-cache.
37073 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37075 * elf/dl-load.c (_dl_map_object): Use it.
37076 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37078 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37081 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37082 (__ieee754_powl): Saturate large exponents rather than testing for
37083 overflow of y*log2(x).
37084 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37085 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37089 * math/s_ctan.c: Include <float.h>.
37090 (__ctan): Avoid internal overflow or cancellation in calculating
37092 * math/s_ctanf.c: Likewise.
37093 * math/s_ctanl.c: Likewise.
37094 * math/s_ctanh.c: Likewise.
37095 * math/s_ctanhf.c: Likewise.
37096 * math/s_ctanhl.c: Likewise.
37097 * math/libm-test.inc (ctan_test): Add more tests.
37098 (ctanh_test): Likewise.
37099 * sysdeps/i386/fpu/libm-test-ulps: Update.
37100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37102 2012-04-09 Andreas Jaeger <aj@suse.de>
37105 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37106 is an optional BSD extension.
37109 * manual/stdio.texi (Opening Streams): Document additional fopen
37112 2012-04-09 Roland McGrath <roland@hack.frob.com>
37114 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37115 %eax without telling the compiler.
37117 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37120 * manual/install.texi: Use sourceware.org.
37122 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37125 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37126 (__ieee754_pow): Generate overflow and underflow using huge*huge
37127 and tiny*tiny rather than just returning constant infinity or zero
37128 for large exponents.
37129 * math/libm-test.inc (pow_test): Require overflow exceptions for
37130 applicable cases of large exponents.
37133 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37134 (__ieee754_pow): Use iterative multiplication algorithm only for
37135 integer exponents with absolute value below 1024. Check for odd
37136 integer exponents when using algorithm for real exponents.
37137 * math/libm-test.inc (pow_test): Add more tests.
37138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37140 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37143 * math/libm-test.inc (exp_test): Do not allow overflow exception
37146 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37149 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37150 instead of __kernel_standard_f.
37152 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37154 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37155 * sysdeps/x86_64/memset_chk.S: Likewise.
37157 2012-04-08 Andreas Jaeger <aj@suse.de>
37160 * manual/startup.texi (Environment Access): Describe return value
37161 for putenv and setenv.
37164 * manual/filesys.texi (Directory Entries): Add description for
37168 * manual/filesys.texi (Directory Entries): Clarify that it's file
37169 system not operating system in the description of DT_UNKNOWN.
37172 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37174 2012-04-08 Stephen Compall <s11@member.fsf.org>
37177 * manual/llio.texi (Opening and Closing Files): Add cross
37178 reference to explain mode argument.
37180 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37182 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37183 * sysdeps/x86_64/memset_chk.S: Likewise.
37185 2012-04-07 David S. Miller <davem@davemloft.net>
37187 * elf/elf.h (R_SPARC_WDISP10): Define.
37188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37191 R_SPARC_SIZE64 and R_SPARC_H34.
37193 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37195 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37196 conditions and remove no longer applicable assertion.
37198 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37200 * bits/byteswap.h: Include <features.h>.
37201 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37202 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37204 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37206 * bits/byteswap.h (__bswap_16): Removed.
37207 Include <bits/byteswap-16.h> to get __bswap_16.
37208 * sysdeps/i386/bits/byteswap.h: Likewise.
37209 * sysdeps/s390/bits/byteswap.h: Likewise.
37210 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37211 * bits/byteswap-16.h: New file.
37212 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37213 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37214 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37215 * string/Makefile (headers): Add bits/byteswap-16.h.
37217 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37220 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37222 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37223 * nss/tst-nss-static.c: New.
37225 2012-04-06 Robert Millan <rmh@gnu.org>
37228 * manual/llio.texi (File Position Primitive): lseek
37229 refers to WHENCE when it really means OFFSET.
37231 2012-04-06 Andreas Jaeger <aj@suse.de>
37233 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37234 strncmp declarations.
37236 * abilist/libc.abilist: Add __poll and __ppoll.
37238 2012-04-05 David S. Miller <davem@davemloft.net>
37240 * scripts/check-local-headers.sh: Accept a host triplet in the
37241 path matched by the exclude regexp.
37243 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37245 * sysdeps/powerpc/powerpc32/dl-machine.h
37246 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37247 * sysdeps/s390/s390-32/dl-machine.h
37248 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37249 * sysdeps/sparc/sparc32/dl-machine.h
37250 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37251 * sysdeps/sparc/sparc64/dl-machine.h
37252 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37254 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37256 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37257 undefined symbol errors.
37259 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37262 2012-04-05 Michael Matz <matz@suse.de>
37265 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37267 2012-04-05 Andreas Jaeger <aj@suse.de>
37270 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37273 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37275 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37276 which ROUND is no valid rounding mode.
37278 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37280 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37282 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37284 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37286 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37287 an exception using FPU order intentionally.
37289 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37291 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37292 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37293 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37294 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37296 2012-04-05 Simon Josefsson <simon@josefsson.org>
37299 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37300 EINVAL when BUFLEN is too smal.
37302 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37305 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37306 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37308 2012-04-03 Andreas Jaeger <aj@suse.de>
37311 * manual/setjmp.texi (System V contexts): Fix sentence.
37314 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37315 New macro for this case.
37316 [!__GNUC__] (__bswap_64): New inline function for this case.
37317 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37318 * bits/byteswap.h: Likewise.
37319 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37320 ull, guard with __GLIBC_HAVE_LONG_LONG.
37322 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37323 __GLIBC_HAVE_LONG_LONG.
37325 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37326 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37328 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37331 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37332 inptr and inend, rather than using last_ch.
37334 2012-04-02 David S. Miller <davem@davemloft.net>
37336 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37337 * stdio-common/printf-parse.h (read_int): Change return type to
37338 'int', return -1 on INT_MAX overflow.
37339 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37340 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37341 overflows INT_MAX. Check for overflow of in-format-string precision
37342 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37343 SIZE_MAX not INT_MAX for integer overflow test.
37344 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37345 skip the construct in the format string but do not record anything.
37346 * stdio-common/bug22.c: Adjust to test both width/prevision
37347 INT_MAX overflow as well as total length INT_MAX overflow. Check
37348 explicitly for proper errno values.
37350 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37352 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37354 * string/test-strcmp.c [! WIDE]: Likewise.
37355 * time/tst-mktime2.c: Likewise for INT_MAX.
37356 * string/test-string.h: #include <sys/param.h> for MIN.
37358 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37359 * sysdeps/i386/init-first.c (init): Likewise.
37360 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37361 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37362 * sysdeps/sh/init-first.c (init): Likewise.
37364 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37366 * po/ru.po: Update from translation team.
37367 * po/vi.po: Likewise.
37369 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37371 * resolv/nss_dns/dns-host.c: Merge copyright years.
37373 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37375 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37376 Optimize memcpy with prefetch if
37377 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37378 src, dst pointers have unequal 16 byte alignments.
37380 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37383 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37384 from a CNAME entry and return the minimum ttl for the query.
37385 (gaih_getanswer_slice): Likewise.
37387 2012-03-30 Jeff Law <law@redhat.com>
37389 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37391 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37392 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37394 * resolv/nss_dns/dns-host.c: Update copyright year.
37396 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37398 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37399 requests to save a system call. Fix check that all bytes are sent.
37401 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37402 comments for sendmmsg.
37404 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37407 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37408 with only 1 character between 0x0041 and 0x01b0.
37409 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37410 * wcsmbs/tst-mbsnrtowcs.c: New file.
37412 2012-03-29 David S. Miller <davem@davemloft.net>
37414 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37415 small copies by hand.
37417 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37420 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37421 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37424 2012-03-28 David S. Miller <davem@davemloft.net>
37426 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37427 that branches into memcpy.
37428 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37429 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37430 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37431 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37434 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37435 implementation too.
37436 * sysdeps/sparc/mempcpy.S: New file.
37438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37439 the IFUNC routine in the libc case.
37440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37442 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37443 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37444 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37445 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37446 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37447 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37448 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37449 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37451 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37452 loop to 256 bytes instead of 64 bytes and fix test signedness.
37454 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37455 * sysdeps/sparc/sparc32/Makefile: rather than here...
37456 * sysdeps/sparc/sparc64/Makefile: and here.
37458 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37460 * malloc/mallocbug.c: Avoid warnings about unused variables.
37462 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37465 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37466 in the right place. Discard and retry query if response is
37467 larger than input buffer size.
37469 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37474 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37475 x for large integer exponent.
37476 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37477 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37478 sign of result as needed afterwards.
37479 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37480 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37481 result for underflowing pow the same as for overflow.
37482 (__kernel_standard_l): Handle powl overflow and underflow here
37483 rather than calling __kernel_standard.
37484 * math/libm-test.inc (pow_test): Add more tests.
37499 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37500 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37501 (__kernel_standard_l): New function.
37502 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37504 * math/w_acosl.c (__acosl): Likewise.
37505 * math/w_asinl.c (__asinl): Likewise.
37506 * math/w_atan2l.c (__atan2l): Likewise.
37507 * math/w_atanhl.c (__atanhl): Likewise.
37508 * math/w_coshl.c (__coshl): Likewise.
37509 * math/w_exp10l.c (__exp10l): Likewise.
37510 * math/w_exp2l.c (__exp2l): Likewise.
37511 * math/w_fmodl.c (__fmodl): Likewise.
37512 * math/w_hypotl.c (__hypotl): Likewise.
37513 * math/w_j0l.c (__j0l, __y0l): Likewise.
37514 * math/w_j1l.c (__j1l, __y1l): Likewise.
37515 * math/w_jnl.c (__jnl, __ynl): Likewise.
37516 * math/w_lgammal.c (__lgammal): Likewise.
37517 * math/w_log10l.c (__log10l): Likewise.
37518 * math/w_log2l.c (__log2l): Likewise.
37519 * math/w_logl.c (__logl): Likewise.
37520 * math/w_powl.c (__powl): Likewise.
37521 * math/w_remainderl.c (__remainderl): Likewise.
37522 * math/w_scalbl.c (sysv_scalbl): Likewise.
37523 * math/w_sinhl.c (__sinhl): Likewise.
37524 * math/w_sqrtl.c (__sqrtl): Likewise.
37525 * math/w_tgammal.c (__tgammal): Likewise.
37526 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37527 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37528 * math/libm-test.inc (acos_test): Add more tests.
37529 (acosh_test): Likewise.
37530 (asin_test): Likewise.
37531 (atanh_test): Likewise.
37532 (exp_test): Likewise.
37533 (exp10_test): Likewise.
37534 (exp2_test): Likewise.
37535 (expm1_test): Likewise.
37536 (lgamma_test): Likewise.
37537 (log_test): Likewise.
37538 (log10_test): Likewise.
37539 (log1p_test): Likewise.
37540 (log2_test): Likewise.
37541 (pow_test): Do not allow some spurious overflow exceptions.
37542 (sqrt_test): Add more tests.
37543 (tgamma_test): Likewise.
37544 (y0_test): Likewise.
37545 (y1_test): Likewise.
37546 (yn_test): Likewise.
37548 2012-03-27 Anton Blanchard <anton@samba.org>
37550 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37552 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37553 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37554 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37556 2012-03-27 David S. Miller <davem@davemloft.net>
37558 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37560 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37561 have-as-vis3 check.
37563 2012-03-27 Andreas Jaeger <aj@suse.de>
37565 * sysdeps/x86_64/elf/configure.in: Moved to ...
37566 * sysdeps/x86_64/configure.in: ... here.
37567 * sysdeps/x86_64/elf/start.S: Moved to ...
37568 * sysdeps/x86_64/start.S: ... here.
37569 * sysdeps/x86_64/elf/configure: Delete.
37571 * sysdeps/x86_64/configure.in: Merge contents from
37572 sysdeps/i386/configure.in (without i686 check).
37574 * sysdeps/i386/elf/Versions: Merge into ...
37575 * sysdeps/i386/Versions: ... this.
37576 * sysdeps/i386/elf/Versions: Delete file.
37577 * sysdeps/i386/elf/start.S: Moved to ...
37578 * sysdeps/i386/start.S: ...here.
37579 * sysdeps/i386/elf/configure.in: Merge into...
37580 * sysdeps/i386/configure.in: ...here.
37581 * sysdeps/i386/elf/configure.in: Delete file.
37582 * sysdeps/i386/elf/configure: Delete file.
37584 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37585 * debug/backtracesyms.c: ... here.
37586 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37587 * debug/backtracesymsfd.c: ... here.
37588 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37589 * sysdeps/generic/ifunc-sel.h: ... here.
37591 * sysdeps/unix/i386/start.c: Delete file.
37592 * sysdeps/unix/sparc/start.c: Delete file.
37593 * sysdeps/unix/start.c: Delete file.
37595 * sysdeps/sh/elf/configure.in: Moved to ...
37596 * sysdeps/sh/configure.in: ... here.
37597 * sysdeps/sh/elf/start.S: Moved to ...
37598 * sysdeps/sh/start.S: ... here.
37599 * sysdeps/sh/elf/configure: Delete file.
37601 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37602 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37603 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37604 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37605 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37606 * sysdeps/powerpc/powerpc64/start.S: here.
37607 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37608 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37609 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37610 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37611 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37613 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37614 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37615 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37616 * sysdeps/powerpc/powerpc32/start.S: ... here.
37617 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37618 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37619 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37621 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37622 * sysdeps/powerpc/ifunc-sel.h: ... here.
37623 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37624 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37626 * sysdeps/sparc/elf/configure.in: Moved to ...
37627 * sysdeps/sparc/configure.in: ... here.
37628 * sysdeps/sparc/elf/configure: Delete file.
37629 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37630 * sysdeps/sparc/sparc32/start.S: ... here.
37631 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37632 * sysdeps/sparc/sparc64/start.S: ... here.
37633 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37634 * sysdeps/sparc/sparc32/Makefile: ... this.
37635 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37636 * sysdeps/sparc/sparc64/Makefile: ... this.
37638 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37639 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37640 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37641 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37642 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37643 * sysdeps/s390/s390-32/setjmp.S: ... here.
37644 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37645 * sysdeps/s390/s390-32/configure.in: ... here.
37646 * sysdeps/s390/s390-32/elf/configure: Delete file.
37647 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37648 * sysdeps/s390/s390-32/start.S: ... here.
37650 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37651 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37652 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37653 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37654 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37655 * sysdeps/s390/s390-64/setjmp.S: ... here.
37656 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37657 * sysdeps/s390/s390-64/configure.in: ... here
37658 * sysdeps/s390/s390-64/elf/configure: Delete file.
37659 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37660 * sysdeps/s390/s390-64/start.S: ... here.
37661 * sysdeps/s390/s390-64/elf/configure: Delete.
37663 * configure.in: Remove support for elf directories in sysdeps.
37665 * configure: Regenerated.
37666 * sysdeps/i386/configure: Regenerated.
37667 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37668 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37669 * sysdeps/s390/s390-32/configure: Regenerated.
37670 * sysdeps/s390/s390-64/configure: Regenerated.
37671 * sysdeps/sh/configure: Regenerated.
37672 * sysdeps/sparc/configure: Regenerated.
37673 * sysdeps/x86_64/configure: Regenerated.
37675 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37679 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37680 denormal result into account.
37682 2012-03-25 Roland McGrath <roland@hack.frob.com>
37684 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37685 Reported by Allan McRae <allan@archlinux.org>.
37687 2012-03-23 Jeff Law <law@redhat.com>
37689 * nss/getnssent.c (__nss_getent): Fix typo.
37691 2012-03-23 David S. Miller <davem@davemloft.net>
37693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37695 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37697 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37698 to pad to uint64_t for each field.
37699 (dl_tls_index): Replace unsigned long with uint64_t.
37701 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37702 Paul Pluzhnikov <ppluzhnikov@google.com>
37705 * grp/Makefile (otherlibs): Don't set it.
37706 * inet/Makefile (otherlibs): Likewise.
37707 * login/Makefile (otherlibs): Likewise.
37708 * nscd/Makefile (otherlibs): Likewise.
37709 * posix/Makefile (otherlibs): Likewise.
37710 * pwd/Makefile (otherlibs): Likewise.
37711 * rt/Makefile (otherlibs): Likewise.
37712 * sunrpc/Makefile (otherlibs): Likewise.
37713 * nss/Makefile (otherlibs): Likewise.
37714 Add libnss_files to routines and static-only-routines.
37715 ($(objpfx)getent): Remove rule.
37716 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37717 static-only-routines.
37719 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37722 * math/s_cexp.c: Include <float.h>.
37723 (__cexp): Handle exp result overflowing not necessarily
37724 overflowing both real and imaginary parts of result.
37725 * math/s_cexpf.c: Likewise.
37726 * math/s_cexpl.c: Likewise.
37727 * math/libm-test.inc (cexp_test): Add more tests.
37728 * sysdeps/i386/fpu/libm-test-ulps: Update.
37729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37731 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37733 * include/link.h (ELFW): New macro.
37734 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37735 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37737 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37739 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37742 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37744 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37746 (struct La_x32_retval): Likewise.
37748 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37750 * sysdeps/x86_64/preconfigure.in: New file.
37751 * sysdeps/x86_64/preconfigure: New generated file.
37753 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37756 * math/e_exp2l.c: Include <float.h>.
37757 (__ieee754_exp2l): Handle overflow and underflow cases
37758 separately. Only pass fractional part of argument to
37760 * math/libm-test.inc (exp2_test): Add more tests.
37762 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37763 negating x to take absolute value.
37764 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37766 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37767 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37769 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37770 computing low part if x was negated.
37771 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37773 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37775 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37776 la_x32_gnu_pltexit.
37777 (pltexit): Cast int_retval to ptrdiff_t.
37778 * elf/tst-auditmod3b.c: Likewise.
37779 * elf/tst-auditmod4b.c: Likewise.
37780 * elf/tst-auditmod5b.c: Likewise.
37781 * elf/tst-auditmod6b.c: Likewise.
37782 * elf/tst-auditmod6c.c: Likewise.
37783 * elf/tst-auditmod7b.c: Likewise.
37785 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37786 and x32_gnu_pltexit.
37788 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37789 __ELF_NATIVE_CLASS.
37790 (La_x32_regs): New macro.
37791 (La_x32_retval): Likewise.
37792 (la_x32_gnu_pltenter): New function prototype.
37793 (la_x32_gnu_pltexit): Likewise.
37795 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37797 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37802 * configure.in (libc_cv_cc_nofma): Check for option to disable
37803 generation of FMA instructions.
37804 * configure: Regenerate.
37805 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37806 * sysdeps/ieee754/dbl-64/Makefile: New file.
37807 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37808 Remove brandred-fma4.
37809 (CFLAGS-brandred-fma4.c): Remove.
37810 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37811 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37813 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37816 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37818 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37819 LLONG_MAX != LONG_MAX.
37820 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37821 (_fitoa_word): Likewise.
37822 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37823 LLONG_MAX != LONG_MAX.
37824 * stdio-common/_itowa.h: Include <_itoa.h>.
37825 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37826 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37827 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37828 only if not defined.
37829 (_ITOA_WORD_TYPE): Likewise.
37830 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37831 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37833 2012-03-21 David S. Miller <davem@davemloft.net>
37835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37837 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37839 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37840 of x86_64 when setting libc_cv_slibdir, libdir and
37842 * sysdeps/unix/sysv/linux/configure: Regenerated.
37844 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37846 * manual/lang.texi (Old Varargs): Remove section.
37847 (How Variadic): Update menu.
37848 (va_start): Do not mention varargs.h.
37850 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37851 Joseph Myers <joseph@codesourcery.com>
37853 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37855 * configure: Regenerated.
37857 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37859 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37860 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37863 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37866 * Makefile (files-for-dist): Remove NOTES.
37867 (NOTES): Remove rule.
37868 * README: Don't refer to NOTES.
37869 * manual/creature.texi: Don't include macros.texi.
37870 * manual/intro.texi (creature.texi): Remove comment referring to
37873 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37874 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37875 * configure: Regenerated.
37876 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37877 LIBC_TRY_CC_OPTION.
37878 (libc_cv_as_i686): Likewise.
37879 (libc_cv_cc_avx): Likewise.
37880 (libc_cv_cc_sse2avx): Likewise.
37881 (libc_cv_cc_fma4): Likewise.
37882 (libc_cv_cc_novzeroupper): Likewise.
37883 * sysdeps/i386/configure: Regenerated.
37886 * sysdeps/i386/fpu/s_cexp.S: Remove.
37887 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37888 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37889 * math/libm-test.inc (cexp_test): Add more tests.
37890 * sysdeps/i386/fpu/libm-test-ulps: Update.
37891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37893 2012-03-21 Allan McRae <allan@archlinux.org>
37895 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37897 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37900 * math/w_exp2.c: Do not include <float.h>.
37901 (o_threshold, u_threshold): Remove.
37902 (__exp2): Calculate result before checking finiteness and calling
37904 * math/w_exp2f.c: Likewise.
37905 * math/w_exp2l.c: Likewise.
37906 * math/libm-test.inc (exp2_test): Require overflow exception for
37910 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37911 range of signed 64-bit integers before using fistpll. Remove
37912 checks for whether integers fit in mantissa bits.
37913 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37914 the range of signed 32-bit integers before using fistpl. Remove
37915 checks for whether integers fit in mantissa bits.
37916 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37917 (__ieee754_powl): Test for y outside the range of signed 64-bit
37918 integers before using fistpll. Reduce 64-bit values to 63-bit
37920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37921 divide-by-zero is raised for zero to large negative powers.
37922 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37923 (__ieee754_powl): Test for y outside the range of signed 64-bit
37924 integers before using fistpll. Reduce 64-bit values to 63-bit
37926 * math/libm-test.inc (pow_test): Add more tests.
37928 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37930 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37931 <stdio-common/_itoa.h>.
37932 * debug/segfault.c: Likewise.
37933 * elf/dl-cache.c: Likewise.
37934 * elf/dl-minimal.c: Likewise.
37935 * elf/dl-misc.c: Likewise.
37936 * elf/dl-sysdep.c: Likewise.
37937 * elf/dl-version.c: Likewise.
37938 * elf/rtld.c: Likewise.
37939 * hurd/hurdsock.c: Likewise.
37940 * hurd/lookup-retry.c: Likewise.
37941 * malloc/malloc.c: Likewise.
37942 * malloc/mtrace.c: Likewise.
37943 * nscd/nscd_getgr_r.c: Likewise.
37944 * nscd/nscd_getpw_r.c: Likewise.
37945 * nscd/nscd_getserv_r.c: Likewise.
37946 * posix/getopt_init.c: Likewise.
37947 * posix/wordexp.c: Likewise.
37948 * stdio-common/_itoa.c: Likewise.
37949 * stdio-common/printf_fphex.c: Likewise.
37950 * stdio-common/vfprintf.c: Likewise.
37951 * string/_strerror.c: Likewise.
37952 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37953 * sysdeps/i386/i686/hp-timing.h: Likewise.
37954 * sysdeps/mach/_strerror.c: Likewise.
37955 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37956 * sysdeps/mach/hurd/sethostid.c: Likewise.
37957 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37958 * sysdeps/mach/xpg-strerror.c: Likewise.
37959 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37960 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37961 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37962 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37963 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37964 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37965 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37966 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37967 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37968 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37969 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37970 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37971 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37972 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37973 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37974 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37975 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37976 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37977 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37978 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37979 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37981 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37983 * stdio-common/_itoa.h: Moved to ...
37984 * sysdeps/generic/_itoa.h: Here.
37986 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37988 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37989 instead of "_itoa.h" and "_itowa.h".
37990 * stdio-common/vfprintf.: Likewise.
37992 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37994 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37996 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37997 (__signbit): Likwise.
37998 (llrintf): Likwise.
38001 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38003 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38006 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38008 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38009 OVERFLOW_EXCEPTION_OK.
38010 * math/libm-test.inc ("Philosophy"): Update comment about
38012 (OVERFLOW_EXCEPTION): Define.
38013 (OVERFLOW_EXCEPTION_OK): Likewise.
38014 (INVALID_EXCEPTION_OK): Renumber.
38015 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38016 (IGNORE_ZERO_INF_SIGN): Likewise.
38017 (test_exceptions): Handle FE_OVERFLOW.
38018 (exp10_test): Expect overflow exceptions.
38019 (exp2_test): Likewise.
38020 (expm1_test): Likewise.
38021 (nextafter_test): Likewise.
38022 (pow_test): Likewise.
38023 (scalbn_test): Likewise.
38024 (scalbln_test): Likewise.
38026 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38028 * sysdeps/x86_64/bits/atomic.h
38029 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38031 (atomic_exchange_acq): Likewise.
38032 (__arch_exchange_and_add_body): Likewise.
38033 (__arch_add_body): Likewise.
38034 (atomic_add_negative): Likewise.
38035 (atomic_add_zero): Likewise.
38037 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38039 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38040 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38042 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38044 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38045 Check __x86_64__ instead of __WORDSIZE.
38047 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38049 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38051 2012-03-19 David S. Miller <davem@davemloft.net>
38053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38055 * sysdeps/sparc/fpu/fenv_private.h: New file.
38056 * sysdeps/sparc/fpu/math_private.h: Use it.
38057 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38059 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38060 (libc_feholdexcept_setroundl): Remove.
38061 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38063 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38064 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38066 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38068 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38069 int64_t instead of long int.
38070 (INSERT_WORDS64): Likwise.
38072 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38074 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38075 _Unwind_GetCFA return to _Unwind_Ptr first.
38077 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38080 * math/s_clog.c: Include <float.h>.
38081 (__clog): Scale large or subnormal inputs.
38082 * math/s_clogf.c: Likewise.
38083 * math/s_clogl.c: Likewise.
38084 * math/s_clog10.c: Include <float.h>.
38085 (M_LOG10_2): Define.
38086 (__clog10): Scale large or subnormal inputs.
38087 * math/s_clog10f.c: Likewise.
38088 * math/s_clog10l.c: Likewise.
38089 * math/libm-test.inc (clog_test): Add more tests.
38090 (clog10_test): Likewise.
38091 * sysdeps/i386/fpu/libm-test-ulps: Update.
38092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38095 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38097 * math/libm-test.inc (atan2_test): Add another test.
38099 * Makerules (common-objdir-compile): Remove.
38100 * sysdeps/unix/Makefile (config-generated): Do not add
38101 $(unix-generated) to variable.
38102 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38103 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38105 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38107 [generic bits/local_lim.h] (before-compile): Do not append to
38109 [generic bits/local_lim.h] (common-generated): Likewise.
38110 [generic sys/param.h] (before-compile): Do not append to variable.
38111 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38112 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38113 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38114 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38116 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38117 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38118 [generic sys/param.h] ($(addprefix
38119 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38120 [generic sys/param.h] (common-generated): Do not append to
38122 [generic sys/param.h] (sysdep_headers): Likewise.
38123 [generic bits/errno.h] (before-compile): Do not append to
38125 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38127 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38128 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38129 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38130 [generic bits/errno.h] (common-generated): Do not append to
38132 [generic bits/ioctls.h] (before-compile): Do not append to
38134 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38136 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38137 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38138 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38140 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38141 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38142 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38143 [generic bits/ioctls.h] (common-generated): Do not append to
38145 [generic sys/syscall.h] (syscall.h): Remove variable.
38146 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38148 [generic sys/syscall.h] (before-compile): Do not append to
38150 [generic sys/syscall.h] (common-generated): Likewise.
38151 * sysdeps/unix/errnos-tmpl.c: Remove file.
38152 * sysdeps/unix/errnos.awk: Likewise.
38153 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38154 * sysdeps/unix/ioctls.awk: Likewise.
38155 * sysdeps/unix/mk-local_lim.c: Likewise.
38156 * sysdeps/unix/snarf-ioctls: Likewise.
38158 2012-03-19 Richard Henderson <rth@twiddle.net>
38160 * sysdeps/i386/fpu/fenv_private.h: New file.
38161 * sysdeps/i386/fpu/math_private.h: Use it.
38162 (math_opt_barrier, math_force_eval): Remove.
38163 (libc_feholdexcept_setround_53bit): Remove.
38164 (libc_feupdateenv_53bit): Remove.
38165 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38166 (math_opt_barrier, math_force_eval): Remove.
38167 (libc_feholdexcept): Remove.
38168 (libc_feholdexcept_setround): Remove.
38169 (libc_fetestexcept, libc_fesetenv): Remove.
38170 (libc_feupdateenv_test): Remove.
38171 (libc_feupdateenv, libc_feholdsetround): Remove.
38172 (libc_feresetround): Remove.
38174 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38175 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38177 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38178 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38179 (libc_feupdateenv_testl): New.
38180 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38181 (libc_feupdateenv_testf): New.
38182 (libc_feupdateenv): Use libc_feupdateenv_test.
38183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38184 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38186 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38187 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38188 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38189 (libc_feresetround_noex): New.
38190 (libc_feresetround_noexf): New.
38191 (libc_feresetround_noexl): New.
38192 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38193 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38194 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38195 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38197 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38198 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38200 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38201 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38202 SET_RESTORE_ROUND_NOEX.
38203 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38204 SET_RESTORE_ROUND_NOEXF.
38205 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38206 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38207 (libc_feholdsetroundf): New.
38208 (libc_feresetround, libc_feresetroundf): New.
38210 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38211 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38212 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38214 * sysdeps/generic/math_private.h: Include <fenv.h>.
38215 (default_libc_feholdexcept): New.
38216 (default_libc_feholdexcept_setround): New.
38217 (default_libc_fesetenv, default_libc_feupdateenv): New.
38218 (libc_feholdexcept): Only define if undefined.
38219 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38220 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38221 (libc_feholdexcept_setroundl): Likewise.
38222 (libc_feholdexcept_setround_53bit): Likewise.
38223 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38224 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38225 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38226 (libc_feupdateenv_53bit): Likewise.
38227 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38228 (libc_feholdexcept): Convert from macro to inline function.
38229 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38230 (libc_fesetenv, libc_feupdateenv): Likewise.
38232 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38233 not previously defined.
38234 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38235 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38236 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38237 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38238 * sysdeps/ieee754/flt-32/math_private.h: New file.
38239 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38240 math_private.h below SET_FLOAT_WORD.
38241 (__isnan, __isinf_ns, __finite): Remove.
38242 (__isnanf, __isinf_nsf, __finitef): Remove.
38244 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38248 2012-03-17 David S. Miller <davem@davemloft.net>
38251 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38254 2012-03-16 David S. Miller <davem@davemloft.net>
38256 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38262 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38263 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38264 sysdep_routines when subdir is sysvipc.
38265 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38266 __getshmlba helper.
38268 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38270 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38272 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38275 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38277 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38278 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38279 (__lround): Renamed to ...
38280 (__llround): This. Replace long int with long long int.
38281 Define lround functions as aliases of llround functions.
38282 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38284 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38286 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38287 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38288 adresses to uintptr_t. Replace "long int" and "unsigned long
38289 int" with "greg_t" on va_arg.
38291 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38293 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38294 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38296 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38297 Move e_machine check before EI_CLASS check. Handle x32
38298 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38299 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38300 SKIP_EM_IA_64 and include
38301 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38303 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38304 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38305 (add_system_dir): New macro.
38307 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38308 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38310 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38321 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38323 * math/w_j0f.c (j0f): Likewise.
38325 * math/w_j0l.c (__j0l): Likewise.
38327 * math/w_j1.c (j1): Likewise.
38329 * math/w_j1f.c (j1f): Likewise.
38331 * math/w_j1l.c (__j1l): Likewise.
38333 * math/w_jn.c (jn): Likewise.
38335 * math/w_jnf.c (jnf): Likewise.
38337 * math/w_jnl.c (__jnl): Likewise.
38339 * math/libm-test.inc (j0_test): Add more tests.
38340 (j1_test): Likewise.
38341 (jn_test): Likewise. Add trailing semicolon to existing test.
38342 (y0_test): Likewise.
38343 (y1_test): Likewise.
38344 * sysdeps/i386/fpu/libm-test-ulps: Update.
38345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38349 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38350 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38351 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38352 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38353 (__tanl): Set errno for infinite argument.
38354 * sysdeps/i386/fpu/mptan.c: Remove.
38355 * sysdeps/i386/fpu/s_tan.S: Likewise.
38356 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38357 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38358 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38359 * math/libm-test.inc (tan_test): Add more tests and enable more
38360 tests for double and long double.
38361 * sysdeps/i386/fpu/libm-test-ulps: Update.
38362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38364 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38366 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38367 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38369 2012-03-16 Roland McGrath <roland@hack.frob.com>
38371 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38372 * configure.in: Use it for both main tree and add-ons.
38373 * configure: Regenerated.
38375 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38377 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38379 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38381 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38385 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38386 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38387 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38388 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38389 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38391 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38392 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38393 != 0 for prec == 2.
38394 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38395 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38396 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38397 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38398 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38399 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38400 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38401 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38402 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38403 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38404 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38405 * math/libm-test.inc (cos_test): Add more tests and enable more
38406 tests for long double.
38407 (sin_test): Likewise.
38408 (sincos_test): Likewise.
38409 * sysdeps/i386/fpu/libm-test-ulps: Update.
38410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38412 2012-03-16 David S. Miller <davem@davemloft.net>
38414 * sysdeps/sparc/fpu/math_private.h: New file.
38416 2012-03-15 David S. Miller <davem@davemloft.net>
38418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38428 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38432 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38433 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38435 * sysdeps/sparc/sparc-ifunc.h: New file.
38436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38460 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38462 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38463 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38474 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38475 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38476 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38477 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38478 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38479 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38481 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38483 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38487 2012-03-15 Andreas Jaeger <aj@suse.de>
38490 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38491 ieee754/flt-32 implementation for sin, cos and sincos.
38492 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38493 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38494 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38495 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38496 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38497 ieee754/flt-32 implementation for tan.
38499 * math/libm-test.inc (cos_test): Enable some large input tests for
38501 (sin_test): Likewise.
38502 (sincos_test): Likewise.
38503 (tan_test): Add tests for large input.
38505 * sysdeps/i386/fpu/libm-test-ulps: Update.
38507 2012-03-15 Andreas Jaeger <aj@suse.de>
38510 * math/libm-test.inc (cos_test): Add more test cases.
38511 (sin_test): Likewise.
38512 (sincos_test): Likewise.
38514 2012-03-15 Andreas Jaeger <aj@suse.de>
38517 * math/libm-test.inc (cos_test): Add a test case for large input
38519 (sin_test): Likewise.
38520 (sincos_test): Likewise.
38522 2012-03-15 Andreas Jaeger <aj@suse.de>
38523 Joseph Myers <joseph@codesourcery.com>
38526 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38527 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38528 * sysdeps/i386/fpu/branred.c: Likewise.
38529 * sysdeps/i386/fpu/dosincos.c: Likewise.
38530 * sysdeps/i386/fpu/mpa.c: Likewise.
38531 * sysdeps/i386/fpu/s_cos.S: Likewise.
38532 * sysdeps/i386/fpu/s_sin.S: Likewise.
38533 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38534 * sysdeps/i386/fpu/sincos32.c: Likewise.
38536 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38538 (libc_feupdateenv_53bit): Define.
38539 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38541 (libc_feupdateenv_53bit): Define.
38543 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38544 53 bit (without extend i386 double precision).
38546 * math/libm-test.inc (sincos_test): Add tests for large input.
38550 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38552 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38556 2012-03-15 David S. Miller <davem@davemloft.net>
38558 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38559 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38560 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38561 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38585 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38586 fmin/fmax sysdep routines.
38587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38589 2012-03-14 David S. Miller <davem@davemloft.net>
38591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38594 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38595 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38596 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38597 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38598 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38611 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38613 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38614 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38617 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38618 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38619 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38663 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38668 * sysdeps/sparc/configure.in: New file.
38669 * sysdeps/sparc/configure: Generate.
38670 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38671 * configure: Regenerate.
38672 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38673 * config.make.in (have-as-vis3): New.
38674 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38675 available use -Av9d instead of -Av9a.
38676 * sysdeps/sparc/sparc64/Makefile: Likewise.
38677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38686 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38687 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38688 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38689 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38690 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38692 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38693 fzeros/fnegs to load 0x80000000 into a float register instead of
38695 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38697 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38701 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38702 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38703 ($(inst_includedir)/bits/syscall.h): Remove rule.
38704 ($(objpfx)bits/syscall.d): Include instead of
38705 $(objpfx)syscall-list.d.
38706 (generated): Change syscall-list.h and syscall-list.d to
38707 bits/syscall.h and bits/syscall.d.
38709 2012-03-14 Roland McGrath <roland@hack.frob.com>
38712 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38714 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38717 * math/s_csqrt.c: Include <float.h>.
38718 (__csqrt): Scale large or subnormal inputs.
38719 * math/s_csqrtf.c: Likewise.
38720 * math/s_csqrtl.c: Likewise.
38721 * math/libm-test.inc (csqrt_test): Add more tests.
38722 * sysdeps/i386/fpu/libm-test-ulps: Update.
38723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38726 * math/libm-test.inc (hypot_test): Add more tests.
38728 2012-03-13 David S. Miller <davem@davemloft.net>
38731 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38732 double-precision for the calculation instead of scaling.
38734 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38736 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38737 manipulate bits before adding and subtracting TWO52[sx].
38738 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38739 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38741 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38743 2012-03-13 David S. Miller <davem@davemloft.net>
38745 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38746 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38747 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38748 rtld-global-offsets.h
38749 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38751 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38754 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38756 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38757 'err' in the ifdef scope in which it is actually used.
38759 * nss/nss_db/db-init.c: Include string.h
38761 2012-03-12 David S. Miller <davem@davemloft.net>
38763 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38764 masking out of the most significant byte of random value used.
38765 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38766 Fix coding style in previous change.
38768 * sysdeps/unix/sysv/linux/kernel-features.h
38769 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38770 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38772 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38775 2012-03-11 David S. Miller <davem@davemloft.net>
38777 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38778 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38779 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38780 for 'resultvar' otherwise things get truncated on 64-bit.
38782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38783 Fix masking out of the most significant byte of random value used.
38785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38787 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38791 2012-03-09 David S. Miller <davem@davemloft.net>
38793 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38794 variables with appropriate CPP guards.
38795 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38796 from the frame pointer, not the stack pointer. Correct layout
38797 comments. Fix test on resulting framesize and the management of
38798 the outregs buffer for pltexit. Preserve floating point return
38799 values across _dl_call_pltexit call.
38800 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38801 framesize and the management of the outregs buffer for pltexit.
38802 Preserve floating point return values across _dl_call_pltexit
38804 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38805 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38806 (la_sparc64_gnu_pltexit): New functions.
38807 (print_exit): Fix format string for return register value.
38809 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38811 * sunrpc/Makefile (others): Add rpcgen.
38812 ($(objpfx)rpcgen): Remove special build rule and dependency on
38814 * sunrpc/rpcgen.c: New file.
38816 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38819 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38820 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38821 * sysdeps/i386/crti.S: Likewise.
38822 * sysdeps/i386/crtn.S: Likewise.
38823 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38824 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38825 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38826 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38827 * sysdeps/sh/crti.S: Likewise.
38828 * sysdeps/sh/crtn.S: Likewise.
38829 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38832 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38834 * locale/programs/locfile-kw.gperf: Likewise.
38835 * locale/programs/charmap-kw.h: Regenerated.
38836 * locale/programs/locfile-kw.h: Likewise.
38839 * intl/plural.y: Replace FSF snail mail address with URL.
38840 * intl/plural.c: Regenerated.
38842 2012-03-09 Richard Henderson <rth@twiddle.net>
38844 * include/math_private.h: Remove file.
38845 * math/math_private.h: Move file ...
38846 * sysdeps/generic/math_private.h: ... here.
38848 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38849 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38850 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38852 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38853 and <math_private.h>.
38854 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38855 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38856 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38857 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38858 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38859 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38860 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38861 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38862 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38863 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38866 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38869 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38871 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38872 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38873 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38875 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38876 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38878 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38879 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38880 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38881 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38883 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38884 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38885 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38886 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38887 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38888 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38889 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38890 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38891 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38892 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38893 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38894 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38895 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38896 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38897 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38898 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38899 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38900 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38901 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38902 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38903 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38904 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38905 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38906 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38907 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38908 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38909 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38910 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38911 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38912 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38913 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38914 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38915 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38916 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38917 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38918 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38919 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38920 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38921 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38922 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38923 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38924 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38925 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38926 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38927 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38928 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38930 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38932 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38933 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38934 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38935 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38936 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38937 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38938 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38939 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38940 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38941 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38942 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38943 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38944 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38945 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38946 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38947 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38948 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38949 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38950 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38951 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38952 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38953 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38954 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38955 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38956 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38957 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38958 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38959 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38960 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38961 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38962 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38963 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38964 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38965 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38966 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38967 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38968 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38969 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38970 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38971 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38972 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38973 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38974 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38975 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38976 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38977 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38978 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38979 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38980 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38981 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38982 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38983 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38984 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38985 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38986 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38987 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38988 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38989 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38990 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38991 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38992 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38993 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38994 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38995 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38996 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38997 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38998 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38999 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39000 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39001 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39002 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39003 * sysdeps/ieee754/k_standard.c: Likewise.
39004 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39005 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39006 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39007 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39008 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39009 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39010 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39011 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39012 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39013 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39014 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39015 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39016 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39017 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39018 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39019 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39020 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39021 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39022 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39023 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39024 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39025 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39026 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39027 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39028 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39029 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39030 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39031 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39032 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39033 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39034 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39035 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39036 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39037 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39038 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39039 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39041 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39042 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39043 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39044 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39045 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39046 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39047 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39048 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39049 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39050 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39051 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39052 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39053 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39054 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39055 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39056 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39057 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39058 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39059 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39060 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39061 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39062 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39063 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39064 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39065 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39066 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39067 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39068 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39069 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39070 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39071 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39072 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39073 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39074 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39075 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39076 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39077 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39078 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39080 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39081 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39082 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39083 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39084 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39085 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39086 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39087 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39088 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39089 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39090 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39091 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39092 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39094 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39095 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39096 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39097 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39098 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39099 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39100 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39101 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39102 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39103 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39104 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39105 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39106 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39107 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39108 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39109 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39110 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39111 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39112 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39113 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39114 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39115 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39116 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39117 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39118 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39119 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39120 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39121 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39122 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39123 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39124 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39125 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39126 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39127 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39128 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39129 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39130 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39131 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39132 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39133 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39134 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39135 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39136 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39137 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39138 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39139 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39140 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39141 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39142 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39143 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39144 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39145 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39146 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39147 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39148 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39149 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39150 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39151 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39152 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39153 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39154 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39155 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39156 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39157 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39158 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39159 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39160 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39161 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39162 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39163 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39164 * sysdeps/ieee754/s_lib_version.c: Likewise.
39165 * sysdeps/ieee754/s_matherr.c: Likewise.
39166 * sysdeps/ieee754/s_signgam.c: Likewise.
39167 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39168 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39169 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39170 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39171 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39172 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39173 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39174 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39175 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39176 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39177 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39178 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39179 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39180 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39181 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39182 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39183 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39184 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39185 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39186 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39187 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39189 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39191 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39192 * sunrpc/rpc_main.c: Likewise.
39193 * sunrpc/rpc_svcout.c: Likewise.
39195 2012-03-09 David S. Miller <davem@davemloft.net>
39197 * include/math_private.h: New file.
39199 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39201 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39202 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39203 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39204 from <bits/socket_type.h>.
39205 (enum __socket_type): Don't define here.
39206 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39207 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39208 bits/socket_type.h.
39211 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39212 checking __USE_GNU.
39214 * Makerules ($(inst_includedir)/%.h): New rule.
39215 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39216 (install-others): Remove variable setting.
39217 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39219 2012-03-08 Richard Henderson <rth@twiddle.net>
39221 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39222 from macro to inline function; merge with the
39223 !__LIBC_INTERNAL_MATH_INLINES version.
39224 (__ieee754_sqrtf): Likewise.
39226 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39227 to inline function.
39228 (__rintf, __floor, __floorf): Likewise.
39230 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39231 macro to inline function.
39232 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39234 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39235 not <math/math_private.h>.
39237 2012-03-08 David S. Miller <davem@davemloft.net>
39239 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39241 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39243 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39245 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39247 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39248 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39250 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39252 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39253 be defined individually, they must be defined as a block. Define
39254 S for printing a string instead of hidint the different by using a
39255 macro for adding the 'l'.
39256 * stdio-common/tst-fphex-wide.c: Adjust.
39258 2012-03-07 Marek Polacek <polacek@redhat.com>
39260 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39262 2012-03-08 Marek Polacek <polacek@redhat.com>
39265 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39266 * stdio-common/tst-fphex.c: Define a few macros to make the
39267 test reusable. Use them.
39268 * stdio-common/tst-fphex-wide.c: New file.
39270 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39273 * manual/macros.texi (gnusystems): New macro.
39274 (nongnusystems): Likewise.
39275 (gnulinuxhurdsystems): Likewise.
39276 (gnuhurdsystems): Likewise..
39277 (gnulinuxsystems): Likewise.
39278 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39279 variants of the GNU system, not "GNU system".
39280 * manual/conf.texi: Likewise.
39281 * manual/errno.texi: Likewise. Update example of errno macro
39283 * manual/filesys.texi: Likewise.
39284 (getumask): Document as specific to GNU/Hurd.
39285 * manual/install.texi: Likewise. Reword some references to
39287 * manual/intro.texi: Likewise.
39288 * manual/io.texi: Likewise.
39289 (File Name Portability): Detail which constraints are inapplicable
39290 to all GNU systems and which are only inapplicable to GNU/Hurd.
39291 * manual/job.texi: Likewise.
39292 * manual/llio.texi: Likewise.
39293 (O_NOCTTY): Document as present on GNU/Linux.
39294 * manual/maint.texi: Likewise.
39295 * manual/memory.texi: Likewise.
39296 * manual/pattern.texi: Likewise.
39297 * manual/pipe.texi: Likewise.
39298 * manual/process.texi: Likewise.
39299 * manual/resource.texi: Likewise.
39300 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39302 * manual/setjmp.texi: Likewise.
39303 * manual/signal.texi: Likewise.
39304 * manual/startup.texi: Likewise.
39305 * manual/stdio.texi: Likewise.
39306 * manual/terminal.texi: Likewise.
39307 (ONLCR): Document as POSIX.
39308 (OXTABS): Document availability on GNU/Linux as XTABS.
39309 (ONOEOT): Document availability separately from other bits.
39310 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39311 * manual/time.texi: Likewise.
39312 * manual/users.texi: Likewise.
39313 * INSTALL: Regenerated.
39314 * sysdeps/gnu/errlist.c: Regenerated.
39316 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39317 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39318 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39320 * configure: Regenerated.
39322 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39324 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39325 default includes instead of AC_HEADER_CHECK.
39326 * sysdeps/i386/configure: Regenerated.
39329 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39330 * math/s_cacoshf.c (__cacoshf): Likewise.
39331 * math/s_cacoshl.c (__cacoshl): Likewise.
39332 * math/s_casinh.c (__casinh): Set signs of result from argument.
39333 * math/s_casinhf.c (__casinhf): Likewise.
39334 * math/s_casinhl.c (__casinhl): Likewise.
39335 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39336 (casinh_test): Add more tests.
39337 * sysdeps/i386/fpu/libm-test-ulps: Update.
39338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39340 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39342 * po/zh_TW.po: Update from translation team.
39344 * login/Makefile (distribute): Remove variable.
39345 * catgets/Makefile: Likewise.
39346 * mach/Makefile: Likewise.
39347 * malloc/Makefile: Likewise.
39348 * misc/Makefile: Likewise.
39349 * iconv/Makefile: Likewise.
39350 * nscd/Makefile: Likewise.
39351 * hurd/Makefile: Likewise.
39352 * manual/Makefile: Likewise.
39353 * locale/Makefile: Likewise.
39354 * intl/Makefile: Likewise.
39355 * conform/Makefile: Likewise.
39356 * nss/Makefile: Likewise.
39357 * time/Makefile: Likewise.
39358 * soft-fp/Makefile: Likewise.
39359 * dirent/Makefile: Likewise.
39360 * gmon/Makefile: Likewise.
39361 * po/Makefile: Likewise.
39362 * rt/Makefile: Likewise.
39363 * socket/Makefile: Likewise.
39364 * math/Makefile: Likewise.
39365 * signal/Makefile: Likewise.
39366 * debug/Makefile: Likewise.
39367 * elf/Makefile: Likewise.
39368 * timezone/Makefile: Likewise.
39369 * stdlib/Makefile: Likewise.
39370 * iconvdata/Makefile: Likewise.
39371 * sunrpc/Makefile: Likewise.
39372 * io/Makefile: Likewise.
39373 * argp/Makefile: Likewise.
39374 * inet/Makefile: Likewise.
39375 * hesiod/Makefile: Likewise.
39376 * grp/Makefile: Likewise.
39377 * csu/Makefile: Likewise.
39378 * wctype/Makefile: Likewise.
39379 * crypt/Makefile: Likewise.
39380 * libio/Makefile: Likewise.
39381 * string/Makefile: Likewise.
39382 * nis/Makefile: Likewise.
39383 * resolv/Makefile: Likewise.
39384 * stdio-common/Makefile: Likewise.
39385 * wcsmbs/Makefile: Likewise.
39386 * dlfcn/Makefile: Likewise.
39387 * posix/Makefile: Likewise.
39390 * timezone/Makefile: Don't install timezone files, just the programs
39393 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39395 * nss/databases.def: Add missing gshadow entry.
39397 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39399 2012-03-06 Marek Polacek <polacek@redhat.com>
39402 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39403 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39404 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39405 * stdio-common/tst-long-dbl-fphex.c: New file.
39407 2012-03-06 David S. Miller <davem@davemloft.net>
39409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39410 (set_obp_int): New function.
39411 (get_obp_int): New function.
39412 (__get_clockfreq_via_dev_openprom): Likewise.
39413 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39414 Avoid unused variable warnings on 'val' and use builtin_expect.
39415 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39417 (INLINE_CLONE_SYSCALL): Likewise.
39419 2012-03-05 David S. Miller <davem@davemloft.net>
39421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39423 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39427 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39428 only for |x| >= 40.
39429 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39431 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39433 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39434 Replace gettimeofday with __vdso_gettimeofday.
39436 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39437 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39438 __vdso_clock_gettime and __vdso_getcpu.
39440 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39441 time with __vdso_time.
39443 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39445 * manual/lang.texi (size_t): Note types to which size_t may be
39446 equivalent with the GNU C Library, but do not describe when
39447 differences between them are significant.
39449 2012-03-05 Andreas Jaeger <aj@suse.de>
39451 * sysdeps/i386/fpu/libm-test-ulps: Update.
39453 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39456 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39457 (__ieee754_pow): Save and restore rounding mode and use
39458 round-to-nearest for main computations.
39459 * math/libm-test.inc (pow_test_tonearest): New function.
39460 (pow_test_towardzero): Likewise.
39461 (pow_test_downward): Likewise.
39462 (pow_test_upward): Likewise.
39463 (main): Call the new functions.
39464 * sysdeps/i386/fpu/libm-test-ulps: Update.
39465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39468 * math/libm-test.inc (cosh_test_tonearest): New function.
39469 (cosh_test_towardzero): Likewise.
39470 (cosh_test_downward): Likewise.
39471 (cosh_test_upward): Likewise.
39472 (sinh_test_tonearest): Likewise.
39473 (sinh_test_towardzero): Likewise.
39474 (sinh_test_downward): Likewise.
39475 (sinh_test_upward): Likewise.
39476 (main): Call the new functions.
39477 * sysdeps/i386/fpu/libm-test-ulps: Update.
39478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39480 2012-03-05 Tom de Vries <tom@codesourcery.com>
39482 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39483 default stack guard is set in last bytes.
39484 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39486 2012-03-05 Kees Cook <keescook@chromium.org>
39488 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39491 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39492 possibly allocate from heap instead of stack.
39493 * stdio-common/bug-vfprintf-nargs.c: New file.
39494 * stdio-common/Makefile (tests): Add nargs overflow test.
39496 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39500 2012-03-03 Marek Polacek <polacek@redhat.com>
39502 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39503 * math/math_private.h: Likewise.
39504 * stdlib/tst-strtod.c: Likewise.
39505 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39506 * sysdeps/x86_64/bits/atomic.h: Likewise.
39508 2012-03-02 David S. Miller <davem@davemloft.net>
39510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39514 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39515 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39516 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39517 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39519 2012-03-02 Roland McGrath <roland@hack.frob.com>
39522 * manual/examples/README: New file, says the example source files
39523 can be used under GPL>=2.
39524 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39525 line containing just "*/".
39526 * manual/examples/add.c: Add copyright header (GPL>=2).
39527 * manual/examples/argp-ex1.c: Likewise.
39528 * manual/examples/argp-ex2.c: Likewise.
39529 * manual/examples/argp-ex3.c: Likewise.
39530 * manual/examples/argp-ex4.c: Likewise.
39531 * manual/examples/atexit.c: Likewise.
39532 * manual/examples/db.c: Likewise.
39533 * manual/examples/dir.c: Likewise.
39534 * manual/examples/dir2.c: Likewise.
39535 * manual/examples/execinfo.c: Likewise.
39536 * manual/examples/filecli.c: Likewise.
39537 * manual/examples/filesrv.c: Likewise.
39538 * manual/examples/fmtmsgexpl.c: Likewise.
39539 * manual/examples/genpass.c: Likewise.
39540 * manual/examples/inetcli.c: Likewise.
39541 * manual/examples/inetsrv.c: Likewise.
39542 * manual/examples/isockad.c: Likewise.
39543 * manual/examples/longopt.c: Likewise.
39544 * manual/examples/memopen.c: Likewise.
39545 * manual/examples/memstrm.c: Likewise.
39546 * manual/examples/mkfsock.c: Likewise.
39547 * manual/examples/mkisock.c: Likewise.
39548 * manual/examples/mygetpass.c: Likewise.
39549 * manual/examples/pipe.c: Likewise.
39550 * manual/examples/popen.c: Likewise.
39551 * manual/examples/rprintf.c: Likewise.
39552 * manual/examples/search.c: Likewise.
39553 * manual/examples/select.c: Likewise.
39554 * manual/examples/setjmp.c: Likewise.
39555 * manual/examples/sigh1.c: Likewise.
39556 * manual/examples/sigusr.c: Likewise.
39557 * manual/examples/stpcpy.c: Likewise.
39558 * manual/examples/strdupa.c: Likewise.
39559 * manual/examples/strftim.c: Likewise.
39560 * manual/examples/strncat.c: Likewise.
39561 * manual/examples/subopt.c: Likewise.
39562 * manual/examples/swapcontext.c: Likewise.
39563 * manual/examples/termios.c: Likewise.
39564 * manual/examples/testopt.c: Likewise.
39565 * manual/examples/testpass.c: Likewise.
39566 * manual/examples/timeval_subtract.c: Likewise.
39569 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39571 * manual/timeval_subtract.c.texi: ... here, new file.
39573 2012-03-02 David S. Miller <davem@davemloft.net>
39575 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39577 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39580 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39581 (__sin): Save and restore rounding mode and use round-to-nearest
39582 for all computations.
39583 (__cos): Save and restore rounding mode and use round-to-nearest
39584 for all computations.
39585 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39587 (tan): Save and restore rounding mode and use round-to-nearest for
39589 * math/libm-test.inc (cos_test_tonearest): New function.
39590 (cos_test_towardzero): Likewise.
39591 (cos_test_downward): Likewise.
39592 (cos_test_upward): Likewise.
39593 (sin_test_tonearest): Likewise.
39594 (sin_test_towardzero): Likewise.
39595 (sin_test_downward): Likewise.
39596 (sin_test_upward): Likewise.
39597 (tan_test_tonearest): Likewise.
39598 (tan_test_towardzero): Likewise.
39599 (tan_test_downward): Likewise.
39600 (tan_test_upward): Likewise.
39601 (main): Call the new functions.
39602 * sysdeps/i386/fpu/libm-test-ulps: Update.
39603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39606 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39607 small n, then large n, before computing and testing k+n.
39608 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39611 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39613 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39614 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39615 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39616 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39617 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39618 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39619 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39620 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39621 * math/libm-test.inc (scalbn_test): Add more tests.
39622 (scalbln_test): Likewise.
39624 * manual/filesys.texi (mode_t): Describe constraints on size and
39625 signedness, not exact equivalence to a particular type.
39627 (ino64_t): Likewise.
39629 (nlink_t): Likewise.
39630 (blkcnt_t): Likewise.
39631 (blkcnt64_t): Likewise.
39632 * manual/llio.texi (off_t): Likewise.
39635 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39636 (__ieee754_exp): Save and restore rounding mode and use
39637 round-to-nearest for all computations.
39638 * math/libm-test.inc (exp_test_tonearest): New function.
39639 (exp_test_towardzero): Likewise.
39640 (exp_test_downward): Likewise.
39641 (exp_test_upward): Likewise.
39642 (main): Call the new functions.
39643 * sysdeps/i386/fpu/libm-test-ulps: Update.
39644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39646 2012-03-01 Chris Demetriou <cgd@google.com>
39648 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39649 have predictable order.
39651 2012-03-01 David S. Miller <davem@davemloft.net>
39653 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39655 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39656 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39657 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39658 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39660 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39661 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39662 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39664 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39665 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39666 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39667 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39668 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39672 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39673 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39674 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39676 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39677 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39678 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39679 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39680 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39681 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39682 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39683 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39684 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39685 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39686 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39687 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39689 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39690 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39691 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39692 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39693 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39694 * sysdeps/sparc/elf/configure: Regenerated.
39696 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39698 * configure.in (AS, LD): Require binutils 2.20 or later.
39699 * configure: Regenerated.
39700 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39701 as required minimum version.
39702 * INSTALL: Regenerated.
39706 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39707 before squaring exponent.
39708 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39709 bottom long double and 27 bits of top long double before squaring
39711 * math/libm-test.inc (erfc_test): Add more tests.
39712 * sysdeps/i386/fpu/libm-test-ulps: Update.
39713 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39716 2012-03-01 Kai Tietz <ktietz@redhat.com>
39718 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39719 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39720 containing bit-fields.
39721 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39722 * soft-fp/single.h (_FP_UNION_S): Likewise.
39723 * soft-fp/double.h (_FP_UNION_D): Likewise.
39725 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39728 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39729 not include ../strcmp.S.
39730 [USE_AS_STRNCASECMP_L]: Likewise.
39731 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39732 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39733 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39734 (__strncasecmp_l_ia32): Define as alias to
39735 __strncasecmp_l_nonascii.
39738 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39739 * sysdeps/i386/fpu/libm-test-ulps: Update.
39740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39742 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39745 2012-02-29 Jeff Law <law@redhat.com>
39747 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39748 out of bounds read.
39750 2012-02-29 Marek Polacek <polacek@redhat.com>
39753 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39754 * elf/Makefile: Add rules to run tst-unused-dep.out.
39756 2012-02-28 David S. Miller <davem@davemloft.net>
39758 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39759 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39760 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39761 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39762 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39763 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39765 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39767 * math/libm-test.inc (llround_test): Move one test from
39768 lround_test. Use TEST_f_L in moved test.
39769 (lround_test): Move misplaced test to llround_test. Add testcase
39772 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39774 * sysdeps/x86_64/fpu/e_expf.S: New file.
39775 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39777 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39780 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39781 of remain_len that may cause incomplete multi-byte character and
39783 * posix/bug-regex33.c: New file.
39784 * posix/Makefile (tests): Add bug-regex33.
39786 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39788 * manual/macros.texi: New file.
39789 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39790 * manual/libc.texinfo: Include macros.texi.
39791 * manual/creatute.texi: Likewise.
39792 * manual/install.texi: Likewise.
39793 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39794 @glibcadj{} in references to the GNU C Library.
39795 * manual/charset.texi: Likewise.
39796 * manual/conf.texi: Likewise.
39797 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39798 when not using those macros.
39799 * manual/creature.texi: Likewise.
39800 * manual/crypt.texi: Likewise.
39801 * manual/errno.texi: Likewise.
39802 * manual/filesys.texi: Likewise.
39803 * manual/header.texi: Likewise.
39804 * manual/install.texi: Likewise.
39805 * manual/intro.texi: Likewise.
39806 * manual/io.texi: Likewise.
39807 * manual/job.texi: Likewise.
39808 * manual/lang.texi: Likewise.
39809 * manual/libc.texiinfo: Likewise.
39810 * manual/llio.texi: Likewise.
39811 * manual/locale.texi: Likewise.
39812 * manual/maint.texi: Likewise.
39813 * manual/math.texi: Likewise.
39814 * manual/memory.texi: Likewise.
39815 * manual/message.texi: Likewise.
39816 * manual/nss.texi: Likewise.
39817 * manual/pattern.texi: Likewise.
39818 * manual/process.texi: Likewise.
39819 * manual/resource.texi: Likewise.
39820 * manual/search.texi: Likewise.
39821 * manual/setjmp.texi: Likewise.
39822 * manual/signal.texi: Likewise.
39823 * manual/socket.texi: Likewise.
39824 * manual/startup.texi: Likewise.
39825 * manual/stdio.texi: Likewise.
39826 * manual/string.texi: Likewise.
39827 * manual/sysinfo.texi: Likewise.
39828 * manual/syslog.texi: Likewise.
39829 * manual/terminal.texi: Likewise.
39830 * manual/time.texi: Likewise.
39831 * manual/users.texi: Likewise.
39832 * INSTALL: Regenerated.
39833 * NOTES: Regenerated.
39834 * sysdeps/gnu/errlist.c: Regenerated.
39836 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39838 * include/dirent.h: Include <dirstream.h> before
39841 2012-02-28 David S. Miller <davem@davemloft.net>
39843 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39844 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39845 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39846 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39848 2012-02-27 David S. Miller <davem@davemloft.net>
39850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39852 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39853 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39856 frame pointer instead of stack pointer relative arg slot.
39857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39858 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39859 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39861 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39864 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39866 2012-02-27 David S. Miller <davem@davemloft.net>
39868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39872 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39873 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39874 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39875 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39877 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39879 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39880 later. Allow versions 5-9.
39881 * configure: Regenerated.
39882 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39883 required minimum version and 4.6 as recommended version. Do not
39884 mention bugs in GCC 2.7 and 2.8.
39885 * INSTALL: Regenerated.
39887 2012-02-27 David S. Miller <davem@davemloft.net>
39889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39893 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39894 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39895 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39896 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39898 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39899 manipulate bits before adding and subtracting TWO112[sx].
39900 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39902 2012-02-27 Roland McGrath <roland@hack.frob.com>
39905 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39906 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39907 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39908 being in POSIX, because they are in 1003.1-2008.
39910 * rt/tst-aio.c: Include <fcntl.h>.
39911 * rt/tst-aio7.c: Likewise.
39912 * rt/tst-aio64.c: Likewise.
39914 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39916 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39918 * manual/install.texi (--with-headers): Describe headers as
39919 interface headers, not private headers.
39920 (Specific advice for GNU/Linux systems): Describe use of headers
39921 from "make headers_install", not private headers from older
39923 * INSTALL: Regenerated.
39924 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39926 * sysdeps/unix/sysv/linux/configure: Regenerated.
39928 * manual/llio.texi (fclean): Remove documentation.
39930 * manual/Makefile (libc-texi-generated): New variable. Include
39932 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39933 $(libc-texi-generated), not duplicated list of files.
39934 (version.texi, stamp-version): New rules.
39935 (realclean): Remove $(libc-texi-generated), not individual files
39936 from that list. Do not remove dir-add.texinfo.
39937 * manual/libc.texinfo: Comment out uses of edition numbers and
39938 references to printed manual. Remove last-updated dates.
39939 (EDITION): Comment out.
39941 (VERSION, UPDATED): Remove.
39942 (version.texi): Include.
39944 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39946 * sysdeps/posix/spawni.c: Include <signal.h>.
39947 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39948 * sysdeps/pthread/aio_fsync.c: Likewise.
39950 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39952 * conform/Makefile (tests): Run only when not cross-compiling and
39953 when fast-check is not defined.
39955 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39956 * conform/data/limits.h-data: Fixes for POSIX2008.
39957 * conform/run-conformtest.sh: Run all tests.
39958 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39960 * include/bits/dlfcn.h: Likewise.
39961 * include/langinfo.h: Likewise.
39962 * include/monetary.h: Likewise.
39963 * include/sys/poll.h: Likewise.
39965 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39967 * posix/spawn.h: Define __need_sigset_t.
39968 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39969 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39970 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39971 to get sigevent_t only.
39972 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39973 only for __USE_GNU.
39974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39975 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39976 process_vm_writev only for __USE_GNU.
39977 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39979 * conform/Makefile: For now ignore errors from run-conformtest.
39980 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39981 POSIX to avoid namespace pollution. Don't prepend headers.
39982 * conform/data/aio.h-data: Fixes for POSIX testing.
39983 * conform/data/fcntl.h-data: Likewise.
39984 * conform/data/glob.h-data: Likewise.
39985 * conform/data/grp.h-data: Likewise.
39986 * conform/data/pthread.h-data: Likewise.
39987 * conform/data/pwd.h-data: Likewise.
39988 * conform/data/signal.h-data: Likewise.
39989 * conform/data/spawn.h-data: Likewise.
39990 * conform/data/stdio.h-data: Likewise.
39991 * conform/data/stdlib.h-data: Likewise.
39992 * conform/data/stropts.h-data: Likewise.
39993 * conform/data/sys/mman.h-data: Likewise.
39994 * conform/data/sys/stat.h-data: Likewise.
39995 * conform/data/sys/types.h-data: Likewise.
39996 * conform/data/sys/wait.h-data: Likewise.
39997 * conform/data/time.h-data: Likewise.
39998 * conform/data/unistd.h-data: Likewise.
39999 * conform/data/utime.h-data: Likewise.
40001 * io/sys/stat.h: fchmod was always in POSIX.
40002 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40003 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40004 * rt/aio.h: Define __need_timespec before including <time.h>.
40005 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40006 struct. Add forward declaration of pthread_attr_t and use it in
40008 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40009 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40010 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40011 always remove CLK_TCK definition.
40013 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40015 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40017 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40019 * conform/run-conformtest.sh: New file.
40020 * conform/Makefile: Run run-conformtest for tests.
40021 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40024 * conform/data/uchar.h-data: New file.
40025 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40026 * conform/data/arpa/inet.h-data: Likewise.
40027 * conform/data/assert.h-data: Likewise.
40028 * conform/data/complex.h-data: Likewise.
40029 * conform/data/cpio.h-data: Likewise.
40030 * conform/data/ctype.h-data: Likewise.
40031 * conform/data/dirent.h-data: Likewise.
40032 * conform/data/dlfcn.h-data: Likewise.
40033 * conform/data/errno.h-data: Likewise.
40034 * conform/data/fcntl.h-data: Likewise.
40035 * conform/data/float.h-data: Likewise.
40036 * conform/data/fmtmsg.h-data: Likewise.
40037 * conform/data/fnmatch.h-data: Likewise.
40038 * conform/data/ftw.h-data: Likewise.
40039 * conform/data/glob.h-data: Likewise.
40040 * conform/data/grp.h-data: Likewise.
40041 * conform/data/iconv.h-data: Likewise.
40042 * conform/data/inttypes.h-data: Likewise.
40043 * conform/data/langinfo.h-data: Likewise.
40044 * conform/data/libgen.h-data: Likewise.
40045 * conform/data/limits.h-data: Likewise.
40046 * conform/data/locale.h-data: Likewise.
40047 * conform/data/math.h-data: Likewise.
40048 * conform/data/monetary.h-data: Likewise.
40049 * conform/data/mqueue.h-data: Likewise.
40050 * conform/data/ndbm.h-data: Likewise.
40051 * conform/data/net/if.h-data: Likewise.
40052 * conform/data/netdb.h-data: Likewise.
40053 * conform/data/netinet/in.h-data: Likewise.
40054 * conform/data/nl_types.h-data: Likewise.
40055 * conform/data/poll.h-data: Likewise.
40056 * conform/data/pthread.h-data: Likewise.
40057 * conform/data/pwd.h-data: Likewise.
40058 * conform/data/regex.h-data: Likewise.
40059 * conform/data/sched.h-data: Likewise.
40060 * conform/data/search.h-data: Likewise.
40061 * conform/data/semaphore.h-data: Likewise.
40062 * conform/data/setjmp.h-data: Likewise.
40063 * conform/data/signal.h-data: Likewise.
40064 * conform/data/spawn.h-data: Likewise.
40065 * conform/data/stdarg.h-data: Likewise.
40066 * conform/data/stdio.h-data: Likewise.
40067 * conform/data/stdlib.h-data: Likewise.
40068 * conform/data/string.h-data: Likewise.
40069 * conform/data/strings.h-data: Likewise.
40070 * conform/data/stropts.h-data: Likewise.
40071 * conform/data/sys/ipc.h-data: Likewise.
40072 * conform/data/sys/mman.h-data: Likewise.
40073 * conform/data/sys/msg.h-data: Likewise.
40074 * conform/data/sys/resource.h-data: Likewise.
40075 * conform/data/sys/select.h-data: Likewise.
40076 * conform/data/sys/sem.h-data: Likewise.
40077 * conform/data/sys/shm.h-data: Likewise.
40078 * conform/data/sys/socket.h-data: Likewise.
40079 * conform/data/sys/stat.h-data: Likewise.
40080 * conform/data/sys/statvfs.h-data: Likewise.
40081 * conform/data/sys/time.h-data: Likewise.
40082 * conform/data/sys/timeb.h-data: Likewise.
40083 * conform/data/sys/times.h-data: Likewise.
40084 * conform/data/sys/types.h-data: Likewise.
40085 * conform/data/sys/uio.h-data: Likewise.
40086 * conform/data/sys/un.h-data: Likewise.
40087 * conform/data/sys/utsname.h-data: Likewise.
40088 * conform/data/sys/wait.h-data: Likewise.
40089 * conform/data/syslog.h-data: Likewise.
40090 * conform/data/tar.h-data: Likewise.
40091 * conform/data/termios.h-data: Likewise.
40092 * conform/data/utime.h-data: Likewise.
40093 * conform/data/utmpx.h-data: Likewise.
40094 * conform/data/varargs.h-data: Likewise.
40095 * conform/data/wchar.h-data: Likewise.
40096 * conform/data/wctype.h-data: Likewise.
40097 * conform/data/wordexp.h-data: Likewise.
40099 * include/stropts.h: New file.
40100 * include/uchar.h: New file.
40101 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40102 * include/assert.h: Likewise.
40103 * include/ctype.h: Likewise.
40104 * include/dirent.h: Likewise.
40105 * include/dlfcn.h: Likewise.
40106 * include/fcntl.h: Likewise.
40107 * include/fnmatch.h: Likewise.
40108 * include/glob.h: Likewise.
40109 * include/grp.h: Likewise.
40110 * include/libio.h: Likewise.
40111 * include/locale.h: Likewise.
40112 * include/math.h: Likewise.
40113 * include/net/if.h: Likewise.
40114 * include/netdb.h: Likewise.
40115 * include/netinet/in.h: Likewise.
40116 * include/pthread.h: Likewise.
40117 * include/pwd.h: Likewise.
40118 * include/regex.h: Likewise.
40119 * include/sched.h: Likewise.
40120 * include/search.h: Likewise.
40121 * include/setjmp.h: Likewise.
40122 * include/signal.h: Likewise.
40123 * include/stdio.h: Likewise.
40124 * include/stdlib.h: Likewise.
40125 * include/string.h: Likewise.
40126 * include/sys/cdefs.h: Likewise.
40127 * include/sys/mman.h: Likewise.
40128 * include/sys/msg.h: Likewise.
40129 * include/sys/resource.h: Likewise.
40130 * include/sys/select.h: Likewise.
40131 * include/sys/socket.h: Likewise.
40132 * include/sys/stat.h: Likewise.
40133 * include/sys/statvfs.h: Likewise.
40134 * include/sys/time.h: Likewise.
40135 * include/sys/times.h: Likewise.
40136 * include/sys/uio.h: Likewise.
40137 * include/sys/utsname.h: Likewise.
40138 * include/sys/wait.h: Likewise.
40139 * include/termios.h: Likewise.
40140 * include/time.h: Likewise.
40141 * include/ulimit.h: Likewise.
40142 * include/unistd.h: Likewise.
40143 * include/utime.h: Likewise.
40144 * include/wchar.h: Likewise.
40145 * include/wctype.h: Likewise.
40146 * include/wordexp.h: Likewise.
40148 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40150 * time/time.h: TIME_UTC must be a macro.
40151 Make timespec_get available for ISO C11 only as well.
40153 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40155 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40156 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40158 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40160 * configure.in: Use -o not -a in test for unsupported multi-arch.
40162 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40164 * manual/texinfo.tex: Update to version 2012-01-19.16.
40166 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40168 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40170 2012-02-24 Roland McGrath <roland@hack.frob.com>
40173 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40174 * manual/fdl-1.3.texi: New file.
40175 * manual/fdl-1.1.texi: File removed.
40178 * manual/libc.texinfo (FDL_VERSION): New @set.
40179 Use it for mention of FDL in cover text.
40180 (Documentation License): Use it in @include file name.
40182 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40183 Roland McGrath <roland@hack.frob.com>
40186 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40187 (not LONG_LONG_MAX and LONG_LONG_MIN.
40188 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40189 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40191 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40193 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40197 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40198 manipulate bits before adding and subtracting TWO23[sx].
40199 * math/libm-test.inc (nearbyint_test): Add more tests.
40201 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40204 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40205 bits before adding and subtracting TWO23[sx].
40206 * math/libm-test.inc (rint_test): Add more tests.
40207 (rint_test_tonearest): Likewise.
40208 (rint_test_towardzero): Likewise.
40209 (rint_test_downward): Likewise.
40210 (rint_test_upward: Likewise.
40212 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40215 * include/stdc-predef.h: New file. Extracted from features.h.
40216 * include/features.h: Include stdc-predef.h.
40217 * Makefile (headers): Add stdc-predef.h.
40218 * CONFORMANCE (Compiler limitations): Update.
40220 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40222 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40224 2012-02-21 David S. Miller <davem@davemloft.net>
40226 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40227 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40229 2012-02-20 David S. Miller <davem@davemloft.net>
40231 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40232 using a normal save/restore sequence, rather than allocating a
40233 dummy stack frame just to store a frame pointer and restore.
40234 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40236 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40238 * manual/install.texi: Fix stray word in line-wrapped comment.
40240 2012-02-20 David S. Miller <davem@davemloft.net>
40242 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40243 both binutils and gcc support GOTDATA.
40245 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40246 "rd %pc" in the PIC register setup sequences.
40248 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40249 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40250 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40251 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40252 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40253 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40254 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40255 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40257 (SYSCALL_ERROR_HANDLER): Likewise.
40258 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40259 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40261 (SYSCALL_ERROR_HANDLER): Likewise.
40263 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40264 (HAVE_GCC_GOTDATA): New.
40265 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40266 relocation support in both binutils and gcc.
40267 * sysdeps/sparc/elf/configure: Regenerate.
40269 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40270 * sysdeps/sparc/sparc32/elf/configure: Delete.
40271 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40272 * sysdeps/sparc/sparc64/elf/configure: Delete.
40273 * sysdeps/sparc/elf/configure.in: New file.
40274 * sysdeps/sparc/elf/configure: Generate.
40276 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40277 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40278 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40279 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40280 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40282 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40284 * manual/install.texi: Do not mention specific glibc version
40286 * manual/libc.texinfo (VERSION, UPDATED): Update.
40287 (@copying): Use @copyright{} and range of years.
40289 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40292 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40293 [crti.S not in sysdirs] (generated): Do not append.
40294 [crti.S not in sysdirs] (omit-deps): Likewise.
40295 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40296 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40297 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40298 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40299 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40301 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40302 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40303 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40304 * csu/defs.awk: Remove file.
40305 * sysdeps/generic/initfini.c: Likewise.
40306 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40308 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40311 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40313 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40314 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40315 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40316 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40317 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40318 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40320 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40321 (__EPOLL_PACKED): Define to empty if not defined by
40323 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40327 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40329 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40330 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40331 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40332 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40334 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40338 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40340 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40342 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40343 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40344 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40347 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40349 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40350 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40352 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40354 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40355 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40357 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40359 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40362 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40364 * math/w_acos.c: Use non-signaling floating-point comparisons.
40365 * math/w_acosf.c: Likewise.
40366 * math/w_acosh.c: Likewise.
40367 * math/w_acoshf.c: Likewise.
40368 * math/w_acoshl.c: Likewise.
40369 * math/w_acosl.c: Likewise.
40370 * math/w_asin.c: Likewise.
40371 * math/w_asinf.c: Likewise.
40372 * math/w_asinl.c: Likewise.
40373 * math/w_atanh.c: Likewise.
40374 * math/w_atanhf.c: Likewise.
40375 * math/w_atanhl.c: Likewise.
40376 * math/w_exp2.c: Likewise.
40377 * math/w_exp2f.c: Likewise.
40378 * math/w_exp2l.c: Likewise.
40379 * math/w_j0.c: Likewise.
40380 * math/w_j0f.c: Likewise.
40381 * math/w_j0l.c: Likewise.
40382 * math/w_j1.c: Likewise.
40383 * math/w_j1f.c: Likewise.
40384 * math/w_j1l.c: Likewise.
40385 * math/w_jn.c: Likewise.
40386 * math/w_jnf.c: Likewise.
40387 * math/w_log.c: Likewise.
40388 * math/w_log10.c: Likewise.
40389 * math/w_log10f.c: Likewise.
40390 * math/w_log10l.c: Likewise.
40391 * math/w_log2.c: Likewise.
40392 * math/w_log2f.c: Likewise.
40393 * math/w_log2l.c: Likewise.
40394 * math/w_logf.c: Likewise.
40395 * math/w_logl.c: Likewise.
40396 * math/w_sqrt.c: Likewise.
40397 * math/w_sqrtf.c: Likewise.
40398 * math/w_sqrtl.c: Likewise.
40399 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40400 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40401 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40402 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40403 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40405 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40408 * manual/string.texi (strnlen): Use correct parameter name in
40409 equivalent expression.
40411 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40414 * manual/users.texi (seteuid): Consistently use neweuid for
40417 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40420 * manual/nss.texi (Services in the NSS configuration): Correct
40421 list of services in example configuration file.
40423 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40426 * manual/arith.texi: Remove statements about negative zero
40427 behaving identically to zero.
40429 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40432 * manual/install.texi: Do not document upgrading from libc5.
40434 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40437 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40439 2012-02-18 David S. Miller <davem@davemloft.net>
40441 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40442 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40443 %o7 across the call.
40444 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40446 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40447 SETUP_PIC_REG_LEAF.
40448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40449 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40450 * sysdeps/sparc/crtn.S: Likewise.
40452 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40454 * aout/Makefile: Remove.
40456 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40459 * manual/examples/argp-ex1.c (main): Format definition in GNU
40461 * manual/examples/argp-ex2.c (main): Likewise.
40462 * manual/examples/argp-ex3.c (main): Likewise.
40463 * manual/examples/argp-ex4.c (main): Likewise.
40464 * manual/examples/longopt.c (main): Use new-style prototype
40466 * manual/examples/strncat.c (main): Specify return type and use
40467 (void) for arguments.
40468 * manual/examples/subopt.c (main): Use char **argv argument.
40470 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40473 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40476 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40479 * manual/string.texi (strchr): Change when strchrnul is
40482 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40485 * manual/locale.texi (setlocale): Document LOCPATH.
40487 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40490 * manual/process.texi (execle): Move @dots{} before last argument.
40492 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40495 * manual/charset.texi (Generic Charset Conversion): Fix typo
40496 (LC_TYPE -> LC_CTYPE).
40498 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40501 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40502 (scalbnf): Likewise.
40503 (scalbnl): Likewise.
40504 (scalbln): Likewise.
40505 (scalblnf): Likewise.
40506 (scalblnl): Likewise.
40507 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40508 (vwarnx): Likewise.
40511 * manual/filesys.texi (telldir): Use braces around return type.
40512 * manual/llio.texi (mmap): Add space after comma.
40513 (mmap64): Likewise.
40514 * manual/math.texi (jn): Use @var{} on parameter names.
40520 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40522 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40524 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40525 (sched_get_priority_max): Likewise.
40526 * manual/signal.texi (sigvec): Add space after comma.
40527 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40529 (if_indextoname): Likewise.
40530 (if_freenameindex): Likewise.
40531 (sendto): Use ',' instead of '.' in prototype.
40532 * manual/startup.texi (syscall): Use @dots{} instead of literal
40534 * manual/stdio.texi (__fpending): Separate initial words of
40535 paragraph from @deftypefun line.
40536 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40538 (vsyslog): Use @var{} on parameter names.
40539 * manual/terminal.texi (stty): Use @var{} on parameter names.
40540 * manual/users.texi (getutmp): Use @var{} on parameter names.
40541 (getutmpx): Likewise.
40543 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40546 * manual/stdio.texi (fopen): Fix typos in description of
40549 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40552 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40553 get clock_id definition.
40555 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40558 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40559 (madvise): Cast every argument to void on its own.
40561 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40564 * manual/startup.texi (Exit Status): Fix typo.
40566 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40569 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40570 * manual/examples/argp-ex2.c: Likewise.
40571 * manual/examples/argp-ex3.c: Likewise.
40573 2012-02-16 Richard Henderson <rth@redhat.com>
40575 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40576 * sysdeps/s390/s390-32/initfini.c: Remove.
40577 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40578 * sysdeps/s390/s390-64/initfini.c: Remove.
40580 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40582 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40583 compiler output for sysdeps/generic/initfini.c.
40584 * sysdeps/sh/elf/initfini.c: Remove file.
40586 2012-02-16 David S. Miller <davem@davemloft.net>
40589 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40591 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40592 * sysdeps/sparc/crti.S: New file.
40593 * sysdeps/sparc/crtn.S: New file.
40594 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40595 * sysdeps/sparc/sparc64/Makefile: Likewise.
40597 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40600 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40602 2012-02-15 Roland McGrath <roland@hack.frob.com>
40605 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40607 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40608 (write, read, close): Likewise.
40609 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40611 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40613 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40614 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40615 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40616 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40618 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40622 2012-02-14 Marek Polacek <polacek@redhat.com>
40624 * sysdeps/x86_64/crti.S: New file.
40625 * sysdeps/x86_64/crtn.S: New file.
40626 * sysdeps/x86_64/elf/initfini.c: Remove file.
40628 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40630 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40631 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40632 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40633 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40635 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40636 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40639 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40641 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40642 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40643 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40644 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40646 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40647 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40650 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40652 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40653 __feraiseexcept instead of feraiseexcept.
40655 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40656 nanosleep invocations.
40657 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40658 strings, and add error checking for a nanosleep invocations.
40660 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40662 Replace FSF snail mail address with URLs, as per GNU coding standards.
40663 Most of the snail mail addresses were wrong anyway, and omitting
40664 them makes the source code easier to maintain. Almost all of the
40665 changes are to license notices and to locale LC_IDENTIFICATION
40666 addresses, except for this one:
40667 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40668 not its snail mail address.
40670 2012-02-09 Richard Henderson <rth@twiddle.net>
40672 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40673 of kernel-features.h.
40675 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40677 2012-02-08 Marek Polacek <polacek@redhat.com>
40679 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40680 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40681 * sysdeps/gnu/_G_config.h: Likewise.
40682 * sysdeps/generic/_G_config.h: Likewise.
40684 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40686 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40690 * sysdeps/powerpc/powerpc32/crti.S: New file.
40691 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40692 * sysdeps/powerpc/powerpc64/crti.S: New file.
40693 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40695 * Makeconfig (have-initfini): Don't set.
40696 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40697 * configure.in (nopic_initfini): Don't substitute.
40698 * config.h.in (HAVE_INITFINI): Don't #undef.
40699 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40700 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40702 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40704 Support crti.S and crtn.S provided directly by architectures.
40705 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40706 [crti.S in sysdirs] (omit-deps): Likewise.
40707 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40708 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40709 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40710 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40711 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40712 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40713 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40714 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40715 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40716 compiler output for sysdeps/generic/initfini.c.
40717 * sysdeps/i386/elf/Makefile: Remove file.
40718 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40720 2012-02-07 Marek Polacek <polacek@redhat.com>
40722 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40723 * sysdeps/gnu/_G_config.h: Likewise.
40724 * sysdeps/mach/hurd/_G_config.h: Likewise.
40726 2012-02-07 Marek Polacek <polacek@redhat.com>
40728 * math/Makefile (tests): Add tst-CMPLX2.
40729 * math/tst-CMPLX2.c: New file.
40731 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40733 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40735 * math/libm-test.inc (jn_test): Add missing L suffix.
40737 2012-02-06 Marek Polacek <polacek@redhat.com>
40739 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40740 * sysdeps/i386/fpu/e_powf.S: Likewise.
40741 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40742 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40743 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40744 * sysdeps/i386/fpu/e_pow.S: Likewise.
40745 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40746 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40747 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40748 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40749 * sysdeps/i386/fpu/e_log2.S: Likewise.
40750 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40751 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40752 * sysdeps/i386/fpu/e_powl.S: Likewise.
40753 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40754 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40755 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40756 * sysdeps/i386/fpu/e_logl.S: Likewise.
40757 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40758 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40759 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40760 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40761 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40762 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40763 * sysdeps/i386/fpu/e_log.S: Likewise.
40764 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40765 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40766 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40767 * sysdeps/i386/fpu/e_logf.S: Likewise.
40768 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40769 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40770 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40771 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40772 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40773 * sysdeps/i386/fpu/e_log10.S: Likewise.
40774 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40775 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40776 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40777 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40778 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40779 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40780 * sysdeps/i386/asm-syntax.h: Likewise.
40781 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40782 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40783 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40784 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40785 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40786 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40787 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40788 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40789 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40790 * sysdeps/powerpc/sysdep.h: Likewise.
40791 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40792 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40794 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40797 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40799 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40801 * sysdeps/i386/sysdep.h: Include <features.h>.
40802 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40805 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40807 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40809 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40812 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40814 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40815 (SETUP_PIC_REG): Use GET_PC_THUNK.
40816 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40819 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40821 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40822 for non-PIC compilation.
40823 (SETUP_PIC_REG): Add .p2align directive.
40824 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40825 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40826 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40827 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40828 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40829 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40830 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40831 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40832 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40833 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40834 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40835 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40836 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40837 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40838 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40839 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40840 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40841 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40842 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40843 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40844 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40845 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40846 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40847 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40848 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40849 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40850 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40851 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40852 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40853 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40854 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40855 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40856 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40857 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40858 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40859 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40860 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40861 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40862 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40863 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40864 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40866 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40868 * math/tst-CMPLX.c: Include <stdio.h>.
40870 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40872 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40874 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40875 * sysdeps/sparc/bits/mathdef.h: Likewise.
40877 2012-01-31 Marek Polacek <polacek@redhat.com>
40879 * libio/libio.h: Don't define _PARAMS.
40880 * locale/programs/config.h: Don't define PARAMS.
40881 * stdlib/strtol_l.c: Likewise.
40882 (__strtol_l): Remove PARAMS from the prototype.
40884 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40886 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40887 names. Just use the correct names. Remove unnecessary wrapper
40889 * malloc/arena.c: Likewise.
40890 * malloc/hooks.c: Likewise.
40892 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40893 ARENA_TEST says not to. Simplify test for creation of a new arena.
40894 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40896 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40898 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40900 (update_get_addr): New function.
40901 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40902 GET_ADDR_MODULE parameter.
40904 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40906 * crypt/cert.c: Remove __STDC__ conditionals.
40907 * crypt/crypt-entry.c: Likewise.
40908 * crypt/crypt_util.c: Likewise.
40909 * libio/filedoalloc.c: Likewise.
40910 * libio/fileops.c: Likewise.
40911 * libio/genops.c: Likewise.
40912 * libio/iofclose.c: Likewise.
40913 * libio/iofdopen.c: Likewise.
40914 * libio/iofopen.c: Likewise.
40915 * libio/iofopen64.c: Likewise.
40916 * libio/iogetdelim.c: Likewise.
40917 * libio/iopopen.c: Likewise.
40918 * libio/obprintf.c: Likewise.
40919 * libio/oldfileops.c: Likewise.
40920 * libio/oldiofclose.c: Likewise.
40921 * libio/oldiofdopen.c: Likewise.
40922 * libio/oldiofopen.c: Likewise.
40923 * libio/oldiopopen.c: Likewise.
40924 * libio/wfiledoalloc.c: Likewise.
40925 * libio/wgenops.c: Likewise.
40926 * locale/programs/xmalloc.c: Likewise.
40927 * misc/syslog.c: Likewise.
40928 * stdio-common/xbug.c: Likewise.
40929 * string/memchr.c: Likewise.
40930 * string/memcmp.c: Likewise.
40931 * string/memrchr.c: Likewise.
40932 * string/rawmemchr.c: Likewise.
40933 * sysdeps/posix/getcwd.c: Likewise.
40934 * time/strftime_l.c: Likewise.
40936 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40938 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40939 * config.make.in (config-cflags-sse2avx): Define.
40940 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40943 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40945 * scripts/config.guess: Update from upstream config git repository.
40946 * scripts/config.sub: Likewise.
40948 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40950 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40952 (R_TILEPRO_*, R_TILEGX_*): New macros.
40954 * scripts/firstversions.awk: Fix bug in version range handling.
40956 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40958 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40960 * include/sys/epoll.h: New file.
40961 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40964 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40966 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40967 Avoid unnecessary __WORDSIZE == 64 test.
40968 (fmaxf): Use VEX format if possible.
40973 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40974 * math/math_private.h: Remove libc_fegetround* and
40976 * sysdeps/i386/configure.in: Check for -msse2avx.
40977 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40978 also if SSE2AVX is defined.
40979 Remove libc_fegetround* and libc_fesetround*.
40980 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40981 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40982 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40984 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40985 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40986 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40987 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40988 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40990 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40992 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40994 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40996 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40998 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41001 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41003 * Makeconfig (libm): Define.
41004 * elf/Makefile: Add rules to build and run tst-relsort1.
41005 * elf/tst-relsort1.c: New file.
41006 * elf/tst-relsort1mod1.c: New file.
41007 * elf/tst-relsort1mod2.c: New file.
41009 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41011 * math/s_ldexp.c: Remove __STDC__ conditionals.
41012 * math/s_ldexpf.c: Likewise.
41013 * math/s_ldexpl.c: Likewise.
41014 * math/s_nextafter.c: Likewise.
41015 * math/s_nexttowardf.c: Likewise.
41016 * math/s_significand.c: Likewise.
41017 * math/s_significandf.c: Likewise.
41018 * math/s_significandl.c: Likewise.
41019 * math/w_jnl.c: Likewise.
41020 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41021 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41022 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41023 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41024 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41025 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41026 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41027 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41028 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41029 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41030 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41031 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41032 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41033 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41034 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41035 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41036 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41037 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41038 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41039 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41040 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41041 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41042 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41043 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41044 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41045 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41046 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41047 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41048 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41049 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41050 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41051 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41052 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41053 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41054 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41055 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41056 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41057 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41058 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41059 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41060 * sysdeps/ieee754/k_standard.c: Likewise.
41061 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41064 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41065 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41066 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41069 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41070 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41071 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41072 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41074 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41076 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41078 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41079 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41080 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41081 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41083 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41084 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41085 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41086 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41087 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41088 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41089 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41091 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41092 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41093 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41096 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41097 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41098 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41099 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41100 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41101 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41103 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41104 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41105 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41106 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41107 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41108 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41109 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41110 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41111 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41112 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41113 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41114 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41115 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41116 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41117 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41118 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41119 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41120 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41121 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41122 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41123 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41124 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41125 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41126 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41127 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41128 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41129 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41130 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41131 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41132 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41133 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41134 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41135 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41136 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41137 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41138 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41139 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41140 * sysdeps/ieee754/s_matherr.c: Likewise.
41141 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41142 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41143 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41144 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41146 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41148 * crypt/md5.h: Remove __STDC__ conditionals.
41149 * libio/libioP.h: Likewise.
41150 * locale/programs/config.h: Likewise.
41151 * sysdeps/generic/sysdep.h: Likewise.
41152 * sysdeps/i386/asm-syntax.h: Likewise.
41153 * sysdeps/s390/asm-syntax.h: Likewise.
41154 * sysdeps/unix/sysdep.h: Likewise.
41155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41158 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41160 * libio/libio.h: Remove __STDC__ conditionals.
41161 * malloc/obstack.h: Likewise.
41162 * math/complex.h: Likewise.
41163 * math/math.h: Likewise.
41164 * sysdeps/generic/_G_config.h: Likewise.
41165 * sysdeps/gnu/_G_config.h: Likewise.
41166 * sysdeps/mach/hurd/_G_config.h: Likewise.
41167 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41168 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41169 * sysdeps/sparc/bits/mathdef.h: Likewise.
41171 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41174 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41175 Clean up HAS_* macros.
41176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41177 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41179 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41181 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41182 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41183 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41184 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41185 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41187 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41189 * elf/tst-unique3.cc (gets): Remove declaration.
41190 * elf/tst-unique3lib.cc (gets): Likewise.
41191 * elf/tst-unique3lib2.cc (gets): Likewise.
41192 * elf/tst-unique4.cc (gets): Likewise.
41194 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41196 * include/stdio.h: Add C++ protection. Add gets declarations and
41198 * debug/tst-chk1.c: Don't declare gets here.
41199 * stdio-common/tst-gets.c: Likewise.
41201 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41203 * posix/glob: Remove directory.
41205 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41207 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41209 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41211 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41212 of the non-standard EPFNOSUPPORT.
41214 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41216 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41217 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41218 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41220 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41222 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41224 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41226 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41228 * nscd/grpcache.c (cache_addgr): Likewise.
41229 * nscd/hstcache.c (cache_addhst): Likewise.
41230 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41231 * nscd/pwdcache.c (cache_addpw): Likewise.
41232 * nscd/servicescache.c (cache_addserv): Likewise.
41234 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41236 * malloc/malloc.c: Various cleanups.
41237 * malloc/hooks.c: Likewise.
41239 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41240 * stdlib/bug-fmtmsg1.c: New file.
41242 * stdlib/fmtmsg.c (init): Add missing unlock.
41243 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41245 2012-01-12 Marek Polacek <polacek@redhat.com>
41247 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41250 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41252 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41253 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41254 macro to ensure uniqueness of label name.
41255 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41256 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41258 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41260 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41262 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41263 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41264 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41267 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41269 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41271 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41272 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41273 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41275 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41277 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41278 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41279 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41280 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41282 * math/bits/math-finite.h: Add ldexp support.
41284 2012-01-10 Marek Polacek <polacek@redhat.com>
41286 * locale/programs/localedef.h (show_archive_content): Add noreturn
41289 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41291 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41293 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41295 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41297 * io/Makefile (headers): Add bits/poll2.h.
41299 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41302 typo #include statement.
41304 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41306 * include/sys/cdefs.h: Define __attribute_alloc_size.
41307 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41308 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41309 * elf/pldd.c: Likewise.
41310 * iconv/iconv_charmap.c: Likewise.
41311 * iconv/iconvconfig.c: Likewise.
41312 * iconv/strtab.c: Likewise.
41313 * locale/programs/locale.c: Likewise.
41314 * locale/programs/localedef.h: Likewise.
41315 * locale/programs/simple-hash.c: Likewise.
41316 * nscd/nscd.h: Likewise.
41317 * nss/makedb.c: Likewise.
41318 * sysdeps/generic/ldconfig.h: Likewise.
41319 * locale/programs/localedef.c: Remove xmalloc prototype.
41320 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41322 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41324 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41327 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41329 * math/Makefile (tests): Add tst-CMPLX.
41330 * math/tst-CMPLX.c: New file.
41332 * math/complex.h (CMPLXL): Fix typo.
41334 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41335 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41337 * debug/tst-chk1.c: Add poll and ppoll tests.
41338 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41339 * include/sys/poll.h: Add hidden proto for ppoll.
41340 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41341 * sysdeps/mach/hurd/ppoll.c: Likewise.
41342 * io/ppoll.c: Likewise.
41343 * debug/poll_chk.c: New file.
41344 * debug/ppoll_chk.c: New file.
41345 * include/bits/poll2.h: New file.
41346 * io/bits/poll2.h: New file.
41349 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41351 * configure.in: static is always set to yes. Remove.
41352 * config.make.in: Don't set build-static.
41353 * Makeconfig: Remove use of build-static.
41354 * dlfcn/Makefile: Likewise.
41355 * elf/Makefile: Likewise.
41356 * math/Makefile: Likewise.
41357 * misc/Makefile: Likewise.
41358 * nptl/Makefile: Likewise.
41359 * sysdeps/mach/hurd/Makefile: Likewise.
41361 * configure.in: PWD_P is not used anymore.
41362 * config.make.in: Remove PWD_P entry.
41364 * configure.in: Remove last remnants of RANLIB.
41365 No need to check for signed size_t anymore.
41366 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41368 Remove __builtin_expect test because we require at least gcc 3.4.
41369 * aclocal.m4: Likewise.
41371 * wcsmbs/mbrtoc16.c: Implement using towc function.
41372 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41373 * wcsmbs/wcsmbsload.c: Likewise.
41374 * iconv/gconv_simple.c: Likewise.
41375 * iconv/gconv_int.h: Likewise.
41376 * iconv/gconv_builtin.h: Likewise.
41377 * iconv/iconv_prog.c: Remove CHAR16 handling.
41379 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41381 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41383 * configure.in: Remove --with-elf and --enable-bounded options.
41384 Dont set base_machine for ia64. More non-ELF conditions removed.
41385 Remove testing and setting of leading underscore information.
41386 * config.make.in (build-bounded): Set to no.
41387 * config.h.in: Remove NO_UNDERSCORES entry.
41388 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41390 * csu/start.c: Remove !NO_UNDERSCORE code.
41391 * locale/localeinfo.h: Likewise.
41392 * sysdeps/generic/machine-gmon.h: Likewise.
41393 * sysdeps/generic/sysdep.h: Likewise.
41394 * sysdeps/i386/sysdep.h: Likewise.
41395 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41396 * sysdeps/mach/sysdep.h: Likewise.
41397 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41398 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41399 * sysdeps/sh/sysdep.h: Likewise.
41400 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41401 * sysdeps/unix/i386/sysdep.S: Likewise.
41402 * sysdeps/unix/sparc/start.c: Likewise.
41403 * sysdeps/unix/sparc/sysdep.S: Likewise.
41404 * sysdeps/unix/sparc/sysdep.h: Likewise.
41405 * sysdeps/unix/start.c: Likewise.
41406 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41407 * sysdeps/x86_64/sysdep.h: Likewise.
41409 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41412 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41414 * argp/argp-fmtstream.h: Use const instead __const.
41415 * argp/argp.h: Likewise.
41416 * assert/assert.h: Likewise.
41417 * bits/fenv.h: Likewise.
41418 * bits/sched.h: Likewise.
41419 * bits/sigset.h: Likewise.
41420 * bits/sigthread.h: Likewise.
41421 * catgets/nl_types.h: Likewise.
41422 * conform/data/pthread.h-data: Likewise.
41423 * crypt/crypt-private.h: Likewise.
41424 * crypt/crypt.h: Likewise.
41425 * crypt/crypt_util.c: Likewise.
41426 * ctype/ctype.h: Likewise.
41427 * debug/execinfo.h: Likewise.
41428 * debug/mbsnrtowcs_chk.c: Likewise.
41429 * debug/mbsrtowcs_chk.c: Likewise.
41430 * debug/wcsnrtombs_chk.c: Likewise.
41431 * debug/wcsrtombs_chk.c: Likewise.
41432 * debug/wcstombs_chk.c: Likewise.
41433 * dirent/dirent.h: Likewise.
41434 * dlfcn/dlfcn.h: Likewise.
41435 * elf/neededtest4.c: Likewise.
41436 * grp/grp.h: Likewise.
41437 * gshadow/gshadow.h: Likewise.
41438 * iconv/gconv.h: Likewise.
41439 * iconv/gconv_int.h: Likewise.
41440 * iconv/gconv_simple.c: Likewise.
41441 * iconv/iconv.h: Likewise.
41442 * iconv/loop.c: Likewise.
41443 * iconv/skeleton.c: Likewise.
41444 * include/aio.h: Likewise.
41445 * include/aliases.h: Likewise.
41446 * include/argz.h: Likewise.
41447 * include/arpa/inet.h: Likewise.
41448 * include/assert.h: Likewise.
41449 * include/dirent.h: Likewise.
41450 * include/dlfcn.h: Likewise.
41451 * include/execinfo.h: Likewise.
41452 * include/fcntl.h: Likewise.
41453 * include/fenv.h: Likewise.
41454 * include/glob.h: Likewise.
41455 * include/grp.h: Likewise.
41456 * include/libintl.h: Likewise.
41457 * include/mntent.h: Likewise.
41458 * include/netdb.h: Likewise.
41459 * include/pwd.h: Likewise.
41460 * include/rpc/netdb.h: Likewise.
41461 * include/sched.h: Likewise.
41462 * include/search.h: Likewise.
41463 * include/shadow.h: Likewise.
41464 * include/signal.h: Likewise.
41465 * include/stdio.h: Likewise.
41466 * include/stdlib.h: Likewise.
41467 * include/string.h: Likewise.
41468 * include/sys/socket.h: Likewise.
41469 * include/sys/stat.h: Likewise.
41470 * include/sys/statfs.h: Likewise.
41471 * include/sys/statvfs.h: Likewise.
41472 * include/sys/syslog.h: Likewise.
41473 * include/sys/time.h: Likewise.
41474 * include/sys/uio.h: Likewise.
41475 * include/time.h: Likewise.
41476 * include/unistd.h: Likewise.
41477 * include/utmp.h: Likewise.
41478 * include/wchar.h: Likewise.
41479 * include/wctype.h: Likewise.
41480 * inet/aliases.h: Likewise.
41481 * inet/arpa/inet.h: Likewise.
41482 * inet/netinet/ether.h: Likewise.
41483 * inet/netinet/in.h: Likewise.
41484 * intl/libintl.h: Likewise.
41485 * io/bits/fcntl2.h: Likewise.
41486 * io/fcntl.h: Likewise.
41487 * io/ftw.h: Likewise.
41488 * io/sys/poll.h: Likewise.
41489 * io/sys/stat.h: Likewise.
41490 * io/sys/statfs.h: Likewise.
41491 * io/sys/statvfs.h: Likewise.
41492 * io/utime.h: Likewise.
41493 * libio/bits/stdio.h: Likewise.
41494 * libio/bits/stdio2.h: Likewise.
41495 * libio/libio.h: Likewise.
41496 * libio/libioP.h: Likewise.
41497 * libio/stdio.h: Likewise.
41498 * locale/lc-ctype.c: Likewise.
41499 * locale/locale.h: Likewise.
41500 * login/utmp.h: Likewise.
41501 * malloc/arena.c: Likewise.
41502 * malloc/malloc.c: Likewise.
41503 * malloc/malloc.h: Likewise.
41504 * malloc/mcheck.c: Likewise.
41505 * malloc/mtrace.c: Likewise.
41506 * math/bits/mathcalls.h: Likewise.
41507 * math/fenv.h: Likewise.
41508 * math/math_private.h: Likewise.
41509 * misc/bits/error.h: Likewise.
41510 * misc/bits/syslog.h: Likewise.
41511 * misc/err.h: Likewise.
41512 * misc/error.h: Likewise.
41513 * misc/fstab.h: Likewise.
41514 * misc/mntent.h: Likewise.
41515 * misc/regexp.h: Likewise.
41516 * misc/search.h: Likewise.
41517 * misc/sgtty.h: Likewise.
41518 * misc/sys/mman.h: Likewise.
41519 * misc/sys/syslog.h: Likewise.
41520 * misc/sys/uio.h: Likewise.
41521 * misc/sys/xattr.h: Likewise.
41522 * misc/ttyent.h: Likewise.
41523 * nis/rpcsvc/ypclnt.h: Likewise.
41524 * nss/nss.h: Likewise.
41525 * posix/bits/unistd.h: Likewise.
41526 * posix/fnmatch.h: Likewise.
41527 * posix/glob.h: Likewise.
41528 * posix/sched.h: Likewise.
41529 * posix/spawn.h: Likewise.
41530 * posix/sys/wait.h: Likewise.
41531 * posix/unistd.h: Likewise.
41532 * posix/wordexp.h: Likewise.
41533 * pwd/pwd.h: Likewise.
41534 * resolv/netdb.h: Likewise.
41535 * resource/sys/resource.h: Likewise.
41536 * rt/aio.h: Likewise.
41537 * rt/bits/mqueue2.h: Likewise.
41538 * rt/mqueue.h: Likewise.
41539 * shadow/shadow.h: Likewise.
41540 * signal/signal.h: Likewise.
41541 * socket/send.c: Likewise.
41542 * socket/sendto.c: Likewise.
41543 * socket/sys/socket.h: Likewise.
41544 * stdio-common/printf.h: Likewise.
41545 * stdlib/bits/stdlib.h: Likewise.
41546 * stdlib/fmtmsg.h: Likewise.
41547 * stdlib/monetary.h: Likewise.
41548 * stdlib/stdlib.h: Likewise.
41549 * stdlib/ucontext.h: Likewise.
41550 * streams/stropts.h: Likewise.
41551 * string/argz.h: Likewise.
41552 * string/bits/string2.h: Likewise.
41553 * string/string.h: Likewise.
41554 * string/strings.h: Likewise.
41555 * sunrpc/rpc/auth.h: Likewise.
41556 * sunrpc/rpc/auth_des.h: Likewise.
41557 * sunrpc/rpc/clnt.h: Likewise.
41558 * sunrpc/rpc/netdb.h: Likewise.
41559 * sunrpc/rpc/pmap_clnt.h: Likewise.
41560 * sunrpc/rpc/xdr.h: Likewise.
41561 * sysdeps/generic/inttypes.h: Likewise.
41562 * sysdeps/generic/net/if.h: Likewise.
41563 * sysdeps/generic/sys/swap.h: Likewise.
41564 * sysdeps/gnu/net/if.h: Likewise.
41565 * sysdeps/gnu/utmpx.h: Likewise.
41566 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41567 * sysdeps/i386/i486/bits/string.h: Likewise.
41568 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41569 * sysdeps/s390/bits/string.h: Likewise.
41570 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41571 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41572 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41573 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41574 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41575 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41576 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41577 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41578 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41579 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41580 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41581 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41582 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41583 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41584 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41585 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41586 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41588 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41589 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41590 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41591 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41592 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41593 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41594 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41595 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41596 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41597 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41598 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41599 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41600 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41601 * sysvipc/sys/ipc.h: Likewise.
41602 * sysvipc/sys/msg.h: Likewise.
41603 * sysvipc/sys/sem.h: Likewise.
41604 * sysvipc/sys/shm.h: Likewise.
41605 * termios/termios.h: Likewise.
41606 * time/sys/time.h: Likewise.
41607 * time/time.h: Likewise.
41608 * wcsmbs/bits/wchar2.h: Likewise.
41609 * wcsmbs/uchar.h: Likewise.
41610 * wcsmbs/wchar.h: Likewise.
41611 * wctype/wctype.h: Likewise.
41614 * Makeconfig: Remove all but ELF support including AIX support.
41615 * Makerules: Likewise.
41616 * config.h.in: Likewise.
41617 * config.make.in: Likewise.
41618 * configure: Likewise.
41619 * configure.in: Likewise.
41620 * csu/Makefile: Likewise.
41621 * csu/version.c: Likewise.
41622 * debug/Makefile: Likewise.
41623 * dlfcn/Makefile: Likewise.
41624 * elf/Makefile: Likewise.
41625 * extra-lib.mk: Likewise.
41626 * iconv/Makefile: Likewise.
41627 * include/libc-symbols.h: Likewise.
41628 * include/shlib-compat.h: Likewise.
41629 * resolv/Makefile: Likewise.
41630 * resolv/res_libc.c: Likewise.
41631 * rt/Makefile: Likewise.
41632 * sysdeps/i386/asm-syntax.h: Likewise.
41633 * sysdeps/i386/sysdep.h: Likewise.
41634 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41635 * sysdeps/mach/sysdep.h: Likewise.
41636 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41637 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41638 * sysdeps/s390/asm-syntax.h: Likewise.
41639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41640 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41641 * sysdeps/sh/sysdep.h: Likewise.
41642 * sysdeps/unix/sparc/sysdep.h: Likewise.
41643 * sysdeps/wordsize-32/divdi3.c: Likewise.
41644 * sysdeps/x86_64/sysdep.h: Likewise.
41646 * argp/Versions: Remove _argp_unlock_xxx.
41649 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41650 * abilist/libBrokenLocale.abilist: Likewise.
41651 * abilist/libanl.abilist: Likewise.
41652 * abilist/libc.abilist: Likewise.
41653 * abilist/libcrypt.abilist: Likewise.
41654 * abilist/libdl.abilist: Likewise.
41655 * abilist/libm.abilist: Likewise.
41656 * abilist/libnsl.abilist: Likewise.
41657 * abilist/libpthread.abilist: Likewise.
41658 * abilist/libresolv.abilist: Likewise.
41659 * abilist/librt.abilist: Likewise.
41660 * abilist/libthread_db.abilist: Likewise.
41661 * abilist/libutil.abilist: Likewise.
41662 * abilist/libnss_db.abilist: New file.
41664 * scripts/abilist.awk: Add support for indirect functions.
41666 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41668 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41670 * shlib-versions: Remove entries for ports architectures.
41672 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41674 * elf/stackguard-macros.h: Remove support for IA-64.
41675 * elf/tst-auditmod1.c: Likewise.
41676 * sysdeps/generic/ldsodefs.h: Likewise.
41678 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41679 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41683 * configure.in: Remove --enable-omitfp support.
41685 * config.make.in: Likewise.
41686 * Makeconfig: Likewise.
41687 * manual/install.texi: Likewise.
41689 In case anyone cares, the IA-64 architecture could move to ports.
41690 * sysdeps/ia64/*: Removed.
41691 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41692 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41695 * configure.in: Remove entries for unsupported architectures.
41698 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41699 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41701 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41702 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41703 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41704 fall back to using wcrtomb.
41705 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41706 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41708 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41709 * wcsmbs/tst-c16c32-1.c: New file.
41711 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41714 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41716 * elf/tst-unique3.cc: Add explicit declaration of gets.
41717 * elf/tst-unique3lib.cc: Likewise.
41718 * elf/tst-unique3lib2.cc: Likewise.
41719 * elf/tst-unique4.cc: Likewise.
41721 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41723 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41726 * assert/assert.h (static_assert): Don't define for C++.
41727 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41728 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41730 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41732 * iconv/loop.c (single loop): Fix assertion in storing of
41735 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41737 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41739 * posix/getconf.c: Update copyright year.
41740 * nss/getent.c: Likewise.
41741 * nss/makedb.c: Likewise.
41742 * iconv/iconvconfig.c: Likewise.
41743 * iconv/iconv_prog.c: Likewise.
41744 * elf/ldconfig.c: Likewise.
41745 * elf/pldd.c: Likewise.
41746 * elf/sotruss.ksh: Likewise.
41747 * catgets/gencat.c: Likewise.
41748 * csu/version.c: Likewise.
41749 * elf/ldd.bash.in: Likewise.
41750 * elf/sprof.c (print_version): Likewise.
41751 * locale/programs/locale.c: Likewise.
41752 * locale/programs/localedef.c: Likewise.
41753 * login/programs/pt_chown.c: Likewise.
41754 * nscd/nscd.c (print_version): Likewise.
41755 * debug/xtrace.sh: Likewise.
41756 * malloc/memusage.sh: Likewise.
41757 * malloc/mtrace.pl: Likewise.
41758 * debug/catchsegv.sh: Likewise.
41760 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41762 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41765 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41768 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41769 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41771 * iconv/gconv_int.h: Likewise.
41772 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41773 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41774 from libc for GLIBC_2.16.
41775 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41776 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41777 * wcsmbs/uchar.h: Really define mbstate_t.
41778 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41779 * wcsmbs/c16rtomb.c: New file.
41780 * wcsmbs/mbrtoc16.c: New file.
41781 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41782 for C/POSIX locale.
41783 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41784 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41786 * wcsmbs/wchar.h: Add missing __restrict.
41788 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41791 * time/Makefile (routines): Add timespec_get.
41792 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41793 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41794 timespec for ISO C11.
41795 * time/timespec_get.c: New file.
41796 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41797 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41800 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41801 * stdlib/stdlib.h: Declare aligned_alloc.
41802 * Versions.def: Add GLIBC_2.16 for libc.
41803 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41806 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41809 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41813 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41816 * assert/assert.h (static_assert): Define.
41818 * version.h: Update for 2.16 development version.
41821 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41824 * version.h (RELEASE): Bump for 2.15 release.
41825 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41827 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41828 Patch by Marek Polacek <mpolacek@redhat.com>.
41830 * bits/byteswap.h: Protect long long constants with __extension__.
41831 * sysdeps/i386/bits/byteswap.h: Likewise.
41832 * sysdeps/ia64/bits/byteswap.h: Likewise.
41833 * sysdeps/s390/bits/byteswap.h: Likewise.
41834 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41836 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41839 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41840 destination buffer.
41841 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41843 2011-12-23 Marek Polacek <polacek@redhat.com>
41845 * elf/dl-addr.c (determine_info): Add inline keyword.
41846 * elf/tst-auditmod4b.c (check_avx): Likewise.
41847 * elf/tst-auditmod6b.c (check_avx): Likewise.
41848 * elf/tst-auditmod6c.c (check_avx): Likewise.
41849 * elf/tst-auditmod7b.c (check_avx): Likewise.
41851 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41853 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41856 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41859 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41860 processing for last bytes.
41862 2011-08-06 Bruno Haible <bruno@clisp.org>
41865 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41866 U+0385, not to U+1FEE.
41869 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41870 entry for U+00A5 U+0301.
41872 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41875 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41876 buffer for the output is too small.
41878 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41882 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41883 SSE flags if possible.
41885 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41888 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41889 processing for last bytes.
41891 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41893 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41894 (syscall-list-default-options, syscall-list-default-condition)
41895 (syscall-list-includes): Define.
41896 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41897 list of ABIs and options and #if conditions for each ABI. Do not
41898 handle common syscalls between ABIs specially.
41899 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41901 (syscall-list-variants, syscall-list-32bit-options)
41902 (syscall-list-32bit-condition, syscall-list-64bit-options)
41903 (syscall-list-64bit-condition): Define.
41904 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41905 (syscall-list-variants, syscall-list-32bit-options)
41906 (syscall-list-32bit-condition, syscall-list-64bit-options)
41907 (syscall-list-64bit-condition): Define.
41908 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41910 (syscall-list-variants, syscall-list-32bit-options)
41911 (syscall-list-32bit-condition, syscall-list-64bit-options)
41912 (syscall-list-64bit-condition): Define.
41913 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41915 (syscall-list-variants, syscall-list-32bit-options)
41916 (syscall-list-32bit-condition, syscall-list-64bit-options)
41917 (syscall-list-64bit-condition): Define.
41919 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41921 * locale/iso-639.def: Add brx entry.
41924 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41925 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41927 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41928 __feraiseexcept_renamed.
41930 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41933 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41934 EPOLLET with unsigned values.
41935 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41936 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41938 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41939 to large cancellation.
41940 * math/s_cacoshf.c: Likewise.
41941 * math/s_cacoshl.c: Likewise.
41943 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41947 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41948 * math/s_cacoshf.c: Likewise.
41949 * math/s_cacoshl.c: Likewise.
41951 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41954 * iconv/gconv.h: Define __GCONV_SWAP.
41955 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41956 * iconvdata/utf-16.c: Likewise.
41957 * iconvdata/utf-32.c: Likewise.
41959 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41962 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41963 numerator after shifting it by one limb.
41965 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41967 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41968 under [__USE_EXTERN_INLINES].
41970 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41973 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41975 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41977 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41978 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41980 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41981 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41982 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41983 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41984 for strncasecmp/strncasecmp_l compilation.
41985 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41986 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41988 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41991 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41994 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41997 * time/tzfile.c (__tzfile_read): Check values from file header.
41999 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42001 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42002 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42003 * powerpc/powerpc32/dl-start.S: Likewise.
42004 * powerpc/powerpc32/elf/start.S: Likewise.
42005 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42006 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42007 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42008 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42009 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42010 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42011 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42012 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42013 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42014 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42015 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42016 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42017 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42018 * powerpc/powerpc32/memset.S: Likewise.
42019 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42020 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42021 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42022 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42023 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42024 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42025 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42026 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42027 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42028 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42029 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42030 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42031 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42033 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42035 * math/libm-test.inc: Added more nearbyint tests.
42036 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42037 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42038 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42039 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42041 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42043 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42046 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42048 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42049 Add wcscpy-ssse3 wcscpy-c.
42050 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42051 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42052 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42053 * sysdeps/x86_64/wcschr.S: New file.
42054 * sysdeps/x86_64/wcsrchr.S: New file.
42055 * string/test-strcmp.c: Remove checking of wcscmp function for
42057 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42058 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42059 wcsrchr-sse2 wcsrchr-c.
42060 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42061 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42062 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42063 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42064 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42065 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42066 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42067 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42068 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42069 * wcsmbc/wcschr.c (WCSCHR): New macro.
42071 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42073 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42074 * wcsmbs/test-wcsrchr.c: New file.
42075 * string/test-strrchr.c: Add wcsrchr support.
42077 * wcsmbs/test-wcscpy.c: New file.
42078 * string/test-strcpy.c: Add wcscpy support.
42081 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42083 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42086 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42089 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42091 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42093 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42094 Minor optimizations.
42096 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42097 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42098 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42100 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42102 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42103 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42104 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42105 for gcc to avoid warnings.
42106 * inet/Makefile (tests): Add tst-checks.
42107 * inet/tst-checks.c: New file.
42109 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42112 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42115 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42116 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42118 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42120 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42122 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42125 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42127 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42129 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42130 conditional on GCC version.
42131 (__arch_compare_and_exchange_val_8_acq)
42132 (__arch_compare_and_exchange_val_16_acq)
42133 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42134 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42135 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42137 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42139 * sysdeps/sh/backtrace.c: New file.
42141 2011-12-02 Andreas Schwab <schwab@redhat.com>
42143 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42146 2011-12-01 Andreas Schwab <schwab@redhat.com>
42148 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42149 falling back to utime.
42151 2011-11-30 Andreas Schwab <schwab@redhat.com>
42153 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42154 expectations for float.
42156 2011-11-29 Andreas Schwab <schwab@redhat.com>
42158 * locale/weight.h (findidx): Add parameter len.
42159 * locale/weightwc.h (findidx): Likewise.
42160 * posix/fnmatch_loop.c (FCT): Adjust caller.
42161 * posix/regcomp.c (build_equiv_class): Likewise.
42162 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42163 * posix/regexec.c (check_node_accept_bytes): Likewise.
42164 * string/strcoll_l.c (STRCOLL): Likewise.
42165 * string/strxfrm_l.c (STRXFRM): Likewise.
42167 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42169 * Makefile.in: Remove CVSOPT handling.
42170 * configure.in: Remove use of AC_REVISION.
42171 * iconvdata/Makefile (distribute): No need to filter out CVS.
42172 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42175 2011-11-16 Andreas Schwab <schwab@redhat.com>
42177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42178 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42179 [USE_AS_STRNCASECMP_L]: Likewise.
42180 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42181 NO_TLS_DIRECT_SEG_REFS.
42182 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42183 Fix argument offsets for non-PIC.
42184 [USE_AS_STRNCASECMP_L]: Likewise.
42185 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42186 NO_TLS_DIRECT_SEG_REFS.
42188 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42190 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42192 * locale/loadlocale.c (_nl_load_locale): Likewise.
42194 2011-11-15 Andreas Schwab <schwab@redhat.com>
42196 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42197 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42198 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42199 (SYSCALL_GETTIME): Set errno on error.
42201 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42202 count references to noai6ai_cached.
42204 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42206 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42208 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42209 FD_CLOEXEC for /proc/self/maps.
42211 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42212 FD_CLOEXEC for /proc/meminfo.
42214 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42217 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42218 FD_CLOEXEC for given file.
42220 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42222 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42223 FD_CLOEXEC for /etc/hosts.
42224 (_gethtent): Likewise.
42226 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42228 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42229 cancellation and set FD_CLOEXEC for /etc/netgroup.
42231 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42232 reading /etc/publickey.
42234 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42235 allow cancellation when reading /etc/group.
42237 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42239 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42241 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42242 when using data file.
42244 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42246 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42247 (write_nis_obj): Use "c" and "e" in fopen.
42249 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42251 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42253 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42255 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42257 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42260 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42262 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42264 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42266 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42267 file parsing and set FD_CLOEXEC.
42269 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42271 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42273 2011-11-14 Andreas Schwab <schwab@redhat.com>
42275 * malloc/arena.c (arena_get2): Don't call reused_arena when
42276 _int_new_arena failed.
42278 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42280 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42281 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42282 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42283 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42284 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42285 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42286 to compile strcasecmp and strncasecmp.
42287 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42288 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42292 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42294 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42295 locale-defines.sym to gen-as-const-headers.
42296 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42297 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42299 to compile strcasecmp and strncasecmp.
42300 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42301 strcasecmp_l and strncasecmp_l.
42302 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42303 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42304 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42305 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42306 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42307 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42308 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42309 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42310 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42311 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42312 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42314 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42316 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42317 result of SYSDEP_GETTIME_CPU to retval.
42318 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42319 parameter list to macro. Remove trailing semicolon. Adjust users.
42321 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42324 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42326 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42328 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42329 from unused variable.
42331 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42333 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42336 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42339 * sunrpc/rpc_prot.c (rejected): Fix case value.
42341 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42342 unsigned long long int to avoid warnings in shift.
42344 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42346 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42349 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42350 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42351 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42353 * nis/nis_table.c (nis_list): Use variable of correct type for
42354 result of __follow_path call.
42356 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42358 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42359 of math functions ceil, trunc, floor, round, and sqrt, when
42360 avaliable on the platform.
42361 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42363 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42364 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42365 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42367 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42369 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42370 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42372 2011-11-11 Roland McGrath <roland@hack.frob.com>
42374 * include/unistd.h: Fix __readlink return type.
42375 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42377 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42379 * stdlib/ucontext.h: Undo last change for makecontext.
42381 2011-11-11 Andreas Schwab <schwab@redhat.com>
42383 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42385 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42386 * setjmp/setjmp.h: Mark functions as non-leaf.
42387 * setjmp/bits/setjmp2.h: Likewise.
42388 * stdlib/ucontext.h: Likewise.
42390 2011-11-10 Andreas Schwab <schwab@redhat.com>
42392 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42393 (reused_arena): Don't check arena limit.
42394 (arena_get2): Atomically check arena limit.
42396 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42398 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42399 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42404 2011-11-07 Andreas Schwab <schwab@redhat.com>
42406 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42407 handler when locking.
42409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42410 Fix size of allocated buffer.
42412 2011-11-04 Andreas Schwab <schwab@redhat.com>
42415 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42416 declarations for long double functions.
42417 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42419 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42421 2011-11-03 Andreas Schwab <schwab@redhat.com>
42423 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42426 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42429 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42431 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42433 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42435 * include/alloca.h (stackinfo_alloca_round): Define.
42436 (extend_alloca): Use it.
42437 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42438 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42441 * scripts/check-local-headers.sh: Ignore libaudit.h.
42443 * nscd/Makefile (extra-objs): Make recursively expanded.
42445 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42447 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42448 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42450 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42451 * posix/tst-rfc3484-2.c: Likewise.
42452 * posix/tst-rfc3484-3.c: Likewise.
42454 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42456 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42458 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42459 process_vm_writev from libc using GLIBC_2.15 version.
42461 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42463 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42465 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42468 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42471 * nss/getent.c (initgroups_keys): Show error message in case no group
42474 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42475 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42476 __bump_nl_timestamp.
42477 * nscd/connections (nscd_init): When host database is served open
42478 netlink socket and request notification about configuration changes.
42479 (main_loop_poll): Track netlink file descriptor and bump timestamp
42480 in case data becomes available.
42481 (main_loop_epoll): Likewise.
42482 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42483 (database_pers_head): Add extra_data fileds.
42484 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42485 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42486 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42488 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42489 in6ai data, call __free_in6ai.
42490 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42491 Add -DHAVE_NETLINK.
42492 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42493 interface information. Reuse previous data if netlink timestamp
42495 (__bump_nl_timestamp): New function.
42496 (__free_in6ai): New function.
42498 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42500 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42501 close_not_cancel_no_status here.
42502 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42504 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42507 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42510 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42511 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42512 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42514 2011-07-03 Andreas Jaeger <aj@suse.de>
42517 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42518 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42519 * math/libm-test.inc (sin_test): Add test case.
42521 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42524 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42525 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42527 * elf/chroot_canon.c (chroot_canon): Cleanups.
42529 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42532 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42533 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42535 * string/test-strchr.c: Make usable for strchrnul testing.
42536 * string/test-strchrnul.c: New file.
42537 * string/Makefile (strop-tests): Add strchrnul.
42539 * po/it.po: Update from translation team.
42540 * po/es.po: Likewise.
42542 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42544 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42545 the three constants needed as parameters. Drop the others.
42546 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42547 __m128i_strloadu_tolower.
42548 Create and initialize variable zero and use it in all the places
42549 where _mm_setzero_si128 was used.
42551 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42552 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42553 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42554 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42556 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42557 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42558 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42559 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42560 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42561 __mpranred, __mptan.
42562 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42563 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42564 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42565 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42566 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42567 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42568 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42569 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42570 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42572 2011-10-28 Andreas Schwab <schwab@redhat.com>
42574 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42575 redefine if SHARED.
42576 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42579 wide char related routines to wcsmbs subdir.
42581 2011-10-27 Andreas Schwab <schwab@redhat.com>
42584 * misc/sys/cdefs.h (__THROWNL): Define.
42585 * posix/unistd.h: Use __THREADNL instead of __THREAD
42586 for memory synchronization functions.
42588 2011-10-26 Roland McGrath <roland@hack.frob.com>
42591 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42593 * manual/stdio.texi (Obstack Streams): Node removed.
42595 2011-10-26 Andreas Schwab <schwab@redhat.com>
42597 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42598 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42599 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42601 * math/math_private.h (math_force_eval): Allow non-addressable
42603 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42605 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42607 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42608 file is not needed.
42610 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42611 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42612 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42613 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42614 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42615 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42616 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42617 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42619 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42620 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42621 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42622 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42623 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42624 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42625 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42626 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42627 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42628 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42629 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42630 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42631 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42632 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42633 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42634 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42635 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42636 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42637 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42639 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42640 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42642 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42643 place. Use VEX encoding when compiling for AVX.
42645 2011-10-25 Andreas Schwab <schwab@redhat.com>
42647 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42648 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42650 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42652 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42654 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42655 useless if() expression.
42656 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42657 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42658 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42659 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42660 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42664 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42665 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42666 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42667 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42668 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42669 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42670 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42671 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42672 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42673 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42674 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42676 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42678 2011-10-25 Andreas Schwab <schwab@redhat.com>
42680 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42682 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42684 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42686 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42687 .text section. Avoid duplicate constants.
42688 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42689 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42690 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42692 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42694 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42696 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42697 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42698 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42699 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42700 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42701 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42702 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42703 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42704 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42705 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42706 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42707 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42708 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42709 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42710 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42711 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42712 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42713 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42714 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42715 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42716 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42717 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42718 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42719 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42720 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42721 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42722 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42723 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42724 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42725 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42726 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42727 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42728 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42729 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42730 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42731 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42732 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42734 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42736 * sysdeps/x86_64/dla.h: Move to ...
42737 * sysdeps/x86_64/fpu/dla.h: ...here.
42738 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42739 situations. Use __builtin_fma only for gcc 4.6 and up.
42741 * config.make.in: Add have-mfma4 entry.
42742 * configure.in: Substitute libc_cv_cc_fma4.
42743 * math/Makefile (dbl-only-routines): Add sincostab.
42744 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42745 Use __sincostab not sincos.
42746 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42748 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42751 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42753 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42754 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42755 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42756 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42758 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42759 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42761 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42762 define aliases when function name is a macro.
42763 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42764 sysdeps/ieee754/dbl-64/sincos.tbl.
42765 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42766 fma4-enabled routines.
42767 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42768 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42769 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42770 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42771 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42772 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42773 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42774 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42775 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42776 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42777 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42778 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42779 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42780 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42781 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42782 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42783 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42784 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42785 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42786 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42787 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42788 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42789 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42790 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42791 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42792 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42793 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42794 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42795 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42796 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42798 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42803 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42804 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42805 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42806 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42807 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42809 2011-10-24 Andreas Schwab <schwab@redhat.com>
42811 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42813 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42815 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42817 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42819 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42821 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42822 Remove unused variable magic_bits.
42823 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42825 * string/strnlen.c: Define and use STRNLEN macro.
42826 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42827 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42828 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42829 * wcsmbs/wcslen.c: Define and use WCSLEN.
42830 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42831 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42832 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42833 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42834 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42835 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42836 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42838 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42841 strnlen-sse2-no-bsf.
42842 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42843 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42844 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42845 Add strnlen support.
42846 (USE_AS_STRNLEN): New macro.
42847 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42848 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42849 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42850 * sysdeps/x86_64/wcslen.S: New file.
42852 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42855 XMM-moves are used for copying on small sizes.
42857 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42859 * wcsmbs/Makefile (strop-tests): Add wcschr.
42860 * wcsmbs/test-wcschr.c: New file.
42861 * string/test-strchr.c: Update.
42862 Add wcschr support.
42865 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42867 * wcsmbs/Makefile (strop-tests): Add wcslen.
42868 * wcsmbs/test-wcslen.c: New file.
42869 * string/test-strlen.c: Update.
42870 Add wcslen support.
42873 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42875 * po/it.po: Update from translation team.
42877 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42879 * sysdeps/x86_64/wcscmp.S: Update.
42880 Fix wrong comparison semantics.
42881 wcscmp shall use signed comparison not unsigned.
42882 Don't use substraction to avoid overflow bug.
42883 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42884 * wcsmbc/wcscmp.c: Likewise.
42885 * string/test-strcmp.c: Likewise.
42886 Add new tests to check cases with negative values.
42888 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42890 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42891 * sysdeps/x86_64/dla.h: ...here. New file.
42892 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42893 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42894 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42895 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42896 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42897 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42902 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42904 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42905 __ynl_finite aliases.
42907 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42911 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42913 [DLA_FMA] (EMULV): Use DLA_FMA.
42914 [DLA_FMA] (MUL12): Use EMULV.
42915 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42916 that are not needed.
42917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42925 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42927 * math/s_nan.c: Undef __nan.
42928 * math/s_nanf.c: Undef __nanf.
42929 * math/s_nanl.c: Undef __nanl.
42930 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42933 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42935 * math/s_catan.c: Add branch predictions.
42936 * math/s_catanf.c: Likewise.
42937 * math/s_catanh.c: Likewise.
42938 * math/s_catanhf.c: Likewise.
42939 * math/s_catanhl.c: Likewise.
42940 * math/s_catanl.c: Likewise.
42941 * math/s_cexp.c: Likewise.
42942 * math/s_cexpf.c: Likewise.
42943 * math/s_cexpl.c: Likewise.
42944 * math/s_clog.c: Likewise.
42945 * math/s_clog10.c: Likewise.
42946 * math/s_clog10f.c: Likewise.
42947 * math/s_clog10l.c: Likewise.
42948 * math/s_clogf.c: Likewise.
42949 * math/s_clogl.c: Likewise.
42950 * math/s_csqrt.c: Likewise.
42951 * math/s_csqrtf.c: Likewise.
42952 * math/s_csqrtl.c: Likewise.
42953 * math/s_ctanf.c: Likewise.
42954 * math/s_ctanh.c: Likewise.
42955 * math/s_ctanhf.c: Likewise.
42956 * math/s_ctanhl.c: Likewise.
42957 * math/s_ctanl.c: Likewise.
42959 * math/math_private.h: Define __nan, __nanf, __nanl.
42960 * math/s_cacosh.c: Include <math_private.h>.
42961 * math/s_cacoshl.c: Likewise.
42962 * math/s_casinh.c: Likewise.
42963 * math/s_casinhf.c: Likewise.
42964 * math/s_casinhl.c: Likewise.
42965 * math/s_ccos.c: Rely entire on ccosh.
42966 * math/s_ccosf.c: Rely entire on ccoshf.
42967 * math/s_ccosl.c: Rely entirely on ccoshl.
42968 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42969 Remove tests for FE_INVALID.
42970 * math/s_ccoshf.c: Likewise.
42971 * math/s_ccoshl.c: Likewise.
42972 * math/s_csin.c: Likewise.
42973 * math/s_csinf.c: Likewise.
42974 * math/s_csinh.c Likewise.
42975 * math/s_csinhf.c: Likewise.
42976 * math/s_csinhl.c: Likewise.
42977 * math/s_csinl.c: Likewise.
42978 * math/s_ctan.c: Likewise.
42979 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42980 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42981 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42983 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42986 compilation problems.
42988 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42991 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42993 * sysdeps/i386/configure.in: Test for -mfma4 option.
42994 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42995 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42996 COMMON_CPUID_INDEX_80000001.
42997 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42998 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42999 use it if FMA3 is not supported.
43000 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43002 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43003 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43005 2011-10-20 Andreas Schwab <schwab@redhat.com>
43008 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43009 it would create a cycle with a link time dependency.
43011 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43013 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43015 * string/Makefile (strop-tests): Add rawmemchr.
43016 * string/test-rawmemchr.c: New file.
43018 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43019 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43020 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43021 when compiling str{,n}casecmp and when AVX is available. Hook up
43022 new optimized code in initializers.
43024 2011-10-19 Andreas Schwab <schwab@redhat.com>
43026 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43027 __feraiseexcept instead of feraiseexcept.
43029 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43031 * math/math_private.h: Define defaults for libc_fetestexcept and
43033 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43034 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43035 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43036 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43037 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43038 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43039 libc_fetestexcept and libc_feupdateenv.
43041 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43042 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43043 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43044 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43045 libc_feholdexcept_setround.
43047 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43048 Add s_nearbyint-c and s_nearbyintf-c.
43049 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43050 nearbyintf inlines.
43051 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43052 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43053 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43054 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43056 * math/math_private.h: Define defaults for libc_fegetround,
43057 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43058 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43059 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43060 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43061 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43062 standard functions.
43063 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43064 Remove comments and hacks for old compiler versions.
43065 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43066 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43067 libc_feholdexceptl.
43069 2011-10-18 Andreas Schwab <schwab@redhat.com>
43071 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43072 (__feraiseexcept_renamed): Add __NTH.
43073 (feraiseexcept): Add __NTH. Rename local variables to fix
43074 namespace violations.
43076 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43078 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43080 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43082 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43083 recently added interfaces.
43084 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43086 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43087 about macro parameter expansion.
43089 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43090 __NO_MATH_INLINES is defined. Cleanups.
43092 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43093 and __floorf is target has SSE4.1.
43094 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43095 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43096 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43097 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43099 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43101 (floorf): Likewise.
43103 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43105 2011-10-17 Andreas Schwab <schwab@redhat.com>
43107 * misc/sys/cdefs.h: Fix last change.
43109 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43112 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43114 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43116 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43118 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43119 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43120 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43121 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43122 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43123 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43124 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43125 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43126 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43127 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43128 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43129 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43130 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43131 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43132 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43133 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43134 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43135 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43136 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43137 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43139 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43140 ceil, ceilf, floor, floorf.
43142 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43143 Perform IRELATIVE relocations last.
43145 * elf/do-rel.h: Add another parameter nrelative, replacing the
43146 local variable with the same name. Change name of the function
43147 to end in Rel or Rela (uppercase).
43148 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43149 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43150 elf_dynamic_do_##reloc function.
43152 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43154 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43155 is sufficient, at least on modern CPUs.
43157 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43159 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43160 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43162 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43164 * math/bits/math-finite.h: Add entries for exp.
43165 * math/e_expl.c: Add __*_finite alias.
43166 * sysdeps/i386/fpu/e_exp.S: Likewise.
43167 * sysdeps/i386/fpu/e_expf.S: Likewise.
43168 * sysdeps/i386/fpu/e_expl.c: Likewise.
43169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43170 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43171 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43172 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43173 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43174 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43175 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43177 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43178 is sufficient, at least on modern CPUs.
43180 * ctype/ctype-info.c (__ctype_init): Define.
43181 * include/ctype.h (__ctype_init): Declare.
43182 (__ctype_b_loc): The variable is always initialized.
43183 (__ctype_toupper_loc): Likewise.
43184 (__ctype_tolower_loc): Likewise.
43185 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43186 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43188 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43190 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43192 * configure.in: Also look in $cxxmachine/include for C++ system
43195 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43197 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43198 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43199 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43200 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43201 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43202 (USE_AS_WMEMCMP): New macro.
43204 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43205 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43206 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43207 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43208 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43209 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43210 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43211 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43212 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43213 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43214 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43215 (USE_AS_WMEMCMP): New macro.
43216 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43217 * sysdeps/string/test-memcmp.c: Update.
43218 Fix simple_wmemcmp.
43220 * wcsmbs/wmemcmp.c: Update.
43221 (WMEMCMP): New macro.
43224 2011-10-12 Andreas Jaeger <aj@suse.de>
43227 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43229 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43231 * libio/iofwide.c (do_length): Avoid warning.
43233 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43235 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43237 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43239 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43240 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43241 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43242 * sysdeps/i386/i686/fpu/e_log.S: New file.
43243 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43244 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43246 * ctype/ctype.h: Add support for inlined isXXX functions when
43247 compiling C++ code.
43249 2011-10-14 Andreas Schwab <schwab@redhat.com>
43251 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43253 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43255 2011-10-13 Roland McGrath <roland@hack.frob.com>
43258 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43260 2011-10-13 Andreas Schwab <schwab@redhat.com>
43262 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43263 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43266 * sysdeps/x86_64/memrchr.S: Check for zero size.
43268 * string/stratcliff.c: Add memrchr tests.
43270 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43273 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43274 rawmemchr-sse2 rawmemchr-sse2-bsf.
43275 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43276 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43277 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43278 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43279 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43280 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43281 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43282 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43283 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43284 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43285 * string/memrchr.c (MEMRCHR): New macro.
43287 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43289 Add integration with gcc's -ffinite-math-only and optimize wrapper
43291 * Versions.def: Define GLIBC_2.15 version for libm.
43292 * math/Makefile (headers): Add bits/math-finite.h.
43293 * math/bits/math-finite.h: New file.
43294 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43295 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43296 * math/e_acoshl.c: Add __*_finite alias.
43297 * math/e_acosl.c: Likewise.
43298 * math/e_asinl.c: Likewise.
43299 * math/e_atan2l.c: Likewise.
43300 * math/e_atanhl.c: Likewise.
43301 * math/e_coshl.c: Likewise.
43302 * math/e_exp10.c: Likewise.
43303 * math/e_exp10f.c: Likewise.
43304 * math/e_exp10l.c: Likewise.
43305 * math/e_exp2l.c: Likewise.
43306 * math/e_fmodl.c: Likewise.
43307 * math/e_gammal_r.c: Likewise.
43308 * math/e_hypotl.c: Likewise.
43309 * math/e_j0l.c: Likewise.
43310 * math/e_j1l.c: Likewise.
43311 * math/e_jnl.c: Likewise.
43312 * math/e_lgammal_r.c: Likewise.
43313 * math/e_log10l.c: Likewise.
43314 * math/e_log2l.c: Likewise.
43315 * math/e_logl.c: Likewise.
43316 * math/e_powl.c: Likewise.
43317 * math/e_sinhl.c: Likewise.
43318 * math/e_sqrtl.c: Likewise.
43319 * math/e_scalb.c: Completely rewritten and optimized.
43320 * math/e_scalbf.c: Likewise.
43321 * math/e_scalbl.c: Likewise.
43322 * math/w_acos.c: Likewise.
43323 * math/w_acosf.c: Likewise.
43324 * math/w_acosl.c: Likewise.
43325 * math/w_acosh.c: Likewise.
43326 * math/w_acoshf.c: Likewise.
43327 * math/w_acoshl.c: Likewise.
43328 * math/w_asin.c: Likewise.
43329 * math/w_asinf.c: Likewise.
43330 * math/w_asinl.c: Likewise.
43331 * math/w_atan2.c: Likewise.
43332 * math/w_atan2f.c: Likewise.
43333 * math/w_atan2l.c: Likewise.
43334 * math/w_atanh.c: Likewise.
43335 * math/w_atanhf.c: Likewise.
43336 * math/w_atanhl.c: Likewise.
43337 * math/w_exp10.c: Likewise.
43338 * math/w_exp10f.c: Likewise.
43339 * math/w_exp10l.c: Likewise.
43340 * math/w_fmod.c: Likewise.
43341 * math/w_fmodf.c: Likewise.
43342 * math/w_fmodl.c: Likewise.
43343 * math/w_j0.c: Likewise.
43344 * math/w_j0f.c: Likewise.
43345 * math/w_j0l.c: Likewise.
43346 * math/w_j1.c: Likewise.
43347 * math/w_j1f.c: Likewise.
43348 * math/w_j1l.c: Likewise.
43349 * math/w_jn.c: Likewise.
43350 * math/w_jnf.c: Likewise.
43351 * math/w_log.c: Likewise.
43352 * math/w_logf.c: Likewise.
43353 * math/w_logl.c: Likewise.
43354 * math/w_log10.c: Likewise.
43355 * math/w_log10f.c: Likewise.
43356 * math/w_log10l.c: Likewise.
43357 * math/w_log2.c: Likewise.
43358 * math/w_log2f.c: Likewise.
43359 * math/w_log2l.c: Likewise.
43360 * math/w_pow.c: Likewise.
43361 * math/w_powf.c: Likewise.
43362 * math/w_powl.c: Likewise.
43363 * math/w_remainder.c: Likewise.
43364 * math/w_remainderf.c: Likewise.
43365 * math/w_remainderl.c: Likewise.
43366 * math/w_scalb.c: Likewise.
43367 * math/w_scalbf.c: Likewise.
43368 * math/w_scalbl.c: Likewise.
43369 * math/w_sqrt.c: Likewise.
43370 * math/w_sqrtf.c: Likewise.
43371 * math/w_sqrtl.c: Likewise.
43372 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43373 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43375 * math/math_private.h: Declare __kernel_standard_f.
43376 * math/w_cosh.c: Remove cruft and optimize a bit.
43377 * math/w_coshf.c: Likewise.
43378 * math/w_coshl.c: Likewise.
43379 * math/w_exp2.c: Likewise.
43380 * math/w_exp2f.c: Likewise.
43381 * math/w_exp2l.c: Likewise.
43382 * math/w_hypot.c: Likewise.
43383 * math/w_hypotf.c: Likewise.
43384 * math/w_hypotl.c: Likewise.
43385 * math/w_lgamma.c: Likewise.
43386 * math/w_lgamma_r.c: Likewise.
43387 * math/w_lgammaf.c: Likewise.
43388 * math/w_lgammaf_r.c: Likewise.
43389 * math/w_lgammal.c: Likewise.
43390 * math/w_lgammal_r.c: Likewise.
43391 * math/w_sinh.c: Likewise.
43392 * math/w_sinhf.c: Likewise.
43393 * math/w_sinhl.c: Likewise.
43394 * math/w_tgamma.c: Likewise.
43395 * math/w_tgammaf.c: Likewise.
43396 * math/w_tgammal.c: Likewise.
43397 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43398 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43399 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43400 Minor optimizations. Pretty printing. Remove cruft.
43401 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43402 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43403 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43405 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43406 * sysdeps/i386/fpu/e_asin.S: Likewise.
43407 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43408 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43409 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43410 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43411 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43412 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43413 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43414 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43415 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43416 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43417 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43418 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43419 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43420 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43421 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43422 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43423 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43424 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43425 * sysdeps/i386/fpu/e_log.S: Likewise.
43426 * sysdeps/i386/fpu/e_log10.S: Likewise.
43427 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43428 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43429 * sysdeps/i386/fpu/e_log2.S: Likewise.
43430 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43431 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43432 * sysdeps/i386/fpu/e_logf.S: Likewise.
43433 * sysdeps/i386/fpu/e_logl.S: Likewise.
43434 * sysdeps/i386/fpu/e_pow.S: Likewise.
43435 * sysdeps/i386/fpu/e_powf.S: Likewise.
43436 * sysdeps/i386/fpu/e_powl.S: Likewise.
43437 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43438 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43439 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43440 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43441 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43442 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43443 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43444 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43445 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43446 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43447 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43448 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43449 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43450 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43451 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43452 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43453 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43454 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43455 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43456 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43457 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43459 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43460 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43462 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43463 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43464 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43466 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43467 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43468 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43469 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43470 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43471 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43472 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43473 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43474 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43475 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43476 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43477 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43478 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43479 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43480 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43481 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43482 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43483 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43484 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43485 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43486 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43487 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43488 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43489 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43490 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43491 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43492 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43493 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43494 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43495 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43496 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43497 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43498 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43499 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43500 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43501 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43502 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43503 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43504 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43505 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43506 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43507 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43508 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43509 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43510 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43511 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43512 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43513 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43514 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43515 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43516 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43517 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43518 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43519 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43520 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43521 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43522 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43523 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43524 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43525 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43526 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43527 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43528 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43529 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43530 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43531 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43532 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43533 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43534 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43535 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43536 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43537 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43538 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43539 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43540 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43541 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43542 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43543 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43544 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43545 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43546 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43547 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43548 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43549 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43550 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43551 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43552 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43553 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43554 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43555 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43556 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43557 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43558 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43559 (__isnanf): Likewise.
43560 (__isinf_ns): Likewise.
43561 (__isinf_nsf): Likewise.
43562 (__finite): Likewise.
43563 (__finitef): Likewise.
43564 (__ieee754_sqrt): Define as macro.
43565 (__ieee754_sqrtf): Define as macro.
43566 (__ieee754_sqrtl): Define as macro.
43567 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43569 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43570 __FINITE_MATH_ONLY__ consistent.
43571 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43573 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43575 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43578 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43580 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43582 * po/ja.po: Update from translation team.
43584 2011-10-08 Roland McGrath <roland@hack.frob.com>
43586 * locale/programs/locarchive.c (prepare_address_space): New function.
43587 (create_archive, enlarge_archive, open_archive): Use it.
43589 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43590 inside [SHARED], where it is used.
43592 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43594 * nss/getent.c (netgroup_keys): Remove unused variable.
43595 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43597 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43599 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43600 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43601 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43602 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43603 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43604 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43605 * math/Makefile (libm-calls): Add s_isinf_ns.
43606 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43607 * math/multc3.c: Likewise.
43608 * math/s_casin.c: Likewise.
43609 * math/s_casinf.c: Likewise.
43610 * math/s_casinl.c: Likewise.
43611 * math/s_ccos.c: Likewise.
43612 * math/s_ccosf.c: Likewise.
43613 * math/s_ccosl.c: Likewise.
43614 * math/s_ctan.c: Likewise.
43615 * math/s_ctanf.c: Likewise.
43616 * math/s_ctanh.c: Likewise.
43617 * math/s_ctanhf.c: Likewise.
43618 * math/s_ctanhl.c: Likewise.
43619 * math/s_ctanl.c: Likewise.
43620 * math/w_fmod.c: Likewise.
43621 * math/w_fmodf.c: Likewise.
43622 * math/w_fmodl.c: Likewise.
43623 * math/w_remainder.c: Likewise.
43624 * math/w_remainderf.c: Likewise.
43625 * math/w_remainderl.c: Likewise.
43626 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43627 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43628 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43630 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43631 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43632 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43633 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43635 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43637 * stdio-common/printf_fphex.c: Likewise.
43638 * stdio-common/printf_size.c: Likewise.
43640 * math/e_exp10.c: Include math_private.h using <...> not "...".
43641 * math/e_exp10f.c: Likewise.
43642 * math/e_exp10l.c: Likewise.
43643 * math/e_exp2l.c: Likewise.
43644 * math/e_j0l.c: Likewise.
43645 * math/e_j1l.c: Likewise.
43646 * math/e_jnl.c: Likewise.
43647 * math/e_lgammal_r.c: Likewise.
43648 * math/e_rem_pio2l.c: Likewise.
43649 * math/e_scalb.c: Likewise.
43650 * math/e_scalbf.c: Likewise.
43651 * math/e_scalbl.c: Likewise.
43652 * math/k_cosl.c: Likewise.
43653 * math/k_sinl.c: Likewise.
43654 * math/k_tanl.c: Likewise.
43655 * math/s_cacoshf.c: Likewise.
43656 * math/s_catan.c: Likewise.
43657 * math/s_catanf.c: Likewise.
43658 * math/s_catanh.c: Likewise.
43659 * math/s_catanhf.c: Likewise.
43660 * math/s_catanhl.c: Likewise.
43661 * math/s_catanl.c: Likewise.
43662 * math/s_ccosh.c: Likewise.
43663 * math/s_ccoshf.c: Likewise.
43664 * math/s_ccoshl.c: Likewise.
43665 * math/s_cexp.c: Likewise.
43666 * math/s_cexpf.c: Likewise.
43667 * math/s_cexpl.c: Likewise.
43668 * math/s_clog.c: Likewise.
43669 * math/s_clog10.c: Likewise.
43670 * math/s_clog10f.c: Likewise.
43671 * math/s_clog10l.c: Likewise.
43672 * math/s_clogf.c: Likewise.
43673 * math/s_clogl.c: Likewise.
43674 * math/s_csin.c: Likewise.
43675 * math/s_csinf.c: Likewise.
43676 * math/s_csinh.c: Likewise.
43677 * math/s_csinhf.c: Likewise.
43678 * math/s_csinhl.c: Likewise.
43679 * math/s_csinl.c: Likewise.
43680 * math/s_csqrt.c: Likewise.
43681 * math/s_csqrtf.c: Likewise.
43682 * math/s_csqrtl.c: Likewise.
43683 * math/s_ctan.c: Likewise.
43684 * math/s_ctanf.c: Likewise.
43685 * math/s_ctanh.c: Likewise.
43686 * math/s_ctanhf.c: Likewise.
43687 * math/s_ctanhl.c: Likewise.
43688 * math/s_ctanl.c: Likewise.
43689 * math/s_ldexp.c: Likewise.
43690 * math/s_ldexpf.c: Likewise.
43691 * math/s_ldexpl.c: Likewise.
43692 * math/s_significand.c: Likewise.
43693 * math/s_significandf.c: Likewise.
43694 * math/s_significandl.c: Likewise.
43695 * math/w_acos.c: Likewise.
43696 * math/w_acosf.c: Likewise.
43697 * math/w_acosh.c: Likewise.
43698 * math/w_acoshf.c: Likewise.
43699 * math/w_acoshl.c: Likewise.
43700 * math/w_acosl.c: Likewise.
43701 * math/w_asin.c: Likewise.
43702 * math/w_asinf.c: Likewise.
43703 * math/w_asinl.c: Likewise.
43704 * math/w_atan2.c: Likewise.
43705 * math/w_atan2f.c: Likewise.
43706 * math/w_atan2l.c: Likewise.
43707 * math/w_atanh.c: Likewise.
43708 * math/w_atanhf.c: Likewise.
43709 * math/w_atanhl.c: Likewise.
43710 * math/w_cosh.c: Likewise.
43711 * math/w_coshf.c: Likewise.
43712 * math/w_coshl.c: Likewise.
43713 * math/w_dremf.c: Likewise.
43714 * math/w_exp10.c: Likewise.
43715 * math/w_exp10f.c: Likewise.
43716 * math/w_exp10l.c: Likewise.
43717 * math/w_exp2.c: Likewise.
43718 * math/w_exp2f.c: Likewise.
43719 * math/w_fmod.c: Likewise.
43720 * math/w_fmodf.c: Likewise.
43721 * math/w_fmodl.c: Likewise.
43722 * math/w_hypot.c: Likewise.
43723 * math/w_hypotf.c: Likewise.
43724 * math/w_hypotl.c: Likewise.
43725 * math/w_j0.c: Likewise.
43726 * math/w_j0f.c: Likewise.
43727 * math/w_j0l.c: Likewise.
43728 * math/w_j1.c: Likewise.
43729 * math/w_j1f.c: Likewise.
43730 * math/w_j1l.c: Likewise.
43731 * math/w_jn.c: Likewise.
43732 * math/w_jnf.c: Likewise.
43733 * math/w_jnl.c: Likewise.
43734 * math/w_lgamma.c: Likewise.
43735 * math/w_lgamma_r.c: Likewise.
43736 * math/w_lgammaf.c: Likewise.
43737 * math/w_lgammaf_r.c: Likewise.
43738 * math/w_lgammal.c: Likewise.
43739 * math/w_lgammal_r.c: Likewise.
43740 * math/w_log.c: Likewise.
43741 * math/w_log10.c: Likewise.
43742 * math/w_log10f.c: Likewise.
43743 * math/w_log10l.c: Likewise.
43744 * math/w_log2.c: Likewise.
43745 * math/w_log2f.c: Likewise.
43746 * math/w_log2l.c: Likewise.
43747 * math/w_logf.c: Likewise.
43748 * math/w_logl.c: Likewise.
43749 * math/w_pow.c: Likewise.
43750 * math/w_powf.c: Likewise.
43751 * math/w_powl.c: Likewise.
43752 * math/w_remainder.c: Likewise.
43753 * math/w_remainderf.c: Likewise.
43754 * math/w_remainderl.c: Likewise.
43755 * math/w_scalb.c: Likewise.
43756 * math/w_scalbf.c: Likewise.
43757 * math/w_scalbl.c: Likewise.
43758 * math/w_sinh.c: Likewise.
43759 * math/w_sinhf.c: Likewise.
43760 * math/w_sinhl.c: Likewise.
43761 * math/w_sqrt.c: Likewise.
43762 * math/w_sqrtf.c: Likewise.
43763 * math/w_sqrtl.c: Likewise.
43764 * math/w_tgamma.c: Likewise.
43765 * math/w_tgammaf.c: Likewise.
43766 * math/w_tgammal.c: Likewise.
43768 * po/ja.po: Update from translation team.
43770 2011-09-29 Andreas Jaeger <aj@suse.de>
43773 * sunrpc/netname.c (netname2host): Fix logic.
43777 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43779 * math/w_remainder.c (__remainder): Likewise.
43780 * math/w_remainderf.c (__remainderf): Likewise.
43781 * math/libm-test.inc (remainder_test): Add test cases.
43783 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43785 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43788 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43790 * string/test-memcmp.c: Avoid unncessary #defines.
43791 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43793 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43795 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43796 Use new sse2 version for core i3 - i7 as it's faster
43797 than sse42 version.
43798 (bit_Prefer_PMINUB_for_stringop): New.
43799 * sysdeps/x86_64/rawmemchr.S: Update.
43800 Replace with faster SSE2 version.
43801 * sysdeps/x86_64/memrchr.S: New file.
43802 * sysdeps/x86_64/memchr.S: Update.
43803 Replace with faster SSE2 version.
43805 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43807 * elf/dl-load.c (lose): Add cast to avoid warning.
43809 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43811 * po/ca.po: Update from translation team.
43813 * inet/getnetgrent_r.c: Hook up nscd.
43814 * nscd/Makefile (routines): Add nscd_netgroup.
43815 (nscd-modules): Add netgroupcache.
43816 (CFLAGS-netgroupcache.c): Define.
43817 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43818 (cache_search): Add const to second parameter.
43819 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43821 (dbs): Add netgrdb entry.
43822 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43823 (verify_persistent_db): Handle netgrdb.
43824 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43825 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43827 (netgroup_response_header): Define.
43828 (innetgroup_response_header): Define.
43829 (datahead): Add netgroup_response_header and innetgroup_response_header
43831 * nscd/nscd.conf: Add entries for netgroup cache.
43832 * nscd/nscd.h (dbtype): Add netgrdb.
43833 (_PATH_NSCD_NETGROUP_DB): Define.
43834 (netgroup_iov_disabled): Declare.
43835 (xmalloc, xcalloc, xrealloc): Move declarations here.
43836 (cache_search): Adjust prototype.
43837 Add netgroup-related prototypes.
43838 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43839 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43840 (__nscd_innetgr): Declare.
43841 * nscd/selinux.c (perms): Use access_vector_t as element type and
43842 add netgroup-related initializers.
43843 * nscd/netgroupcache.c: New file.
43844 * nscd/nscd_netgroup.c: New file.
43845 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43846 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43847 For four parameters use innetgr.
43848 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43849 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43850 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43851 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43853 * nscd/connections.c (register_traced_file): Don't register file
43854 for disabled databases.
43856 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43858 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43860 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43861 from tree and freeing node.
43863 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43865 * nss/nsswitch.c (__nss_database_lookup): Handle
43866 nss_parse_service_list out of memory case.
43868 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43870 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43871 out of memory case.
43873 2011-10-04 Andreas Schwab <schwab@redhat.com>
43875 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43876 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43878 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43879 elf_machine_rela, elf_machine_lazy_rel.
43880 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43881 (ELF_DYNAMIC_DO_REL): Likewise.
43882 (ELF_DYNAMIC_DO_RELA): Likewise.
43883 (ELF_DYNAMIC_RELOCATE): Likewise.
43884 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43885 to ELF_DYNAMIC_DO_REL.
43886 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43887 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43888 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43890 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43891 skip_ifunc, don't call ifunc function if non-zero.
43892 (elf_machine_rela): Likewise.
43893 (elf_machine_lazy_rel): Likewise.
43894 (elf_machine_lazy_rela): Likewise.
43895 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43896 (elf_machine_lazy_rel): Likewise.
43897 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43899 (elf_machine_lazy_rel): Likewise.
43900 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43902 (elf_machine_lazy_rel): Likewise.
43903 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43904 (elf_machine_lazy_rel): Likewise.
43905 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43906 (elf_machine_lazy_rel): Likewise.
43907 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43908 (elf_machine_lazy_rel): Likewise.
43909 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43910 (elf_machine_lazy_rel): Likewise.
43911 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43912 (elf_machine_lazy_rel): Likewise.
43913 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43914 (elf_machine_lazy_rel): Likewise.
43916 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43918 * nss/nss_files/files-init.c (_nss_files_init): Use static
43919 initialization for all the *_traced_file variables.
43921 2011-09-28 Andreas Schwab <schwab@redhat.com>
43923 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43925 2011-09-27 Roland McGrath <roland@hack.frob.com>
43928 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43930 2011-09-27 Andreas Schwab <schwab@redhat.com>
43932 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43933 Reread the line before reparsing it.
43935 2011-09-26 Andreas Schwab <schwab@redhat.com>
43937 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43939 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43940 Maxim Kuvyrkov <maxim@codesourcery.com>
43941 Joseph Myers <joseph@codesourcery.com>
43943 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43944 if needed for __stack_chk_guard.
43946 2011-09-19 Roland McGrath <roland@hack.frob.com>
43948 * sysdeps/posix/spawni.c (script_execute): Always define it.
43949 It will be optimized away if unused.
43950 (maybe_script_execute): New function.
43951 (__spawni): Call it.
43953 * Makerules: Don't include tls.make.
43954 (config-tls): Always set to thread.
43955 * tls.make.c: File removed.
43957 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43959 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43960 * config.make.in (CPPFLAGS-config): New substituted variable.
43962 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43964 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43967 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43968 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43970 2011-09-15 Roland McGrath <roland@hack.frob.com>
43972 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43973 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43974 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43975 (CALL_FAIL): Likewise.
43976 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43977 (CALL_FAIL): Macro removed.
43978 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43980 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43982 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43983 for __FINITE_MATH_ONLY__ == 1.
43985 2011-09-15 Andreas Schwab <schwab@redhat.com>
43987 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43988 __ieee754_sqrt instead of sqrt.
43989 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43990 __ieee754_sqrtf instead of sqrtf.
43991 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43992 __floorf instead of floorf.
43993 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43994 __floorf, __truncf instead of floorf, truncf.
43996 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43998 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44000 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44001 __extern_always_inline.
44002 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44005 2011-09-14 Andreas Schwab <schwab@redhat.com>
44007 * elf/rtld.c (dl_main): Also relocate in dependency order when
44008 doing symbol dependency testing.
44010 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44013 Always define `refsym'.
44015 2011-09-13 Andreas Schwab <schwab@redhat.com>
44017 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44018 (__FD_ELT): Renamed from __FDELT.
44019 * misc/bits/select2.h (__FD_ELT): Likewise.
44020 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44021 __FD_MASK instead of __FDELT, __FDMASK.
44022 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44024 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44027 * elf/Makefile (gen-ldd): Fix pattern.
44029 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44030 (init_tls): Likewise.
44032 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44034 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44036 2011-09-12 Andreas Schwab <schwab@redhat.com>
44038 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44039 `struct cmsghdr *' instead of `void *'.
44040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44043 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44045 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44047 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44048 ldd_rewrite_script.
44050 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44052 * configure.in: Remove --with-tls option.
44053 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44054 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44055 out in case it is missing.
44056 * sysdeps/ia64/elf/configure.in: Likewise.
44057 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44058 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44059 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44060 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44061 * sysdeps/sh/elf/configure.in: Likewise.
44062 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44063 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44064 * sysdeps/x86_64/elf/configure.in: Likewise.
44065 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44066 * sysdeps/mach/hurd/tls.h: Likewise.
44069 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44072 * configure.in: Fix use of AC_INIT.
44074 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44076 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44078 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44080 * malloc/hooks.c: Likewise.
44083 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44084 variables statically.
44085 (narenas): Initialize.
44086 (list_lock): Initialize.
44087 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44088 initializtion of main_arena and list_lock. Small cleanups.
44089 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44090 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44091 Add initializers to main_arena and mp_.
44092 (malloc_state): Remove pagesize member. Change all users to use
44095 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44096 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44097 is always initialized.
44099 * malloc/malloc.c: Removed unused configurations and dead code.
44100 * malloc/arena.c: Likewise.
44101 * malloc/hooks.c: Likewise.
44102 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44104 * include/tls.h: Removed. USE___THREAD must always be defined.
44105 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44106 * elf/dl-libc.c: Likewise.
44107 * elf/dl-tsd.c: Likewise.
44108 * include/errno.h: Likewise.
44109 * include/netdb.h: Likewise.
44110 * include/resolv.h: Likewise.
44111 * inet/herrno-loc.c: Likewise.
44112 * inet/herrno.c: Likewise.
44113 * malloc/arena.c: Likewise.
44114 * malloc/hooks.c: Likewise.
44115 * malloc/malloc.c: Likewise.
44116 * resolv/res-state.c: Likewise.
44117 * resolv/res_libc.c: Likewise.
44118 * sysdeps/i386/dl-machine.h: Likewise.
44119 * sysdeps/ia64/dl-machine.h: Likewise.
44120 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44121 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44122 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44123 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44124 * sysdeps/sh/dl-machine.h: Likewise.
44125 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44126 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44127 * sysdeps/unix/i386/sysdep.S: Likewise.
44128 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44129 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44131 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44132 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44133 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44134 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44138 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44139 * sysdeps/x86_64/dl-machine.h: Likewise.
44140 * tls.make.c: Likewise.
44142 * configure.in: Remove --with-__thread option. Make tests for
44143 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44144 tls_model attribute fail if no support is available. Remove
44146 * Makeconfig: Adjust for dropped configure option. All features are
44148 * Makerules: Likewise.
44149 * Versions.def: Likewise.
44150 * argp/argp-fmtstream.c: Likewise.
44151 * argp/argp-fmtstream.h: Likewise.
44152 * argp/argp-help.c: Likewise.
44153 * assert/assert.c: Likewise.
44154 * config.h.in: Likewise.
44155 * config.make.in: Likewise.
44156 * configure: Likewise.
44157 * configure.in: Likewise.
44158 * csu/Versions: Likewise.
44159 * csu/init.c: Likewise.
44160 * elf/tst-audit2.c: Likewise.
44161 * elf/tst-tls10.c: Likewise.
44162 * elf/tst-tls10.h: Likewise.
44163 * elf/tst-tls11.c: Likewise.
44164 * elf/tst-tls12.c: Likewise.
44165 * elf/tst-tls14.c: Likewise.
44166 * elf/tst-tlsmod11.c: Likewise.
44167 * elf/tst-tlsmod12.c: Likewise.
44168 * elf/tst-tlsmod13.c: Likewise.
44169 * elf/tst-tlsmod13a.c: Likewise.
44170 * elf/tst-tlsmod14a.c: Likewise.
44171 * elf/tst-tlsmod15b.c: Likewise.
44172 * elf/tst-tlsmod16a.c: Likewise.
44173 * elf/tst-tlsmod16b.c: Likewise.
44174 * elf/tst-tlsmod7.c: Likewise.
44175 * elf/tst-tlsmod8.c: Likewise.
44176 * elf/tst-tlsmod9.c: Likewise.
44177 * gmon/gmon.c: Likewise.
44178 * grp/fgetgrent_r.c: Likewise.
44179 * grp/putgrent.c: Likewise.
44180 * hurd/fopenport.c: Likewise.
44181 * include/libc-symbols.h: Likewise.
44182 * include/tls.h: Likewise.
44183 * intl/gettextP.h: Likewise.
44184 * intl/loadinfo.h: Likewise.
44185 * locale/global-locale.c: Likewise.
44186 * locale/localeinfo.h: Likewise.
44187 * mach/devstream.c: Likewise.
44188 * malloc/arena.c: Likewise.
44189 * malloc/set-freeres.c: Likewise.
44190 * misc/err.c: Likewise.
44191 * misc/getttyent.c: Likewise.
44192 * misc/mntent_r.c: Likewise.
44193 * posix/getopt.c: Likewise.
44194 * posix/wordexp.c: Likewise.
44195 * pwd/fgetpwent_r.c: Likewise.
44196 * resolv/Versions: Likewise.
44197 * resolv/res_hconf.c: Likewise.
44198 * shadow/fgetspent_r.c: Likewise.
44199 * shadow/putspent.c: Likewise.
44200 * stdio-common/printf_fphex.c: Likewise.
44201 * stdio-common/tmpfile.c: Likewise.
44202 * stdlib/abort.c: Likewise.
44203 * stdlib/fmtmsg.c: Likewise.
44204 * sunrpc/auth_unix.c: Likewise.
44205 * sunrpc/clnt_perr.c: Likewise.
44206 * sunrpc/clnt_tcp.c: Likewise.
44207 * sunrpc/clnt_udp.c: Likewise.
44208 * sunrpc/clnt_unix.c: Likewise.
44209 * sunrpc/openchild.c: Likewise.
44210 * sunrpc/svc_simple.c: Likewise.
44211 * sunrpc/svc_tcp.c: Likewise.
44212 * sunrpc/svc_udp.c: Likewise.
44213 * sunrpc/svc_unix.c: Likewise.
44214 * sunrpc/xdr.c: Likewise.
44215 * sunrpc/xdr_array.c: Likewise.
44216 * sunrpc/xdr_rec.c: Likewise.
44217 * sunrpc/xdr_ref.c: Likewise.
44218 * sunrpc/xdr_stdio.c: Likewise.
44220 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44222 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44224 2011-07-03 Andreas Jaeger <aj@suse.de>
44226 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44227 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44228 regenerate with gen-libm-tests.pl.
44230 2010-05-12 Petr Baudis <pasky@suse.cz>
44233 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44234 around j0() zero points by switching to j1().
44235 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44236 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44238 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44240 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44242 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44244 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44246 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44247 Patch in part by Pavel Roskin <proski@gnu.org>.
44250 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44252 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44253 Free memory block if necessary.
44256 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44257 be NULL. Don't lock in this case.
44259 2011-09-09 Roland McGrath <roland@hack.frob.com>
44261 * elf/elf.h (ELFOSABI_GNU): New macro.
44262 (ELFOSABI_LINUX): Define to that.
44264 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44266 * string/strncat.c (strncat): Undef the symbol in case it has been
44267 defined in bits/string.h.
44269 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44271 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44273 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44276 2011-08-17 Andreas Jaeger <aj@suse.de>
44278 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44280 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44281 Ian Lance Taylor <iant@google.com>
44283 * math/libm-test.inc (lround_test): New testcase.
44284 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44286 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44288 * Makefile: Remove support for automatic cvs check-ins.
44289 * Makerules: Likewise.
44290 * config.make.in: Likewise.
44291 * configure.in: Likewise.
44292 * intl/Makefile: Likewise.
44293 * locale/Makefile: Likewise.
44294 * po/Makefile: Likewise.
44295 * posix/Makefile: Likewise.
44296 * sysdeps/gnu/Makefile: Likewise.
44297 * sysdeps/mach/hurd/Makefile: Likewise.
44298 * sysdeps/sparc/sparc32/Makefile: Likewise.
44301 * posix/Makefile (bug-regex32-ENV): Define.
44302 Patch by John Stanley <jpsinthemix@verizon.net>.
44304 * misc/Makefile (headers): Add bits/select2.h.
44305 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44306 * misc/bits/select2.h: New file.
44307 * include/bits/select2.h: New file.
44308 * debug/Makefile (routines): Add fdelt_chk.
44309 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44310 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44312 * debug/fdelt_chk.c: New file.
44314 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44315 * wcsmbs/test-wmemcmp.c: Likewise.
44316 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44317 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44319 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44321 * string/Makefile (strop-tests): Add memcmp.
44322 * string/test-wmemcmp.c: New file.
44323 * string/test-memcmp.c: Add wmemcmp support.
44325 2011-09-08 Roland McGrath <roland@hack.frob.com>
44328 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44331 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44332 garbage value in a __mach_port_mod_refs call in the cases of the
44333 task-self and thread-self ports.
44335 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44337 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44339 2011-09-08 Andreas Schwab <schwab@redhat.com>
44341 * elf/dl-load.c (lose): Check for non-null L.
44343 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44345 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44347 * elf/dl-libc.c (dlerror_run): Pass back error code from
44351 * elf/dl-load.c (lose): Free l_origin if it is valid.
44353 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44355 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44356 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44357 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44358 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44359 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44360 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44362 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44364 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44365 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44366 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44367 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44368 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44369 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44370 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44371 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44372 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44373 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44375 2011-08-15 Alan Modra <amodra@gmail.com>
44378 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44379 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44380 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44381 ppc_mcount to static-only-routines.
44382 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44384 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44385 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44387 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44389 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44390 for finite and infinity parameters.
44392 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44395 and add nop instructions for throughput optimization.
44396 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44398 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44400 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44401 aligned copy for power7 with vector-scalar instructions.
44402 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44404 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44409 2011-09-07 Andreas Schwab <schwab@redhat.com>
44412 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44415 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44417 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44418 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44419 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44420 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44423 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44425 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44426 Forgot to demangle the pointer.
44428 * sysdeps/i386/sysdep.h: Define atom_text_section.
44429 * sysdeps/x86_64/sysdep.h: Likewise.
44430 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44431 section with atom_text_section.
44432 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44433 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44434 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44435 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44436 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44438 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44439 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44440 already be defined. Change to take two parameters and don't assign
44441 result to variable. Adjust all users.
44442 Define INTERNAL_GETTIME if not already defined.
44443 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44446 HAVE_CLOCK_GETTIME_VSYSCALL.
44447 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44450 gettimeofday vsyscall, just use time.
44452 2011-09-06 Andreas Schwab <schwab@redhat.com>
44454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44457 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44459 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44461 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44463 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44464 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44465 syscall if possible.
44467 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44469 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44470 e_ident. Don't pass to find_mapsXX.
44471 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44473 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44476 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44477 * sysdeps/x86_64/multiarch/strchr.S: Update.
44478 Check bit_slow_BSF bit.
44479 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44480 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44481 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44483 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44486 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44488 (tryshell): Define.
44489 (__spawni): Change last parameter to be flag. Test
44490 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44491 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44492 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44493 * posix/spawni.c: Likewise.
44494 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44495 * posix/spawnp.c: Likewise. Change normal version to use
44496 SPAWN_XFLAGS_USE_PATH.
44497 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44498 SPAWN_XFLAGS_TRY_SHELL.
44501 * posix/glob.h: Remove gcc 1.x support.
44504 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44506 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44509 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44511 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44512 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44513 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44514 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44515 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44516 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44518 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44520 * sysdeps/x86_64/wcscmp.S: New file.
44522 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44523 wcscmp-c wcscmp-sse2
44524 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44525 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44526 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44527 * wcsmbs/wcscmp.c: Allow renaming.
44529 2011-09-05 David S. Miller <davem@davemloft.net>
44531 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44532 stack slot, rather than the struct return pointer slot.
44533 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44534 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44536 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44538 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44540 * po/ja.po: Update from translation team.
44543 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44544 kernel in 64-bit binaries.
44546 2011-09-01 David S. Miller <davem@davemloft.net>
44548 * elf/elf.h (HWCAP_SPARC_*): Move to..
44549 * sysdeps/sparc/sysdep.h: this new file and add new values.
44550 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44551 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44552 _DL_HWCAP_COUNT to 24.
44553 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44555 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44556 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44557 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44559 instead of magic constants.
44560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44562 2011-08-31 David S. Miller <davem@davemloft.net>
44564 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44565 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44566 Reimplement to do errno handling inline.
44567 (SYSCALL_ERROR_HANDLER): New macro.
44568 (__SYSCALL_STRING): Do not do errno handling in asm.
44569 (__CLONE_SYSCALL_STRING): Delete.
44570 (__INTERNAL_SYSCALL_STRING): Delete.
44571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44572 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44573 (PSEUDO): Reimplement to do errno handling inline.
44574 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44575 (SYSCALL_ERROR_HANDLER): New macro.
44576 (__SYSCALL_STRING): Do not do errno handling in asm.
44577 (__CLONE_SYSCALL_STRING): Delete.
44578 (__INTERNAL_SYSCALL_STRING): Delete.
44579 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44580 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44582 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44583 (inline_syscall*): Add 'err' argument.
44584 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44585 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44586 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44587 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44589 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44590 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44592 2011-08-30 Andreas Schwab <schwab@redhat.com>
44594 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44596 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44598 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44601 2011-08-24 David S. Miller <davem@davemloft.net>
44603 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44605 2011-08-24 Andreas Schwab <schwab@redhat.com>
44607 * elf/Makefile: Add rules to build and run unload8 test.
44608 * elf/unload8.c: New file.
44609 * elf/unload8mod1.c: New file.
44610 * elf/unload8mod1x.c: New file.
44611 * elf/unload8mod2.c: New file.
44612 * elf/unload8mod3.c: New file.
44614 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44617 2011-08-23 David S. Miller <davem@davemloft.net>
44619 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44620 subtract stack bias.
44621 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44622 %sp not %fp in calculations.
44623 (_JMPBUF_UNWINDS_ADJ): Likewise.
44625 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44626 (aio_suspend): Call it to force an exception region around the
44627 AIO_MISC_WAIT() invocation.
44629 2011-08-23 Andreas Schwab <schwab@redhat.com>
44631 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44634 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44636 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44638 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44639 and <dl-machine.h>.
44640 (Elf64_FuncDesc): Remove.
44642 2011-08-22 David S. Miller <davem@davemloft.net>
44644 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44645 sigaltstack check, add missing cfi directives.
44646 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44647 missing cfi directives, and sigaltstack handling.
44649 2011-08-16 Andreas Schwab <schwab@redhat.com>
44652 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44653 object is seen twice.
44654 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44656 * elf/Makefile (distribute): Add tst-initorder2.c.
44657 (tests): Add tst-initorder2.
44658 (modules-names): Add tst-initorder2a tst-initorder2b
44659 tst-initorder2c tst-initorder2d. Add rules to build them.
44660 ($(objpfx)tst-initorder2.out): New rule.
44661 * elf/tst-initorder2.c: New file.
44662 * elf/tst-initorder2.exp: New file.
44664 2011-08-22 Andreas Schwab <schwab@redhat.com>
44666 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44668 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44669 dependencies back to end of function.
44671 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44672 $(elfobjdir)/ld.so.
44674 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44677 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44679 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44680 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44681 of __vdso_gettimeofday.
44682 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44683 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44685 (_libc_vdso_platform_setup): Remove initialization of
44686 __vdso_gettimeofday and __vdso_time.
44688 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44690 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44691 and fgetc_unlocked.
44692 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44695 * elf/dl-open.c (add_to_global): Report additions to the global scope
44696 for LD_DEBUG=scopes.
44697 (dl_open_worker): Also print scope of newly loaded dependencies.
44698 (_dl_show_scope): Indicate if there is no scope.
44701 * stdio-common/Makefile (tests): Add bug24.
44702 * stdio-common/bug24.c: New file.
44704 2011-08-19 Andreas Jaeger <aj@suse.de>
44707 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44708 non-existant file when using close-on-exec mode.
44710 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44712 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44713 the very first instruction.
44715 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44716 the CFI state in the end.
44717 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44718 inclusion of dl-trampoline.h.
44719 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44721 2011-08-19 Andreas Schwab <schwab@redhat.com>
44723 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44724 expectations for long double.
44726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44727 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44729 2011-08-14 David S. Miller <davem@davemloft.net>
44731 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44732 artificual limit depends upon the system page size.
44734 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44736 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44737 * resolv/Makefile: Define CFLAGS-libresolv.
44739 2011-08-17 Andreas Schwab <schwab@redhat.com>
44741 * nss/makedb.c (compute_tables): Make variables used in nested
44744 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44746 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44747 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44748 if buffer was too small.
44750 * elf/pldd.c (main): Attach to all threads in the process.
44751 Rewrite /proc handling to use *at functions.
44753 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44755 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44756 specifies first scope to show.
44757 (dl_open_worker): Update callers. Move printing scope of new
44758 object to before the relocation.
44759 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44760 * sysdeps/generic/ldsodefs.h: Update declaration.
44762 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44763 string for the scope number.
44765 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44767 * nscd/servicescache.c (cache_addserv): Make sure written is always
44770 2011-08-14 Roland McGrath <roland@hack.frob.com>
44772 * sysdeps/i386/i486/bits/atomic.h
44773 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44774 statement expression, so as to suppress "set but not used" warning.
44775 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44777 * string/strncat.c (STRNCAT): Use prototype definition.
44779 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44780 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44782 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44783 (localedef-modules): Add localedef.
44784 (locale-modules): Add locale.
44786 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44787 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44788 to avoid a warning.
44790 2011-08-14 David S. Miller <davem@davemloft.net>
44792 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44793 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44795 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44797 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44798 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44799 * elf/rtld.c (dl_main): Set l_name of vDSO.
44800 Call _dl_show_scope when DL_DEBUG_SCOPES.
44801 (process_dl_debug): Recognize scopes flag and also set it for all.
44802 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44803 Declare _dl_show_scope.
44805 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44806 (do_dlopen): Pass caller_dlopen to dl_open.
44807 (__libc_dlopen_mode): Initialize caller_dlopen.
44809 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44810 of libc. Make tolower call locale-independent. Optimize a bit by
44811 using isdigit instead of isalnum.
44812 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44814 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44816 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44817 was a dependency or dynamically loaded.
44819 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44821 * intl/l10nflist.c: Allow architecture-specific pop function.
44822 * sysdeps/x86_64/l10nflist.c: New file.
44824 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44827 2011-08-10 Andreas Schwab <schwab@redhat.com>
44829 * include/dirent.h: Add libc_hidden_proto for scandirat and
44830 scandirat64. Don't declare __scandirat64.
44831 * dirent/scandirat.c: Add libc_hidden_def.
44832 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44833 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44835 2011-08-10 David S. Miller <davem@davemloft.net>
44837 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44839 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44840 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44841 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44843 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44845 * Versions.def [libc]: Add GLIBC_2.15.
44846 * dirent/Makefile (routines): Add scandirat and scandirat64.
44847 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44849 * dirent/dirent.h: Declare scandirat and scandirat64.
44850 * dirent/scandirat.c: New file.
44851 * dirent/scandirat64.c: New file.
44852 * sysdeps/wordsize-64/scandirat.c: New file.
44853 * sysdeps/wordsize-64/scandirat64.c: New file.
44854 * dirent/opendir.c: Define opendirat.
44855 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44857 * dirent/scandir64.c: Adjust for scandir.c change.
44858 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44859 __scandirat64, and __scandir_cancel_handler.
44860 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44861 additional parameter and use openat instead of open (outside of ld.so).
44862 Add new __opendir as wrapper around __opendirat.
44863 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44864 here without requiring old scandirat implementation.
44866 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44868 * dirent/scandir.c (cancel_handler): Renamed to
44869 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44870 defined. Adjust users.
44871 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44872 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44874 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44876 * string/test-string.h (IMPL): Use __STRING to expand name and then
44879 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44882 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44884 * string/Makefile: Update.
44885 (strop-tests): Append strncat.
44886 * string/test-wcscmp.c: New file.
44887 New comprehensive test for wcscmp.
44888 * string/test-strcmp.c: Update.
44889 (WIDE): New define.
44891 2011-07-22 Andreas Schwab <schwab@redhat.com>
44893 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44896 2011-07-26 Andreas Schwab <schwab@redhat.com>
44898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44899 encoding to ACE if AI_IDN.
44901 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44904 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44906 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44908 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44909 Fix overflow bug in strncat.
44910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44912 * string/test-strncat.c: Update.
44913 Add new tests for checking overflow bugs.
44915 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44918 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44919 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44920 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44921 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44922 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44923 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44924 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44925 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44927 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44928 (USE_AS_STRCAT): Define.
44929 Add strcat and strncat support.
44930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44932 2011-07-25 Andreas Schwab <schwab@redhat.com>
44934 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44935 __n bigger than INT_MAX+1.
44936 (__strncmp_g): Likewise.
44938 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44940 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44941 * libio/stido.h: Likewise.
44943 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44948 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44949 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44950 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44951 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44952 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44955 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44960 (_dl_x86_64_save_sse): Likewise.
44962 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44966 (_dl_x86_64_save_sse): Likewise.
44968 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44970 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44972 2011-07-21 Andreas Schwab <schwab@redhat.com>
44974 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44976 (_dl_x86_64_save_sse): Use correct AVX check.
44978 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44980 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44981 bug in strncpy/strncat.
44982 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44984 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44986 * string/tester.c (test_strcat): Add tests for different alignments
44987 of source and destination.
44988 (test_strncat): Likewise.
44990 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44993 * posix/glob.c (glob): Check passed in values before using them in
44994 expressions to avoid some overflows.
44995 (glob_in_dir): Likewise.
44998 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44999 check for AVX enablement so that we don't crash with old kernels and
45001 * elf/tst-audit4.c: Add same checks here.
45002 * elf/tst-audit6.c: Likewise.
45004 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45006 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45008 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45010 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45012 * po/cs.po: Update from translation team.
45013 * po/bg.po: Likewise.
45015 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45017 * misc/sys/cdefs.h: Add support for const attribute.
45018 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45019 to gnu_dev_{major,minor,makedev} functions.
45021 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45023 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45025 2011-07-20 Andreas Schwab <schwab@redhat.com>
45027 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45030 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45032 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45033 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45034 register in order to avoid conflicts with the soft frame pointer
45035 being held in r11 when necessary.
45036 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45037 (INTERNAL_VSYSCALL_NCS): Likewise.
45039 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45041 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45042 * elf/dl-fini.c (_dl_fini): Adjust caller.
45043 * elf/dl-close.c (_dl_close_worker): Likewise.
45044 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45046 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45048 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45049 "aux_cache->nlibs < 0".
45051 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45052 in the reload-count case.
45054 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45057 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45058 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45059 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45060 * sysdeps/x86_64/multiarch/strcat.S: New file.
45061 * sysdeps/x86_64/multiarch/strncat.S: New file.
45062 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45063 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45064 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45065 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45066 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45067 (USE_AS_STRCAT): Define.
45068 Add strcat and strncat support.
45069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45071 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45072 * string/strncat.c: Update.
45073 (USE_AS_STRNCAT): Define.
45074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45075 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45077 * sysdeps/x86_64/multiarch/init-arch.h
45078 (bit_Prefer_PMINUB_for_stringop): New.
45079 (index_Prefer_PMINUB_for_stringop): Likewise.
45080 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45081 bit_Prefer_PMINUB_for_stringop.
45083 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45085 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45087 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45088 of casting of buffer.
45089 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45090 buffer32 and buffer64.
45091 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45092 writes instead of casting of buffer.
45093 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45095 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45098 2011-07-19 Andreas Schwab <schwab@redhat.com>
45100 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45102 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45104 * nscd/nscd.c (termination_handler): Don't do anything for a database
45105 if it has not yet been initialized.
45107 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45109 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45111 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45113 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45115 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45117 * po/nl.po: Update from translation team.
45118 * po/sv.po: Likewise.
45120 2011-07-16 Roland McGrath <roland@hack.frob.com>
45122 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45123 now disallowed by GCC.
45125 * configure.in (use-default-link): Default to yes if a test -shared
45126 link meets our qualifications.
45127 * configure: Regenerated.
45129 * config.make.in (output-format): New variable.
45130 * configure.in: Check for ld --print-output-format support.
45131 * configure: Regenerated.
45132 * Makerules ($(common-objpfx)format.lds)
45133 [$(output-format) != unknown]: Just use $(output-format),
45134 instead of the linker-script munging.
45136 2011-07-14 Roland McGrath <roland@hack.frob.com>
45138 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45139 of $(common-objpfx)shlib.lds.
45140 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45142 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45143 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45145 * configure.in (-z relro check): Adjust test code to add a large
45146 writable data section after it.
45147 * configure: Regenerated.
45149 2011-07-11 Roland McGrath <roland@hack.frob.com>
45151 * configure.in (-z relro check): Fix test code to make the variable
45153 * configure: Regenerated.
45155 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45157 * nscd/nscd.h (struct traced_file): Define.
45158 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45159 elements. Add traced_files.
45160 (inotify_fd): Declare.
45161 (register_traced_file): Declare.
45162 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45163 (inotify_fd): Export.
45164 (resolv_conf_descr): Remove.
45165 (nscd_init): Move inotify descriptor creation to main.
45166 Don't register files for notification here.
45167 (register_traced_file): New function.
45168 (invalidate_cache): Don't use reset_res to determine whether to call
45169 res_init, go through the list of registered files.
45170 (main_loop_poll): The inotify descriptors are now stored in the
45171 structures for the traced files.
45172 (main_loop_epoll): Likewise
45173 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45174 to __nss_disable_nscd.
45175 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45176 for a database anymore. Check the records for all the registered
45178 * nss/Makefile (libnss_files-routines): Add files-init.
45179 (libnss_db-routines): Add db-init.
45180 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45181 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45182 * nss/nss_db/db-init.c: New file.
45183 * nss/nss_files/files-init.c: New file.
45184 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45185 __nss_lookup_function.
45186 (__nss_lookup_function): Call nss_load_library.
45187 (nss_load_all_libraries): New function.
45188 (__nss_disable_nscd): Take parameter with callback function for files
45189 to register. Set is_nscd. Load all the DSOs for the NSS modules
45190 used for the cached services.
45191 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45192 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45193 options for features to all the files in nscd.
45195 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45197 2011-07-10 Roland McGrath <roland@hack.frob.com>
45199 * csu/elf-init.c (__libc_csu_init): Comment typo.
45201 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45203 * po/pl.po: Update from translation team.
45204 * po/ja.po: Likewise.
45205 * po/ru.po: Likewise.
45206 * po/ko.po: Likewise.
45207 * po/fr.po: Likewise.
45209 2011-07-09 Roland McGrath <roland@hack.frob.com>
45211 * configure.in (.ctors/.dtors header and trailer check):
45212 Use an empirical test on a built program.
45213 * configure: Regenerated.
45215 * configure.in (-z relro check): Use an empirical test on a built DSO.
45216 Detect, but do not require, on ia64.
45217 * configure: Regenerated.
45219 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45220 Update tests that use readelf to use $READELF instead.
45221 * configure: Regenerated.
45223 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45225 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45226 if the result is not used.
45228 2011-07-05 Andreas Jaeger <aj@suse.de>
45231 * stdlib/tst-strtod.c: Add testcase.
45233 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45235 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45236 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45237 The latter has a higher limit. Take additional parameter to pass to
45239 (__pathconf): Pass file to __statfs_link_max.
45240 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45242 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45246 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45247 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45249 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45250 (__statfs_filesize_max): Likewise.
45251 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45253 2011-07-05 Andreas Jaeger <aj@suse.de>
45255 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45257 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45259 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45261 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45264 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45266 * Makefile (strop-tests): Add strncat.
45267 * string/test-strncat.c: New file.
45269 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45271 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45273 2011-06-21 Andreas Jaeger <aj@suse.de>
45275 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45276 Copy rule from iconvdata/Makefile.
45278 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45281 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45282 but no long options are defined, just return 'W'.
45284 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45287 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45289 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45291 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45293 (innetgr): Likewise.
45295 2011-07-05 Roland McGrath <roland@hack.frob.com>
45297 * config.make.in (install_root): Default to $(DESTDIR).
45299 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45301 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45303 2011-07-02 Roland McGrath <roland@hack.frob.com>
45305 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45307 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45308 containing directory rather than embedding absolute directory names.
45310 * scripts/check-local-headers.sh: Rewritten using awk.
45311 Match by word, not by line. Print error messages for matches.
45312 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45314 * Makerules [shlib-lds-flags empty]:
45315 ($(common-objpfx)libc_pic.opts): New target.
45316 ($(common-objpfx)libc_pic.os.clean): New target.
45317 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45319 * config.make.in (OBJCOPY): New variable.
45320 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45321 * configure: Regenerated.
45323 * config.make.in (use-default-link): New variable.
45324 * configure.in (use_default_link): Grok --with-default-link to set it.
45325 * configure: Regenerated.
45326 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45327 (shlib-lds, shlib-lds-flags): Define to empty.
45329 * Makerules (shlib-lds): New variable.
45330 (shlib-lds-flags): New variable.
45331 (build-shlib, build-moduile, build-module-asneeded): Use it.
45332 ($(common-objpfx)libc.so): Use $(shlib-lds).
45333 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45334 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45336 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45337 DT_FLAGS/DT_FLAGS_1 with zero flags.
45339 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45340 linker script munging.
45342 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45344 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45346 * crypt/sha512.c (sha512_process_block): Perform total addition using
45347 128-bit if possible.
45348 (__sha512_finish_ctx): Likewise.
45349 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45351 * crypt/sha256.c (SWAP64): Define.
45352 (sha256_process_block): Perform total addition using 64-bit if
45354 (__sha256_finish_ctx): Likewise.
45356 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45358 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45359 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45360 * nscd/hstcache.c (cache_addhst): Likewise.
45361 * nscd/grpcache.c (cache_addgr): Likewise.
45362 * nscd/aicache.c (addhstaiX): Likewise
45363 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45365 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45367 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45368 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45369 * nscd/hstcache.c (cache_addhst): Likewise.
45370 * nscd/grpcache.c (cache_addgr): Likewise.
45371 * nscd/aicache.c (addhstaiX): Likewise
45373 2011-07-01 Andreas Schwab <schwab@redhat.com>
45375 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45376 domain only when needed.
45378 2011-06-30 Andreas Schwab <schwab@redhat.com>
45380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45381 is always restored.
45383 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45385 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45386 are re-adding the entry.
45387 * nscd/servicescache.c (cache_addserv): Likewise.
45389 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45391 * sysdeps/generic/dl-irel.h: fix protection against multiple
45393 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45395 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45398 * malloc/memusage.sh: Fix quoting in message.
45399 * debug/xtrace.sh: Likewise.
45401 * configure.in: Remove support for --experimental-malloc option, make
45403 * config.make.in: Likewise.
45404 * malloc/Makefile: Likewise.
45406 2011-06-27 Andreas Schwab <schwab@redhat.com>
45408 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45409 two-byte characters.
45411 2011-06-27 Roland McGrath <roland@hack.frob.com>
45413 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45414 AC_CACHE_CHECK invocation.
45415 * configure: Regenerated.
45417 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45419 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45422 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45423 bit from old_res_options.
45425 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45427 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45428 value type for setfct.
45430 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45432 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45433 __gettimeofday instead of gettimeofday.
45435 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45437 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45439 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45441 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45443 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45446 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45449 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45450 strcpy-sse2-unaligned strncpy-sse2-unaligned
45451 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45452 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45453 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45454 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45455 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45456 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45457 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45458 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45459 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45460 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45461 (STRCPY): Support SSE2 and SSSE3 versions.
45463 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45466 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45467 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45468 kernels which artificially limit size of requests.
45470 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45473 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45474 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45475 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45476 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45477 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45478 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45479 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45480 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45481 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45482 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45483 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45484 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45485 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45486 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45488 Enable unaligned load optimization for Intel Core i3, i5 and i7
45490 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45492 (index_Fast_Unaligned_Load): Define.
45493 (HAS_FAST_UNALIGNED_LOAD): Define.
45495 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45497 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45499 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45502 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45503 until it is clear that the information is realy needed.
45504 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45506 2011-06-22 Andreas Schwab <schwab@redhat.com>
45508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45510 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45512 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45513 /sys/devices/system/cpu/online if it is usable.
45515 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45516 reading the information from the /proc filesystem to once a second.
45518 2011-06-21 Andreas Jaeger <aj@suse.de>
45520 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45521 NULL after inclusion of kernel headers.
45523 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45525 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45526 calls to internal_setent.
45529 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45530 addresses using gethostbyname4_r ignore IPv4 addresses.
45532 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45533 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45535 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45537 2011-06-20 David S. Miller <davem@davemloft.net>
45539 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45541 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45543 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45544 (elf_irel): Use it.
45545 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45546 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45547 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45548 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45549 * sysdeps/x86_64/dl-irel.h: Likewise.
45551 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45552 * elf/dl-sym.c: Likewise.
45554 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45556 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45557 need to dereference resplen2.
45559 2011-06-14 Andreas Schwab <schwab@redhat.com>
45561 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45563 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45565 * Makeconfig: Define vardbdir and inst_vardbdir.
45566 * nss/Makefile: Add rules to install db-Makefile.
45568 * nss/nss_db/db-XXX.c: Cleanup.
45570 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45571 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45573 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45574 * nss/makedb.c: Implement -g option to specify that value strings
45575 are generated and should not be added to table iterated over for
45577 * nss/nss_db/db-initgroups.c: New file.
45579 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45582 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45583 (internal_getgrouplist): Adjust to name change.
45584 Update use_initgroups_entry if this is not the first call.
45585 * nss/databases.def: Add initgroups entry.
45587 * nss/makedb.c (compute_tables): Check result of multiple hash table
45588 sizes to minimize maximum chain length.
45590 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45592 * Versions.def: Add entry for libnss_db.
45593 * shlib-versions: Likewise.
45594 * nss/Makefile: Add rules to build libnss_db.
45595 * nss/Versions: Add libnss_db information. Organize libnss_files
45597 * nss/db-Makefile: Add gshadow support. Change rules for the new
45598 makedb progra. Some minor improvements to generate smaller files.
45599 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45601 * nss/makedb.c: ...here.
45602 Improve database format to be smaller and require less memory at
45604 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45606 * nss/nss_db/db-netgrp.c: Likewise.
45607 * nss/nss_db/db-open.c: Likewise.
45608 * nss/nss_files/flies-XXX.x: Adjust comments.
45609 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45610 * nss/nss_files/files-grp.c: Likewise.
45611 * nss/nss_files/files-hosts.c: Likewise.
45612 * nss/nss_files/files-network.c: Likewise.
45613 * nss/nss_files/files-proto.c: Likewise.
45614 * nss/nss_files/files-pwd.c: Likewise.
45615 * nss/nss_files/files-rpc.c: Likewise.
45616 * nss/nss_files/files-service.c: Likewise.
45617 * nss/nss_files/files-sgrp.c: Likewise.
45618 * nss/nss_files/files-spwd.c: Likewise.
45619 * nss/nss_db/db-alias.c: Removed.
45620 * nss/nss_db/dummy-db.h: Removed.
45622 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45624 * nss/makedb.c: Rewritten to not use database library.
45625 * nss/Makefile: Update to build new makedb program.
45627 2011-06-14 Andreas Jaeger <aj@suse.de>
45629 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45630 memset declaration.
45632 2011-06-10 Andreas Schwab <schwab@redhat.com>
45634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45637 2011-06-10 Roland McGrath <roland@hack.frob.com>
45639 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45640 * elf/Makefile ($(objpfx)ld.so): Likewise.
45642 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45643 Don't list ld.so twice in dependencies.
45645 * posix/bug-regex31.c: Include <stdlib.h>.
45647 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45649 * nis/nss_compat/compat-spwd.c
45650 (getspent_next_nss_netgr): Remove unused variable.
45651 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45653 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45654 nonmembers" output to use the right array.
45656 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45658 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45660 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45661 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45662 * catgets/gencat.c (read_input_file): Likewise.
45663 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45665 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45666 variable definition inside #if's controlling its use.
45668 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45670 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45672 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45674 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45677 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45679 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45680 * configure: Regenerated.
45682 * Makerules: Revert last change.
45683 * elf/Makefile: Likewise.
45685 2011-06-09 Roland McGrath <roland@hack.frob.com>
45687 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45688 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45689 (reloc-link): Likewise.
45691 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45693 * elf/Makefile: Add rules to build pldd.
45694 * elf/pldd.c: New file.
45695 * elf/pldd-xx.c: New file.
45697 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45699 * version.h: Update for 2.15 development version.
45701 2011-06-07 David S. Miller <davem@davemloft.net>
45703 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45705 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45706 elf_machine_lazy_rel): Likewise.
45707 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45709 elf_machine_lazy_rel): Likewise.
45710 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45711 dl_hwcap via passed in argument.
45712 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45715 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45717 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45719 2011-06-06 Roland McGrath <roland@hack.frob.com>
45722 * manual/fdl-1.1.texi: New file, verbatim from:
45723 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45724 * manual/lgpl-2.1.texi: New file, verbatim from:
45725 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45726 * manual/Makefile (licenses): New variable, list those new file names.
45728 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45730 * manual/fdl.texi: File removed.
45731 * manual/lesser.texi: File removed.
45732 * manual/libc.texinfo (Copying, Documentation License):
45733 Use new @include file names, put @appendix directive before @include.
45735 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45738 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45739 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45740 (mq_open): Add __NTH.
45742 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45745 Assume Intel Core i3/i5/i7 processor if AVX is available.
45747 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45749 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45752 2011-05-31 Andreas Schwab <schwab@redhat.com>
45754 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45755 memory. Use alloca_account. Fix memory leak when retrying.
45757 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45759 * version.h (RELEASE): Bump for 2.14 release.
45760 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45762 * config.make.in (RANLIB): Remove entry.
45764 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45766 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45767 (libc.pot): Work around missing support for .ksh extension in xgettext.
45770 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45771 if both request failed.
45772 (send_dg): In case of server errors clear resplen or *resplen2.
45775 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45776 when there are multiple maps.
45777 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45778 (_dl_fini): Remove test here.
45780 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45782 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45785 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45786 bit from old_res_options.
45787 (gaih_inet): Likewise.
45790 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45793 * resolv/res_init.c (res_setoptions): Make the code more compact.
45796 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45800 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45802 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45805 * malloc/malloc.h: Declare malloc hook variables as volatile.
45807 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45811 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45812 raise in the comment.
45813 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45814 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45815 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45817 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45820 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45821 grow the buffers more if it already has to be sufficient.
45822 (build_wcs_upper_buffer): Likewise.
45823 * posix/regexec.c (check_matching): Likewise.
45824 (clean_state_log_if_needed): Likewise.
45825 (extend_buffers): Don't enlarge buffers beyond size of the input
45827 Patches mostly by Emil Wojak <emil@wojak.eu>.
45828 * posix/bug-regex32.c: New file.
45829 * posix/Makefile (tests): Add bug-regex32.
45831 * locale/findlocale.c (_nl_find_locale): Return right away if
45832 _nl_explode_name failed.
45833 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45835 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45837 * debug/xtrace.sh: Unify messages.
45838 * malloc/memusage.sh: Likewise.
45841 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45842 time symbol from vDSO. Substitute with vsyscall if not available.
45843 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45846 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45847 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45848 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45849 Add sendmmsg and internal_sendmmsg.
45850 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45851 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45852 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45854 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45855 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45856 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45858 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45861 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45862 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45864 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45868 * iconvdata/Makefile (tests): Add bug-iconv9.
45869 * iconvdata/bug-iconv9.c: New file.
45871 2011-05-27 Andreas Schwab <schwab@redhat.com>
45874 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45876 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45878 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45879 (struct user_regs_struct): Change intcs field back to cs.
45881 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45883 * po/ja.po: Update from translation team.
45885 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45888 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45889 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45891 2011-05-20 Andreas Schwab <schwab@redhat.com>
45893 * stdlib/longlong.h: Update from GCC.
45895 2011-05-23 Andreas Schwab <schwab@redhat.com>
45897 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45899 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45900 Add parameter name.
45901 (__sysconf): Pass it down.
45903 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45906 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45908 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45909 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45910 add in in __libc_use_alloca calls. Adjust callers.
45911 (glob): Use malloc in some situations.
45913 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45914 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45917 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45919 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45920 and CLOCK_BOOTTIME_ALARM.
45923 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45926 * string/_strerror.c (__strerror_r): Print negative errors as signed
45930 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45931 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45932 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45934 * configure.in: Fix typo in redirection and correct removal of test
45935 files in two cases.
45938 * locale/setlocale.c (new_composite_name): Fix test to check for
45939 identical name of all categories.
45942 * libio/filedoalloc.c (local_isatty): New function.
45943 (_IO_file_doallocate): Use local_isatty.
45944 * stdio-common/perror.c (perror): In case a new stream is used
45945 forward the stream error.
45946 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45949 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45954 * include/alloca.h (extend_alloca_account): Define.
45957 * posix/regex.h: Fix comments with documentation of user-accessible
45958 fields after compilation and describe correct free'ing of pattern
45959 after re_compile_pattern.
45960 Patch by Reuben Thomas <rrt@sc3d.org>.
45962 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45964 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45965 and -mno-altivec to prevent the compiler from using Altivec and/or
45966 VSX instructions when the corresponding registers are not available.
45968 2011-05-19 Andreas Schwab <schwab@redhat.com>
45970 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45972 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45974 * libio/freopen.c (freopen): Use __dup2, not dup2.
45975 * libio/freopen64.c (freopen64): Likewise.
45977 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45980 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45981 * math/Makefile (tests): Add test-powl.
45982 (CFLAGS-test-powl.c): Define.
45983 * math/test-powl.c: New file.
45985 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45987 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45989 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45992 * iconvdata/gb18030.c: Update to GB18020-2005.
45994 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45996 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45997 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45998 Patch by Aharon Robbins <arnold@skeeve.com>.
46001 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46005 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46006 through underflows.
46009 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46010 point to strings before performing equality test for error_one_per_line
46014 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46017 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46018 (struct user_fpregs_struct): Avoid __uint*_t types.
46021 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46022 symbol info. Use it instead of calling _dl_addr locally.
46023 (lock_and_info): New function.
46024 (tr_freehook): Call lock_and_info and pass symbol info as additional
46025 parameter to tr_where.
46026 (tr_mallochook): Likewise.
46027 (tr_reallochook): Likewise.
46028 (tr_memalignhook): Likewise.
46030 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46031 used and couldn't be at all thread-safe.
46033 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46035 * libio/freopen.c (freopen): Don't close old file descriptor
46036 before the new one is opened. Instead dup the new file descriptor
46037 to the old one after the new stream is created.
46038 * libio/freopen64.c (freopen64): Likewise.
46039 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46040 * libio/fileops.c (_IO_new_file_close_it): Handle new
46041 _IO_FLAGS2_NOCLOSE flag.
46042 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46043 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46044 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46045 _IO_FLAGS2_NOCLOSE flag.
46046 * include/unistd.h: Add hidden_proto for dup3.
46047 Define __have_dup3.
46048 * io/dup3.c: Define hidden symbol.
46049 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46052 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46053 when an incomplete long option is used.
46054 * posix/tst-getopt_long1.c: New file.
46055 * posix/Makefile (tests): Add tst-getopt_long1.
46058 * scripts/config.guess: Update from autoconf-2.68.
46059 * scripts/config.sub: Likewise.
46062 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46064 (has_cpuclock): ...this. New function.
46065 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46066 macro here based on has_cpuclock code.
46069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46070 First byte (not low byte) is now always NUL.
46071 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46073 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46074 Use non-cancelable interfaces.
46077 * locale/iso-639.def: Add entry for Sorani.
46080 * include/stdlib.h: Move include protection to the right place.
46081 Define abort_msg_s. Declare __abort_msg with it.
46082 * stdlib/abort.c (__abort_msg): Adjust type.
46083 * assert/assert.c (__assert_fail_base): New function. Majority
46084 of code from __assert_fail. Allocate memory for __abort_msg with
46086 (__assert_fail): Now call __assert_fail_base.
46087 * assert/assert-perr.c: Remove bulk of implementation. Use
46088 __assert_fail_base.
46089 * include/assert.hL Declare __assert_fail_base.
46090 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46092 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46094 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46098 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46099 until all modules are registered in the DTV.
46100 * elf/Makefile: Add rules to build and run tst-tls19.
46101 * elf/tst-tls19.c: New file.
46102 * elf/tst-tls19mod1.c: New file.
46103 * elf/tst-tls19mod2.c: New file.
46104 * elf/tst-tls19mod3.c: New file.
46105 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46108 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46112 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46113 two-byte sequence errors.
46114 * iconvdata/Makefile (tests): Add bug-iconv8.
46115 * iconvdata/bug-iconv8.c: New file.
46118 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46121 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46124 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46125 (dummy_getcfa): New function.
46126 (init): Get _Unwind_GetCFA address, use dummy if not found.
46127 (backtrace_helper): In recursion check, also check whether CFA changes.
46128 (__backtrace): Completely initialize arg.
46130 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46131 storing incomplete byte sequence in state object. Avoid testing for
46132 guaranteed too small input if we know there is enough data available.
46134 2011-05-11 Andreas Schwab <schwab@redhat.com>
46136 * Makeconfig (+link-pie): Indent.
46137 * Rules (binaries-pie): Define if $(have-fpie) and
46139 (binaries-shared): Also filter out $(binaries-pie).
46140 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46141 * nscd/Makefile (others-pie): Add nscd.
46142 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46143 ($(objpfx)nscd): Remove command override.
46144 * login/Makefile (others-pie): Add pt_chown.
46145 ($(objpfx)pt_chown): Remove command override.
46146 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46147 remove command overrides.
46149 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46151 * libio/tst_putwc.c: Fix error messages.
46154 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46155 currently writing and seek to current position when not.
46156 * libio/Makefile (tests): Add bug-fclose1.
46157 * libio/bug-fclose1.c: New file.
46159 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46162 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46163 don't set DF_1_NODELETE here.
46164 (do_lookup_x): When entering new entry test for copy relocation
46165 and if necessary set DF_1_NODELETE flag.
46166 * elf/tst-unique4.cc: New file.
46167 * elf/tst-unique4.h: New file.
46168 * elf/tst-unique4lib.cc: New file.
46169 * elf/Makefile: Add rules to build and run tst-unique4.
46170 Patch by Piotr Bury <pbury@goahead.com>.
46172 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46175 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46178 * misc/mntent_r.c (addmntent): Flush the stream after the output
46181 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46182 (is_trusted_path_normalize): Skip initial colon. Append slash
46183 to empty buffer. Duplicate is_trusted_path code but allow
46184 constructed patch to be prefix.
46185 (is_dst): Allow $ORIGIN followed by /.
46186 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46187 Correct testing of result of is_trusted_path_normalize
46188 (decompose_rpath): Fix warning.
46190 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46193 * grp/initgroups.c (internal_getgrouplist): When we found the service
46194 list through the initgroups entry in nsswitch.conf do not always
46195 continue on a successful lookup. Don't always use the
46196 __nss_group_database value if it is set.
46197 * nss/nsswitch.conf (initgroups): Change action for successful db
46198 lookup to continue for compatibility.
46200 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46203 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46205 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46207 * iconvdata/tst-tables.sh: Likewise.
46208 * iconvdata/cp770.c: New file.
46209 * iconvdata/cp771.c: New file.
46210 * iconvdata/cp772.c: New file.
46211 * iconvdata/cp773.c: New file.
46212 * iconvdata/cp774.c: New file.
46213 * iconvdata/testdata/CP770: New file.
46214 * iconvdata/testdata/CP770..UTF8: New file.
46215 * iconvdata/testdata/CP771: New file.
46216 * iconvdata/testdata/CP771..UTF8: New file.
46217 * iconvdata/testdata/CP772: New file.
46218 * iconvdata/testdata/CP772..UTF8: New file.
46219 * iconvdata/testdata/CP773: New file.
46220 * iconvdata/testdata/CP773..UTF8: New file.
46221 * iconvdata/testdata/CP774: New file.
46222 * iconvdata/testdata/CP774..UTF8: New file.
46224 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46226 * iconvdata/gen-8bit-gap.sh: Likewise.
46227 * iconvdata/gen-8bit.sh: Likewise.
46229 * locale/iso-639.def: Add ary entry.
46232 * locale/C-translit.h.in: Add U20A1 transliteration.
46235 * locale/iso-639.def: Add wae entry.
46236 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46239 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46243 * locale/C-translit.h.in: Add entry for U20B9.
46244 Patch by pravin.d.s@gmail.com.
46246 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46249 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46250 ENAMETOOLONG use generic getcwd.
46251 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46252 in rtld. Use *stat64.
46253 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46254 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46255 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46256 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46257 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46258 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46259 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46260 __fstatat64 macros.
46261 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46262 * dirent/rewinddir.c: Add libc_hidden_def.
46263 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46264 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46266 * include/dirent.h (__alloc_dir): Add flags parameter.
46267 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46268 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46270 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46271 from fdopendir if O_CLOEXEC is already set.
46273 2011-03-15 Alan Modra <amodra@gmail.com>
46275 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46276 l_tls_firstbyte_offset non-zero. Save padding offset in
46277 l_tls_firstbyte_offset for later use.
46278 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46279 freeing static tls block.
46281 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46283 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46284 where #ifdef was intended. The intent is to prevent ARG_MAX from
46285 being defined by the kernel headers.
46287 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46290 * resolv/resolv.h: Define RES_NOTLDQUERY.
46291 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46292 no-tld-query and set RES_NOTLDQUERY.
46293 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46294 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46295 modern BIND to search name as TLD unless forbidden.
46297 2011-05-07 Petr Baudis <pasky@suse.cz>
46298 Ulrich Drepper <drepper@gmail.com>
46301 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46302 (is_trusted_path): ...to here.
46303 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46304 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46305 using is_trusted_path_normalize() in setuid scripts.
46307 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46309 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46310 __BEGIN/__END_DECLS.
46312 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46315 NSS_STATUS_NOTFOUND if no record was found.
46317 2011-05-05 Andreas Schwab <schwab@redhat.com>
46319 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46320 (headers-not-in-tirpc): Remove rpc/netdb.h
46321 * resolv/netdb.h: Revert last change.
46323 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46325 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46326 circular dependency between libgcc.a and libc.a.
46328 2011-05-05 Andreas Schwab <schwab@redhat.com>
46330 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46331 * nis/Makefile: Don't install rpcsvc/*.
46332 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46333 instead of <rpc/types.h>.
46334 (MAXHOSTNAMELEN): Define.
46336 2011-05-03 Andreas Schwab <schwab@redhat.com>
46338 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46340 2011-04-28 Maciej Babinski <mbabinski@google.com>
46343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46344 gethostbyname4_r when IPv6 results are possible.
46346 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46349 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46350 _PC_PIPE_BUF handling.
46352 2011-04-30 Bruno Haible <bruno@clisp.org>
46355 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46356 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46358 * inet/getnameinfo.c (getnameinfo): Likewise.
46360 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46362 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46363 to groups setting in database lookup.
46364 * nss/nsswitch.conf: Add initgroups entry.
46366 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46369 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46371 Patch by Eric Blake <eblake@redhat.com>.
46373 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46375 * sunrpc/Makefile (need-export-routines): Add svc_run.
46376 (routines): Remove svc_run.
46377 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46378 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46379 * sunrpc/svc_run.c (svc_run): Likewise.
46380 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46382 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46384 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46385 problem in reallocation in last patch.
46387 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46389 * sunrpc/Makefile: Move inclusion of Rules.
46391 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46393 * nss/nss_files/files-initgroups.c: New file.
46394 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46395 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46396 _nss_files_initgroups_dyn.
46398 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46400 * elf/elf.h (R_ARM_IRELATIVE): Define.
46402 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46404 * po/ru.po: Update from translation team.
46406 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46408 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46411 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46414 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46415 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46416 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46417 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46418 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46420 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46422 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46424 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46425 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46426 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46428 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46431 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46433 * stdlib/bug-getcontext.c: New file.
46434 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46436 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46438 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46439 instructions into .machine "z9-109".
46440 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46441 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46443 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46445 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46446 between environment variables and auxiliary vector.
46448 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46450 * Makefile: Add rules to build linkobj/libc.so.
46451 * include/libc-symbols.h: Define libc_hidden_nolink.
46452 * include/rpc/auth.h: Mark functions which are to be hidden.
46453 * include/rpc/auth_des.h: Likewise.
46454 * include/rpc/auth_unix.h: Likewise.
46455 * include/rpc/clnt.h: Likewise.
46456 * include/rpc/des_crypt.h: Likewise.
46457 * include/rpc/key_prot.h: Likewise.
46458 * include/rpc/pmap_clnt.h: Likewise.
46459 * include/rpc/pmap_prot.h: Likewise.
46460 * include/rpc/pmap_rmt.h: Likewise.
46461 * include/rpc/rpc_msg.h: Likewise.
46462 * include/rpc/svc.h: Likewise.
46463 * include/rpc/svc_auth.h: Likewise.
46464 * include/rpc/xdr.h: Likewise.
46465 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46466 * nss/Makefile: Likewise.
46467 * sunrpc/Makefile: Don't install headers. Build library with normal
46468 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46469 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46470 for the compat linking library. Remove use of INTDEF/INTUSE.
46471 * sunrpc/auth_none.c: Likewise.
46472 * sunrpc/auth_unix.c: Likewise.
46473 * sunrpc/authdes_prot.c: Likewise.
46474 * sunrpc/authuxprot.c: Likewise.
46475 * sunrpc/clnt_gen.c: Likewise.
46476 * sunrpc/clnt_perr.c: Likewise.
46477 * sunrpc/clnt_raw.c: Likewise.
46478 * sunrpc/clnt_simp.c: Likewise.
46479 * sunrpc/clnt_tcp.c: Likewise.
46480 * sunrpc/clnt_udp.c: Likewise.
46481 * sunrpc/clnt_unix.c: Likewise.
46482 * sunrpc/des_crypt.c: Likewise.
46483 * sunrpc/des_soft.c: Likewise.
46484 * sunrpc/get_myaddr.c: Likewise.
46485 * sunrpc/key_call.c: Likewise.
46486 * sunrpc/key_prot.c: Likewise.
46487 * sunrpc/netname.c: Likewise.
46488 * sunrpc/pm_getmaps.c: Likewise.
46489 * sunrpc/pm_getport.c: Likewise.
46490 * sunrpc/pmap_clnt.c: Likewise.
46491 * sunrpc/pmap_prot.c: Likewise.
46492 * sunrpc/pmap_prot2.c: Likewise.
46493 * sunrpc/pmap_rmt.c: Likewise.
46494 * sunrpc/publickey.c: Likewise.
46495 * sunrpc/rpc_cmsg.c: Likewise.
46496 * sunrpc/rpc_common.c: Likewise.
46497 * sunrpc/rpc_dtable.c: Likewise.
46498 * sunrpc/rpc_prot.c: Likewise.
46499 * sunrpc/rpc_thread.c: Likewise.
46500 * sunrpc/rtime.c: Likewise.
46501 * sunrpc/svc.c: Likewise.
46502 * sunrpc/svc_auth.c: Likewise.
46503 * sunrpc/svc_authux.c: Likewise.
46504 * sunrpc/svc_raw.c: Likewise.
46505 * sunrpc/svc_run.c: Likewise.
46506 * sunrpc/svc_simple.c: Likewise.
46507 * sunrpc/svc_tcp.c: Likewise.
46508 * sunrpc/svc_udp.c: Likewise.
46509 * sunrpc/svc_unix.c: Likewise.
46510 * sunrpc/svcauth_des.c: Likewise.
46511 * sunrpc/xcrypt.c: Likewise.
46512 * sunrpc/xdr.c: Likewise.
46513 * sunrpc/xdr_array.c: Likewise.
46514 * sunrpc/xdr_float.c: Likewise.
46515 * sunrpc/xdr_intXX_t.c: Likewise.
46516 * sunrpc/xdr_mem.c: Likewise.
46517 * sunrpc/xdr_rec.c: Likewise.
46518 * sunrpc/xdr_ref.c: Likewise.
46519 * sunrpc/xdr_sizeof.c: Likewise.
46520 * sunrpc/xdr_stdio.c: Likewise.
46522 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46525 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46526 * sysdeps/ia64/dl-tls.h: Likewise.
46527 * sysdeps/powerpc/dl-tls.h: Likewise.
46528 * sysdeps/s390/dl-tls.h: Likewise.
46529 * sysdeps/sh/dl-tls.h: Likewise.
46530 * sysdeps/sparc/dl-tls.h: Likewise.
46531 * sysdeps/x86_64/dl-tls.h: Likewise.
46532 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46534 2011-03-14 Andreas Schwab <schwab@redhat.com>
46536 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46537 rpath element also skip the following colon.
46538 (expand_dynamic_string_token): Add is_path parameter and pass
46539 down to DL_DST_REQUIRED and _dl_dst_substitute.
46540 (decompose_rpath): Call expand_dynamic_string_token with
46541 non-zero is_path. Ignore empty rpaths.
46542 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46545 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46550 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46553 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46554 Patch by Filipe David Manana <fdmanana@apache.org>.
46556 2011-04-07 Andreas Schwab <schwab@redhat.com>
46558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46559 Maintain aligned stack.
46560 (CHECK_RSP): Remove unused macro.
46562 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46564 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46565 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46567 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46569 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46571 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46573 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46576 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46577 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46578 * sysdeps/x86_64/memmove.c: New file.
46579 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46580 (memcpy): Renamed to ...
46581 (__new_memcpy): This.
46582 (memcpy): Provide GLIBC_2_14 memcpy.
46583 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46584 (memcpy): Provide GLIBC_2_2_5 memcpy.
46586 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46589 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46591 2011-03-30 Andreas Schwab <schwab@redhat.com>
46593 * misc/syncfs.c: New file.
46594 * misc/Makefile (routines): Add syncfs.
46595 * posix/unistd.h: Declare syncfs.
46596 * sysdeps/unix/syscalls.list: Add syncfs.
46598 2011-04-01 Andreas Schwab <schwab@redhat.com>
46600 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46602 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46603 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46605 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46606 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46607 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46610 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46612 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46613 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46614 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46616 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46620 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46621 sync_file_range.c with -fexceptions.
46622 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46623 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46624 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46625 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46626 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46627 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46629 sync_file_range as cancellation point
46630 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46631 now a wrapper around __call_sync_file_range with cancellation handling.
46632 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46633 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46634 function name to __call_sync_file_range.
46635 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46636 Add call_sync_file_range.
46638 2011-04-01 Andreas Schwab <schwab@redhat.com>
46640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46643 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46645 * iconv/iconv.h: Fix typo in comment.
46646 * io/fcntl.h: Likewise.
46647 * libio/stdio.h: Likewise.
46648 * posix/spawn.h: Likewise.
46649 * posix/unistd.h: Likewise.
46650 * stdlib/stdlib.h: Likewise.
46651 * time/time.h: Likewise.
46652 * wcsmbs/wchar.h: Likewise.
46654 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46655 open_by_handle): Add.
46656 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46657 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46658 Augment a few comments.
46659 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46661 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46663 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46664 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46667 * io/fcntl.h (AT_EMPTY_PATH): Define.
46669 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46671 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46672 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46673 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46675 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46676 * Versions.def: Add GLIBC_2.14.
46677 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46680 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46682 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46684 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46686 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46689 * string/test-strncmp.c (do_page_test): New function.
46690 (check2): Likewise.
46691 (test_main): Call check2.
46692 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46694 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46697 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46698 Handle cache information in CPU leaf 4.
46699 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46701 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46704 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46705 character representation.
46706 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46708 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46710 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46711 END(__isnan) to END(__isnanf) to match function entry point/label
46712 EALIGN(__isnanf,...).
46714 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46716 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46718 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46721 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46722 copy from the symbol referenced in the relocation to initialize the
46724 Patch by Piotr Bury <pbury@goahead.com>.
46725 * elf/Makefile: Add rules to build and tst-unique3.
46726 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46727 * elf/tst-unique3.cc: New file.
46728 * elf/tst-unique3.h: New file.
46729 * elf/tst-unique3lib.cc: New file.
46730 * elf/tst-unique3lib2.cc: New file.
46732 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46734 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46736 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46737 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46740 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46742 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46743 to-be-loaded object along a path to loader is ld.so.
46745 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46746 Ulrich Drepper <drepper@gmail.com>
46748 * sysdeps/x86_64/memset.S: After aligning destination, code
46749 branches to different locations depending on the value of
46750 misalignment, when multiarch is enabled. Fix this.
46752 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46754 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46755 Set _x86_64_preferred_memory_instruction for AMD processsors.
46756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46757 Set bit_Prefer_SSE_for_memop for AMD processors.
46759 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46761 * libio/fmemopen.c (fmemopen): Optimize a bit.
46763 2011-03-03 Andreas Schwab <schwab@redhat.com>
46765 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46767 2011-03-03 Roland McGrath <roland@redhat.com>
46769 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46771 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46773 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46774 __bzero_ultra1 instead of __memset_ultra1.
46776 2011-02-23 Andreas Schwab <schwab@redhat.com>
46777 Ulrich Drepper <drepper@gmail.com>
46780 * include/link.h (struct link_map): Add l_orig_initfini.
46781 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46782 returning unsuccessfully.
46783 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46784 close of a file loaded at startup, restore the original l_initfini
46786 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46787 list, store the pointer.
46788 * elf/Makefile ($(objpfx)noload-mem): New rule.
46789 (noload-ENV): Define.
46790 (tests): Add $(objpfx)noload-mem.
46791 * elf/noload.c: Include <memcheck.h>.
46792 (main): Call mtrace. Close all opened handles.
46794 2011-02-17 Andreas Schwab <schwab@redhat.com>
46797 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46798 dependencies are missing.
46800 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46802 Fix __if_freereq crash: Unlike the generic version which uses free,
46804 * sysdeps/mach/hurd/ifreq.h: New file.
46806 2011-01-27 Petr Baudis <pasky@suse.cz>
46807 Ulrich Drepper <drepper@gmail.com>
46810 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46811 to extend_alloca().
46812 * stdio-common/bug23.c: New file.
46813 * stdio-common/Makefile (tests): Add bug23.
46815 2010-09-28 Andreas Schwab <schwab@redhat.com>
46816 Ulrich Drepper <drepper@gmail.com>
46819 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46820 before performing relro protection. At old place add assertion
46821 to make sure nothing changed.
46823 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46824 Glauber de Oliveira Costa <glommer@gmail.com>
46826 * elf/elf.h: Add new ARM TLS relocs.
46828 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46831 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46833 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46835 * sysdeps/wordsize-64/tst-writev.c: New file.
46837 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46839 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46840 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46841 insns in _dl_start to prevent a TOC reference before relocs are
46844 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46847 * Makeconfig: Remove RANLIB definition.
46848 * Makerules: Don't use RANLIB.
46849 * aclocal.m4: Remove ranlib test.
46850 * configure.in: No need to check for ranlib.
46851 * elf/rtld-Rules: Don't use RANLIB.
46853 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46855 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46857 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46858 inclusion protection macro.
46860 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46861 SIGRTMIN and SIGRTMAX and print information in that case only when
46862 SIGRTMIN is defined.
46864 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46866 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46867 arginfo fn returning -1.
46869 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46870 and thousands string is zero terminated.
46872 2011-02-03 Andreas Schwab <schwab@redhat.com>
46874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46875 sysdeps/unix/sysv/linux/bits/socket.h.
46877 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46879 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46880 (__CPU_COUNT): Remove old macros.
46881 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46882 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46883 (__CPU_ALLOC, __CPU_FREE): Add macros.
46884 (__sched_cpualloc, __sched_cpufree): Add declarations.
46886 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46888 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46889 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46890 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46891 (readdhstai): Return value of addhstaiX call.
46892 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46893 (addgrbyX): Return value returned by cache_addgr.
46894 (readdgrbyname): Return value returned by addgrbyX.
46895 (readdgrbygid): Likewise.
46896 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46897 (addpwbyX): Return value returned by cache_addpw.
46898 (readdpwbyname): Return value returned by addhstbyX.
46899 (readdpwbyuid): Likewise.
46900 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46901 (addservbyX): Return value returned by cache_addserv.
46902 (readdservbyname): Return value returned by addservbyX:
46903 (readdservbyport): Likewise.
46904 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46905 (addhstbyX): Return value returned by cache_addhst.
46906 (readdhstbyname): Return value returned by addhstbyX.
46907 (readdhstbyaddr): Likewise.
46908 (readdhstbynamev6): Likewise.
46909 (readdhstbyaddrv6): Likewise.
46910 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46911 (readdinitgroups): Return value returned by addinitgroupsX.
46912 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46913 (prune_cache): Keep track of timeout value of re-added entries.
46914 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46915 * nscd/nscd.h: Adjust prototypes of readd* functions.
46917 2011-02-04 Roland McGrath <roland@redhat.com>
46919 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46920 (nis_stats): Likewise.
46921 * nis/nis_modify.c (nis_modify): Likewise.
46922 * nis/nis_remove.c (nis_remove): Likewise.
46923 * nis/nis_add.c (nis_add): Likewise.
46925 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46927 * posix/fnmatch_loop.c: Add some consts.
46929 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46931 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46934 * config.make.in (config-cflags-novzeroupper): Define.
46935 * configure.in: Substitute libc_cv_cc_novzeroupper.
46936 * elf/Makefile (AVX-CFLAGS): Define.
46937 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46938 (CFLAGS-tst-auditmod4a.c): Likewise.
46939 (CFLAGS-tst-auditmod4b.c): Likewise.
46940 (CFLAGS-tst-auditmod6b.c): Likewise.
46941 (CFLAGS-tst-auditmod6c.c): Likewise.
46942 (CFLAGS-tst-auditmod7b.c): Likewise.
46943 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46945 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46947 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46948 function to the callback.
46949 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46951 2011-02-02 Andreas Schwab <schwab@redhat.com>
46953 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46956 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46959 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46961 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46963 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46966 * elf/Makefile: Add rules to build and run new test.
46967 * elf/tst-initorder.c: New file.
46968 * elf/tst-initorder.exp: New file.
46969 * elf/tst-initordera1.c: New file.
46970 * elf/tst-initordera2.c: New file.
46971 * elf/tst-initordera3.c: New file.
46972 * elf/tst-initordera4.c: New file.
46973 * elf/tst-initorderb1.c: New file.
46974 * elf/tst-initorderb2.c: New file.
46975 * elf/tst-order-a1.c: New file.
46976 * elf/tst-order-a2.c: New file.
46977 * elf/tst-order-a3.c: New file.
46978 * elf/tst-order-a4.c: New file.
46979 * elf/tst-order-b1.c: New file.
46980 * elf/tst-order-b2.c: New file.
46981 * elf/tst-order-main.c: New file.
46982 New test case by George Gensure <werkt0@gmail.com>.
46984 2010-10-01 Andreas Schwab <schwab@redhat.com>
46986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46987 decoding ACE if AI_CANONIDN.
46989 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46991 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46993 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46995 * version.h (RELEASE): Bump for 2.13 release.
46996 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46998 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47000 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47002 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47003 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47004 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47005 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47006 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47007 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47009 * posix/getconf.c: Update copyright year.
47010 * catgets/gencat.c: Likewise.
47011 * csu/version.c: Likewise.
47012 * debug/catchsegv.sh: Likewise.
47013 * debug/xtrace.sh: Likewise.
47014 * elf/ldconfig.c: Likewise.
47015 * elf/ldd.bash.in: Likewise.
47016 * elf/sprof.c (print_version): Likewise.
47017 * iconv/iconv_prog.c: Likewise.
47018 * iconv/iconvconfig.c: Likewise.
47019 * locale/programs/locale.c: Likewise.
47020 * locale/programs/localedef.c: Likewise.
47021 * malloc/memusage.sh: Likewise.
47022 * malloc/mtrace.pl: Likewise.
47023 * nscd/nscd.c (print_version): Likewise.
47024 * nss/getent.c: Likewise.
47026 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47027 PF_CAIF, and PF_ALG.
47028 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47030 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47032 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47033 (modules-names): Use them.
47034 (ifunc-test-modules, ifunc-pie-tests): Define.
47035 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47036 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47037 (test-extras): Likewise.
47038 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47039 $(compile-command.c).
47040 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47041 (all-built-dso): Define.
47042 (check-textrel.out, check-execstack.out): Depend on it.
47044 * configure.in: Don't override --enable-multi-arch.
47046 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47049 * nscd/hstcache.c (tryagain): Define.
47050 (cache_addhst): Return tryagain not notfound for temporary errors.
47051 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47054 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47057 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47058 to make the syscall.
47059 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47062 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47063 and fall back to matching as normal character if the string ends before
47064 the matching ']' is found. This is what POSIX requires.
47065 * posix/testfnm.c: Adjust test result.
47066 * posix/globtest.sh: Adjust test result. Add new test.
47067 * posix/tst-fnmatch.input: Likewise.
47068 * posix/tst-fnmatch2.c: Add new test.
47070 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47072 * elf/Makefile (check-execstack): Revert last change. Depend on
47074 (check-execstack.h): New target.
47075 (generated): Add check-execstack.h.
47076 * elf/check-execstack.c: Include "check-execstack.h".
47077 (main): Revert last change.
47078 (handle_file): Return zero if GNU_STACK is absent and
47079 DEFAULT_STACK_PERMS doesn't include PF_X.
47081 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47083 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47084 in child fails because the descriptor is already closed.
47085 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47086 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47087 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47090 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47094 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47095 temporary buffer used to handle multi lookups locally.
47096 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47098 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47100 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47103 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47105 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47106 alignment for SSE2.
47108 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47111 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47112 characters. When rounding increased number of integer digits recompute
47114 * stdio-common/tst-grouping.c: New file.
47115 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47117 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47119 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47120 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47122 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47124 * bits/select.h: Likewise.
47126 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47128 * po/ja.po: Update from translation team.
47130 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47133 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47134 implementation just like for lxstat, fxstatat, et al.
47136 2010-12-27 Jim Meyering <meyering@redhat.com>
47139 * posix/regexec.c (build_trtable): Return failure indication upon
47140 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47142 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47145 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47146 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47147 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47148 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47151 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47154 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47155 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47157 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47159 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47160 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47161 script has SORT_BY_INIT_PRIORITY.
47162 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47163 NO_CTORS_DTORS_SECTIONS is defined.
47164 * elf/soinit.c: Likewise.
47165 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47166 NO_CTORS_DTORS_SECTIONS is defined.
47167 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47168 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47169 * sysdeps/sh/init-first.c: Likewise.
47170 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47172 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47174 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47175 always use the slow path.
47177 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47179 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47180 similar rule which adds the sysdep directories to the header search in
47181 order to pick up the correct platform stackinfo.h.
47182 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47183 perform test if it is, otherwise return successfully without testing.
47184 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47185 DEFAULT_STACK_PERMS define in stackinfo.h.
47186 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47187 defined in stackinfo.h.
47188 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47189 DEFAULT_STACK_PERMS defined in stackinfo.h.
47190 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47191 * sysdeps/ia64/stackinfo.h: Likewise.
47192 * sysdeps/s390/stackinfo.h: Likewise.
47193 * sysdeps/sh/stackinfo.h: Likewise.
47194 * sysdeps/sparc/stackinfo.h: Likewise.
47195 * sysdeps/x86_64/stackinfo.h: Likewise.
47196 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47197 PF_X for powerpc64. Retain PF_X for powerpc32.
47199 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47201 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47203 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47204 GETDENTS_64BIT_ALIGNED.
47206 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47208 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47210 2010-12-10 Andreas Schwab <schwab@redhat.com>
47212 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47215 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47216 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47218 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47219 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47221 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47224 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47227 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47229 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47231 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47233 * po/it.po: Update from translation team.
47235 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47240 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47242 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47244 2010-11-24 Andreas Schwab <schwab@redhat.com>
47246 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47248 (gaih_getanswer_slice): Likewise.
47250 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47252 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47254 2010-05-31 Petr Baudis <pasky@suse.cz>
47257 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47258 silently even in the chroot mode.
47260 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47262 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47263 last patch a bit. Pretty printing
47265 2010-05-31 Petr Baudis <pasky@suse.cz>
47268 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47269 initialization of skip_initgroups_dyn.
47271 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47273 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47274 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47276 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47278 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47280 2010-11-11 Andreas Schwab <schwab@redhat.com>
47282 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47283 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47284 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47285 ($(objpfx)tst-fnmatch-mem): New rule.
47286 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47287 * posix/tst-fnmatch.c (main): Call mtrace.
47289 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47292 Support Intel processor model 6 and model 0x2c.
47294 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47296 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47299 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47302 * string/test-strncasecmp.c (check_result): New function.
47303 (do_one_test): Use it.
47304 (check1): New function.
47305 (test_main): Use it.
47306 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47307 Support strcasecmp and strncasecmp.
47309 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47312 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47313 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47315 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47317 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47321 * sysdeps/x86_64/multiarch/bzero.S: New file.
47322 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47323 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47324 * sysdeps/x86_64/multiarch/memset.S: New file.
47325 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47327 Set bit_Prefer_SSE_for_memop for Intel processors.
47328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47330 (index_Prefer_SSE_for_memop): Define.
47331 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47333 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47335 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47336 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47338 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47341 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47342 (__x86_64_raw_data_cache_size_half): Likewise.
47343 (__x86_64_raw_shared_cache_size): Likewise.
47344 (__x86_64_raw_shared_cache_size_half): Likewise.
47346 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47347 (__x86_64_raw_data_cache_size_half): Likewise.
47348 (__x86_64_raw_shared_cache_size): Likewise.
47349 (__x86_64_raw_shared_cache_size_half): Likewise.
47350 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47351 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47352 and __x86_64_raw_shared_cache_size_half. Round
47353 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47354 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47355 to multiple of 256 bytes.
47357 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47360 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47361 of inacessible symlinks. Verify result of symlink before returning it.
47362 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47363 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47365 2010-10-28 Erich Ritz <erichritz@gmail.com>
47367 * math/math.h (isinf): Fix typo in comment.
47369 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47371 * po/da.po: Update from translation team.
47373 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47375 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47376 is added to the list.
47378 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47379 Ulrich Drepper <drepper@gmail.com>
47381 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47382 the global list here. Move code to...
47383 (_dl_add_to_namespace_list): ...here. New function.
47384 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47385 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47386 * elf/dl-load.c (lose): Don't remove the element from the list.
47387 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47388 (_dl_map_object): Likewise.
47390 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47393 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47394 into all bytes of SSE register.
47395 Patch by Richard Li <richardpku@gmail.com>.
47397 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47400 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47403 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47405 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47406 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47407 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47408 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47413 2010-10-22 Andreas Schwab <schwab@redhat.com>
47415 * include/dlfcn.h (__RTLD_SECURE): Define.
47416 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47417 mode & __RTLD_SECURE instead.
47418 (open_path): Rename preloaded parameter to secure.
47419 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47420 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47421 * elf/dl-deps.c (openaux): Likewise.
47422 * elf/rtld.c (struct map_args): Remove is_preloaded.
47423 (map_doit): Don't use it.
47424 (dl_main): Likewise.
47425 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47426 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47428 2010-09-09 Andreas Schwab <schwab@redhat.com>
47430 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47431 (sysd-rules-targets): Remove duplicates.
47432 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47433 rtld-%.$o dependency.
47435 2010-10-18 Andreas Schwab <schwab@redhat.com>
47437 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47438 _dl_map_object do it.
47440 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47442 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47443 fast fma builtins, define the macros in the C99 standard.
47444 (FP_FAST_FMAF): Likewise.
47445 (FP_FAST_FMAL): Likewise.
47446 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47448 * bits/mathdef.h: Update copyright year.
47449 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47451 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47453 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47454 builtins, define the macros in the C99 standard.
47455 (FP_FAST_FMAF): Likewise.
47456 (FP_FAST_FMAL): Likewise.
47457 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47459 (FP_FAST_FMAF): Likewise.
47461 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47464 * math/libm-test.inc (fma_test): Some new testcases.
47465 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47466 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47467 y and infinite z. Do multiplication by C already in long double.
47468 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47470 y and infinite z. Do bitwise or of inexact bit into u.d.
47471 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47472 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47473 * sysdeps/i386/fpu/s_fma.S: Removed.
47474 * sysdeps/i386/fpu/s_fmal.S: Removed.
47476 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47479 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47481 computation is not scheduled after fetestexcept. Fix value
47482 of minimum denormal long double.
47484 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47487 * math/libm-test.inc (fma_test): Add some more tests.
47488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47491 2010-10-15 Andreas Schwab <schwab@redhat.com>
47493 * scripts/data/localplt-s390-linux-gnu.data: New file.
47494 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47496 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47499 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47500 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47502 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47504 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47506 if one of x and y is very large and the other is subnormal.
47507 * sysdeps/s390/fpu/s_fmaf.c: New file.
47508 * sysdeps/s390/fpu/s_fma.c: New file.
47509 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47510 * sysdeps/powerpc/fpu/s_fma.S: New file.
47511 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47512 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47513 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47515 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47518 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47520 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47521 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47522 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47523 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47524 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47525 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47526 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47528 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47531 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47532 * posix/bug-regex31.input: Add test case.
47534 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47536 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47537 * posix/bug-regex31.input: New file.
47540 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47541 (parse_sub_exp): Fix last change, use postorder.
47543 * posix/bug-regex31.c: New file.
47544 * posix/Makefile: Add rules to build and run bug-regex31.
47546 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47549 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47552 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47553 to have entries in sys_siglist.
47556 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47559 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47562 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47563 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47564 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47565 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47566 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47567 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47568 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47569 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47570 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47571 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47572 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47573 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47574 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47575 * math/ftestexcept.c (fetestexcept): Likewise.
47576 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47577 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47578 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47579 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47580 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47581 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47582 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47584 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47587 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47590 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47592 * string/bug-strstr1.c: New file.
47593 * string/Makefile: Add rules to build and run bug-strstr1.
47595 2010-10-05 Eric Blake <eblake@redhat.com>
47598 * string/str-two-way.h (two_way_long_needle): Always clear memory
47599 when skipping input due to the shift table.
47601 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47604 * malloc/mcheck.c: Handle large requests.
47607 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47608 for strncmp and strncasecmp.
47609 * string/stratcliff.c: Add tests for strcmp and strncmp.
47610 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47612 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47614 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47617 2010-09-30 Andreas Jaeger <aj@suse.de>
47619 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47620 (CGROUP_SUPER_MAGIC): Define.
47621 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47622 Handle btrfs and cgroup file systems.
47623 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47626 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47628 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47629 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47631 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47634 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47635 trying to locate the ELF header.
47637 2010-09-27 Andreas Schwab <schwab@redhat.com>
47640 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47641 Mask out sign-bit copies when constructing f_fsid.
47643 2010-09-24 Petr Baudis <pasky@suse.cz>
47645 * debug/stack_chk_fail_local.c: Add missing licence exception.
47646 * debug/warning-nop.c: Likewise.
47648 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47650 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47651 implementing getdents64 using getdents syscall, set d_type if
47652 __ASSUME_GETDENTS32_D_TYPE.
47654 2010-09-16 Andreas Schwab <schwab@redhat.com>
47656 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47657 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47659 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47662 * posix/unistd.h: Undo change of feature selection for ftruncate from
47665 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47667 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47670 2010-09-20 Andreas Schwab <schwab@redhat.com>
47672 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47674 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47676 2010-09-14 Andreas Schwab <schwab@redhat.com>
47678 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47679 variables after CHECK_SP call.
47680 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47682 2010-09-13 Andreas Schwab <schwab@redhat.com>
47683 Ulrich Drepper <drepper@redhat.com>
47685 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47686 re-relocationg ld.so.
47687 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47688 _dl_init_paths call.
47689 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47692 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47694 * resolv/res_init.c (__res_vinit): Count the default server we added.
47696 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47697 Ulrich Drepper <drepper@redhat.com>
47700 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47701 (____longjmp_chk): Use %ebx for saving value across system call.
47704 2010-09-06 Andreas Schwab <schwab@redhat.com>
47706 * manual/Makefile: Don't mix pattern rules with normal rules.
47708 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47710 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47712 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47713 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47714 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47715 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47716 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47719 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47722 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47723 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47725 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47727 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47728 * sysdeps/x86_64/addmul_1.S: Likewise.
47729 * sysdeps/x86_64/lshift.S: Likewise.
47730 * sysdeps/x86_64/mul_1.S: Likewise.
47731 * sysdeps/x86_64/rshift.S: Likewise.
47732 * sysdeps/x86_64/sub_n.S: Likewise.
47733 * sysdeps/x86_64/submul_1.S: Likewise.
47735 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47737 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47738 Define __sched_param instead of SCHED_* and sched_param when
47739 <bits/sched.h> is included with __need_schedparam defined.
47740 * bits/sched.h [__need_schedparam]
47741 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47742 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47743 (__defined_schedparam): Define to 1.
47744 (__sched_param): New structure, identical to sched_param.
47745 (__need_schedparam): Undefine.
47747 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47749 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47750 (epoll_create1): Declare.
47752 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47754 2010-08-31 Andreas Schwab <schwab@redhat.com>
47757 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47758 shifting retval into place.
47760 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47762 * nis/rpcsvc/nis.h: Update copyright notice.
47763 * nis/rpcsvc/nis.x: Likewise.
47764 * nis/rpcsvc/nis_callback.h: Likewise.
47765 * nis/rpcsvc/nis_callback.x: Likewise.
47766 * nis/rpcsvc/nis_object.x: Likewise.
47767 * nis/rpcsvc/nis_tags.h: Likewise.
47768 * nis/rpcsvc/yp.h: Likewise.
47769 * nis/rpcsvc/yp.x: Likewise.
47770 * nis/rpcsvc/ypupd.h: Likewise.
47771 * nis/yp_xdr.c: Likewise.
47772 * nis/ypupdate_xdr.c: Likewise.
47774 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47775 mainly the body of pmap_getport. Add parameters to specify timeouts.
47776 (pmap_getport): Use __libc_rpc_getport.
47777 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47778 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47779 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47781 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47786 2010-08-27 Roland McGrath <roland@redhat.com>
47788 * sysdeps/i386/i686/multiarch/Makefile
47789 (CFLAGS-varshift.c): New variable.
47791 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47793 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47794 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47796 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47798 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47800 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47802 * sysdeps/x86_64/strlen.S: Unroll the loop.
47803 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47804 strlen-sse2 strlen-sse2-bsf.
47805 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47806 __strlen_no_bsf if bit_Slow_BSF is set.
47807 (__strlen_sse42): Removed.
47808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47809 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47811 2010-08-25 Roland McGrath <roland@redhat.com>
47813 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47814 * sysdeps/x86_64/multiarch/varshift.c: New file.
47815 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47816 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47817 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47818 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47820 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47823 strlen-sse2 strlen-sse2-bsf.
47824 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47825 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47826 (__strlen_sse2): Removed.
47827 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47828 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47830 bit_Slow_BSF for Atom.
47831 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47832 (index_Slow_BSF): Define.
47833 (HAS_SLOW_BSF): Define.
47835 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47838 * resolv/res_init.c (__res_vinit): When no server address at all
47839 is given default to loopback.
47841 2010-08-24 Roland McGrath <roland@redhat.com>
47843 * configure.in: Remove config-name.h generation.
47844 * configure: Regenerated.
47845 * config-name.in: File removed.
47846 * scripts/config-uname.sh: New file.
47847 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47848 ($(objdir)config-name.h): New target.
47850 * sunrpc/rpc_parse.h: Avoid nested comment.
47852 2010-08-24 Richard Henderson <rth@redhat.com>
47853 Ulrich Drepper <drepper@redhat.com>
47854 H.J. Lu <hongjiu.lu@intel.com>
47856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47858 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47859 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47860 _mm_alignr_epi8 with _mm_loadu_si128.
47861 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47862 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47863 (__m128i_shift_right): Removed.
47864 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47865 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47866 * sysdeps/x86_64/multiarch/varshift.h: New file.
47867 * sysdeps/x86_64/multiarch/varshift.S: New file.
47869 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47871 * configure.in: Move assembler checks to before sysdep dir checking.
47873 2010-08-20 Petr Baudis <pasky@suse.cz>
47875 * LICENSES: Sync the sunrpc license.
47877 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47879 * sunrpc/auth_des.c: Update copyright notice once again.
47880 * sunrpc/auth_none.c: Likewise.
47881 * sunrpc/auth_unix.c: Likewise.
47882 * sunrpc/authdes_prot.c: Likewise.
47883 * sunrpc/authuxprot.c: Likewise.
47884 * sunrpc/bindrsvprt.c: Likewise.
47885 * sunrpc/clnt_gen.c: Likewise.
47886 * sunrpc/clnt_perr.c: Likewise.
47887 * sunrpc/clnt_raw.c: Likewise.
47888 * sunrpc/clnt_simp.c: Likewise.
47889 * sunrpc/clnt_tcp.c: Likewise.
47890 * sunrpc/clnt_udp.c: Likewise.
47891 * sunrpc/clnt_unix.c: Likewise.
47892 * sunrpc/des_crypt.c: Likewise.
47893 * sunrpc/des_soft.c: Likewise.
47894 * sunrpc/get_myaddr.c: Likewise.
47895 * sunrpc/getrpcport.c: Likewise.
47896 * sunrpc/key_call.c: Likewise.
47897 * sunrpc/key_prot.c: Likewise.
47898 * sunrpc/openchild.c: Likewise.
47899 * sunrpc/pm_getmaps.c: Likewise.
47900 * sunrpc/pm_getport.c: Likewise.
47901 * sunrpc/pmap_clnt.c: Likewise.
47902 * sunrpc/pmap_prot.c: Likewise.
47903 * sunrpc/pmap_prot2.c: Likewise.
47904 * sunrpc/pmap_rmt.c: Likewise.
47905 * sunrpc/rpc/auth.h: Likewise.
47906 * sunrpc/rpc/auth_unix.h: Likewise.
47907 * sunrpc/rpc/clnt.h: Likewise.
47908 * sunrpc/rpc/des_crypt.h: Likewise.
47909 * sunrpc/rpc/key_prot.h: Likewise.
47910 * sunrpc/rpc/netdb.h: Likewise.
47911 * sunrpc/rpc/pmap_clnt.h: Likewise.
47912 * sunrpc/rpc/pmap_prot.h: Likewise.
47913 * sunrpc/rpc/pmap_rmt.h: Likewise.
47914 * sunrpc/rpc/rpc.h: Likewise.
47915 * sunrpc/rpc/rpc_des.h: Likewise.
47916 * sunrpc/rpc/rpc_msg.h: Likewise.
47917 * sunrpc/rpc/svc.h: Likewise.
47918 * sunrpc/rpc/svc_auth.h: Likewise.
47919 * sunrpc/rpc/types.h: Likewise.
47920 * sunrpc/rpc/xdr.h: Likewise.
47921 * sunrpc/rpc_clntout.c: Likewise.
47922 * sunrpc/rpc_cmsg.c: Likewise.
47923 * sunrpc/rpc_common.c: Likewise.
47924 * sunrpc/rpc_cout.c: Likewise.
47925 * sunrpc/rpc_dtable.c: Likewise.
47926 * sunrpc/rpc_hout.c: Likewise.
47927 * sunrpc/rpc_main.c: Likewise.
47928 * sunrpc/rpc_parse.c: Likewise.
47929 * sunrpc/rpc_parse.h: Likewise.
47930 * sunrpc/rpc_prot.c: Likewise.
47931 * sunrpc/rpc_sample.c: Likewise.
47932 * sunrpc/rpc_scan.c: Likewise.
47933 * sunrpc/rpc_scan.h: Likewise.
47934 * sunrpc/rpc_svcout.c: Likewise.
47935 * sunrpc/rpc_tblout.c: Likewise.
47936 * sunrpc/rpc_util.c: Likewise.
47937 * sunrpc/rpc_util.h: Likewise.
47938 * sunrpc/rpcinfo.c: Likewise.
47939 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47940 * sunrpc/rpcsvc/key_prot.x: Likewise.
47941 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47942 * sunrpc/rpcsvc/mount.x: Likewise.
47943 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47944 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47945 * sunrpc/rpcsvc/rex.x: Likewise.
47946 * sunrpc/rpcsvc/rstat.x: Likewise.
47947 * sunrpc/rpcsvc/rusers.x: Likewise.
47948 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47949 * sunrpc/rpcsvc/spray.x: Likewise.
47950 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47951 * sunrpc/rtime.c: Likewise.
47952 * sunrpc/svc.c: Likewise.
47953 * sunrpc/svc_auth.c: Likewise.
47954 * sunrpc/svc_authux.c: Likewise.
47955 * sunrpc/svc_raw.c: Likewise.
47956 * sunrpc/svc_run.c: Likewise.
47957 * sunrpc/svc_simple.c: Likewise.
47958 * sunrpc/svc_tcp.c: Likewise.
47959 * sunrpc/svc_udp.c: Likewise.
47960 * sunrpc/svc_unix.c: Likewise.
47961 * sunrpc/svcauth_des.c: Likewise.
47962 * sunrpc/xcrypt.c: Likewise.
47963 * sunrpc/xdr.c: Likewise.
47964 * sunrpc/xdr_array.c: Likewise.
47965 * sunrpc/xdr_float.c: Likewise.
47966 * sunrpc/xdr_mem.c: Likewise.
47967 * sunrpc/xdr_rec.c: Likewise.
47968 * sunrpc/xdr_ref.c: Likewise.
47969 * sunrpc/xdr_sizeof.c: Likewise.
47970 * sunrpc/xdr_stdio.c: Likewise.
47972 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47975 2010-08-19 Andreas Schwab <schwab@redhat.com>
47977 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47979 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47981 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47982 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47983 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47984 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47985 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47986 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47987 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47988 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47989 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47990 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47991 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47992 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47993 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47994 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47996 2010-07-26 Anton Blanchard <anton@samba.org>
47998 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47999 * malloc/arena.c (heap_trim): Likewise.
48001 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48003 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48005 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48006 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48008 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48010 * sysdeps/i386/elf/Makefile: New file.
48012 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48014 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48015 from fanotify_init.
48016 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48017 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48019 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48021 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48023 * sysdeps/multiarch/strcmp.S: Likewise.
48025 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48027 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48028 strncase_l-nonascii.
48029 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48030 Add strncase_l-ssse3.
48031 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48032 * sysdeps/x86_64/strcmp.S: Likewise.
48033 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48034 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48035 * sysdeps/x86_64/strncase.S: New file.
48036 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48037 * sysdeps/x86_64/strncase_l.S: New file.
48038 * string/Makefile (strop-tests): Add strncasecmp.
48039 * string/test-strncasecmp.c: New file.
48041 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48044 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48045 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48047 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48049 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48051 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48053 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48054 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48055 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48057 2010-05-01 Alan Modra <amodra@gmail.com>
48059 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48060 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48061 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48062 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48063 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48064 tidying. Don't tail-call __sigjmp_save for static lib.
48065 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48067 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48068 (CALL_MCOUNT): Add eh info, and nop after bl.
48069 (TAIL_CALL_SYSCALL_ERROR): New macro.
48070 (PSEUDO_RET): Use it.
48071 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48072 Correct save location of integer regs and cr.
48073 (_dl_profile_resolve): Correct cr save location. Delete nops
48074 after bl when SHARED. Reduce cfi size a little by better
48075 placement of cfi directives.
48076 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48077 make a stack frame. Instead use parm save area as a temp.
48078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48079 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48081 Don't make a stack frame for parent, use parm save area.
48082 Increase child stack frame to 112 bytes. Don't save unused reg,
48083 and adjust reg usage. Set up cfi on error recovery and
48084 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48086 (__makecontext): Add dummy nop after jump to exit.
48087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48088 Use correct parm save area and cr save, reduce stack frame.
48089 Correct cfi for possible PSEUDO_RET frame setup.
48090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48091 Branch to local label emitted by PSEUDO_RET rather than
48094 2010-08-12 Andreas Schwab <schwab@redhat.com>
48097 * locale/programs/locale.c (print_assignment): New function.
48098 (show_locale_vars): Use it.
48100 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48102 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48104 (struct statfs64): Likewise.
48105 (_STATFS_F_FLAGS): Define.
48106 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48107 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48108 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48109 (ST_VALID): Define locally.
48110 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48111 __statvfs_getflags, use the provided value.
48112 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48113 __ASSUME_STATFS_F_FLAGS.
48115 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48117 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48118 Add sys/fanotify.h.
48119 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48120 fanotify_mask for GLIBC_2.13.
48121 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48122 fanotify_init and fanotify_mark.
48123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48124 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48126 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48128 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48129 prlimit64 for GLIBC_2.13.
48130 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48135 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48136 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48137 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48138 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48140 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48143 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48144 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48146 * nss/Makefile: Add rules to build and run tst-nss-test1.
48147 * shlib-versions: Add entry for libnss_test1.
48148 * nss/nss_test1.c: New file.
48149 * nss/tst-nss-test1.c: New file.
48151 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48152 (__nss_configure_lookup): Set appropriate entry in
48153 __nss_configure_lookup to true.
48154 * nss/nsswitch.h: Define enum with indeces of databases in
48155 databases and __nss_database_custom arrays. Declare
48156 __nss_database_custom.
48157 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48158 to avoid using nscd when custom rules are installed.
48159 * nss/getXXbyYY_r.c: Likewise.
48160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48162 * nss/nss_files/files-parse.c: Whitespace fixes.
48164 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48167 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48168 * posix/fnmatch_loop.c: Likewise.
48170 2010-07-17 Andi Kleen <ak@linux.intel.com>
48172 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48173 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48174 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48175 * Versions.def [GLIBC_2.13]: Add.
48177 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48179 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48180 Also fail if tpwd after pwuid call is NULL.
48182 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48184 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48185 when converting to ms.
48187 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48189 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48190 EOPNOTSUPP errors with ENOTTY.
48191 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48192 EOPNOTSUPP errors with ENOTTY.
48194 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48196 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48197 Add strcasecmp_l-ssse3.
48198 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48200 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48201 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48202 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48204 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48206 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48208 * string/Makefile (strop-tests): Add strcasecmp.
48209 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48210 strcasecmp_l-nonascii.
48211 (gen-as-const-headers): Add locale-defines.sym.
48212 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48213 * sysdeps/x86_64/strcasecmp.S: New file.
48214 * sysdeps/x86_64/strcasecmp_l.S: New file.
48215 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48216 * sysdeps/x86_64/locale-defines.sym: New file.
48217 * string/test-strcasecmp.c: New file.
48219 * string/test-strcasestr.c: Test both ends of the range of characters.
48220 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48222 2010-07-29 Roland McGrath <roland@redhat.com>
48225 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48227 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48229 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48232 2010-07-27 Andreas Schwab <schwab@redhat.com>
48234 * manual/memory.texi (Malloc Tunable Parameters): Document
48237 2010-07-26 Roland McGrath <roland@redhat.com>
48240 * configure.in (-fgnu89-inline check): Set and substitute
48241 gnu89_inline, not libc_cv_gnu89_inline.
48242 * configure: Regenerated.
48243 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48245 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48247 * string/test-strnlen.c: New file.
48248 * string/Makefile (strop-tests): Add strnlen.
48249 * string/tester.c (test_strnlen): Add a few more test cases.
48250 * string/tst-strlen.c: Better error reporting.
48252 * sysdeps/x86_64/strnlen.S: New file.
48254 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48256 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48257 lower-latency instructions.
48259 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48261 * string/test-strcasestr.c: New file.
48262 * string/test-strstr.c: New file.
48263 * string/Makefile (strop-tests): Add strstr and strcasestr.
48264 * string/str-two-way.h: Don't undefine MAX.
48265 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48267 2010-07-21 Andreas Schwab <schwab@redhat.com>
48269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48270 strcasestr-nonascii.
48271 (CFLAGS-strcasestr-nonascii.c): Define.
48272 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48273 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48274 Remove unused attribute.
48276 2010-07-20 Roland McGrath <roland@redhat.com>
48278 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48279 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48280 ld.so.cache was broken. With it, there is no way to disable dsocaps
48281 like LD_HWCAP_MASK can disable hwcaps.
48283 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48285 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48287 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48289 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48290 call in strcasestr.
48291 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48292 __strcasestr_sse42_nonascii.
48293 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48294 strcasestr-nonascii.c.
48295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48297 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48299 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48300 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48301 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48302 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48304 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48306 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48309 2010-07-06 Andreas Schwab <schwab@redhat.com>
48312 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48315 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48317 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48318 _PC_PIPE_BUF using F_GETPIPE_SZ.
48320 2010-07-05 Roland McGrath <roland@redhat.com>
48322 * manual/arith.texi (Rounding Functions): Fix rint description
48323 implicit in round description.
48325 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48327 * elf/Makefile: Fix linking for a few tests to make recent linker
48330 2010-06-30 Andreas Schwab <schwab@redhat.com>
48332 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48333 $(common-objpfx)libc_nonshared.a.
48335 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48337 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48338 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48339 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48340 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48341 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48342 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48343 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48344 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48359 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48360 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48361 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48362 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48363 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48364 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48365 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48366 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48367 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48368 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48369 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48370 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48386 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48388 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48389 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48390 * string/memmove.c (memmove): Renamed to ...
48391 (MEMMOVE): ...this. Default to memmove.
48392 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48393 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48396 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48397 mempcpy-ssse3-back memmove-ssse3-back.
48398 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48399 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48400 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48401 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48402 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48403 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48404 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48405 * sysdeps/x86_64/multiarch/memmove.c: New file.
48406 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48407 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48408 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48409 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48410 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48411 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48413 (index_Fast_Copy_Backward): Define.
48414 (HAS_ARCH_FEATURE): Define.
48415 (HAS_FAST_REP_STRING): Define.
48416 (HAS_FAST_COPY_BACKWARD): Define.
48418 2010-06-21 Andreas Schwab <schwab@redhat.com>
48420 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48421 Restore proper fallback handling.
48423 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48426 * posix/group_member.c (__group_member): Correct checking loop.
48428 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48429 OOM in getpwuid_r correctly. Return error number when the caller
48430 should return, otherwise -1.
48431 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48432 call returning > 0 value.
48433 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48435 2010-06-07 Andreas Schwab <schwab@redhat.com>
48437 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48438 libc_nonshared.a from targets in modules-names.
48440 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48442 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48445 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48447 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48448 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48449 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48450 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48452 2010-06-02 Andreas Schwab <schwab@redhat.com>
48454 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48456 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48458 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48460 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48461 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48464 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48465 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48467 2010-06-14 Roland McGrath <roland@redhat.com>
48469 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48471 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48473 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48474 __REDIRECT followed by __THROW.
48475 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48476 * posix/getopt.h (getopt): Likewise.
48478 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48480 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48481 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48482 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48484 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48485 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48487 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48489 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48491 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48495 Properly check family and model.
48497 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48499 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48501 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48503 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48505 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48507 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48510 2010-05-19 Andreas Schwab <schwab@redhat.com>
48512 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48515 2010-05-21 Andreas Schwab <schwab@redhat.com>
48517 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48518 and internal_recvmmsg.
48519 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48520 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48521 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48522 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48524 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48525 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48526 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48528 2010-05-20 Andreas Schwab <schwab@redhat.com>
48530 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48532 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48534 POWER7 optimizations.
48535 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48536 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48538 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48540 * version.h: Update for 2.13 development version.
48542 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48544 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48545 exceptions. Return 0.
48547 2010-05-07 Roland McGrath <roland@redhat.com>
48549 * elf/ldconfig.c (main): Add a const.
48551 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48553 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48554 (args_options): Add no-idn option.
48555 (ahosts_keys_int): Add idn_flags to ai_flags.
48556 (parse_option): Handle 'i' option to clear idn_flags.
48558 * malloc/malloc.c (_int_free): Possible race in the most recently
48559 added check. Only act on the data if no current modification
48562 See ChangeLog.17 for earlier changes.